How Many Cameras Can One USB 3.0 Controller Actually Run?

Engineering Note · Integration

The question is never “how many cameras will this port take”. It is “how many bytes per second will this controller carry, and how many cameras does that buy me at my resolution”. Those are different questions, and the second one has an answer you can compute before you buy anything.

This note gives you the arithmetic, works it twice in full so you can check your own numbers against it, and then explains why the number of ports on the box is not the number you should be reading.

Unit convention, before any numbers

Every figure below uses MB = 106 bytes. Windows Task Manager and most camera utilities report MB/s on this convention. If your tool reports MiB/s, divide by 1.048576 or you will overestimate capacity by about 5% — which is exactly the margin that disappears under load.

The only two formulas

Bandwidth per stream:

bytes/s = width × height × bytes per pixel × frames per second

Cameras per controller:

cameras = controller payload ÷ bandwidth per stream

Bytes per pixel is 1 for 8-bit mono and 3 for 8-bit colour. Twelve-bit mono packs into 2 bytes and wastes 4 bits; if your pipeline unpacks to 16-bit before transmission, you pay for 2 bytes, not 1.5.

Worked example, in full

A 5 MP colour camera at 25 fps, 2448 × 2048, 8-bit per channel:

  • 2448 × 2048 = 5,013,504 pixels per frame
  • × 3 bytes (colour) = 15,040,512 bytes per frame = 15.04 MB
  • × 25 fps = 376,012,800 bytes/s = 376.0 MB/s

Against a working budget of 380 MB/s, that is one camera per controller, with 4 MB/s of headroom. Two of these on one controller is not “slightly over” — it is double.

Now the same sensor in 8-bit mono:

  • 5,013,504 × 1 = 5.01 MB per frame
  • × 25 fps = 125.3 MB/s
  • 380 ÷ 125.3 = 3.03 → three cameras

Colour cost you a factor of three. Nothing about the sensor changed.

The table you can check

All rows computed as above, 8-bit mono, divided into 380 MB/s and rounded down:

Resolution fps MB per frame MB/s per stream Per controller (380 MB/s)
640 × 480 30 0.31 9.2 41 — CPU and interrupt bound long before this
1280 × 720 60 0.92 55.3 6
1920 × 1080 30 2.07 62.2 6
1920 × 1080 60 2.07 124.4 3
3840 × 1080 60 4.15 248.8 1
3840 × 2160 30 8.29 248.8 1
3840 × 2160 60 8.29 497.7 0 — will not fit on one Gen 1 controller

For colour, multiply the MB/s column by three. The last column then follows from the same division. If you skip this, every number in the table is wrong by a factor of three.

Derate the total, not just each stream. 380 MB/s is what a controller delivers to one stream. With four devices running, protocol overhead rises and the usable aggregate falls — plan against roughly 85% of the sum, or about 320 MB/s. A design that needs 370 MB/s across three cameras will show frame loss on the bench and pass a single-camera test.

Where 380 comes from, and why it is not 500

USB 3.0 Gen 1 signals at 5 Gbps. The line encoding is 8b/10b, which spends two bits for every eight of payload, so the ceiling is 5 ÷ 10 × 8 = 4 Gbps, or 500 MB/s.

What remains after that is protocol overhead: packet headers, flow-control credits, link management, and the controller’s own arbitration. In practice a single-stream Bulk transfer lands between 350 and 420 MB/s, and 380 is a fair working value. UVC on SuperSpeed uses Bulk endpoints precisely because they recover lost packets — which is also why a marginal cable degrades throughput instead of producing visible corruption.

None of this is a guarantee for your host. Measure your controller before you fix a frame rate in a specification. The method is in the last section.

Why the port count lies

This is the part that costs people weeks.

A four-port hub is one controller with one budget. Four cameras plugged into it share a single 5 Gbps upstream link. Adding the fifth camera does not add capacity; it divides what exists.

A four-controller PCIe card is four budgets. Four independent xHCI chips each negotiate their own link, and each carries its own 380 MB/s.

Both are sold as “4-port USB 3.0”. The difference is a factor of four in capacity, and it is not visible on the box.

4-port hub / single-controller card 4-controller PCIe card
SuperSpeed budgets 1 4
1080p60 mono cameras 3 total, all ports combined 3 per controller → 12
Failure mode when overloaded All four degrade together Only the loaded controller degrades
Typical cost Low Higher, and needs PCIe lanes

How to tell which one you have, without opening the box:

  • Linux: lsusb -t. Devices sharing a controller appear under the same tree with the same root Bus. Four cameras under one root at 5000M share one budget.
  • Windows: Device Manager → View → Devices by connection. Count the USB xHCI host controller entries. One controller with a hub under it is one budget.

If four cameras sit under one root hub, you have one budget of 380 MB/s no matter how many ports the card advertises.

Four actions when you run out, cheapest first

  1. Send less. Region of interest is free capacity. A 1920 × 1080 stream cropped to the 640 × 480 that actually contains the part is 9.2 MB/s instead of 124.4 — a 13× saving for a change in the acquisition configuration and no hardware at all.
  2. Lower the frame rate. Bandwidth is linear in fps. 60 to 30 halves it and often costs nothing, because the downstream algorithm was running at 20 fps anyway.
  3. Drop to 8-bit mono if the inspection does not need colour. This is the single largest factor available without new hardware.
  4. Add a controller, not a hub. A second xHCI chip adds a budget. A hub divides the one you have. This is the step people get wrong after the first three fail.

When this arithmetic stops being true

  • You need hardware-synchronised cameras. The binding constraint becomes trigger routing, not bandwidth. On a shared controller, USB frame timing is not deterministic enough for tight multi-camera sync no matter how much headroom you have.
  • The host is an embedded SoC. All controllers share one root complex and one memory bus. Budget well below 380 MB/s per controller, and measure on the target board — not on a desktop.
  • Your pipeline compresses on the module. Then the bus figure is the compressed rate, and you have moved the cost to CPU decode. Those are two separate budgets; do not add them into one number.
  • You are counting bursts. Everything here is sustained throughput. A camera that bursts into an on-module buffer can exceed these figures briefly and still be limited by them over a minute.

Ten minutes on the bench, before you buy

Prove the budget instead of trusting it:

  • Open every stream at once and let it run 10 minutes. Short tests hide thermal and buffer effects.
  • Record the actual delivered frame rate and the dropped-frame counter per camera. Negotiated frame rate is not delivered frame rate.
  • Stop one stream at a time. The first camera whose removal restores full frame rate on all the others is the stream that broke the budget.
  • Divide your total by the number of controllers you found with lsusb -t. That quotient is your real per-controller figure, not 380.
  • Repeat with the cameras at the cable lengths you will actually route. A downgraded link changes the answer completely — see the note on five metres.

What we do about it

Our modules are UVC and MIPI. UVC means the bandwidth question above applies exactly as written, and we would rather you sized the host correctly than discovered it at commissioning.

If you send us the resolution, frame rate, colour depth and camera count, we will run this arithmetic against your host and tell you how many controllers you need — including the case where the honest answer is that USB is the wrong bus for your camera count.

Send us the numbers and we will do the arithmetic

Written by the engineering team at IVCCAM. Throughput figures are typical values for USB 3.0 Gen 1 hardware, stated so you can do the arithmetic — they are not guarantees for a specific controller. Measure your own host before you fix a frame rate in a specification.