Delvitech, based in Mendrisio, Switzerland, designs and manufactures AI-driven systems for 3D Automated Optical Inspection (AOI) and Solder Paste Inspection (SPI) of assembled printed circuit boards. Its machines use neural networks to recognise components, including ones they have not seen before, and to assess their placement and the quality of the soldering.
The challenge
Inspection has to keep pace with the assembly line. A multi-camera head scans the whole surface of the board, and each set of frames, with every component it depicts, must be analysed within a strict real-time budget.
Delvitech’s data processing is distributed across several software components. While this design keeps the software modular, it also spreads the processing time across the pipeline and introduces a communication overhead, so it was not immediately obvious where the time was spent.
Our contribution
eXact lab profiled the platform end to end to locate the bottlenecks, and then optimised the pipeline:
- Architecture analysis, to understand how data flows through the platform;
- Profiling of hotspots and bottlenecks, at the level of individual components;
- Optimisation of the components on the critical path;
- Optimisation of inter-process communication, reducing the overhead of moving data between components.
Results
In a short, focused engagement, eXact lab reduced the processing time of Delvitech’s software by over 30% on the reference benchmark, giving the inspection pipeline more headroom within its real-time budget.