Cargando…
A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board †
The fiducial-marks-based alignment process is one of the most critical steps in printed circuit board (PCB) manufacturing. In the alignment process, a machine vision technique is used to detect the fiducial marks and then adjust the position of the vision system in such a way that it is aligned with...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7248842/ https://www.ncbi.nlm.nih.gov/pubmed/32403333 http://dx.doi.org/10.3390/s20092736 |
_version_ | 1783538464399032320 |
---|---|
author | Le, Minh-Tri Tu, Ching-Ting Guo, Shu-Mei Lien, Jenn-Jier James |
author_facet | Le, Minh-Tri Tu, Ching-Ting Guo, Shu-Mei Lien, Jenn-Jier James |
author_sort | Le, Minh-Tri |
collection | PubMed |
description | The fiducial-marks-based alignment process is one of the most critical steps in printed circuit board (PCB) manufacturing. In the alignment process, a machine vision technique is used to detect the fiducial marks and then adjust the position of the vision system in such a way that it is aligned with the PCB. The present study proposed an embedded PCB alignment system, in which a rotation, scale and translation (RST) template-matching algorithm was employed to locate the marks on the PCB surface. The coordinates and angles of the detected marks were then compared with the reference values which were set by users, and the difference between them was used to adjust the position of the vision system accordingly. To improve the positioning accuracy, the angle and location matching process was performed in refinement processes. To overcome the matching time, in the present study we accelerated the rotation matching by eliminating the weak features in the scanning process and converting the normalized cross correlation (NCC) formula to a sum of products. Moreover, the scanning time was reduced by implementing the entire RST process in parallel on threads of a graphics processing unit (GPU) by applying hash functions to find refined positions in the refinement matching process. The experimental results showed that the resulting matching time was around 32× faster than that achieved on a conventional central processing unit (CPU) for a test image size of 1280 × 960 pixels. Furthermore, the precision of the alignment process achieved a considerable result with a tolerance of 36.4 μm. |
format | Online Article Text |
id | pubmed-7248842 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-72488422020-06-10 A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † Le, Minh-Tri Tu, Ching-Ting Guo, Shu-Mei Lien, Jenn-Jier James Sensors (Basel) Article The fiducial-marks-based alignment process is one of the most critical steps in printed circuit board (PCB) manufacturing. In the alignment process, a machine vision technique is used to detect the fiducial marks and then adjust the position of the vision system in such a way that it is aligned with the PCB. The present study proposed an embedded PCB alignment system, in which a rotation, scale and translation (RST) template-matching algorithm was employed to locate the marks on the PCB surface. The coordinates and angles of the detected marks were then compared with the reference values which were set by users, and the difference between them was used to adjust the position of the vision system accordingly. To improve the positioning accuracy, the angle and location matching process was performed in refinement processes. To overcome the matching time, in the present study we accelerated the rotation matching by eliminating the weak features in the scanning process and converting the normalized cross correlation (NCC) formula to a sum of products. Moreover, the scanning time was reduced by implementing the entire RST process in parallel on threads of a graphics processing unit (GPU) by applying hash functions to find refined positions in the refinement matching process. The experimental results showed that the resulting matching time was around 32× faster than that achieved on a conventional central processing unit (CPU) for a test image size of 1280 × 960 pixels. Furthermore, the precision of the alignment process achieved a considerable result with a tolerance of 36.4 μm. MDPI 2020-05-11 /pmc/articles/PMC7248842/ /pubmed/32403333 http://dx.doi.org/10.3390/s20092736 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Le, Minh-Tri Tu, Ching-Ting Guo, Shu-Mei Lien, Jenn-Jier James A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title | A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title_full | A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title_fullStr | A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title_full_unstemmed | A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title_short | A PCB Alignment System Using RST Template Matching with CUDA on Embedded GPU Board † |
title_sort | pcb alignment system using rst template matching with cuda on embedded gpu board † |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7248842/ https://www.ncbi.nlm.nih.gov/pubmed/32403333 http://dx.doi.org/10.3390/s20092736 |
work_keys_str_mv | AT leminhtri apcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT tuchingting apcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT guoshumei apcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT lienjennjierjames apcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT leminhtri pcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT tuchingting pcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT guoshumei pcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard AT lienjennjierjames pcbalignmentsystemusingrsttemplatematchingwithcudaonembeddedgpuboard |