-
- News
- Books
Featured Books
- smt007 Magazine
Latest Issues
Current IssueIntelligent Test and Inspection
Are you ready to explore the cutting-edge advancements shaping the electronics manufacturing industry? The May 2025 issue of SMT007 Magazine is packed with insights, innovations, and expert perspectives that you won’t want to miss.
Do You Have X-ray Vision?
Has X-ray’s time finally come in electronics manufacturing? Join us in this issue of SMT007 Magazine, where we answer this question and others to bring more efficiency to your bottom line.
IPC APEX EXPO 2025: A Preview
It’s that time again. If you’re going to Anaheim for IPC APEX EXPO 2025, we’ll see you there. In the meantime, consider this issue of SMT007 Magazine to be your golden ticket to planning the show.
- Articles
- Columns
Search Console
- 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.
Suggested Items
Hunting for Clues: Feng Xue Solving Circuit Board 'Crimes' With AOI Standard
05/08/2025 | Linda Stepanich, IPCWhen residents in sleepy English villages needed a top-tier detective to solve a murder, they called on Belgian super-sleuth Hercule Poirot, author Agatha Christie’s fictional detective famous for using his “little grey cells” to solve crimes. In the same way, IPC standards development committees, when creating a standard to detect defects in circuit boards using Automated Optical Inspection (AOI), call on IPC A-Team, Hercule.
Real Time with... IPC APEX EXPO 2025: TRI Innovation—Transforming Semiconductor Inspection with AI Technology
04/25/2025 | Real Time with...IPC APEX EXPONolan Johnson talks with David Chiu, USA Sales Manager for TRI Innovation. TRI uses advanced technology to tackle challenges in inspecting tiny components. Their AI programming reduces coding time by 75%, enhancing efficiency in inspections. Collaborating with Nvidia, TRI integrates GPU technology to improve product development and encourages customers to share data for better AI performance.
Koh Young Installs 24,000th Inspection System at Fabrinet Chonburi
04/23/2025 | Koh YoungKoh Young, the global leader in True 3D measurement-based inspection and metrology solutions, proudly announces the installation of its 24,000th inspection system at Fabrinet Chonburi in Thailand. This advanced facility is operated by Fabrinet Co., Ltd., a global provider of advanced manufacturing services, specializing in complex optical, electro-optical, and electronic products
Real Time with... IPC APEX EXPO 2025: A Close Look at Inspection Technologies in the EMS Industry with Viscom
04/16/2025 | Real Time with...IPC APEX EXPOJuan Briceno, VP Viscom Americas, sits down with Kelly Dack for this interview. Viscom is a leader in inspection technologies for the EMS industry covering various inspection equipment like AOI and X-ray systems. Juan highlights Viscom's role in quality assurance. The discussion includes the impact of artificial intelligence on manufacturing processes and the benefits of 3D inspection techniques for defect detection. The importance of quality control and problem identification through AI is also emphasized.
Upgrade and Set Sail: The New ViTrox Exhibition Center Opens Up New Innovative Experiences
04/02/2025 | ViTroxViTrox, committed to becoming the world's most trusted technology company, is pleased to announce that its showroom in Shenzhen, China has been completely upgraded and reopened.