
Advanced manufacturing technologies are transforming and defining the factories of the future. Companies can now tap into a wealth of new tools, processes, and skillsets to optimize the manufacturing process, boost innovation, improve quality, reduce waste, and get to market faster. At Flex, electronics and assemblies (PCBAs) are critical to the products we make for our customers, and we have strategically invested in Industry 4.0 (I4.0) technologies that optimize electronics and PCBAs.

Two technologies that have proved beneficial are industrial internet of things (IIoT) and artificial intelligence (AI)/machine learning (ML), which gather and synthesize data to give a computer system its own intelligence to think and solve problems. This has enabled us to improve our fabrication, assembly and test processes along with validation using both inspection and test processes for electronics products. We first used AI/ML applications at specific sites to demonstrate their value to existing customers. Since then, we have captured learnings from the initial implementations to deploy to other sites, so that every Flex factory around the world can advance its operations and empower customers to be more agile, efficient, and competitive.
We kicked off the project in November 2021 and divided it into three discrete phases:

Eliminating bottlenecks in PCB
Historically, the PCBA testing process was onerous and time intensive. For one advanced technology customer it consisted of four stages, with one section comprising over 50 steps and lasting more than two hours. If a test failed, the product had to be sent back to the factory floor for debugging before undergoing the entire testing process again. Failing late in the process would add significant manufacturing time and create bottlenecks in throughput.
Our team wanted to find a way to make the PCBA testing process more efficient and reliable. Working with this customer at our Guadalajara, Mexico site, we knew that we could build greater trust and deepen our partnership by influencing the product and test design to be more efficient.
The result was an AI/ML application that learned from testing data and was able to reorder and prioritize test steps that were failing the most — putting them earlier in the process so that tests would not fail at the last step — and those that were most important to the functioning of the PCBA.
The development and implementation of this solution took only two months, but it enabled Flex to reduce test time, identify redundant tests, and reduce the overall number of steps in the PCBA testing process. The customer working with our Guadalajara site achieved impressive results, including:
30%
Overall reduction
in test time
50%
Reduction of test time in
the case of failures
The success at the Guadalajara site led the Flex team to deploy the AI/ML solution to a second site in North America. At this site, legacy PCBA test times were 10-25 hours, but with the proposed AI/ML solution, we have seen a 20-25% reduction in test time. The second site has also improved throughput and is now able to produce and test 35% more electronics daily.
Improving quality through inspection
AI/ML has also been used to significant effect for electronics product vision inspections. Traditionally, human workers inspected products as they traveled through the manufacturing line, but as product demands and timeline speeds increased, it became more difficult to get quality inspection right. Inspection criteria became increasingly wide-ranging, covering screws, wires, labels, and defects to other vital components. Over a shift, workers also experienced visual fatigue, resulting in more errors.
In 2022, Flex implemented two AI/ML based vision detection and inspection systems on the factory floor. This system used trained neural networks to detect defects that were difficult to see with conventional vision systems or by human inspectors. After the system was deployed, it continued to learn, getting more intelligent and catching more errors over time.
The system was trained to spot key error groups, including:

Image classification whether the picture is correct or incorrect

Object detection whether there is an identifiable defect, such as a scratch

Segmentation
beyond identifying and locating a defect, providing its shape and impact

Anomaly detection
whether there is an anomaly from the reference picture
This new inspection system resulted in greater performance and yield, while enabling us to reduce scrap by identifying issues before a part was sent to another step in the line. By eliminating legacy inspection stations, Flex was also able to optimize factory floor space and make room for other lines and solutions.
In one deployment, implementing the tool to inspect nuts, the team saw improved product yield by 97%, payback from the initial investment in less than a month, and efficiency improvements of over 30%.
In another site, implementing the tool to improve efficiency and reduce the costs of four products with sheet metal components, the team saw efficiency improvements of 28% and ROI of 388%.
The most significant impact of the AI-based inspection systems was its impact on the inspection staff, who were up-leveled to manage the innovative technology. This has increased employee morale and provided employees with more fulfilling career opportunities.
This solution has been so successful to date that we have deployed AI/ML product inspections at 15+ sites, with the goal of expanding the technology more broadly in the future.
Continuous learning and innovation
At Flex, we are always working at the forefront of I4.0 technologies and seeking new ways to help our customers create the extraordinary. Our engineers are innovating with the latest technologies, including AI/ML methodologies, to develop the tools and resources needed to continuously optimize production operations.
As with AI/ML, which improves over time as it collects more data and learns from experience, our team executes I4.0 solutions and then applies our learnings to other sites across the globe. We continue to seek new ways to deploy advanced technologies like AI/ML to drive real-world business impact for our customers.