
47
8.4
How does bandwidth affect the frame rate?
In some modes the attainable frame rate is limited by the IEEE-1394a bus. According to
the 1394a specification on isochronous transfer, the largest data payload size of 4096
bytes per 125
µ
s cycle is possible with bandwidth of 400 Mb/s. In addition, because of
a limitation in an IEEE-1394 module (GP2Lynx), only a maximum number of 4095
packets per frame are allowed.
The following formula establishes the relationship between the required
Byte_Per_Packet size and certain variables for the image.
s
ByteDepth
AoiHeight
AoiWidth
fps
PACKET
PER
BYTE
µ
125
*
*
*
*
_
_
=
If the value for “BYTE_PER_PACKET” is greater than 4096 (the maximum data payload),
the sought-after frame rate cannot be attained. The attainable frame rate can be
calculated using this formula:
(Provision: “BYTE_PER_PACKET” is divisible by 4):
s
ByteDepth
AoiHeight
AoiWidth
PACKET
PER
BYTE
fps
µ
125
_
_
⋅
⋅
⋅
≈
ByteDepth
based on the following values:
Mono8
=> 8 bits/pixel
= 1 byte per pixel
Mono16 => 16 bits/pixel
= 2 bytes per pixel
YUV4:2:2 => 16 bits/pixel
= 2 bytes per pixel
YUV4:1:1 => 12 bits/pixel
= 1.5 bytes per pixel
Example formula for the b/w camera:
Mono16, 1392 x 1040 – 15 fps desired
32
,
11
125
2
1040
1392
4096
4096
5428
125
2
1040
1392
15
_
_
=
⋅
⋅
⋅
≈
⇒
>
=
⋅
⋅
⋅
⋅
=
s
fps
s
PACKET
PER
BYTE
reachable
µ
µ