Automatic Visual Inspection System for Quality Control of the Sandwich Panel and Detecting the Dipping and Buckling of the Surfaces
Automatic Visual Inspection System for Quality Control of the Sandwich Panel and Detecting the Dipping and Buckling of the Surfaces
of the surfaces
Abstract
In this paper, an automated inspection system is proposed for detecting the location and measuring the size of existing
dipping or buckling on the sandwich panel surface using an RGB camera and an inexpensive linear laser. The proposed
method, by observing the radiated laser beams on the sandwich panel surface, can localize and calculate the level of dip-
ping and buckling with acceptable accuracy while being robust to vibrations of moving sandwich panel on the production
line conveyor. After a complete processing of the panel by the system, a three-dimensional (surface plot) or two-
dimensional (heat map) output is produced to assist the production line supervisor to easily inspect the surface quality
of the sandwich panels. Our experimental results show that the proposed system can detect and measure the surface
defects including dipping and buckling with a high accuracy and performance.
Keywords
Calibration, defect understanding, digital image processing, industrial inspection, visible lasers
Creative Commons CC BY: This article is distributed under the terms of the Creative Commons Attribution 4.0 License
(http://www.creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without
further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/en-us/nam/
open-access-at-sage).
Torkzadeh and Toosizadeh 805
by inexpensive hardware and employing techniques of and cracks on the surface.14–17 The main drawback of
image processing, computer vision, and machine learn- the methods in this category is that they often need to
ing. Therefore, in this paper, our main goal is to design perform complex transformations to frequency domain
a system that has acceptable precision as well as afford- and therefore may have low performance.
ability. Furthermore, we aim to provide the possibility Another category of the existing methods is model-
of checking the sandwich panel’s quality with no or lit- based which in particular uses fractal geometry.18–21 In
tle modifications in the production line. these methods, due to the lack of a standard modeling
Since an extensive set of variables affects the produc- process, model design and construction are rather
tion of sandwich panels and, to the best of our knowl- difficult.
edge, there is no comprehensive study about the There is also another kind of the proposed methods
usability of computer vision and artificial intelligence which attempts to solve this problem by employing
methods for quality control of the sandwich panels, this machine learning and artificial intelligence techniques
paper only focuses on detection of the dipping and alone, or sometimes by combining them with previous
buckling on the surface of sandwich panels as an initial methods.22 Jiuliang et al.23 proposed a fuzzy expert sys-
phase of designing and implementing a comprehensive tem to assess the steel strips surface quality which con-
automated visual inspection system. sists of six components. A monitoring system was
proposed by Zheng et al.24 for detecting the metal sur-
face defections, which in particular could detect the
Literature review cracks and existing gaps on aluminum surfaces. The
In recent years, some methods, which employ computer accuracy of their solution, which is based on morpholo-
vision and image processing techniques, have been pro- gical operations and genetic algorithms, is reported to
posed for detection of surface defects of products in be near 91%. Jia et al.25 proposed another solution for
industrial and commercial applications. A group of the detecting the defects on steel sheet surface. Their real-
proposed methods is based on statistical characteristics. time solution employs support vector machines and is
For example, properties of statistical histogram are capable of detecting the defects with an accuracy of
used to diagnose the surface defects of steel strips.1 94.4%. In another approach, Lee et al.,26 by employing
Among other statistical methods, gray level co- a neural network and the energy and entropy character-
occurrence matrix2,3 and morphological operations4–7 istics calculated using adaptive wavelet packet expan-
have been used for quality inspection of surfaces. sion, designed a system for detection and classification
Recently, a method based on multivariate image analy- of various defects on steel sheet strips. Their solution
sis, which is based on multivariate statistical analysis, performs with a reported classification accuracy of
has been proposed for detecting the metal surface 99% and is capable of detecting several different defects
defects.8 In statistical methods, usually the existence or such as scratches.
absence of a defect is determined and no further infor- Surface defect detection is also used in other indus-
mation is given about the location and status of the tries such as textile and is not limited to metal indus-
defect. try.27 For example, Kumar and Shen28 proposed a
On the other hand, there is another category of system that can detect and classify fabric defections
methods which are based on frequency domain analysis using support vector machines and principal compo-
such as Fourier analysis9,10 and Gabor transform.11–13 nent analysis. They claimed that their solution can also
There is also a subset of frequency-based methods, be used in ceramic industry. Another proposed solution
which uses the wavelet analysis to identify the defects by Elbehiery et al.29 employed simple image processing
806 Measurement and Control 52(7-8)
x ¼ xd ð1 þ k1 r2 þ k2 r4 Þ ð1Þ
y ¼ yd ð1 þ k1 r2 þ k2 r4 Þ ð2Þ
Locating the laser beam in the image. After the initial cali-
bration of the camera, the system should be able to
detect the laser beam in the images captured by the
camera. The beam of the laser is very bright, and there-
fore, in the normal working mode of the camera it
causes the full saturation of the light-sensitive sensor of
the camera. By setting the light exposure time of the
Figure 4. Top: The angle of 52° between the camera direction optical sensor of the camera, we make the image so
and the laser line for the panel of 7 cm thickness. Bottom: The dim such that the sensor is no longer saturated. As
angle of 59° between the camera direction and the laser line for shown in Figure 6, increasing exposure value (accord-
the panel of 20 cm thickness. ing to equation (4)) and consequently decreasing
808 Measurement and Control 52(7-8)
By differentiating the objective function E with Detecting the laser beam curvatures. We can determine,
respect to unknown variables (m, A, s) and utilizing with a high precision, the location of the existing dip-
the gradient ascent, we can reach the desirable result ping and buckling on the surface of the panel by ana-
starting from the initial values lyzing the laser strip, given its precise location found on
∂E X 2 ðxmÞ2 the image in the previous step. For doing so, it is suffi-
¼ 2ðfðxÞ yðxÞÞe ðfðxÞyðxÞÞ 2s2 ð7Þ cient to first extract several line segments with short
∂A x
lengths (the values from 10 to 100 pixels are appropri-
ðxmÞ2
X ðfðxÞyðxÞÞ2 2 ate) from the laser strip using the sliding window
∂E 2Aðx mÞðfðxÞ yðxÞÞe 2s
¼ method where each window has a pre-specified overlap
∂m x
s2
with the previous window (Figure 8). In the second
ð8Þ step, by using linear regression, a straight line is fitted
ðxmÞ2
ðfðxÞyðxÞÞ2 on each extracted line segment independently. It is
∂E X 2Aðx mÞ2 ðfðxÞ yðxÞÞe 2s2
¼ expected that the gradients of the extracted line seg-
∂s x
s3 ments from laser strip follow a regular pattern on the
ð9Þ surface of a sandwich panel with no defects (i.e. any
anomaly in the values of gradients is probably an indi-
Choosing a constant value for the learning rate of cator of a defect). Therefore, in the third and final step,
the gradient ascent extends the fitting time. This prob- for each laser strip being analyzed independently, we
lem occurs, especially, when the data have long tails.
can precisely specify the defect locations of the panel
This situation relatively increases the total value of
by comparing the gradients of the segments with the
objective function, which decreases the contribution of
average of the gradients of all line segments extracted
other parts of data, and therefore causes a relatively
from that laser strip. Those line segments whose gradi-
slow progression to an often low quality solution. In
ents differ from the average gradients above a certain
order to solve the problem, the learning rate of the gra-
threshold ðT2 Þ would be marked as candidates of defect
dient ascent is increased and consequently the progres-
locations. Considering the movement of the sandwich
sion will be accelerated toward the goal initially.
panel on the production line conveyor, the laser beams
However, it bounces several times over the local maxi-
covers the whole surface of the sandwich panel as it
mum, when reaching near it (the overshoot phenom-
moves and therefore, according to our proposed
enon). A proper learning rate coefficient should have a
method, it is precisely scanned to detect any existing
high initial value, and overtime approaches to zero,
dipping and buckling points. Furthermore, to prevent
while the optimization approaches a solution. Hence,
false positives and negatives in our results, our method
every n iterations, the value of the learning rate coeffi-
further checks and confirms the existence and nonexis-
cient of the gradient descent, denoted by g in equation
tence of defects in a specific location not only by one,
(10), is multiplied by a positive number a, which is less
than 1, in order to prevent overshooting phenomenon but also by four laser beams (which can be of different
intensity and width) radiated on the surface of sand-
2 ∂E 3
wich panel. The advantage of utilizing four laser lines is
2 3 2 3 ∂s
snew sold 6 7 to ensure that the time lag between the speed of data
6 ∂E 7
4 mnew 5 ¼ 4 mold 5 þ g 6 7 ð10Þ collection and processing stages in our system, with the
6 ∂m 7
Anew Aold 4 5 conveyor speed, never results in any dipping or buck-
∂E ling being missed. It means that if one beam ignores a
∂A
810 Measurement and Control 52(7-8)
Figure 9. The standard panel for calibration of the measuring unit of the system which is located at the location of each of the
lasers beams.
Table 1. The estimated values for different thresholds in proposed system helps detecting the potential defects in
method. the surface of sandwich panels in real-time. Future
research in this field could focus on discovering other
Threshold T2 T3 T4 T5
production defects, including the misalignment of the
Value 5° 3 mm 2.5 3 mm
top and bottom sheets of sandwich panels, toward
designing a comprehensive automated visual inspection
system for sandwich panel production lines.
Funding
The author(s) received no financial support for the research,
authorship, and/or publication of this article.
Figure 13. An example of how the system works. The image ORCID iD
on the right have been taken with the camera and analyzed, Saeed Toosizadeh https://orcid.org/0000-0002-3605-6095
according to our proposed method, to detect the surface
defects. In this image, some of the dipping and buckling points
have been annotated with numbers. The image on the left is the
References
output of our system as a heat map which represents the 1. Weiwei L, Yunhui Y, Jun L, et al. Automated on-line
surface of the analyzed sandwich panel. This image shows the fast detection for surface defect of steel strip based on
corresponding points with dipping and buckling (with heights/ multivariate discriminant function. In: Proceedings of the
depths above 3 mm) which have been accurately detected. second international symposium on intelligent information
technology application, Shanghai, China, 20–22 Decem-
ber 2008, vol. 2, pp. 493–497. New York: IEEE.
in detection of the dipping and buckling of sandwich 2. Chao Z, Desen Z and Li X. Textural defect detection
panels, whereas the base line method has an accuracy based on label co-occurrence matrix. J Huazhong Univ
Sci Technol (Nat Sci Ed) 2006; 34(6): 25–28.
of 76%. The experiments also show that only 1% of
3. Caleb P and Steuer M. Classification of surface defects
positive detections in our method were errors (i.e. 1%
on hot rolled steel using adaptive learning methods. In:
false positive), whereas the baseline method has 9% Proceedings of the fourth international conference on
errors. Figure 13 shows the system output in one of the knowledge-based intelligent engineering systems and allied
experiments (note that several dipping and buckling technologies, Brighton, 30 August–1 September 2000,
have been created manually on the sandwich panel). As vol. 1, pp. 103–108. New York: IEEE.
can be seen, the location of most of the surface defects 4. Mak KL, Peng P and Yiu K. Fabric defect detection
has been correctly detected. using morphological filters. Image Vis Comput 2009;
Furthermore, our experiments show that our pro- 27(10): 1585–1592.
posed method achieves an average error of 2.7 mm in 5. Cord A, Bach F and Jeulin D. Texture classification by
measuring the amount of each detected dipping and statistical learning from morphological image processing:
application to metallic surfaces. J Microsc 2010; 239(2):
buckling, which further proves the effectiveness of our
159–166.
proposed method. In terms of throughput, in average
6. Shi DH, Gang T, Yang SY, et al. Research on segmenta-
the system can perform 50 cm/s which, in our field tion and distribution features of small defects in precision
experimental setup, was well above the speed of the weldments with complex structure. NDT E Int 2007;
conveyor. 40(5): 397–404.
7. Alaknanda, Anand R and Kumar P. Flaw detection in
radiographic weldment images using morphological
Conclusion watershed segmentation technique. NDT E Int 2009;
In this paper, we designed and presented the implemen- 42(1): 2–8.
8. Zhou S, Liang D and Wei Y. Automatic detection of
tation of an inspection system for the surface of sand-
metal surface defects using multi-angle lighting multivari-
wich panels to detect abnormal dipping and buckling. ate image analysis. In: Proceedings of the international
It was shown that by using inexpensive equipments and conference on information and automation, Ningbo,
without human intervention, the proposed method can China, 1–3 August 2016, pp. 1588–1593. New York:
precisely detect most of the dipping and buckling on the IEEE.
surface of sandwich panels. Considering the relatively 9. Chan CH and Pang G. Fabric defect detection by Four-
high cost of the sandwich panel manufacturing, the ier analysis. In: Proceedings of the industry applications
Torkzadeh and Toosizadeh 813
conference on thirty-fourth IAS annual meeting, Phoenix, case of inspection system for specular surfaces. Sensors
AZ, 3–7 October 1999, vol. 3, pp. 1743–1750. New York: 2017; 17(7): 1466.
IEEE. 22. Cui Z, Lu W and Liu J. Real-time industrial vision system
10. Wang F and Zuo B. Detection of surface cutting defect for automatic product surface inspection. In: Proceedings
on magnet using Fourier image reconstruction. J Cent of the 8th international conference on information manage-
South Univ 2016; 23(5): 1123–1131. ment and engineering, Istanbul, Turkey, 2–5 November
11. Raheja JL, Kumar S and Chaudhary A. Fabric defect 2016, pp. 93–97. New York: IEEE.
detection based on GLCM and Gabor filter: a compari- 23. Jiuliang Z, Weiwei L, Feng Y, et al. Research on surface
son. Optik 2013; 124(23): 6469–6474. quality evaluation system of steel strip based on com-
12. Choi D, Jeon YJ, Yun JP, et al. An algorithm for detect- puter vision. In: Proceedings of the third international
ing seam cracks in steel plates. World Acad Sci Eng Tech- symposium on intelligent information technology applica-
nol 2012; 6: 1456–1459. tion, Shanghai, China, 21–22 November 2009, pp. 32–35.
13. Jeon YJ, Choi DC, Yun JP, et al. Detection of scratch New York: IEEE.
defects on slab surface. In: Proceedings of the 11th inter- 24. Zheng H, Kong LX and Nahavandi S. Automatic inspec-
national conference on control, automation and systems, tion of metallic surface defects using genetic algorithms. J
Gyeonggi-do, South Korea, 26–29 October 2011, pp. Mater Process Technol 2002; 125–126: 427–433.
1275–1279. New York: IEEE. 25. Jia H, Murphey YL, Shi J, et al. An intelligent real-time
14. Tsai DM and Hsiao B. Automatic surface inspection vision system for surface defect detection. In: Proceedings
using wavelet reconstruction. Pattern Recogn 2001; 34(6): of the 17th international conference on pattern recognition,
1285–1305. Cambridge, 26 August 2004, vol. 3, pp. 239–242.
15. Jeon YJ, Yun JP, Choi DC, et al. Defect detection algo- New York: IEEE.
rithm for corner cracks in steel billet using discrete wave- 26. Lee C, Choi CH, Choi JY, et al. Feature extraction algo-
let transform. In: Proceedings of the 2009 ICCAS-SICE, rithm based on adaptive wavelet packet for surface defect
Fukuoka, Japan, 18–21 August 2009, pp. 2769–2773. classification. In: Proceedings of the international confer-
New York: IEEE. ence on image processing, Lausanne, 19 September 1996,
16. Jeon YJ, Choi DC, Lee SJ, et al. Defect detection for cor- vol. 2, pp. 673–676. New York: IEEE.
ner cracks in steel billets using a wavelet reconstruction 27. Chu HH and Wang ZY. A vision-based system for post-
method. JOSA A 2014; 31(2): 227–237. welding quality measurement and defect detection. Int J
17. Yun JP, Choi SH, Jeon YJ, et al. Detection of line defects Adv Manuf Technol 2016; 86(9–12): 3007–3014.
in steel billets using undecimated wavelet transform. In: 28. Kumar A and Shen HC. Texture inspection for defects
Proceedings of the international conference on control, using neural networks and support vector machines.
automation and systems, Seoul, South Korea, 14–17 Octo- In: Proceedings of the international conference on
ber 2008, pp. 1725–1728. New York: IEEE. image processing, Rochester, NY, 22–25 September 2002,
18. Zheng H, Jiang B and Lu H. An adaptive neural-fuzzy Vol. 3, p. III. New York: IEEE.
inference system (ANFIS) for detection of bruises on Chi- 29. Elbehiery H, Hefnawy A and Elewa M. Surface defects
nese bayberry (myrica rubra) based on fractal dimension detection for ceramic tiles using image processing and
and RGB intensity color. J Food Eng 2011; 104(4): 663– morphological techniques. In: Proceedings of the third
667. world enformatika conference, Istanbul, Turkey, 27–29
19. Yazdchi M, Yazdi M and Mahyari AG. Steel surface April 2005.
defect detection using texture segmentation based on mul- 30. Zhang Z. A flexible new technique for camera calibration.
tifractal dimension. In: Proceedings of the international IEEE T Pattern Anal Mach Intell 2000; 22: 1330–1334.
conference on digital image processing, Bangkok, Thai- 31. Elbehiery H, Hefnawy A and Elewa M. Surface defects
land, 7–9 March 2009, pp. 346–350. New York: IEEE. detection for ceramic tiles using image processing and
20. Blackledge J and Dubovitskiy D. A surface inspection morphological techniques. In: Proceedings of the third
machine vision system that includes fractal texture analy- world enformatika conference, Istanbul, Turkey, 27–29
sis. Int Soc Adv Sci Technol 2008; 3: 76–89. April 2005.
21. Azorin-Lopez J, Fuster-Guillo A, Saval-Calvo M, et al. 32. Hornik K. Approximation capabilities of multilayer feed-
A novel active imaging model to design visual systems: a forward networks. Neural Netw 1991; 4(2): 251–257.