M
Member
A degraded camera link almost never reports itself as a link error. It reports as "the robot misses a part occasionally", "the image tears at the bottom", or "grip pose is a bit off on this line". By the time someone checks the cable, three weeks of yield data have already been lost.
The mapping from symptom to layer is the useful part. Here is the one we work to.
Bandwidth first, because it looks like an error
Reference numbers: Camera Link Base at 85 MHz with 24-bit pixels is ~255 MB/s; CoaXPress CXP-6 is 6.25 Gbps per lane, up to four lanes; GigE Vision is ~120 MB/s; 10GigE is ~1.1 GB/s.
- If the symptom is "frames drop at the end of a long sequence, fine at the start", it is a bandwidth or flow-control problem, not a link error. A 5 MP camera at 60 fps in 8-bit is 300 MB/s - above Camera Link Base and near GigE's limit once overhead is counted. Dropping the last frames of a burst is the queue draining, not the cable failing.
- If the symptom is a horizontal black band or a torn half-frame, that is a CRC or packet loss event. On Camera Link it usually means connector seating, bend radius, or PoCL voltage drop at the far end; on GigE it means jitter buffers and lost packets.
PoCL and cable length, with a number
At 10 m of Camera Link cable carrying 1 A of PoCL current, the voltage drop from the conductor resistance is roughly 1 V. If the camera needs 12 V ±5% and sees 11 V, it may boot but drop frames under load. Measure at the camera end, not at the frame grabber. The same class of problem appears on longer runs with thin conductors: everything passes at bench temperature, then fails inside a 40 °C enclosure where the camera draws more current.
Trigger timing is a different layer, and it is where "pose jitter" comes from
If the image is clean but the pick pose wanders, stop looking at the link. Measure the trigger path: encoder edge to exposure start. A 1 ms motion cycle with a 200 μs trigger jitter at 500 mm/s gives 0.1 mm of position uncertainty before any vision error - enough to move a grip outside tolerance. Put a scope on the trigger line at the camera, not at the PLC output; the difference between the two is the optocoupler and cable delay, and it is usually the larger term.
What the frame grabber counters should tell you, in order
1. CRC / link error count per second. Growing at all is a physical-layer problem: connector, bend, PoCL, or a cable that got pinched by a cable carrier.
2. Missed trigger count. Non-zero with clean CRC means the trigger hardware, not the link.
3. Overrun / dropped buffer count. Points at host-side bandwidth: PCIe lane allocation, RAID contention, or an antivirus scan on the frame buffer path.
4. Timestamp drift between cameras. Multi-camera sync depends on a shared trigger or PTP; drift shows up as a slowly changing inter-camera offset, never as an error.
Three misreads we see repeatedly
- Replacing the camera when the cable is the problem. The new camera works for two weeks because the connector was re-seated during the swap, then the symptom returns.
- Turning up exposure or gain to "stabilize" the image when the real issue is dropped frames. Longer exposure makes motion blur worse and hides nothing.
- Treating occasional half-frames as a software bug. Half-frames are almost always a physical-layer event; software does not produce a clean horizontal cut line.
Open question: for a multi-camera cell on a moving gantry, do you put the trigger distribution in the frame grabber, or in a separate encoder-splitter with equal-length cables? We have seen the second approach buy 100 μs of skew consistency, and I would like to know what others measure.
Disclosure: we build fiber extenders and optical links for industrial vision, at F-tone Networks (fiberuni.com); the numbers above are from our own integration work.
The mapping from symptom to layer is the useful part. Here is the one we work to.
Bandwidth first, because it looks like an error
Reference numbers: Camera Link Base at 85 MHz with 24-bit pixels is ~255 MB/s; CoaXPress CXP-6 is 6.25 Gbps per lane, up to four lanes; GigE Vision is ~120 MB/s; 10GigE is ~1.1 GB/s.
- If the symptom is "frames drop at the end of a long sequence, fine at the start", it is a bandwidth or flow-control problem, not a link error. A 5 MP camera at 60 fps in 8-bit is 300 MB/s - above Camera Link Base and near GigE's limit once overhead is counted. Dropping the last frames of a burst is the queue draining, not the cable failing.
- If the symptom is a horizontal black band or a torn half-frame, that is a CRC or packet loss event. On Camera Link it usually means connector seating, bend radius, or PoCL voltage drop at the far end; on GigE it means jitter buffers and lost packets.
PoCL and cable length, with a number
At 10 m of Camera Link cable carrying 1 A of PoCL current, the voltage drop from the conductor resistance is roughly 1 V. If the camera needs 12 V ±5% and sees 11 V, it may boot but drop frames under load. Measure at the camera end, not at the frame grabber. The same class of problem appears on longer runs with thin conductors: everything passes at bench temperature, then fails inside a 40 °C enclosure where the camera draws more current.
Trigger timing is a different layer, and it is where "pose jitter" comes from
If the image is clean but the pick pose wanders, stop looking at the link. Measure the trigger path: encoder edge to exposure start. A 1 ms motion cycle with a 200 μs trigger jitter at 500 mm/s gives 0.1 mm of position uncertainty before any vision error - enough to move a grip outside tolerance. Put a scope on the trigger line at the camera, not at the PLC output; the difference between the two is the optocoupler and cable delay, and it is usually the larger term.
What the frame grabber counters should tell you, in order
1. CRC / link error count per second. Growing at all is a physical-layer problem: connector, bend, PoCL, or a cable that got pinched by a cable carrier.
2. Missed trigger count. Non-zero with clean CRC means the trigger hardware, not the link.
3. Overrun / dropped buffer count. Points at host-side bandwidth: PCIe lane allocation, RAID contention, or an antivirus scan on the frame buffer path.
4. Timestamp drift between cameras. Multi-camera sync depends on a shared trigger or PTP; drift shows up as a slowly changing inter-camera offset, never as an error.
Three misreads we see repeatedly
- Replacing the camera when the cable is the problem. The new camera works for two weeks because the connector was re-seated during the swap, then the symptom returns.
- Turning up exposure or gain to "stabilize" the image when the real issue is dropped frames. Longer exposure makes motion blur worse and hides nothing.
- Treating occasional half-frames as a software bug. Half-frames are almost always a physical-layer event; software does not produce a clean horizontal cut line.
Open question: for a multi-camera cell on a moving gantry, do you put the trigger distribution in the frame grabber, or in a separate encoder-splitter with equal-length cables? We have seen the second approach buy 100 μs of skew consistency, and I would like to know what others measure.
Disclosure: we build fiber extenders and optical links for industrial vision, at F-tone Networks (fiberuni.com); the numbers above are from our own integration work.