-
- News
- Books
Featured Books
- smt007 Magazine
Latest Issues
Current IssueSupply Chain Strategies
A successful brand is built on strong customer relationships—anchored by a well-orchestrated supply chain at its core. This month, we look at how managing your supply chain directly influences customer perception.
What's Your Sweet Spot?
Are you in a niche that’s growing or shrinking? Is it time to reassess and refocus? We spotlight companies thriving by redefining or reinforcing their niche. What are their insights?
Moving Forward With Confidence
In this issue, we focus on sales and quoting, workforce training, new IPC leadership in the U.S. and Canada, the effects of tariffs, CFX standards, and much more—all designed to provide perspective as you move through the cloud bank of today's shifting economic market.
- Articles
- Columns
- Links
- Media kit
||| MENU - smt007 Magazine
Case Study: Achieving Near-Perfect Reads of Data Matrix Codes in PCB Assemblies
July 14, 2016 | Cognex Corp.Estimated reading time: 3 minutes

A major supply chain solutions company performs PCB assembly in a Mexican plant. The solder connections on the PCB are inspected with a vision solder inspection machine. A 2D Data Matrix code on the bottom of each PCB needs to be read at the time of inspection so the inspection results can be stored in a database.
Originally, the customer was not able to read the matrix codes because its AOI system wasn’t equipped with a camera on the bottom. The problem was solved with the installation of a vision-based reader that handles a wide range of degradations to the printed code. The result was a read rate over 99.9% and a significant improvement in the throughput of the assembly process.
2D Data Matrix Code Reading Challenges
The supply chain solutions company produces a wide range of PCBs for its customers and often inspects solder connections with AOI systems that offer inspection speeds up to 55cm2/sec for post-reflow and 65cm2/sec for pre-reflow.
The system integrator was tasked to provide the AOI system and make it work in this application. However, the code reader that is most commonly used in this type would be unable to provide high enough read rates due to degradation seen in the codes. Though Data Matrix codes have built-in error correction, 'no-reads' can still occur when codes are incomplete. So apart from a fast, compact reader capable of reading codes with varying amounts of degradation, the system needs the ability to emulate a USB keyboard in order to easily interface with the AOI system.
Figure 1: This picture shows the AOI's entrance and space where the reader needed to be installed. A support base was designed to be set up on the xyz axis as shown with the red lines.
PCBs can be marked with a number of different marking technologies such as dot peen or laser etching. 2D Data Matrix codes require as little as 20% contrast between the code and the marking surface, much less than linear barcodes. This allows the code to be marked on difficult surfaces of metal, non-metallic, and plastic components. Built-in error correction allows the encoded information to be captured even if the Data Matrix symbol is somewhat degraded.
But the range of 2D Data Matrix marking techniques and PCB materials means that the appearance of the marks can vary dramatically from one situation to the next. The result is often codes with low contrast, poor cell position, or inconsistent cell size. In addition, the surface being marked can be matted, cast, or highly reflective, and is seldom as clean and uniform as a white label.
In addition to the selected marking method, the parts come in different colors or shapes and can be made from different materials. Surfaces include smooth and shiny, furrowed, striped, streaked, or coarse granular. Reading such marks has been an enormous challenge until recently.
Space and Time Limitations
In this application, a conveyor feeds PCBs into the machine, but code reading needs to be performed outside the machine because of the potential for the machine to be moved. Only about 2in are available above the surface of the PCB to mount the reader. The high speed and continuous operation of the conveyor gives the reader little time to acquire and analyze the image.
Figure 2: This shows the limited space available to install the reader in the AOI.
The system integrator installed a Cognex DataMan 100 code reader, which met all of the requirements of this application. This image-based reader uses solid-state camera technology to capture full-frame images in a single snapshot, avoiding the need to cross a barcode with scan lines from end to end the way lasers do. When an imager captures a frame containing a barcode, it can locate that code anywhere within the frame. The code reader also incorporates a proprietary algorithm that can identify and decode even severely damaged or poorly marked Data Matrix codes.
Figure 3: Another view of the reader installed in the AOI.
Improved Throughput on Inspection Operation
The installation of the image-based ID reader enabled the process to produce a near 100% read rate. The supply chain solutions company has increased its production by reducing downtime required for opening the inspection machine and manually entering the labels. The result is substantial time savings and throughput improvements for its customers. The management is so pleased that it is planning to purchase additional devices for other assembly lines.
Testimonial
"Advertising in PCB007 Magazine has been a great way to showcase our bare board testers to the right audience. The I-Connect007 team makes the process smooth and professional. We’re proud to be featured in such a trusted publication."
Klaus Koziol - atgSuggested Items
ViTrox Unveils Smart 3D AOI Solutions, Pioneering Dual-Sided Inspection and Robotic Vision Solutions for Back-end Assembly Processes
08/04/2025 | ViTroxViTrox, which strives to be the World’s Most Trusted Technology Company, proudly announces the launch of its new-generation innovations in Automated Optical Inspection (AOI) technology for back-end assembly processes.
TRI Unveils New Platform for Diverse Board Sizes
07/14/2025 | TRITest Research, Inc. (TRI), the leading test and inspection systems provider for the electronics manufacturing industry, proudly introduces a new size configuration for SPI and AOI Models.
Smarter Machines Use AOI to Transform PCB Inspections
06/30/2025 | Marcy LaRont, PCB007 MagazineAs automated optical inspection (AOI) evolves from traditional end-of-process inspections to proactive, in-line solutions, the integration of AI and machine learning is revolutionizing defect reduction and enhancing yields, marking a pivotal shift in how quality is managed in manufacturing.
SolderKing’s Successful Approach to Modern Soldering Needs
06/18/2025 | Nolan Johnson, I-Connect007Chris Ward, co-founder of the family-owned SolderKing, discusses his company's rapid growth and recent recognition with the King’s Award for Enterprise. Chris shares how SolderKing has achieved these award-winning levels of service in such a short timeframe. Their secret? Being flexible in a changing market, technical prowess, and strong customer support.
ZETWERK Enhances Manufacturing Capabilities with TRI
06/04/2025 | TRITest Research, Inc. (TRI), the leading test and inspection systems provider for the electronics manufacturing industry, is pleased to announce that ZETWERK Electronics has integrated TRI's Automated Optical Inspection (AOI) and Solder Paste Inspection (SPI) solutions into its state-of-the-art manufacturing facility in Tamil Nadu.