Abstract
Printed Circuit Boards (PCBs) are components with increasing use for many applications. The industrial production of these components led to a situation of necessary efficient automation performance, for their production, and, mainly, of test systems for their quality control during the production process. Quality control of PCBs is a very complex task and the development of automatic testing machines is an asset for this purpose. This work is focused on the development of a vision system to be used in an automatic machine for testing PCBs in a systematic and automated procedure. The test procedure developed for PCBs is based on the development of a tool composed of needles that, when coming into contact with PCBs at predetermined contact points, allow the measurement of different predefined parameters and conclusion on their quality. The task of checking and controlling the quality of these needles, in the developed tool, is also automated, requiring a vision system to ensure that these needles meet the requirements for their assembly. This vision system is capable of detecting problems in the needle beds, and it is important to assess whether they will be able to be embedded in the PCBs, taking this process into account.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Technological production is growing today at a very high rate, which drives electronic equipment manufacturers into a race for the supply of electronic components at a high rate. Printed circuit boards (PCBs) are an electronic component widely used globally and represent a highly developed market [1].
Increasingly, PCB boards have a reduced size and an increase in electronic components on them one of the main problems affecting the production of PCBs is the fact that there are not many quality analysis systems in the electrical quality testing phase (circuit test systems - ICT systems) in the automotive industry [1].
This lack of analysis/quality check leads to plates being rejected or left on standby in order to be repaired at a later stage [1].
The big problem lies in the fact that PCBs are still mostly produced by hand. This leads to failures in the manufacture of ICT systems in the final product. Often these needles can suffer damage caused by the handling systems or transport systems of the same [1].
ICT systems consist of a test plate (DUT) and a set of needles that are placed on it. The needle bed consists of a test plate that can be of different sizes and has several holes. Here in these holes the receptacles and needles will be inserted. On the other side of the test plate, the set consisting of the receptacle and the needle, is coupled to a wiring system for electrical connections.
This wiring system allows electrical parameters to be measured on the PCB and a connection between software and printed circuit board [1]. Figure 1 shows each side of the test plate in detail: the needle bed and the wiring system, respectively [1].
The needles are manually inserted into the receptacles, which serve as a guide for the needles (see Fig. 2). This manual manufacturing process can take longer than a week depending on the type of PCB being tested. This being a repetitive process that requires operators to have a high sense of responsibility and level of concentration, mistakes can happen with the wrong choice of needles.
Luís Freitas et al. (2021), defined a set of defects that occur in the manufacturing process in PCBs and that affect the productivity and quality of the final product, namely [1]:
-
Perpendicularity between the receptacle axis and the test plate [1];
-
Precision placement of the receptacle [1];
-
Defects that may be present in the needles according to their entire routing process until they are placed by the operators on the PCB (this is where this article focuses) [1];
-
The angle and force applied by the technician to the receptacles [1];
This work focuses on the process of analyzing the quality of the needles through the implementation of an artificial vision system that will allow a correct insertion of good quality needles in the receptacles, thus avoiding the rejection of PCBs.
To achieve the proposed objectives, the article is organized as follows: Sect. 2 presents a brief description of systems that exist on the market and that use vision systems to detect defects in needles. Section 3 describes how an artificial vision system works and what equipment is used in industrial applications; Sect. 4 presents the vision system that is used for needle quality analysis; Sect. 5 presents the main results, focusing on the most important aspects and also the techniques used to obtain them. Finally, the last section presents the conclusions summarizing the objectives achieved with this solution and the steps to be taken in the future.
2 State of Art
In order to present a conceptual solution to solve a problem related to the quality of needles, this chapter presents in Subsect. 2.1, a description of current systems and in which manufacturing processes are most used in the medical industry.
In Subsect. 2.2, applications with vision systems in the analysis of needle quality in the textile industry are presented.
Finally, in Subsect. 2.3, more applications in other industries with vision systems in the analysis of needle quality will be presented.
2.1 Needle’s Vision Systems in Medicine Applications
Balter et al. (2017) presented a paper on how to explained a series of motion tracking experiments using a vision system in conjunction with an ultrasound system and force detection to guide the position and orientation of the needle tip (see Fig. 3). The system enabled automated venipuncture, which provides and combines 3-D NIR and US imaging software, computer vision and image analysis, and a 9-DOF Needle Manipulator in a portable shell. The device operated by mapping the 3-D position of a selected vessel and introducing the needle into the center of the vein based on real-time image guidance and force [2].
2.2 Needle’s Vision Systems in Textile Industry Applications
Zhang, Zhouqiang et al. (2020) presented a paper on how to explained a needle detection system of a hosiery machine based on machine vision (see Fig. 4). A system was then created to detect problems with knitting needles quickly and accurately based on machine vision [3].
The system can detect problems with the knitting needle, and the needle causing the problem can be identified as the beginning of the fabric defect. In image processing, the vertical projection algorithm is introduced into the system, and the image binarization defect is improved [3,4,5].
2.3 Needle’s Vision Systems in Other Applications
Jing Yang et al. (2020) presented a paper explaining how to a stable and accurate real-time tiny parts defect detection system and solve the problems of manual setup of conveyor speed and industrial camera parameters in defect detection for factory products. 0.8 cm darning needles were used as an experimental object.
The four types of defects on 0.8 cm darning needles, which are often used in actual production, they are crooked shapes, length size errors, terminal size errors and twist. An industrial vision camera was used in this project to detect defects (see Fig. 5) [6].
At the industrial level, there is currently a gap in industrial PCB manufacturing systems using artificial vision systems to detect defects in needle beds, and it is important to assess whether they can be embedded in PCBs.
3 Vision Systems
3.1 Introduction
Vision systems can be broadly defined as all industrial and non-industrial applications, which through a combination of certain hardware and software components, provide operational directives or inputs to mechanisms/systems based on image capture and interpretation [7].
It is immediately possible to associate terms such as artificial vision and computer vision to these systems, sometimes even wrongly identified as the same, vision systems try to combine all the existing development in these areas in a practical way.
Thus, a vision system needs to take into account all aspects inherent to the inspection process, image capture, lighting, image processing, communication protocols, etc. Therefore, vision systems are defined as the integration engineering of mechanical, optical, electronic and software systems essential for examining objects, products, manufacturing processes and production lines, with the aim of detecting defects, improving their quality, offering more efficient manufacturing processes and production lines and insurance.
They also play a key role in the control of equipment used in manufacturing and are currently used successfully in several high-volume markets, for example, in the control and verification of the correct placement of components on printed circuit boards, plate reading and security (recognition facial, fingerprints and signatures).
The advantages that vision systems guarantee, when well designed and applied, in an industrial environment are mainly:
-
Repeatability, capable of providing production lines or manufacturing processes with consistent and reliable inspections for 24 h, 7 days a week without being affected by external constraints, such as fatigue;
-
Speed of operation, on a production line a vision system can inspect hundreds and sometimes even thousands of objects/products per minute;
-
Accuracy and high inspection detail, in some production lines and manufacturing processes there are details impossible to inspect by the human eye, vision systems when correctly designed (correct camera resolution and optical lens) are able to inspect these same details with facility;
-
Non-contact inspection, in the industry where inspection without sample contamination is indispensable, for example, pharmaceutical and food industry, vision systems present themselves as a dominant inspection method;
-
Operation in hazardous environments, vision systems can operate in extreme environments, high temperature, toxic or radiation harmful to human beings;
-
Eliminates costs associated with the wear of mechanical components of quality control systems and their maintenance time;
-
Reduces the need for human labor in production lines and manufacturing processes, increasing safety and profitability;
All these advantages are combined with the objective of improving product quality, reducing waste, increasing profitability and, finally, increasing industry profits. A well-designed industrial vision system requires robustness, reliability, high precision, mechanical stability and adequate cost.
Vision systems are made up of five main components, lens or objective, camera, lighting, image processing unit and communication interface, all of which depend on the object, product or process that will be inspected by the vision system.
3.2 Types and Classification of Vision Systems
An artificial vision system has several components, from the camera that captures an image for inspection to the processing engine itself that renders and communicates the result (see Fig. 6) [7].
The goal of good lighting is to improve and stabilize the image of the object to be analyzed. Thus, lighting correctly can be the key to success. To choose good lighting, both the material of the object to be inspected and the properties of the light source must be taken into account [7].
The functionality of a lens within the artificial vision system is to transfer a clean image of the object that we want to inspect to the sensor element (CCD or CMOS).
There are different valid technologies to capture electromagnetic energy and transform it into an image that can be treated. CCD technology is mostly used although CMOS is gaining ground day by day.
The processor is in charge of capturing the images and applying the appropriate computer treatments to obtain the relevant information in each case [8].
Below, we make a more detailed analysis from a different types of system visions:
Vision sensors: includes different types of cameras and light sensors at all frequencies, 2D and 3D sensors [9].
Smart cameras: in addition to sensors, they include a processor capable of analyzing images and providing results to make decisions.
Advanced vision systems: These are devices, such as cobots, that integrate artificial vision systems to perform specific tasks [10].
At the level of classification of vision systems, these can be the following:
-
a)
light source: bright field, dark field and backlight. Each of these categories refer to the position of the light source in relation to the plane of the object to be illuminated, which results in different angles of incidence.
-
b)
lens characteristics: Focal Distance, Maximum aperture, Max sensor size, Distortion, Minimum focus distance, Type of Mount, Iris Adjustment and Focus Adjustment
-
c)
camera parameters:
-
Project in which it is inserted and future projects;
-
Technology to be used in the sensor;
-
Camera interface and communication;
-
Drivers and Software (SDK) available;
-
Working Distance (WD) and Field of View (FOV);
-
Minimum sensor resolution;
-
Lighting to which it will be subject;
-
Focus and Depth of Field;
-
Other camera features (Shutter, Color, FPS, etc.).
-
-
d)
capture capabilities: Color or Monochrome, FPS (Frames Per Second), Rolling Shutter vs Global Shutter and Environmental Working Conditions.
-
e)
processor characteristics: ARM type processors with interfaces for MIPI/CSI cameras, general purpose processors with x86/x64 architecture in BOX PC format and processors with architectures dedicated to intense graphics processing, such as:
-
GPU (graphics processing unit). NVIDIA and AMD platforms, multi-core architectures that facilitate parallel processing, critical to reducing latencies in image processing.
-
VPU (video processing unit)
-
GPU
-
Jetson
-
-
f)
validation algorithms: Leave-One-Out cross validation, K-Folds cross validation, Stratified K-Folds cross validation, Leave-One-Label-Out cross-validation and Random sampling with replacement cross-validation.
4 Applied Methodologies
4.1 Laboratory Acquisition System
To solve the proposed problem, an artificial vision solution for industrial application was developed. The image of the component to be inspected is taken in an environment suitable for it. The choice of lighting as well as the background color are important to obtain the best results (see Fig. 7).
The system consists of a smart camera with a lens and filter attached to it. Also, a lighting system that the camera has is essential to obtain the best possible results. The needles are placed in a strategic position, within the camera’s field of vision. The network present in this project is the Ethernet [11, 12].
4.2 Vision System and Software
The FQ vision sensor (see Fig. 8) allows quick and easy real-time parameter adjustment. Eliminates the need to stop the machine for fine tuning and optimization of settings, resulting in zero machine downtime [13].
The FQ vision sensor combines a high-powered processing unit and true color processing technology that allows fast inspections using color images. The same technology is used in Omron’s leading-edge vision sensor model, which is widely used in industry. This smart camera utilizes Omron’s high dynamics (HDR) processing technology, improving system dynamics up to 16 times over conventional vision sensors. The result is stable detection of objects that are highly reflectors, even when the placement of parts is not consistent.
The software used for this project was touch finder for PC (see Fig. 9) [13].
4.3 Camera
The choice of the Smart Camera FQ2, for this project, was based in a comparative study of the more important existing ones on the market, presented in Table 1.
5 Analysis and Discussion of Results
5.1 Defects
A new system has been developed that can be used to inspect a variety of different types of needles and geometries fully automatically and can analyze defects in them.
This type of analysis allows a further identification of which needles do not meet the requirements to be used in the manufacture of PCB boards (see Fig. 10) [14].
To carry out the insertion of the needle (see Fig. 11), it must not present defects for a correct insertion. For this, the needles must be arranged in a row so that the quality of the needles can be checked when passing through the vision system.
5.2 Needle Inspection
To carry out the inspection, the first step will be to obtain images of the needles with the smart camera in a position superior to them. For this we must adjust the camera resolution, through the image exposure time, gain and shutter speed.
After these steps, we get the following image (see Fig. 12).
5.3 Techniques Used to Obtain Images
This project uses the Image filtering technique (Filter Items). We can filter the images that are taken by the Camera to facilitate measurement. This is used in the following cases:
-
Cut unnecessary funds so they are not measured;
-
To remove noise.
To stably find the edges of marks when other edges have been clearly extracted, gray color filters are used (only for sensors with color cameras). This allows converting an image that was input from a color camera into a monochrome image (see Fig. 13). In addition, we can use the technique called Background Suppression.
5.4 Obtained Results
Was used in the final results, the Edge Position Inspection. This inspection item is used to verify positions needles. For example, it can be used to see if a label or a product is attached at the correct position. In this case Places where the color changes greatly are called edges.
The positions of these needle’s edges are measured (see Fig. 14).
In this Teaching function, specifying the measurement region, Character color, Printing type and Correct string, the measurement parameters for OCR are set automatically.
Teaching means to store the region and partial image (see Fig. 15) as reference data for the measurement.
Shape Search II Inspection Item was used in this project (see Fig. 16). This function is for detecting user defined target to estimate target position and pose precisely. The correlation value indicating the degree of similarity, measurement target position, and orientation can be output. In shape search III, edge information is used as features, whereas in a normal search mode, color and texture information are used. It enables highly robust and fast detection robust to environmental variations including shadings, reflections, lightings, shape deformations, pose and noises.
Since state-of-the-art object detection algorithm is exploited in shape search II, it can provide much more reliable position and pose estimation with higher speed compared to shape search II (see Fig. 16).
Furthermore, it has much more parameter to tune to support a wider variety of applications.
The needle search area can be expanded by adjusting the function called “Angle range”. The OK or NG Judgment is determined by correlation with the image pattern recorded for the search. Therefore, there may be an NG judgment result for a good workpiece if the correlation is low due to the angle being skewed. In this case, to get an OK judgment, increase the Angle range (see Fig. 17).
6 Conclusions and Future Work
The implementation of artificial vision in the analysis of needle positions at the industrial level is currently low compared to other industrial sectors, such as in medicine with its use in conjunction with collaborative robots.
The strengths of this system proposal are: being innovative for this kind of industrial activity, low cost, light weight, easy portability and integration with other existing systems in companies.
The added value part of this study is the fact that, with this proposed system, companies will be able to save money, which comes from the total destruction of the PCB boards. Companies should choose this vision system, as it allows detecting problems in needle beds, and it is important to assess whether they can be embedded in PCBs, taking this process into account.
Currently, the presented technology, in this paper, leaves many promising aspects and allows the analysis of several research and development activities that have been carried out in research institutions and industrial companies.
Machine vision applications in the PCB assembly industry are not yet fully implemented. This is due to the simple fact that they are very specific manufacturing applications that have not yet been investigated and because it is an area that is still under development.
Future use of mechatronic needle routing systems is suggested for better image collection. The inspection on the board that receives the needles must also have a vision system that identifies which ones were correctly inserted and emits an image of those that must be replaced.
In conclusion, the use of artificial vision systems in the electronic PCB assembly industry is beginning to be used and in the coming years it will play an important role in the production and final quality of products, taking into account technological advances and market competitiveness.
The solution here presented makes it possible to eliminate the destruction of PCB boards due to the fact that the needles present defects, which will lead to a better quality in the production process and the consequent reduction of the current quality failures of the final product.
The implementation of this project aims to develop a new technological solution, capable of detecting problems with the needle beds, namely in obtaining the characteristics of each one, such as diameter and length, which are important parameters to consider in this process, among others.
References
Freitas, L., et al.: Conceptual design of a positioning system for systematic production of needle beds. In: Machado, J., Soares, F., Trojanowska, J., Yildirim, S. (eds.) icieng 2021. LNME, pp. 221–235. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-79168-1_21
Balter, M., Chen, A., Maguire, T., Yarmush, M.: Adaptive kinematic control of a robotic venipuncture device based on stereo vision, ultrasound, and force guidance. IEEE Trans. Industr. Electron. 64, 1626–1635 (2017). https://doi.org/10.1109/TIE.2016.2557306
Zhang, L., Li, C., Fan, Y., Zhang, X., Zhao, J.: Physician-friendly tool center point calibration method for robot-assisted puncture surgery. Sensors 21(2), 366 (2021). https://doi.org/10.3390/s21020366
Zhang, Z., et al.: Research on the knitting needle detection system of a hosiery machine based on machine vision. Text. Res. J. 90, 004051751989917 (2020). https://doi.org/10.1177/0040517519899173
Pereira, F., Carvalho, V., Vasconcelos, R., Soares, F.: A review in the use of artificial intelligence in textile industry. In: Machado, J., Soares, F., Trojanowska, J., Yildirim, S. (eds.) icieng 2021. LNME, pp. 377–392. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-79168-1_34
Yang, J., Li, S., Wang, Z., Yang, G.: Real-time tiny part defect detection system in manufacturing using deep learning. IEEE Access 7, 89278–89291 (2019). https://doi.org/10.1109/ACCESS.2019.2925561
Li, B.: Research on geometric dimension measurement system of shaft parts based on machine vision. EURASIP J. Image Video Process. 2018(1), 1–9 (2018). https://doi.org/10.1186/s13640-018-0339-x
Golnabi, H., Asadpour, A.: Design and application of industrial machine vision systems. Robot. Comput.-Integr. Manuf. 23(6), 630–637 (2007). ISSN 0736-5845. https://doi.org/10.1016/j.rcim.2007.02.005
Rusenov, B., et al.: Machine vision systems for intelligent quality control of manufacturing processes. In: TECHSYS 2017 (2017)
Bhowmik, D., Appiah, K.: Embedded vision systems: a review of the literature. In: Voros, N., Huebner, M., Keramidas, G., Goehringer, D., Antonopoulos, C., Diniz, P.C. (eds.) ARC 2018. LNCS, vol. 10824, pp. 204–216. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-78890-6_17
Silva, M., Pereira, F., Soares, F., Leão, C.P., Machado, J., Carvalho, V.: An overview of industrial communication networks. In: Flores, P., Viadero, F. (eds.) New Trends in Mechanism and Machine Science. MMS, vol. 24, pp. 933–940. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-09411-3_97
Leão, C.P., Soares, F.O., Machado, J.M., Seabra, E., Rodrigues, H.: Design and development of an industrial network laboratory. Int. J. Emerg. Technol. Learn. 6(Special Issue 2), 21–26 (2011) https://doi.org/10.3991/ijet.v6iS1.1615
OMRON homepage. https://industrial.omron.pt/pt/products/fq2. Accessed 02 Dec 2021
I.-T. Solutions. http://www.insidelimits.pt/. Accessed 02 Dec 2021
Acknowledgments
This work is co-funded by the European Regional Development Fund (ERDF) through the North Regional Operational Program (NORTE 2020) of the Portugal 2020 Program [Project No. 43922, with acronym “iFixturing”; Funding Reference NORTE-01-0247-FEDER-043922].
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Pereira, F. et al. (2022). Design of a Vision System for Needles’ Beds Positioning Inspection: An Industrial Application. In: Hamrol, A., Grabowska, M., Maletič, D. (eds) Advances in Manufacturing III. MANUFACTURING 2022. Lecture Notes in Mechanical Engineering. Springer, Cham. https://doi.org/10.1007/978-3-031-00218-2_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-00218-2_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-00166-6
Online ISBN: 978-3-031-00218-2
eBook Packages: EngineeringEngineering (R0)