AVT AVT Pike Technical Manual


Add to my manuals
322 Pages

advertisement

AVT AVT Pike Technical Manual | Manualzz
AVT Pike
Technical Manual
V4.1.0
20 August 2008
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
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 08/2008
All rights reserved.
Managing Director: Mr. Frank Grube
Tax ID: DE 184383113
Support:
Taschenweg 2A
D-07646 Stadtroda, Germany
Tel.: +49 (0)36428 6770
Fax: +49 (0)36428 677-28
e-mail: [email protected]
PIKE Technical Manual V4.1.0
2
Contents
Contacting Allied Vision Technologies ..................................................10
Introduction ...........................................................................................................11
Document history ......................................................................................................... 11
Manual overview........................................................................................................... 17
Conventions used in this manual..................................................................................... 18
Styles ..................................................................................................................... 18
Symbols .................................................................................................................. 18
More information.......................................................................................................... 19
Before operation .......................................................................................................... 19
PIKE cameras .......................................................................................................21
Declarations of conformity ...........................................................................23
FireWire ....................................................................................................................24
Overview ..................................................................................................................... 24
Definition ............................................................................................................... 24
IEEE 1394 standards ................................................................................................. 24
Why use FireWire? .................................................................................................... 25
FireWire in detail .......................................................................................................... 25
Serial bus................................................................................................................ 25
FireWire connection capabilities ................................................................................. 27
Capabilities of 1394a (FireWire 400)............................................................................ 27
IIDC V1.3 camera control standards ........................................................................ 27
Capabilities of 1394b (FireWire 800) ........................................................................... 28
IIDC V1.31 camera control standards ...................................................................... 28
Compatibility between 1394a and 1394b...................................................................... 29
Compatibility example .......................................................................................... 30
Image transfer via 1394a and 1394b ........................................................................... 31
1394b bandwidths.................................................................................................... 32
Requirements for PC and 1394b.............................................................................. 32
Requirements for laptop and 1394b ........................................................................ 34
Example1: 1394b bandwidth of PIKE cameras ........................................................... 35
Example 2: More than one PIKE camera at full speed ................................................. 36
FireWire Plug & play capabilities................................................................................. 37
FireWire hot-plug and screw-lock precautions ............................................................... 37
Operating system support .......................................................................................... 38
Filter and lenses .................................................................................................39
IR cut filter: spectral transmission .................................................................................. 39
Camera lenses.......................................................................................................... 40
Specifications .......................................................................................................42
PIKE Technical Manual V4.1.0
3
PIKE F-032B/C (fiber).................................................................................................... 42
PIKE F-100B/C (fiber).................................................................................................... 44
PIKE F-145B/C (fiber) (-15fps*)...................................................................................... 46
PIKE F-210B/C (fiber).................................................................................................... 48
PIKE F-421B/C (fiber).................................................................................................... 50
PIKE F-505B/C (fiber).................................................................................................... 52
Spectral sensitivity ....................................................................................................... 54
Camera dimensions ..........................................................................................60
PIKE standard housing (2 x 1394b copper) ....................................................................... 60
PIKE (1394b: 1 x GOF, 1 x copper)................................................................................... 61
Tripod adapter ............................................................................................................. 62
Pike W90 (2 x 1394b copper).......................................................................................... 63
Pike W90 (1394b: 1 x GOF, 1 x copper) ............................................................................ 64
Pike W90 S90 (2 x 1394b copper).................................................................................... 65
Pike W90 S90 (1394b: 1 x GOF, 1 x copper) ...................................................................... 66
Pike W270 (2 x 1394b copper) ........................................................................................ 67
Pike W270 (1394b: 1 x GOF, 1 x copper)........................................................................... 68
Pike W270 S90 (2 x 1394b copper) .................................................................................. 69
Pike W270 S90 (1394b: 1 x GOF, 1 x copper)..................................................................... 70
Cross section: CS-Mount (only PIKE F-032B/C) .................................................................. 71
Cross section: C-Mount (VGA size filter) ........................................................................... 72
Cross section: C-Mount (large filter) ................................................................................ 73
Adjustment of C-Mount.................................................................................................. 74
F-Mount, K-Mount, M39-Mount ....................................................................................... 75
Cross section: M39-Mount.......................................................................................... 75
Camera interfaces .............................................................................................76
IEEE 1394b port pin assignment ..................................................................................... 76
Camera I/O connector pin assignment ............................................................................. 78
Status LEDs.................................................................................................................. 79
On LED (green) ........................................................................................................ 79
Status LED............................................................................................................... 79
Control and video data signals........................................................................................ 81
Inputs .................................................................................................................... 81
Triggers.............................................................................................................. 81
Input/output pin control........................................................................................... 82
IO_INP_CTRL 1-2 ................................................................................................. 83
Trigger delay ....................................................................................................... 84
Outputs .................................................................................................................. 86
IO_OUTP_CTRL 1-4 ............................................................................................... 87
Output modes...................................................................................................... 88
Pixel data.................................................................................................................... 91
Description of the data path ........................................................................94
Block diagrams of the cameras ....................................................................................... 94
Black and white cameras ........................................................................................... 94
PIKE Technical Manual V4.1.0
4
Color cameras .......................................................................................................... 95
Channel balance ........................................................................................................... 96
Channel adjustment with SmartView (>1.5) .................................................................. 96
White balance .............................................................................................................. 98
One-push automatic white balance ............................................................................. 99
Automatic white balance ......................................................................................... 101
Auto shutter .............................................................................................................. 102
Auto gain .................................................................................................................. 104
Manual gain............................................................................................................... 107
Brightness (black level or offset) .................................................................................. 108
Horizontal mirror function ........................................................................................... 109
Shading correction...................................................................................................... 111
Building shading image in Format_7 modes ............................................................... 111
First example .................................................................................................... 111
Second example................................................................................................. 111
How to store shading image..................................................................................... 112
Automatic generation of correction data.................................................................... 113
Requirements .................................................................................................... 113
Algorithm ......................................................................................................... 113
Loading a shading image out of the camera ............................................................... 116
Loading a shading image into the camera .................................................................. 117
Look-up table (LUT) and gamma function....................................................................... 118
Loading an LUT into the camera ............................................................................... 120
Binning (only Pike b/w models).................................................................................... 121
2 x / 4 x / 8 x binning ............................................................................................ 121
Vertical binning ..................................................................................................... 122
Horizontal binning ................................................................................................. 124
2 x full binning/4 x full binning/8 x full binning ........................................................ 125
Sub-sampling (PIKE b/w and color) ............................................................................... 126
What is sub-sampling? ............................................................................................ 126
Which PIKE models have sub-sampling? ..................................................................... 126
Description of sub-sampling..................................................................................... 126
Binning and sub-sampling access .................................................................................. 133
Quick parameter change timing modes....................................................................... 135
Why new timing modes?.......................................................................................... 135
Standard Parameter Update Timing .................................................................... 136
New: Quick Format Change Mode (QFCM) ............................................................. 136
How to transfer parameters to the camera.................................................................. 137
Encapsulated Update (begin/end)...................................................................... 137
Parameter-List Update ...................................................................................... 138
Standard Update (IIDC)..................................................................................... 139
Packed 12-Bit Mode................................................................................................... 140
High SNR mode (High Signal Noise Ratio) ...................................................................... 141
Frame memory and deferred image transport................................................................... 142
Deferred image transport......................................................................................... 142
HoldImg mode ....................................................................................................... 143
FastCapture mode................................................................................................... 145
PIKE Technical Manual V4.1.0
5
Color interpolation (BAYER demosaicing) .......................................................................
Sharpness..................................................................................................................
Hue and saturation .....................................................................................................
Color correction..........................................................................................................
Why color correction? .........................................................................................
Color correction in AVT cameras ...........................................................................
Color correction: formula.....................................................................................
GretagMacbeth ColorChecker ................................................................................
Changing color correction coefficients ..................................................................
Switch color correction on/off .............................................................................
Color conversion (RGB
YUV) .....................................................................................
Bulk Trigger ...............................................................................................................
Level Trigger..............................................................................................................
Serial interface...........................................................................................................
146
147
148
149
149
149
149
149
150
150
151
151
151
152
Controlling image capture ..........................................................................157
Trigger modi .............................................................................................................. 157
Bulk Trigger (Trigger_Mode_15)................................................................................ 159
Trigger delay ......................................................................................................... 162
Trigger delay advanced register............................................................................ 163
Exposure time (shutter) and offset ................................................................................ 164
Exposure time offset ............................................................................................... 164
Minimum exposure time .......................................................................................... 165
Extended shutter.................................................................................................... 165
One-shot ................................................................................................................... 167
One-shot command on the bus to start of exposure ..................................................... 168
End of exposure to first packet on the bus ................................................................. 169
Multi-shot ................................................................................................................. 170
ISO_Enable / free-run.................................................................................................. 170
Asynchronous broadcast .............................................................................................. 170
Jitter at start of exposure ............................................................................................ 171
Sequence mode .......................................................................................................... 173
How is sequence mode implemented?........................................................................ 174
Setup mode (new for 3.x).................................................................................... 175
Sequence step mode (new for 3.x)........................................................................ 175
SeqMode description .......................................................................................... 176
Sequence repeat counter (new for 3.x) .................................................................. 176
Manual stepping & reset (new for 3.x) .................................................................. 176
Which new sequence mode features are available?....................................................... 178
Setup mode....................................................................................................... 178
I/O controlled sequence stepping mode.............................................................. 178
I/O controlled sequence pointer reset ................................................................ 179
I/O controlled sequence stepping mode and I/O controlled sequence pointer reset via
software command ............................................................................................. 179
Points to pay attention to when working with a sequence ............................................ 179
Changing the parameters within a sequence ............................................................... 181
Points to pay attention to when changing the parameters............................................ 181
Secure image signature (SIS): definition and scenarios .................................................... 182
PIKE Technical Manual V4.1.0
6
SIS: Definition .......................................................................................................
SIS: Scenarios........................................................................................................
Smear reduction .........................................................................................................
Smear reduction: definition .....................................................................................
Smear reduction: how it works .................................................................................
Smear reduction: switch on/off in register and SmartView ............................................
182
182
184
184
184
184
Video formats, modes and bandwidth .................................................185
PIKE F-032B / PIKE F-032C...........................................................................................
PIKE F-100B / PIKE F-100C...........................................................................................
PIKE F-145B / PIKE F-145C (-15 fps**) ..........................................................................
PIKE F-210B / PIKE F-210C...........................................................................................
PIKE F-421B / PIKE F-421C...........................................................................................
PIKE F-505B / PIKE F-505C...........................................................................................
Area of interest (AOI) .................................................................................................
Autofunction AOI ...................................................................................................
Frame rates................................................................................................................
Frame rates Format_7 .............................................................................................
PIKE F-032: AOI frame rates.....................................................................................
PIKE F-100: AOI frame rates.....................................................................................
PIKE F-145: AOI frame rates (no sub-sampling)...........................................................
PIKE F-145: AOI frame rates (sub-sampling) ...............................................................
PIKE F-145-15fps: AOI frame rates (no sub-sampl.) .....................................................
PIKE F-145-15fps: AOI frame rates (sub-sampl.)..........................................................
PIKE F-210: AOI frame rates (no sub-sampling)...........................................................
PIKE F-210: AOI frame rates (sub-sampling) ...............................................................
PIKE F-421: AOI frame rates.....................................................................................
PIKE F-505: AOI frame rates.....................................................................................
AOI frame rates with max. BPP = 8192 ..................................................................
AOI frame rates with max. BPP = 11000 ................................................................
186
188
190
192
194
196
198
200
201
205
206
208
210
212
214
216
217
219
221
223
223
225
How does bandwidth affect the frame rate? ...................................226
Example formula for the b/w camera.....................................................................
Test images ...............................................................................................................
Loading test images ...............................................................................................
Test images for b/w cameras....................................................................................
Test images for color cameras ..................................................................................
YUV4:2:2 mode ..................................................................................................
Mono8 (raw data) ..............................................................................................
227
228
228
228
229
229
229
Configuration of the camera ......................................................................230
Camera_Status_Register...............................................................................................
Example................................................................................................................
Sample program .....................................................................................................
Example FireGrab ...............................................................................................
Example FireStack API ........................................................................................
Configuration ROM ......................................................................................................
Implemented registers.................................................................................................
230
231
234
234
235
236
239
PIKE Technical Manual V4.1.0
7
Camera initialize register.........................................................................................
Inquiry register for video format...............................................................................
Inquiry register for video mode ................................................................................
Inquiry register for video frame rate and base address .................................................
Inquiry register for basic function.............................................................................
Inquiry register for feature presence .........................................................................
Inquiry register for feature elements .........................................................................
Inquiry register for absolute value CSR offset address ..................................................
Status and control register for feature .......................................................................
Feature control error status register ..........................................................................
Video mode control and status registers for Format_7..................................................
Quadlet offset Format_7 Mode_0 ..........................................................................
Quadlet offset Format_7 Mode_1 ..........................................................................
Format_7 control and status register (CSR) ............................................................
Advanced features ......................................................................................................
Extended version information register .......................................................................
Advanced feature inquiry.........................................................................................
Camera status ........................................................................................................
Maximum resolution ...............................................................................................
Time base .............................................................................................................
Extended shutter....................................................................................................
Test images ...........................................................................................................
Look-up tables (LUT) ..............................................................................................
Loading a look-up table into the camera ...............................................................
Shading correction .................................................................................................
Reading or writing shading image from/into the camera ..........................................
Automatic generation of a shading image..............................................................
Non-volatile memory operations...........................................................................
Memory channel error codes ................................................................................
Deferred image transport.........................................................................................
Frame information..................................................................................................
Input/output pin control.........................................................................................
Delayed Integration enable......................................................................................
Auto shutter control ...............................................................................................
Auto gain control ...................................................................................................
Autofunction AOI ...................................................................................................
Color correction .....................................................................................................
Trigger delay .........................................................................................................
Mirror image..........................................................................................................
AFE channel compensation (channel balance).............................................................
Soft reset..............................................................................................................
High SNR mode (High Signal Noise Ratio) ..................................................................
Maximum ISO packet size ........................................................................................
Quick parameter change timing modes ......................................................................
Standard Parameter Update Timing ....................................................................
Quick Format Change Mode................................................................................
Automatic reset of the UpdActive flag...................................................................
Low noise binning mode (only 2 x H-binning) ............................................................
Parameter-List Update ............................................................................................
239
239
240
241
250
251
253
256
257
261
261
261
261
261
263
266
269
271
272
272
274
275
276
277
278
280
280
280
281
282
283
283
284
285
286
287
288
289
289
290
290
291
292
294
294
294
295
295
296
PIKE Technical Manual V4.1.0
8
Format_7 mode mapping .........................................................................................
Example ...........................................................................................................
Secure image signature (SIS) ...................................................................................
Advanced register: SIS........................................................................................
Advanced register: frame counter .........................................................................
Advanced register: trigger counter........................................................................
Where to find time stamp, frame counter and trigger counter in the image.................
Where to find all SIS values in the image ..............................................................
Smear reduction.....................................................................................................
User profiles ..........................................................................................................
Error codes .......................................................................................................
Reset of error codes ...........................................................................................
Stored settings ..................................................................................................
GPDATA_BUFFER.....................................................................................................
Little endian vs. big endian byte order..................................................................
User adjustable gain references ................................................................................
297
298
299
299
301
302
303
303
304
305
306
306
307
309
309
310
Firmware update ...............................................................................................311
Extended version number (FPGA/µC).............................................................................. 311
Appendix ................................................................................................................312
Sensor position accuracy of AVT cameras........................................................................ 312
Index.........................................................................................................................313
PIKE Technical Manual V4.1.0
9
Contacting Allied Vision Technologies
Contacting Allied Vision Technologies
Info
•
Technical information:
[email protected]
phone (for Germany): +49 (0)36428 677-270
phone (for USA): +1 978-225-2030
outside Germany/USA: Please check the link for your
local dealer.
http://www.alliedvisiontec.com/partner.html
•
Ordering and commercial information:
[email protected]
phone (for Germany): +49 (0)36428 677-230
phone (for USA): +1 978-225-2030
outside Germany/USA: Please check the link for your
local dealer.
http://www.alliedvisiontec.com/partner.html
Please note order number/text given in the
AVT Modular Camera Concept.
L
PIKE Technical Manual V4.1.0
10
Introduction
Introduction
Document history
Version
Date
Remarks
V2.0.0
07.07.2006
New Manual - RELEASE status
PRE_V3.0.0
22.09.2006
Minor corrections
Added Pike F-145
Pike F-210 AOI frame rates corrected: Chapter PIKE F-210: AOI
frame rates (no sub-sampling) on page 217
New advanced registers: Chapter Advanced features on page
263
V3.0.1
29.09.2006
Minor corrections
V3.1.0
13.02.2007
Changed camera status register (Table 125: Advanced register:
Camera status on page 271)
Added description for the following mode Output state follows
PinState bit (Table 29: Output routing on page 88)
Added M39-Mount for Pike F-201 and F-421 (Chapter F-Mount,
K-Mount, M39-Mount on page 75)
to be continued on next page
Table 1: Document history
PIKE Technical Manual V4.1.0
11
Introduction
Version
Date
Remarks
continued from last page
V3.2.0
22.08.2007
Minor corrections
Added CE in Chapter Declarations of conformity on page 23.
Added Value field in Table 36: CSR: Shutter on page 103.
Added Chapter Cross section: CS-Mount (only PIKE F-032B/C)
on page 71.
Added detailed description of BRIGHTNESS (800h) in Table 118:
Feature control register on page 257
Added detailed description of WHITE-BALANCE (80Ch) in Table
118: Feature control register on page 257 et seq.
Added Appendix, Chapter Sensor position accuracy of AVT cameras on page 312.
Added new frame rates in Chapter Specifications on page 42
Added new AOI frame rates and diagrams in Chapter Frame rates
Format_7 on page 205
New minimum shutter speeds for each of the Pike cameras in
Chapter Specifications on page 42 and the following
Added new features of PIKE update round:
•
•
•
•
•
•
•
SIS: see Chapter Secure image signature (SIS): definition
and scenarios on page 182
Sequence mode: see Chapter Sequence mode on page 173
Smear reduction
see Chapter Smear reduction on page 184
4 x / 8 x binning and sub-sampling modes
see Chapter Binning (only Pike b/w models) on page 121
see Chapter Sub-sampling (PIKE b/w and color) on page
126
see Chapter Binning and sub-sampling access on page
133
Quick mode for format changes
see Chapter Quick parameter change timing modes on
page 135
Speed increase mode (Packed 12-bit Mode)
Chapter Packed 12-Bit Mode on page 140
CS-Mount (only for PIKE F-032)
Chapter PIKE F-032B/C (fiber) on page 42 and Chapter
Cross section: CS-Mount (only PIKE F-032B/C) on page 71
to be continued on next page
Table 1: Document history
PIKE Technical Manual V4.1.0
12
Introduction
Version
Date
Remarks
continued from last page
V4.0.0
15.01.2008
Added 15fps versions of PIKE F-145 at Table 123: Camera type
ID list on page 267
Added VERSION_INFO1_EX, VERSION_INFO3_EX and description
at Table 122: Advanced register: Extended version information
on page 266
Revised Chapter Secure image signature (SIS) on page 299
Added detailed description to register 0xF10000570
PARAMUPD_TIMING (how to switch on Quick Format Change
Mode) see Chapter Quick parameter change timing modes on
page 294
Added Chapter PIKE F-505B/C (fiber) on page 52.
Added Chapter PIKE F-505B / PIKE F-505C on page 196.
Revised description of C-Mount adjustment in Chapter Adjustment of C-Mount on page 74.
Moved AVT Glossary from Appendix of PIKE Technical Manual to
AVT Website.
Revised PIKE F-505B/C data.
Corrected binning (only b/w cameras) and added Format_IDs
in Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134.
to be continued on next page
Table 1: Document history
PIKE Technical Manual V4.1.0
13
Introduction
Version
Date
Remarks
continued from last page
V4.1.0
20.08.08
Added PIKE F-505 to Chapter Index on page 313
Revised formulas by adding some units in Chapter How does
bandwidth affect the frame rate? on page 226
Corrected Table 143: Advanced register: Channel balance on
page 290
Added Max IsoSize Bit [1] to register 0xF1000048 ADV_INQ_3
in Table 124: Advanced register: Advanced feature inquiry on
page 269f.
Added Chapter Maximum ISO packet size on page 292 (useful
for PIKE F-505 for higher frame rates)
Corrected Figure 80: Former standard timing on page 135
Added photos of 1394b locking connectors and 1394a Molex
clamp locking (aka Interlock) connectors in Chapter 1394a and
1394b cameras and compatibility on page 29.
Added recommendation to use PCI-X (64 bit) or PCI Express
adapter in Chapter Maximum ISO packet size on page 292.
Corrected frame rate formula in Chapter High SNR mode (High
Signal Noise Ratio) on page 141.
Corrected binning order in Chapter 2 x full binning/4 x full binning/8 x full binning on page 125.
Added block diagram of modern PC (X38 chipset by INTEL) in
Figure 5: Block diagram of modern PC (X38 chipset by INTEL)
on page 33
Revised FireWire hot-plug precautions and added screw-lock
precautions in Chapter FireWire hot-plug and screw-lock precautions on page 37
Added images of FireWire locking cables in Figure 4: 1394a and
1394b cameras and compatibility on page 29
Added list of available FireWire screw lock cables in Table 5:
1394 locking cables on page 29
Corrected CAD drawing in Figure 27: Pike W90 S90 (2 x 1394b
copper) on page 65
Changed provisions directive to 2004/108/EG in Chapter Declarations of conformity on page 23
Corrected diag. (16.3 mm) of KAI2093 in Table 17: Specification PIKE F-210B/C (fiber) on page 48
to be continued on next page
Table 1: Document history
PIKE Technical Manual V4.1.0
14
Introduction
Version
Date
Remarks
continued from last page
V4.1.0
20.08.08
Restructuring of Pike Technical Manual:
[continued]
[continued]
Added Chapter Contacting Allied Vision Technologies on page
10
Added Chapter Manual overview on page 17
Restructured Chapter Pike types and highlights to Chapter PIKE
cameras on page 21.
Infos from Pike camera types table moved to Chapter Specifications on page 42
Safety instructions moved to Hardware Installation Guide, Chapter Safety instructions and AVT camera cleaning instructions
Environmental conditions moved to Pike 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 Pike Instruction Leaflet
Infos on IR cut filter and Lenses moved to Chapter Filter and
lenses on page 39
Moved binning explanation from Chapter Specifications on
page 42 to Chapter Video formats, modes and bandwidth on
page 185
Binning / sub-sampling modes and color modes are only listed
in Chapter Video formats, modes and bandwidth on page 185
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 on page 94
Revised Chapter Controlling image capture on page 157; User
profiles are only described in Chapter User profiles on page 305
Revised Chapter Video formats, modes and bandwidth on page
185
Revised Chapter How does bandwidth affect the frame rate? on
page 226
[to be continued]
to be continued on next page
Table 1: Document history
PIKE Technical Manual V4.1.0
15
Introduction
Version
Date
Remarks
continued from last page
V4.1.0
20.08.08
[continued: Restructuring of Pike Technical Manual:]
[continued]
[continued]
Revised Chapter Configuration of the camera on page 230
Revised Chapter Firmware update on page 311
Added Chapter Sensor position accuracy of AVT cameras on
page 312
Revised Chapter Index on page 313
Corrected for all Pike cameras: 16 user-defined LUTs in Chapter
Specifications on page 42ff.
Added cross-reference from upload LUT to GPDATA_BUFFER in
Chapter Loading an LUT into the camera on page 120.
Added cross-reference from upload/download shading image
to GPDATA_BUFFER in:
Chapter Loading a shading image out of the camera on page
116
Chapter Loading a shading image into the camera on page 117
Added PIKE F-505 as it uses different BAYER pattern (first pixel
of the sensor is RED) in Chapter Color interpolation (BAYER
demosaicing) on page 146
Added detailed level values of I/Os in Chapter Camera I/O connector pin assignment on page 78.
Added RoHS in Chapter Declarations of conformity on page 23
Added little endian vs. big endian byte order in Chapter
GPDATA_BUFFER on page 309
PIKE update firmware round:
Gain references: see Chapter User adjustable gain references on
page 310
Low noise binning mode for 2 x horizontal binning: see Chapter
Low noise binning mode (only 2 x H-binning) on page 295
New photo of LED positions in Figure 40: Position of status
LEDs on page 79
Table 1: Document history
PIKE Technical Manual V4.1.0
16
Introduction
Manual overview
This manual overview describes each chapter of this manual shortly.
• Chapter Contacting Allied Vision Technologies on page 10 lists AVT contact data for both:
– technical information / ordering
– commercial information
• Chapter Introduction on page 11 (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 (Hardware Installation Guide), available AVT
software (incl. documentation) and where to get it.
• Chapter PIKE cameras on page 21 gives you a short introduction to the
STINGRAY cameras with their FireWire technology. Links are provided to
data sheets and brochures on AVT website.
• Chapter Declarations of conformity on page 23 gives you information
about conformity of AVT cameras.
• Chapter FireWire on page 24 describes the FireWire standard in detail,
explains the compatibility between 1394a and 1394b and explains
bandwidth details (incl. Pike examples).
– Read and follow the FireWire hot-plug and screw-lock precautions in Chapter FireWire hot-plug and screw-lock precautions on
page 37.
– Read Chapter Operating system support on page 38.
• Chapter Filter and lenses on page 39 describes the IR cut filter and suitable camera lenses.
• Chapter Specifications on page 42 lists camera details and spectral sensitivity diagrams for each camera type.
• Chapter Camera dimensions on page 60 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 on page 76 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 Hardware Installation Guide.
• Chapter Description of the data path on page 94 describes in detail IIDC
conform as well as AVT-specific camera features.
• Chapter Controlling image capture on page 157 describes trigger modi,
exposure time, one-shot/multi-shot/ISO_Enable features. Additionally
special AVT features are described: sequence mode and secure image
signature (SIS).
• Chapter Video formats, modes and bandwidth on page 185 lists all available fixed and Format_7 modes (incl. color modes, frame rates, binning/
sub-sampling, AOI=area of interest).
PIKE Technical Manual V4.1.0
17
Introduction
•
•
•
•
•
Chapter How does bandwidth affect the frame rate? on page 226 gives
some considerations on bandwidth details.
Chapter Configuration of the camera on page 230 lists standard and
advanced register descriptions of all camera features.
Chapter Firmware update on page 311 explains where to get information
on firmware updates and explains the extended version number scheme
of FPGA/µC.
Chapter Appendix on page 312 lists the sensor position accuracy of AVT
cameras.
Chapter Index on page 313 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
Symbols
Note
This symbol highlights important information.
L
Caution
a
This symbol highlights important instructions. You have to
follow these instructions to avoid malfunctions.
PIKE Technical Manual V4.1.0
18
Introduction
www
Ý
This symbol highlights URLs for further information. The URL
itself is shown in blue.
Example:
http://www.alliedvisiontec.com
More information
For more information on hardware and software read the following:
• Hardware Installation Guide describes the hardware installation procedures for all 1394 AVT 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).
Note
L
www
Ý
You find the Hardware Installation Guide on the product CD
in the following directory:
products\cameras-general
All software packages (including documentation and
release notes) provided by AVT can be downloaded at:
www.alliedvisiontec.com/avt-products/software.html
All software packages are also on AVT’s product CD.
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 Hardware Installation Guide first.
Note
L
Please read through this manual carefully before operating the camera.
For information on AVT accessories and AVT software read
Hardware Installation Guide.
PIKE Technical Manual V4.1.0
19
Introduction
Caution
a
Note
L
www
Ý
Note
L
Before operating any AVT camera read safety instructions
and ESD warnings in Hardware Installation Guide.
To demonstrate the properties of the camera, all examples in
this manual are based on the FirePackage OHCI API software
and the SmartView application.
These utilities can be obtained from Allied Vision
Technologies (AVT). A free version of SmartView is available
for download at:
www.alliedvisiontec.com
The camera also works with all IIDC (formerly DCAM) compatible IEEE 1394 programs and image processing libraries.
PIKE Technical Manual V4.1.0
20
PIKE cameras
PIKE cameras
Pike
With Pike cameras, entry into the world of digital image processing is simpler
and more cost-effective than ever before.
IEEE 1394b
With the new Pike, Allied Vision Technologies presents the broadest range of
cameras with IEEE 1394b interfaces. Moreover, with daisy chain as well as
direct fiber technology they gain the highest level of acceptance for demanding areas of use in manufacturing industry.
Image applications
Allied Vision Technologies 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 & 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 reverse-compatible with IEEE 1394a. Your applications will grow as technical progress advances.
Note
L
www
Ý
For further information on FireWire read Chapter FireWire on
page 24.
For further information on the highlights of Pike types, the
Pike family and the whole range of AVT FireWire cameras
read the data sheets and brochures on the website of Allied
Vision Technologies:
www.alliedvisiontec.com
PIKE Technical Manual V4.1.0
21
PIKE cameras
Pike type
Sensor
Picture size (max.) Frame rates,
Format_7 Mode_0 full resolution
PIKE F-032B/C
Type 1/3 KODAK KAI-340
640 (h) x 480 (v)
PIKE F-032B/C fiber
Progressive Scan CCD imager
PIKE F-100B/C
Type 2/3 KODAK KAI-1020
PIKE F-100B/C fiber
Progressive Scan CCD imager
PIKE F-145B/C
Type 2/3 SONY ICX285
PIKE F-145B/C fiber
Progressive Scan CCD imager
PIKE F-145B/C-15fps
Type 2/3 SONY ICX285
PIKE F-145B/C-15fps fiber
Progressive Scan CCD imager
PIKE F-210B/C
Type 1 KODAK KAI-2093
PIKE F-210B/C fiber
Progressive Scan CCD imager
PIKE F-421B/C
Type 1.2 KODAK KAI-4021
PIKE F-421B/C fiber
Progressive Scan CCD imager
PIKE F-505B/C
Type 2/3 SONY ICX625
PIKE F-505B/C fiber
Progressive Scan CCD imager
Up to 208 fps
1000 (h) x 1000 (v) Up to 60 fps
1388 (h) x 1038 (v) Up to 30 fps
1388 (h) x 1038 (v) Up to 16 fps
1920 (h) x 1080 (v) Up to 31 fps
2048 (h) x 2048 (v) Up to 16 fps
2456 (h) x 2058 (v) Up to 15 fps
Table 3: PIKE camera types
PIKE Technical Manual V4.1.0
22
Declarations of conformity
Declarations of conformity
Allied Vision Technologies declares under its sole responsibility that the following products
Category Name
Model Name
Digital Camera (IEEE 1394)
PIKE F-032B
PIKE F-032C
PIKE F-032B fiber
PIKE F-032C fiber
PIKE F-100B
PIKE F-100C
PIKE F-100B fiber
PIKE F-100C fiber
PIKE F-145B*
PIKE F-145C*
PIKE F-145B fiber*
PIKE F-145C fiber*
PIKE F-210B
PIKE F-210C
PIKE F-210B fiber
PIKE F-210C fiber
PIKE F-421B
PIKE F-421C
PIKE F-421B fiber
PIKE F-421C fiber
PIKE F-505B
PIKE F-505C
PIKE F-505B fiber
PIKE F-505C fiber
Table 4: Model names
to which this declaration relates are in conformity with the following standard(s) or other normative document(s):
• FCC Class B
• CE (following the provisions of 2004/108/EG directive)
• RoHS (2002/95/EC)
*: also -15fps variant
PIKE Technical Manual V4.1.0
23
FireWire
FireWire
Overview
FireWire provides one of the most comprehensive, high-performance, costeffective solutions platforms. FireWire offers very impressive throughput at
very affordable prices.
Definition
FireWire (also known as i.Link or IEEE 1394) is a personal computer and
digital video serial bus interface standard, offering high-speed communications and isochronous real-time data services. FireWire has low implementation costs and a simplified and adaptable cabling system.
Figure 1: FireWire Logo
IEEE 1394 standards
FireWire was developed by Apple Computer in the late 1990s, after work
defining a slower version of the interface by the IEEE 1394 working committee in the 1980s. Apple's development was completed in 1995. It is defined
in IEEE standard 1394 which is currently a composite of three documents:
• the original IEEE Std. 1394-1995
• the IEEE Std. 1394a-2000 amendment
• the IEEE Std. 1394b-2002 amendment
FireWire is used to connect digital cameras, especially in industrial systems
for machine vision.
Advantages
Advantages over USB are:
• Faster effective speed
• Higher power distribution capabilities
• Multi-camera applications are easier to set up than in USB.
PIKE Technical Manual V4.1.0
24
FireWire
Why use FireWire?
Digital cameras with on-board FireWire (IEEE 1394a or 1394b) communications conforming to the IIDC standard (V1.3 or V1.31) have created costeffective and powerful solutions options being used for thousands of different applications around the world. FireWire is currently the premier robust
digital interface for industrial applications for many reasons, including:
• Guaranteed bandwidth features to ensure fail-safe communications
• Interoperability with multiple different camera types and vendors
• Diverse camera powering options, including single-cable solutions up to
45 W
• Effective multiple-camera solutions
• Large variety of FireWire accessories for industrial applications
• Availability of repeaters and optical fibre cabling
• Forwards and backward compatibility blending 1394a and 1394b
• Both real-time (isochronous) and demand-driven asynchronous data
transmission capabilities
FireWire in detail
Serial bus
Briefly summarized, FireWire is a very effective way to utilize a low-cost
serial bus, through a standardized communications protocol, that establishes
packetized data transfer between two or more devices. FireWire offers real
time isochronous bandwidth for image transfer with guaranteed low latency.
It also offers asynchronous data transfer for controlling camera parameters,
such as gain and shutter, on the fly. As illustrated in the diagram below,
these two modes can co-exist by using priority time slots for video data
transfer and the remaining time slots for control data transfer.
PIKE Technical Manual V4.1.0
25
FireWire
Figure 2: 1394a data transmission
In case of 1394b no gaps are needed due to parallel arbitration, handled by
bus owner supervisor selector (BOSS) (see the following diagram). Whereas
1394a works in half duplex transmission, 1394 does full duplex transmission.
Cycle Sync: 1394b
Parallel arbitration, handled by BOSS, can eliminate gaps
Figure 3: 1394b data transmission
Additional devices may be added up to the overall capacity of the bus, but
throughput at guaranteed minimum service levels is maintained for all
devices with an acknowledged claim on the bus. This deterministic feature is
a huge advantage for many industrial applications where robust performance
is required. Such is the case when it is not acceptable to drop images within
a specific time interval.
PIKE Technical Manual V4.1.0
26
FireWire
Note
L
How to extend the size of an isochronous packet up to 11.000
byte at S800:
•
•
see register 0xF1000048, ADV_INQ_3, Max IsoSize [1]
in Table 124: Advanced register: Advanced feature
inquiry on page 269
see Chapter Maximum ISO packet size on page 292
FireWire connection capabilities
FireWire can connect together up to 63 peripherals in an acyclic network
structure (hubs). It allows peer-to-peer device communication (between digital cameras), to take place without using system memory or the CPU.
But even more importantly, a FireWire camera can directly, via direct memory access (DMA), write into or read from the memory of the computer with
almost no CPU load.
FireWire also supports multiple hosts per bus. FireWire requires only a cable
with the correct number of pins on either end (normally 6 or 9). It is
designed to support plug-and-play and hot swapping. It can supply up to
45 W of power per port at 30 V, allowing high consumption devices to operate without a separate power cord.
Caution
a
While supplying such an amount of bus power is clearly a
beneficial feature, it is very important not to exceed the
inrush current of 18 mJoule in 3 ms.
Higher inrush current may damage the Phy chip of the
camera and/or the Phy chip in your PC.
Capabilities of 1394a (FireWire 400)
FireWire 400 (S400) is able to transfer data between devices at 100, 200 or
400 MBit/s data rates. Although USB 2.0 claims to be capable of higher
speeds (480 Mbit/s), FireWire is, in practice, not slower than USB 2.0.
The 1394a capabilities in detail:
• 400 Mbit/s
• Hot-pluggable devices
• Peer-to-peer communications
• Direct Memory Access (DMA) to host memory
• Guaranteed bandwidth
• Multiple devices (up to 45 W) powered via FireWire bus
IIDC V1.3 camera control standards
IIDC V1.3 released a set of camera control standards via 1394a which established a common communications protocol on which most current FireWire
cameras are based.
PIKE Technical Manual V4.1.0
27
FireWire
In addition to common standards shared across manufacturers, a special
Format_7 mode also provided a means by which a manufacturer could offer
special features (smart features), such as:
• higher resolutions
• higher frame rates
• diverse color modes
as extensions (advanced registers) to the prescribed common set.
Capabilities of 1394b (FireWire 800)
FireWire 800 (S800) was introduced commercially by Apple in 2003 and has
a 9-pin FireWire 800 connector (see details in Hardware Installation Guide
and in Chapter IEEE 1394b port pin assignment on page 76). This newer
1394b specification allows a transfer rate of 800 MBit/s with backward compatibilities to the slower rates and 6-pin connectors of FireWire 400.
The 1394b capabilities in detail:
• 800 Mbit/s
• All previous benefits of 1394a (see above)
• Interoperability with 1394a devices
• Longer communications distances (up to 500 m using GOF cables)
IIDC V1.31 camera control standards
Twinned with 1394b, the IIDC V1.31 standard arrived in January 2004, evolving the industry standards for digital imaging communications to include
I/O and RS232 handling, and adding further formats. At such high bandwidths it has become possible to transmit high-resolution images to the PC’s
memory at very high frame rates.
PIKE Technical Manual V4.1.0
28
FireWire
Compatibility between 1394a and 1394b
1394b port
1394b camera
1394a camera
1394a port
1394a camera connected to 1394b bus
1394b camera connected to 1394a bus
The cable explains dual compatibility: This cable
serves to connect an IEEE 1394a camera with its
six-pin connector to a bilingual port (a port which
can talk in a- or b-language) of a 1394b bus.
The cable explains dual compatibility: In this case,
the cable connects an IEEE 1394b camera with its
nine-pin connector to a 1394a port.
In this case the b-camera communicates in
In this case the b-bus communicates in a-language a-language with the camera achieving
a-performance
and a-speed with the camera achieving
a-performance
Figure 4: 1394a and 1394b cameras and compatibility
FireWire cable
Description
Ordering number
FireWire cable -2x Interlock IEEE 1394a; (2x Interlock) 4.5 m with Ferrites,
for Marlin / Oscar / Guppy
K1200064
FireWire cable -2x Interlock IEEE 1394a; (2x Interlock) 10 m with Ferrites,
for Marlin / Oscar / Guppy
K1200163
FireWire cable -2x Interlock IEEE 1394a; (2x Interlock) 12.5 m with Ferrites, for
Marlin / Oscar / Guppy
K1200165
FireWire cable -2x Interlock IEEE 1394a; (2x Interlock) 17.5 m with Ferrites, for
Marlin / Oscar / Guppy
K1200162
FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 3.0 m,
for Marlin / Oscar / Guppy
K1200167
FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 4.5 m,
for Marlin / Oscar / Guppy
K1200091
FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 6.0 m,
for Marlin / Oscar / Guppy
K1200160
FireWire cable -1x Interlock IEEE 1394a; (1x Interlock) 10 m,
for Marlin / Oscar / Guppy
K1200159
Table 5: 1394 locking cables
PIKE Technical Manual V4.1.0
29
FireWire
FireWire cable
Description
Ordering number
Cable 0.5 m 9 pin - 6 pin,
industrial
IEEE 1394b/a; 9 pin (screw lock)/6 pin (latch), 0.5 m K1200198
Cable 4.5 m 9 pin - 6 pin,
industrial
IEEE 1394b/a; 9 pin (screw lock)/6 pin (latch), 4.5 m K1200171
Cable 0.5 m 9-pin - 9-pin,
industrial
IEEE 1394b; 2x screw lock, 0.5 m, black, 2x ferrite
K1200201
Cable 5.0 m 9-pin - 9-pin,
industrial
IEEE 1394b; 2x screw lock, 5.0 m, black, 2x ferrite
K1200133
Cable 7.5 m 9-pin - 9 pin,
industrial
IEEE 1394b; 2x screw lock, 7.5 m, black, 2x ferrite
K1200134
Table 5: 1394 locking cables
Compatibility example
It’s possible to run a 1394a and a 1394b camera on the 1394b bus.
You can e.g. run a PIKE F-032B and a MARLIN F-033B on the same bus:
• PIKE F-032B @ S800 and 120 fps (5120 bytes per cycle, 64% of the
cycle slot)
• MARLIN F-033B @ S400 and 30 fps (1280 bytes, 32% of the cycle slot)
Bus runs at 800 Mbit/s for all devices. Data from Marlin’s port is up-converted
from 400 Mbit/s to 800 Mbit/s by data doubling (padding), still needing 32%
of the cycle slot time. This doubles the bandwidth requirement for this port,
as if the camera were running at 60 fps. Total consumption is thus 5120 +
2560 = 7680 bytes per cycle.
PIKE Technical Manual V4.1.0
30
FireWire
Image transfer via 1394a and 1394b
Technical detail
1394a
1394b
Transmission mode
Half duplex (both pairs needed) Full duplex (one pair needed)
400 Mbit/s data rate
1 Gbit/s signaling rate, 800
Mbit/s data rate
aka: a-mode, data/strobe (D/S)
mode, legacy mode
10b/8b coding (Ethernet), aka:
b-mode (beta mode)
Devices
Up to 63 devices per network
Number of cameras
Up to 16 cameras per network
Number of DMAs
4 to 8 DMAs (parallel) cameras / bus
Real time capability
Image has real time priority
Available bandwidth acc. IIDC
(per cycle 125 µs)
4096 bytes per cycle
8192 bytes per cycle
~ 1000q @ 400 Mbit/s
~ 2000q @ 800 Mbit/s
(@1 GHz clock rate)
For further detail read Chapter Frame rates on page 201.
Max. image bandwidth
31.25 MByte/s
62.5 MByte/s
Max. total bandwidth
~45 MByte/s
~85 MByte/s
Multiple busses per PC
Multiple busses per PC
limit: PCI bus
limit: PCI (Express) bus
Number of busses
CPU load
Almost none for DMA image transfer
Gaps
Gaps negatively affect asynchro- No gaps needed, BOSS mode for
nous performance of widespread
parallel arbitration
network (round trip delay),
reducing efficiency
Table 6: Technical detail comparison: 1394a and 1394b
Note
The bandwidth values refer to the fact:
L
1 MByte = 1024 kByte
PIKE Technical Manual V4.1.0
31
FireWire
1394b bandwidths
According to the 1394b specification on isochronous transfer, the largest
data payload size of 8192 bytes per 125 µs cycle is possible with a bandwidth
of 800 Mbit/s.
For further details read Chapter How does bandwidth affect the frame rate?
on page 226.
Requirements for PC and 1394b
One PIKE camera connected to a PC’s 1394b bus saturates the standard PCI
bus.
1394b also requires low latency for data transmission (due to small receiveFIFO). In order to get the most out of your camera-to-PC configuration, we
recommend the following chipsets for your PC:
• For Intel-based desktops, chipset 945 (or higher)
• For non-Intel based desktops (e.g. AMD), PCI Express compatible
chipset
www
For more information:
Ý
http://support.intel.com/support/chipsets/#desktop
For multi-camera applications one of the following bus cards is needed:
• PCI ExpressCard with potential 250 MByte/s per lane (up to four supported by chipset) or
• 64-bit PCI-X card (160 MByte/s)
PIKE Technical Manual V4.1.0
32
FireWire
Figure 5: Block diagram of modern PC (X38 chipset by INTEL)
Caution
a
As mentioned earlier, it is very important not to exceed an
inrush current of 18 mJoule in 3 ms. (This means that a
device, when powered via 12 V bus power must never draw
more than 1.5 A, even not in the first 3 ms.)
Higher inrush current may damage the physical interface
chip of the camera and/or the phy chip in your PC.
Whereas inrush current is not a problem for one Pike camera,
daisy chaining multiple cameras or supplying bus power via
(optional) HIROSE power out to circuitry with unknown
inrush currents needs careful design considerations to be on
the safe side.
PIKE Technical Manual V4.1.0
33
FireWire
Requirements for laptop and 1394b
As mentioned above, 1394b requires low latency for data transmission (small
receive-FIFO). In order to get the most out of your camera-to-laptop configuration, we recommend the following chipset for your laptop:
• For Intel-based laptops, chipset 915 (or higher)
• For non-Intel based laptops (e.g. AMD), PCI Express compatible chipset
Because most laptops have (only) one PC-card interface, it is possible to connect one PIKE camera to your laptop at full speed. Alternatively laptops with
an additional 1394 ExpressCard interface can be used.
Note
L
Recent developments at Apple (TM) allow the INTEL based
Apple computers (both laptops as well as desktops) to run a
Win-OS. This makes it possible to use AVT 1394 camera technology with the same AVT-SDKs.
The following cardbus adapter for laptops allows the connection of two
industrial screw locking cables (obtainable at AVT).
Figure 6: Cardbus adapter with two screw locks (AVT order number E3000104)
PIKE Technical Manual V4.1.0
34
FireWire
Figure 7: ExpressCard Logo, ExpressCard/54 (SIIG)
Figure 8: ExpressCard technology
www
ExpressCard is a new standard set by PCMCIA.
Ý
For more information visit:
http://www.expresscard.org/web/site/
Example1: 1394b bandwidth of PIKE cameras
PIKE model
Resolution
Pike F-032 B/C
VGA
Pike F-100 B/C
1
Frame rate
Bandwidth
208 fps
62.5 MByte/s
megapixel
60 fps
57.62 MByte/s
Pike F-145 B/C
1.45 megapixel
30 fps
41.41 MByte/s
Pike F-210 B/C
2.1
31 fps
62.5 MByte/s
megapixel
Table 7: Bandwidth of Pike cameras
PIKE Technical Manual V4.1.0
35
FireWire
PIKE model
Resolution
Frame rate
Bandwidth
Pike F-421 B/C
4
megapixel
15 fps
62.5 MByte/s
Pike F-505 B/C
5
megapixel
13 fps
62.5 MByte/s
Table 7: Bandwidth of Pike cameras
Note
All data are calculated using Raw8 / Mono8 color mode.
Higher bit depths or color modes will double or triple bandwidth requirements.
L
Example 2: More than one PIKE camera at full speed
Due to the fact that one Pike camera can, depending on its settings, saturate
a 32-bit PCI bus, you are advised to use either a PCI Express card and/or multiple 64-bit PCI bus cards, if you want to use 2 or more Pike cameras simultaneously (see the following table).
# cameras
PC hardware required
1 Pike camera at full speed
1 x 32-bit PCI bus card (85 MByte/s)
2 or more Pike cameras at full speed PCI Express card and/or
Multiple 64-bit PCI bus cards
Table 8: Required hardware for multiple camera applications
PIKE Technical Manual V4.1.0
36
FireWire
FireWire Plug & play capabilities
FireWire devices implement the ISO/IEC 13213 configuration ROM model for
device configuration and identification, to provide plug & play capability. All
FireWire devices are identified by an IEEE EUI-64 unique identifier (an extension of the 48-bit Ethernet MAC address format) in addition to well-known
codes indicating the type of device and protocols it supports. For further
details read Chapter Configuration of the camera on page 230.
FireWire hot-plug and screw-lock precautions
Caution
Hot-plug precautions
a
•
•
•
•
•
Although FireWire devices can theoretically be hotplugged without powering down equipment, we
strongly recommend turning the computer power off,
before connecting a digital camera to it via a FireWire
cable.
Static electricity or slight plug misalignment during
insertion may short-circuit and damage components.
The physical ports may be damaged by excessive ESD
(electrostatic discharge), when connected under powered conditions. It is good practice to ensure proper
grounding of computer case and camera case to the
same ground potential, before plugging the camera
cable into the port of the computer. This ensures that
no excessive difference of electrical potential exists
between computer and camera.
As mentioned earlier, it is very important not to exceed
the inrush energy of 18 mJoule in 3 ms. (This means
that a device, when powered via 12 V bus power must
NEVER draw more than 1.5 A, but only 0.5 A in the first
3 ms, assuming constant flow of current.)
Higher inrush current over longer periods may damage
the physical interface chip of the camera and/or the
phy chip in your PC. Whereas inrush current is not a
problem for one Pike camera, daisy chaining multiple
cameras or supplying bus power via (optional) HIROSE
power out to circuitry with unknown inrush currents
needs careful design considerations to be on the safe
side.
Screw-lock precautions
•
•
Also, all AVT 1394b camera and cables have industrial
screw-lock fasteners, to insure a tight electrical connection that is resistant to vibration and gravity.
We strongly recommend using only 1394b adapter
cards with screw-locks.
PIKE Technical Manual V4.1.0
37
FireWire
Operating system support
Operating system
1394a
1394b
Linux
Full support
Full support
Apple Mac OS X
Full support
Full support
Windows XP
With service pack 2 the default speed for 1394b is S100 (100 Mbit/s).
A download and registry modification is available from Microsoft to
restore performance to either S400 or S800.
http://support.microsoft.com/kb/885222
Alternatively use the drivers of SP1 instead.
We strongly recommend to install AVT FirePackage, which replaces
the Microsoft driver. (See AVT FirePackage User Guide for details.)
Windows Vista
Full support from beginning
Vista incl. SP1 supports 1394b
only with S400.
Contact Microsoft for further
information when S800 will be
supported.
Table 9: FireWire and operating systems
PIKE Technical Manual V4.1.0
38
Filter and lenses
Filter and lenses
IR cut filter: spectral transmission
The following illustration shows the spectral transmission of the IR cut filter:
Figure 9: Spectral transmission of Jenofilt 217
PIKE Technical Manual V4.1.0
39
Filter and lenses
Camera lenses
AVT 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
for type 1/3 sensors
PIKE F-032
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.8 cm 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 10: Focal length vs. field of view (PIKE F-032)
Focal length
for type 2/3 sensors
PIKE F-100/F-145/F-505
Distance = 0.5 m
Distance = 1 m
4.8 mm
0.7 m x0.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.625 cm
25 cm 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 11: Focal length vs. field of view (PIKE F-100/F-145/F-505)
PIKE Technical Manual V4.1.0
40
Filter and lenses
Focal length
for type 1 sensors
PIKE F-210
Distance = 0.5 m
Distance = 1 m
8 mm
0.6 m x 0.8 m
1.2 m x 1.6 m
12 mm
0.39 m x 0.52 m
0.78 m x 1.16 m
16 mm
0.29 m x 0.38 m
0.58 m x 0.76 m
25 mm
18.2 cm x 24.2 cm
36.4 cm x 48.8 cm
35 mm
12.8 cm x 17.02 cm
25.6 cm x 34.04 cm
50 mm
8.8 cm x 11.7 cm
17.6 cm x 23.4 cm
Table 12: Focal length vs. field of view (PIKE F-210)
Note
L
Lenses with focal lengths < 35 mm will very likely show excessive shading in the edges of the image due to the fact that
the image size of the sensor is slightly bigger than the
C-mount itself and due to microlenses on the sensor's pixel.
Ask your dealer if you require non C-Mount lenses.
Focal length
for type 1.2 sensors
PIKE F-421
Distance = 0.5 m
Distance = 1 m
35 mm
15.4 cm x 20.4 cm
30.7 cm x 40.8 cm
50 mm
10.6 cm x 14.0 cm
21.1 cm x 28.1 cm
Table 13: Focal length vs. field of view (PIKE F-421)
PIKE Technical Manual V4.1.0
41
Camera dimensions
Camera dimensions
Note
For information on sensor position accuracy:
L
(sensor shift x/y, optical back focal length z and sensor rotation α) see Chapter Sensor position accuracy of AVT cameras
on page 312.
PIKE standard housing (2 x 1394b copper)
Note: different from GOF version
see next page
Body size: 96.8 mm x 44 mm x 44 mm (L x W x H)
Mass: 250 g (without lens)
Figure 22: Camera dimensions (2 x 1394b copper)
PIKE Technical Manual V4.1.0
60
Camera dimensions
PIKE (1394b: 1 x GOF, 1 x copper)
Note: different from 2 x copper version
see previous page
Body size: 96.8 mm x 44 mm x 44 mm (L x W x H)
Mass: 250 g (without lens)
Figure 23: Camera dimensions (1394b: 1 x GOF, 1 x copper)
PIKE Technical Manual V4.1.0
61
Camera dimensions
Tripod adapter
This tripod adapter is only designed for standard housings, but not for the
angled head versions.
Note
L
If you need a tripod adapter for angled head versions,
please contact AVT support.
Figure 24: Tripod dimensions
PIKE Technical Manual V4.1.0
62
Camera dimensions
Pike W90 (2 x 1394b copper)
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards.
Figure 25: Pike W90 (2 x 1394b copper)
PIKE Technical Manual V4.1.0
63
Camera dimensions
Pike W90 (1394b: 1 x GOF, 1 x copper)
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards.
Figure 26: Pike W90 (1394b: 1 x GOF, 1 x copper)
PIKE Technical Manual V4.1.0
64
Camera dimensions
Pike W90 S90 (2 x 1394b copper)
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards.
The sensor is also rotated by 90 degrees clockwise.
Figure 27: Pike W90 S90 (2 x 1394b copper)
PIKE Technical Manual V4.1.0
65
Camera dimensions
Pike W90 S90 (1394b: 1 x GOF, 1 x copper)
This version has the sensor tilted by 90 degrees clockwise, so that it views
upwards.
The sensor is also rotated by 90 degrees clockwise.
Figure 28: Pike W90 S90 (1394b: 1 x GOF, 1 x copper)
PIKE Technical Manual V4.1.0
66
Camera dimensions
Pike W270 (2 x 1394b copper)
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.
Figure 29: Pike W270 (2 x 1394b copper)
PIKE Technical Manual V4.1.0
67
Camera dimensions
Pike W270 (1394b: 1 x GOF, 1 x copper)
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.
Figure 30: Pike W270 (1394b: 1 x GOF, 1 x copper)
PIKE Technical Manual V4.1.0
68
Camera dimensions
Pike W270 S90 (2 x 1394b copper)
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.
The sensor is also rotated by 90 degrees clockwise.
Figure 31: Pike W270 S90 (2 x 1394b copper)
PIKE Technical Manual V4.1.0
69
Camera dimensions
Pike W270 S90 (1394b: 1 x GOF, 1 x copper)
This version has the sensor tilted by 270 degrees clockwise, so that it views
downwards.
The sensor is also rotated by 90 degrees clockwise.
Figure 32: Pike W270 S90 (1394b: 1 x GOF, 1 x copper)
PIKE Technical Manual V4.1.0
70
Camera dimensions
Cross section: CS-Mount (only PIKE F-032B/C)
Figure 33: Pike CS-Mount dimensions (only PIKE F-032B/C)
PIKE Technical Manual V4.1.0
71
Camera dimensions
Cross section: C-Mount (VGA size filter)
PIKE F-032 cameras are equipped with VGA size filter.
Figure 34: Pike C-Mount dimensions (VGA size filter for Pike F-032)
PIKE Technical Manual V4.1.0
72
Camera dimensions
Cross section: C-Mount (large filter)
PIKE F-100, PIKE F-145, PIKE F-210, PIKE F-421, PIKE F-505 are equipped
with a large filter.
Figure 35: Pike C-Mount dimensions (large filter for Pike F-100, F-145, F-210, F-421, F-505)
PIKE Technical Manual V4.1.0
73
Camera dimensions
Adjustment of C-Mount
PIKE cameras allow the precise adjustment of the back focus of the C-Mount
by means of a back focus ring which is threaded into the C-Mount and held
by two screws on either side of the camera. The mechanical adjustment of
the imaging device is important in order to achieve a perfect alignment with
the focal point of the lens.
Individual adjustment may be required:
• if you cannot focus correctly at near or far distances or
• if the back focal plane of your lens does not conform to the C-Mount
back-focus specification or
• if you have e.g. removed the IR cut filter.
loosen screw on both sides
Figure 36: Back focus adjustment
Do the following:
1.
Loosen screws (location as shown above by arrow) with an Allen key
(1.3 x 50; Order#: K 9020411).
2.
With the lens set to infinity or a known focus distance, set the camera
to view an object located at 'infinity' or the known distance.
3.
Rotate the C-Mount ring and lens forward or backwards on its thread
until the object is in sharp focus. Be careful that the lens remains
seated in the C-Mount.
4.
Once focus is achieved, tighten the two locking screws without applying
excessive torque.
PIKE Technical Manual V4.1.0
74
Camera dimensions
F-Mount, K-Mount, M39-Mount
Note
L
Note
L
For other mounts (e.g. F-Mount, K-Mount) please contact
your distributor.
Pike F-210 and Pike F-421 can be equipped at factory site
with M39-Mount instead of C-Mount.
M39-Mount is ideally suited for Voigtländer (aka Voigtlander)
short focal length optics. See drawing below for further
details.
Please ask AVT or your local dealer if you require further information.
Cross section: M39-Mount
Figure 37: Pike M39-Mount dimensions (only Pike F-210 and Pike F-421)
PIKE Technical Manual V4.1.0
75
Specifications
Specifications
PIKE F-032B/C (fiber)
Feature
Specification
Image device
Type 1/3 (diag. 5.92 mm) type progressive scan KODAK IT CCD
KAI340A/C with HAD microlens
Chip size
4.74 mm x 3.55 mm
Cell size
7.4 µm x 7.4 µm
Picture size (max.)
640 x 480 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 34: Pike C-Mount dimensions (VGA size filter for Pike F032) on page 72)
Adjustable CS-Mount: 12.526 mm (in air), Ø 25.4 mm (32 tpi),
mechanical flange back distance: 7.9 mm
(see Figure 33: Pike CS-Mount dimensions (only PIKE F-032B/C) on
page 71)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps; 30 fps; 60 fps; 120 fps
up to 208 fps in Format_7 (Mono8)
Gain control
Manual: 0-22 dB (0.0353 dB/step); auto gain (select. AOI)
Shutter speed
18 µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External trigger shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 105 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Table 14: Specification PIKE F-032B/C (fiber)
PIKE Technical Manual V4.1.0
42
Specifications
Feature
Specification
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical 5 watt (@ 12 V DC); fiber: typical 5.75 watt (@ 12 V DC)
(full resolution and maximal frame rates)
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 14: Specification PIKE F-032B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
43
Specifications
PIKE F-100B/C (fiber)
Feature
Specification
Image device
Type 2/3 (diag. 10.5 mm) type progressive scan KODAK IT CCD
KAI1020A/C with HAD microlens
Chip size
7.4 mm x 7.4 mm
Cell size
7.4 µm x 7.4 µm
Picture size (max.)
1000 x 1000 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 35: Pike C-Mount dimensions (large filter for Pike F-100,
F-145, F-210, F-421, F-505) on page 73)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps; 30 fps; 60 fps
up to 60 fps in Format_7 (Mono8)
Gain control
Manual: 0-22 dB (0.0353 dB/step); auto gain (select. AOI)
Shutter speed
43 µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External trigger shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 32 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical 5 watt (@ 12 V DC); fiber: typical 5.75 watt (@ 12 V DC)
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Table 15: Specification PIKE F-100B/C (fiber)
PIKE Technical Manual V4.1.0
44
Specifications
Feature
Specification
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 15: Specification PIKE F-100B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
45
Specifications
PIKE F-145B/C (fiber) (-15fps*)
* Variant: F-145-15fps only
This variant offers lower speed (only 15 fps), but better image quality.
Feature
Specification
Image device
Type 2/3 (diag. 11.2 mm) type progressive scan SONY ICX285AL/AQ
with EXview HAD microlens
Chip size
10.2 mm x 8.3 mm
Cell size
6.45 µm x 6.45 µm
Picture size (max.)
1388 x 1038 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 35: Pike C-Mount dimensions (large filter for Pike F-100,
F-145, F-210, F-421, F-505) on page 73)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps; 30 fps (* Variant: F-145-15fps
only up to 15 fps)
up to 30 (16*) fps in Format_7 (Mono8/12 no sub-sampling)
Gain control
Manual: 0-32 dB (0.0358 dB/step); auto gain (select. AOI)
Shutter speed
39 (71*) µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External trigger shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 22 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Table 16: Specification PIKE F-145B/C (fiber)
PIKE Technical Manual V4.1.0
46
Specifications
Feature
Specification
Power consumption
Typical 5 watt (@ 12 V DC); fiber: typical 5.75 watt (@ 12 V DC)
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 16: Specification PIKE F-145B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
47
Specifications
PIKE F-210B/C (fiber)
Feature
Specification
Image device
Type 1 (diag. 16.3 mm) type progressive scan KODAK IT CCD
KAI2093A/C with HAD microlens
Chip size
15.9 mm x 8.6 mm
Cell size
7.4 µm x 7.4 µm
Picture size (max.)
1920 x 1080 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 35: Pike C-Mount dimensions (large filter for Pike F-100,
F-145, F-210, F-421, F-505) on page 73)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps; 30 fps
up to 31 fps in Format_7 (Mono8, no sub-sampling)
Gain control
Manual: 0-22 dB (0.0353 dB/step); auto gain (select. AOI)
Shutter speed
43 µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External Trigger Shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 15 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical 5.5 watt (@ 12 V DC); fiber: typical 6.25 watt (@ 12 V DC)
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Table 17: Specification PIKE F-210B/C (fiber)
PIKE Technical Manual V4.1.0
48
Specifications
Feature
Specification
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
M39-Mount suitable for e.g. Voigtländer optics
Adjustable M39-Mount: 28.80 mm (in air); M39 x 26 tpi
mechanical flange back to filter distance: 24.2 mm (see Figure 37:
Pike M39-Mount dimensions (only Pike F-210 and Pike F-421) on
page 75)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 17: Specification PIKE F-210B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
49
Specifications
PIKE F-421B/C (fiber)
Feature
Specification
Image device
Type 1.2 (diag. 21.4 mm) type progressive scan KODAK IT CCD
KAI4021A/C with HAD microlens
Chip size
16.67 mm x 16.05 mm
Cell size
7.4 µm x 7.4 µm
Picture size (max.)
2048 x 2048 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 35: Pike C-Mount dimensions (large filter for Pike F-100,
F-145, F-210, F-421, F-505) on page 73)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps; 30 fps
up to 16 fps in Format_7 (Mono8)
Gain control
Manual: 0-22 dB (0.0353 dB/step); auto gain (select. AOI)
Shutter speed
70 µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External trigger shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 6 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical 5.5 watt (@ 12 V DC); fiber: typical 6.25 watt (@ 12 V DC)
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Table 18: Specification PIKE F-421B/C (fiber)
PIKE Technical Manual V4.1.0
50
Specifications
Feature
Specification
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
M39-Mount suitable for e.g. Voigtländer optics
Adjustable M39-Mount: 28.80 mm (in air); M39 x 26 tpi
mechanical flange back to filter distance: 24.2 mm (see Figure 37:
Pike M39-Mount dimensions (only Pike F-210 and Pike F-421) on
page 75)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 18: Specification PIKE F-421B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
51
Specifications
PIKE F-505B/C (fiber)
Feature
Specification
Image device
Type 2/3 (diag. 11.016 mm) progressive scan SONY ICX625AL/AQ
with Super HAD microlens
Chip size
9.93 mm × 8.70 mm
Cell size
3.45 µm x 3.45 µm
Picture size (max.)
2452 x 2054 pixels (Format_7 Mode_0)
Lens mount
Adjustable C-Mount: 17.526 mm (in air); Ø 25.4 mm (32 tpi)
mechanical flange back to filter distance: 12.5 mm
(see Figure 35: Pike C-Mount dimensions (large filter for Pike F-100,
F-145, F-210, F-421, F-505) on page 73)
ADC
14 bit
Color modes
Only color: Raw8, Raw12, Raw16, Mono8, YUV422, YUV411, RGB8
Frame rates
1.875 fps; 3.75 fps; 7.5 fps; 15 fps
up to 15* fps in Format_7 (Mono8 no sub-sampling)
* at 11000 bytes per packet
Gain control
Manual: 0-24 dB (0.0359 dB/step); auto gain (select. AOI)
Shutter speed
27 µs … 67,108,864 µs (~67s); auto shutter (select. AOI)
External trigger shutter
Programmable, trigger level control, single trigger,
bulk trigger, programmable trigger delay
Internal FIFO memory
Up to 5 frames
Look-up tables
16 user-defined (14 bit
Smart functions
AGC (auto gain control), AEC (auto exposure control), real-time
shading correction, LUT, 64 MByte image memory, mirror, binning,
sub-sampling, High SNR, storable user sets
only color: AWB (auto white balance), color correction, hue, saturation, sharpness
14 bit); gamma (0.45 and 0.7)
Two configurable inputs, four configurable outputs
RS-232 port (serial port, IIDC V1.31)
Transfer rate
100 Mbit/s, 200 Mbit/s, 400 Mbit/s, 800 Mbit/s
Digital interface
IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy
chain)
fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF
connector (2 x optical fiber on LCLC), (daisy chain)
Power requirements
DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE
Power consumption
Typical 5.75 watt (@ 12 V DC); fiber: typical 6.50 watt (@ 12 V DC)
Table 19: Specification PIKE F-505B/C (fiber)
PIKE Technical Manual V4.1.0
52
Specifications
Feature
Specification
Dimensions
96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without
tripod and lens
Mass
250 g (without lens)
Operating temperature
+ 5 °C ... + 50 °C housing temperature (without condensation)
Storage temperature
- 10 °C ... + 60 °C ambient temperature (without condensation)
Regulations
CE, FCC Class B, RoHS (2002/95/EC)
Standard accessories
b/w: protection glass
color: IR cut filter
Optional accessories
b/w: IR cut filter, IR pass filter
color: protection glass
On request
Host adapter card, angled head, power out (HIROSE)
Software packages
API (FirePackage, Active FirePackage, Fire4Linux)
Table 19: Specification PIKE F-505B/C (fiber)
Note
L
The design and specifications for the products described
above may change without notice.
PIKE Technical Manual V4.1.0
53
Specifications
Spectral sensitivity
Figure 10: Spectral sensitivity of Pike F-032B
Figure 11: Spectral sensitivity of Pike F-032C
PIKE Technical Manual V4.1.0
54
Specifications
Figure 12: Spectral sensitivity of Pike F-100B
Figure 13: Spectral sensitivity of Pike F-100C
PIKE Technical Manual V4.1.0
55
Specifications
Figure 14: Spectral sensitivity of Pike F-145B
Figure 15: Spectral sensitivity of Pike F-145C
PIKE Technical Manual V4.1.0
56
Specifications
Figure 16: Spectral sensitivity of Pike F-210B
Figure 17: Spectral sensitivity of Pike F-210C
PIKE Technical Manual V4.1.0
57
Specifications
Figure 18: Spectral sensitivity of Pike F-421B
Figure 19: Spectral sensitivity of Pike F-421C
PIKE Technical Manual V4.1.0
58
Specifications
Figure 20: Spectral sensitivity of Pike F-505B
Figure 21: Spectral sensitivity of Pike F-505C
PIKE Technical Manual V4.1.0
59
Camera interfaces
Camera interfaces
This chapter gives you detailed information on status LEDs, inputs and outputs, trigger features and transmission of data packets.
Note
L
For a detailed description of the camera interfaces
(FireWire, I/O connector), ordering numbers and operating instructions see the Hardware Installation Guide,
Chapter Camera interfaces.
Read all Notes and Cautions in the Hardware Installation
Guide, before using any interfaces.
IEEE 1394b port pin assignment
The IEEE 1394b connector is designed for industrial use and has the following
pin assignment as per specification:
4
3
2
1
5
6 7 8
9
Pin
Signal
1
TPB-
2
TPB+
3
TPA-
4
TPA+
5
TPA (Reference ground)
6
VG (GND)
7
N.C.
8
VP (Power, VCC)
9
TPB (Reference ground)
Figure 38: IEEE 1394b connector
PIKE Technical Manual V4.1.0
76
Camera interfaces
Note
•
L
•
Both IEEE 1394b connectors with screw lock mechanism provide access to the IEEE 1394 bus and thus
makes it possible to control the camera and output
frames. Connect the camera by using either of the connectors. The other connector can be used to daisy chain
a second camera.
Cables with latching connectors on one or both sides
can be used and are available with lengths of 5 m or
7.5 m. Ask your local dealer for more details.
PIKE Technical Manual V4.1.0
77
Camera interfaces
Camera I/O connector pin assignment
Pin Signal
9
1
2
10
3
11
4
External GND
GND for RS232 and
ext. power
External Ground for RS232
and external power
2
External Power
+8...+36 V DC
Power supply
3
Camera Out 4
Out
Open emitter
Camera Output 4
(GPOut4)
default: -
4
Camera In 1
In
Uin(high) = 2 V...UinVCC Camera Input 1
Uin(low) = 0 V...0.8 V (GPIn1)
default: Trigger
5
Camera Out 3
Out
Open emitter
Camera Output 3
(GPOut3)
default: Busy
6
Camera Out 1
Out
Open emitter
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 emitter
7
6
Description
1
8
12
5
Direction Level
Camera Output 2
(GPOut2)
default: Follow CameraIn2
Figure 39: Camera I/O connector pin assignment
Note
GP = General Purpose
L
For a detailed description of the I/O connector and its operating instructions see the Hardware Installation Guide,
Chapter PIKE input description.
Read all Notes and Cautions in the Hardware Installation
Guide, before using the I/O connector.
PIKE Technical Manual V4.1.0
78
Camera interfaces
Status LEDs
Status LEDs
Yellow
Green
(Trg/S2)
(Com/S1)
Figure 40: Position of status LEDs
On LED (green)
The green power LED indicates that the camera is being supplied with sufficient voltage and is ready for operation.
Status LED
The following states are displayed via the LED:
State
Description
Com/S1 (green)
Asynchronous and isochronous data transmission
active (indicated asynchronously to transmission
via the 1394 bus)
Trg/S2 (yellow)
LED on - waiting for external trigger
LED off - triggered / internal sync
Table 20: LED indication
PIKE Technical Manual V4.1.0
79
Camera interfaces
Blink codes are used to signal warnings or error states:
Class S1
Error code S2
Warning
1 blink
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
3 blinks
VMode_ERROR_STATUS
1 blink
FORMAT_7_ERROR_1
2 blinks
FORMAT_7_ERROR_2
3 blinks
Table 21: Error codes
The following sketch illustrates the series of blinks for a Format_7_error_1:
Figure 41: Warning and error states
You should wait for at least 2 full cycles because the display of blinking codes
starts asynchronously - e.g. on the second blink from S2.
PIKE Technical Manual V4.1.0
80
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
Hardware Installation Guide, Chapter PIKE input description.
L
The optocoupler inverts all input signals. Inversion of the signal is controlled
via the IO_INP_CTRL1..2 register (see Table 22: Advanced register: Input
control on page 82).
Polarity
selectable
via software
Input signal
OptoCoupler
Input
Input state
Figure 42: Input block diagram
Triggers
All inputs configured as triggers are linked by AND. If several inputs are being
used as triggers, a high signal must be present on all inputs in order to generate a trigger signal. Each signal can be inverted. The camera must be set
to external triggering to trigger image capture by the trigger signal.
PIKE Technical Manual V4.1.0
81
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]
Reserved
Polarity
[7]
0: Signal not inverted
1: Signal inverted
---
[8..10]
Reserved
InputMode
[11..15] Mode
see Table 23: Input routing
on page 83
0xF1000304
IO_INP_CTRL2
---
[16..30] Reserved
PinState
[31]
RD: Current state of pin
Same as
IO_INP_CTRL1
Table 22: Advanced register: Input control
PIKE Technical Manual V4.1.0
82
Camera interfaces
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.
The PinState bit reads the inverting optocoupler status after an internal
negation. See Figure 42: Input block diagram on page 81.
This means that an open input sets the PinState bit to 0. (This is different
to AVT Marlin/Dolphin/Oscar, where an open input sets PinState bit to 1.)
ID
Mode
Default
0x00
Off
0x01
Reserved
0x02
Trigger input
0x03
Reserved
0x06
Sequence Step
0x07
Sequence Reset
0x08..0x1F
Reserved
Input 1
Table 23: Input routing
Note
L
If you set more than 1 input to function as a trigger input,
all trigger inputs are ANDed.
PIKE Technical Manual V4.1.0
83
Camera interfaces
Trigger delay
Pike 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 time base 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 24: Trigger delay inquiry register
PIKE Technical Manual V4.1.0
84
Camera interfaces
Register
Name
Field
Bit
Description
0xF0F00834
TRIGGER_DELAY
Presence_Inq
[0]
Presence of this feature:
0:N/
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: Status of the feature
ON=1
OFF=0
---
[7..19]
Reserved
Value
[20..31]
Value
Table 25: 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]
-
ON_OFF
[6]
Trigger delay on/off
---
[7..10]
-
DelayTime
[11..31]
Delay time in µs
Table 26: 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.
PIKE Technical Manual V4.1.0
85
Camera interfaces
Note
•
L
•
Switching trigger delay to ON also switches external
Trigger_Mode_0 to ON.
This feature works with external Trigger_Mode_0 only.
Outputs
Note
For a general description of the outputs and warnings see
the Hardware Installation Guide, Chapter PIKE output
description.
L
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.
Fval (Frame valid) signal
This feature signals readout from the sensor. This
signal Fval follows IntEna.
Busy signal
This indicator appears when the exposure is being
made; the sensor is being read from or data transmission is active. The camera is busy.
Table 27: 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 43: Output block diagram
PIKE Technical Manual V4.1.0
86
Camera interfaces
IO_OUTP_CTRL 1-4
The outputs (Output mode, Polarity) are controlled via 4 advanced feature
registers (see Table 28: Advanced register: Output control on page 87).
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.
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:
L
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 29: Output routing
on page 88
---
[16..30] Reserved
PinState
[31]
RD: Current state of pin
WR: New state of pin
0xF1000324
IO_OUTP_CTRL2
Same as
IO_OUTP_CTRL1
0xF1000328
IO_OUTP_CTRL3
Same as
IO_OUTP_CTRL1
0xF100032C
IO_OUTP_CTRL4
Same as
IO_OUTP_CTRL1
Table 28: Advanced register: Output control
PIKE Technical Manual V4.1.0
87
Camera interfaces
Output modes
ID
Mode
Default / description
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 29: Output routing
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.
PIKE Technical Manual V4.1.0
88
Camera interfaces
Figure 44: Output impulse diagram
Note
The signals can be inverted.
L
Caution
a
Firing a new trigger while IntEna is still active can result in
missing image.
PIKE Technical Manual V4.1.0
89
Camera interfaces
Note
L
•
•
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.
PIKE Technical Manual V4.1.0
90
Camera interfaces
Pixel data
Pixel data are transmitted as isochronous data packets in accordance with
the 1394 interface described in IIDC V1.31. 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
Table 30: Isochronous data block packet format. Source: IIDC V1.31
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 31: Description of data block packet format
•
•
•
The video data for each pixel are output in either 8-bit or 14-bit format
(Packed 12-Bit Mode: 12-bit format).
Each pixel has a range of 256 or 16384 (Packed 12-Bit Mode: 4096)
shades of gray.
The digital value 0 is black and 255 or 16383 (Packed 12-Bit Mode:
4095) is white. In 16-bit mode the data output is MSB aligned.
PIKE Technical Manual V4.1.0
91
Camera interfaces
The following table provides a description of the video data format for the
different modes. (Source: IIDC V1.31; packed 12-bit mode: AVT)
Figure 45: YUV 4:2:2 and YUV 4:1:1 format: Source: IIDC V1.31 specification
Figure 46: Y8 and Y16 format: Source: IIDC V1.31 specification
<Y (Mono12) format>
Y-(K+0) [11..4]
Y-(K+1) [3..0]
Y-(K+1) [11..4]
Y-(K+2) [11..4]
Y-(K+4) [11..4]
Y-(K+5) [3..0]
Y-(K+0) [3..0]
Y-(K+3) [3..0]
Y-(K+3) [11..4]
Y-(K+2)[3..0]
Y-(K+5) [11..4]
Y-(K+4)[3..0]
Y-(K+6) [11..4]
Y-(K+7) [3..0]
Y-(K+7) [11..4]
Y-(K+6) [3..0]
Table 32: Packed 12-Bit Mode (mono and raw) Y12 format
PIKE Technical Manual V4.1.0
92
Camera interfaces
Figure 47: Data structure: Source: IIDC V1.31 specification
<Y(Mono12)>
Y component has 12-bit data. The data type is „unsigned“.
Y
Signal level (decimal)
Data (hexadecimal)
Highest
4095
0x0FFF
4094
0x0FFE
.
.
.
.
1
0x0001
0
0x0000
Lowest
Table 33: Data structure of Packed 12-Bit Mode (mono and raw)
PIKE Technical Manual V4.1.0
93
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 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 42.
Black and white cameras
14 bit
14 bit
Horizontal
masking
Test-Pattern
14 bit
HSNR
control
16 bit
8 Bit
1394b
Analog
Gain
IEEE 1394b
interface
Analog
Offset
Frame
memory
Camera control
Analog
ADC
14 bit
Channel
balance
14 bit
Horizontal
mirror
Horizontal
sub-sampling
14 bit
LUT
Shading
correction
14 bit
Sensor
HIROSE I/O
RS232
Figure 48: Block diagram b/w camera
PIKE Technical Manual V4.1.0
94
Sensor
Analog
8 bit
16 bit
Analog
Sharpness
HSNR
control
Offset
8 bit
14 bit
ADC
Camera control
Hue
Saturation
Color correction
Color conversion
Horizontal
sub-sampling
Camera control
Analog
8 bit
14 bit
14 bit
IEEE 1394b
interface
Horizontal
masking
Channel
balance
1394b
14 bit
14 bit
LUT
White balance
14 bit
14 bit
Test-Pattern
Color
interpolation
Frame
memory
Gain
Shading
correction
Horizontal
mirror
Description of the data path
Color cameras
14 bit
HIROSE I/O
RS232
16 bit
Figure 49: Block diagram color camera
PIKE Technical Manual V4.1.0
95
Description of the data path
Channel balance
All KODAK PIKE sensors are read out via two channels: the first channel for
the left half of the image and the second channel for the right half of the
image (divided by a central vertical line).
All KODAK equipped cameras come with a sensor-specific pre-adjusted channel balance.
However in some cases it may be advantageous to carry out a fine adjustment
with the so-called channel balance.
To carry out an adjustment in an advanced register: see Table 143: Advanced
register: Channel balance on page 290.
Channel adjustment with SmartView (>1.5)
Prerequisites:
• Test sheet with continuous b/w gradient
• PIKE camera with defocused lens
• PIKE color cameras set to RAW8 and RAW16
• In case of using AOI, be aware that the middle vertical line (+/- 20
pixel) is part of the AOI.
To carry out an adjustment in SmartView, perform the following steps:
1.
In SmartView click Extras
Adjust channels... or use Alt+Ctrl+A.
The following window opens:
Figure 50: SmartView: channel adjustment
Note
Program button is only available for AVT factory.
L
PIKE Technical Manual V4.1.0
96
Description of the data path
2.
To perform an automatic channel adjustment, click on Do one-push
adjustment.
3.
If the adjustment is not sufficient, repeat this step or adjust by clicking
the arrow buttons.
The two channels are automatically adjusted. For the channel adjustment a
region from +/- 20 pixel around the middle vertical is taken into account.
before
after
Figure 51: Example of channel adjustment: PIKE F-032B
PIKE Technical Manual V4.1.0
97
Description of the data path
White balance
Pike color cameras have both manual and automatic white balance. White
balance is applied so that non-colored image parts are displayed non-colored. From the user's point, the white balance settings are made in register
80Ch of IIDC V1.31. 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 34: White balance register
PIKE Technical Manual V4.1.0
98
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.
Note
L
While lowering both U/B and V/R registers from 284 towards
0, the lower one of the two effectively controls the green
gain.
Figure 52: U/V slider range
Type
Range
Range in dB
Pike color cameras
0 ... 568
± 10 dB
Table 35: Manual gain range of the various Pike types
The increment length is ~0.0353 dB/step.
One-push automatic white balance
Note
Configuration
L
To configure this feature in control and status register (CSR):
See Table 34: White balance register on page 98.
The camera automatically generates frames, based on the current settings of
all registers (GAIN, OFFSET, SHUTTER, etc.).
For white balance, in total 9 frames are processed. For the white balance
algorithm the whole image or a subset of it is used. The R-G-B component
values of the samples are added and are used as actual values for both the
one-push and the automatic white balance.
PIKE Technical Manual V4.1.0
99
Description of the data path
This feature uses the assumption that the R-G-B component sums of the samples shall be equal; i.e., it assumes that the average of the sampled grid pixels is to be monochrome.
Note
L
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.
Automatic white balance can be started both during
active image capture and when the camera is in idle
state.
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.
Automatic 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.
The following flow diagram illustrates the automatic white balance sequence.
Pause image
capture
Capture image
via one-shot
Repeat steps
nine times
Calculate and
set correction
values
Restart image
capture if
necessary
Figure 53: Automatic white balance sequence
PIKE Technical Manual V4.1.0
100
Description of the data path
Finally, the calculated correction values can be read from the
WHITE_BALANCE register 80Ch.
Automatic white balance
The auto white balance feature continuously optimizes the color characteristics of the image.
For the white balance algorithm the whole image or a subset of it is used.
Note
Configuration
L
To set position and size of the control area
(Auto_Function_AOI) in an advanced register: see Table 139:
Advanced register: Autofunction AOI on page 287.
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 will follow the current active
image size.
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 4
AF_AREA_SIZE: Width: n x 4
Figure 54: AUTOFNC_AOI positioning
PIKE Technical Manual V4.1.0
101
Description of the data path
The algorithm is based on the assumption that the R-G-B component sums of
the samples are 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, PIKE cameras 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
L
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.
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.
PIKE Technical Manual V4.1.0
102
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 36: CSR: Shutter
Note
Configuration
L
To configure this feature in an advanced register: See Table
137: Advanced register: Auto shutter control on page 285.
PIKE Technical Manual V4.1.0
103
Description of the data path
Auto gain
All Pike cameras are equipped with auto gain feature.
Note
Configuration
L
To configure this feature in an advanced register: See Table
138: Advanced register: Auto gain control on page 286.
When enabled auto gain adjusts the gain within the default gain limits 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.
PIKE Technical Manual V4.1.0
104
Description of the data path
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]
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 37: CSR: Gain
PIKE Technical Manual V4.1.0
105
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 38: CSR: Auto Exposure
Note
L
To configure auto gain control in an advanced register: See
Table 138: Advanced register: Auto gain control on page 286.
PIKE Technical Manual V4.1.0
106
Description of the data path
Note
•
L
•
•
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)
Manual gain
PIKE 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
PIKE color cameras
0 ... 565
0 ... 20 dB
PIKE b/w cameras
1 ... 630
0 ... 22 dB
PIKE F-145B
0 ... 900
0 ... 32 dB
PIKE F-145C
0 ... 900
0 ... 32 dB
PIKE F-145B-15fps
0 ... 900
0 ... 32 dB
PIKE F-145C-15fps
0 ... 900
0 ... 32 dB
PIKE F-505B
0 ... 670
0 ... 24 dB
PIKE F-505C
0 ... 670
0 ... 24 dB
Increment length
~0.0353 dB/step
~0.0358 dB/step
~0.0358 dB/step
~0.0359 dB/step
Table 39: Manual gain range of the various PIKE types
Note
•
L
•
Setting the gain does not change the offset (black
value)
A higher gain 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.
PIKE Technical Manual V4.1.0
107
Description of the data path
Brightness (black level or offset)
It is possible to set the black level in the camera within the following ranges:
0 ... +16 gray values (@ 8 bit)
Increments are in 1/16 LSB (@ 8 bit)
Note
•
L
Setting the gain does not change the offset (black
value).
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 40: CSR: Brightness
PIKE Technical Manual V4.1.0
108
Description of the data path
Horizontal mirror function
All Pike 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
L
To configure this feature in an advanced register: See Table
142: Advanced register: Mirror on page 289.
Note
The use of the mirror function with color cameras and image
output in RAW format has implications on the BAYERordering of the colors.
L
PIKE Technical Manual V4.1.0
109
Description of the data path
R
G
G
R
G
B
B
G
Mirror OFF: R-G-G-B for Pike 145C
Mirror ON: G-R-B-G Pike 145 C
G
R
R
G
B
G
G
B
Mirror OFF: G-R-B-G for all other Pikes
Mirror ON: R-G-G-B for all other Pikes
Figure 55: Mirror and Bayer order
Note
During switchover one image may be temporarily corrupted.
L
PIKE Technical Manual V4.1.0
110
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
•
L
•
•
Shading correction does not support the mirror function.
If you use shading correction, don’t change the mirror
function.
Due to binning and sub-sampling in the Format_7
modes read the following hints to build shading image
in Format_7 modes.
Building shading image in Format_7 modes
horizontal
vertical
Binning/sub-sampling is always done after shading correction. Shading is
always done on full horizontal resolution. Therefore shading image has
always to be built in full horizontal resolution.
Binning/sub-sampling is done in the sensor, before shading correction.
Therefore shading image has to be built in the correct vertical resolution.
Note
L
Build shading image always with the full horizontal resolution (0 x horizontal binning / 0 x horizontal sub-sampling), but with the desired vertical binning/subsampling.
First example
4 x horizontal binning, 2 x vertical binning
build shading image with 0 x horizontal binning and 2 x vertical binning
Second example
2 out of 16 horizontal sub-sampling, 2 out of 8 vertical sub-sampling
build shading image with 0 x horizontal binning and 2 out of 8 vertical
sub-sampling
PIKE Technical Manual V4.1.0
111
Description of the data path
How to store shading image
There are two storing possibilities:
• After generating the shading image in the camera, it can be uploaded to
the host computer for nonvolatile storage purposes.
• The shading image can be stored in the camera itself.
The following pictures describe the process of automatic generation of correction data (PIKE F-032C). Surface plots and histograms were created using
the ImageJ program.
255.0
surface plot
0.0
p
0.0
48
ls
ixe
640.
histogram
0
els
0 pix
256
Count: 307200
Mean: 135.337
StdDev. 30.497
Min: 79
Max. 19
Mode: 88 (4200)
Figure 56: Shading correction: Source image with non-uniform illumination
•
•
•
On the left you see the source image with non-uniform illumination.
The surface plot on the right clearly shows a gradient of the brightness
(0: brightest
255: darkest pixels).
The histogram shows a wide band of gray values.
By defocusing the lens, high-frequency image data is removed from the
source image, therefore its not included in the shading image.
PIKE Technical Manual V4.1.0
112
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 2, 4, 8, 16,
32, 64, 128 or 256. 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.
The brightest pixel(s) remain unchanged. 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
and on the resolution of the image.
Correction alone can compensate for shading by up to 50% and relies on full
resolution data to minimize 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 57: Automatic generation of a shading image
PIKE Technical Manual V4.1.0
113
Description of the data path
Note
Configuration
L
To configure this feature in an advanced register: See Table
132: Advanced register: Shading on page 279.
Note
•
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 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.
Shading correction can be combined with the image
mirror and gamma functionality.
Changing binning modes involves the generation of
new shading reference images due to a change in the
image size.
L
Note
L
•
•
•
•
After the lens has been focused again the image below will be seen, but now
with a considerably more uniform gradient.
PIKE Technical Manual V4.1.0
114
Description of the data path
255.0
surface plot
0.0
p
0.0
48
ls
ixe
histogram
0p
640.
ixels
0
256
Count: 307200
Mean: 157.039
StdDev: 2.629
Min: 139
Max: 162
Mode: 158 (84449)
Figure 58: Example of shaded image
•
•
•
On the left you see the image after shading correction.
The surface plot on the right clearly shows nearly no more gradient of
the brightness (0: brightest
255: darkest pixels). The remaining gradient is related to the fact that the source image is lower than 50% on
the right hand side.
The histogram shows a peak with very few different gray values.
PIKE Technical Manual V4.1.0
115
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:
Query limits from
register:
SHDG_INFO and
GPDATA_INFO
Set EnableMemRD
to true (1)
Set AddrOffset to 0
Read n databytes
of
GPDATA_BUFFER
Increase
AddrOffset by n
bytes
Repeat steps until
all data is read
Check
EnableMemRD for
no change
Set EnableMemRD
to false (0)
Figure 59: Uploading shading image to host
Note
Configuration
L
•
•
To configure this feature in an advanced register: See
Table 132: Advanced register: Shading on page 279.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 309.
PIKE Technical Manual V4.1.0
116
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 (see also Chapter Reading or writing shading image
from/into the camera on page 280):
Query limits from
register:
SHDG_INFO and
GPDATA_INFO
Set EnableMemWR
to true (1)
Set AddrOffset to 0
Write n databytes
in
GPDATA_BUFFER
Increase
AddrOffset by n
bytes
Repeat steps until
all data is written
Check
EnableMemWR for
no change
Set EnableMemWR
to false (0)
Figure 60: Loading the shading reference image
Note
Configuration
L
•
•
To configure this feature in an advanced register: See
Table 132: Advanced register: Shading on page 279.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 309.
PIKE Technical Manual V4.1.0
117
Description of the data path
Look-up table (LUT) and gamma function
The AVT Pike camera provides sixteen (0-15) user-defined look-up tables
(LUT). The use of one LUT allows any function (in the form Output = F(Input))
to be stored in the camera's RAM and to be applied 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 an LUT is the gamma LUT:
There are two gamma LUTs (gamma=0.7 and gamma=0.45)
Output = (Input)0.7 and Output = (Input)0.45
These two gamma LUTs are used with all Pike models.
Gamma is known as compensation for the nonlinear brightness response of
many displays e.g. CRT monitors. The look-up table converts the incoming
14 bit from the digitizer to outgoing up to 14 bit.
Output = f (Input)
Pike, gamma=0.45
Pike, gamma=0.7
16000
14000
12000
Output
10000
8000
6000
4000
2000
0
0
2000
4000
6000
8000
10000
12000
14000
16000
Input
Figure 61: LUTs with gamma=0.45, gamma=0.7
PIKE Technical Manual V4.1.0
118
Description of the data path
Note
L
•
•
•
•
The input value is the 14-bit value from the digitizer.
The two gamma LUTs use LUT 14 and 15.
Gamma 1 (gamma=0.7) switches on LUT 14, gamma 2
(gamma=0.45) switches on LUT 15. After overriding
LUT 14 and 15 with a user defined content, gamma
functionality is no longer available until the next full
initialization of the camera.
LUT content is volatile if you do not use the user profiles to save the LUT.
PIKE Technical Manual V4.1.0
119
Description of the data path
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 16384 x 14 bit is 28 kByte, programming can not take place in a one
block write step because the size of an LUT is larger than GPDATA_BUFFER.
Therefore input must be handled in several steps. 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 n databytes
in
GPDATA_BUFFER
Offset is increased
in camera after n
bytes are written
Repeat steps until
all data is written
Check
EnableMemWR for
no change
Set EnableMemWR
to false (0)
Figure 62: Loading an LUT
Note
Configuration
L
•
•
To configure this feature in an advanced register: See
Table 131: Advanced register: LUT on page 276.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 309.
PIKE Technical Manual V4.1.0
120
Description of the data path
Binning (only Pike b/w models)
2 x / 4 x / 8 x binning
Definition
Binning is the process of combining neighboring pixels while being read out
from the CCD chip.
Note
L
•
•
Only Pike b/w cameras have this feature.
Binning does not change offset, brightness or blacklevel.
Binning is used primarily for 3 reasons:
• a reduction in the number of pixels and thus the amount of data while
retaining the original image area angle
• an increase in the frame rate (vertical binning only)
• a brighter image, also resulting in an improvement in the signal-tonoise ratio of the image
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 achievable
signal intensity.
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
L
Types
Changing binning modes involves 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
• 4 x H-binning
• 4 x V-binning
• 8 x H-binning
• 8 x V-binning
PIKE Technical Manual V4.1.0
121
Description of the data path
and the full binning modes:
• 2 x full binning (a combination of 2 x H-binning and 2 x V-binning)
• 4 x full binning (a combination of 4 x H-binning and 4 x V-binning)
• 8 x full binning (a combination of 8 x H-binning and 8 x V-binning)
Vertical binning
Vertical binning increases the light sensitivity of the camera by a factor of
two (4 or 8) by adding together the values of two (4 or 8) adjoining vertical
pixels output as a single pixel. This is done directly in the horizontal shift
register of the sensor.
Format_7 Mode_2
By default and without further remapping use Format_7 Mode_2 for
2 x vertical binning.
This reduces vertical resolution, depending on the model.
2 x vertical binning
4 x vertical binning
Figure 63: 2 x vertical binning and 4 x vertical binning
PIKE Technical Manual V4.1.0
122
Description of the data path
8 x vertical binning
Figure 64: 8 x vertical binning
Note
L
Note
L
Note
L
Vertical resolution is reduced, but signal-to noise ratio
(SNR) is increased by about 3, 6 or 9 dB (2 x, 4 x or 8 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.
PIKE Technical Manual V4.1.0
123
Description of the data path
Horizontal binning
In horizontal binning adjacent horizontal pixels in a line are combined digitally in the FPGA of the camera without accumulating the black level:
2 x horizontal binning: 2 pixel signals from 2 horizontal neighboring pixels
are combined.
4 x horizontal binning: 4 pixel signals from 4 horizontal neighboring pixels
are combined.
8 x horizontal binning: 8 pixel signals from 8 horizontal neighboring pixels
are combined.
Light sensitivity
Horizontal
resolution
Format_7 Mode_1
This means that in horizontal binning the light sensitivity of the camera is
also increased by a factor of two (6 dB), 4 (12 dB) or 8 (18 dB). Signal-tonoise separation improves by approx. 3, 6 or 9 dB.
Horizontal resolution is lowered, depending on the model.
By default and without further remapping use Format_7 Mode_1 for
2 x horizontal binning.
2 x horizontal binning
4 x horizontal binning
Figure 65: 2 x horizontal binning and 4 x horizontal binning
8 x horizontal binning
Figure 66: 8 x horizontal binning
PIKE Technical Manual V4.1.0
124
Description of the data path
Note
L
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.
2 x full binning/4 x full binning/8 x full binning
If horizontal and vertical binning are combined, every 4 (16 or 64) pixels are
consolidated into a single pixel. At first two (4 or 8) vertical pixels are put
together and then combined horizontally.
This increases light sensitivity by a total of a factor of 4 (16 or 64) and at
the same time signal-to-noise separation is improved by about 6 (12 or 18)
dB. Resolution is reduced, depending on the model.
By default and without further remapping use Format_7 Mode_3 for
2 x full binning.
2 x full binning
4 x full binning
Figure 67: 2 x and 4 x full binning
8 x full binning
Figure 68: 8 x full binning
PIKE Technical Manual V4.1.0
125
Description of the data path
Sub-sampling (PIKE b/w and color)
What is sub-sampling?
Definition
Sub-sampling is the process of skipping neighboring pixels (with the same
color) while being read out from the CCD chip.
Which PIKE models have sub-sampling?
All PIKE models, both color and b/w, have this feature.
Description of sub-sampling
Sub-sampling is used primarily for the following reason:
• A reduction in the number of pixels and thus the amount of data while
retaining the original image area angle and image brightness
Similar to binning mode the cameras support horizontal, vertical and h+v
sub-sampling mode.
Format_7 Mode_4
By default and without further remapping use Format_7 Mode_4 for
• b/w cameras: 2 out of 4 horizontal sub-sampling
• color cameras: 2 out of 4 horizontal sub-sampling
The different sub-sampling patterns are shown below.
2 out of 4
2 out of 8
2 out of 16
Figure 69: Horizontal sub-sampling (b/w)
PIKE Technical Manual V4.1.0
126
Description of the data path
2 out of 4
2 out of 8
2 out of 16
Figure 70: Horizontal sub-sampling (color)
Note
L
The image appears horizontally compressed in this mode
and no longer exhibits a true aspect ratio.
PIKE Technical Manual V4.1.0
127
Description of the data path
Format_7 Mode_5
By default and without further remapping use Format_7 Mode_5 for
• b/w cameras: 2 out of 4 vertical sub-sampling
• color cameras: 2 out of 4 vertical sub-sampling
The different sub-sampling patterns are shown below.
2 out of 4
2 out of 8
2 out of 16
Figure 71: Vertical sub-sampling (b/w)
2 out of 4
2 out of 8
2 out of 16
Figure 72: Vertical sub-sampling (color)
PIKE Technical Manual V4.1.0
128
Description of the data path
Note
L
Format_7 Mode_6
The image appears vertically compressed in this mode and no
longer exhibits a true aspect ratio.
By default and without further remapping use Format_7 Mode_6 for
2 out of 4 H+V sub-sampling
The different sub-sampling patterns are shown below.
2 out of 4 H+V sub-sampling
Figure 73: 2 out of 4 H+V sub-sampling (b/w)
2 out of 8 H+V sub-sampling
Figure 74: 2 out of 8 H+V sub-sampling (b/w)
PIKE Technical Manual V4.1.0
129
Description of the data path
2 out of 16 H+V sub-sampling
Figure 75: 2 out of 16 H+V sub-sampling (b/w)
PIKE Technical Manual V4.1.0
130
Description of the data path
2 out of 4 H+V sub-sampling
Figure 76: 2 out of 4 H+V sub-sampling (color)
2 out of 8 H+V sub-sampling
Figure 77: 2 out of 8 H+V sub-sampling (color)
PIKE Technical Manual V4.1.0
131
Description of the data path
2 out of 16 H+V sub-sampling
Figure 78: 2 out of 16 H+V sub-sampling (color)
Note
L
Changing sub-sampling modes involves the generation of new
shading reference images due to a change in the image size.
PIKE Technical Manual V4.1.0
132
Description of the data path
Binning and sub-sampling access
The binning and sub-sampling modes described in the last two chapters are
only available as pure binning or pure sub-sampling modes. A combination
of both is not possible.
As you can see there is a vast amount of possible combinations. But the number of available Format_7 modes is limited and lower than the possible combinations.
Thus access to the binning and sub-sampling modes is implemented in the
following way:
• Format_7 Mode_0 is fixed and can not be changed
• A maximum of 7 individual AVT modes can be mapped to Format_7
Mode_1 to Mode_7
(see Figure 79: Mapping of possible Format_7 modes to F7M1...F7M7 on
page 134)
• Mappings can be stored via register (see Chapter Format_7 mode mapping on page 297) and are uploaded automatically into the camera on
camera reset.
• The default settings (per factory) in the Format_7 modes are listed in
the following table
Format_7
PIKE monochrome cameras Format_7
PIKE color cameras Format_7
Mode_0
full resolution, no binning,
no sub-sampling
full resolution, no sub-sampling
Mode_1
2 x horizontal binning
---
Mode_2
2 x vertical binning
---
Mode_3
2 x full binning
---
Mode_4
2 out of 4 horizontal sub-sampling
2 out of 4 horizontal sub-sampling
Mode_5
2 out of 4 vertical sub-sampling
2 out of 4 vertical sub-sampling
Mode_6
2 out of 4 full sub-sampling
2 out of 4 full sub-sampling
Table 41: Default Format_7 binning and sub-sampling modes (per factory)
Note
•
L
•
A combination of binning and sub-sampling modes is
not possible.
Use either pure binning or pure sub-sampling modes.
The Format_ID numbers 0...31 in the binning /
sub-sampling list do not correspond to any of the
Format_7 modes.
PIKE Technical Manual V4.1.0
133
Description of the data path
F7M5
F7M6
F7M7
3
8 x horizontal
4
0 x horizontal
5
2 x horizontal
6
4 x horizontal
7
8 x horizontal
8
0 x horizontal
9
2 x horizontal
10
4 x horizontal
11
8 x horizontal
12
0 x horizontal
13
2 x horizontal
14
4 x horizontal
15
8 x horizontal
16
2 out of 2 horizontal
17
2 out of 4 horizontal
18
2 out of 8 horizontal
19
2 out of 16 horizontal
20
2 out of 2 horizontal
21
2 out of 4 horizontal
22
2 out of 8 horizontal
23
2 out of 16 horizontal
24
2 out of 2 horizontal
25
2 out of 4 horizontal
26
2 out of 8 horizontal
27
2 out of 16 horizontal
28
2 out of 2 horizontal
29
2 out of 4 horizontal
30
2 out of 8 horizontal
31
2 out of 16 horizontal
0 x vertical
2 x vertical
(only b/w cameras)
4 x horizontal
g
2
4 x vertical
n
F7M4
mapping of
each of 32 modes
to F7M1..F7M7
possible
2 x horizontal
n i
F7M3
1
n
F7M2
0 x horizontal
i
F7M1
0
8 x vertical
2 out of 2 vertical
2 out of 4 vertical
2 out of 8 vertical
2 out of 16 vertical
b
F7M0 (no change)
AVT modes
s u b - s a m p l i n g (color and b/w)
Format_ID (see p297)
F7 modes
according to IIDC 1394
Figure 79: Mapping of possible Format_7 modes to F7M1...F7M7
PIKE Technical Manual V4.1.0
134
Description of the data path
Note
Configuration
L
To configure this feature in an advanced register: See Table
152: Advanced register: Format_7 mode mapping on page
297.
Quick parameter change timing modes
Why new timing modes?
Former timing of the PIKE cameras showed the same behavior as MARLIN
cameras:
• 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 80: Former standard timing on page 135 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 80: Former standard timing
Principally a PIKE 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.
To optimize the transfer of parameter changes there is a new timing mode
called Quick Format Change Mode, which effectively resets the current shutter.
Therefore you can choose between the following update timing modes:
PIKE Technical Manual V4.1.0
135
Description of the data path
•
•
Standard Parameter Update Timing (slightly modified from previous
PIKE cameras)
New: Quick Format Change Mode
In the following you find a short description of both timing modes:
Standard Parameter Update Timing
The Standard Parameter Update Timing keeps the frame rate constant and
does not create any gaps between two image transfers via bus (precondition:
exposure (shutter) time must be smaller than transfer time).
• Frame rate / transfer rate is always constant
(if shutter time < transfer time)
• Delay from shutter update until change takes place is always 2 frames
(delay from update command reception by FPGA and not by microcontroller)
• Parameters sent to the camera faster than max. frame rate are no longer
stored in a FIFO. The last sent parameter will be activated for the next
image. All others will be dropped. This ensures that the last image is
shot with the last shutter setting.
New: Quick Format Change Mode (QFCM)
The Quick Format Change Mode creates gaps between two images. Current
exposure is interrupted and the new exposure is started immediately with
new parameters if during exposure (integration/shutter) an new shutter command is received.
• Frame rate / transfer rate can be interrupted. This is shown in the diagram below whenever FVal goes low after a reception of a new shutter
command while Sync was low.
• Shutter will be interrupted, if the update command is received while
camera integrates
• Delay from shutter update until change takes place is always 1 frame
(the delay is calculated from update command reception by FPGA and
not by microcontroller)
Figure 81: Quick Format Change Mode
PIKE Technical Manual V4.1.0
136
Description of the data path
How to transfer parameters to the camera
The following 3 variants of transferring the parameters are available with the
firmware 3.x:
Transfer mode
Advantage ☺
Encapsulated Update (begin/
end)
☺ easy to use (standard quad
writes in camera register is
possible)
one write access per register
access
Parameter-List Update
☺ only one write access for all
parameters
not so easy to use (block
writes)
☺ fastest host camera transfer
(from 5 parameters on faster
than encapsulated mode)
max. 64 entries for parameter
list
Disadvantage
☺ handling of parameter list
easy
Standard Update (IIDC)
☺ compliant with IIDC V1.31
non deterministic change of
parameters
Table 42: Comparison of 3 transfer modes
In the following you find a short description of each variant:
Encapsulated Update (begin/end)
The Encapsulated Update (begin/end) has the following characteristics:
• Host will set a parameter update begin flag in the camera (UpdActive
Field in Register 0xF1000570, see Table 148: Advanced register: Update
timing modes on page 294)
• Host will send several parameters to the camera and then signalize end
by resetting the flag
• All parameters will become active for the same next image
• Dependent on timing mode, the camera
– (standard Update): uses the previous parameters until the update
flag (UpdActive Field in Register 0xF1000570) is reset
– (Quick Format Change Mode): Camera stops and waits until the
update flag (UpdActive Field in Register 0xF1000570) is reset.
In the Encapsulated Update (begin/end) the exact sequence is:
1.
Parameter update begin (advanced feature register)
2.
Standard IIDC register update (1..N register) (standard feature register)
3.
Parameter update end (advanced feature register)
PIKE Technical Manual V4.1.0
137
Description of the data path
Camera timing behavior is like this:
Fast Parameter Update Timing
Quick Format Change Mode
After the parameter update stop command all
changed parameters are valid for the available
next image. Frame rate is constant.
After the parameter update start command a current transfer is interrupted. A started exposure
will be interrupted until the next parameter
update stop command. Exposure of the next image
with new parameters is started.
There may be a gap between two succeeding
images but images are always transmitted compeletely.
Table 43: Encapsulated Update (begin/end): comparison of standard timing and fast timing 2
If after end of time-out (10 seconds after Quick Format Change Mode) no
parameter update end is sent, all changes will become valid.
A new write event of parameter update begin starts time-out again.
Parameter-List Update
In the Parameter-List Update mode a complete list with IIDC addresses and
values of up to 64 parameters is sent to the camera.
• Host sends a list with parameters to the camera (advanced feature
space)
• Microcontroller processes that list
• All parameters will become active for the same image
• Dependent on timing mode, the camera will:
– Standard Format Change Mode: use the previous parameters until
the new parameter set is copied to the FPGA
– Quick Format Change Mode (QFCM): waits until all parameters have
been copied to the FPGA and may interrupt an already started integration for a new integration with the new settings
Example of parameter list:
Address
Value
0xF0F0081C
0x80000100
0xF0F00820
0x800000ac
0xF0F00818
0x82000001
...
...
Table 44: Example of parameter list
PIKE Technical Manual V4.1.0
138
Description of the data path
The exact sequence is:
Block-write (this needs to be a functionality of the underlying software stack
(e.g. AVT FirePackage). It may not be available for third party IIDC software
stacks.) of list to advanced feature address
Camera timing behavior is like this:
Fast Parameter Update Timing
Quick Format Change Mode (QFCM)
After block write command is processed in the
camera all changed parameters are valid for the
available next image. Frame rate is constant.
After transfer of the parameter list via block write
a current transfer will be finished. A started exposure will be interrupted until the microcontroller
has processed the list and copied it into the FPGA.
Exposure of the next image with new parameters
is started.
There may be a gap between two images.
Table 45: Parameter-List Update: comparison of standard timing and QFCM
Standard Update (IIDC)
In the Standard Update (IIDC) mode single parameter are sent to the camera.
• Standard Update (IIDC)shows same behavior as MARLIN
• Parameter will be sent from host to camera and will be activated as soon
as possible without interruption of the transfer
• If the host updates more than one parameter (without block write) the
parameters may become active in different images
• Standard Update (IIDC) can be combined with the new parameter
update timing modes
Camera timing behavior is like this:
Fast Parameter Update Timing
Quick Format Change Mode (QFCM)
After sending a new parameter value, the changed After sending a new parameter value, the changed
parameter value is valid for the available next
parameter value is valid for the available next
image. Frame rate is constant.
image.
A running exposure will be interrupted and the
image is dropped.
There may be a gap between two consecutive
image transfers.
Table 46: Standard Update (IIDC): comparison of Standard Format Change Mode and QFCM
PIKE Technical Manual V4.1.0
139
Description of the data path
Packed 12-Bit Mode
All Pike cameras have the so-called Packed 12-Bit Mode. This means: two
12-bit pixel values are packed into 3 bytes instead of 4 bytes.
B/w cameras
Color cameras
Packed 12-Bit MONO camera mode
Packed 12-Bit RAW camera mode
SmartView: MONO12
SmartView: RAW12
Mono and raw mode have the same implementation.
Table 47: Packed 12-Bit Mode
Note
L
For data block packet format see Table 32: Packed 12-Bit
Mode (mono and raw) Y12 format on page 92.
For data structure see Table 33: Data structure of Packed 12Bit Mode (mono and raw) on page 93.
The color codings are implemented via Vendor Unique Color_Coding according to IIDC V1.31: COLOR_CODING_INQ @ 024h...033h, IDs=128-255)
See Table 120: Format_7 control and status register on page 261.
Mode
Color_Coding
ID
Packed 12-Bit MONO
ECCID_MONO12
ID=132
Packed 12-Bit RAW
ECCID_RAW12
ID=136
Table 48: Packed 12-Bit Mode: color coding
PIKE Technical Manual V4.1.0
140
Description of the data path
High SNR mode (High Signal Noise Ratio)
Note
Configuration
L
To configure this feature in an advanced register: See Table
145: Advanced register: High Signal Noise Ratio (HSNR) on
page 291.
In this mode the camera grabs and averages a set number of images and outputs one image with the same bit depth and the same brightness. This means
that the camera will output an 8-bit averaged image when an 8-bit image
format is selected.
Because of the fact that normally uncorrelated (photon-, amplifier-) noise
dominates over correlated noise (fixed pattern noise), adding two images
will double (6 dB) the gray levels but only increase the noise levels by 2
(3 dB).
This enhances both the dynamic range as well as the signal-to-noise ratio.
Consequently adding 256 8-bit images will lead to a potential signal-to-noise
enhancement of 24 dB or a resulting bit depth of 16 bit.
Note
•
L
•
•
•
The averaged image is output at a lower frame rate
roughly equivalent to fps_old/N, where N is the number
of images averaged. In fact, due to camera internal
conditions, and according to which format and mode
settings are in use, it can vary slightly to be closer
sometimes to 1/ ((N/fps_old) + T_shutter). It's impractical to express in a formula or tables, across all camera
models and modes. But these notes should be sufficient
to help each user determine that the camera behaves as
described.
The camera must be in idle before turning this feature
on.
The potential SNR enhancement may be lower when
using more than 8-bit original bit depth.
Select 16-bit image format in order to take advantage
of the full potential SNR and DNR (DyNamic Range)
enhancements.
PIKE Technical Manual V4.1.0
141
Description of the data path
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 Pike cameras are equipped with built-in image memory, this order of
events can be paused or delayed by using the deferred image transport feature.
Pike cameras are equipped with 64 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.
Model
Memory size
PIKE F-032B/C
PIKE F-032B/C fiber
PIKE F-100B/C
PIKE F-100B/C fiber
PIKE F-145B/C
PIKE F-145B/C fiber
PIKE F-145B/C-15fps
PIKE F-145B/C fiber-15fps
PIKE F-210B/C
PIKE F-210B/C fiber
PIKE F-421B/C
PIKE F-421B/C fiber
PIKE F-505B/C
PIKE F-505B/C fiber
105 frames
32 frames
22 frames
22 frames
15 frames
6 frames
5 frames
Table 49: 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.
Image transfer is controlled from the host computer by addressing individual
cameras one after the other and reading out the desired number of images.
PIKE Technical Manual V4.1.0
142
Description of the data path
Note
Configuration
L
To configure this feature in an advanced register: See Table
134: Advanced register: Deferred image transport on page
282.
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
L
•
•
•
•
•
•
•
•
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 set in the NumOfImages parameter.
If NumOfImages is 0, all images stored in FIFO will be
sent.
If NumOfImages is not 0, the corresponding number of
images will be sent.
If the HoldImg field is set to false, all images in
ImageFIFO will be deleted. No images will be sent.
The last image in the FiFo will be corrupted, when
simultaneously used as input buffer while being read
out. In this case read out one image less than max.
buffer size.
NumOfImages is incremented after an image was read
out of the sensor and therefore stored into the onboard
image FIFO.
NumOfImages is decremented after the last isochronous packet of an image was handed over to the
IEEE1394 chipset of the camera.
PIKE Technical Manual V4.1.0
143
Description of the data path
The following screenshot shows the sequence of commands needed to work
with deferred mode.
Figure 82: Example: Controlling deferred mode (SmartView - Direct Access; PIKE F-032C)
For a description of the commands see the following table:
#
rw Address
10 rd
F1000260
Value
Description
82006900h Check how many images are left in FiFo
9
wr F1000260
86006901h Read out the second image of FiFo
8
rd
82006901h Check how many images are left in FiFo
7
wr F1000260
86006901h Read out the first image of FiFo
6
rd
82006902h Check that two images are in FiFo
5
wr F0F0061C
82000000h Do second one-shot
4
wr F0F0061C
82000000h Do first one-shot
3
wr F1000260
82006900h Switch deferred mode on
2
rd
80006900h Check pres. of deferred mode and FiFo size (69h
1
wr F0F00614
F1000260
F1000260
F1000260
105 frames)
00000000h Stop continuous mode of camera
Table 50: Example: Controlling deferred mode (SmartView - Direct Access; PIKE F-032C)
PIKE Technical Manual V4.1.0
144
Description of the data path
FastCapture mode
Note
This mode can be activated only in Format_7.
L
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. The speed of the image transport over
the 1394 bus can be defined via the BytesPerPacket register. 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.
Similar to the HoldImg mode, captured images will be stored in the internal
image FIFO, if the transport over the 1394 bus is slower than images are captured.
PIKE Technical Manual V4.1.0
145
Description of the data path
Color interpolation (BAYER demosaicing)
The color sensors capture the color information via so-called primary color
(R-G-B) filters placed over the individual pixels in a BAYER mosaic layout.
An effective BAYER RGB color interpolation already takes place in all Pike
color version cameras.
In color interpolation a red, green or blue value is determined for each pixel.
An AVT proprietary BAYER demosaicing algorithm is used for this interpolation (max. 3x3), optimized for both sharpness of contours as well as reduction of false edge coloring.
x
Figure 83: BAYER demosaicing (example of 3x3 matrix)
Color processing can be bypassed by using 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 (for PIKE F-145
and PIKE F-505 the first pixel of the sensor is RED, for all other Pike the
first pixel is GREEN followed by RED).
Note
L
If the PC does not perform BAYER to RGB post-processing, the
b/w image will be superimposed with a checkerboard pattern.
PIKE Technical Manual V4.1.0
146
Description of the data path
Sharpness
The Pike color models are equipped with a two step sharpness control, applying a discreet horizontal high pass in the Y channel as shown in the next
three line profiles.
Sharpness 0, 1 and 2 is calculated with the following scheme:
Sharpness value
0
0
1
0
1
-0.25
+1.5
-0.25
2
-0.5
2
-0.5
Table 51: Sharpness scheme
Figure 84: Sharpness: left: 0, middle: 1, right: 2
Note
L
Sharpness does not show any effect on Pike color models in
the Raw8 and Raw16 format, because color processing is put
off in all Raw formats.
PIKE Technical Manual V4.1.0
147
Description of the data path
Note
Configuration
L
To configure this feature in feature control register: See Table
118: Feature control register on page 257.
Hue and saturation
Pike CCD color models are equipped with hue and saturation registers.
The hue register at offset 810h allows the color of objects to be changed
without altering the white balance, by +/- 40 steps (+/- 10°) from the nominal perception. Use this setting to manipulate the color appearance after
having carried out the white balance.
The saturation register at offset 814h allows the intensity of the colors to
be changed between 0 and 200% in steps of 1/256.
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.
Note
Configuration
L
To configure this feature in feature control register: See
Table 118: Feature control register on page 257.
Note
Hue and saturation do not show any effect on Pike color
models in the Raw8 and Raw16 format, because color processing is switched off in all Raw formats.
L
PIKE Technical Manual V4.1.0
148
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 PIKE camera there is a factory setting for the color
correction coefficients, see Chapter GretagMacbeth ColorChecker on page
149.
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 AVT cameras
In AVT 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 other
AVT (color) cameras so far, you had the opportunity to use it or to switch it
off.
Pike cameras introduce for the first time the so-called color correction
matrix. This means: you are now able to manipulate the color-correction
coefficients yourself.
Color correction: formula
Before converting to the YUV format, color correction on all color models is
carried out after BAYER demosaicing 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.
These coefficients are stored in user set 0 and can not be overwritten (factory
setting).
PIKE Technical Manual V4.1.0
149
Description of the data path
Changing color correction coefficients
You can change the color-correction coefficients according to your own
needs. Changes are stored in the user settings.
Note
•
L
•
•
•
•
•
•
A number of 1000 equals a color correction coefficient
of 1.
To obtain an identity matrix set values of 1000 for the
diagonal elements an 0 for all others. As a result you
get colors like in the RAW modes.
The sums of all rows should be equal to each other. If
not, you get tinted images.
Color correction values range -1000 ... +2000 and are
signed 32 bit.
In order for white balance to work properly ensure that
the row sum equals 1000.
Each row should sum up to 1000. If not, images are less
or more colorful.
The maximum row sum is limited to 2000.
Note
Configuration
L
To configure the color-correction coefficients in an advanced
register: See Table 140: Advanced register: Color correction
on page 288.
To change the color-correction coefficients in SmartView, go to Adv3 tab.
Switch color correction on/off
Color correction can also be switched off in YUV mode:
Note
Configuration
L
To configure this feature in an advanced register: See Table
140: Advanced register: Color correction on page 288.
Note
Color correction is deactivated in RAW mode.
L
PIKE Technical Manual V4.1.0
150
Description of the data path
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 (@ 8 bit)
V = 0.498 × R – 0.420 × G – 0.082 × B + 128 (@ 8 bit)
Formula 2: RGB to YUV conversion
Note
•
L
•
As mentioned above: Color processing can be bypassed
by using 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.
Bulk Trigger
See Chapter Trigger modi on page 157 and the following pages.
Level Trigger
See Trigger Mode 1 in Chapter Trigger modi on page 157.
PIKE Technical Manual V4.1.0
151
Description of the data path
Serial interface
All Pike cameras are equipped with the SIO (serial input/output) feature as
described in IIDC V1.31. This means that the Pike’s serial interface can 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
L
•
•
Hardware handshaking is not supported.
Typical PC hardware does not usually support
230400 bps or more.
Base address for the function is: F0F02100h.
PIKE Technical Manual V4.1.0
152
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 bits
8: 8 bits
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 52: Serial input/output control and status register (SIO CSR)
PIKE Technical Manual V4.1.0
153
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 52: Serial input/output control and status register (SIO CSR)
PIKE Technical Manual V4.1.0
154
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
RD: Number of bytes to be read from the
receive FiFo
WR: 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
104h
..
1FFH
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
SIO_DATA_REGISTER_
ALIAS
[0..31]
Alias SIO_Data_Register area for block
transfer
Table 52: Serial input/output control and status register (SIO CSR)
PIKE Technical Manual V4.1.0
155
Description of the data path
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?).
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
•
L
•
Contact your local dealer if you require further information or additional test programs or software.
AVT recommends the use of Hyperterminal™ or other
communication programs to test the functionality of
this feature. Alternatively use SmartView to try out this
feature.
PIKE Technical Manual V4.1.0
156
Controlling image capture
Controlling image capture
Shutter modes
The cameras support the SHUTTER_MODES specified in IIDC V1.31. For all
models this shutter is a global pipelined shutter; meaning that all pixels are
exposed to the light at the same moment and for the same time span.
Pipelined
Pipelined means that the shutter for a new image can already happen, while
the preceding image is transmitted.
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.
Trigger modi
Pike 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 53: Trigger modi
PIKE Technical Manual V4.1.0
157
Controlling image capture
External Trigger input, as applied at input pin
External Trigger input, after inverting opto coupler
Shutter register value
External Trigger input, as applied at pin
External Trigger input,
after inv. Opto.
Integration Time
Figure 85: Trigger_Mode_0 and 1
PIKE Technical Manual V4.1.0
158
Controlling image capture
Bulk Trigger (Trigger_Mode_15)
Trigger_Mode_15 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 Figure below illustrates this mode.
External Trigger input, after inverting optocoupler
N x image; N: continuous, one_shot, multi_shot
Figure 86: Trigger_Mode_15 (bulk trigger)
PIKE Technical Manual V4.1.0
159
Controlling image capture
The functionality is controlled via bit [6] and bitgroup [12-15] of the following 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
In this bit = 0, other fields will be read only.
0xF0F00830 TRIGGER_MODE Presence_Inq
Trigger_Polarity [7]
Select trigger polarity
(Except for software trigger)
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 54: Trigger_Mode_15 (Bulk Trigger)
PIKE Technical Manual V4.1.0
160
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 55: Description: using Trigger_Mode_15: continuous, one-shot, multi-shot
Figure 87: Using Trigger_Mode_15: continuous, one-shot, multi-shot
Note
Shutter for the images is controlled by shutter register.
L
PIKE Technical Manual V4.1.0
161
Controlling image capture
Trigger delay
As already mentioned earlier 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 time base value.
The following table explains the Inquiry register and the meaning of the various bits.
Register
Name
Field
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_Inq
[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
0xF0F00534 TRIGGER_DLY_INQUIRY Presence_Inq
Table 56: Trigger delay inquiry register
PIKE Technical Manual V4.1.0
162
Controlling image capture
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
Read: read a status
0: OFF
1: ON
In this bit = 0, other fields will be read
only.
-
[7..19]
Reserved
Value
[20..31] Value
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 57: CSR: Trigger delay
Trigger delay advanced register
In addition, the cameras have an advanced register which allows even more
precise image capture delay 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]
-
ON_OFF
[6]
Trigger delay on/off
---
[7..10]
-
DelayTime
[11..31]
Delay time in µs
Table 58: Advanced CSR: Trigger delay
PIKE Technical Manual V4.1.0
163
Controlling image capture
The advanced register allows start of the integration to be delayed by max.
221 µs, which is max. 2.1 s after a trigger edge was detected.
Note
•
L
•
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 time base + offset
The register value is the value set in the corresponding IIDC 1.31 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 128: Time base ID on page 273). 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:
Exposure time offset
Camera model
Exposure time offset
Pike F-032
17 µs
Pike F-100
42 µs
Pike F-145
38 µs
Pike F-145-15fps
70 µs
Pike F-210
42 µs
Pike F-421
69 µs
Pike F-505
26 µs
Table 59: Camera-specific exposure time offset
PIKE Technical Manual V4.1.0
164
Controlling image capture
Minimum exposure time
Camera model
Minimum exposure time
Effective min. exp. time
= Min. exp. time + offset
Pike F-032
1 µs
1 µs + 17 µs = 18 µs
Pike F-100
1 µs
1 µs + 42 µs = 43 µs
Pike F-145
1 µs
1 µs + 38 µs = 39 µs
Pike F-145-15fps
1 µs
1 µs + 70 µs = 71 µs
Pike F-210
1 µs
1 µs + 42 µs = 43 µs
Pike F-421
1 µs
1 µs + 69 µs = 70 µs
Pike F-505
1 µs
1 µs + 26 µs = 27 µs
Table 60: Camera-specific minimum exposure time
Example: Pike F-032
Camera
Register value
Pike F-032
Time base (default)
100
20 µs
Table 61: Register value and time base for Pike F-032
register value x time base = exposure time
100 x 20 µs + 17 µs = 2017 µs exposure time
The minimum adjustable exposure time set by register is 1 µs.
minimum exposure time of Pike F-032 is then:
1 µs + 17 µs = 18 µs
The real
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
0xF100020C
EXTD_SHUTTER Presence_Inq
Bit
Description
[0]
Indicates presence of this feature (read
only)
---
[1.. 5]
ExpTime
[6..31]
Exposure time in µs
Table 62: Advanced register: Extended shutter
The longest exposure time, 3FFFFFFh, corresponds to 67.11 sec.
PIKE Technical Manual V4.1.0
165
Controlling image capture
The lowest possible value of ExpTime is camera-specific (see Table 60: Camera-specific minimum exposure time on page 165).
Note
•
L
•
•
•
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.
PIKE Technical Manual V4.1.0
166
Controlling image capture
One-shot
The camera 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
170), 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 88: One-shot control (SmartView)
#
Read = rd Address
Write = wr
Value
Description
7
wr
F0F0061C
80000000
Do one-shot.
6
rd
F0F0061C
00000000
Read out one-shot register.
5
wr
F0F00830
82000000
Switch on external trigger mode 0.
4
rd
F0F00830
80000000
Check trigger status.
3
wr
F0F00614
00000000
Stop free-run.
2
rd
F0F00614
80000000
Check Iso_Enable mode ( free-run).
1
rd
F0F00614
00000000
This line is produced by SmartView.
Table 63: One-shot control: descriptions
PIKE Technical Manual V4.1.0
167
Controlling image capture
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
One-shot
Value
microcontroller sync
µC-Sync/ExSync
≤ 150 µs (processing time in the
microcontroller)
integration start 8 µs
Table 64: Values for one-shot
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.
PIKE Technical Manual V4.1.0
168
Controlling image capture
End of exposure to first packet on the bus
After the exposure, the CCD 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:
710 µs ± 62.5 µs
This time 'jitters with the cycle time of the bus (125 µs).
OneShot Command
Exposure
Integration-Start
Timebase Reg.
X
Shutter-Reg.
Offset
Processing Delay
First Packet on Bus
< 150 μs
Timebase x Shutter + Offset = Exposure Time
Decode command
Pike F-032:
17 µs
Pike F-100:
42 µs
Pike F-145:
38 µs
Pike F-145-15fps: 70 µs
Pike F-210:
42 µs
Pike F-421:
69 µs
Pike F-505:
26 µs
< 710 μs
+/-62.5 μs
Figure 89: Data flow and timing after end of exposure
PIKE Technical Manual V4.1.0
169
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 170), 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 171.
PIKE Technical Manual V4.1.0
170
Controlling image capture
The following screenshot shows an example of broadcast commands sent with
the Firedemo example of FirePackage:
Figure 90: 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 Pike 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.
The uncertain time delay before the start of exposure depends on the state
of the sensor. A distinction is made as follows:
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
PIKE Technical Manual V4.1.0
171
Controlling image capture
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
Exposure start jitter
(while FVal)
Exposure start jitter
(while camera idle)
Pike F-032
± 4.9 µs
± 375 ns
Pike F-100
± 8.2 µs
± 1.65 µs
Pike F-145
± 16 µs
± 2.9 µs
Pike F-145-15fps
± 30 µs
± 5.4 µs
Pike F-210
± 14.25 µs
± 1.8 µs
Pike F-421
± 15 µs
± 1.65 µs
Pike F-505
± 17 µs
± 5.7 µs
Table 65: Jitter at exposure start (no binning, no sub-sampling)
Note
L
•
Jitter at the beginning of an exposure has no effect on
the length of exposure, i.e. it is always constant.
PIKE Technical Manual V4.1.0
172
Controlling image capture
Sequence mode
Generally all AVT Pike 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 up to 3 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 AVT Pike cameras support 32 different sequence
parameters.
Additionally to the sequence mode known from Marlin cameras, the Pike cameras have:
• Repeat counter per sequence item
• Incrementing list pointer on input status (on/off)
• Pointer reset (software command; on input pin)
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. Different configurations can be accessed via e.g a footswitch
which is connected to an input.
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, LUT, TestImage,
Image-Mirror, HSNR, Output-Ctrl, ColorCorrection matrix (color cameras only), ISO-Channel, Shading-Ctrl, Sequence-Stepping Mode,
SIS_UserValue
Fixed modes only
Cur_V_Frm_Rate
Format_7 only
Image_Position (AOI-Top, AOI-Left), Image_Size (AOI-Width, AOIHeight), Color_Coding_ID*, Binning*, Sub-Sampling*,
Byte_Per_Packet
*hidden in video formats and video modes
Table 66: Registers to be modified within a sequence
PIKE Technical Manual V4.1.0
173
Controlling image capture
Note
Sequence mode requires not only firmware 3.x 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.
L
Caution
Incorrect handling may lead to image corruption or loss of
subsequent images.
a
Please ask for detailed support when you want to use this
feature.
How is sequence mode implemented?
There is a FIFO (first in first out) memory for each of the IIDC V1.31 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
SetupMode
[7]
Sequence setup mode
---
[8..15]
Reserved
MaxLength
[16..23] Maximum 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
---
[6..7]
Reserved
SeqStepMode
[8..15]
Sequence stepping mode
ImageRepeat
[16..23] Image repeat counter
ImageNo
[24..31] Number of image within a sequence
Table 67: Advanced register: Sequence mode
PIKE Technical Manual V4.1.0
174
Controlling image capture
Register
Name
Field
Bit
Description
0xF1000228
SEQUENCE_STEP
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..4]
Reserved
PerformStep
[5]
Sequence is stepped one item forward
PerformReset
[6]
Sequence reset
---
[7..23]
Reserved
SeqPosition
[24..31] Get the current sequence position
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..4]
Reserved
PerformReset
[5]
Reset the sequence to start position
---
[6..31]
Reserved
0xF100022C
SEQUENCE_RESET
Table 67: Advanced register: Sequence mode
Enabling this feature turns the camera into a special mode. This mode can be
used to set up a bunch of parameter sets for up to MaxLength consecutive
images.
Note
L
The sequence mode of the Pike 3.x series firmware behaves
slightly different than the sequence mode of e.g. the Marlin
series and implements some new controlling features. You
may use a sequence with internal or external trigger and with
the Deferred Transport feature.
Setup mode (new for 3.x)
The SetupMode flag allows you to set up a sequence while capturing images.
Using this flag you get a visual feedback of the settings.
Set SetupMode flag when setting up the sequence and reset the flag before
using the sequence.
Sequence step mode (new for 3.x)
The SeqMode field selects the signal source for stepping the sequence one
parameter set further.
PIKE Technical Manual V4.1.0
175
Controlling image capture
SeqMode description
Sequence mode
Description
0x80
This mode is the default sequence mode and stepping
the sequence is compatible to e.g. the Marlin series.
With each image integration start the sequence is
stepped one item further and the new parameter set
becomes active for the next image.
0x82
Stepping of the sequence is controlled by a rising edge
of an external signal. The new parameter set becomes
active with the next integration start. When using this
mode select the suitable input mode of the input lines.
0x84
Stepping of the sequence is controlled by a high level
of an external signal. The new parameter set becomes
active with the next integration start. When using this
mode select the suitable input mode of the input lines.
Other mode
Choosing any other mode value, automatically defaults
to mode 0x80.
Table 68: Sequence mode description
Note
L
It is also possible, that a sequence consists of parameter sets
with different sequence modes. This can be achieved by using
the SeqMode and the ImageNo fields within the
Sequence_Param register.
Sequence repeat counter (new for 3.x)
For each parameter set one can define an image repeat counter. Using the
image repeat counter means that a parameter set can be used for n consecutive images before the next parameter set is applied.
Setting the ImageRepeat field to 0 has the same effect like setting this field
to 1.
Manual stepping & reset (new for 3.x)
With firmware 3.x a sequence can be stepped further with a software command. To use manual stepping use stepping mode 0x82 or 0x84, but do not
setup any input pin for external sequence stepping.
Every time the PerformStep flag is set the sequence will be stepped one
parameter set further. Manual stepping observes the repeat counter also.
For some application it could be useful to reset the sequence during runtime.
Simply set the PerformReset flag to one: the sequence starts over with the
very first parameter set.
PIKE Technical Manual V4.1.0
176
Controlling image capture
The following flow diagram shows how to set up a sequence.
Set
SEQUENCE_CTRL
ON_OFF flag to
true (1)
Set
SetupMode to
true (1)
Set SeqLength to
desired length
(<=MaxLength)
Set ImageNo = 0 in
SEQUENCE_PARAM
Assign image
parameters in the
corresp. registers
ApplyParameters
= 1 (Selfcleared)
Repeat steps until
sequence is
complete
Increment
ImageNo
Disable SetupMode
Start sequence in
MultiShot or
ISOEnable mode
Figure 91: 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).
PIKE Technical Manual V4.1.0
177
Controlling image capture
Which new sequence mode features are
available?
New features:
• Repeat one step of a sequence n times where n can be set by the variable ImageRepeat in SEQUENCE_PARAM.
• Define one or two hardware inputs in Input mode field of IO_INP_CTRL
as:
– Sequence step input (if two are set as input, they are AND gated) or
– Sequence reset input
Note
From now on:
L
sequence step is I/O controlled sequence stepping mode
sequence reset is I/O controlled sequence pointer reset
Setup mode
The SetupMode flag allows you to set up a sequence while capturing images.
Using this flag you get a visual feedback of the settings. Set this flag when
setting up the sequence and reset the flag before using the sequence.
I/O controlled sequence stepping mode
The I/O controlled sequence stepping mode can be done level controlled
or edge controlled:
Level controlled
•
•
•
Edge controlled
•
As long as the input is in high
state the sequence pointer will
be incremented from image to
image.
•
Can be combined with Quick
Format Change Modes. See
Chapter Standard Parameter
Update Timing on page 136 and
Chapter New: Quick Format
Change Mode (QFCM) on page
136.
Level change is asynchronous to
image change.
A rising edge on the input will
cause one pointer increment
immediately.
Can be combined with Quick
Format Change Modes. See
Chapter Standard Parameter
Update Timing on page 136 and
Chapter New: Quick Format
Change Mode (QFCM) on page
136.
Table 69: Description of sequence stepping control
The I/O controlled sequence stepping mode can be set for every single
sequence entry. Thus a sequence can be controlled in a very flexible manner.
PIKE Technical Manual V4.1.0
178
Controlling image capture
I/O controlled sequence pointer reset
I/O controlled sequence pointer reset is always edge controlled. A rising
edge on the input pin resets the pointer to the first entry.
I/O controlled sequence pointer reset can be combined with Quick Format
Change Modes. See Chapter Standard Parameter Update Timing on page 136
and Chapter New: Quick Format Change Mode (QFCM) on page 136.
I/O controlled sequence stepping mode and I/O controlled
sequence pointer reset via software command
Both sequence modes can be controlled via software command.
Points to pay attention to when working with a
sequence
Note
•
L
•
•
•
•
•
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 SingleShot mode in combination with a
sequence does not make sense, because SingleShot
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 AVT 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.
PIKE Technical Manual V4.1.0
179
Controlling image capture
Figure 92: Example of sequence mode settings
Instead of Firetool you also can use SmartView (Version 1.7.0 or greater),
but image and transfer formats have to be unchanged (height, width,
ColorID).
To open the Sequence editor in SmartView:
1.
Click Extras
Sequence dialog
Figure 93: SmartView: Extras
Sequence dialog
PIKE Technical Manual V4.1.0
180
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.31 registers.
Points to pay attention to when changing the
parameters
Note
•
L
•
•
•
Caution
a
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.31 registers for the image specified in ImageNo take immediate effect.
Sequence mode requires firmware 3.x 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 when you want to use this
feature.
PIKE Technical Manual V4.1.0
181
Controlling image capture
Secure image signature (SIS): definition and
scenarios
Note
For all customers who know SIS from Marlin cameras:
L
•
•
Pike cameras have additional SIS features: AOI,
exposure/gain, input/output state, index of sequence
mode and serial number.
In contrary to Marlin cameras, in the Pike SIS feature
the endianness cannot be changed.
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 3.x, all Pike 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)
• AOI (x, y, width, height)
• Exposure (shutter) and gain
• Input and output state on exposure start
• Index of sequence mode
• Serial number
• User value
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.
PIKE Technical Manual V4.1.0
182
Controlling image capture
•
•
•
•
•
AOI can be inserted in the image if it was set as a variable e.g. in a
sequence.
Exposure/gain scenario parameters can be inserted in the image if set
as a variable in e.g. sequence mode to identify the imaging conditions.
Inserting input and output state on exposure start can be helpful when
working with input and output signals.
Index of sequence mode can be inserted if SIS is used together with
sequence mode.
Serial number inserted in the image helps to document/identify the
camera in e.g. multi camera applications.
Note
L
•
FirePackage offers additional and independent checks
to be performed for the purpose of image integrity.
Details can be found in the respective documentation.
Note
More information:
L
The handling of the SIS feature is fully described in the Chapter Secure image signature (SIS) on page 299.
PIKE Technical Manual V4.1.0
183
Controlling image capture
Smear reduction
Smear reduction: definition
Definition
Smear is an undesirable CCD sensor artefact creating a vertical bright line
that extends above and below a bright spot in an image.
Definition
Smear reduction is a new feature of Pike cameras: it is a function implemented in hardware in the camera itself to compensate for smear.
Smear reduction: how it works
To reduce smear a reference line is used. This reference line is built from the
mean value of the so-called black lines (two lines before image start). The
reference line is subtracted from every line of the whole image.
But how will this reduce smearing?
The point is: black lines have no image information but are also affected from
smearing. Thus the smearing effect itself is isolated and can be reduced in
the whole image.
The two additional black lines and the calculated anti-smear values do not
lower the transfer rates significantly due to hardware implementation.
Smear reduction: switch on/off in register and
SmartView
To switch on/off smear reduction in advanced registers, see Chapter Smear
reduction on page 304.
In SmartView: Edit settings
Adv3 tab (Smear reduction
Enable)
PIKE Technical Manual V4.1.0
184
Video formats, modes and bandwidth
Video formats, modes and bandwidth
The different Pike 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
•
L
•
•
Note
L
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
800 Mbit/s. With lower bus speeds (e.g. 400, 200 or
100 Mbit/s) not all frame rates may be achieved.
For information on bit/pixel and byte/pixel for each
color mode see Table 100: ByteDepth on page 226.
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
Note
H-binning means horizontal binning.
L
V-binning means vertical binning.
Full binning (H+V) means horizontal + vertical binning
2 x binning means: 2 neighboring pixels are combined.
4 x binning means: 4 neighboring pixels are combined.
•
•
Binning average means: signals form adjacent pixels
are combined by averaging.
Binning increases signal-to-noise ratio (SNR), but
decreases resolution.
PIKE Technical Manual V4.1.0
185
Video formats, modes and bandwidth
PIKE F-032B / PIKE F-032C
Format Mode Resolution Color mode 240
fps
0
120
fps
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
x
x
x
2
640 x 480 YUV411
x
x
x
x
x
x
x
3
640 x 480 YUV422
x
x
x
x
x
x
4
640 x 480 RGB8
x
x
x
x
x
x
5
640 x 480 Mono8
x x*
x x*
x x*
x x*
x x*
x x*
6
640 x 480 Mono16
x
x
x
x
x
x
x x*
Table 70: Video fixed formats PIKE F-032B / PIKE F-032C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Frame rates with shading are only achievable with 1394b (S800).
Note
L
The following Format_7 table shows default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
186
Video formats, modes and bandwidth
Format Mode Resolution Color mode
Maximal S800 frame rates for Format_7 modes
640 x 480 Mono8
Mono12
Mono16
208 fps
139 fps
105 fps
640 x 480 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
139 fps
105 fps
208 fps
70 fps
1
320 x 480 Mono8
Mono12
Mono16
208 fps 2x H-binning
208 fps 2x H-binning
208 fps 2x H-binning
2
640 x 240 Mono8
Mono12
Mono16
372 fps 2x V-binning
271 fps 2x V-binning
208 fps 2x V-binning
3
320 x 240 Mono8
Mono12
Mono16
372 fps 2x H+V binning
372 fps 2x H+V binning
372 fps 2x H+V binning
4
320 x 480 Mono8
Mono12
Mono16
208 fps 2 out of 4 H-sub-sampling
208 fps 2 out of 4 H-sub-sampling
208 fps 2 out of 4 H-sub-sampling
320 x 480 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
208 fps
208 fps
208 fps
139 fps
320 x 240 Mono8
Mono12
Mono16
372 fps 2 out of 4 V-sub-sampling
372 fps 2 out of 4 V-sub-sampling
372 fps 2 out of 4 V-sub-sampling
320 x 240 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
372 fps
372 fps
372 fps
271 fps
320 x 240 Mono8
Mono12
Mono16
372 fps 2 out of 4 H+V sub-sampling
372 fps 2 out of 4 H+V sub-sampling
372 fps 2 out of 4 H+V sub-sampling
320 x 240 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
372 fps
372 fps
372 fps
271 fps
0
7
5
6
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
Table 71: Video Format_7 default modes PIKE F-032B / PIKE F-032C
PIKE Technical Manual V4.1.0
187
Video formats, modes and bandwidth
PIKE F-100B / PIKE F-100C
Format Mode Resolution
0
1
Color mode 240
fps
120
fps
60
fps
30
fps
15
fps
7.5
fps
3.75
fps
1.875
fps
x
x
x
x
x
x
x
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
x
x
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
x
x
5
640 x 480
Mono8
xx*
x x*
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
x
x
0
800 x 600
YUV422
x
x
x
x
x
1
800 x 600
RGB8
x
x
x
2
800 x 600
Mono8
x x*
x x*
x x*
x x*
3
1024 x 768
YUV422
4
1024 x 768
RGB8
5
1024 x 768
Mono8
6
800 x 600
Mono16
x
x
x
x
7
1024 x 768
Mono16
x
Table 72: Video fixed formats Pike F-100B / F-100C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Note
L
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
188
Video formats, modes and bandwidth
Format Mode Resolution
0
Color mode
Maximal S800 frame rates for Format_7 modes
1000 x 1000 Mono8
Mono12
Mono16
60 fps
43 fps
33 fps
1000 x 1000 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
43 fps
33 fps
60 fps
22 fps
1
500 x 1000
Mono8
Mono12
Mono16
60 fps
60 fps
60 fps
2x H-binning
2x H-binning
2x H-binning
2
1000 x 500
Mono8
Mono12
Mono16
99 fps
86 fps
65 fps
2x V-binning
2x V-binning
2x V-binning
3
500 x 500
Mono8
Mono12
Mono16
99 fps
99 fps
99 fps
2x H+V binning
2x H+V binning
2x H+V binning
4
500 x 1000
Mono8
Mono12
Mono16
60 fps
60 fps
60 fps
2x H-sub-sampling
2x H-sub-sampling
2x H-sub-sampling
500 x 1000
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
60 fps
60 fps
60 fps
43 fps
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
1000 x 500
Mono8
Mono12
Mono16
99 fps
86 fps
65 fps
2x V-sub-sampling
2x V-sub-sampling
2x V-sub-sampling
1000 x 500
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
86 fps
65 fps
99 fps
43 fps
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
500 x 500
Mono8
Mono12
Mono16
99 fps
99 fps
99 fps
2x H+V-sub-sampling
2x H+V-sub-sampling
2x H+V-sub-sampling
500 x 500
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
99 fps
99 fps
99 fps
86 fps
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
7
5
6
Table 73: Video Format_7 default modes Pike F-100B / F-100C
PIKE Technical Manual V4.1.0
189
Video formats, modes and bandwidth
PIKE F-145B / PIKE F-145C (-15 fps**)
**Pike F-145-15fps cameras have frame rates up to 15 fps only (except color
cameras Format_0 Mode_1: up to 30 fps).
Format Mode Resolution
0
1
2
Color mode 240
fps
120
fps
60
fps
30
fps
15
fps
7.5
fps
3.75
fps
1.875
fps
x
x
x
x
x
x
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
x
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
x
0
800 x 600
YUV422
x
x
x
x
1
800 x 600
RGB8
x
x
x
2
800 x 600
Mono8
x x*
x x*
x x*
3
1024 x 768
YUV422
x
x
x
x
x
4
1024 x 768
RGB8
x
x
x
x
5
1024 x 768
Mono8
x x*
x x*
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
x
x
7
1024 x 768
Mono16
x
x
x
x
x
0
1280 x 960
YUV422
x
x
x
x
1
1280 x 960
RGB8
x
x
x
x
2
1280 x 960
Mono 8
x x*
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
x
7
1600 x 1200 Mono16
x x*
Mono16
Table 74: Video fixed formats Pike F-145B / F-145C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Frame rates with shading are only achievable with 1394b (S800).
Note
L
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
190
Video formats, modes and bandwidth
Format Mode Resolution
Color mode
Maximal S800 frame rates for Format_7 modes
0
1388 x 1038 Mono8
Mono12
Mono16
1388 x 1038 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
30
30
23
30
23
30
15
1
692 x 1038
Mono8
Mono12
Mono16
30 (16**) fps
30 (16**) fps
30 (16**) fps
2x H-binning
2x H-binning
2x H-binning
2
1388 x 518
Mono8
Mono12
Mono16
51 (27**) fps
51 (27**) fps
45 (27**) fps
2x V-binning
2x V-binning
2x V-binning
3
692 x 518
Mono8
Mono12
Mono16
51 (27**) fps
51 (27**) fps
51 (27**) fps
2x H+V binning
2x H+V binning
2x H+V binning
4
692 x 1038
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
30
30
30
30
30
30
30
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
30
30
23
30
23
30
15
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(15**) fps
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
30
30
30
30
30
30
30
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
2 out of 4 H+V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
7
692 x 1038
5#
1388 x 518
1388 x 518
6#
692 x 518
692 x 518
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(16**) fps
(15**) fps
Table 75: Video Format_7 default modes Pike F-145B / F-145C
#: Vertical sub-sampling is done via concealing
certain lines, so the frame rate is not
** applying to -15fps variant only
frame rate = f (AOI height)
but
frame rate = f (2 x AOI height)
PIKE Technical Manual V4.1.0
191
Video formats, modes and bandwidth
PIKE F-210B / PIKE F-210C
Format Mode Resolution
0
1
2
Color mode 240
fps
120
fps
60
fps
30
fps
15
fps
7.5
fps
3.75
fps
1.875
fps
x
x
x
x
x
x
0
160 x 120
YUV444
1
320 x 240
YUV422
2
640 x 480
YUV411
x
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
x
5
640 x 480
Mono 8
x x*
x x*
x x*
x x*
x x*
6
640 x 480
Mono 16
x
x
x
x
x
0
800 x 600
YUV422
x
x
x
x
1
800 x 600
RGB8
x
x
x
2
800 x 600
Mono8
x x*
x x*
x x*
3
1024 x 768
YUV422
x
x
x
x
x
4
1024 x 768
RGB8
x
x
x
x
5
1024 x 768
Mono 8
x x*
x x*
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
x
x
7
1024 x 768
Mono16
x
x
x
x
x
0
1280 x 960
YUV422
x
x
x
x
1
1280 x 960
RGB8
x
x
x
x
2
1280 x 960
Mono 8
x x*
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
x
7
1600 x 1200 Mono16
x x*
Mono16
Table 76: Video fixed formats Pike F-210B / F-210C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Frame rates with shading are only achievable with 1394b (S800).
Note
L
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
192
Video formats, modes and bandwidth
Format Mode Resolution
Color mode
Maximal S800 frame rates for Format_7 modes
0
1920 x 1080 Mono8
Mono12
Mono16
1920 x 1080 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
31 fps
21 fps
16 fps
21 fps
16 fps
31 fps
11 fps
1
960 x 1080
Mono8
Mono12
Mono16
32 fps
32 fps
31 fps
2x H-binning
2x H-binning
2x H-binning
2
1920 x 540
Mono8
Mono12
Mono16
52 fps
42 fps
31 fps
2x V-binning
2x V-binning
2x V-binning
3
960 x 540
Mono8
Mono12
Mono16
52 fps
52 fps
52 fps
2x H+V binning
2x H+V binning
2x H+V binning
4
960 x 1080
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
32 fps
32 fps
31 fps
32 fps
31 fps
32 fps
21 fps
2x H-sub-sampling
2x H-sub-sampling
2x H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
31 fps
21 fps
16 fps
21 fps
16 fps
31 fps
11 fps
2x V-sub-sampling
2x V-sub-sampling
2x V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
Mono8
Mono12
Mono16
YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
32 fps
32 fps
31 fps
32 fps
31 fps
32 fps
21 fps
2x H+V sub-sampling
2x H+V sub-sampling
2x H+V sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
2 out of 4 H+V sub-sampling
7
960 x 1080
5#
1920 x 540
1920 x 540
6#
960 x 540
960 x 540
Table 77: Video Format_7 default modes Pike F-210B / F-210C
#: Vertical sub-sampling is done via concealing certain lines, so the frame rate is not
frame rate = f (AOI height)
but
frame rate = f (2 x AOI height)
PIKE Technical Manual V4.1.0
193
Video formats, modes and bandwidth
PIKE F-421B / PIKE F-421C
Format Mode Resolution
0
1
2
Color
Mode
240
fps
120
fps
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
x
2
640 x 480
YUV411
x
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
x
5
640 x 480
Mono8
xx
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
x
x
x
x
0
800 x 600
YUV422
x
x
x
x
1
800 x 600
RGB8
x
x
x
2
800 x 600
Mono8
x x*
x x*
x x*
3
1024 x 768
YUV422
x
x
x
x
x
4
1024 x 768
RGB8
x
x
x
x
5
1024 x 768
Mono8
x x*
x x*
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
x
x
7
1024 x 768
Mono16
x
x
x
x
x
0
1280 x 960
YUV422
x
x
x
x
1
1280 x 960
RGB8
x
x
x
x
2
1280 x 960
Mono8
x x*
x x*
x x*
x x*
3
1600 x 1200 YUV422
x
x
x
x
4
1600 x 1200 RGB8
x
x
x
5
1600 x 1200 Mono8
x x*
x x*
x x*
x x*
6
1280 x 960
Mono16
x
x
x
x
7
1600 x 1200 Mono16
x
x
x
x
Table 78: Video fixed formats Pike F-421B / F-421C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Frame rates with shading are only achievable with 1394b (S800).
Note
L
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
194
Video formats, modes and bandwidth
Format Mode Resolution
0
Color Mode
Maximal S800 frame rates for Format_7 modes
2048 x 2048 Mono8
Mono12
Mono16
16 fps
10 fps
8 fps
2048 x 2048 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
10 fps
8 fps
16 fps
5 fps
1
1024 x 2048 Mono8
Mono12
Mono16
16 fps
16 fps
16 fps
2x H-binning
2x H-binning
2x H-binning
2
2048 x 1024 Mono8
Mono12
Mono16
29 fps
21 fps
16 fps
2x V-binning
2x V-binning
2x V-binning
3
1024 x 1024 Mono8
Mono12
Mono16
29 fps
29 fps
29 fps
2x H+V binning
2x H+V binning
2x H+V binning
4
1024 x 2048 Mono8
Mono12
Mono16
16 fps
16 fps
16 fps
2x H-sub-sampling
2x H-sub-sampling
2x H-sub-sampling
1024 x 2048 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
16 fps
16 fps
16 fps
10 fps
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2048 x 1024 Mono8
Mono12
Mono16
29 fps
21 fps
16 fps
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2048 x 1024 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
29 fps
21 fps
29 fps
10 fps
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
1024 x 1024 Mono8
Mono12
Mono16
29 fps
29 fps
29 fps
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
1024 x 1024 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
29 fps
29 fps
29 fps
21 fps
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
7
5
6
Table 79: Video Format_7 default modes Pike F-421B / F-421C
PIKE Technical Manual V4.1.0
195
Video formats, modes and bandwidth
PIKE F-505B / PIKE F-505C
Format Mode Resolution
0
1
2
Color mode 240
fps
120
fps
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
x
2
640 x 480
YUV411
x
x
x
x
x
3
640 x 480
YUV422
x
x
x
x
x
4
640 x 480
RGB8
x
x
x
x
x
5
640 x 480
Mono8
x x*
x x*
x x*
x x*
x x*
6
640 x 480
Mono16
x
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
x
4
1024 x 768
RGB8
x
x
x
x
5
1024 x 768
Mono8
x x*
x x*
x x*
x x*
6
800 x 600
Mono16
x
x
x
7
1024 x 768
Mono16
x
x
x
x
0
1280 x 960
YUV422
x
x
x
x
1
1280 x 960
RGB8
x
x
x
x
2
1280 x 960
Mono 8
x x*
x x*
x x*
x x*
3
1600 x 1200 YUV422
x
x
x
x
4
1600 x 1200 RGB8
x
x
x
5
1600 x 1200 Mono8
x x*
x x*
x x*
x x*
6
1280 x 960
Mono16
x
x
x
x
7
1600 x 1200 Mono16
x
x
x
x
Table 80: Video fixed formats Pike F-505B / F-505C
*: Color camera outputs RAW image, which needs to be converted outside of
camera.
Frame rates with shading are only achievable with 1394b (S800).
Note
L
The following Format_7 tables show default Format_7
modes without Format_7 mode mapping.
•
•
see Figure 79: Mapping of possible Format_7 modes to
F7M1...F7M7 on page 134
see Chapter Format_7 mode mapping on page 297
PIKE Technical Manual V4.1.0
196
Video formats, modes and bandwidth
Format Mode Resolution
Color mode
Maximal S800 frame rates for Format_7 modes
0
2452 x 2054 Mono8
Mono12
Mono16
2452 x 2054 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
Raw12
13 fps
09 fps
07 fps
09 fps
07 fps
13 fps
04 fps
09 fps
1
1224 x 2054 Mono8
Mono12
Mono16
15 fps
15 fps
13 fps
2x H-binning
2x H-binning
2x H-binning
2
2452 x 1026 Mono8
Mono12
Mono16
22 fps
17 fps
13 fps
2x V-binning
2x V-binning
2x V-binning
3
1224 x 1026 Mono8
Mono12
Mono16
22 fps
22 fps
22 fps
2x H+V binning
2x H+V binning
2x H+V binning
4
1224 x 2054 Mono8
Mono12
Mono16
1224 x 2054 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
Raw12
15 fps
15 fps
13 fps
15 fps
13 fps
15 fps
09 fps
15 fps
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
2 out of 4 H-sub-sampling
5
2452 x 1026 Mono8
Mono12
Mono16
2452 x 1026 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
Raw12
22 fps
17 fps
13 fps
17 fps
13 fps
22 fps
09 fps
17 fps
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
2 out of 4 V-sub-sampling
6
1224 x 1026 Mono8
Mono12
Mono16
1224 x 1026 YUV411
YUV422,Raw16
Mono8,Raw8
RGB8
Raw12
22 fps
22 fps
22 fps
22 fps
22 fps
22 fps
17 fps
22 fps
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
2 out of 4 H+V-sub-sampling
7
Table 81: Video Format_7 default modes Pike F-505B / F-505C
PIKE Technical Manual V4.1.0
197
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.
L
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.
Note
L
Pay attention to the increments entered in the
UNIT_SIZE_INQ and UNIT_POSITION_INQ registers when configuring IMAGE_POSITION and IMAGE_SIZE.
AF_AREA_POSITION and AF_AREA_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
L
For more information see Table 120: Format_7 control and
status register on page 261.
PIKE Technical Manual V4.1.0
198
Video formats, modes and bandwidth
Figure 94: Area of interest (AOI)
Note
•
L
•
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 AOI, 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.
PIKE Technical Manual V4.1.0
199
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 95: Example of autofunction AOI (Show work area is on)
Note
Autofunction AOI is independent from Format_7 AOI settings.
L
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 up to 65534 sample points equally spread over
the AOI.
PIKE Technical Manual V4.1.0
200
Video formats, modes and bandwidth
Note
Configuration
L
To configure this feature in an advanced register see Chapter
Autofunction AOI on page 287.
Frame rates
An IEEE 1394 camera requires bandwidth to transport images.
The IEEE 1394b bus has very large bandwidth of at least 62.5 MByte/s for
transferring (isochronously) image data. Per cycle up to 8192 bytes (or
around 2000 quadlets = 4 bytes@ 800 Mbit/s) can thus be transmitted.
Note
All bandwidth data is calculated with:
L
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, the more data is
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 800 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 82: 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.
PIKE Technical Manual V4.1.0
201
Video formats, modes and bandwidth
Format Mode
0
Resolution
240
fps
120
fps
60
fps
30
fps
15
fps
7.5
fps
160 x 120 YUV (4:4:4)
4H
640p
480q
2H
320p
240q
1H
160p
120q
1/2H
80p
60q
1/4H
40p
30q
1/8H
20p
15q
8H
4H
2H
2560p 1280p 640p
1280q 640q 320q
1H
320p
160q
1/2H
160p
80q
1/4H
80p
40q
1/8H
40p
20q
8H
4H
2H
1H
5120p 2560p 1280p 640p
1920q 960q 480q 240q
1/2H
320p
120q
1/4H
160p
60q
4H
2H
1H
2560p 1280p 640p
1280q 640q 320q
1/2H
320p
160q
1/4H
160p
80q
4H
2H
1H
2560p 1280p 640p
1280q 960q 480q
1/2H
320p
240q
1/4H
160p
120q
8H
4H
2H
1H
5120p 2560p 1280p 640p
1280q 640q 320q 160q
1/2H
320p
80q
1/4H
160
p40q
4H
2H
1H
2560p 1280p 640p
1280q 640q 320q
1/2H
320p
160q
1/4H
160p
80q
24 bit/pixel
1
320 x 240 YUV (4:2:2)
16 bit/pixel
2
640 x 480 YUV (4:1:1)
12 bit/pixel
3
640 x 480 YUV (4:2:2)
16 bit/pixel
0
4
640 x 480 RGB
24 bit/pixel
5
640 x 480 (Mono8)
8 bit/pixel
6
640 x 480 Y (Mono16)
16 Bit/pixel
7
3.75
fps
Reserved
Table 83: 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 (at S400) is used. Thus one camera can be connected to the bus at S400.
The same camera, run at S800 would require only 32% of the available bandwidth, due to the doubled speed. Thus up to three cameras can be connected
to the bus at S800.
PIKE Technical Manual V4.1.0
202
Video formats, modes and bandwidth
Format Mode Resolution
0
800 x 600 YUV (4:2:2)
16 bit/pixel
1
240
fps
120
fps
60
fps
800 x 600 RGB
800 x 600 Y (Mono8)
8 bit/pixel
3
4
1024 x 768 YUV (4:2:2)
8 bit/pixel
6
800 x 600 (Mono16)
16 bit/pixel
7
1.875
fps
6/16H
250p
125q
3H
3/2H 3/4H
3072p 1536p 768p
1536q 768q 384q
3/8H
384p
192q
3/16H
192p
96q
3/2H 3/4H
1536p 768p
384q 576q
3/8H
384p
288q
3/16H
192p
144q
6H
3H
3/2H 3/4H
6144p 3072p 1536p 768p
1536q 768q 384q 192q
3/8H
384p
96q
3/16H
192p
48q
5H
5/2H 5/4H 5/8H
4000p 2000p 1000p 500p
2000q 1000q 500q 250q
5/16H
250p
125q
1024 x 768 RGB
1024 x 768 Y (Mono)
3.75
fps
10H
5H
5/2H 5/4H 5/8H
8000p 4000p 2000p 1000p 500p
2000q 1000q 500q 250q 125q
24 bit/pixel
5
7.5
fps
5/2H 5/4H 5/8H
2000p 1000p 500p
1500q 750q 375q
16 bit/pixel
1
15
fps
5H
5/2H 5/4H 5/8H
4000p 2000p 1000p 500p
2000q 1000q 500q 250q
24 bit/pixel
2
30
fps
1024 x 768 Y (Mono16)
3H
3/2H 3/4H
3072p 1536p 768p
1536q 768q 384q
16 bit/pixel
3/8H
384p
192q
3/16H
192p
96q
Table 84: Format_1
PIKE Technical Manual V4.1.0
203
Video formats, modes and bandwidth
Format
Mode
Resolution
60
fps
0
1280 x 960 YUV (4:2:2)
30
fps
16 bit/pixel
1
1280 x 960 RGB
24 bit/pixel
2
1280 x 960 Y (Mono8)
4H
5120p
1280q
8 bit/pixel
3
1600 x 1200 YUV(4:2:2)
16 bit/pixel
2
4
15
fps
7.5
fps
3.75
fps
1.875
fps
2H
2560p
1280q
1H
1280p
640q
1/2H
640p
320q
1/4H
320p
160q
2H
2560p
1920q
1H
1280p
960q
1/2H
640p
480q
1/4H
320p
240q
2H
2560p
640q
1H
1280p
320q
1/2H
640p
160q
1/4H
320p
80q
5/2H
4000p
2000q
5/4H
2000p
1000q
5/8H
1000p
500q
5/16H
500p
250q
5/4H
2000p
1500q
5/8H
1000p
750q
5/16
500p
375q
5/2H
4000p
1000q
5/4H
2000p
500q
5/8H
1000p
250q
5/16H
500p
125q
2H
2560p
1280q
1H
1280p
640q
1/2H
640p
320q
1/4H
320p
160q
5/2H
4000p
2000q
5/4H
2000p
1000q
5/8H
1000p
500q
5/16H
500p
250q
1600 x 1200 RGB
24 bit/pixel
5
1600 x 1200 Y (Mono) 8
bit/pixel
6
5H
8000p
2000q
1280 x 960 Y (Mono16)
16 bit/pixel
7
1600 x 1200Y(Mono16)
16 bit/pixel
Table 85: Format_2
As already mentioned, the recommended limit for transferring isochronous
image data is 2000q (quadlets) per cycle or 8192 bytes (with 800 Mbit/s of
bandwidth).
Note
L
•
•
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 (predecessor of OHCI) have a limit of 4000 bytes per cycle.
The frame rates in video modes 0 to 2 are specified and set fixed by IIDC
V1.31.
PIKE Technical Manual V4.1.0
204
Video formats, modes and bandwidth
Frame rates Format_7
In video Format_7 frame rates are no longer fixed.
Note
L
•
•
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.
Details are described in the next chapters:
• Max. frame rate of CCD (theoretical formula)
• Diagram of frame rates as function of AOI by const. width: the curves
describe RAW8, RAW12/YUV411, RAW16/YUV422, RGB8 and max. frame
rate of CCD
• Table with max. frame rates as function of AOI by constant width
PIKE Technical Manual V4.1.0
205
Video formats, modes and bandwidth
PIKE F-032: AOI frame rates
1
max. frame rate of CCD = --------------------------------------------------------------------------------------------------------------------------------------------------69.3µs + AOI height × 9.81µs + ( 490 – AOI height ) × 0.81µs
Formula 3: Pike F-032: theoretical max. frame rate of CCD
Frame rate = f(AOI height) *PIKE F-032*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
2000
1800
Frame rate / fps
1600
1400
1200
1000
800
600
400
200
0
0
50
100
150
200
250
300
350
400
450
500
550
AOI height / pixel
Figure 96: Frame rates Pike F-032 as function of AOI height [width=640]
CCD
Raw8
Raw12
Raw16
YUV411
YUV422
480
208.93
208
139
105
139
105
70
300
315.84
314
219
168
219
168
112
240
380.78
372
271
208
271
208
139
150
550.60
551
432
327
432
327
219
120
646.75
640
516
410
516
410
271
60
993.84
941
941
762
941
762
516
30
1358.33
1358
1358
1358
1358
1358
941
10
1797.91
1778
1778
1778
1778
1778
1778
AOI height
RGB8
Table 86: Frame rates (fps) of Pike F-032 as function of AOI height (pixel) [width=640]
PIKE Technical Manual V4.1.0
206
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
207
Video formats, modes and bandwidth
PIKE F-100: AOI frame rates
1
max. frame rate of CCD = ---------------------------------------------------------------------------------------------------------------------------------------------------174µs + AOI height × 16.40µs + ( 1008 – AOI height ) × 3.4µs
Formula 4: Pike F-100: theoretical max. frame rate of CCD
Frame rate = f(AOI height) *PIKE F-100*
Raw8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
300
280
260
240
220
Frame rate / fps
200
180
160
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
900
950
1000
AOI height / pixel
Figure 97: Frame rates Pike F-100 as function of AOI height [width=1000]
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
1000
60.24
60
43
33
43
33
22
960
62.18
62
45
34
45
34
23
600
87.71
87
72
54
72
54
36
500
99.00
99
86
65
86
65
43
480
101.61
102
90
68
90
68
45
300
133.31
132
132
107
132
107
72
240
148.78
149
149
134
149
134
90
150
180.14
180
180
180
180
180
144
120
193.75
193
193
193
193
193
180
Table 87: Frame rates (fps) of Pike F-100 as function of AOI height (pixel) [width=1000]
PIKE Technical Manual V4.1.0
208
Video formats, modes and bandwidth
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
60
228.25
225
225
225
225
225
225
30
250.55
251
251
251
251
251
251
10
268.01
268
268
268
268
268
268
Table 87: Frame rates (fps) of Pike F-100 as function of AOI height (pixel) [width=1000]
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
209
Video formats, modes and bandwidth
PIKE F-145: AOI frame rates (no sub-sampling)
1
max. frame rate of CCD = ------------------------------------------------------------------------------------------------------------------------------------------------------242µs + AOI height × 31.80µs + ( 1051 – AOI height ) × 5.85µs
Formula 5: Pike F-145: theoretical max. frame rate of CCD (no sub-sampling)
Frame rate = f(AOI height) *PIKE F-145*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
160
140
Frame rate / fps
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
900
950
1000
1050
1100
AOI height / pixel
Figure 98: Frame rates Pike F-145 as function of AOI height [width=1388]
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
1038
30.01
30
30
23
30
23
15
1024
30.34
30
30
23
30
23
15
960
31.95
32
32
25
32
25
16
600
45.54
46
46
39
46
39
26
518
50.42
50
50
45
50
45
30
480
53.06
53
53
49
53
49
33
240
79.25
79
79
79
79
79
65
120
105.21
105
105
105
105
105
105
60
125.83
126
126
126
126
126
126
30
139.49
139
139
139
139
139
139
Table 88: Frame rates (fps) of Pike F-145 as function of AOI height (pixel) [width=1388]
PIKE Technical Manual V4.1.0
210
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
211
Video formats, modes and bandwidth
PIKE F-145: AOI frame rates (sub-sampling)
1
max. frame rate of CCD = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------242µs + AOI height × 1.5 × 31.80µs + ( 1051 – AOI height × 1.5 ) × 5.85µs
Formula 6: Pike F-145: theoretical max. frame rate of CCD (sub-sampling)
Frame rate = f(AOI height) *PIKE F-145 sub-sampling*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
160
140
Frame rate / fps
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
900
950
1000
1050
1100
AOI height / pixel
Figure 99: Frame rates Pike F-145 as function of AOI height [width=1388] (sub-sampling)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
518
37.66
38
38
38
38
38
30
480
39.88
40
40
40
40
40
33
240
63.56
64
64
64
64
64
64
120
90.40
90
90
90
90
90
90
60
114.60
115
115
115
115
115
115
30
132.31
132
132
132
132
132
132
10
147.50
147
147
147
147
147
147
Table 89: Frame rates (fps) Pike F-145 as function of AOI height (pixel) [width=1388] (sub-sampl.)
PIKE Technical Manual V4.1.0
212
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
213
Video formats, modes and bandwidth
PIKE F-145-15fps: AOI frame rates (no sub-sampl.)
1
max. frame rate of CCD = ---------------------------------------------------------------------------------------------------------------------------------------------------------450µs + AOI height × 59.36µs + ( 1051 – AOI height ) × 10.92µs
Formula 7: Pike F-145-15fps: theoretical max. frame rate of CCD (no sub-sampling)
Frame rate = f(AOI height) *PIKE F-145-15fps*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
80
70
Frame rate / fps
60
50
40
30
20
10
0
0
50
100
150
200
250
300
350
400
450
500
550
600
650
700
750
800
850
900
950
1000
1050
1100
AOI height / pixel
Figure 100: Frame rates Pike F-145-15fps as function of AOI height [width=1388]
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
1038
16.08
16
16
16
16
16
15
1024
16.25
16
16
16
16
16
15
960
17.11
17
17
17
17
17
16
600
24.40
24
24
24
24
24
24
518
27.01
27
27
27
27
27
27
480
28.43
28
28
28
28
28
28
240
42.46
42
42
42
42
42
42
120
56.37
56
56
56
56
56
56
60
67.42
67
67
67
67
67
67
30
74.74
74
74
74
74
74
74
Table 90: Frame rates (fps) of Pike F-145-15fps as function of AOI height (pixel) [width=1388]
PIKE Technical Manual V4.1.0
214
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
215
Video formats, modes and bandwidth
PIKE F-145-15fps: AOI frame rates (sub-sampl.)
1
max. frame rate of CCD = -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------450µs + AOI height × 1.5 × 59.36µs + ( 1051 – AOI height × 1.5 ) × 10.92µs
Formula 8: Pike F-145-15fps: theoretical max. frame rate of CCD (sub-sampling)
Frame rate = f(AOI height) *PIKE F-145-15fps sub-sampling*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
FPS-CCD
90
80
70
Frame rate / fps
60
50
40
30
20
10
0
0
50
100
150
200
250
300
350
400
450
500
550
600
650
700
750
800
850
900
950
1000
1050
1100
AOI height / pixel
Formula 9: Frame rates Pike F-145-15fps as function of AOI height [width=1388] (sub-sampling)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
518
20.18
20
20
20
20
20
20
480
21.37
21
21
21
21
21
21
240
34.05
34
34
34
34
34
34
120
48.44
48
48
48
48
48
48
60
61.40
61
61
61
61
61
61
30
70.89
71
71
71
71
71
71
10
79.03
79
79
79
79
79
79
Table 91: Frame rates of Pike F-145-15fps as function of AOI height [width=1388] (sub-sampl.)
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
216
Video formats, modes and bandwidth
PIKE F-210: AOI frame rates (no sub-sampling)
1
max. frame rate of CCD = ---------------------------------------------------------------------------------------------------------------------------------------------------107µs + AOI height × 28.6µs + ( 1092 – AOI height ) × 6.75µs
Formula 10: Pike F-210: theoretical max. frame rate of CCD (no sub-sampling)
Frame rate = f(AOI height) *PIKE F-210*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
140
Frame rate / fps
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 900 950 1000 1050 1100 1150
AOI height / pixel
Table 92: Frame rates Pike F210 as function of AOI height [width=1000] (no sub-sampling)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
1080
32.18
31
21
16
21
16
11
1024
33.50
33
22
17
22
17
11
960
35.14
35
24
18
24
18
12
600
48.57
49
38
28
38
28
19
540
51.88
52
42
31
42
31
21
480
55.66
56
47
35
47
35
24
240
78.60
79
79
70
79
70
47
120
99.01
99
99
99
99
99
94
Table 93: Frame rates of Pike F-210 as function of AOI height [width=1000] (no sub-sampl.)
PIKE Technical Manual V4.1.0
217
Video formats, modes and bandwidth
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
60
113.78
113
113
113
113
113
113
30
122.95
122
122
122
122
122
122
Table 93: Frame rates of Pike F-210 as function of AOI height [width=1000] (no sub-sampl.)
Note
L
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
In Format_7 Mode_5 and Mode_6 the Pike F-210 has a frame
rate of:
frame rate ~ f(2 x AOI height)
PIKE Technical Manual V4.1.0
218
Video formats, modes and bandwidth
PIKE F-210: AOI frame rates (sub-sampling)
1
max. frame rate of CCD = -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------107µs + AOI height × 1.5 × 28.6µs + ( 1092 – AOI height × 1.5 ) × 6.75µ
Formula 11: Pike F-210: theoretical max. frame rate of CCD (sub-sampling)
Frame rate = f(AOI height) *PIKE F-210 sub-sampling*
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
140
Frame rate / fps
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 900 950 1000 1050 1100 1150
AOI height / pixel
Table 94: Frame rates Pike F210 as function of AOI height [width=1000] (sub-sampling)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
540
39.72
40
40
31
40
31
21
480
43.08
43
43
35
43
35
24
240
65.17
65
65
65
65
65
47
120
87.63
87
87
87
87
87
87
60
105.88
106
106
106
106
106
106
30
118.19
118
118
118
118
118
118
Table 95: Frame rates (fps) of Pike F-210 as function of AOI height [width=1000] (sub-sampling)
PIKE Technical Manual V4.1.0
219
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
In Format_7 Mode_5 and Mode_6 the Pike F-210 has a frame
rate of:
frame rate ~ f(2 x AOI height)
PIKE Technical Manual V4.1.0
220
Video formats, modes and bandwidth
PIKE F-421: AOI frame rates
1
max. frame rate of CCD = -----------------------------------------------------------------------------------------------------------------------------------------------------------125.2µs + AOI height × 30.10µs + ( 2072 – AOI height ) × 3.37µs
Formula 12: Pike F-421: theoretical max. frame rate of CCD
Frame rate = f(AOI height) *PIKE F-421*
RAW8
RAW12, YUV422
RAW16, YUV422
RGB8
CCD
140
120
Frame rate / fps
100
80
60
40
20
0
0
100
200
300
400
500
600
700
800
900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200
AOI height / pixel
Table 96: Frame rates Pike F-421 as function of AOI height[width=2048]
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
2048
16.17
16
10
8
10
8
5
1200
25.52
26
18
13
18
13
9
1024
29.00
29
21
16
21
16
10
960
30.52
30
22
17
22
17
11
600
43.20
43
35
27
35
27
18
480
50.15
50
44
33
44
33
22
240
73.95
74
74
66
74
66
44
120
96.94
97
97
97
97
97
88
60
114.79
115
115
115
115
115
115
30
126.43
126
126
126
126
126
126
Table 97: Frame rates Pike F-421 as function of AOI height [width=2048]
PIKE Technical Manual V4.1.0
221
Video formats, modes and bandwidth
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
PIKE Technical Manual V4.1.0
222
Video formats, modes and bandwidth
PIKE F-505: AOI frame rates
1
max. frame rate of CCD = ----------------------------------------------------------------------------------------------------------------------------------------------------------636µs + AOI height × 33.10µs + ( 2069 – AOI height ) × 10.34µs
Formula 13: Pike F-505: theoretical max. frame rate of CCD
AOI frame rates with max. BPP = 8192
Frame rate = f(AOI height) *PIKE F-505* (max BPP = 8192)
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
50
45
40
Frame rate / fps
35
30
25
20
15
10
5
0
0
100
200 300
400 500
600 700
800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500
AOI height / pixel
Figure 101: Frame rates Pike F-505 as function of AOI height [width=2452] (max BPP = 8192)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
2054
14.54
13
9
7
9
7
4
2048
14.57
13
9
7
9
7
4
1200
20.27
20
15
11
15
11
7
1024
22.06
22
17
13
17
13
9
960
22.79
23
18
14
18
14
9
600
28.02
28
28
22
28
22
15
480
30.35
30
30
28
30
28
18
240
36.37
36
36
36
36
36
36
Table 98: Frame rates Pike F-505 as function of AOI height (pixel) [width=2452] (maxBPP=8192)
PIKE Technical Manual V4.1.0
223
Video formats, modes and bandwidth
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
120
40.39
40
40
40
40
40
40
60
42.74
43
43
43
43
43
43
30
44.03
44
44
44
44
44
44
Table 98: Frame rates Pike F-505 as function of AOI height (pixel) [width=2452] (maxBPP=8192)
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
maxBPP=8192 according to IIDC V1.31
PIKE Technical Manual V4.1.0
224
Video formats, modes and bandwidth
AOI frame rates with max. BPP = 11000
Frame rate = f(AOI height) *PIKE F-505* (max BPP = 11000)
RAW8
RAW12, YUV411
RAW16, YUV422
RGB8
CCD
50
45
40
Frame rate / fps
35
30
25
20
15
10
5
0
0
100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500
AOI height / pixel
Figure 102: Frame rates Pike F-505 as function of AOI height [width=2452] (max BPP = 11000)
AOI height
CCD
RAW8
RAW12
RAW16
YUV411
YUV422
RGB8
2054
14.54
15
12
9
12
9
6
2048
14.57
15
12
9
12
9
6
1200
20.27
20
20
15
20
15
10
1024
22.06
22
22
17
22
17
12
960
22.79
23
23
19
23
19
12
600
28.02
28
28
28
28
28
20
480
30.35
30
30
30
30
30
25
240
36.37
36
36
36
36
36
36
120
40.39
40
40
40
40
40
40
60
42.74
43
43
43
43
43
43
30
44.03
44
44
44
44
44
44
Table 99: Frame rates Pike F-505 as function of AOI height [width=2452] (maxBPP=11000)
Note
L
CCD = theoretical max. frame rate (in fps) of CCD according to
given formula
maxBPP: for explanation and configuration see Chapter
Maximum ISO packet size on page 292
PIKE Technical Manual V4.1.0
225
How does bandwidth affect the frame rate?
How does bandwidth affect the frame
rate?
In some modes the IEEE 1394b bus limits the attainable frame rate. According to the 1394b specification on isochronous transfer, the largest data payload size of 8192 bytes per 125 µs cycle is possible with bandwidth of
800 Mbit/s. In addition, there is a limitation, only a maximum number of
65535 (216 -1) 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[1/s] × AOI_WIDTH × AOI_HEIGHT × ByteDepth [byte] × 125 [µs]
Formula 14: Byte_per_Packet calculation (only Format_7)
If the value for BYTE_PER_PACKET is greater than 8192 (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 [byte]
frame rate ≈ -------------------------------------------------------------------------------------------------------------------------------------------AOI_WIDTH × AOI_HEIGHT × ByteDepth [byte] × 125 [µs]
Formula 15: Maximum frame rate calculation
ByteDepth based on the following values:
Mode
bit/pixel
Mono8, Raw8
byte per pixel
8
1
Mono16, Raw16
16
2
YUV4:2:2
16
2
YUV4:1:1
12
1.5
RGB8
24
3
Table 100: ByteDepth
PIKE Technical Manual V4.1.0
226
How does bandwidth affect the frame rate?
Example formula for the b/w camera
Mono16, 1392 x 1040, 30 fps desired
BYTE_PER_PACKET = 30 1/s × 1392 × 1040 × 2 byte × 125µs = 10856 byte > 8192 byte
8192 byte
⇒ frame rate reachable ≈ ------------------------------------------------------------------------ = 22.64 1/s
1392 × 1040 × 2 byte × 125µs
Formula 16: Example maximum frame rate calculation
PIKE Technical Manual V4.1.0
227
How does bandwidth affect the frame rate?
Test images
Loading test images
FirePackage
Direct FirePackage
Fire4Linux
1. Start SmartView.
1. Start SmartView for WDM.
1. Start cc1394 viewer.
2. Click the Edit settings
button.
2. In Camera menu click
Settings.
2. In Adjustments menu click
on Picture Control.
3. Click Adv1 tab.
3. Click Adv1 tab.
3. Click Main tab.
4. In combo box Test images
choose Image 1 or another
test image.
4. In combo box Test images
choose Image 1 or another
test image.
4. Activate Test image check
box on.
5. In combo box Test images
choose Image 1 or another
test image.
Table 101: Loading test images in different viewers
Test images for b/w cameras
The 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.
Figure 103: Gray bar test image
PIKE Technical Manual V4.1.0
228
How does bandwidth affect the frame rate?
Test images for color cameras
The color cameras have 1 test image:
YUV4:2:2 mode
Figure 104: Color test image
Mono8 (raw data)
Figure 105: Bayer-coded test image
The color camera outputs Bayer-coded raw data in Mono8 instead of (as
described in IIDC V1.31) a real Y signal.
Note
L
The first pixel of the image is always the red pixel from the
sensor. (Mirror must be switched off.)
PIKE Technical Manual V4.1.0
229
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 bits are always FFFFh, leaving the
description for the Camera_Status_Register in the last 32 bits.
If in the following, mention is made of a CSR F0F00600h, 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).
PIKE Technical Manual V4.1.0
230
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 102: 32-bit register
Example
This requires, for example, that to enable ISO_Enabled mode (see Chapter
ISO_Enable / free-run on page 170), (bit 0 in register 614h), the value
80000000 h must be written in the corresponding register.
PIKE Technical Manual V4.1.0
231
Configuration of the camera
Offset of Register: (0x0F00614)
ISO_Enable
Write 80000000 and click Write
Content of register: 80000000
= 1000 0000 0000 0000 0000 0000 0000 0000
Figure 106: Enabling ISO_Enable
PIKE Technical Manual V4.1.0
232
Configuration of the camera
Offset of Register: (0x1000040)
ADV_FNC_INQ
Content of register: FAE3C401
= 1111 1010 1110 0011 1110 0100 0000 0001
ExtdShutter
Testimage
Look-up tables
Shading
DeferredTrans
Trigger Delay
Misc. features
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1
1
1
1
1
0
1
0
1
1
1
0
0
0
1
1
ColorCorr
GP_Buffer
UserProfiles
VersionInfo
TimeBase
1
High SNR
Bit
0
SoftReset
Bit
MaxResolution
Table 103: Configuring the camera (PIKE F-421C)
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
1
Table 104: Configuring the camera: registers
PIKE Technical Manual V4.1.0
233
Configuration of the camera
Sample program
The following sample code in C/C++ shows how the register is set for video
mode/format, trigger mode etc. using the FireGrab and FireStack API.
Example FireGrab
…
// Set Videoformat
if(Result==FCE_NOERROR)
Result= Camera.SetParameter(FGP_IMAGEFORMAT,MAKEIMAGEFORMAT(RES_640_480,
CM_Y8, FR_15));
// Set external Trigger
if(Result==FCE_NOERROR)
Result= Camera.SetParameter(FGP_TRIGGER,MAKETRIGGER(1,0,0,0,0));
// Start DMA logic
if(Result==FCE_NOERROR)
Result=Camera.OpenCapture();
// Start image device
if(Result==FCE_NOERROR)
Result=Camera.StartDevice();
…
PIKE Technical Manual V4.1.0
234
Configuration of the camera
Example FireStack API
…
// Set framerate
Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_FRAMERATE,(UINT32)m_Parms.F
rameRate<<29);
// Set mode
if(Result)
Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VMODE,(UINT32)m_Parms.Video
Mode<<29);
// Set format
if(Result)
Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VFORMAT,(UINT32)m_Parms.Vid
eoFormat<<29);
// Set trigger
if(Result)
{
Mode=0;
if(m_Parms.TriggerMode==TM_EXTERN)
Mode=0x82000000;
if(m_Parms.TriggerMode==TM_MODE15)
Mode=0x820F0000;
WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_TRGMODE,Mode);
}
// Start continous ISO if not oneshot triggermode
if(Result && m_Parms.TriggerMode!=TM_ONESHOT)
Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_ISOENABLE,0x80000000);
…
PIKE Technical Manual V4.1.0
235
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:
L
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
16-23 24-31
400h
04
29
0C
C0
404h
31
33
39
34
…. ASCII for 1394
408h
20
00
B2
03
…. Bus capabilities
40Ch
00
0A
47
01
…. Node_Vendor_Id, Chip_id_hi
410h
Root directory
8-15
Serial number
…. Chip_id_lo
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
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 105: 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:
PIKE Technical Manual V4.1.0
236
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 * addrOffset)
= 420h + (4 * 000002h)
= 428h
Table 106: Computing effective start address
420h + 000002 * 4 = 428h
Offset
Node unique ID leaf
0-7
8-15
16-23
24-31
428h
00
02
5E
9E
....CRC
42Ch
00
0A
47
01
….Node_Vendor_Id,Chip_id_hi
430h
00
00
Serial number
Table 107: 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 * 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 108: 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
PIKE Technical Manual V4.1.0
237
Configuration of the camera
Offset
0-7
8-15
16-23
24-31
444h
00
0B
A9
6E
....unit_dep_info_length, CRC
Unit dependent info 448h
44Ch
40
3C
00
00
....command_regs_base
81
00
00
02
....vender_name_leaf
450h
82
00
00
06
....model_name_leaf
454h
38
00
00
10
....unit_sub_sw_version
458h
39
00
00
00
....Reserved
45Ch
3A
00
00
00
....Reserved
460h
3B
00
00
00
....Reserved
464h
3C
00
01
00
....vendor_unique_info_0
468h
3D
00
92
00
....vendor_unique_info_1
46Ch
3E
00
00
65
....vendor_unique_info_2
470h
3F
00
00
00
....vendor_unique_info_3
Table 109: Config ROM
And finally, the entry with key 40 (448h in this case) provides the offset for
the camera control register:
FFFF F0000000h + 3C0000h * 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.
PIKE Technical Manual V4.1.0
238
Configuration of the camera
Implemented registers
The following tables show how standard registers from IIDC V1.31 are implemented in the camera. Base address is F0F00000h. Differences and explanations can be found in the third column.
Camera initialize register
Offset
Name
Description
000h
INITIALIZE
Assert MSB = 1 for Init.
Table 110: 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 111: Format inquiry register
PIKE Technical Manual V4.1.0
239
Configuration of the camera
Inquiry register for video mode
Offset
Name
Field
Bit
Description
Color mode
180h
V_MODE_INQ
Mode_0
[0]
160 x 120
YUV 4:4:4
(Format_0)
Mode_1
[1]
320 x 240
YUV 4:2:2
Mode_2
[2]
640 x 480
YUV 4:1:1
Mode_3
[3]
640 x 480
YUV 4:2:2
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
YUV 4:2:2
(Format_1)
Mode_1
[1]
800 x 600
RGB
Mode_2
[2]
800 x 600
MONO8
Mode_3
[3]
1024 x 768
YUV 4:2:2
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
YUV 4:2:2
(Format_2)
Mode_1
[1]
1280 x 960
RGB
Mode_2
[2]
1280 x 960
MONO8
Mode_3
[3]
1600 x 1200
YUV 4:2:2
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 112: Video mode inquiry register
PIKE Technical Manual V4.1.0
240
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)
Color mode
Table 112: 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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (V1.31)
-
[8..31]
Reserved (zero)
204h
Table 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
241
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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (V1.31)
---
[8..31]
Reserved (zero)
20Ch
210h
Table 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
242
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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (V1.31)
---
[8..31]
Reserved (zero)
Table 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
243
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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (V1.31)
---
[8..31]
Reserved (zero)
Table 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
244
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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (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 (V1.31)
FrameRate_7
[7]
240 fps (V1.31)
---
[8..31]
Reserved (zero)
234h
238h
Table 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
245
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 (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 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
246
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 (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 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
247
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 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
248
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 113: Frame rate inquiry register
PIKE Technical Manual V4.1.0
249
Configuration of the camera
Inquiry register for basic function
Offset Name
400h
Field
Bit
Description
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 114: Basic function inquiry register
PIKE Technical Manual V4.1.0
250
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 115: Feature presence inquiry register
PIKE Technical Manual V4.1.0
251
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 115: Feature presence inquiry register
PIKE Technical Manual V4.1.0
252
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]
Minimum value for this feature
Max_Value
[20..31]
Maximum 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 116: Feature elements inquiry register
PIKE Technical Manual V4.1.0
253
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 trigger 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 116: Feature elements inquiry register
PIKE Technical Manual V4.1.0
254
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
590
..
5BCh
5C0h
CAPTURE_SIZE_INQ
Always 0
5C4h
CAPTURE_QUALITY_INQ
Always 0
Reserved for other
FEATURE_LO_INQ
Always 0
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 start continuous shot; 0 for stop continuos shot
Always 0
See Chapter One-shot on page 167
See Chapter Multi-shot on page 170
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 116: Feature elements inquiry register
PIKE Technical Manual V4.1.0
255
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 117: Absolute value inquiry register
PIKE Technical Manual V4.1.0
256
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 automatic white balance on page 99).
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 118: Feature control register
PIKE Technical Manual V4.1.0
257
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 118: Feature control register
PIKE Technical Manual V4.1.0
258
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.
--
[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
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 118: Feature control register
PIKE Technical Manual V4.1.0
259
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 time base
see Table 36: CSR: Shutter on page 103
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
Reserved for other
FEATURE_LO
Always 0
..
87C
890
..
8BCh
..
8FCh
Table 118: Feature control register
PIKE Technical Manual V4.1.0
260
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 119: 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 113: Frame rate inquiry register
on page 241) gives 003C2000h.
4 x 3C2000h = F08000h so that the base address for the latter (Table 120:
Format_7 control and status register on page 261) equals
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 113: Frame rate inquiry register
on page 241) gives 003C2400h.
4 x 003C2400h = F09000h so that the base address for the latter (Table 120:
Format_7 control and status register on page 261) equals
F0000000h + F09000h = F0F09000h.
Format_7 control and status register (CSR)
Offset
Name
Notes
000h
MAX_IMAGE_SIZE_INQ
According to IIDC V1.31
004h
UNIT_SIZE_INQ
According to IIDC V1.31
008h
IMAGE_POSITION
According to IIDC V1.31
00Ch
IMAGE_SIZE
According to IIDC V1.31
010h
COLOR_CODING_ID
See note
014h
COLOR_CODING_INQ
According to IIDC V1.31
Table 120: Format_7 control and status register
PIKE Technical Manual V4.1.0
261
Configuration of the camera
Offset
Name
Notes
024h
.
.
COLOR_CODING_INQ
Vendor Unique Color_Coding
0-127 (ID=128-255)
ID=132 ECCID_MONO12
ID=136 ECCID_RAW12
033h
ID=133 Reserved
ID=134 Reserved
ID=135 Reserved
See Chapter Packed 12-Bit Mode
on page 140.
034h
PIXEL_NUMER_INQ
According to IIDC V1.31
038h
TOTAL_BYTES_HI_INQ
According to IIDC V1.31
03Ch
TOTAL_BYTES_LO_INQ
According to IIDC V1.31
040h
PACKET_PARA_INQ
See note
044h
BYTE_PER_PACKET
According to IIDC V1.31
Table 120: Format_7 control and status register
Note
•
L
•
•
•
•
For all modes in Format_7, ErrorFlag_1 and
ErrorFlag_2 are refreshed on each access to the
Format_7 Register.
Contrary to IIDC DCAM V1.31, 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 V1.31, COLOR_CODING_ID is set to a
default value after an INITIALIZE or reset.
Contrary to IIDC V1.31, the UnitBytePerPacket field is
already filled in with a fixed value in the
PACKET_PARA_INQ register.
PIKE Technical Manual V4.1.0
262
Configuration of the camera
Advanced features
The camera has a variety of extended features going beyond the possibilities
described in IIDC V1.31 The following chapter summarizes all available
advanced features in ascending register order.
Note
L
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 94
Links given in the table below
The following table gives an overview of all available registers:
Register
Register name
Remarks
0XF1000010
VERSION_INFO1
0XF1000018
VERSION_INFO3
see Table 122: Advanced register: Extended version information on page 266
0XF1000040
ADV_INQ_1
0XF1000044
ADV_INQ_2
see Table 124: Advanced register: Advanced feature inquiry on page 269
0XF1000048
ADV_INQ_3
In ADV_INQ_3 there are two new fields:
0XF100004C
ADV_INQ_4
•
•
0xF1000100
CAMERA_STATUS
see Table 125: Advanced register: Camera status
on page 271
0XF1000200
MAX_RESOLUTION
see Table 126: Advanced register: Maximum resolution inquiry on page 272
0XF1000208
TIMEBASE
see Table 127: Advanced register: Time base on
page 272
0XF100020C
EXTD_SHUTTER
see Table 129: Advanced register: Extended shutter on page 274
0XF1000210
TEST_IMAGE
see Table 130: Advanced register: Test image on
page 275
0XF1000220
SEQUENCE_CTRL
0XF1000224
SEQUENCE_PARAM
Table 67: Advanced register: Sequence mode on
page 174
0XF1000228
SEQUENCE_STEP
0XF100022C
SEQUENCE_RESET
0XF1000240
LUT_CTRL
0XF1000244
LUT_MEM_CTRL
0XF1000248
LUT_INFO
Paramupd_Timing [2]
F7MODE_MAPPING [3]
see Table 131: Advanced register: LUT on page 276
Table 121: Advanced registers summary
PIKE Technical Manual V4.1.0
263
Configuration of the camera
Register
Register name
Remarks
0XF1000250
SHDG_CTRL
0XF1000254
SHDG_MEM_CTRL
see Table 132: Advanced register: Shading on page
279
0XF1000258
SHDG_INFO
0XF1000260
DEFERRED_TRANS
see Table 134: Advanced register: Deferred image
transport on page 282
0XF1000270
FRAMEINFO
0XF1000274
FRAMECOUNTER
see Table 135: Advanced register: Frame information on page 283
0XF1000300
IO_INP_CTRL1
0XF1000304
IO_INP_CTRL2
0XF1000308
IO_INP_CTRL3
0XF100030C
IO_INP_CTRL4
0XF1000320
IO_OUTP_CTRL1
0XF1000324
IO_OUTP_CTRL2
0XF1000328
IO_OUTP_CTRL3
0XF100032C
IO_OUTP_CTRL4
0XF1000340
IO_INTENA_DELAY
see Table 136: Advanced register: Delayed Integration Enable on page 284
0XF1000360
AUTOSHUTTER_CTRL
0XF1000364
AUTOSHUTTER_LO
see Table 137: Advanced register: Auto shutter
control on page 285
0XF1000368
AUTOSHUTTER_HI
0XF1000370
AUTOGAIN_CTRL
see Table 138: Advanced register: Auto gain control on page 286
0XF1000390
AUTOFNC_AOI
0XF1000394
AF_AREA_POSITION
see Table 139: Advanced register: Autofunction
AOI on page 287
0XF1000398
AF_AREA_SIZE
0XF10003A0
COLOR_CORR
see Table 22: Advanced register: Input control on
page 82
see Table 28: Advanced register: Output control on
page 87
Pike color cameras only
see Table 140: Advanced register: Color correction
on page 288
Table 121: Advanced registers summary
PIKE Technical Manual V4.1.0
264
Configuration of the camera
Register
Register name
0xF10003A4
COLOR_CORR_COEFFIC11 = Crr
0xF10003A8
COLOR_CORR_COEFFIC12 = Cgr
0xF10003AC
COLOR_CORR_COEFFIC13 = Cbr
0xF10003B0
COLOR_CORR_COEFFIC21 = Crg
0xF10003B4
0xF10003B8
COLOR_CORR_COEFFIC22 = Cgg see Table 140: Advanced register: Color correction
on page 288
COLOR_CORR_COEFFIC23 = Cbg
0xF10003BC
COLOR_CORR_COEFFIC31 = Crb
0xF10003C0
COLOR_CORR_COEFFIC32 = Cgb
0xF10003C4
COLOR_CORR_COEFFIC33 = Cbb
0XF1000400
TRIGGER_DELAY
see Table 141: Advanced register: Trigger delay on
page 289
0XF1000410
MIRROR_IMAGE
see Table 142: Advanced register: Mirror on page
289
0XF1000420
AFE_CHN_COMP
see Table 143: Advanced register: Channel balance
on page 290
0XF1000440
LOW_SMEAR
see Chapter Smear reduction on page 304
0XF1000510
SOFT_RESET
see Table 144: Advanced register: Soft reset on
page 290
0XF1000520
HIGH_SNR
see Table 145: Advanced register: High Signal
Noise Ratio (HSNR) on page 291
0X1000550
USER PROFILES
see Table 160: Advanced register: User profiles on
page 305
0X1000560
F7MODE_MAPPING
see Table 152: Advanced register: Format_7 mode
mapping on page 297
0X1000570
PARAMUPD_TIMING
see Chapter Quick parameter change timing modes
on page 294
0X1000580
LOW_NOISE_BINNING
see Chapter Low noise binning mode (only 2 x Hbinning) on page 295
0X1000620
TRIGGER_COUNTER
0X1000630
SIS
see Table 157: Advanced register: Trigger counter
on page 302
0XF1000FFC
GPDATA_INFO
0XF1001000
GPDATA_BUFFER
0XF1000424
Remarks
Pike color camera only
0XF1000428
see Table 163: Advanced register: GPData buffer
on page 309
...
0XF100nnnn
Table 121: Advanced registers summary
PIKE Technical Manual V4.1.0
265
Configuration of the camera
Register
Register name
Remarks
0x1100000
PARRAMLIST_INFO
see Chapter Parameter-List Update on page 296
0x1101000
PARAMLIST_BUFFER
0x1002000
AFEREFERENCES
see Chapter User adjustable gain references on
page 310
Table 121: Advanced registers summary
Note
L
Advanced features should always be activated before accessing them.
Note
•
L
•
Currently all registers can be written without being
activated. This makes it easier to operate the camera
using Directcontrol.
AVT reserves the right to require activation in future
versions of the software.
Extended version information register
The presence of each of the following features can be queried by the 0 bit of
the corresponding register.
Register
Name
Field
Bit
Description
0xF1000010
VERSION_INFO1
µC type ID
[0..15]
Always 0
µC version
[16..31]
Bcd-coded version number
0xF1000014
VERSION_INFO1_EX µC version
[0..31]
Bcd-coded version number
0xF1000018
VERSION_INFO3
Camera type ID
[0..15]
See Table 123: Camera type
ID list on page 267.
FPGA version
[16..31]
Bcd-coded version number
[0..31]
Bcd-coded version number
0xF100001C
VERSION_INFO3_EX FPGA version
0xF1000020
---
[0..31]
Reserved
0xF1000024
---
[0..31]
Reserved
0xF1000028
---
[0..31]
Reserved
0xF100002C
---
[0..31]
Reserved
0xF1000030
OrderIDHigh
[0..31]
8 Byte ASCII Order ID
0xF1000034
OrderIDLow
[0..31]
Table 122: Advanced register: Extended version information
PIKE Technical Manual V4.1.0
266
Configuration of the camera
The µC version and FPGA firmware version numbers are bcd-coded, which
means that e.g. firmware version 0.85 is read as 0x0085 and version 1.10 is
read as 0x0110.
The newly added VERSION_INFOx_EX registers contain extended bcd-coded
version information formatted as special.major.minor.patch.
So reading the value 0x00223344 is decoded as:
• special: 0 (decimal)
• major: 22 (decimal)
• minor: 33 (decimal)
• patch: 44 (decimal)
This is decoded to the human readable version 22.33.44 (leading zeros are
omitted).
Note
L
If a camera returns the register set to all zero, that particular
camera does not support the extended version information.
The FPGA type ID (= camera type ID) identifies the camera type with the help
of the following list:
ID
Camera type
101
PIKE F-032B
102
PIKE F-032C
103
PIKE F-100B
104
PIKE F-100C
105
PIKE F-145B
106
PIKE F-145C
107
PIKE F-210B
108
PIKE F-210C
109
---
110
---
111
PIKE F-421B
112
PIKE F-421C
113
---
114
---
115
PIKE F-145B-15fps
116
PIKE F-145C-15fps
Table 123: Camera type ID list
PIKE Technical Manual V4.1.0
267
Configuration of the camera
ID
Camera type
117
PIKE F-505B
118
PIKE F-505C
Table 123: Camera type ID list
PIKE Technical Manual V4.1.0
268
Configuration of the camera
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
L
Ignore unnamed bits in the following table: these bits might
be set or not.
Register
Name
Field
Bit
0xF1000040
ADV_INQ_1
MaxResolution
TimeBase
ExtdShutter
TestImage
FrameInfo
Sequences
VersionInfo
--Look-up tables
Shading
DeferredTrans
HDR mode
----TriggerDelay
Mirror image
Soft Reset
High SNR
Color Correction
--User Sets
--Paramlist_Info
GP_Buffer
[0]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19..20]
[21]
[22..29]
[30]
[31]
Description
Reserved
Reserved
Reserved
Reserved
Reserved
Table 124: Advanced register: Advanced feature inquiry
PIKE Technical Manual V4.1.0
269
Configuration of the camera
Register
Name
Field
Bit
0xF1000044
ADV_INQ_2
Input_1
Input_2
--Output_1
Output_2
Output_3
Output_4
--IntEnaDelay
--Camera Status
[0]
[1]
[2..7]
[8]
[9]
[10]
[11]
[12..15]
[16]
[17..31]
[0]
Max IsoSize
[1]
Paramupd_Timing
[2]
F7 mode mapping
[3]
Auto Shutter
[4]
Auto Gain
[5]
Auto FNC AOI
[6]
---
[7..31]
HDR Pike
[0]
Channel Compensation
[1]
Smear reduction
[2]
---
[18..31]
0xF1000048
0xF100004C
ADV_INQ_3
ADV_INQ_4
Description
Reserved
Reserved
Reserved
Reserved
Reserved
Table 124: Advanced register: Advanced feature inquiry
PIKE Technical Manual V4.1.0
270
Configuration of the camera
Camera status
This register allows to determine the current status of the camera. The most
important flag is the Idle flag.
If the Idle flag is set the camera does not capture and does not send any
images (but images might be present in the image FIFO).
The ExSyncArmed flag indicates that the camera is set up for external triggering. Even if the camera is waiting for an external trigger event the Idle
flag might get set.
Other bits in this register might be set or toggled: just ignore these bits.
Note
•
L
•
Excessive polling of this register may slow down the
operation of the camera. Therefore the time between
two polls of the status register should not be less than
5 milliseconds. If the time between two read accesses
is lower than 5 milliseconds the response will be
delayed.
Depending on shutter and isochronous settings the status flags might be set for a very short time and thus
will not be recognized by your application.
Register
Name
Field
Bit
Description
0xF1000100
CAMERA_STATUS
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..23]
Reserved
ID
[24..31] Implementation ID = 0x01
---
[0..14]
Reserved
ExSyncArmed
[15]
External trigger enabled
---
[16..27] Reserved
ISO
[28]
---
[29..30] Reserved
Idle
[31]
0xF1000104
Isochronous transmission
Camera idle
Table 125: Advanced register: Camera status
PIKE Technical Manual V4.1.0
271
Configuration of the camera
Maximum resolution
This register indicates the highest resolution for the sensor and is read-only.
Note
L
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 42ff.
Register
Name
Field
Bit
Description
0xF1000200
MAX_RESOLUTION
MaxHeight
[0..15]
Sensor height
(read only)
MaxWidth
[16..31] Sensor width
(read only)
Table 126: Advanced register: Maximum resolution inquiry
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 you can enter a value in the range of 1 to 4095.
PIKE 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..7]
Reserved
ExpOffset
[8..19]
Exposure offset in µs
---
[20..27] Reserved
Timebase_ID
[28..31] See Table 128: Time base ID
on page 273.
Table 127: Advanced register: Time base
The time base IDs 0-9 are in bit [28] to [31]. See Table 128: Time base ID on
page 273.
Default time base is 20 µs: This means that the integration time can be
changed in 20 µs increments with the shutter control.
PIKE Technical Manual V4.1.0
272
Configuration of the camera
Note
Time base can only be changed when the camera is in idle
state and becomes active only after setting the shutter value.
L
The ExpOffset field specifies the camera specific exposure time offset in
microseconds (µs). This time (which should be equivalent to Table 59: Camera-specific exposure time offset on page 164) 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
Time base in µs
0
1
1
2
2
5
3
10
4
20
5
50
6
100
7
200
8
500
9
1000
Default value
Table 128: Time base ID
Note
L
The ABSOLUTE VALUE CSR register, introduced in IIDC V1.3, is
not implemented.
PIKE Technical Manual V4.1.0
273
Configuration of the camera
Extended shutter
The exposure time for long-term integration of up to 67 seconds 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 129: Advanced register: Extended shutter
The minimum allowed exposure time depends on the camera model. To determine this value write 1 to the ExpTime field and read back the minimum
allowed exposure time.
The longest exposure time, 3FFFFFFh, corresponds to 67.11 seconds.
Note
•
L
•
•
•
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 / frame rate register.
Extended shutter setting will thus be overwritten by
the normal time base/shutter setting after Stop/Start
of FireView or FireDemo.
PIKE Technical Manual V4.1.0
274
Configuration of the camera
Test images
Bit [8] to [14] indicate which test images are saved. Setting bit [28] to [31]
activates or deactivates existing test images.
By activating any test image the following auto features are automatically
disabled:
• auto gain
• 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 130: Advanced register: Test image
PIKE Technical Manual V4.1.0
275
Configuration of the camera
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
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..4]
Reserved
EnableMemWR
[5]
Enable write access
---
[6..7]
Reserved
AccessLutNo
[8..15]
Reserved
AddrOffset
[16..31] byte
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..2]
Reserved
BitsPerValue
[3..7]
Bits used per table item
NumOfLuts
[8..15]
Maximum number of look-up
tables
MaxLutSize
[16..31] Maximum look-up table size
(bytes)
0xF1000244
0xF1000248
LUT_MEM_CTRL
LUT_INFO
Table 131: Advanced register: LUT
PIKE Technical Manual V4.1.0
276
Configuration of the camera
Note
L
The BitsPerValue field indicates how many bits are read from
the LUT for any gray-value read from the sensor. To determine
the number of bytes occupied for each gray-value round-up
the BitsPerValue field to the next byte boundary.
Examples:
•
•
BitsPerValue = 8
BitsPerValue = 14
1 byte per gray-value
2 byte per gray-value
Divide MaxLutSize by the number of bytes per gray-value in
order to get the number of bits read from the sensor.
Note
L
Note
L
Pike cameras have the gamma feature implemented via a
built-in look-up table. Therefore you can not use gamma and
your own look-up table at the same time. Nevertheless you
may combine a gamma look-up table into your own look-up
table.
When using the LUT feature and the gamma feature pay
attention to the following:
•
•
•
•
gamma ON
look-up table is switched ON also
gamma OFF
look-up table is switched OFF also
look-up table OFF
gamma is switched OFF also
look-up table ON
gamma is switched OFF
Loading a look-up table into the camera
Loading a look-up table into the camera is done through the
GPDATA_BUFFER. Because the size of the GPDATA_BUFFER is smaller than a
complete look-up table the data must be written in multiple steps.
To load a lookup table into the camera:
1.
Query the limits and ranges by reading LUT_INFO and GPDATA_INFO.
2.
Set EnableMemWR to true (1).
3.
Set AccessLutNo to the desired number.
4.
Set AddrOffset to 0.
5.
Write n lookup table data bytes to GPDATA_BUFFER (n might be lower
than the size of the GPDATA_BUFFER; AddrOffset is automatically
adjusted inside the camera).
6.
Repeat step 5 until all data is written into the camera.
7.
Set EnableMemWR to false (0).
PIKE Technical Manual V4.1.0
277
Configuration of the camera
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
L
•
•
•
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.
The shading image is computed using the current video
settings. On fixed video modes the selected frame rate
also affects the computation time.
The build process will not work, if a MONO16/RGB16
format is active.
PIKE Technical Manual V4.1.0
278
Configuration of the camera
Register
Name
Field
Bit
Description
0xF1000250
SHDG_CTRL
Presence_Inq
[0]
BuildError
[1]
--ShowImage
BuildImage
ON_OFF
Busy
MemChannelSave
[2..3]
[4]
[5]
[6]
[7]
[8]
MemChannelLoad
[9]
MemChannelClear
--MemChannelError
[10]
[11..15]
[16..19]
MemoryChannel
[20..23]
GrabCount
Presence_Inq
[24..31]
[0]
Indicates presence of this
feature (read only)
Could not built shading
image
Reserved
Show shading data as image
Build a new shading image
Shading on/off
Build in progress
Save shading data in flash
memory
Load shading data from flash
memory
Erase flash memory
Reserved
Indicates memory channel
error. See Table 133: Memory
channel error description on
page 281.
Set memory channel number
for save and load operations
Number of images
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..3]
Reserved
MaxMemChannel
[4..7]
Maximum number of available
memory channels to store
shading images
MaxImageSize
[8..31]
Maximum shading image size
(in bytes)
0xF1000254
0xF1000258
SHDG_MEM_CTRL
SHDG_INFO
Table 132: Advanced register: Shading
PIKE Technical Manual V4.1.0
279
Configuration of the camera
Reading or writing shading image from/into the camera
Accessing the shading image inside the camera is done through the
GPDATA_BUFFER. Because the size of the GPDATA_BUFFER is smaller than a
whole shading image the data must be written in multiple steps.
To read or write a shading image:
1.
Query the limits and ranges by reading SHDG_INFO and GPDATA_INFO.
2.
Set EnableMemWR or EnableMemRD to true (1).
3.
Set AddrOffset to 0.
4.
Write n shading data bytes to GPDATA_BUFFER (n might be lower than
the size of the GPDATA_BUFFER; AddrOffset is automatically adjusted
inside the camera).
5.
Repeat step 4 until all data is written into the camera.
6.
Set EnableMemWR and EnableMemRD to false.
Automatic generation of a shading image
Shading image data may also be generated by the camera. To use this feature
make sure all settings affecting an image are set properly. The camera uses
the current active resolution to generate the shading image.
To generate a shading image:
1.
Set GrabCount to the number of the images to be averaged before the
correction factors are calculated.
2.
Set BuildImage to true.
3.
Poll the SHDG_CTRL register until the Busy and BuildImage flags are
reset automatically.
The maximum value of GrabCount depends on the camera type and the number of available image buffers. GrabCount is automatically adjusted to a
power of two.
Do not poll the SHDG_CTRL register too often, while automatic generation is
in progress. Each poll delays the process of generating the shading image.
An optimal poll interval time is 500 ms.
Non-volatile memory operations
Pike cameras support storing shading image data into non-volatile memory.
Once a shading image is stored it is automatically reloaded on each camera
reset.
MaxMemChannel indicates the number of so-called memory channels/slots
available for storing shading images.
To store a shading image into non-volatile memory:
1.
Set MemoryChannel to the desired memory channel and
MemoryChannelSave to true (1).
2.
Read MemoryChannelError to check for errors.
PIKE Technical Manual V4.1.0
280
Configuration of the camera
To reload a shading image from non-volatile memory:
1.
Set MemoryChannel to the desired memory channel and
MemChannelLoad to true (1).
2.
Read MemChannelError to check for errors.
To clear already stored shading image data in non-volatile memory (shading
image data won't be loaded on camera resets):
1.
Set MemoryChannel to the desired memory channel and
MemChannelClear to true (1).
2.
Read MemChannelError to check for errors.
Memory channel error codes
ID
Error description
0x00
No error
0x01
Memory detection error
0x02
Memory size error
0x03
Memory erase error
0x04
Memory write error
0x05
Memory header write error
0x0F
Memory channel out of range
Table 133: Memory channel error description
PIKE Technical Manual V4.1.0
281
Configuration of the camera
Deferred image transport
Using this 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.
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 134: Advanced register: Deferred image transport
PIKE Technical Manual V4.1.0
282
Configuration of the camera
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
---
[1..31]
Reserved
FrameCounter
[0..31]
Number of captured frames
since last reset
0xF1000274
FRAMECOUNTER
Table 135: Advanced register: Frame information
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.
Input/output pin control
Note
L
•
•
•
•
See Chapter Input/output pin control on page 82
See Chapter IO_INP_CTRL 1-2 on page 83
See Chapter IO_OUTP_CTRL 1-4 on page 87
See Chapter Output modes on page 88
PIKE Technical Manual V4.1.0
283
Configuration of the camera
Delayed Integration enable
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
•
•
L
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.
Figure 107: 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 136: Advanced register: Delayed Integration Enable
PIKE Technical Manual V4.1.0
284
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
0xF1000360 AUTOSHUTTER_CTRL
0xF1000364 AUTOSHUTTER_LO
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..31]
Reserved
---
[0..5]
Reserved
MinValue
[6..31]
Minimum auto shutter value
lowest possible value: 10 µs
0xF1000368 AUTOSHUTTER_HI
---
[0..5]
Reserved
MaxValue
[0..31]
Maximum auto shutter value
Table 137: Advanced register: Auto shutter control
Note
•
L
•
•
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.
MinValue and MaxValue limits the range the auto shutter feature is allowed
to use for the regulation process. Both values are initialized with the minimum and maximum value defined in the standard SHUTTER_INQ register
(multiplied by the current active timebase).
If you change the MinValue and/or MaxValue and the new range exceeds the
range defined by the SHUTTER_INQ register, the standard SHUTTER register
will not show correct shutter values. In this case you should read the
EXTENDED_SHUTTER register for the current active shutter time.
Changing the auto shutter range might not affect the regulation, if the regulation is in a stable condition and no other condition affecting the image
brightness is changed.
PIKE Technical Manual V4.1.0
285
Configuration of the camera
If both auto gain and auto shutter are enabled and if the shutter is at its
upper boundary and gain regulation is in progress, increasing the upper auto
shutter boundary has no effect on auto gain/shutter regulation as long as
auto gain regulation is active.
Note
L
As with the Extended Shutter the value of MinValue and
MaxValue must not be set to a lower value than the minimum
shutter time.
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
MaxValue
[4..15]
Maximum auto gain value
---
[16..19]
Reserved
MinValue
[20..31]
Minimum auto gain value
Table 138: 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.
PIKE Technical Manual V4.1.0
286
Configuration of the camera
Autofunction AOI
The table below illustrates the advanced register for autofunction AOI.
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 (see note
above)
---
[7]
Reserved
YUNITS
[8..19]
Y units of work area/pos.
beginning with 0 (read only)
XUNITS
[20..31]
X units of work area/pos.
beginning with 0 (read only)
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 139: Advanced register: Autofunction AOI
The possible increment of the work area position and size is defined by the
YUNITS and XUNITS fields. The camera automatically adjusts your settings to
permitted values.
Note
L
If the adjustment fails and the work area size and/or work
area position becomes invalid, then this feature is automatically switched off.
Read back the ON_OFF flag, if this feature does not work as
expected.
PIKE Technical Manual V4.1.0
287
Configuration of the camera
Color correction
To switch off color correction in YUV mode: see bit [6]
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
Reset
[7]
Reset to defaults
---
[8..31]
Reserved
0xF10003A4 COLOR_CORR_COEFFIC11 = Crr
[0..31]
0xF10003A8 COLOR_CORR_COEFFIC12 = Cgr
[0..31]
0xF10003AC COLOR_CORR_COEFFIC13 = Cbr
[0..31]
A number of 1000 equals a
color correction coefficient
of 1.
0xF10003B0 COLOR_CORR_COEFFIC21 = Crg
[0..31]
0xF10003B4 COLOR_CORR_COEFFIC22 = Cgg
[0..31]
0xF10003B8 COLOR_CORR_COEFFIC23 = Cbg
[0..31]
0xF10003BC COLOR_CORR_COEFFIC31 = Crb
[0..31]
0xF10003C0 COLOR_CORR_COEFFIC32 = Cgb
[0..31]
0xF10003C4 COLOR_CORR_COEFFIC33 = Cbb
[0..31]
Color correction values
range -1000..+2000 and are
signed 32 bit.
In order for white balance
to work properly ensure that
the row sum equals to 1000.
The maximum row sum is
limited to 2000.
...
Reserved for
testing purposes
0xF10003FC
Don’t touch!
0xF10003A4
Table 140: Advanced register: Color correction
For an explanation of the color correction matrix and for further information
read Chapter Color correction on page 149.
PIKE Technical Manual V4.1.0
288
Configuration of the camera
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 141: 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.
Note
Trigger delay works with external trigger modes only.
L
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 142: Advanced register: Mirror
PIKE Technical Manual V4.1.0
289
Configuration of the camera
AFE channel compensation (channel balance)
All KODAK Pike sensors are read out via two channels: the first channel for
the left half of the image and the second channel for the right half of the
image.
Channel gain adjustment (Pike color cameras only RAW8 and RAW16) can be
done via the following two advanced registers:
Register
Name
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..31]
Reserved
0xF1000424 CHANNEL_ADJUST_VALUE ---
[0..15]
Reserved
[16..31]
Signed 16 bit value
-8192...0...+8191
0xF1000420 CHANNEL_ADJUST_CTRL
Balance_Value
SmartView shows only:
-2048...0...+2047
Table 143: Advanced register: Channel balance
You can save the current value in the user sets and set to default value.
Soft reset
Register
Name
0xF1000510 SOFT_RESET
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
Reset
[6]
Initiate reset
---
[7..19]
Reserved
Delay
[20..31]
Delay reset in 10 ms steps
Table 144: 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.
PIKE Technical Manual V4.1.0
290
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.
L
High SNR mode (High Signal Noise Ratio)
With High SNR mode enabled the camera internally grabs GrabCount images
and outputs a single averaged image.
Register
Name
Field
Bit
Description
0xF1000520
HIGH_SNR
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
High SNR mode on/off
---
[7..22]
Reserved
GrabCount
[23..31]
Number of images (min. 2)
2n images with n=1..8 (automatically)
Table 145: Advanced register: High Signal Noise Ratio (HSNR)
Note
The camera must be idle to toggle this feature on/off.
L
PIKE Technical Manual V4.1.0
291
Configuration of the camera
Maximum ISO packet size
Use this feature to increase the MaxBytePerPacket value of Format_7 modes.
This overrides the maximum allowed isochronous packet size specified by
IIDC V1.31.
Register
Name
Field
Bit
Description
0xF1000560
ISOSIZE_S400
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/Disable S400 settings
Set2Max
[7]
Set to maximum supported packet
size
---
[8..15]
Reserved
MaxIsoSize
[16..31]
Maximum ISO packet size for S400
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
Enable/Disable S800 settings
Set2Max
[7]
Set to maximum supported packet
size
---
[8..15]
Reserved
MaxIsoSize
[16..31]
Maximum ISO packet size for S800
0xF1000564
ISOSIZE_S800
Table 146: Advanced register: Maximum ISO packet size
Example
For isochronous packets at a speed of S800 the maximum allowed packet size
(IIDC V1.31) is 8192 byte. This feature allows you to extend the size of an
isochronous packet up to 11.000 byte at S800. Thus the isochronous bandwidth is increased from 64 MByte/s to approximately 84 MByte/s. You need
either PCI Express or PCI-X (64 bit).
The Maximum ISO packet size feature ...
• ... reduces the asynchronous bandwidth available for controlling cameras by approximately 75%
• ... may lead to slower responses on commands
• ... is not covered by the IEEE1394 specification
• ... may not work with all available 1394 host adapters.
Note
L
We strongly recommend to use PCI-X (64 bit) or PCI Express
adapter.
PIKE Technical Manual V4.1.0
292
Configuration of the camera
Restrictions
Note the restrictions in the following table. When using software with an
Isochronous Resource Manager (IRM): deactivate it.
Software
Restrictions
FireGrab
Deactivate Isochronous Resource Manager:
SetParameter (FGP_USEIRMFORBW, 0)
FireStack/FireClass
No restrictions
SDKs using Microsoft driver
(Active FirePackage,
Direct FirePackage, ...)
n/a
Linux: libdc1394_1.x
No restrictions
Linux: libdc1394_2.x
Deactivate Isochronous Resource Manager:
Set DC1394_CAPTURE_FLAGS_BANDWIDTH_ALLOC flag to 0
Third Party Software
Deactivate Isochronous Resource Manager
Table 147: Restrictions for feature: Maximum ISO packet size
Operation
The maximum allowed isochronous packet size can be set separately for the
ISO speeds S400 and S800. Check the associated Presence_Inq flag to see
for which ISO speed this feature is available.
Setting the Set2Max flag to 1 sets the MaxIsoSize field to the maximum supported isochronous packet size. Use this flag to query the maximum supported size (may depend on the camera model).
Enable this feature by setting the ON_OFF flag to 1 and the MaxIsoSize field
to a value greater than the default packet size.
The camera ensures:
• that the value of the MaxIsoSize field is a multiple of 4.
• that the value isn’t lower than the value specified by the IEEE1394
specification.
The settings are stored in the user sets.
Note
L
Enabling this feature will not change the MaxBytePerPacket
value automatically. The camera may not use the new
isochronous packet size for the MaxBytePerPacket value
until a write access to the desired Format_7 mode has been
issued.
PIKE Technical Manual V4.1.0
293
Configuration of the camera
Quick parameter change timing modes
You can choose between the following update timing modes:
• Standard Parameter Update Timing (slightly modified from previous
PIKE cameras)
• New: Quick Format Change Mode
Note
For a detailed description see Chapter Quick parameter
change timing modes on page 135.
L
Register
Name
Field
Bit
Description
0xF1000570
PARAMUPD_TIMING Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
UpdActive
[6]
Update active
see Chapter Encapsulated Update
(begin/end) on page 137
0: (default); reset to 0 means
Encapsulated Update end
1: set to 1 means
Encapsulated Update begin
---
[7..23]
Reserved
UpdTiming
[24..31]
Update timing mode
If set to O:
Standard Parameter Update Timing
is active
If set to 2:
Quick Format Change Mode is active
Table 148: Advanced register: Update timing modes
Standard Parameter Update Timing
The camera behaves like older firmware versions without this feature. The
UpdActive flag has no meaning.
Quick Format Change Mode
This mode behaves like Standard Parameter Update Timing mode with the
following exception:
An already started image transport to the host will not be interrupted, but
an already started integration will be interrupted.
PIKE Technical Manual V4.1.0
294
Configuration of the camera
To switch on Quick Format Change Mode do the following:
1.
Set UpdTiming to 2.
2.
Set UpdActive to 1.
3.
Be aware that all parameter values have to be set within 10 seconds.
Automatic reset of the UpdActive flag
With Quick Format Change Mode you normally have to clear the UpdActive
flag after all desired parameters have been set. Every time the
PARAMUPD_TIMING register is written to with the UpdActive flag set to 1
a 10 second time-out is started / restarted. If the time-out passes before you
clear the UpdActive flag, the UpdActive flag is cleared automatically and all
parameter changes since setting the UpdActive flag to 1 become active automatically.
Low noise binning mode (only 2 x H-binning)
This register enables/disables low noise binning mode.
This means: an average (and not a sum) of the luminance values is calculated
within the FPGA.
The image is therefore darker than with the usual binning mode, but the signal to noise ratio is better (approximately a factor of 2 ).
Offset
Name
Field
Bit
Description
0xF1000580
LOW_NOISE_BINNING Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
Low noise binning mode on/off
---
[7..31]
Reserved
Table 149: Advanced register: Low noise binning mode
PIKE Technical Manual V4.1.0
295
Configuration of the camera
Parameter-List Update
The parameter list is an array of address/data pairs which can be sent to the
camera in a single bus cycle.
Register
Name
Field
Bit
Description
0xF1100000
PARAMLIST_INFO
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..15]
Reserved
BufferSize
[16..31]
Size of parameter list buffer in
bytes
0x1101000
PARAMLIST_BUFFER
...
0x1101nnn
Table 150: Advanced register: Parameter-List Update: parameter list
Dependant on the parameter update mode the address/data pairs may
become active one by one or after the processing of the complete parameter
list. A parameter list may look like follows (the description is for your convenience):
Address offset
Data quadlet
Description
0xF0F00608
0xE0000000
Set video format 7
0xF0F00604
0x00000000
Set video mode 0
0xF0F08008
0x00000000
Set image position
0xF0F0800C
0x028001E0
Set image size
0xF0F08044
0x04840484
Set BytePerPacket value
0xF0F0080C
0x80000100
Set shutter to 0x100
0xF0F00820
0x80000080
Set gain to 0x80
Table 151: Example: parameter list
Note
•
L
•
The PARAMLIST_BUFFER shares the memory with the
GPDATA_BUFFER. Therefore it is not possible to use
both features at the same time.
Not all CSRs or features of a particular camera model
can be used with the parameter list feature.
PIKE Technical Manual V4.1.0
296
Configuration of the camera
Format_7 mode mapping
With Format_7 mode mapping it is possible to map special binning and subsampling modes to F7M1..F7M7 (see Figure 79: Mapping of possible Format_7
modes to F7M1...F7M7 on page 134).
Register
Name
Field
Bit
Description
0xF1000580
F7MODE_MAPPING
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..31]
Reserved
F7MODE_00_INQ
[0]
Format_7 Mode_0 presence
F7MODE_01_INQ
[1]
Format_7 Mode_1 presence
...
...
...
F7MODE_31_INQ
[31]
Format_7 Mode_31 presence
0xF1000584
F7MODE_MAP_INQ
0xF1000588
Reserved
---
---
---
0xF100058C
Reserved
---
---
---
0xF1000590
F7MODE_0
Format_ID
[0..31]
Format ID (read only)
0xF1000594
F7MODE_1
Format_ID
[0..31]
Format ID for Format_7 Mode_1
0xF1000598
F7MODE_2
Format_ID
[0..31]
Format ID for Format_7 Mode_2
0xF100059C
F7MODE_3
Format_ID
[0..31]
Format ID for Format_7 Mode_3
0xF10005A0
F7MODE_4
Format_ID
[0..31]
Format ID for Format_7 Mode_4
0xF10005A4
F7MODE_5
Format_ID
[0..31]
Format ID for Format_7 Mode_5
0xF10005A8
F7MODE_6
Format_ID
[0..31]
Format ID for Format_7 Mode_6
0xF10005AC
F7MODE_7
Format_ID
[0..31]
Format ID for Format_7 Mode_7
Table 152: Advanced register: Format_7 mode mapping
Additional Format_7
modes
Firmware 3.x adds additional Format_7 modes. Now you can add some special
Format_7 modes which aren’t covered by the IIDC standard. These special
modes implement binning and sub-sampling.
To stay as close as possible to the IIDC standard the Format_7 modes can be
mapped into the register space of the standard Format_7 modes.
There are visible Format_7 modes and internal Format_7 modes:
• At any time only 8 Format_7 modes can be accessed by a host computer.
• Visible Format_7 modes are numbered from 0 to 7.
• Internal Format_7 modes are numbered from 0 to 31.
Format_7 Mode_0 represents the mode with the maximum resolution of the
camera: this visible mode cannot be mapped to any other internal mode.
The remaining visible Format_7 Mode_1 ... Mode_7 can be mapped to any
internal Format_7 mode.
PIKE Technical Manual V4.1.0
297
Configuration of the camera
Example
To map the internal Format_7 Mode_19 to the visible Format_7 Mode_1,
write the decimal number 19 to the above listed F7MODE_1 register.
Note
L
For available Format_7 modes see Figure 79: Mapping of possible Format_7 modes to F7M1...F7M7 on page 134.
Setting the F7MODE_x register to:
•
•
-1 forces the camera to use the factory defined mode
-2 disables the respective Format_7 mode (no mapping
is applied)
After setup of personal Format_7 mode mappings you have to
reset the camera. The mapping is performed during the camera startup only.
PIKE Technical Manual V4.1.0
298
Configuration of the camera
Secure image signature (SIS)
Secure image signature (SIS) is the synonym for data, which is inserted into
an image to improve or check image integrity.
All
•
•
•
•
Pike 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)
Various camera settings
into a selectable line position within the image. Frame counter and trigger
counter are available as advanced registers to be read out directly.
Advanced register: SIS
The SIS feature is controlled by the following advanced feature register:
Note
This register is different to the Marlin time stamp (600) register!
L
Register
Name
0xF1000630 SIS
0xF1000634
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
SIS mode on/off
---
[7..15]
Reserved
LineNo
[16..31] SIS data position inside an image
UserValue
[0..31]
User provided value for sequence
mode to be placed into the SIS
area of an image
Table 153: Advanced register: secure image signature (SIS)
Enabling this feature, SIS data will be inserted into any captured image. The
size of SIS data depends on the selected SIS format.
The LineNo field indicates at which line the SIS data will be inserted.
PIKE Technical Manual V4.1.0
299
Configuration of the camera
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.
SIS UserValue can be written into the camera’s image. In sequence mode for
every sequence entry an own SIS UserValue can be written.
Note
SIS outside the visible image area:
L
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 (aka time stamp) will be
inserted into the very first 4 bytes/pixels of a line.
L
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 8000 Hz cycle timer counter
1 Hz cycle timer counter
Table 154: 32-bit cycle timer layout
PIKE Technical Manual V4.1.0
300
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 155: Cycle timer layout
Advanced register: frame counter
Note
Different to Marlin SIS:
L
Register 610 is only to be used to reset the 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..31]
Reserved
[0..31]
Frame counter
Table 156: 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
self-cleared.
Note
L
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.
PIKE Technical Manual V4.1.0
301
Configuration of the camera
Advanced register: trigger counter
The trigger counter feature is controlled by the following advanced feature
register:
Register
Name
0xF1000620 TRIGGER_COUNTER
0xF1000624 TRGCNT
Field
Bit
Description
Presence_Inq
[0]
Indicates presence of this feature
(read only)
Reset
[1]
Reset trigger counter
---
[2..31]
Reserved
TriggerCounter
[0..31]
Trigger counter
Table 157: 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
self-cleared.
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
L
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.
PIKE Technical Manual V4.1.0
302
Configuration of the camera
Where to find time stamp, frame counter and trigger counter
in the image
Time stamp (Cycle counter)
1
2
3
4
⎫
⎬
⎭
⎫
⎬
⎭
Trigger counter
5
6
7
8
9
10 11 12 .. .. .
Output line
of image
.
⎫
⎬
⎭
Frame counter
Bytes
Figure 108: SIS in the image: time stamp, frame counter, trigger counter
Where to find all SIS values in the image
In the following table you find the position of all SIS values (byte for byte)
including the endianness of SIS values.
CycleCounter [7..0]
CycleCounter [15..8]
Byte 1
Byte 2
FrameCounter [7..0]
FrameCounter [15..8]
Byte 5
Byte 6
TriggerCounter [7..0]
Byte 9
Byte 10
AoiLeft [7..0]
AoiLeft [15..8]
Byte 13
Byte 14
AoiWidth [7..0]
AoiWidth [15..8]
Byte 17
Byte 18
Shutter [7..0]
Shutter [15..8]
Byte 21
Byte 22
Gain [7..0]
Gain [15..8]
Byte 25
Byte 26
OutputState_1 [7..0]
Byte 29
OutputState_2 [7..0]
Byte 30
InputState_1 [7..0]
InputState_2 [7..0]
Byte 33
Byte 34
SequenceIndex [7..0]
Byte 37
Reserved [NULL]
Byte 38
SerialNumber [7..0]
SerialNumber [15..8]
Byte 41
Byte 42
SIS_UserValue [7..0]
Byte45
TriggerCounter [15..8]
SIS_UserValue [15..8]
Byte46
CycleCounter [23..16]
CycleCounter [31..24]
Byte 3
FrameCounter [23..16]
Byte 4
FrameCounter [31..24]
Byte 7
Byte 8
TriggerCounter [23..16] TriggerCounter [31..24]
Byte 11
AoiTop [7..0]
Byte 12
AoiTop [15..8]
Byte 15
AoiHeight [7..0]
Byte 16
AoiHeight [15..8]
Byte 19
Shutter [23..16]
Byte 20
Shutter [31..24]
Byte 23
Reserved [NULL]
Byte 24
Reserved [NULL]
Byte 27
OutputState_3 [7..0]
Byte 28
OutputState_4 [7..0]
Byte 31
Reserved [NULL]
Byte 32
Reserved [NULL]
Byte 35
ColorCoding [NULL]
Byte 36
Reserved [NULL]
Byte 39
SerialNumber [23..16]
Byte 40
SerialNumber [31..24]
Byte 43
Byte 44
SIS_UserValue [23..16]
SIS_UserValue [31..24]
Byte47
Byte48
Table 158: SIS values (increasing order of transmitted pixels)
PIKE Technical Manual V4.1.0
303
Configuration of the camera
Smear reduction
To enable/disable smear reduction use the following register(s):
Register
Name
Field
Bit
Description
0xF1000440
LOW_SMEAR
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..5]
Reserved
ON_OFF
[6]
Smear reduction on/off
---
[7..31]
Reserved
Table 159: Advanced register: Smear reduction
PIKE Technical Manual V4.1.0
304
Configuration of the camera
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.
User profiles can be programmed with the following advanced feature register:
Offset
Name
Field
Bit
Description
0xF1000550
USER_PROFILE
Presence_Inq
[0]
Indicates presence of this feature
(read only)
Error
[1]
An error occurred
---
[2..6]
Reserved
Busy
[7]
Save/Load in progress
Save
[8]
Save settings to profile
Load
[9]
Load settings from profile
SetDefaultID
[10]
Set Profile ID as default
---
[11..19]
Reserved
ErrorCode
[20..23]
Error code
See Table 161: User profiles: Error
codes on page 306.
---
[24..27]
Reserved
ProfileID
[28..31]
ProfileID (memory channel)
Table 160: Advanced register: User profiles
In general this advanced register is a wrapper around the standard memory
channel registers with some extensions. So to query the number of available
user profiles you have to check the Memory_Channel field of the
BASIC_FUNC_INQ register at offset 0x400 (see IIDC V1.31 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.
PIKE Technical Manual V4.1.0
305
Configuration of the camera
Store
Restore
Set default
Note
•
L
•
The default profile is the profile that is loaded on
power-up 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.
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.
To restore the settings from a previous stored profile:
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.
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 does not exist
0x05
ProfileID out of range
0x06
Restoring the default profile failed
0x07
Loading LUT data failed
0x08
Storing LUT data failed
Table 161: User profiles: 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 to the USER_PROFILE register with the SaveProfile,
RestoreProfile and SetDefaultID flag not set.
• by writing 00000000h to the USER_PROFILE register.
PIKE Technical Manual V4.1.0
306
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_POLARITY
TRIGGER_DELAY
ABS_GAIN
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 + color correction
coefficients)
TRIGGER_DELAY
MIRROR_IMAGE
HIGH_SNR
LUT_CTRL (LutNo; ON_OFF is not saved)
SHDG_CTRL (on/off + ShowImage)
DEFERRED_TRANS (HoldImg +
NumOfImages)
CHANNEL_ADJUST_CTRL
CHANNEL_ADJUST_VALUE
Table 162: 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 cold start. 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.
PIKE Technical Manual V4.1.0
307
Configuration of the camera
Note
•
L
•
•
•
•
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
hard-coded factory defaults (profile #0).
Data written to this register will not be reflected in the
standard memory channel registers.
PIKE Technical Manual V4.1.0
308
Configuration of the camera
GPDATA_BUFFER
GPDATA_BUFFER is a general purpose register that regulates the exchange of
data between camera and host for:
• writing look-up tables (LUTs) into the camera
• uploading/downloading of the shading image
GPDATA_INFO
GPDATA_BUFFER
Register
Buffer size query
indicates the actual storage range
Name
0xF1000FFC GPDATA_INFO
Field
Bit
Description
---
[0..15]
Reserved
BufferSize
[16..31]
Size of GPDATA_BUFFER
(byte)
0xF1001000
…
GPDATA_BUFFER
0xF10017FC
Table 163: Advanced register: GPData buffer
Note
L
•
•
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
Description
8 bit
L0 L1 L2 L3
L3 L2 L1 L0
L: low byte
16 bit
L0 H0 L1 H1
H1 L1 H0 L0
H: high byte
Table 164: Swapped first quadlet at address offset 0
PIKE Technical Manual V4.1.0
309
Configuration of the camera
User adjustable gain references
This register gives the user the possibility (via direct access) to modify the
gain references. Modified values are stored automatically without further
user action and are also stored on restart.
To reload default gain references (which are programmed at personalization)
within the camera: set flag m_bDefGainRef=1
Offset
Name
Field
Bit
Description
0xF1002000
AFEREFERENCES
Presence_Inq
[0]
Indicates presence of this feature
(read only)
---
[1..4]
Reserved
0xF1002004
GAINREFERENCE
m_bDefGainRef [5]
Reload default gain references, if
this flag is set.
---
[6..31]
Reserved
m_GainRef
[0..31]
Gain reference (0..511)
Table 165: Advanced register: User adjustable gain references
In the following table you find the default gain references of all Pike models:
Pike model
Default gain reference (decimal)
Default gain reference (hex)
Pike F-032B/C
200
C8h
Pike F-100B/C
210
D2h
Pike F-145B/C (15fps)
30 (15*)
1Eh (0Fh*)
Pike F-145B/C (30fps)
85 (15*)
55h (0Fh*)
Pike F-210B/C
215
D7h
Pike F-421B/C
200
C8h
Pike F-505B/C
115 ( 130*)
73h (82h*)
Table 166: default gain references of Pike models
*: Firmware package version 00.03.00.01 or earlier
PIKE Technical Manual V4.1.0
310
Firmware update
Firmware update
Firmware updates can be carried out via FireWire cable without opening the
camera.
Note
For further information:
L
•
•
Read the application note:
How to update Guppy/Pike/Stingray firmware
at AVT website or
Contact your local dealer.
Extended version number (FPGA/µC)
The new extended version number (Pike firmware 3.x and later) for microcontroller and FPGA firmware has the following format (4 parts separated by periods; each part consists of two digits):
Special.Major.Minor.Bugfix
or
xx.xx.xx.xx
Digit
Description
1st part: Special
Omitted if zero
Indicates customer specific versions
(OEM variants). Each customer has its
own number.
2nd part: Major
Indicates big changes
Old: represented the number before
the dot
3rd part: Minor
Indicates small changes
Old: represented the number after
the dot
4th part: Bugfix
Indicates bugfixing only (no changes
of a feature) or build number
Table 167: New version number (microcontroller and FPGA)
PIKE Technical Manual V4.1.0
311
Appendix
Appendix
Sensor position accuracy of AVT cameras
Sensor position accuracy of AVT cameras
D
camera body
pixel area
pixel area
y
camera body
sensor case
sensor case
x
AVT Guppy Series
Method of Positioning:
Automated mechanical alignment of sensor into camera front module.
(lens mount front flange)
Reference points:
Sensor: Center of pixel area (photo sensitive cells).
Camera: Center of camera front flange (outer case edges).
Accuracy:
x/y:
z:
D:
+/- 0.25mm
+50 / -100μm
+0 / -100μm
+/- 1°
(Sensor shift)
(for SN > 84254727, optical back focal length)
(for SN > 252138124, optical back focal length)
(Sensor rotation)
AVT Marlin, Oscar, Dolphin, Pike, Stingray
Method of Positioning:
Optical alignment of photo sensitive sensor area into camera front module.
(lens mount front flange)
Reference points:
Sensor: Center of pixel area (photo sensitive cells).
Camera: Center of camera front flange (outer case edges).
Accuracy:
x/y:
z:
D:
+/- 0.1mm
+0 / -50μm
+/- 0.5°
(Sensor shift)
(Optical back focal length)
(Sensor rotation)
Note: x/y - tolerances between c-Mount hole and pixel area may be higher.
Figure 109: AVT sensor position accuracy
PIKE Technical Manual V4.1.0
312
Index
Index
Numbers
0xF1000010 (version info) .......................266
0xF1000040 (advanced feature inquiry)......269
0xF1000100 (camera status) .....................271
0xF1000200 (max. resolution) ..................272
0xF1000208 (time base) ..........................272
0xF100020C (extended shutter).................274
0xF1000210 (test image) .........................275
0xF1000220 (sequence mode) ...................174
0xF1000240 (LUT)...................................276
0xF1000250 (shading) .............................279
0xF1000260 (deferred image transport)......282
0xF1000270 (frame info)..........................283
0xF1000274 (frame counter).....................283
0xF1000300 (input control)....................... 82
0xF1000340 (Delayed IntEna) ...................284
0xF1000360 (auto shutter control) ............285
0xF1000370 (auto gain control) ................286
0xF1000390 (autofunction AOI) ................287
0xF10003A0 (color correction) ..................288
0xF1000400 (trigger delay) ......................289
0xF1000410 (mirror image) ......................289
0xF1000420 (channel adjust)....................290
0xF1000440 (smear reduction)..................304
0xF1000510 (soft reset)...........................290
0xF1000520 (High SNR) ...........................291
0xF1000550 (user profiles/memory channels/
user sets) ..............................................305
0xF1000560 (Max. ISO size S400) ..............292
0xF1000564 (Max. ISO size S800) ..............292
0xF1000570 (update timing modes)...........294
0xF1000610 (frame counter).....................301
0xF1000620 (trigger counter) ...................302
0xF1000630 (SIS) ...................................299
0xF1002000 (user adjustable gain references) ...
310
0xF1002004 (user adjustable gain references) ...
310
0xF100580 (low noise binning mode).........295
0xF1100000 (Parameter-List Update) .........296
1394a data transmission ........................... 26
1394b
bandwidths ....................................... 32
requirements laptop............................ 34
1394b data transmission ........................... 26
2 out of 16 H+V sub-sampling (b/w)
drawing ...........................................130
2 out of 16 H+V sub-sampling (color)
drawing ...........................................132
2 out of 4 H+V sub-sampling (b/w)
drawing ...........................................129
2 out of 4 H+V sub-sampling (color)
drawing ...........................................131
2 out of 8 H+V sub-sampling (b/w)
drawing ...........................................129
2 out of 8 H+V sub-sampling (color)
drawing ...........................................131
2 x full binning
drawing ...........................................125
2 x horizontal binning
drawing ...........................................124
2 x vertical binning
drawing ...........................................122
32-bit cycle timer layout..........................300
4 x full binning
drawing ...........................................125
4 x horizontal binning
drawing ...........................................124
4 x vertical binning
drawing ...........................................122
8 x full binning
drawing ...........................................125
8 x horizontal binning
drawing ...........................................124
8 x vertical binning
drawing ...........................................123
A
Abs_Control (Field) ....... 98, 103, 105, 106, 108
Abs_Control_Inq (Field) ............................ 84
access
binning and sub-sampling ..................133
AccessLutNo (Field).................................276
Access_Control_Register ..........................252
accuracy
sensor position .................................312
AddrOffset (Field) ............................ 276, 279
Advanced feature inquiry .........................269
PIKE Technical Manual V4.1.0
313
Index
Advanced feature inquiry register ..............269
Advanced features...................................263
activate ...........................................266
base address .....................................252
inquiry.............................................250
advanced register
Auto gain control ..............................286
Auto shutter control ..........................285
auto shutter control...........................285
Autofunction AOI ..............................287
Camera status ...................................271
Channel balance ................................290
Color correction ................................288
Deferred image transport ....................282
Delayed Integration Enable (IntEna) ....284
Extended shutter ........................165, 274
Extended version...............................266
Format_7 mode mapping ....................297
frame counter ...................................301
Frame information .............................283
GPData buffer ...................................309
High SNR .........................................291
Input control ..................................... 82
LUT .................................................276
Max. ISO packet ................................292
Max. resolution .................................272
Mirror ..............................................289
Mirror image .....................................289
Output control ................................... 87
Parameter-List Update........................296
secure image signature (SIS)...............299
Sequence mode .................................174
Shading ...........................................279
Smear reduction ................................304
Soft reset .........................................290
Test images ......................................275
Time base.........................................272
Trigger delay ....................................289
Update timing modes .........................294
User adjustable gain references ....295, 310
User profiles .....................................305
AFE channel compensation .......................290
Algorithm
correction data .................................113
AOI................................................114, 198
correction data .................................114
area of interest (AOI) .......................114, 200
Asynchronous broadcast...........................170
auto exposure
limits ..............................................285
target grey level......................... 107, 285
Auto Exposure (CSR register) ....................106
auto gain........................................ 104, 285
Auto gain control (advanced register) ........286
auto shutter............................. 101, 102, 285
Auto shutter control (advanced register) ....285
auto shutter control (advanced register) ....285
AUTOFNC_AOI.................................. 101, 287
AUTOFNC_AOI positioning ........................101
Autofunction AOI (advanced register) ........287
AUTOGAIN_CTRL .....................................286
automatic generation
correction data .................................113
automatic white balance ..........................101
AUTOSHUTTER_CTRL ................................285
AUTOSHUTTER_HI ...................................285
AUTOSHUTTER_LO ...................................285
AUTO_EXPOSURE .....................................106
Auto_Inq ................................................ 84
AVT Firetool program ...............................179
AVT sensor position accuracy ....................312
A_M_MODE (Field)......... 98, 103, 105, 106, 108
B
bandwidth .............................................185
affect frame rate ...............................226
available ..........................................202
deferred image transport ....................142
FastCapture ......................................145
frame rates.......................................201
RGB8 format .....................................151
save in RAW-mode .............................146
BAYER demosaicing .......................... 146, 149
BAYER mosaic.........................................146
BAYER to RGB
color interpretation ...........................146
binning .................................................121
access .............................................133
full..................................................125
horizontal ........................................124
only PIKE b/w...................................121
vertical ............................................122
BitsPerValue...........................................276
black level .............................................108
black lines .............................................184
black value ..................................... 107, 108
black/white camera
PIKE Technical Manual V4.1.0
314
Index
block diagram .................................... 94
blink codes ............................................. 80
block diagram
b/w camera ....................................... 94
color camera...................................... 95
block diagrams
cameras ............................................ 94
BRIGHTNESS....................................108, 257
Brightness
inquiry register .................................251
brightness
auto shutter .....................................102
average............................................104
decrease ..........................................285
descending.......................................179
effects .............................................173
IIDC register .....................................108
increase ....................................107, 285
level.........................................112, 115
LUT .................................................118
nonlinear .........................................118
reference...................................102, 104
setting.............................................108
sub-sampling ....................................126
variation ..........................................284
Brightness Control ..................................251
brightness (table) ...................................108
BRIGHTNESS_INQUIRY .............................253
Brightness_inq. ......................................253
buffer
LUT .................................................120
bulk trigger.....................................157, 159
bulk trigger (Trigger_Mode_15).................159
busy signal ............................................. 86
Bus_Id ..................................................230
C
camera dimensions................................... 60
camera interfaces..................................... 76
camera lenses.......................................... 40
Camera status (advanced register) .............271
Camera status (register)...........................271
cameras
block diagram .................................... 94
CAMERA_STATUS .....................................271
Camera_Status_Register ...........................230
CE.......................................................... 23
channel .................................................. 91
channel balance ................................96, 290
Channel balance (advanced register)..........290
color
correction ........................................146
color camera
block diagram .................................... 95
color coding...........................................140
color codings .........................................140
color correction ............................... 149, 150
AVT cameras .....................................149
formula............................................149
why? ...............................................149
Color correction (advanced register) ..........288
Color Correction (Field)............................269
color information....................................146
Color_Coding..........................................140
COLOR_CODING_INQ ................................140
Com (LED state)....................................... 79
common GND
inputs............................................... 78
common vcc
outputs............................................. 78
continuous
using Trigger_Mode_15 ......................161
controlling
image capture...................................157
correction
color ...............................................146
correction data
algorithm .........................................113
AOI .................................................114
automatic generation.........................113
requirements ....................................113
shading ...........................................111
CSR.......................................................230
shutter ............................................103
CSR register
Auto Exposure...................................106
GAIN ...............................................105
cycle counter .........................................300
Cycle timer layout ...................................301
D
data block packet format .......................... 91
description........................................ 91
data exchange buffer
LUT .................................................120
data packets ........................................... 91
PIKE Technical Manual V4.1.0
315
Index
data path................................................ 94
data payload size ...............................32, 226
data_length ............................................ 91
DCAM ........................................20, 185, 230
declaration of conformity .......................... 23
default sequence mode ............................176
deferred image transport...................142, 282
Deferred image transport (advanced register) ....
282
deferred transport ...................................179
Delayed Integration Enable (IntEna) (advanced
register) ................................................284
Digital Camera Specification .....................230
digital video information .......................... 91
digitizer ................................................119
direct fiber technology ............................. 21
document history..................................... 11
DSNU
horizontal mirror function...................109
E
edge mode (Trigger_Mode_1)....................157
effective min. exp. time...........................165
EnableMemWR (Field) ..............................276
Encapsulated Update (begin/end) ......137, 138
End of exposure ......................................169
endianness ............................................182
error codes
LED .................................................. 80
error states ............................................. 80
example (parameter list) ..........................296
Exposure time
(Field) .............................................165
exposure time.........................................164
81 Ch register ...................................166
example ...........................................165
extended shutter ...............................274
FIFO ................................................177
formula............................................164
longest ............................................165
long-term integration ........................165
minimum..........................................165
ExpressCard............................................. 35
technology ........................................ 35
ExpressCard/54 ........................................ 35
ExpTime (Field).......................................165
EXTD_SHUTTER........................................274
extended shutter ....................................165
FireDemo..........................................274
FireView...........................................274
inactive .................................... 166, 274
register............................................274
Trigger mode ....................................157
Extended shutter (advanced register).. 165, 274
Extended version (advanced register).........266
EXTENDED_SHUTTER ................................165
External GND ........................................... 78
external signal (SeqMode) ........................176
external trigger ....................................... 81
F
Fast Parameter Update Timing ........... 138, 139
FastCapture
bandwidth........................................145
deferred image transport ....................282
false................................................145
only Format_7 ..................................145
FastCapture (Field)..................................282
FCC Class B.............................................. 23
fiber technology ...................................... 21
FireDemo
extended shutter...............................274
FirePackage
additional checks image integrity ........183
OHCI API software .............................. 20
FireView
Extended shutter...............................274
FireWire
connecting capabilities ....................... 27
definition.......................................... 24
serial bus .......................................... 25
FireWire 400............................................ 27
FireWire 800............................................ 28
firmware update .............................. 311, 312
focal length ............................................ 40
Format_7 mode mapping (advanced register) ...
297
Format_7 modes
mapping ..........................................134
FORMAT_7_ERROR_1................................. 80
FORMAT_7_ERROR_2................................. 80
formula
color correction ................................149
FOV.......................................................109
FPGA boot error ....................................... 80
frame counter........................... 182, 299, 301
PIKE Technical Manual V4.1.0
316
Index
frame counter (advanced register) .............301
Frame information (advanced register) .......283
frame rates
bandwidth........................................201
bus speed.........................................185
Format_7 .........................................205
maximum .........................................185
tables ..............................................201
video mode 0....................................204
video mode 2....................................204
Frame valid ............................................. 86
free-run.................................................170
Full binning ...........................................125
Fval ....................................................... 86
Fval signal .............................................. 86
I
G
ID
gain
auto ................................................104
auto exposure CSR .............................104
AUTOFNC_AOI ...................................101
manual ............................................107
manual gain range........................99, 107
ranges .............................................107
Gain references (advanced register) ....295, 310
GAIN (CSR register) .................................105
GAIN (Name)..........................................105
gamma function .....................................118
CCD models.......................................114
gamma LUT ............................................118
global pipelined shutter ...........................157
global shutter.........................................157
GND for RS232 ......................................... 78
GPData buffer (advanced register) .............309
GPDATA_BUFFER ....................... 116, 117, 120
GRAB_COUNT..........................................113
H
hardware trigger ................................85, 163
HDR mode..............................................269
HDR Pike ...............................................270
high level (SeqMode)...............................176
High Signal Noise Ratio (HSNR) ................141
High SNR mode.......................................141
High SNR (advanced register) ...................291
HoldImg
field ................................................143
flag .................................................143
mode...............................................143
set ..................................................282
HoldImg (Field) ......................................282
horizontal binning ..................................124
horizontal mirror function ........................109
horizontal sub-sampling (b/w)
drawing ...........................................126
horizontal sub-sampling (color)
drawing ...........................................127
HSNR ....................................................141
hue.......................................................148
offset ..............................................148
color coding .....................................140
IEEE 1394 ............................................... 20
declaration of conformity .................... 23
IEEE 1394 standards................................. 24
IEEE 1394 Trade Association.....................230
IEEE 1394b connector............................... 77
IIDC..........................................20, 185, 230
data structure .................................... 93
isochronous data block packet format.... 91
pixel data.......................................... 91
trigger delay...................................... 84
video data format............................... 92
Y16 .................................................. 92
Y8.................................................... 92
YUV 4:1:1.......................................... 92
YUV 4:2:2.......................................... 92
IIDC V1.31 .............................................157
IIDC V1.31 camera control standards .......... 28
image capture
controlling .......................................157
ImageRepeat..........................................178
IMAGE_POSITION ....................................198
IMAGE_SIZE ...........................................198
incrementing list pointer .........................173
input
block diagram .................................... 81
signals.............................................. 81
Input control (advanced register)............... 82
input mode ............................................. 83
InputMode (Field) .................................... 82
inputs
common GND ..................................... 78
PIKE Technical Manual V4.1.0
317
Index
general ............................................. 81
in detail............................................ 81
triggers............................................. 81
input/output pin control..........................283
Inquiry register
basic function...................................250
Integration Enable signal .......................... 86
IntEna............................................... 78, 89
IntEna signal ....................................86, 284
IntEna_Delay........................................... 90
internal trigger.......................................157
interpolation
BAYER demosaicing ...........................146
BAYER to RGB ...................................146
color ...............................................146
IO_INP_CTRL1 ......................................... 82
IO_INP_CTRL2 ......................................... 82
IO_OUTP_CTRL1 ....................................... 87
IO_OUTP_CTRL2 ....................................... 87
IO_OUTP_CTRL3 ....................................... 87
IO_OUTP_CTRL4 ....................................... 87
isochronous blocks ................................... 91
isochronous channel number ..................... 91
isochronous data block packet format ......... 91
isochronous data packets .......................... 91
Isochronous Resource Manager (IRM).........293
IsoEnable ..............................................179
white balance ...................................100
ISO_Enable ............................................170
ISO_Enable mode ....................................170
multi-shot ........................................170
one-shot ..........................................167
I/O controlled sequence pointer reset ........179
I/O controlled sequence stepping mode......178
J
jitter ..............................................169, 171
at exposure start ...............................172
L
latching connectors.................................. 77
LED
Com ................................................. 79
error codes ........................................ 80
indication ......................................... 79
on (green)......................................... 79
status ............................................... 79
Trg ................................................... 79
yellow .............................................. 79
Legal notice .............................................. 2
level mode (Trigger_Mode_1)....................157
look-up table
user-defined .....................................118
look-up table (LUT) .......................... 118, 276
LOW_SMEAR ...........................................304
LUT.......................................................276
data exchange buffer .........................120
example ...........................................118
gamma ............................................118
general ............................................118
loading into camera...........................120
volatile ............................................119
LUT (advanced register) ...........................276
LutNo (Field)..........................................276
LUT_CTRL...............................................276
LUT_INFO ..............................................276
LUT_MEM_CTRL .......................................276
M
Manual_Inq............................................. 84
Maximum resolution (register) ..................272
MaxLutSize (Field) ..................................276
MaxResolution (Field) ..............................269
Max. ISO packet (advanced register) ..........292
Max. resolution (advanced register) ...........272
MAX_RESOLUTION ...................................272
Max_Value .............................................. 84
minimum exposure time...........................165
Min. exp. time + offset ............................165
Min_Value............................................... 84
mirror function
horizontal ........................................109
Mirror image (advanced register)...............289
Mirror (advanced register) ........................289
MSB aligned ............................................ 91
multi-shot ...................................... 170, 179
external trigger.................................170
using Trigger-Mode_15.......................161
N
No DCAM object ....................................... 80
No FLASH object ...................................... 80
Node_Id ................................................230
non-uniform illumination .........................112
PIKE Technical Manual V4.1.0
318
Index
NumOfLuts (Field) ...................................276
O
OFFSET
automatic white balance ..................... 99
offset....................................................164
800h ...............................................108
CCD .................................................108
configuration ROM.............................236
factors .............................................236
hue .................................................148
initialize register...............................239
inquiry register video format ...............239
inquiry register video mode.................240
saturation ........................................148
setting brightness .............................108
setting gain......................................107
OHCI API
FirePackage ....................................... 20
one-shot................................................167
Trigger_Mode_15...............................157
using Trigger_Mode_15 ......................161
values..............................................168
one-shot bit...........................................167
one-shot mode .......................................167
One_Push (Field) .......... 98, 103, 105, 106, 108
One_Push_Inq ......................................... 84
ON_OFF .................................................. 84
ON_OFF (Field) ........................................ 98
optocoupler ............................................ 81
output
block diagram .................................... 86
signals.............................................. 86
Output control (advanced register) ............. 87
output mode ........................................... 87
ID .................................................... 88
Output mode (Field) ................................. 87
output pin control ................................... 88
outputs .................................................. 86
common vcc ...................................... 78
general ............................................. 81
registers ........................................... 87
set by software .................................. 90
OutVCC ................................................... 78
P
Packed 12-Bit Mode ................................140
Packed 12-Bit MONO................................140
Packed 12-Bit RAW..................................140
packet format.......................................... 91
parameter list
example ...........................................138
parameter list (example) ..........................296
Parameter-List Update ............... 137, 138, 139
Parameter-List Update (advanced register) .296
PI controller ..........................................104
picture size ............................................. 22
PIKE
camera types ..................................... 22
PIKE F-032B (Specification)....................... 42
PIKE F-100B (Specification)....................... 44
PIKE F-145B (Specification)....................... 46
PIKE F-210B/C (Specification) ................... 48
PIKE F-421B/C (Specification) ................... 50
PIKE F-505B/C (Specification) ................... 52
Pike types............................................... 21
Pike W270 S90......................................... 62
pin control.............................................283
PinState flag ........................................... 87
PinState (Field) ....................................... 82
pixel data ............................................... 91
plus integral controller ............................104
pointer reset ..........................................173
Polarity ............................................. 82, 87
Power
IEEE 1394b........................................ 76
power
GND ................................................. 78
LED .................................................. 79
Presence_Inq .......................................... 82
Presence_Inq (Field) ........................... 84, 98
programmable mode (Trigger_Mode_15) .....157
Q
QFCM ....................................................136
Quick Format Change Mode................ 135, 138
(QFCM) .............................. 136, 138, 139
Quick parameter change timing modes .......135
R
Readout_Inq ........................................... 84
Register mapping..................................... 80
repeat counter........................................173
Requirements
PIKE Technical Manual V4.1.0
319
Index
correction data .................................113
RGB to YUV
formula............................................151
RGB8 format...........................................151
rising edge (SeqMode) .............................176
RoHS (2002/95/EC) .................................. 23
RS232 .................................................... 78
RxD_RS232.............................................. 78
S
saturation..............................................148
offset ..............................................148
secure image signature (advanced register) 299
secure image signature (SIS)
advanced registers.............................299
definition.........................................182
scenarios..........................................182
sensor
size .................................................. 22
sensor position accuracy ..........................312
SeqLength..............................................179
SeqMode
description .......................................176
sequence
automatic white balance ....................100
deferred mode...................................144
important notes ................................179
loading a LUT ...................................120
modified registers .............................173
of images .........................................173
OneShot...........................................167
white balance ...................................100
sequence mode.......................................173
cancel..............................................179
changes to registers...........................181
default.............................................176
example of settings ...........................180
features ...........................................178
flow diagram ....................................177
frame rate ........................................174
image size........................................174
implemented ....................................174
pointer reset.....................................173
repeat counter ..................................173
Sequence mode (advanced register) ...........174
Sequence Reset........................................ 83
Sequence Step ......................................... 83
sequence step mode ................................175
SEQUENCE_CTRL ............................... 174, 263
SEQUENCE_PARAM ............................ 174, 263
SEQUENCE_RESET ............................. 175, 263
SEQUENCE_STEP ............................... 175, 263
Seq_Length............................................179
shading
correction data .................................111
shading correction ........................... 111, 278
shading image........................................112
automatic generation.........................113
delay ...............................................114
Format_7 .........................................114
generation .......................................115
load into camera ...............................117
load out of camera ............................116
shading images ......................................278
shading reference image ..........................113
Shading (advanced register) .....................279
sharpness ..............................................147
SHDG_CTRL ..................................... 114, 279
SHDG_INFO ............................................279
SHDG_MEM_CTRL.....................................279
SHUTTER................................................103
Shutter CSR............................................103
shutter time
formula............................................164
SHUTTER_MODES.....................................157
signal-to noise ratio (SNR)
vertical binning ................................123
signal-to-noise ratio (SNR).......................121
signal-to-noise separation........................121
SingleShot .............................................179
SIS
advanced registers.............................299
definition.........................................182
scenarios .........................................182
SIS (advanced register)............................299
size
sensor .............................................. 22
SmartView .............................................. 20
smear
compensate ......................................184
smear reduction............................... 184, 304
definition.........................................184
how it works.....................................184
switch on/off....................................184
(advanced register) ...........................304
Smear reduction (advanced register)..........304
SNR ......................................................121
PIKE Technical Manual V4.1.0
320
Index
Soft reset (advanced register) ...................290
specifications .......................................... 42
spectral sensitivity
MF-033B ........................................... 54
spectral transmission
IR cut filter ....................................... 39
Jenofilt 217....................................... 39
Stack setup ............................................. 80
Stack start .............................................. 80
standard housing ..................................... 60
Standard Parameter Update Timing .....136, 294
Standard Update (IIDC) ....................137, 139
status LED............................................... 79
styles ..................................................... 18
subsampling
access..............................................133
sub-sampling
brightness ........................................126
b/w and color ...................................126
definition.........................................126
sy .......................................................... 91
symbols .................................................. 18
sync bit .................................................. 91
sync bit (sy)............................................ 91
synchronization value (sync bit) ................ 91
system components .................................. 39
T
Tag field................................................. 91
Target grey level
corresponds to Auto_exposure.............258
Target grey level (auto exposure) .......107, 285
Target grey level (SmartView)
corresponds to auto exposure..............102
tCode ..................................................... 91
test image .............................................228
Bayer-coded .....................................229
b/w cameras .....................................228
color ...............................................229
color cameras ...................................229
configuration register ........................275
gray bar ...........................................228
save ................................................275
Test images (advanced register) ................275
TEST_IMAGE ...........................................275
tg .......................................................... 91
time base ..............................................165
exposure time ...................................164
setting ............................................274
trigger delay................................84, 162
Time base (advanced register) ..................272
time response.........................................168
Time stamp ............................................299
time stamp ..................................... 182, 300
time stamp (advanced register).................299
TIMEBASE ....................................... 263, 272
TimeBase (Field) .....................................269
timebase (Register).................................272
TPAIEEE 1394b........................................ 76
TPA(R)
IEEE 1394b........................................ 76
TPA+ ...................................................... 76
TPBIEEE-1394b........................................ 76
TPB(R)
IEEE 1394b........................................ 76
TPB+ ...................................................... 76
IEEE 1394b........................................ 76
Transaction code ..................................... 91
Trg (LED state) ........................................ 79
trigger
bulk ......................................... 157, 159
control image capture ........................157
delay ........................................... 84, 90
edge................................................. 85
external ......................................79, 157
hardware.....................................85, 163
impulse............................................167
IntEna .............................................. 89
internal ...........................................157
latency time .....................................171
microcontroller .................................168
one-shot ..........................................167
sequence mode .................................173
signal ............................................... 81
software...........................................170
synchronize ......................................171
Trigger counter.......................................299
trigger counter ................................ 182, 302
trigger delay ..........................................162
advanced CSR ..............................85, 163
advanced register .........................85, 163
off ................................................... 85
on.................................................... 85
Trigger Delay CSR ...............................85, 163
trigger delay inquiry register ..................... 84
PIKE Technical Manual V4.1.0
321
Index
Trigger delay (advanced register) ..............289
trigger function ......................................160
Trigger modi ..........................................157
trigger overrun .......................................182
triggers .................................................. 81
input ................................................ 81
TRIGGER_DELAY .................................85, 163
TRIGGER_DELAY_INQUIRY....................84, 162
Trigger_Delay_Inquiry register ..................162
TRIGGER_MODE .......................................160
Trigger_Mode .........................................160
Trigger_Mode_0 .................................86, 157
Trigger_Mode_1 ......................................157
Trigger_Mode_1 (edge mode)....................157
Trigger_Mode_1 (level mode)....................157
Trigger_Mode_15 (bulk trigger)..........157, 159
Trigger_Mode_15 (programmable mode) .....157
Trigger_Polarity ......................................160
Trigger_Source .......................................160
Trigger_Value .........................................160
tripod adapter ......................................... 62
Tripod dimensions.................................... 62
types
Pike cameras...................................... 21
video data format
IIDC V1.31 ........................................ 92
Video data payload .................................. 91
video format
available bandwidth...........................201
frame rate ........................................201
MF-080 ....................... 188, 189, 190, 196
video formats .........................................185
video Format_7
AOI .................................................198
video information .................................... 91
video mode
CUR-V-MODE .....................................255
Format_7 .........................................261
inquiry register .................................240
sample C code...................................234
video mode 0 .........................................204
video mode 2 .........................................204
VMode_ERROR_STATUS.............................. 80
VP
IEEE 1394b........................................ 76
VP (Power, VCC)
IEEE 1394b........................................ 76
V/R_Value (Field)..................................... 98
U
W
UNIT_POSITION_INQ................................198
UNIT_SIZE_INQ.......................................198
Update timing modes (advanced register)...294
User profiles (advanced register) ...............305
user value ..............................................182
U/B_Value (Field) .................................... 98
U/V slider range ...................................... 99
white balance
auto shutter .....................................102
AUTOFNC_AOI ...................................101
automatic ............................98, 100, 101
automatic sequence ...........................100
conditions........................................100
general ............................................. 98
Hue register .....................................148
manual ............................................. 98
one-push automatic............................ 99
register 80Ch ..................................... 98
six frames ......................................... 99
trigger .............................................100
WHITE_BALANCE ................................98, 101
www.alliedvisiontec.com...................... 20, 21
V
VCC
IEEE 1394b........................................ 76
Vendor Unique Color_Coding.....................140
Vendor unique Features............................250
vertical binning ......................................122
SNR .................................................123
vertical sub-sampling (b/w)
drawing ...........................................128
vertical sub-sampling (color)
drawing ...........................................128
VG (GND)
IEEE 1394b........................................ 76
PIKE Technical Manual V4.1.0
322

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

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

Related manuals

advertisement