A system for detecting scratches on the surface of small-sized metal shafts after the grinding process using optical techniques combined with computer vision.
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.1088/1742-6596/2949/1/012061
- 저널
- Journal of Physics Conference Series
- 발행년도
- 2025
- 발행기관
- IOP Publishing
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1088/1742-6596/2949/1/012061
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W4407740574
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 16,922자
본문 펼치기
섹션 본문 21문단 · 16,446자
(제목 없음)
1During the grinding process of metal machine parts requiring a high degree of smoothness, the use of diamond-surfaced grinding tools, specialized grinding stones, or high-hardness metals are common choices.However, during grinding, surface tool damage or misalignment between grinding surfaces can cause defects such as cracks, scratches, or complete surface destruction.Detecting small scratches is one of the biggest challenges due to their size and distribution, making it difficult to quickly identify them using the human eye.Automated systems, on the other hand, struggle to highlight scratches because automatic optical lighting systems face strong reflections from the metal surface, especially cylindrical surfaces after being polished.As a result, the images obtained lack controlled reflection positions and contrast between normal and scratched areas, leading to inefficiency in detecting these scratches.In this study, we propose an optical system combined with lighting techniques to highlight scratches on the surface of a cylindrical machine part after polishing, thereby detecting and classifying these defects to make pass-fail decisions in practical production line applications.
Introduction
2In mass production lines for mechanical parts, quality inspection at various stages is still often performed manually (with the naked eye).Particularly in tasks such as surface quality inspection after processes like stamping, grinding, and bending, visual inspection can be time-consuming and prone to subjective errors due to the operators' limited concentration, experience, and fatigue.The development of automated computer vision systems to inspect surface defects on mechanical or structural parts made of metal or other materials during the production process has been studied for very specific applications over many years [1][2][3][4][5].To optimize the ability to identify or classify defects on highly reflective metal surfaces, different research groups have adopted a variety of approaches.Early studies focused heavily on developing image processing algorithms for colour images with large surface defects that have high contrast and are easily visible to the naked eye [6,7].Another recent approach is based on machine learning and deep learning models, which detect surface defects on metal parts by IOP Publishing doi:10.1088/1742-6596/2949/1/012061 2 carefully classifying image data, training, and optimizing model architectures to achieve fast and accurate learning of the features that need to be detected [8][9][10][11][12].This method has proven advantageous due to its flexibility in implementation and its ability to adapt to different types of objects requiring detection.Other studies paid more attention to more challenging cases, such as small defect sizes or nonflat observation surfaces, leading to approaches that focused on optimizing the lighting system [13][14][15][16][17].Optimization must be based on factors such as surface types (flat, cylindrical, spherical, asymmetrical), defect characteristics (size, depth), and the location of defects (near the edges, among areas with varying surface heights).The mass-produced mechanical components selected for this study, where surface quality critically impacts functionality, are piston shafts used in small-sized pumps.These components are fabricated from stainless steel, polished along the shaft, and ground at both ends using specialized grinding stones.During the grinding process, deviations in speed, angle, or surface conditions can introduce defects on the outer surface of the piston, potentially resulting in serious operational issues such as uneven wear or leakage.Furthermore, during manufacturing and storage, improper control of environmental humidity, surface temperature, and the anti-rust oil layer can lead to the formation of rust spots on the shaft surface, necessitating the rejection of affected parts.This study focuses on investigating combined lighting techniques to effectively highlight defects on the highly reflective cylindrical surfaces of piston shafts in small pumps.Based on the analysis of the direction and method by which the metal shafts are polished along their bodies and rotated to remove sharp edges at both ends using specialized angular grinding stones, we observed the presence of faint scratches with a longitudinal structure along the shaft and circular scratches around the edges at both ends.Additionally, other surface defects, such as rust, manifest as small spots with slightly different light reflection properties compared to the polished areas.Based on these observations, we designed a lighting system with two different illumination mechanisms: Dark Field and Coaxial lighting.However, after careful consideration of factors such as time efficiency and the amount of data required to fully observe all areas of the shaft, we determined that Dark Field techniques offer a more balanced advantage in highlighting defects.This approach also reduces the amount of data needed and, consequently, decreases the overall time required for detecting surface defects on the shafts, compared to the use of coaxial lighting techniques.
System introduction
3The objective of this article is to develop an inspection system tailored for metal shaft line production.We have selected a metal shaft with a total length of 30 mm and an outer diameter of 16 mm.Due to the cylindrical structure and reflective surface of the components, the inspection system must be designed to meet the following prerequisites:
4• Full Cylinder Surface Inspection: The inspection system must thoroughly evaluate all surfaces of the metal shaft while optimizing the process to capture the fewest possible number of images.• Highlighting All Required Defects: The primary objective of the inspection system is to accurately detect and highlight all relevant defects, including scratches, rust, and inclusions on the surface of the metal shaft.As depicted in Fig. 1, the inspection system comprises a 12-megapixel monochrome camera, a fixed focal-length imaging lens, a custom-designed light head, and the metal shaft (object) under examination.These components are aligned along a shared optical axis and mounted on a mechanical station.During the inspection procedure, the metal shaft is mounted on a rotating base that offers high repeatability in angle adjustment, allowing for comprehensive surface imaging of the cylindrical shaft.
Illumination techniques evaluation:
5Based on the research of Kierkegaard, P. [18], the reflective properties of a metallic surface during machining cannot be described by a simple reflectance function.To effectively illuminate and highlight abnormal regions, it is necessary to consider even the specific details of each machining process (grinding, milling, drilling, etc.) from geometric, mechanical, thermal, and optical perspectives.In his study, Kierkegaard simplified the classification of the reflective properties of machined surfaces into two directions: parallel to the machining direction and perpendicular to the structure.
6Considering the characteristics of the object and the requirements for the inspection system outlined above, two types of illumination are suitable for application in the inspection system: coaxial illumination and darkfield illumination.
7Coaxial illumination directs light beams from a source positioned perpendicular to the system's optical axis.A beamsplitter, placed at a 45-degree angle to the optical axis, redirects these beams, as shown in Fig. 2. The redirected beams strike the cylindrical surface of the metal shaft and are subsequently reflected back through the beamsplitter to the camera, producing an image of the object.
8Due to the cylindrical structure of the metal shaft, the light rays reflected toward the camera at the point of intersection between the shaft and the system's optical axis will have the largest angle of incidence.In contrast, the light rays reflected from the edges of the object will exhibit the smallest angle of incidence.As a result, the image of the metal shaft produced by the coaxial illumination will show maximum light intensity at the center of the cylinder, gradually decreasing toward the edges.
9As illustrated in the optical geometry in Fig. 3, the center of the metal cylinder coincides with the origin of the Oyz coordinate system, where the Oz axis represents the system's optical axis, and the Oy axis is perpendicular to Oz, with its positive direction pointing upward.Point P1 is located at the intersection of the Oz axis and the circle that defines the metal cylinder's axis, with a radius R. Since P1 is positioned at the intersection of the object and the optical axis, the aperture angle 2α, formed between the optical axis and the outermost light ray directed toward the edge of the simulated lens, defines the maximum aperture angle that the lens can capture from the metal surface.As a consequence, the image of point P1 formed by the lens will exhibit the highest surface.As a result, the center of the metal surface appears brighter, while the edges are darker in coaxial images, as shown in Fig. 4.
10Dark field illumination employs a light source scattered by diffusers positioned at a α-degree angle relative to the system's optical axis and placed approximately D mm from the sample surface.Due to the cylindrical shape of the object, light rays interact with the surface differently in the vertical and horizontal directions, resulting in distinct reflections.Consequently, the dark field image will exhibit variations between the vertical and horizontal orientations of the object.As a result, the dark field inspection system must capture two separate images for each observation to account for these differences.
2,67 mm
11The dark field effect is achieved through an angled scattering light source, as illustrated in Fig. 5.This light source emits incident rays at various angles, which reflect off the surface of the metal shaft.In areas with uneven or rough surfaces, some of the reflected rays are directed toward the camera, while others scatter elsewhere.This interaction produces bright defects against a dark background, characteristic of dark field imaging.However, in horizontal dark field images, due to the reflective nature of the metal shaft's surface, two overbright regions appear along its length, representing the reflection of the lighting on the metal surface, as shown in Fig. 6a.These regions divide the area of interest into three distinct sections, where any defects or irregularities will be highlighted.In vertical dark field imaging, the light sources are positioned perpendicular to the metal shaft, so their reflections do not appear on its surface.In contrast to horizontal dark field images, where overbright regions may interrupt the bright field on the shaft, vertical dark field images offer a clearer view, with the bright areas of the shaft remaining uninterrupted, following Fig. 6b.
Results
12According to Fig. 7, the region of interest (ROI) in the coaxial image has an area of 80.1 mm², which corresponds to the bright central portion of the metal shaft.As outlined in the System Introduction, the metal shafts used in this article have a total length (L) of 30 millimeters and an outer diameter (d) of 16 millimeters.Knowing these dimensions, we can calculate the outside surface area of the shaft by multiplying its perimeter (C) by its length (L).The perimeter (C) is given by = , where ddd is the diameter of the shaft.Therefore, the surface area (A) of the metal shaft is calculated as: To achieve comprehensive inspection of the cylindrical surface, the coaxial inspection system requires a minimum of 19 images per sample.According to formula (2), the total surface area of the metal shaft to be inspected is 1507.96mm².As shown in Fig. 8, the region of interest (ROI) for the horizontal dark field image encompasses 363.3 mm², necessitating at least five images to cover the entire shaft surface.Similarly, the ROI for the vertical dark field image measures 358.8 mm², requiring a minimum of five images to fully capture the surface.Thus, the dark field inspection system demands a total of 10 images across both imaging modes to inspect the entire shaft surface, whereas 19 images would be required if only one imaging mode, as in coaxial inspection, were used.As demonstrated in Fig. 9, scratches of varying locations and sizes are distinctly highlighted with high contrast in the raw image.For scratches that produce two overbright areas, as shown in Fig. 9b and Fig. 9d, it is crucial to remove bright regions (see Fig. 10) prior to the scratch correction process.
13As illustrated in Fig. 11, Fig. 12, inclusions and rust are prominently emphasized in the horizontal dark field image, exhibiting a significantly higher contrast against the background.The scattering of light due to surface irregularities causes these defects to appear as bright regions, making them easily distinguishable from the surrounding material.This contrast enhancement is particularly effective for identifying surface imperfections such as rust and inclusions, which The vertical dark field mode is used to emphasize scratches perpendicular to the horizontal axis of the metal shaft.Defective areas exhibit higher pixel intensity than the background, resulting in enhanced contrast at those locations.Moreover, since the bright field in the vertical dark field image is unaffected by the two overbright regions present in the horizontal dark field image, defects in these areas can still be effectively highlighted.However, overbright areas remain visible at both ends of the metal shaft in the vertical dark field images.This artifact is caused by light reflecting off the shaft's mirrored surface.To address this, various image processing techniques were applied to reduce the reflections and enhance defect visibility, as shown in Fig. 13.The design of lighting channels along the entire length and the top area of the part, along with an analysis of the polishing direction and the characteristic direction of fine scratches that may appear on the part's surface, helps create a more uniform illumination field in the inspected area .With this design, using multiple cameras, as in the research by Zhang X.M. and colleagues [3], is unnecessary; instead, a single mechanical system can be used to rotate the parts around axis at the inspection position.This ensures that inspection and decision-making require fewer images per part, speeding up the inspection process, optimizing optics system costs, and ensuring more reliable results.A uniform illumination field and the ability to consistently highlight fine scratches across the entire inspection area also aid in the development of detection algorithms by eliminating the need for separate processing steps for each inspection region.
Conclusion
14In this article, we present the system designs utilized in our inspection processes.The system incorporates a 12-megapixel monochrome camera, capable of capturing an image every 30 ms.To achieve complete inspection of the cylindrical surface, the coaxial inspection system requires a minimum of 19 images per sample.As a result, capturing a full set of images for a single sample takes approximately 570 ms.Over the course of 24 hours, this system can process up to 151,579 samples, excluding software processing time.Due to this relatively long cycle time, the coaxial inspection system is less suited for high-speed automated production lines.
15In contrast, the dark field inspection system performs the inspection of a single sample using a total of 10 images.Utilizing the same 12-megapixel camera, the total image capture time for each sample is reduced to 300 milliseconds.This allows the system to process up to 288,000 samples over a 24-hour period, excluding software processing time.This represents a performance improvement of approximately 1.9 times compared to the coaxial inspection system.
Figure 1 :
16Figure 1: Inspection system simulation.
Figure 2 :Figure 3 :Figure 4 :
17Figure 2: Coaxial light tracing
Figure 5 :Figure 7 :Figure 6 :
18Figure 5: Dark filed inspection simulation.
Figure 8 :Figure 9 :
19Figure 8: Region of interest (ROI) of the dark field images explanation.(a) ROI of the horizontal dark field.(b) ROI of the vertical dark field image.a) b)
Figure 10 :Figure 11 :
20Figure 10: (a) Scratches defects involed two overbright areas original images, (b) after morphology image, (c) after multi-thresholding image.
Figure 13 :Figure 12 :
21Figure 13: (a) Vertical scratches raw images, (b) Vertical scratches after morphology application, (c) Vertical scratches after multi -thresholding.
참고문헌 19건
- Laser methods based on an analysis of scattered light for automated, in-process inspection of machined surfaces: A review Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.07.009
- Automated visual classification of frequent defects in flat steel coils The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3352-0
- Reflection properties of machined metal surfaces Optical Engineering · SPIE · 1996 10.1117/1.601014
- Defect inspection system for steel wire rods produced by hot rolling process The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2013 10.1007/s00170-013-5397-8
- Vision inspection system for the identification and classification of defects in MIG welding joints The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3770-z
- Deep convolutional neural networks for detection of rail surface defects 2016 10.1109/ijcnn.2016.7727522
- Light source optimization for automatic visual inspection of piston surface defects The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2016 10.1007/s00170-016-9937-x
- An Automatic Surface Defect Inspection System for Automobiles Using Machine Vision Methods Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19030644
- Segmentation-based deep-learning approach for surface-defect detection Journal of Intelligent Manufacturing · Springer Science+Business Media · 2019 10.1007/s10845-019-01476-x
- Image-Based Inspection Technique of a Machined Metal Surface for an Unmanned Lapping Process International Journal of Precision Engineering and Manufacturing-Green Technology · Springer Science+Business Media · 2019 10.1007/s40684-019-00181-7
- Magnetic Ring Multi-Defect Stereo Detection System Based on Multi-Camera Vision Technology Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20020392
- Surface Defects Detection of Stamping and Grinding Flat Parts Based on Machine Vision Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20164531
- Segmentation-based deep-learning approach for surface-defect detection Journal of Intelligent Manufacturing · Springer Science+Business Media · 2019 10.1007/s10845-019-01476-x
- Measuring the Quality of Hand and Surface Grinding Images by Applying Image Processing Tools of Scilab Software 2021 10.1109/iccike51210.2021.9410722
- Enhanced detection of diverse defects by developing lighting strategies using multiple light sources based on reinforcement learning Journal of Intelligent Manufacturing · Springer Science+Business Media · 2021 10.1007/s10845-021-01800-4
- Automatic road crack detection and classification using multi-tasking faster RCNN Journal of Intelligent & Fuzzy Systems · IOS Press · 2021 10.3233/jifs-210475
- MSFT-YOLO: Improved YOLOv5 Based on Transformer for Detecting Defects of Steel Surface Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22093467
- Research on steel rail surface defects detection based on improved YOLOv4 network Frontiers in Neurorobotics · Frontiers Media · 2023 10.3389/fnbot.2023.1119896
- Quality Assurance of Composite Grinding Procedia CIRP · Elsevier BV · 2023 10.1016/j.procir.2023.06.101