Application articles

How a High-Speed Industrial Inspection Camera Works with Anlogic FPGA, Meritech SerDes, and JL Semi Ethernet PHY

How a High-Speed Industrial Inspection Camera Works with Anlogic FPGA, Meritech SerDes, and JL Semi Ethernet PHY

As PCBs, connectors, and metal parts move quickly along a conveyor, the camera has to capture each part at the right position to reveal defects in solder joints, terminals, or surfaces. The system then has to process the image and send it to an industrial PC in time for the production line to receive an inspection result before the part reaches the sorting station.

In this reference architecture, the Anlogic FPGA captures and preprocesses images. Meritech SerDes provides an optional link for a remote sensor head. The JL Semi Ethernet PHY sends the preprocessed image data over Gigabit Ethernet to the industrial PC, where the system determines whether the part is defective.

Anlogic FPGA processes images in real time inside the camera

A PLC or encoder can trigger image capture and synchronize exposure with strobe lighting so the camera captures each part at a predetermined position. When the CMOS image sensor and the processing board are in the same housing, the sensor can send images directly to the Anlogic PH1P35 FPGA over MIPI CSI-2.

After unpacking the pixel data, the FPGA can run image correction, noise reduction, and region-of-interest (ROI) extraction in a processing pipeline. For example, a camera inspecting connector terminals can crop the image to the terminal area and send it to the industrial PC to measure spacing and check for missing or misaligned terminals. When inspection requires only part of the image, this reduces the data sent to the host. The PH1P35’s integrated DDR can serve as a frame buffer, while its RISC-V MCU can handle sensor configuration and device control.

Meritech SerDes carries images from a remote sensor head to the main board

If an inspection station has room for only the lens and sensor head, the FPGA main board can be placed where cabling and maintenance are easier. One option is to use a Meritech M66S6x serializer at the sensor head to send images over a C³ Lync coaxial link to an M65Q6x deserializer on the main board. This lets designers position the sensor head and processing board independently.

Meritech designed these SerDes devices for automotive video transmission. For an industrial camera, verify that the selected deserializer output is compatible with the FPGA input, then test usable bandwidth, exposure triggering, and image transmission stability at the intended cable length.

JL Semi Ethernet PHY connects the camera to the industrial PC

After the camera packetizes the image data for GigE Vision, the Ethernet MAC passes it over RGMII to the JL Semi JL2121-N040I. This industrial-grade PHY handles physical-layer transmission and reception for copper Ethernet. With Ethernet magnetics and an RJ45 connector, it sends the image data to the industrial PC over 1000BASE-T. The system can use MDC/MDIO to configure the PHY and read link status. The industrial PC then checks for defects and classifies them.

For high-speed inspection, 1 Gbps is the Ethernet line rate. Packet and protocol overhead reduce the throughput available for image data. If full-frame images exceed measured throughput, evaluate whether adjusting the ROI, pixel format, or frame rate can reduce the data volume while preserving the information needed for defect detection.

Validate the entire imaging path against the production cycle time

Start with the smallest defect to detect, the speed of the part, the distance from the sensor head to the main board, and the amount of image data the host must receive per second. Defect size and part speed determine capture requirements. The installation layout determines whether a remote SerDes link is needed. The image data rate determines whether 1GbE is sufficient. Finally, measure the time from the capture trigger to the host’s inspection result to verify that the system can keep up with the production line.

Enlarge image