TY - JOUR
T1 - A PCB alignment system using rst template matching with cuda on embedded gpu board
AU - Le, Minh Tri
AU - Tu, Ching Ting
AU - Guo, Shu Mei
AU - Lien, Jenn Jier James
N1 - Funding Information:
Funding: This research was funded by the Ministry of Science and Technology (MOST), Taiwan, R.O.C., under Grant No. MOST 108-2221-E-006-143, by Contrel Technology Co., Ltd (Taiwan) and Tongtai Machine & Tool Co., Ltd (Taiwan).
Publisher Copyright:
© 2020 by the authors. Licensee MDPI, Basel, Switzerland.
PY - 2020/5/1
Y1 - 2020/5/1
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85084627233&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85084627233&partnerID=8YFLogxK
U2 - 10.3390/s20092736
DO - 10.3390/s20092736
M3 - Article
C2 - 32403333
AN - SCOPUS:85084627233
SN - 1424-3210
VL - 20
JO - Sensors
JF - Sensors
IS - 9
M1 - 2736
ER -