Skip to content
Technical guide11 min read

When do you need a frame grabber?

CoaXPress and Camera Link always need a frame grabber; other cameras rarely do. How to decide, and how to budget link and PCIe bandwidth.

The short answer

You need a frame grabber in one unavoidable case and a few justified ones. The unavoidable case is a camera whose only output is CoaXPress or Camera Link: neither plugs into a standard PC port, so the host needs a matching PCIe card. Everywhere else it is an engineering choice, and for most GigE Vision and USB3 Vision cameras the answer is no. A good NIC or USB host card, correctly configured, does the job with less hardware and less to commission.

Start with the data rate per camera: width x height x bytes per pixel x frame rate. A 5 MP 8-bit camera at 30 fps produces 150 MB/s and belongs on USB3 or multi-gigabit Ethernet. A 12 MP 8-bit camera at 300 fps produces about 3.7 GB/s, which is beyond USB3, 10GigE and 25GigE and points to multi-link CoaXPress or Ethernet well above 25GigE. Between those extremes, the decision depends on cable length, CPU headroom, timing and how much loss you can tolerate.

  • NIC or USB card is enough: the sustained rate fits the link with 20-30% headroom, the CPU has capacity for acquisition, and triggers can be wired directly to the camera.
  • Frame grabber required: the camera output is CoaXPress or Camera Link.
  • Frame grabber justified: line-scan systems that benefit from encoder processing and line-to-image assembly in hardware.
  • Frame grabber justified: fixed pre-processing or burst capture would otherwise overload the host.
  • Frame grabber justified: several cameras must run from one timing source with low skew.
  • Check first: a region of interest, binning or a lower frame rate may bring the data rate within reach of a simpler interface.

What a grabber does that a NIC or USB card does not

A NIC delivers packets. In GigE Vision the camera splits each image into UDP packets, and host software reassembles them into frames, detects missing packets and requests resends. A vision-optimised driver bypasses much of the network stack, but the CPU still does work per packet, so load scales with data rate and falls as packet size grows. At 1 Gbit/s this is a small fraction of a modern CPU. At 10 Gbit/s and above, without offload, it can consume a full core or more, and avoiding packet loss becomes a tuning exercise in jumbo frames, receive buffers and interrupt settings.

A USB3 host controller does more in hardware and moves bulk transfers by DMA, so CPU load is usually lower than GigE at the same rate. The limit is sharing: cameras on one controller share its practical 350-400 MB/s. A multi-camera USB card therefore needs one independent controller per port, and enough PCIe lanes to feed all of them at once.

A frame grabber terminates a dedicated camera link in hardware. It assembles the image, applies any on-board processing and writes it to host memory by DMA with no per-packet CPU work. The application receives an event per frame or per buffer, leaving CPU time for the algorithm, and with no shared network in the path, transfer latency is repeatable.

Not all cards are equal. Minimal CoaXPress interface cards provide the link and DMA, while full-featured grabbers add large memory, FPGA processing and rich I/O. Before you commit, confirm that your vision software supports the card, typically through GenICam GenTL or the card vendor's SDK.

PoE and multi-gigabit NICs: the alternative to a grabber

Ethernet is the grabber alternative that has moved furthest up the performance range, and it keeps long cabling and standard switching. Give each camera its own NIC port when it runs near its link limit. A switch works well for cameras that stream in turn or at low duty, but its uplink must carry the sum of everything streaming at the same moment.

PoE needs planning at two levels: per port and in total. IEEE 802.3af supplies up to 15.4 W at the port and 12.95 W at the device, and 802.3at supplies up to 30 W and 25.5 W. 1GigE cameras typically sit well within 802.3af. Multi-gigabit cameras draw more, and PoE support at those speeds is not universal, so check both the camera and the NIC. Many PoE NICs need auxiliary power for the PoE supply, and the card's total budget may be lower than the per-port maximum multiplied by the number of ports.

Choose a NIC for chipset and driver support, not port count, and confirm that your vision software supports it. Enable jumbo frames at a size that camera, NIC and any switch all accept, enlarge receive buffers and test under full load with all cameras running. 10GBASE-T needs Cat6a for a full 100 m and tends to run hot, so fibre via SFP+ can be the better choice for long runs or high electrical noise. Above 10GigE, CPU load becomes the main cost. RDMA-capable cameras and NICs avoid much of it by placing image data directly in host memory, at the cost of a more involved network setup.

  • 1GigE: ~110-120 MB/s typical usable rate.
  • 2.5GigE: ~280-295 MB/s.
  • 5GigE: ~560-590 MB/s.
  • 10GigE: ~1.1-1.2 GB/s.
  • 25GigE: ~2.8-3 GB/s.

On-board buffering and FPGA processing

On-board memory decouples the camera from the host. When an OS stall, heavy PCIe traffic or a busy memory bus delays DMA, the camera keeps sending and the card holds the data. Capacity varies widely, from small FIFOs on minimal cards to several GB on high-end cards.

Size it for the burst. Suppose a camera delivers 4.6 GB/s for 1.5 s and the host link sustains 3.2 GB/s. The buffer must hold (4.6 - 3.2) x 1.5 = 2.1 GB, and the card then needs about 0.7 s of camera idle time to drain it (2.1 / 3.2). If the average rate over the whole cycle exceeds the sustained host rate, no amount of memory helps: it only delays the overflow.

An FPGA suits processing that is fixed per pixel and would otherwise burn CPU time. Line-scan flat-field correction is the classic case: applying a per-pixel gain and offset across 8k-16k pixels at tens of kHz is a natural hardware task. Apply two tests before paying for this capability. Does the operation reduce host load or PCIe traffic? Is it stable enough that it will not change every few weeks? Direction matters too, because debayering an 8-bit Bayer stream to 24-bit RGB on the card triples the PCIe traffic even as it frees the CPU. Custom FPGA programming, available on some cards, is specialist engineering, so plan on it only when standard functions and a faster host cannot meet the cycle time.

  • Typically reduce host work: flat-field and defective-pixel correction, lookup tables.
  • Typically reduce host work and PCIe traffic: cropping, binning, compression where supported.
  • Can increase PCIe traffic: debayering to RGB, unpacking 10-bit or 12-bit pixels to 16-bit.

PCIe lanes and bandwidth budgeting: a worked example

The raw rate per lane after line coding is about 500 MB/s for Gen2, 985 MB/s for Gen3, 1,970 MB/s for Gen4 and 3,940 MB/s for Gen5. Packet overhead takes more, depending on the payload size the platform negotiates, so plan on about 80% of raw. That gives roughly 1.6 GB/s for Gen2 x4, 3.2 GB/s for Gen3 x4, 6.3 GB/s for Gen3 x8 and 12.6 GB/s for Gen4 x8.

Those figures only count if the link trains as expected. A link runs at the lower speed and width of card and slot, so a Gen3 x8 card in a Gen4 x4 slot runs at Gen3 x4, although Gen4 x4 and Gen3 x8 have the same raw bandwidth. A physical x16 slot may be wired x8 or x4, and lanes may be shared with M.2 sockets or a neighbouring slot. Slots behind the chipset share its uplink with SATA, USB, onboard NICs and NVMe, so use CPU-attached lanes for sustained traffic. On dual-socket hosts, keep the card, its DMA buffers and the processing threads on the same NUMA node. After installation, verify the result: on Linux the LnkSta line of lspci -vv shows the negotiated speed and width, and grabber utilities usually report the same.

Walk the whole chain for one camera: 4096 x 3000 pixels, 8-bit mono, 300 fps. Each step below is a separate limit, and the lowest one sets the system.

  • Camera: 12.288 MB per frame x 300 fps = about 3.7 GB/s.
  • Camera link: 4 x CXP-6 gives ~2.4 GB/s, which is not enough. 4 x CXP-12 gives ~4.8 GB/s, at 77% utilisation.
  • PCIe: Gen3 x4 gives ~3.2 GB/s, which is not enough. Gen3 x8 gives ~6.3 GB/s, at 59% utilisation.
  • Pixel format: 10-bit packed (1.25 bytes per pixel) is 4.6 GB/s, or 96% of the camera link, which is too tight. 12-bit packed is 5.5 GB/s and does not fit 4 x CXP-12.
  • Unpacking: if the card expands 10-bit pixels to 16-bit before DMA, PCIe sees 7.4 GB/s, which exceeds usable Gen3 x8 even though the camera link fits.
  • Host: a 12.3 MB frame arrives every 3.33 ms. A 12 ms single-threaded algorithm needs 12 / 3.33 = 3.6 cores at full load, so about 6 cores at a 65% target load, before acquisition and OS overhead.
  • Memory: one second of ring buffer is 3.7 GB. Two such cameras put 7.4 GB/s into memory before any processing reads it back, so populate all memory channels.

Triggering and synchronisation

Separate two things that often get merged: how the camera receives its trigger, and how the image gets back. An opto-isolated trigger wired directly to the camera's I/O is repeatable on any interface, including GigE and USB3, because no host software sits in that path. The input adds its own delay, typically microseconds and up to about 25 µs through an optocoupler. Jitter problems begin when the trigger is generated in software or sent as a software command over GigE or USB3, because the OS and driver add variable delay.

A grabber acts as a timing centre. Trigger and encoder signals land on the card's I/O and are forwarded over the CoaXPress uplink or Camera Link's CC control lines. On CoaXPress this typically means latency from under a microsecond to a few microseconds, with jitter of a few nanoseconds in cameras that apply timing correction and up to a few hundred nanoseconds in cameras that do not. One input can drive every camera on the card, and higher-end cards synchronise across cards. It also removes separate trigger wiring to each camera, which helps on moving assemblies.

For line scan, the grabber's strength is encoder handling. It decodes quadrature A/B signals, can reject reverse motion, and divides or multiplies pulses to the required line rate. At 1 m/s with 50 µm pixels along the travel you need 20 kHz. An encoder giving 10 µm per pulse produces 100 kHz, so divide by 5. The card can also slice the continuous line stream into images of a defined height, started by a part-detect sensor. Many line-scan cameras accept an encoder directly, so check before adding a card for this reason alone.

On Ethernet, action commands and PTP (IEEE 1588) offer network-level synchronisation without extra wiring. This is sufficient for many multi-camera cells, but accuracy depends on camera and switch support, and hardwired triggering remains the simplest way to get tight timing.

Multi-camera, high-throughput systems are where bandwidth, buffering and triggering interact, so size them as a whole. AIS Vision integrates complete acquisition chains, and Rosepetal can run AI inspection on the images they deliver.

Frequently asked questions

Related categories

  • Frame grabbers
  • Acquisition and control
  • High-speed cameras
  • Line scan cameras

Related guides

Recommended hardware

Acquisition and control

All acquisition and control →

High-speed cameras

All high-speed cameras →
  • iRAYPLE AX5A22MX060E machine vision camera
    iRAYPLEiRAYPLE AX5A22MX060EAX5A22MX060E
    • Area scan
    • CoaXPress, CXP-6
    • 12.6 MP
    • Global shutter
    • Rosepetal compatible
    • Recommended by AIS Vision
    On request
    View
  • Omron / Sentech Sentech STC-MCS163U3V machine vision camera
    Omron / SentechOmron Sentech STC-MCS163U3VSTC-MCS163U3V
    • Area scan
    • USB3 Vision
    • 1.6 MP
    • Global shutter
    • Rosepetal compatible
    • Recommended by AIS Vision
    On request
    View

Request a technical quote

If you have a specific application, we help you select the right hardware and validate it.