Air conditioning on, frames drop: a vision controller's cold clock joint and ground bounce, not the network
A consumer-electronics plant in eastern China runs a dozen visual inspection stations on an assembly line. The controllers are all imported machine-vision units, the cameras hang off Gigabit Ethernet, and once a summer the same thing happens: at about two in the afternoon, within fifteen minutes of the workshop air conditioning starting, the stations begin reporting Frame Lost. NG misjudgement rates climb, the line is throttled to keep up, and a restart fixes it until the next afternoon. The plant's younger engineers call it the air-conditioning curse. New cables, new cameras, a new switch — none of it helped.
The vendor's quote for the fix was to replace the whole image-acquisition controller including re-commissioning: roughly 200,000 RMB, twelve-week lead time. What the board actually had was a textbook combination — a cold solder joint in the clock circuit, plus ground bounce — that only appears when the board is cold and the compressor next door starts.
What the box does
A machine-vision controller is three layers. The camera layer is GigE Vision, USB3 Vision, CameraLink or CoaXPress. The middle layer is the frame grabber — an FPGA handling the physical layer and the timing. The third layer is the processing platform, an industrial or embedded motherboard, plus an IO interlock board that shakes hands with the PLC and the robot.
The industry spread is wider than most people assume. 3C electronics inspection — phone housings, display modules, SSD and DRAM gold fingers — runs 50,000–300,000 RMB per station. Automotive parts, full inspection of seals, spark plugs and bearings, 100,000–500,000. Food and pharma, capsule counting, fill level, packaging print, 30,000–150,000. Semiconductor test and assembly, lead coplanarity and fiducial alignment, 200,000–500,000 and up. The brands are the obvious ones: Cognex In-Sight and VC series, Keyence CV-X and XG-X, Matrox Radient eV and Rapixo, Euresys Coaxlink, SICK Inspector.
The economics are lopsided in a way that matters for repair. A single smart camera costs a few thousand to twenty thousand RMB and is unremarkable. But a multi-camera controller sets the takt time of an entire line, and its service policy mirrors a robot control cabinet: boards are not sold separately, and a failure means replacing the system.
Where these actually fail
Across 40-plus imported vision controller repairs over two years, the distribution is:
| Symptom | Share | Board-level cause |
|---|---|---|
| Frame loss / stream dropout | 30% | GigE CRC errors: cold clock solder joints, PoE ripple, cracked BGA joints |
| No POST / hang | 20% | Power board output ripple, oxidised RAM gold fingers |
| Rising NG rate | 15% | Illumination decay plus camera gain drift |
| IO interlock failure | 15% | Relay contact oxidation, optocoupler CTR decay |
| Multi-camera desync | 10% | Degraded clock buffer, RTC drift |
| Thermal throttling | 10% | Stopped fan, dried thermal compound |
The 30% is the interesting group, because a fault that correlates with time of day and temperature is almost always board-level, not network-level. Three mechanisms stack:
Thermal cycling of the clock joint. The 25 MHz crystal and the FPGA's BGA joints live through a nightly cycle of cool night, warm day, then a sudden chill when the air conditioning starts. A marginal solder joint expands and contracts, and at the temperature step it goes intermittent. Once the clock jitters, the Gigabit receiver cannot recover the data, CRC errors arrive in bursts, and frames are dropped.
Ground bounce. Dozens of FPGA IOs switch inside the same nanosecond window. Parasitic inductance in the return path lifts the reference ground by tens to hundreds of millivolts for an instant, and that lift eats directly into the clock sampling window. A board with generous margin survives it; a board with aged decoupling capacitors does not.
Mains disturbance at compressor start. A large compressor's inrush sags the voltage on the shared distribution circuit and injects common-mode noise, which travels in over PoE and over poorly shielded cable — delivering the last push to a clock circuit that was already marginal.
Stack the three and you get a fault that arrives on schedule at two in the afternoon and clears on reboot.
The five-step localisation
One: put the logs on a temperature axis. Vision controllers already count Frame Lost and CRC Error. Plot both against the workshop's temperature log. Strong correlation with temperature events points at the board's clock; a purely random pattern points at cables and connectors, and you should not open the box yet.
Two: isolate three layers. Frame loss can only originate in the link, the power, or the clock. Swap in shielded cable, swap the PoE port, connect a camera directly to the grabber to bypass the switch. If CRC errors still cluster on the capture side, the grabber board is the suspect.
Three: reproduce with thermal stimulus. This is the step that pays for itself. A heat gun on its lowest setting over the crystal and clock buffer area, or freeze spray for local cooling, reproduces the frame loss in tens of seconds and identifies the device on the spot. It is the same trick used on servo drives that report overcurrent only at night.
Four: measure, point by point. Scope the 25 MHz crystal for amplitude and frequency offset (±50 ppm is healthy), check the edges on each clock buffer output, measure FPGA core rail ripple (above 3% is abnormal), and use the press-and-heat method over the BGA area to confirm joints.
Five: regress properly. A 0–45 °C chamber cycle with 100,000 consecutive frames and zero loss, a multi-camera sync trigger check, and 500 interlock cycles against the PLC. The acceptance criterion for a vision system is not "it produces an image", it is "not one frame missing in a hundred thousand".
There is one gate specific to this class of repair. After replacing an FPGA or reworking the clock circuit, the GigE Vision / GenICam negotiation parameters have to be reproduced exactly, or the camera will not recognise the card. That protocol dependency is what separates vision controller repair from ordinary industrial PC work.
Why board-level repair is viable, and what to substitute
The arithmetic is stark. A four-camera imported controller is 120,000–250,000 RMB. A single grabber card as a spare is 20,000–50,000 with an 8–16 week lead time. The vendor's proposal is 150,000–200,000 plus three to seven days of downtime. Board-level repair runs 4,000–8,000 RMB per session, plus about 2,000 for BGA rework, with two to three days of turnaround. One day of downtime on a 3C line costs 50,000–200,000.
The substitution picture on the grabber is more mature than the reputation suggests. Xilinx Spartan and Artix parts can be replaced by Pango Logos or Anlogic SALPHOENIX, with the caveat that timing constraints have to be re-closed. The Marvell 88E1512 Gigabit PHY maps to Realtek RTL8211E with pin-compatible designs already common. TI's TUSB8041 USB3 hub maps to VIA VL817. Winbond and Micron memory map to GigaDevice GD25/GD5F and Longsys eMMC. Epson and NDK crystals map to domestic suppliers. TI and ADI power and isolation parts map to SG Micro LDOs, Mornsun DC-DC converters and NOVOSENSE isolators. The core FPGA protocol implementation is the one layer that is hard to clone in the short term.
The strategic point is that the parts which block a repair are rarely the parts which fail. The FPGA is the least reliable thing to substitute and among the most reliable things on the board. What actually breaks is the clock network, the PHY, the power tree and the passives — all substitutable, all cheap.