Artificial intelligence & SMEs: Our path to intelligent assembly testing

Is artificial intelligence only suitable for highly standardised processes in the industrial sector? Not for SMEs? Far from it!

Together with SNAP GmbH, we at A+B Electronic are taking the first steps towards using AI in our production. Read our article to find out what a small black box has to do with the smart factory concept.

What interests you most about this topic?

A black cube in front of the selective soldering wave - and now?

Bluish light illuminates the conveyor belt on which a THT assembly is slowly travelling. The assembler at the next table is already working on the next assembly. On its way to the selective soldering wave, the assembly passes through the black box before the parts are soldered. Just the daily routine of an EMS service provider - but what is the cube doing there?

„It's quite an innovation,“ says Andreas op den Winkel, one of the two project managers at A+B Electronic.

There are 2 cameras in the box that take 2 images of each assembly passing through, 4 images per assembly. With around 600 assemblies a day on this system, 5 days a week, that makes around 12,000 images a week. LED strips provide optimum lighting inside, while the black walls shield the light from outside.

Just a nice technical gimmick? Hardly.

„We're talking about an automatic and, above all, self-learning inspection of THT assemblies.“

Artificial intelligence, in other words. Self-learning neural networks. Backpropagation. Industrial image processing. All buzzwords that are not directly associated with EMS service providers. Industry 4.0 and Smart Factory with AI are no longer dreams of the future. Instead, the topic of AI is gaining momentum in the industry.

Schwarze KI-Box auf der THT-Lötanlage
A simple black box, mounted on the assembly line in front of our selective soldering wave.

SNAP GmbH – Moving humans with technology

The test phase: familiarisation with the algorithm

“We are currently in the test phase. The system is learning what a circuit board is and will then identify and classify components in the next step,” says op den Winkel. As with a new - and admittedly perhaps somewhat unfamiliar - employee, the first step is familiarisation: What is a capacitor? What is an IC? Where does which component belong?

Now it gets technical. The automated learning process is lengthy and not easy. Using large amounts of data, such as images of components, an artificial neural network learns to recognise patterns in the data. And also to recognise deviations. The training runs via what is known as backpropagation, or error feedback. In simple terms, various scenarios are run through in the system in order to detect possible errors and effects and automatically make adjustments.

Schwarze Box mit Licht und zwei Kameras auf der Produktionslinie
The inside of the box: LED strips and two cameras that take pictures of the incoming boards from different angles.

„Working with image data is a good basis for pattern recognition because the data is easily reproducible. And you can only build meaningful AI with large amounts of data.“

Dr. Corinna Weber
CEO
SNAP GmbH

Challenges of AI image recognition

“For the project, we are working with classic methods of artificial intelligence and building a system that can optimise itself,” explains Dr Weber. Of course, new technologies always come with challenges. “In the field of AI, the biggest challenge is probably the heterogeneity of the data. The data comes from different sources and is processed differently. We have to find a solution here so that employees don't have any additional work, for example when changing projects on the assembly line. The system must automatically pull the information it needs to check the PCB.” The motto is: the more effort you put into the set-up and test phase, the better the automation works in the ongoing process.

The problems with the hardware

In terms of hardware, one problem lies in the component heights. Op den Winkel summarises: “Interferences such as light must be excluded so that the images are as consistent in quality as possible. And the higher a component is, the higher the shaft through which the part enters the box has to be. This also allows more light to enter from outside.”

Once the system recognises all the components, the next step is to optimise the AI processes. “Then we have to integrate the circuit board data. This specifies the position of the components on the board. We can then define so-called ROIs, regions of interest, for image processing. This means that the entire image does not have to be viewed pixel by pixel, but only a predefined area. This makes the evaluation and learning process more efficient.”

„The more images the system takes and processes, the smarter the algorithm becomes.“

Andreas op den Winkel
Project Manager / Test Equipment Construction
A+B Electronic

We successfully bring your products into series production!

Call us at

+49 4487 9283 0

Contact now

How EMS and artificial intelligence come together at A+B Electronic

Of course, there are already AOI processes in the SMD and THT areas. “But we have to programme them ourselves and adjust them again and again,” says op den Winkel. “We have to adapt the programme every time too many pseudo errors occur, for example. By then, however, our colleagues in the revision department already have many assemblies to check, which in fact contain no errors. This allows the system to adapt itself in real time. We have much less to do with it.”

“Or especially in the THT area. It's enough to twist a capacitor on the module. It then has to be desoldered manually, turned round and soldered back in. That takes time. But if the AI recognises the error beforehand, the assembly line stops, the colleagues remove the assembly, correct the error and that's it. During revision, the time-consuming quality checks can be reduced to random samples while maintaining the same quality.”

„The big advantage is that we recognise errors on the assemblies before soldering. This means we don't have to rework manually and save time and money.“

Andreas op den Winkel
Project manager / test equipment construction
A+B Electronic

Artificial intelligence in industrial SMEs

Production processes are becoming more reliable and efficient through the use of AI. Even in medium-sized companies. “We are actually surprised that AI is not yet used so frequently in production. It can take some of the burden off employees, because AI thinks for itself,” says Dr Weber.

Quality control in particular can benefit from this, as the large amounts of data constantly provide new insights and information about the processes. The topic of AI in production can also be taken further. “It could be used in the PCB assembly process itself - or in device assembly,” says Andreas op den Winkel. “Or networking the machines with each other to streamline the entire production process,” considers Dr Corinna Weber.

While the project team ponders further possibilities of artificial intelligence in our manufacturing processes, the pick-and-place operator continues to work with concentration. Another circuit board passes through the photo box. 4 more pictures are taken. Perhaps not spectacular from the outside, but a huge step towards the smart factory on the inside.

Would you like to gain an insight into our production site in Huntlosen and see the intelligent box for yourself? Then find out more about us here - or contact us directly with no obligation. Then we can talk about future projects and how we can grow together.