WO2023038214A1 - Surface defect detection device and method - Google Patents

Surface defect detection device and method Download PDF

Info

Publication number
WO2023038214A1
WO2023038214A1 PCT/KR2022/004988 KR2022004988W WO2023038214A1 WO 2023038214 A1 WO2023038214 A1 WO 2023038214A1 KR 2022004988 W KR2022004988 W KR 2022004988W WO 2023038214 A1 WO2023038214 A1 WO 2023038214A1
Authority
WO
WIPO (PCT)
Prior art keywords
defect detection
inspection target
defect
pattern
photographing
Prior art date
Application number
PCT/KR2022/004988
Other languages
French (fr)
Korean (ko)
Inventor
윤기욱
김태웅
송정민
김의석
Original Assignee
라온피플 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 라온피플 주식회사 filed Critical 라온피플 주식회사
Publication of WO2023038214A1 publication Critical patent/WO2023038214A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/94Investigating contamination, e.g. dust
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects

Definitions

  • Embodiments disclosed herein relate to a surface defect detection apparatus and method capable of detecting surface defects of products that are difficult to detect defects by photography due to surface gloss.
  • the quality inspections of mass-produced products there is a visual inspection.
  • the product is inspected by optically analyzing the image taken of the exterior of the product, finding the part estimated to be defective, and classifying the defective product.
  • the use of pre-learned artificial intelligence models in the exterior inspection process has improved inspection performance, and the inspection results have reached a reliable level even without human visual inspection.
  • the inspection of mass-produced products is becoming more efficient in terms of time and cost.
  • Korean Patent Registration No. 10-1611823 “Exterior Inspection Method” discloses an automatic exterior inspection device and method for detecting defects such as dents or stains on the surface of home appliances by photographing the exterior while transporting the appliance.
  • Embodiments disclosed herein are aimed at presenting an apparatus and method for detecting surface defects of a product having a glossy surface.
  • Embodiments disclosed in this specification are aimed at presenting a device and method for detecting surface defects capable of improving defect detection performance of a product having a glossy surface.
  • Embodiments disclosed in this specification are intended to provide a surface defect detection device and method capable of detecting detailed locations of defects by selectively photographing a plurality of coating layers forming a glossy surface.
  • Embodiments disclosed in this specification are intended to provide a surface defect detection device and method capable of detecting all defects formed on a glossy surface, even if the locations or extension directions thereof vary.
  • a surface defect detection method performed by a surface defect detection apparatus includes obtaining a photographed image of an inspection target; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; and obtaining a photographed image by photographing the reflected light reflected from the surface of the object to be inspected.
  • a surface defect detection apparatus includes an illumination unit for irradiating pattern light having a stripe pattern at regular intervals on a surface of an inspection target; a photographing unit for acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target by the pattern light irradiated by the lighting unit; a storage unit for storing the photographed image acquired by the photographing unit;
  • the control unit may include a controller configured to adjust characteristics of pattern light emitted from the lighting unit, control the photographing unit, and detect a defect of the inspection target using a photographed image stored in the storage unit.
  • the method for detecting surface defects includes acquiring a photographed image of an object to be inspected; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; A step of acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target may be included.
  • the surface defect detection method in a computer program stored in a medium to perform the surface defect detection method includes acquiring a photographed image of an inspection target; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; A step of acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target may be included.
  • any one of the above-mentioned problem solving means it is possible to present a method for detecting surface defects of a product having a glossy surface and an apparatus for performing the same.
  • any one of the above-mentioned problem solving means it is possible to present a method for detecting surface defects capable of improving the detection performance of defects of a product having a glossy surface and an apparatus for performing the same.
  • a surface defect detection method capable of detecting a detailed location of a defect by selectively photographing a plurality of paint layers forming a glossy surface and a device for performing the same are presented.
  • any one of the above-described problem solving means it is possible to propose a surface defect detection method and a device for performing the same, which can detect all of the defects formed on the glossy surface even if the locations or extension directions thereof vary.
  • FIG. 1 is a block diagram schematically showing a functional configuration of a surface defect detection apparatus according to an embodiment.
  • FIG. 2 is a conceptual diagram showing some configurations of a surface defect detection apparatus according to an embodiment.
  • FIG. 3 is a diagram showing a method of detecting surface defects performed by a surface defect detection apparatus according to an embodiment step by step.
  • FIG. 4 is an exemplary diagram showing types of defects occurring in a coating layer of a product to be inspected having a glossy surface.
  • FIG 5 is an exemplary view showing an example of defects detected by a surface defect detection method according to an embodiment.
  • FIG. 1 is a block diagram schematically showing a functional configuration of a surface defect detection device according to an embodiment
  • FIG. 2 is a conceptual diagram showing some configurations of a surface defect detection device according to an embodiment.
  • the surface defect detection apparatus 100 is a device that acquires a photographed image of an inspection target and detects defects based on the obtained photographed image in order to detect defects on the surface of the inspection target having a glossy surface.
  • the surface defect detection apparatus 100 may be implemented as a general user terminal or a server-client system composed of a user terminal and a server.
  • the user terminal may be implemented as a computer or portable terminal capable of accessing a remote server through the network N or connecting to other terminals and servers.
  • the computer includes, for example, a laptop, desktop, or laptop equipped with a web browser
  • the portable terminal is, for example, a wireless communication device that ensures portability and mobility.
  • PCS Personal Communications System
  • PDC Personal Digital Cellular
  • PHS Personal Handyphone System
  • PDA Personal Digital Assistant
  • GSM Global System for Mobile communications
  • IMT International Mobile Telecommunication
  • CDMA Code Division Multiple Access
  • W-CDMA Wide-Code Division Multiple Access
  • Wibro Wireless Broadband Internet
  • Smart Phone Mobile WiMAX (Mobile Worldwide Interoperability for Microwave Access), etc. (Handheld)-based wireless communication device may be included.
  • a light irradiation unit or a camera corresponding to a lighting unit or a photographing unit may be integrally configured or connected to the user terminal in the form of a module.
  • the server implementing the server-client system may be implemented as a computer capable of communicating with a user terminal on which an application for interaction with a user or a web browser is installed through a network, or may be implemented as a cloud computing server.
  • the server may include a storage device capable of storing data or may store data through a third server.
  • the above-described user terminal and server may cooperate with each other to configure the surface defect detection device 100 implemented as one server-client system.
  • the surface defect detection device 100 interfaces with the user through the user terminal. While doing so, it is possible to operate in such a way that a photographed image of an inspection target is acquired from a user terminal, and a server processes it to detect a defect.
  • the surface defect detection apparatus 100 includes a controller 110.
  • the control unit 110 controls the overall operation of the surface defect detection apparatus 100 and may include a processor such as a CPU that controls various components included in the surface defect detection apparatus 100 to be described later.
  • the control unit 110 may execute a program stored in the storage unit 140 to be described later or calculate data using an algorithm or a machine learning model stored in the storage unit 140. Also, the control unit 110 may store the processed data in the storage unit 140 again.
  • control unit 110 A specific operation of the control unit 110 will be elaborated below.
  • the surface defect detection apparatus 100 may include a lighting unit 120 for irradiating pattern light to the inspection target in order to photograph the inspection target.
  • the pattern light is the light of the stripe pattern P having straightness as shown in FIG. 2, and at this time the stripe patterns are formed with a certain width and may be arranged in parallel at regular intervals.
  • the lighting unit 120 may include a lamp in which a plurality of LED elements are arranged, and such LED lamps may be arranged in a stripe pattern.
  • the lighting unit 120 may be configured to change characteristics of pattern light, such as color temperature, width of stripe patterns, interval between stripe patterns, direction in which stripe patterns extend, and the like.
  • the lighting unit 120 may adjust the color temperature of the pattern light to have two or more different values selected from, for example, 3000K (Kelvin) to 7000K.
  • the lighting unit 120 may include two or more types of LED elements emitting light of different color temperatures, and the color temperature may be adjusted while controlling only LED elements having a specific color temperature to emit light at a time. .
  • the lighting unit 120 may be configured to be rotatable so that the direction of the stripe pattern may be adjusted.
  • the lighting unit 120 includes a plurality of LED elements arranged in a matrix so that the interval or width of the stripe pattern can be adjusted, and while the LED elements selectively emit light, the light of the stripe pattern having a desired width and interval is emitted. It may also be configured to emit light.
  • LED elements arranged in a matrix form emit light at the rear
  • an LCD panel is configured at the front.
  • the LED elements at the rear emit light and emit pattern light. It may be configured to form.
  • the characteristics of the pattern light can be controlled by outputting a two-dimensional image of the pattern light to be irradiated by the LCD panel.
  • the color temperature of light emitted from the LED device can be controlled using an image output from the LCD panel.
  • the control unit 110 can drive the lighting unit 120 according to the characteristics of one or more pattern lights required according to the inspection target and obtain a photographed image. there is.
  • control unit 110 stores color temperature information of two or more pattern lights set so that the pattern light can reach each paint layer in the storage unit 140.
  • the lighting unit 120 may sequentially irradiate pattern light having different characteristics to the same inspection target according to the set color temperature.
  • the control unit 110 sets two directions of movement of the stripe pattern forming the pattern light.
  • the lighting unit 120 may obtain two or more captured images while sequentially changing and irradiating pattern light according to two or more set directions.
  • the surface defect detection device 100 may include a photographing unit 130 .
  • the photographing unit 130 is provided with an optical means such as a conventional camera module, and can photograph the surface of the inspection target while the lighting unit 120 radiates pattern light to the inspection target. Accordingly, the photographed image obtained by the photographing unit 130 may include an image of reflected light reflected from the glossy surface of the inspection target to which the pattern light is irradiated.
  • the photographed image I obtained by the photographing unit 130 may have a substantially similar shape corresponding to the stripe pattern P forming the pattern light. However, if there is a curve on the glossy surface of the inspection target, it may be formed into a shape that is bent according to the curve. Meanwhile, if there is a defect other than the intended curve, the stripe pattern may be distorted by the defect. Accordingly, the photographed image I obtained by the photographing unit 130 may include distortion due to defects.
  • the controller 110 may control the photographing unit 130 .
  • the controller 110 may change settings of the photographing unit 130 according to the characteristics of the pattern light emitted from the lighting unit 120 .
  • the controller 110 changes the settings of the photographing unit 130 according to the characteristics of the pattern light so that a captured image can be obtained clearly. can do.
  • a white balance set value of the photographing unit 130 may be adjusted to acquire a photographed image according to the changed color temperature.
  • control unit 110 changes the characteristics of the pattern light emitted from the lighting unit 120 for the same inspection target by a preset number of times, and at the same time, the photographing unit 130 photographs the inspection target whenever the characteristics of the pattern light are changed. By repeating this, it is possible to acquire a plurality of captured images of one inspection target.
  • a plurality of photographed images are obtained by photographing a specific region of the inspection target while changing only the characteristics of the irradiated pattern light without movement of the photographing unit 130 or the inspection target. Accordingly, a plurality of captured images of an inspection target described below are images captured while only changing illumination of the same part of the inspection target.
  • the surface defect detection apparatus 100 may include a storage unit 140 .
  • Various types of data such as files or programs may be installed and stored in the storage unit 140 .
  • the controller 110 may access and use data stored in the storage unit 140 or may store new data in the storage unit 140 . Also, the controller 110 may execute a program installed in the storage unit 140 .
  • the storage unit 140 may store information on characteristics of pattern light to be irradiated by the lighting unit 120 according to the type of inspection target. For example, when it is necessary to acquire three captured images while irradiating pattern light having three different color temperatures on one inspection target, the storage unit 140 sets the color temperature to be adjusted by the lighting unit 120. Values can be stored.
  • information on a plurality of pattern light characteristics including information on the characteristics of the pattern light, that is, color temperature, width or spacing of the stripe pattern, direction of the stripe pattern, and the like, may be previously stored in the storage unit 140 .
  • the storage unit 140 may store a plurality of captured images for each examination target. Of course, only one photographed image may be acquired and stored according to the type of inspection target.
  • each captured image included in the plurality of captured images contains information on pattern light characteristics when the corresponding captured image is acquired.
  • 1, 2, and 3 may be associated with each of the plurality of captured images as reference values.
  • a reference value of '1' may represent an image captured while irradiating pattern light having a color temperature of 4000K.
  • various data or program modules such as parameters related to the pre-learned defect detection model may be stored in the storage unit 140 as one or more packages.
  • the defect detection model is a machine learning model that receives a photographed image and outputs information on whether a defect exists or a defect grade, and has been pre-learned before being installed in the storage unit 140 or stored in the storage unit 140. This state may be a state in which learning continues.
  • the control unit 110 may determine whether or not there is a defect on the surface of the inspection target, the location of the defect, the type of defect, and the grade of the defect by using the defect detection model. That is, the defect detection model is configured to determine only whether or not there is a defect, or, as described above, calculates the grade of the product to be inspected according to the location of the defect, for example, the coating layer where the defect is formed, the type of defect, the number or size of the defect, etc. It can be designed in advance to output it.
  • the defect detection model receives a plurality of captured images one by one and is trained to output whether or not the corresponding captured image has a defect.
  • the controller 110 may check whether each of the plurality of captured images has a defect, and accordingly, if a defect is detected in one of the plurality of captured images, it may be determined that the inspection target has a defect.
  • the controller 110 when the color temperature is set so that the wavelengths of light according to the color temperature reach different paint layers, three captured images a, b, and c are obtained while irradiating pattern light of three different color temperatures.
  • the controller 110 outputs the first It can be determined that only the second coating layer and the second coating layer are defective.
  • the defect detection model identifies the surface of a product having surface defects as a product of the same kind as the inspection target, and the surface defects are on the image. It is possible to pre-learn each of the learning images obtained by photographing while irradiating pattern light whose characteristics are adjusted to be expressed in the image. That is, the defect detection model may pre-learn a learning image in which a reflected light pattern distorted due to the surface defect is captured by photographing the surface of a product having surface defects as a product of the same kind as the inspection target.
  • the learning image is an image taken in a state in which the characteristics of pattern light, such as color temperature, stripe pattern width, spacing, and arrangement direction, are adjusted so that distortion due to defects of the same defective product as the actual inspection target is expressed on the image.
  • the defect detection model may learn a plurality of training images including distortion obtained from a plurality of defective products.
  • the defect detection model receives a plurality of captured images obtained for one inspection object as a set and outputs whether or not there are defects or the number, location, size, type or grade of the product to be inspected due to the defect. may be learned.
  • the defect detection model sets a plurality of learning images obtained by photographing the surface of a product having surface defects as a product of the same kind as the inspection target while changing the characteristics of pattern light as one learning image set, A plurality of training image sets of defective products may be trained.
  • the defect detection model even if a plurality of training images included in one training image set includes a training image in which distortion due to a defect is not expressed, if distortion due to a defect is expressed in another training image, it is comprehensively It is possible to learn the distortion that the defects of the product show according to the characteristics of the patterned light.
  • a defect generated in a specific paint layer by a wavelength that varies according to a color temperature may not be expressed in one learning image in one learning image set but may be expressed in another learning image.
  • a specific type of defect is included in the learning image set
  • the defect detection model receives a plurality of images taken for the actual inspection target and detects defects as well as It can also be learned to classify the type of defect.
  • the defect detection result for each inspection target calculated by the controller 110 may be stored in the storage unit 140 of the surface defect detection apparatus 100 .
  • the surface defect detection device 100 may include an input/output unit 150 .
  • the input/output unit 120 may include an input unit for receiving an input from a user and an output unit for displaying information such as a job performance result or a state of the surface defect detection device 100 .
  • the input/output unit 120 may include an operation panel for receiving a user input and a display panel for displaying a screen.
  • the input unit may include devices capable of receiving various types of user inputs, such as a keyboard, a physical button, a touch screen, or a microphone.
  • the output unit may include a display panel or a speaker.
  • the input/output unit 120 is not limited thereto and may include a configuration supporting various input/output.
  • the input/output unit 150 may receive specific setting values for the lighting unit 120 or the camera unit 130 from a user and transmit them to the control unit 110 or store them in the storage unit 140 .
  • the input/output unit 150 may receive a type of examination target selected by a user, and the controller 110 may adjust settings of the lighting unit 120 or the camera unit 130 according to the selected examination target type.
  • the input/output unit 150 may output defect detection results for inspection targets. For example, when the control unit 110 determines that the grade of a specific inspection target is unqualified, the input/output unit 150 may generate an alarm so that the user can exclude the corresponding inspection target product from the inspection line.
  • the surface defect detection device 100 may include a communication unit 160 .
  • the communication unit 160 is a means for mediating data exchange between other devices and the surface defect detection apparatus 100, and may perform wired/wireless communication with other devices or networks.
  • the communication unit 160 may include a communication module supporting at least one of various wired/wireless communication methods.
  • the communication module may be implemented in the form of a chipset.
  • the wireless communication supported by the communication unit 160 may be, for example, Wireless Fidelity (Wi-Fi), Wi-Fi Direct, Bluetooth, Ultra Wide Band (UWB), or Near Field Communication (NFC).
  • wired communication supported by the communication unit 140 may be, for example, USB or High Definition Multimedia Interface (HDMI).
  • HDMI High Definition Multimedia Interface
  • the communication unit 160 may transmit a defect detection result from the surface defect detection device 100 to another device, for example, a separate user device.
  • FIG. 3 is a diagram showing a surface defect detection method step by step according to an embodiment
  • FIG. 4 is an exemplary view showing types of defects occurring in a coating layer of a product to be inspected having a glossy surface
  • 5 is an exemplary view showing an example of defects detected by a surface defect detection method according to an embodiment.
  • the surface defect detection method according to the embodiment shown in FIG. 3 includes steps processed time-sequentially in the surface defect detection apparatus 100 shown in FIGS. 1 and 2 . Therefore, even if the contents are omitted below, the above description of the surface defect detection apparatus 100 shown in FIGS. 1 and 2 can also be applied to the surface defect detection method according to the embodiment shown in FIG. 3 .
  • the surface defect detection apparatus 100 acquires a photographed image of an object to be inspected, and detects a defect using the obtained photographed image.
  • steps S301 to S306 may be performed to obtain one or more captured images of the object to be inspected.
  • the surface defect detection apparatus 100 irradiates pattern light having preset characteristics to an inspection target (S301).
  • two or more characteristics of pattern light may be set for one inspection target, and thus, two or more captured images of the inspection target may be obtained.
  • three different pattern light characteristics for obtaining three photographed images may be preset. Accordingly, the surface defect detection apparatus 100 may sequentially change pattern light according to preset characteristics.
  • the surface defect detection apparatus 100 may capture the reflected light formed by reflecting the pattern light on the surface of the inspection target (S302). Subsequently, the surface defect detection apparatus 100 stores the photographed image (S303), and then determines whether or not the photographing has been completed a preset number of times, that is, a number corresponding to the preset number of pattern light characteristics (S304). ).
  • the surface defect detection device 100 In step S304, it is possible to check whether two times of image capturing according to each characteristic have been completed.
  • the surface defect detection apparatus 100 may detect defects of the inspection target based on one or more stored captured images (S307).
  • the surface defect detection apparatus 100 sequentially changes the characteristics of the pattern light according to a preset one (S305), and irradiates the pattern light with the changed characteristics to capture the captured image.
  • a series of processes (S301 to S304) of obtaining may be repeated.
  • the surface defect detection apparatus 100 can selectively change the setting value of the camera, that is, the photographing unit according to the characteristics of the pattern light set by changing in step S305 (S306). For example, you can change the camera's white balance settings.
  • the surface defect detection apparatus 100 may acquire one or more, depending on embodiments, a plurality of captured images of the inspection target.
  • the surface defect detection apparatus 100 may use a previously learned defect detection model.
  • the defect detection model may learn learning images obtained by photographing a defective product as a product of the same type as the inspection target in image units. In this case, it is preferable to train the defect detection model using only images in which distortion due to defects is expressed as training images.
  • the defect detection model may be trained to determine defects by using a plurality of training images acquired while changing the characteristics of pattern light identically to the actual inspection environment for one defective product as one unit set.
  • the defect detection model is labeled with the location or type of the defect, the shape, size, depth, etc. of the defect, and learns the characteristics of distortion that appear or do not appear in a plurality of learning images sequentially photographed with different characteristics of pattern light. By doing so, it may be learned to distinguish the type of defect.
  • various types of defects may be distributed on a glossy surface having a plurality of paint layers, such as an automobile.
  • the undercoating layer (L2), the color painting layer (L3), and the transparent painting layer (L4) are sequentially formed on the body panel (L1) of the vehicle, foreign matter 401, color aggregation 402, Defects such as poor gloss 403, bubbles 404, and scratches 405 and 406 may be distributed.
  • the surface defect detection apparatus 100 may calculate the number, size, type, etc. of defects from a plurality of captured images by photographing the surface of the vehicle while irradiating pattern light of different color temperatures in various directions.
  • the defect detection model comprehensively analyzes the plurality of captured images to further determine the type, depth, distribution, and the like of defects.
  • the surface defect detection apparatus 100 may classify the product grade of the inspection target according to the size, number, type, and depth of the detected defects.
  • the outermost layer of the glossy surface of the inspection object for example, by irradiating the inspection object with patterned light having a color temperature corresponding to the wavelength reflected from the transparent coating layer of FIG.
  • the detection performance does not deteriorate according to the color of the product to be inspected by using the glossy characteristics of the painted surface, and defects found on the surface can be easily detected.
  • the lower layer for example, the undercoating layer (L2 of FIG. ) or an image reflected from the color coating layer L3, etc., it is possible to improve the accuracy of defect detection by maximizing the visibility of defects generated inside the coating.
  • ' ⁇ unit' used in the above embodiments means software or a hardware component such as a field programmable gate array (FPGA) or ASIC, and ' ⁇ unit' performs certain roles.
  • ' ⁇ part' is not limited to software or hardware.
  • ' ⁇ bu' may be configured to be in an addressable storage medium and may be configured to reproduce one or more processors. Therefore, as an example, ' ⁇ unit' refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, and procedures. , subroutines, segments of program patent code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables.
  • components and ' ⁇ units' may be implemented to play one or more CPUs in a device or a secure multimedia card.
  • the surface defect detection method according to the embodiment described with reference to FIG. 3 may be implemented in the form of a computer-readable medium storing instructions and data executable by a computer.
  • instructions and data may be stored in the form of program codes, and when executed by a processor, a predetermined program module may be generated to perform a predetermined operation.
  • computer-readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media.
  • a computer-readable medium may be a computer recording medium, which is a volatile and non-volatile memory implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data.
  • Computer storage media include magnetic storage media such as HDDs and SSDs, optical media such as CDs, DVDs and Blu-ray discs, or media accessible through a network. It may be a memory included in the server.
  • the surface defect detection method according to the embodiment described with reference to FIG. 3 may be implemented as a computer program (or computer program product) including instructions executable by a computer.
  • a computer program includes programmable machine instructions processed by a processor and may be implemented in a high-level programming language, object-oriented programming language, assembly language, or machine language.
  • the computer program may be recorded on a tangible computer-readable recording medium (eg, a memory, a hard disk, a magnetic/optical medium, or a solid-state drive (SSD)).
  • SSD solid-state drive
  • a computing device may include at least some of a processor, a memory, a storage device, a high-speed interface connected to the memory and a high-speed expansion port, and a low-speed interface connected to a low-speed bus and a storage device.
  • a processor may include at least some of a processor, a memory, a storage device, a high-speed interface connected to the memory and a high-speed expansion port, and a low-speed interface connected to a low-speed bus and a storage device.
  • Each of these components are connected to each other using various buses and may be mounted on a common motherboard or mounted in any other suitable manner.
  • the processor may process commands within the computing device, for example, to display graphic information for providing a GUI (Graphic User Interface) on an external input/output device, such as a display connected to a high-speed interface.
  • GUI Graphic User Interface
  • Examples include instructions stored in memory or storage devices.
  • multiple processors and/or multiple buses may be used along with multiple memories and memory types as appropriate.
  • the processor may be implemented as a chipset comprising chips including a plurality of independent analog and/or digital processors.
  • Memory also stores information within the computing device.
  • the memory may consist of a volatile memory unit or a collection thereof.
  • the memory may be composed of a non-volatile memory unit or a collection thereof.
  • Memory may also be another form of computer readable medium, such as, for example, a magnetic or optical disk.
  • a storage device may provide a large amount of storage space to the computing device.
  • a storage device may be a computer-readable medium or a component that includes such a medium, and may include, for example, devices in a storage area network (SAN) or other components, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, flash memory, or other semiconductor memory device or device array of the like.
  • SAN storage area network

Abstract

Proposed are a surface defect detection device and method. The surface defect detection method performed by a surface defect detection device comprises the steps of: obtaining a captured image of an object to be inspected; and detecting a defect by using the obtained captured image. The step of obtaining a captured image comprises the steps of: irradiating, onto the surface of the object to be inspected, pattern light having stripe patterns at regular intervals; and obtaining a captured image by capturing reflective light reflected from the surface of the object to be inspected.

Description

표면 결함 검출 장치 및 방법Apparatus and method for detecting surface defects
본 명세서에서 개시되는 실시예들은 표면의 광택으로 인하여 촬영에 의한 결함 검출이 어려운 제품들의 표면 결함을 검출할 수 있도록 하는 표면 결함 검출 장치 및 방법에 관한 것이다.Embodiments disclosed herein relate to a surface defect detection apparatus and method capable of detecting surface defects of products that are difficult to detect defects by photography due to surface gloss.
대량 생산되는 제품의 품질 검사의 하나로서 외관 검사가 있다. 제품의 외관을 촬영한 이미지를 광학적으로 분석하여, 결함으로 추정되는 부분을 찾아 결함 제품을 분류하는 방식으로 제품을 검사한다. 특히 이와 같은 외관 검사 과정에서 미리 학습된 인공지능 모델을 사용하면서 검사 성능이 향상되어, 사람이 육안 검사를 하지 않더라도 검사 결과가 신뢰할 만한 수준에 도달하기에 이르렀다. 특히 이와 같은 머신비전을 이용한 외관 검사를 채용하면서, 대량 생산 제품의 검사는 시간과 비용면에서 효율성이 높아지고 있다. As one of the quality inspections of mass-produced products, there is a visual inspection. The product is inspected by optically analyzing the image taken of the exterior of the product, finding the part estimated to be defective, and classifying the defective product. In particular, the use of pre-learned artificial intelligence models in the exterior inspection process has improved inspection performance, and the inspection results have reached a reliable level even without human visual inspection. Particularly, by adopting the exterior inspection using machine vision, the inspection of mass-produced products is becoming more efficient in terms of time and cost.
그러나 이와 같이 효율성을 극대화할 수 있는 외관 검사 방식을 채용하기 어려운 제품들이 있다. 표면에 광택이 있는 제품들, 예를 들어 광택 코팅이 필요한 자동차나 관련 부품들, 가전 제품 등은 외관 촬영을 위해 필수적인 조명의 빛을 반사하기 때문에 머신비전을 이용한 외관 검사를 수행하기 어려웠다. 제품의 촬영 이미지 내에 표면 광택으로 인한 과도한 반사광이 있는 부분에는 결함이 있더라도 이를 식별하기 어려운 문제가 있었다. 그에 따라 이러한 제품들은 사람이 육안으로 결함을 찾아내야 하는 비효율이 있었다. However, there are products that are difficult to adopt the exterior inspection method that can maximize efficiency. Products with a glossy surface, such as automobiles, related parts, and home appliances that require glossy coating, reflect light of essential lighting for exterior photography, making it difficult to perform exterior inspection using machine vision. Even if there is a defect in the part where there is excessive reflected light due to the surface gloss in the photographed image of the product, it is difficult to identify it. As a result, these products had inefficiency in that a person had to find defects with the naked eye.
한국등록특허 제 10-1611823호 “외관 검사방법”에는 가전 제품 등을 이송시키면서 외관을 촬영하여, 가전 제품 표면의 찍힘이나 얼룩 등의 결함을 검출하는 자동 외관 검사장치와 방법이 개시되어 있다.Korean Patent Registration No. 10-1611823 “Exterior Inspection Method” discloses an automatic exterior inspection device and method for detecting defects such as dents or stains on the surface of home appliances by photographing the exterior while transporting the appliance.
그러나 이와 같은 선행문헌은 촬영된 영상 내에 광택이 포함된 경우의 문제점이나 이를 개선할 수 있는 방법을 제시하지 못한다. 따라서 이와 같이 광택 표면을 갖는 제품들의 외관 검사를 수행하기 위한 비전검사 방법이 요구되고 있다. However, such prior literature does not suggest a problem or a method for improving it when gloss is included in a photographed image. Therefore, there is a need for a vision inspection method for inspecting the appearance of products having a glossy surface.
한편, 전술한 배경기술은 발명자가 본 발명의 도출을 위해 보유하고 있었거나, 본 발명의 도출 과정에서 습득한 기술 정보로서, 반드시 본 발명의 출원 전에 일반 공중에게 공개된 공지기술이라 할 수는 없다.On the other hand, the above-mentioned background art is technical information that the inventor possessed for derivation of the present invention or acquired in the process of derivation of the present invention, and cannot necessarily be said to be known art disclosed to the general public prior to filing the present invention. .
본 명세서에서 개시되는 실시예들은, 광택 표면을 갖는 제품의 표면 결함 검출 장치 및 방법을 제시하는데 목적이 있다. Embodiments disclosed herein are aimed at presenting an apparatus and method for detecting surface defects of a product having a glossy surface.
본 명세서에 개시되는 실시예들은, 광택 표면을 갖는 제품의 결함의 검출 성능을 높일 수 있는 표면 결함 검출 장치 및 방법을 제시하는데 목적이 있다. Embodiments disclosed in this specification are aimed at presenting a device and method for detecting surface defects capable of improving defect detection performance of a product having a glossy surface.
본 명세서에 개시되는 실시예들은, 광택 표면을 형성하는 복수의 도장층을 선택적으로 촬영하여, 결함이 발생한 세부적인 위치를 검출할 수 있는 표면 결함 검출 장치 및 방법을 제시하는데 목적이 있다. Embodiments disclosed in this specification are intended to provide a surface defect detection device and method capable of detecting detailed locations of defects by selectively photographing a plurality of coating layers forming a glossy surface.
본 명세서에 개시되는 실시예들은, 광택 표면에 형성된 결함들의 위치나 연장 방향 등이 다양하더라도 이를 모두 검출할 수 있는 표면 결함 검출 장치 및 방법을 제시하는데 목적이 있다.Embodiments disclosed in this specification are intended to provide a surface defect detection device and method capable of detecting all defects formed on a glossy surface, even if the locations or extension directions thereof vary.
상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 일 실시예에 따르면, 표면 결함 검출 장치가 수행하는 표면 결함 검출 방법은, 검사 대상의 촬영 이미지를 획득하는 단계; 획득된 촬영 이미지를 이용하여 결함을 검출하는 단계를 포함하고, 촬영 이미지를 획득하는 단계는, 검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 단계; 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 단계를 포함한다. As a technical means for achieving the above-described technical problem, according to an embodiment, a surface defect detection method performed by a surface defect detection apparatus includes obtaining a photographed image of an inspection target; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; and obtaining a photographed image by photographing the reflected light reflected from the surface of the object to be inspected.
다른 실시예에 따르면, 표면 결함 검출 장치는 검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 조명부; 상기 조명부에 의해 조사된 패턴광이 상기 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 촬영부; 상기 촬영부에 의해 획득된 촬영 이미지를 저장하는 저장부; 그리고 상기 조명부에서 조사되는 패턴광의 특성을 조절하고, 상기 촬영부를 제어하며, 상기 저장부에 저장되는 촬영 이미지를 이용하여 상기 검사 대상의 결함을 검출하는 제어부를 포함할 수 있다.According to another embodiment, a surface defect detection apparatus includes an illumination unit for irradiating pattern light having a stripe pattern at regular intervals on a surface of an inspection target; a photographing unit for acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target by the pattern light irradiated by the lighting unit; a storage unit for storing the photographed image acquired by the photographing unit; The control unit may include a controller configured to adjust characteristics of pattern light emitted from the lighting unit, control the photographing unit, and detect a defect of the inspection target using a photographed image stored in the storage unit.
또한 다른 실시예에 따르면, 표면 결함 검출 방법을 수행하는 프로그램이 기록된 컴퓨터 판독 가능한 기록 매체에서, 표면 결함 검출 방법은 검사 대상의 촬영 이미지를 획득하는 단계; 획득된 촬영 이미지를 이용하여 결함을 검출하는 단계를 포함하고, 촬영 이미지를 획득하는 단계는, 검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 단계; 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 단계를 포함할 수 있다. According to another embodiment, in a computer readable recording medium on which a program for performing a method for detecting surface defects is recorded, the method for detecting surface defects includes acquiring a photographed image of an object to be inspected; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; A step of acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target may be included.
나아가 또 다른 실시예에 따르면, 표면 결함 검출 장치에 의해 수행되며, 표면 결함 검출 방법을 수행하기 위해 매체에 저장된 컴퓨터 프로그램에서 표면 결함 검출 방법은 검사 대상의 촬영 이미지를 획득하는 단계; 획득된 촬영 이미지를 이용하여 결함을 검출하는 단계를 포함하고, 촬영 이미지를 획득하는 단계는, 검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 단계; 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 단계를 포함할 수 있다. Furthermore, according to another embodiment, the surface defect detection method in a computer program stored in a medium to perform the surface defect detection method, which is performed by a surface defect detection device, includes acquiring a photographed image of an inspection target; The method includes: detecting a defect using an acquired captured image, wherein the acquiring of the captured image includes: irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected; A step of acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target may be included.
전술한 과제 해결 수단 중 어느 하나에 의하면, 광택 표면을 갖는 제품의 표면 결함 검출 방법 및 이를 수행하기 위한 장치를 제시할 수 있다. According to any one of the above-mentioned problem solving means, it is possible to present a method for detecting surface defects of a product having a glossy surface and an apparatus for performing the same.
전술한 과제 해결 수단 중 어느 하나에 의하면, 광택 표면을 갖는 제품의 결함의 검출 성능을 높일 수 있는 표면 결함 검출 방법 및 이를 수행하기 위한 장치를 제시할 수 있다. According to any one of the above-mentioned problem solving means, it is possible to present a method for detecting surface defects capable of improving the detection performance of defects of a product having a glossy surface and an apparatus for performing the same.
전술한 과제 해결 수단 중 어느 하나에 의하면, 광택 표면을 형성하는 복수의 도장층을 선택적으로 촬영하여, 결함이 발생한 세부적인 위치를 검출할 수 있는 표면 결함 검출 방법 및 이를 수행하기 위한 장치를 제시할 수 있다. According to any one of the above-described problem solving means, a surface defect detection method capable of detecting a detailed location of a defect by selectively photographing a plurality of paint layers forming a glossy surface and a device for performing the same are presented. can
전술한 과제 해결 수단 중 어느 하나에 의하면, 광택 표면에 형성된 결함들의 위치나 연장 방향 등이 다양하더라도 이를 모두 검출할 수 있는 표면 결함 검출 방법 및 이를 수행하기 위한 장치를 제시할 수 있다. According to any one of the above-described problem solving means, it is possible to propose a surface defect detection method and a device for performing the same, which can detect all of the defects formed on the glossy surface even if the locations or extension directions thereof vary.
개시되는 실시예들에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 개시되는 실시예들이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable from the disclosed embodiments are not limited to those mentioned above, and other effects not mentioned are clear to those skilled in the art from the description below to which the disclosed embodiments belong. will be understandable.
도 1은 일 실시예에 따른 표면 결함 검출 장치의 기능적 구성을 개략적으로 도시한 블록도이다. 1 is a block diagram schematically showing a functional configuration of a surface defect detection apparatus according to an embodiment.
도 2는 일 실시예에 따른 표면 결함 검출 장치의 일부 구성을 도시한 개념도이다. 2 is a conceptual diagram showing some configurations of a surface defect detection apparatus according to an embodiment.
도 3은 일 실시예에 따른 표면 결함 검출 장치가 수행하는 표면 결함 검출 방법을 단계적으로 도시한 도면이다. 3 is a diagram showing a method of detecting surface defects performed by a surface defect detection apparatus according to an embodiment step by step.
도 4는 광택 표면을 갖는 검사 대상 제품의 도장층에 발생하는 결함의 종류를 나타낸 예시도이다. 4 is an exemplary diagram showing types of defects occurring in a coating layer of a product to be inspected having a glossy surface.
도 5는 일 실시예에 따른 표면 결함 검출 방법에 의하여 검출된 결함의 일례를 도시한 예시도이다. 5 is an exemplary view showing an example of defects detected by a surface defect detection method according to an embodiment.
아래에서는 첨부한 도면을 참조하여 다양한 실시예들을 상세히 설명한다. 아래에서 설명되는 실시예들은 여러 가지 상이한 형태로 변형되어 실시될 수도 있다. 실시예들의 특징을 보다 명확히 설명하기 위하여, 이하의 실시예들이 속하는 기술분야에서 통상의 지식을 가진 자에게 널리 알려져 있는 사항들에 관해서 자세한 설명은 생략하였다. 그리고, 도면에서 실시예들의 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings. Embodiments described below may be modified and implemented in various different forms. In order to more clearly describe the characteristics of the embodiments, detailed descriptions of matters widely known to those skilled in the art to which the following embodiments belong are omitted. And, in the drawings, parts irrelevant to the description of the embodiments are omitted, and similar reference numerals are attached to similar parts throughout the specification.
명세서 전체에서, 어떤 구성이 다른 구성과 "연결"되어 있다고 할 때, 이는 ‘직접적으로 연결’되어 있는 경우뿐 아니라, ‘그 중간에 다른 구성을 사이에 두고 연결’되어 있는 경우도 포함한다. 또한, 어떤 구성이 어떤 구성을 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한, 그 외 다른 구성을 제외하는 것이 아니라 다른 구성들을 더 포함할 수도 있음을 의미한다.Throughout the specification, when a component is said to be "connected" to another component, this includes not only the case of being 'directly connected', but also the case of being 'connected with another component in between'. In addition, when a certain component "includes" a certain component, this means that other components may be further included without excluding other components unless otherwise specified.
이하 첨부된 도면을 참고하여 실시예들을 상세히 설명하기로 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.
도 1은 일 실시예에 따른 표면 결함 검출 장치의 기능적 구성을 개략적으로 도시한 블록도이고, 도 2는 일 실시예에 따른 표면 결함 검출 장치의 일부 구성을 도시한 개념도이다.1 is a block diagram schematically showing a functional configuration of a surface defect detection device according to an embodiment, and FIG. 2 is a conceptual diagram showing some configurations of a surface defect detection device according to an embodiment.
표면 결함 검출 장치(100)는 광택 표면을 갖는 검사 대상의 표면의 결함을 검출하기 위하여, 검사 대상의 촬영 이미지를 획득하고, 획득된 촬영 이미지에 기초하여 결함을 검출하는 장치이다. 표면 결함 검출 장치(100)는 통상의 사용자 단말, 또는 사용자 단말과 서버로 구성되는 서버-클라이언트 시스템으로 구현될 수 있다. The surface defect detection apparatus 100 is a device that acquires a photographed image of an inspection target and detects defects based on the obtained photographed image in order to detect defects on the surface of the inspection target having a glossy surface. The surface defect detection apparatus 100 may be implemented as a general user terminal or a server-client system composed of a user terminal and a server.
여기서 사용자 단말은 네트워크(N)를 통해 원격지의 서버에 접속하거나, 타 단말 및 서버와 연결 가능한 컴퓨터나 휴대용 단말기 등으로 구현될 수 있다. 여기서, 컴퓨터는 예를 들어, 웹 브라우저(WEB Browser)가 탑재된 노트북, 데스크톱(desktop), 랩톱(laptop)등을 포함하고, 휴대용 단말기는 예를 들어, 휴대성과 이동성이 보장되는 무선 통신 장치로서, PCS(Personal Communication System), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), GSM(Global System for Mobile communications), IMT(International Mobile Telecommunication)-2000, CDMA(Code Division Multiple Access)-2000, W-CDMA(W-Code Division Multiple Access), Wibro(Wireless Broadband Internet), 스마트폰(Smart Phone), 모바일 WiMAX(Mobile Worldwide Interoperability for Microwave Access) 등과 같은 모든 종류의 핸드헬드(Handheld) 기반의 무선 통신 장치를 포함할 수 있다. Here, the user terminal may be implemented as a computer or portable terminal capable of accessing a remote server through the network N or connecting to other terminals and servers. Here, the computer includes, for example, a laptop, desktop, or laptop equipped with a web browser, and the portable terminal is, for example, a wireless communication device that ensures portability and mobility. , PCS(Personal Communication System), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), GSM(Global System for Mobile communications), IMT(International Mobile Telecommunication)-2000, CDMA(Code Division Multiple Access)-2000, W-CDMA (W-Code Division Multiple Access), Wibro (Wireless Broadband Internet), Smart Phone, Mobile WiMAX (Mobile Worldwide Interoperability for Microwave Access), etc. (Handheld)-based wireless communication device may be included.
이때 사용자 단말에는 후술할 조명부나 촬영부에 대응하는 광조사수단이나 카메라 등이 일체로 구성되거나 또는 모듈 형태로 연결될 수 있다. In this case, a light irradiation unit or a camera corresponding to a lighting unit or a photographing unit, which will be described later, may be integrally configured or connected to the user terminal in the form of a module.
한편 이때 서버-클라이언트 시스템을 구현하는 서버는 사용자와의 인터랙션을 위한 애플리케이션이나 웹브라우저가 설치된 사용자 단말과 네트워크를 통해 통신이 가능한 컴퓨터로 구현되거나, 클라우드 컴퓨팅 서버로 구현될 수도 있다. 또한 서버는, 데이터를 저장할 수 있는 저장장치가 포함되거나, 제3의 서버를 통해 데이터를 저장할 수 있다.Meanwhile, at this time, the server implementing the server-client system may be implemented as a computer capable of communicating with a user terminal on which an application for interaction with a user or a web browser is installed through a network, or may be implemented as a cloud computing server. In addition, the server may include a storage device capable of storing data or may store data through a third server.
상술한 사용자 단말과 서버는 서로 협력하여, 하나의 서버-클라이언트 시스템으로 구현되는 표면 결함 검출 장치(100)를 구성할 수 있으며, 이러한 경우 표면 결함 검출 장치(100)는 사용자 단말을 통해 사용자와 인터페이스하면서, 사용자 단말로부터 검사 대상의 촬영 이미지를 획득하도록 하고, 서버가 이를 처리하여 결함을 검출하는 방식으로 동작할 수 있다. The above-described user terminal and server may cooperate with each other to configure the surface defect detection device 100 implemented as one server-client system. In this case, the surface defect detection device 100 interfaces with the user through the user terminal. While doing so, it is possible to operate in such a way that a photographed image of an inspection target is acquired from a user terminal, and a server processes it to detect a defect.
한편 도 1에 도시된 바와 같이 표면 결함 검출 장치(100)는 제어부(110)를 포함한다. 제어부(110)는 표면 결함 검출 장치(100)의 전체적인 동작을 제어하며, 후술할 표면 결함 검출 장치(100)에 포함되는 각종 구성을 제어하는 CPU 등과 같은 프로세서를 포함할 수 있다. 제어부(110)는 후술할 저장부(140)에 저장된 프로그램을 실행시키거나, 저장부(140)에 저장된 알고리즘이나 머신러닝 모델을 이용하여 데이터를 연산할 수 있다. 또한 제어부(110)는 처리된 데이터를 다시 저장부(140)에 저장할 수 있다.Meanwhile, as shown in FIG. 1 , the surface defect detection apparatus 100 includes a controller 110. The control unit 110 controls the overall operation of the surface defect detection apparatus 100 and may include a processor such as a CPU that controls various components included in the surface defect detection apparatus 100 to be described later. The control unit 110 may execute a program stored in the storage unit 140 to be described later or calculate data using an algorithm or a machine learning model stored in the storage unit 140. Also, the control unit 110 may store the processed data in the storage unit 140 again.
제어부(110)의 구체적인 동작에 대해서는 아래에서 부연한다. A specific operation of the control unit 110 will be elaborated below.
한편 표면 결함 검출 장치(100)는 검사 대상을 촬영하기 위하여, 검사 대상에 패턴광을 조사하는 조명부(120)를 포함할 수 있다. 이때 패턴광은 도 2에 도시된 바와 같이 직진성을 갖는 스트라이프 패턴(P)의 광으로서, 이때 스트라이프 패턴은 일정한 폭으로 형성되며, 서로 일정 간격으로 평행하게 배열될 수 있다. 예를 들어 조명부(120)는 복수의 LED소자가 배열된 램프를 포함할 수 있고, 이와 같은 LED 램프가 스트라이프 패턴에 따라 배열된 형태일 수 있다. Meanwhile, the surface defect detection apparatus 100 may include a lighting unit 120 for irradiating pattern light to the inspection target in order to photograph the inspection target. At this time, the pattern light is the light of the stripe pattern P having straightness as shown in FIG. 2, and at this time the stripe patterns are formed with a certain width and may be arranged in parallel at regular intervals. For example, the lighting unit 120 may include a lamp in which a plurality of LED elements are arranged, and such LED lamps may be arranged in a stripe pattern.
또한 조명부(120)는 패턴광의 특성, 예를 들어 색온도, 스트라이프 패턴의 폭, 스트라이프 패턴 사이의 간격, 스트라이프 패턴이 연장되는 방향 등을 변경할 수 있도록 구성될 수 있다. 조명부(120)는 패턴광의 색온도를 예를 들어, 3000K(캘빈)에서 7000K 사이에서 선택되는 둘 이상의 서로 다른 값을 갖도록 조절할 수 있다. In addition, the lighting unit 120 may be configured to change characteristics of pattern light, such as color temperature, width of stripe patterns, interval between stripe patterns, direction in which stripe patterns extend, and the like. The lighting unit 120 may adjust the color temperature of the pattern light to have two or more different values selected from, for example, 3000K (Kelvin) to 7000K.
예를 들어, 조명부(120)는 각각 서로 다른 색온도의 광을 방출하는 둘 이상의 종류의 LED소자들을 포함하여 구성될 수 있고, 한번에 특정 색온도를 갖는 LED 소자들만 발광하도록 제어하면서, 색온도를 조절할 수 있다. For example, the lighting unit 120 may include two or more types of LED elements emitting light of different color temperatures, and the color temperature may be adjusted while controlling only LED elements having a specific color temperature to emit light at a time. .
또한 다른 예로서, 조명부(120)는 스트라이프 패턴의 방향이 조절될 수 있도록 회전 가능하게 구성될 수 있다.As another example, the lighting unit 120 may be configured to be rotatable so that the direction of the stripe pattern may be adjusted.
또 다른 예로서, 조명부(120)는 스트라이프 패턴의 간격이나 폭이 조절될 수 있도록, 복수의 매트릭스 형태로 배열된 LED 소자들을 포함하되, 이들이 선택적으로 발광하면서 원하는 폭과 간격의 스트라이프 패턴의 빛이 발광되도록 구성될 수도 있다. As another example, the lighting unit 120 includes a plurality of LED elements arranged in a matrix so that the interval or width of the stripe pattern can be adjusted, and while the LED elements selectively emit light, the light of the stripe pattern having a desired width and interval is emitted. It may also be configured to emit light.
또 다른 예로서, 조명부(120)는 후방에는 매트릭스 형태로 배열된 LED 소자들이 발광하고, 전방에는 LCD패널이 구성되며, LCD 패널이 원하는 패턴을 출력할 때 후방에서 LED 소자가 발광하면서 패턴광을 형성하도록 구성될 수도 있다. 이에 의하면 LCD 패널이 조사하고자 하는 패턴광의 이차원 이미지를 출력함으로써, 패턴광의 특성을 제어할 수 있다. 나아가 LCD패널이 출력하는 이미지를 이용하여, LED 소자에서 발광되는 빛의 색온도도 제어할 수 있다. As another example, in the lighting unit 120, LED elements arranged in a matrix form emit light at the rear, and an LCD panel is configured at the front. When the LCD panel outputs a desired pattern, the LED elements at the rear emit light and emit pattern light. It may be configured to form. According to this, the characteristics of the pattern light can be controlled by outputting a two-dimensional image of the pattern light to be irradiated by the LCD panel. Furthermore, the color temperature of light emitted from the LED device can be controlled using an image output from the LCD panel.
이와 같이 조명부(120)가 패턴광의 특성을 조절 가능하게 구성됨으로써, 제어부(110)는 검사 대상에 따라 요구되는 하나 이상의 패턴광의 특성에 따라 조명부(120)가 구동하고, 촬영 이미지가 획득되도록 할 수 있다.In this way, since the lighting unit 120 is configured to be able to adjust the characteristics of the pattern light, the control unit 110 can drive the lighting unit 120 according to the characteristics of one or more pattern lights required according to the inspection target and obtain a photographed image. there is.
예를 들어, 복수의 도장층을 포함하는 검사 대상에 대하여, 제어부(110)는 패턴광이 각각의 도장층에 도달할 수 있도록 설정되는 둘 이상의 패턴광의 색온도의 정보를 저장부(140)에 저장되도록 하고, 조명부(120)가 설정된 색온도에 따라 서로 다른 특성의 패턴광을 동일한 검사 대상에 순차적으로 조사하도록 할 수 있다. For example, with respect to an inspection target including a plurality of paint layers, the control unit 110 stores color temperature information of two or more pattern lights set so that the pattern light can reach each paint layer in the storage unit 140. The lighting unit 120 may sequentially irradiate pattern light having different characteristics to the same inspection target according to the set color temperature.
또는 제어부(110)는 결함의 위치나 결함의 연장 방향 등에 따라 특정한 하나의 방향의 패턴광에 의해서는 결함이 용이하게 검출되지 않을 가능성이 있는 경우, 패턴광을 형성하는 스트라이프 패턴의 진행 방향을 둘 이상 미리 설정하여 저장부(140)에 저장되도록 한 후, 조명부(120)로 하여금 설정된 둘 이상의 방향에 따라 패턴광을 순차적으로 변경하여 조사하면서 둘 이상의 촬영 이미지를 획득하도록 할 수 있다. Alternatively, if there is a possibility that a defect cannot be easily detected by the pattern light in one specific direction depending on the location of the defect or the extension direction of the defect, the control unit 110 sets two directions of movement of the stripe pattern forming the pattern light. After the preset is set and stored in the storage unit 140, the lighting unit 120 may obtain two or more captured images while sequentially changing and irradiating pattern light according to two or more set directions.
표면 결함 검출 장치(100)는 촬영부(130)를 포함할 수 있다. 촬영부(130)는 통상의 카메라 모듈 등과 같은 광학수단으로 구비되어 조명부(120)가 검사 대상에 패턴광을 조사하는 동안에, 검사 대상의 표면을 촬영할 수 있다. 그에 따라 촬영부(130)가 획득하는 촬영 이미지에는 패턴광이 조사되는 검사 대상의 광택 표면에서 반사되는 반사광의 이미지를 포함할 수 있다.The surface defect detection device 100 may include a photographing unit 130 . The photographing unit 130 is provided with an optical means such as a conventional camera module, and can photograph the surface of the inspection target while the lighting unit 120 radiates pattern light to the inspection target. Accordingly, the photographed image obtained by the photographing unit 130 may include an image of reflected light reflected from the glossy surface of the inspection target to which the pattern light is irradiated.
한편 도 2에 도시된 바와 같이 촬영부(130)에 의해 획득되는 촬영 이미지(I)는 패턴광을 형성하는 스트라이프 패턴(P)에 대응하여 대체로 유사한 형상을 가질 수 있다. 다만 검사 대상의 광택 표면에 굴곡이 있는 경우, 굴곡에 따라 휘어지는 형상으로 형성될 수 있다. 한편 의도한 굴곡 외에 결함이 있는 경우 결함에 의하여 스트라이프 패턴이 왜곡될 수 있다. 그에 따라 촬영부(130)에 의해 획득되는 촬영 이미지(I)는 결함에 의한 왜곡을 포함할 수 있다. Meanwhile, as shown in FIG. 2 , the photographed image I obtained by the photographing unit 130 may have a substantially similar shape corresponding to the stripe pattern P forming the pattern light. However, if there is a curve on the glossy surface of the inspection target, it may be formed into a shape that is bent according to the curve. Meanwhile, if there is a defect other than the intended curve, the stripe pattern may be distorted by the defect. Accordingly, the photographed image I obtained by the photographing unit 130 may include distortion due to defects.
한편 제어부(110)는 촬영부(130)를 제어할 수 있다. 제어부(110)는 조명부(120)에서 조사된 패턴광의 특성에 따라 촬영부(130)의 설정을 변경할 수 있다. 예를 들어, 제어부(110)가 조명부(120)의 패턴광의 특성을 변경시키는 경우, 제어부(110)는 촬영부(130)의 설정을 패턴광의 특성에 맞게 변경함으로써, 촬영 이미지가 선명하게 획득되도록 할 수 있다. 예를 들면, 조명부(120)가 발광하는 패턴광의 색온도를 변경하는 경우, 변경한 색온도에 따른 촬영 이미지의 획득을 위하여 촬영부(130)의 화이트 밸런스(White Balance) 설정값을 조정할 수 있다.Meanwhile, the controller 110 may control the photographing unit 130 . The controller 110 may change settings of the photographing unit 130 according to the characteristics of the pattern light emitted from the lighting unit 120 . For example, when the control unit 110 changes the characteristics of the pattern light of the lighting unit 120, the controller 110 changes the settings of the photographing unit 130 according to the characteristics of the pattern light so that a captured image can be obtained clearly. can do. For example, when the color temperature of pattern light emitted by the lighting unit 120 is changed, a white balance set value of the photographing unit 130 may be adjusted to acquire a photographed image according to the changed color temperature.
한편 제어부(110)는 동일한 하나의 검사 대상에 대하여 조명부(120)에서 발광되는 패턴광의 특성을 미리 설정된 횟수만큼 변경시키면서, 동시에 촬영부(130)가 패턴광의 특성이 변경될 때마다 검사 대상을 촬영하는 것을 반복함으로써, 하나의 검사 대상에 대한 복수의 촬영 이미지를 획득하도록 할 수 있다. Meanwhile, the control unit 110 changes the characteristics of the pattern light emitted from the lighting unit 120 for the same inspection target by a preset number of times, and at the same time, the photographing unit 130 photographs the inspection target whenever the characteristics of the pattern light are changed. By repeating this, it is possible to acquire a plurality of captured images of one inspection target.
이때 복수의 촬영 이미지는, 검사 대상의 특정 부위를 촬영부(130)나 검사 대상의 이동 없이, 조사되는 패턴광의 특성만을 변경하면서 촬영함으로써 획득된다. 그에 따라 아래에서 설명되는 검사 대상에 대한 복수의 촬영 이미지는, 검사 대상의 동일한 부위를 조명만 변경하면서 촬영한 이미지이다. At this time, a plurality of photographed images are obtained by photographing a specific region of the inspection target while changing only the characteristics of the irradiated pattern light without movement of the photographing unit 130 or the inspection target. Accordingly, a plurality of captured images of an inspection target described below are images captured while only changing illumination of the same part of the inspection target.
한편 표면 결함 검출 장치(100)는 저장부(140)를 포함할 수 있다. 저장부(140)에는 파일이나 프로그램 등과 같은 다양한 종류의 데이터가 설치 및 저장될 수 있다. 제어부(110)는 저장부(140)에 저장된 데이터에 접근하여 이를 이용하거나, 또는 새로운 데이터를 저장부(140)에 저장할 수도 있다. 또한, 제어부(110)는 저장부(140)에 설치된 프로그램을 실행할 수도 있다.Meanwhile, the surface defect detection apparatus 100 may include a storage unit 140 . Various types of data such as files or programs may be installed and stored in the storage unit 140 . The controller 110 may access and use data stored in the storage unit 140 or may store new data in the storage unit 140 . Also, the controller 110 may execute a program installed in the storage unit 140 .
저장부(140)에는 검사 대상의 종류에 따라 조명부(120)가 조사해야 할 패턴광의 특성에 대한 정보가 저장될 수 있다. 예를 들어, 하나의 검사 대상에 대하여 각각 다른 세가지 수준의 색온도를 갖는 패턴광을 조사하면서 세 개의 촬영 이미지를 획득해야 하는 경우 저장부(140)에는 조명부(120)가 조절해야 할 색온도에 대한 설정값들이 저장될 수 있다.The storage unit 140 may store information on characteristics of pattern light to be irradiated by the lighting unit 120 according to the type of inspection target. For example, when it is necessary to acquire three captured images while irradiating pattern light having three different color temperatures on one inspection target, the storage unit 140 sets the color temperature to be adjusted by the lighting unit 120. Values can be stored.
이처럼 패턴광의 특성, 즉 색온도, 스트라이프 패턴의 폭이나 간격, 스트라이프 패턴의 방향 등에 대한 정보를 포함하는 복수의 패턴광 특성에 대한 정보가 저장부(140)에 미리 저장될 수 있다.As such, information on a plurality of pattern light characteristics including information on the characteristics of the pattern light, that is, color temperature, width or spacing of the stripe pattern, direction of the stripe pattern, and the like, may be previously stored in the storage unit 140 .
또한 저장부(140)에는 각각의 검사 대상에 대하여 촬영된 복수의 촬영 이미지들이 저장될 수 있다. 물론 검사 대상의 종류에 따라 하나의 촬영 이미지만 획득되고 저장될 수도 있다. In addition, the storage unit 140 may store a plurality of captured images for each examination target. Of course, only one photographed image may be acquired and stored according to the type of inspection target.
이때 저장부(140)에는 하나의 검사 대상에 대하여 복수의 촬영 이미지가 저장될 때, 복수의 촬영 이미지에 포함되는 각각의 촬영 이미지에 해당 촬영 이미지를 획득할 때의 패턴광 특성에 대한 정보가 함께 연관하여 저장될 수 있다. 예를 들어, 패턴광의 색온도를 4000K, 5500K, 7000K로 순차적으로 변경하면서 복수의 촬영 이미지를 획득하는 경우, 복수의 촬영 이미지에는 각각 참조값으로서 1, 2, 3이 연관될 수 있고, 이때 예를 들어 ‘1’의 참조값은 색온도가 4000K인 패턴광을 조사하면서 촬영된 이미지임을 나타낼 수 있다. At this time, when a plurality of captured images of one inspection target are stored in the storage unit 140, each captured image included in the plurality of captured images contains information on pattern light characteristics when the corresponding captured image is acquired. can be associated with and stored. For example, when a plurality of captured images are acquired while sequentially changing the color temperature of pattern light to 4000K, 5500K, and 7000K, 1, 2, and 3 may be associated with each of the plurality of captured images as reference values. At this time, for example, A reference value of '1' may represent an image captured while irradiating pattern light having a color temperature of 4000K.
또한 저장부(140)에는 사전 학습된 결함 검출 모델과 관련된 파라미터 등의 각종 데이터나 프로그램 모듈이 하나 이상의 패키지로서 저장될 수 있다. 이때 결함 검출 모델은, 촬영 이미지를 입력 받아 결함 여부나 결함 등급에 대한 정보를 출력하는 머신러닝 모델로서, 저장부(140)에 설치되기 이전에 미리 사전 학습이 완료되었거나 저장부(140)에 저장된 상태로 학습이 지속되는 상태일 수 있다. In addition, various data or program modules such as parameters related to the pre-learned defect detection model may be stored in the storage unit 140 as one or more packages. At this time, the defect detection model is a machine learning model that receives a photographed image and outputs information on whether a defect exists or a defect grade, and has been pre-learned before being installed in the storage unit 140 or stored in the storage unit 140. This state may be a state in which learning continues.
제어부(110)는 이와 같은 결함 검출 모델을 이용하여 검사 대상의 표면에 결함이 있는지 여부, 결함의 위치, 결함의 종류, 결함의 등급 등을 판정할 수 있다. 즉, 결함 검출 모델은, 결함 여부만을 판정하도록 구성되거나, 상술한 바와 같이 결함의 위치, 예를 들어 결함이 형성된 도장층 등나 결함의 종류, 결함의 수나 크기 등에 따른 검사 대상 제품의 등급 등을 산출하여 출력하도록 미리 설계될 수 있다. The control unit 110 may determine whether or not there is a defect on the surface of the inspection target, the location of the defect, the type of defect, and the grade of the defect by using the defect detection model. That is, the defect detection model is configured to determine only whether or not there is a defect, or, as described above, calculates the grade of the product to be inspected according to the location of the defect, for example, the coating layer where the defect is formed, the type of defect, the number or size of the defect, etc. It can be designed in advance to output it.
한편 결함 검출 모델은, 하나의 검사 대상에 대하여 획득된 복수의 촬영 이미지를 이용하여 결함을 검출함에 있어서, 복수의 촬영 이미지를 각각 하나씩 입력 받고, 해당 촬영 이미지에 결함이 있는지 여부를 출력하도록 학습될 수 있다. 이 경우 제어부(110)는 복수의 촬영 이미지 각각에 대한 결함 여부를 확인할 수 있고, 그에 따라 복수의 촬영 이미지 중 하나에서라도 결함이 검출되면 검사 대상에 결함이 있다고 판정할 수 있다.Meanwhile, in detecting a defect using a plurality of captured images obtained for one inspection target, the defect detection model receives a plurality of captured images one by one and is trained to output whether or not the corresponding captured image has a defect. can In this case, the controller 110 may check whether each of the plurality of captured images has a defect, and accordingly, if a defect is detected in one of the plurality of captured images, it may be determined that the inspection target has a defect.
또한 예를 들어, 색온도에 따른 빛의 파장이 각각 다른 도장층까지 도달하도록 색온도가 설정된 경우, 서로 다른 세 레벨의 색온도의 패턴광을 조사하면서 촬영된 세 개의 촬영 이미지, a, b, c를 획득하였을 때, 제어부(110)는 각각의 촬영 이미지에 대한 결함 검출 모델의 검출 결과가, 촬영 이미지 a에 대해 결함 있음, 촬영 이미지 b에 대하여 결함 있음, 촬영 이미지 c에 대하여 결함 없음으로 출력되었다면, 첫 번째 도장층과 두 번째 도장층에만 결함이 있다고 판단할 수 있다. In addition, for example, when the color temperature is set so that the wavelengths of light according to the color temperature reach different paint layers, three captured images a, b, and c are obtained while irradiating pattern light of three different color temperatures. When the detection result of the defect detection model for each captured image is output as defect for captured image a, defect for captured image b, and no defect for captured image c, the controller 110 outputs the first It can be determined that only the second coating layer and the second coating layer are defective.
이와 같이 복수의 촬영 이미지 각각을 입력 받아 결함 여부를 출력하도록 결함 검출 모델을 설계하고 학습시키기 위하여, 결함 검출 모델은 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을, 표면 결함이 이미지상에 표현되도록 특성이 조정된 패턴광을 조사면서 촬영하여 획득한 학습 이미지 각각을 사전 학습할 수 있다. 즉, 결함 검출 모델은 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을 촬영하여, 표면 결함으로 인하여 왜곡된 반사광 패턴이 촬영된 학습 이미지를 사전 학습할 수 있다. In this way, in order to design and learn a defect detection model to receive each of a plurality of captured images and output defects, the defect detection model identifies the surface of a product having surface defects as a product of the same kind as the inspection target, and the surface defects are on the image. It is possible to pre-learn each of the learning images obtained by photographing while irradiating pattern light whose characteristics are adjusted to be expressed in the image. That is, the defect detection model may pre-learn a learning image in which a reflected light pattern distorted due to the surface defect is captured by photographing the surface of a product having surface defects as a product of the same kind as the inspection target.
예를 들어, 검사 대상이 결함을 포함하고 있더라도, 패턴광의 스트라이프 패턴의 배열 방향에 따라 촬영 이미지에 결함으로 인한 왜곡이 표현되지 않을 수 있다. 따라서 학습 이미지는, 실제 검사 대상과 동일한 결함 제품의 결함으로 인한 왜곡이 이미지 상에 표현되도록 패턴광의 특성, 예를 들어 색온도나 스트라이프 패턴의 폭이나 간격, 배열 방향 등이 조정된 상태에서 촬영된 이미지로 구성되도록 함으로써, 결함 검출 모델이 결함으로 인한 패턴광의 왜곡을 학습할 수 있도록 할 수 있다. For example, even if an object to be inspected includes a defect, distortion due to the defect may not be expressed in a photographed image according to an arrangement direction of a stripe pattern of pattern light. Therefore, the learning image is an image taken in a state in which the characteristics of pattern light, such as color temperature, stripe pattern width, spacing, and arrangement direction, are adjusted so that distortion due to defects of the same defective product as the actual inspection target is expressed on the image. By configuring the defect detection model, it is possible to learn the distortion of the patterned light due to defects.
물론 이때 결함 검출 모델은, 복수의 결함 제품으로부터 획득된 왜곡을 포함하는 복수의 학습 이미지를 학습할 수 있다. Of course, at this time, the defect detection model may learn a plurality of training images including distortion obtained from a plurality of defective products.
그리고 결함 검출 모델은, 하나의 검사 대상에 대하여 획득된 복수의 촬영 이미지를 하나의 세트로 입력 받아 결함 여부나 결함의 수, 위치, 크기, 종류 또는 결함으로 인한 검사 대상 제품의 등급 등을 출력하도록 학습될 수도 있다.In addition, the defect detection model receives a plurality of captured images obtained for one inspection object as a set and outputs whether or not there are defects or the number, location, size, type or grade of the product to be inspected due to the defect. may be learned.
이를 위하여 결함 검출 모델은, 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을, 패턴광의 특성을 변경하면서 촬영하여 획득한 복수의 학습 이미지를 하나의 학습 이미지 세트로 하여, 서로 다른 복수의 결함 제품에 대한 복수의 학습 이미지 세트를 학습할 수 있다. To this end, the defect detection model sets a plurality of learning images obtained by photographing the surface of a product having surface defects as a product of the same kind as the inspection target while changing the characteristics of pattern light as one learning image set, A plurality of training image sets of defective products may be trained.
이 경우, 결함 검출 모델은, 하나의 학습 이미지 세트에 포함된 복수의 학습 이미지 내에 결함으로 인한 왜곡이 표현되지 않은 학습 이미지가 포함되어 있더라도 다른 학습 이미지 내에 결함으로 인한 왜곡이 표현되었다면, 이를 종합적으로 판단하여 제품의 결함이 패턴광의 특성에 따라 나타내는 왜곡을 학습할 수 있다. In this case, the defect detection model, even if a plurality of training images included in one training image set includes a training image in which distortion due to a defect is not expressed, if distortion due to a defect is expressed in another training image, it is comprehensively It is possible to learn the distortion that the defects of the product show according to the characteristics of the patterned light.
예를 들어, 색온도에 따라 달라지는 파장에 의하여 특정 도장층에서 발생한 결함은 하나의 학습 이미지 세트 내에서 어떤 학습 이미지에는 표현되지 않지만 다른 학습 이미지에는 표현될 수 있는데, 이때 학습 이미지 세트에 결함의 구체적인 종류나 결함이 발생한 도장층에 대한 정보를 라벨링하여 결함 검출 모델을 학습시키는 경우, 결함 검출 모델은 실제 검사 대상에 대해 촬영된 복수의 촬영 이미지를 입력 받아, 결함의 검출뿐 아니라 결함이 발생한 도장층이나 결함의 종류를 분류할 수도 있도록 학습될 수 있다. For example, a defect generated in a specific paint layer by a wavelength that varies according to a color temperature may not be expressed in one learning image in one learning image set but may be expressed in another learning image. At this time, a specific type of defect is included in the learning image set In the case of learning a defect detection model by labeling information on the paint layer with defects or by labeling information on the paint layer with defects, the defect detection model receives a plurality of images taken for the actual inspection target and detects defects as well as It can also be learned to classify the type of defect.
한편 표면 결함 검출 장치(100)의 저장부(140)에는 제어부(110)가 산출한 검사 대상별 결함 검출 결과가 저장될 수 있다. Meanwhile, the defect detection result for each inspection target calculated by the controller 110 may be stored in the storage unit 140 of the surface defect detection apparatus 100 .
나아가 표면 결함 검출 장치(100)는 입출력부(150)를 포함할 수 있다. 구체적으로 입출력부(120)는 사용자로부터 입력을 수신하기 위한 입력부와, 작업의 수행 결과 또는 표면 결함 검출 장치(100)의 상태 등의 정보를 표시하기 위한 출력부를 포함할 수 있다. 예를 들어, 입출력부(120)는 사용자 입력을 수신하는 조작 패널(operation panel) 및 화면을 표시하는 디스플레이 패널(display panel) 등을 포함할 수 있다.Furthermore, the surface defect detection device 100 may include an input/output unit 150 . Specifically, the input/output unit 120 may include an input unit for receiving an input from a user and an output unit for displaying information such as a job performance result or a state of the surface defect detection device 100 . For example, the input/output unit 120 may include an operation panel for receiving a user input and a display panel for displaying a screen.
구체적으로, 입력부는 키보드, 물리 버튼, 터치 스크린, 또는 마이크 등과 같이 다양한 형태의 사용자 입력을 수신할 수 있는 장치들을 포함할 수 있다. 또한, 출력부는 디스플레이 패널 또는 스피커 등을 포함할 수 있다. 다만, 이에 한정되지 않고 입출력부(120)는 다양한 입출력을 지원하는 구성을 포함할 수 있다.Specifically, the input unit may include devices capable of receiving various types of user inputs, such as a keyboard, a physical button, a touch screen, or a microphone. Also, the output unit may include a display panel or a speaker. However, the input/output unit 120 is not limited thereto and may include a configuration supporting various input/output.
입출력부(150)는 조명부(120)나 카메라부(130)에 대한 구체적인 설정값을 사용자로부터 입력받아 제어부(110)로 전달하거나 저장부(140)에 저장되도록 할 수 있다. 또는 입출력부(150)는 검사 대상의 종류를 사용자로부터 선택받을 수 있고, 제어부(110)는 선택된 검사 대상의 종류에 따른 조명부(120)나 카메라부(130)의 설정을 조정할 수 있다. The input/output unit 150 may receive specific setting values for the lighting unit 120 or the camera unit 130 from a user and transmit them to the control unit 110 or store them in the storage unit 140 . Alternatively, the input/output unit 150 may receive a type of examination target selected by a user, and the controller 110 may adjust settings of the lighting unit 120 or the camera unit 130 according to the selected examination target type.
나아가 입출력부(150)는 검사 대상들에 대한 결함 검출 결과를 출력할 수 있다. 예를 들어, 제어부(110)가 특정 검사 대상의 등급을 불합격 판정한 경우, 입출력부(150)는 알람을 발생시켜, 사용자로 하여금 해당 검사 대상 제품을 검사 라인에서 제외시키도록 할 수 있다. Furthermore, the input/output unit 150 may output defect detection results for inspection targets. For example, when the control unit 110 determines that the grade of a specific inspection target is unqualified, the input/output unit 150 may generate an alarm so that the user can exclude the corresponding inspection target product from the inspection line.
한편 표면 결함 검출 장치(100)는 통신부(160)를 포함할 수도 있다. 통신부(160)는 타 장치와 표면 결함 검출 장치(100) 사이의 데이터 교환을 중개하기 위한 수단으로서, 다른 디바이스 또는 네트워크와 유무선 통신을 수행할 수 있다. 이를 위해, 통신부(160)는 다양한 유무선 통신 방법 중 적어도 하나를 지원하는 통신 모듈을 포함할 수 있다. 예를 들어, 통신 모듈은 칩셋(Chipset)의 형태로 구현될 수 있다. Meanwhile, the surface defect detection device 100 may include a communication unit 160 . The communication unit 160 is a means for mediating data exchange between other devices and the surface defect detection apparatus 100, and may perform wired/wireless communication with other devices or networks. To this end, the communication unit 160 may include a communication module supporting at least one of various wired/wireless communication methods. For example, the communication module may be implemented in the form of a chipset.
통신부(160)가 지원하는 무선 통신은, 예를 들어 Wi-Fi(Wireless Fidelity), Wi-Fi Direct, 블루투스(Bluetooth), UWB(Ultra Wide Band) 또는 NFC(Near Field Communication) 등일 수 있다. 또한, 통신부(140)가 지원하는 유선 통신은, 예를 들어 USB 또는 HDMI(High Definition Multimedia Interface) 등일 수 있다.The wireless communication supported by the communication unit 160 may be, for example, Wireless Fidelity (Wi-Fi), Wi-Fi Direct, Bluetooth, Ultra Wide Band (UWB), or Near Field Communication (NFC). In addition, wired communication supported by the communication unit 140 may be, for example, USB or High Definition Multimedia Interface (HDMI).
통신부(160)는 표면 결함 검출 장치(100)가 타 장치, 예를 들어 별개의 사용자 장치로 결함 검출 결과를 전송할 수 있다. The communication unit 160 may transmit a defect detection result from the surface defect detection device 100 to another device, for example, a separate user device.
한편 이하에서는 도 3내지 도5를 참조하여, 상술한 표면 결함 검출 장치(100)가 수행하는 표면 결함 검출 방법을 단계적으로 설명한다. 도 3은 일 실시예에 따른 표면 결함 검출 방법을 단계적으로 도시한 도면이고, 도 4는 광택 표면을 갖는 검사 대상 제품의 도장층에 발생하는 결함의 종류를 나타낸 예시도이며. 도 5는 일 실시예에 따른 표면 결함 검출 방법에 의하여 검출된 결함의 일례를 도시한 예시도이다.Meanwhile, a surface defect detection method performed by the above-described surface defect detection apparatus 100 will be described step by step with reference to FIGS. 3 to 5 . 3 is a diagram showing a surface defect detection method step by step according to an embodiment, and FIG. 4 is an exemplary view showing types of defects occurring in a coating layer of a product to be inspected having a glossy surface. 5 is an exemplary view showing an example of defects detected by a surface defect detection method according to an embodiment.
한편 도 3에 도시된 실시예에 따른 표면 결함 검출 방법은 도 1 및 2에 도시된 표면 결함 검출 장치(100)에서 시계열적으로 처리되는 단계들을 포함한다. 따라서, 이하에서 생략된 내용이라고 하더라도 도 1 내지 도 2에 도시된 표면 결함 검출 장치(100)에 관하여 이상에서 기술한 내용은 도 3에 도시된 실시예에 따른 표면 결함 검출 방법에도 적용될 수 있다.Meanwhile, the surface defect detection method according to the embodiment shown in FIG. 3 includes steps processed time-sequentially in the surface defect detection apparatus 100 shown in FIGS. 1 and 2 . Therefore, even if the contents are omitted below, the above description of the surface defect detection apparatus 100 shown in FIGS. 1 and 2 can also be applied to the surface defect detection method according to the embodiment shown in FIG. 3 .
우선 표면 결함 검출 장치(100)는 검사 대상의 촬영 이미지를 획득하고, 획득된 촬영 이미지를 이용하여 결함을 검출한다. First, the surface defect detection apparatus 100 acquires a photographed image of an object to be inspected, and detects a defect using the obtained photographed image.
구체적으로는 도 3에 도시된 바와 같이 검사 대상에 대한 하나 이상의 촬영 이미지를 획득하기 위하여, S301 내지 S306단계를 수행할 수 있다.Specifically, as shown in FIG. 3 , steps S301 to S306 may be performed to obtain one or more captured images of the object to be inspected.
우선 표면 결함 검출 장치(100)는 검사 대상에 대하여 미리 설정된 특성을 갖는 패턴광이 조사되도록 한다(S301). 이때 하나의 검사 대상에 대하여 패턴광의 특성이 둘 이상 설정될 수 있으며, 이에 따라 검사 대상에 대하여 둘 이상의 촬영 이미지가 획득될 수 있다. 예를 들어 세 개의 촬영 이미지를 획득하기 위한 서로 다른 세 개의 패턴광 특성이 미리 설정될 수 있다. 그에 따라 표면 결함 검출 장치(100)는 미리 설정된 특성에 따라 패턴광을 순차적으로 변경할 수 있다. First, the surface defect detection apparatus 100 irradiates pattern light having preset characteristics to an inspection target (S301). In this case, two or more characteristics of pattern light may be set for one inspection target, and thus, two or more captured images of the inspection target may be obtained. For example, three different pattern light characteristics for obtaining three photographed images may be preset. Accordingly, the surface defect detection apparatus 100 may sequentially change pattern light according to preset characteristics.
한편 S301단계에서 검사 대상의 표면에 패턴광이 조사되고 있는 상태에서, 표면 결함 검출 장치(100)는 검사 대상의 표면에서 패턴광을 반사하여 형성되는 반사광이 촬영되도록 할 수 있다(S302). 이어서 표면 결함 검출 장치(100)는 촬영된 촬영 이미지를 저장한 후(S303), 미리 설정된 횟수, 즉 미리 설정된 패턴광 특성의 개수에 대응하는 횟수의 촬영이 완료되었는지 여부를 판단할 수 있다(S304). 예를 들어, 검사 대상에 대하여 서로 다른 두 개의 패턴광 특성, 예를 들어 패턴광의 스트라이프 패턴의 배열 방향이 수직인 패턴광 특성과 수평인 패턴광 특성이 미리 저장된 경우, 표면 결함 검출 장치(100)는 S304 단계에서 각각의 특성에 따른 2회의 이미지 촬영이 완료되었는지 확인할 수 있다. Meanwhile, in a state in which the pattern light is being irradiated onto the surface of the inspection target in step S301, the surface defect detection apparatus 100 may capture the reflected light formed by reflecting the pattern light on the surface of the inspection target (S302). Subsequently, the surface defect detection apparatus 100 stores the photographed image (S303), and then determines whether or not the photographing has been completed a preset number of times, that is, a number corresponding to the preset number of pattern light characteristics (S304). ). For example, when two different pattern light characteristics, for example, a vertical pattern light characteristic and a horizontal pattern light characteristic in which the arrangement direction of a stripe pattern of pattern light is stored in advance, the surface defect detection device 100 In step S304, it is possible to check whether two times of image capturing according to each characteristic have been completed.
촬영이 완료된 경우, 표면 결함 검출 장치(100)는 저장된 하나 이상의 촬영 이미지에 기초하여 검사 대상의 결함을 검출할 수 있다(S307). When the photographing is completed, the surface defect detection apparatus 100 may detect defects of the inspection target based on one or more stored captured images (S307).
한편 S304단계에서 설정된 횟수의 촬영이 완료되지 않았다고 판단된 경우, 표면 결함 검출 장치(100)는 패턴광의 특성을 기 설정된 바에 따라 순차적으로 변경시키고(S305), 변경된 특성의 패턴광을 조사하면서 촬영 이미지를 획득하는 일련의 과정(S301 내지 S304)을 반복할 수 있다.On the other hand, when it is determined that the set number of times of shooting has not been completed in step S304, the surface defect detection apparatus 100 sequentially changes the characteristics of the pattern light according to a preset one (S305), and irradiates the pattern light with the changed characteristics to capture the captured image. A series of processes (S301 to S304) of obtaining may be repeated.
이때 표면 결함 검출 장치(100)는 선택적으로, S305단계에서 변경하여 설정되는 패턴광의 특성에 따라 카메라, 즉 촬영부의 설정값도 변경할 수 있다(S306). 예를 들어, 카메라의 화이트 밸런스 설정을 변경할 수 있다. At this time, the surface defect detection apparatus 100 can selectively change the setting value of the camera, that is, the photographing unit according to the characteristics of the pattern light set by changing in step S305 (S306). For example, you can change the camera's white balance settings.
이와 같은 과정을 반복하여, 표면 결함 검출 장치(100)는 검사 대상에 대하여 하나 이상, 실시예에 따라서는 복수의 촬영 이미지를 획득할 수 있다. By repeating this process, the surface defect detection apparatus 100 may acquire one or more, depending on embodiments, a plurality of captured images of the inspection target.
그리고 촬영 이미지를 이용하여 결함을 검출함에 있어서(S307), 표면 결함 검출 장치(100)는 미리 학습된 결함 검출 모델을 이용할 수 있다.Also, in detecting defects using the photographed image (S307), the surface defect detection apparatus 100 may use a previously learned defect detection model.
이때 결함 검출 모델은, 미리 설명한 바와 같이 검사 대상과 동종 제품으로서 결함이 있는 제품을 촬영하여 획득한 학습 이미지를 각각 이미지 단위로 학습할 수 있다. 이 경우, 결함으로 인한 왜곡이 표현된 이미지만을 학습 이미지로서 결함 검출 모델을 학습시키는 것이 바람직하다. At this time, as described above, the defect detection model may learn learning images obtained by photographing a defective product as a product of the same type as the inspection target in image units. In this case, it is preferable to train the defect detection model using only images in which distortion due to defects is expressed as training images.
한편 결함 검출 모델은, 결함이 있는 하나의 제품에 대하여 패턴광의 특성을 실제 검사 환경과 동일하게 변경하면서 획득된 복수의 학습 이미지를 하나의 단위 세트로 하여 결함을 판정하도록 학습될 수도 있다.Meanwhile, the defect detection model may be trained to determine defects by using a plurality of training images acquired while changing the characteristics of pattern light identically to the actual inspection environment for one defective product as one unit set.
이 경우 결함 검출 모델은, 결함의 위치나 종류, 결함의 모양이나 크기, 깊이 등이 라벨링되고, 패턴광의 특성을 달리하며 순차적으로 촬영된 복수의 학습 이미지들에 나타나거나 나타나지 않은 왜곡의 특성을 학습함으로써, 결함의 종류 등을 구분할 수 있도록 학습될 수도 있다. In this case, the defect detection model is labeled with the location or type of the defect, the shape, size, depth, etc. of the defect, and learns the characteristics of distortion that appear or do not appear in a plurality of learning images sequentially photographed with different characteristics of pattern light. By doing so, it may be learned to distinguish the type of defect.
예를 들어, 도 4에 도시된 바와 같이 자동차 등 복수의 도장층을 갖는 광택 표면에는 다양한 형태의 결함이 분포할 수 있다. 예를 들어, 자동차의 본체 판넬(L1) 위에 하도 도장층(L2), 컬러 도장층(L3), 그리고 투명 도장층(L4)이 순차적으로 형성된 경우, 이물(401), 컬러 뭉침(402), 광택 불량(403), 기포(404), 스크래치(405, 406) 등의 결함이 분포할 수 있다. For example, as shown in FIG. 4 , various types of defects may be distributed on a glossy surface having a plurality of paint layers, such as an automobile. For example, when the undercoating layer (L2), the color painting layer (L3), and the transparent painting layer (L4) are sequentially formed on the body panel (L1) of the vehicle, foreign matter 401, color aggregation 402, Defects such as poor gloss 403, bubbles 404, and scratches 405 and 406 may be distributed.
이때 표면 결함 검출 장치(100)는 서로 다른 색온도의 패턴광을 여러 방향으로 조사하면서 자동차 표면을 촬영함으로써, 복수의 촬영 이미지로부터 결함의 수나 크기, 유형 등을 산출할 수 있다. In this case, the surface defect detection apparatus 100 may calculate the number, size, type, etc. of defects from a plurality of captured images by photographing the surface of the vehicle while irradiating pattern light of different color temperatures in various directions.
특히 복수의 촬영 이미지를 하나의 세트로 결함 검출 모델에 입력하여, 결함 검출 모델이 복수의 촬영 이미지를 종합적으로 분석하여 결함의 종류나 깊이, 분포 등을 추가로 판정할 수 있다.In particular, by inputting a plurality of captured images as one set to the defect detection model, the defect detection model comprehensively analyzes the plurality of captured images to further determine the type, depth, distribution, and the like of defects.
그리고 표면 결함 검출 장치(100)는 검출된 결함의 크기나 개수, 종류, 깊이 등에 따라 검사 대상의 제품 등급을 구분할 수 있다. In addition, the surface defect detection apparatus 100 may classify the product grade of the inspection target according to the size, number, type, and depth of the detected defects.
이처럼 패턴광의 특성을 다양하게 조정하면서 검사 대상을 촬영하여 결함을 검출함으로써, 검출되기 어려운 결함의 검출 성능을 크게 증가시킬 수 있다. In this way, by detecting defects by photographing the inspection target while variously adjusting the characteristics of the pattern light, the detection performance of defects that are difficult to be detected can be greatly increased.
예를 들어, 도 5의 상단에 도시된 바와 같이 검사 대상의 광택 표면의 최외곽층, 예를 들어 도 4의 투명 도장층에서 반사되는 파장에 대응하는 색온도를 갖는 패턴광을 검사 대상에 조사함으로써 정반사되는 상을 촬영하는 경우, 도장 표면의 광택 특성을 이용함으로써 검사 대상 제품의 색상에 따라 검출 성능이 저하되지 않으며 표면에서 발견되는 결함을 용이하게 검출할 수 있다. For example, as shown at the top of FIG. 5, the outermost layer of the glossy surface of the inspection object, for example, by irradiating the inspection object with patterned light having a color temperature corresponding to the wavelength reflected from the transparent coating layer of FIG. In the case of photographing a specularly reflected image, the detection performance does not deteriorate according to the color of the product to be inspected by using the glossy characteristics of the painted surface, and defects found on the surface can be easily detected.
또한 도 5의 하단에 도시된 바와 같이 검사 대상의 광택 표면의 최외곽층을 투사하는 파장에 대응하는 색온도를 갖는 패턴광을 검사 대상에 조사함으로써 하부층, 예를 들어 도 4의 하도 도장층(L2)이나 컬러 도장층(L3) 등에서 반사되는 상을 촬영하는 경우, 도장 내부에서 발생한 결함의 시인성을 극대화하여 결함 검출의 정확성을 향상시킬 수 있다. In addition, as shown at the bottom of FIG. 5, the lower layer, for example, the undercoating layer (L2 of FIG. ) or an image reflected from the color coating layer L3, etc., it is possible to improve the accuracy of defect detection by maximizing the visibility of defects generated inside the coating.
이상의 실시예들에서 사용되는 '~부'라는 용어는 소프트웨어 또는 FPGA(field programmable gate array) 또는 ASIC 와 같은 하드웨어 구성요소를 의미하며, '~부'는 어떤 역할들을 수행한다. 그렇지만 '~부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '~부'는 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~부'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램특허 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함한다.The term '~unit' used in the above embodiments means software or a hardware component such as a field programmable gate array (FPGA) or ASIC, and '~unit' performs certain roles. However, '~ part' is not limited to software or hardware. '~bu' may be configured to be in an addressable storage medium and may be configured to reproduce one or more processors. Therefore, as an example, '~unit' refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, and procedures. , subroutines, segments of program patent code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables.
구성요소들과 '~부'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~부'들로 결합되거나 추가적인 구성요소들과 '~부'들로부터 분리될 수 있다.Functions provided within components and '~units' may be combined into smaller numbers of components and '~units' or separated from additional components and '~units'.
뿐만 아니라, 구성요소들 및 '~부'들은 디바이스 또는 보안 멀티미디어카드 내의 하나 또는 그 이상의 CPU 들을 재생시키도록 구현될 수도 있다.In addition, components and '~units' may be implemented to play one or more CPUs in a device or a secure multimedia card.
도 3 을 통해 설명된 실시예에 따른 표면 결함 검출 방법은 컴퓨터에 의해 실행 가능한 명령어 및 데이터를 저장하는, 컴퓨터로 판독 가능한 매체의 형태로도 구현될 수 있다. 이때, 명령어 및 데이터는 프로그램 코드의 형태로 저장될 수 있으며, 프로세서에 의해 실행되었을 때, 소정의 프로그램 모듈을 생성하여 소정의 동작을 수행할 수 있다. 또한, 컴퓨터로 판독 가능한 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터로 판독 가능한 매체는 컴퓨터 기록 매체일 수 있는데, 컴퓨터 기록 매체는 컴퓨터 판독 가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함할 수 있다.예를 들어, 컴퓨터 기록 매체는 HDD 및 SSD 등과 같은 마그네틱 저장 매체, CD, DVD 및 블루레이 디스크 등과 같은 광학적 기록 매체, 또는 네트워크를 통해 접근 가능한 서버에 포함되는 메모리일 수 있다. The surface defect detection method according to the embodiment described with reference to FIG. 3 may be implemented in the form of a computer-readable medium storing instructions and data executable by a computer. In this case, instructions and data may be stored in the form of program codes, and when executed by a processor, a predetermined program module may be generated to perform a predetermined operation. Also, computer-readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media. Also, a computer-readable medium may be a computer recording medium, which is a volatile and non-volatile memory implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data. It may include both volatile, removable and non-removable media. For example, computer storage media include magnetic storage media such as HDDs and SSDs, optical media such as CDs, DVDs and Blu-ray discs, or media accessible through a network. It may be a memory included in the server.
또한 도 3 을 통해 설명된 실시예에 따른 표면 결함 검출 방법은 컴퓨터에 의해 실행 가능한 명령어를 포함하는 컴퓨터 프로그램(또는 컴퓨터 프로그램 제품)으로 구현될 수도 있다. 컴퓨터 프로그램은 프로세서에 의해 처리되는 프로그래밍 가능한 기계 명령어를 포함하고, 고레벨 프로그래밍 언어(High-level Programming Language), 객체 지향 프로그래밍 언어(Object-oriented Programming Language), 어셈블리 언어 또는 기계 언어 등으로 구현될 수 있다. 또한 컴퓨터 프로그램은 유형의 컴퓨터 판독가능 기록매체(예를 들어, 메모리, 하드디스크, 자기/광학 매체 또는 SSD(Solid-State Drive) 등)에 기록될 수 있다. In addition, the surface defect detection method according to the embodiment described with reference to FIG. 3 may be implemented as a computer program (or computer program product) including instructions executable by a computer. A computer program includes programmable machine instructions processed by a processor and may be implemented in a high-level programming language, object-oriented programming language, assembly language, or machine language. . Also, the computer program may be recorded on a tangible computer-readable recording medium (eg, a memory, a hard disk, a magnetic/optical medium, or a solid-state drive (SSD)).
따라서 도 3 을 통해 설명된 실시예에 따른 표면 결함 검출 방법은 상술한 바와 같은 컴퓨터 프로그램이 컴퓨팅 장치에 의해 실행됨으로써 구현될 수 있다. 컴퓨팅 장치는 프로세서와, 메모리와, 저장 장치와, 메모리 및 고속 확장포트에 접속하고 있는 고속 인터페이스와, 저속 버스와 저장 장치에 접속하고 있는 저속 인터페이스 중 적어도 일부를 포함할 수 있다. 이러한 성분들 각각은 다양한 버스를 이용하여 서로 접속되어 있으며, 공통 머더보드에 탑재되거나 다른 적절한 방식으로 장착될 수 있다. Therefore, the surface defect detection method according to the embodiment described with reference to FIG. 3 can be implemented by executing the computer program as described above by a computing device. A computing device may include at least some of a processor, a memory, a storage device, a high-speed interface connected to the memory and a high-speed expansion port, and a low-speed interface connected to a low-speed bus and a storage device. Each of these components are connected to each other using various buses and may be mounted on a common motherboard or mounted in any other suitable manner.
여기서 프로세서는 컴퓨팅 장치 내에서 명령어를 처리할 수 있는데, 이런 명령어로는, 예컨대 고속 인터페이스에 접속된 디스플레이처럼 외부 입력, 출력 장치상에 GUI(Graphic User Interface)를 제공하기 위한 그래픽 정보를 표시하기 위해 메모리나 저장 장치에 저장된 명령어를 들 수 있다. 다른 실시예로서, 다수의 프로세서 및(또는) 다수의 버스가 적절히 다수의 메모리 및 메모리 형태와 함께 이용될 수 있다. 또한 프로세서는 독립적인 다수의 아날로그 및(또는) 디지털 프로세서를 포함하는 칩들이 이루는 칩셋으로 구현될 수 있다. Here, the processor may process commands within the computing device, for example, to display graphic information for providing a GUI (Graphic User Interface) on an external input/output device, such as a display connected to a high-speed interface. Examples include instructions stored in memory or storage devices. As another example, multiple processors and/or multiple buses may be used along with multiple memories and memory types as appropriate. Also, the processor may be implemented as a chipset comprising chips including a plurality of independent analog and/or digital processors.
또한 메모리는 컴퓨팅 장치 내에서 정보를 저장한다. 일례로, 메모리는 휘발성 메모리 유닛 또는 그들의 집합으로 구성될 수 있다. 다른 예로, 메모리는 비휘발성 메모리 유닛 또는 그들의 집합으로 구성될 수 있다. 또한 메모리는 예컨대, 자기 혹은 광 디스크와 같이 다른 형태의 컴퓨터 판독 가능한 매체일 수도 있다. Memory also stores information within the computing device. In one example, the memory may consist of a volatile memory unit or a collection thereof. As another example, the memory may be composed of a non-volatile memory unit or a collection thereof. Memory may also be another form of computer readable medium, such as, for example, a magnetic or optical disk.
그리고 저장장치는 컴퓨팅 장치에게 대용량의 저장공간을 제공할 수 있다. 저장 장치는 컴퓨터 판독 가능한 매체이거나 이런 매체를 포함하는 구성일 수 있으며, 예를 들어 SAN(Storage Area Network) 내의 장치들이나 다른 구성도 포함할 수 있고, 플로피 디스크 장치, 하드 디스크 장치, 광 디스크 장치, 혹은 테이프 장치, 플래시 메모리, 그와 유사한 다른 반도체 메모리 장치 혹은 장치 어레이일 수 있다. Also, the storage device may provide a large amount of storage space to the computing device. A storage device may be a computer-readable medium or a component that includes such a medium, and may include, for example, devices in a storage area network (SAN) or other components, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, flash memory, or other semiconductor memory device or device array of the like.
상술된 실시예들은 예시를 위한 것이며, 상술된 실시예들이 속하는 기술분야의 통상의 지식을 가진 자는 상술된 실시예들이 갖는 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 상술된 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.The above-described embodiments are for illustrative purposes, and those skilled in the art to which the above-described embodiments belong can easily transform into other specific forms without changing the technical spirit or essential features of the above-described embodiments. You will understand. Therefore, it should be understood that the above-described embodiments are illustrative in all respects and not restrictive. For example, each component described as a single type may be implemented in a distributed manner, and similarly, components described as distributed may be implemented in a combined form.
본 명세서를 통해 보호받고자 하는 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태를 포함하는 것으로 해석되어야 한다.The scope to be protected through this specification is indicated by the following claims rather than the detailed description above, and should be construed to include all changes or modifications derived from the meaning and scope of the claims and equivalent concepts thereof. .

Claims (13)

  1. 광택 표면을 갖는 검사 대상의 표면 결함 검출 장치에 의해 수행되고,carried out by a surface defect detection device of an inspection object having a glossy surface,
    상기 검사 대상의 촬영 이미지를 획득하는 단계;obtaining a photographed image of the inspection target;
    획득된 촬영 이미지를 이용하여 결함을 검출하는 단계를 포함하고,Including the step of detecting a defect using the acquired photographed image,
    상기 촬영 이미지를 획득하는 단계는, Acquiring the photographed image is,
    검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 단계;irradiating pattern light having a stripe pattern at regular intervals on a surface of an object to be inspected;
    상기 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 단계를 포함하는, 표면 결함 검출 방법.And acquiring a photographed image by photographing the reflected light reflected from the surface of the inspection target.
  2. 제1항에 있어서,According to claim 1,
    상기 촬영 이미지를 획득하는 단계는,Acquiring the photographed image is,
    상기 패턴광의 색온도, 스트라이프 패턴 사이의 간격, 스트라이프 패턴의 폭, 스트라이프 패턴의 배열 방향 중 적어도 하나를 포함하는 상기 패턴광의 특성을 조정하는 단계를 더 포함하는, 표면 결함 검출 방법.The surface defect detection method of claim 1, further comprising adjusting characteristics of the patterned light including at least one of a color temperature of the patterned light, a distance between stripe patterns, a width of the stripe pattern, and an arrangement direction of the stripe pattern.
  3. 제2항에 있어서,According to claim 2,
    상기 촬영 이미지를 획득하는 단계는,Acquiring the photographed image is,
    기 설정된 조건에 따라 상기 패턴광의 특성을 달리 조정하면서 복수회 반복 수행되고,It is repeatedly performed a plurality of times while differently adjusting the characteristics of the pattern light according to preset conditions,
    상기 결함을 검출하는 단계는, The step of detecting the defect is,
    상기 촬영 이미지를 획득하는 단계가 반복 수행됨으로써 획득된 복수의 촬영 이미지를 이용하여 상기 검사 대상의 표면 결함을 검출하는, 표면 결함 검출 방법. A surface defect detection method of detecting surface defects of the inspection target using a plurality of captured images obtained by repeatedly performing the acquiring of the captured images.
  4. 제3항에 있어서,According to claim 3,
    상기 촬영 이미지를 획득하는 단계는,Acquiring the photographed image is,
    상기 패턴광의 특성이 변경되면, 상기 촬영 이미지를 획득하기 위한 카메라의 설정을 조정하는 단계를 더 포함하는, 표면 결함 검출 방법.The surface defect detection method of claim 1, further comprising adjusting settings of a camera for acquiring the photographed image when the characteristics of the patterned light are changed.
  5. 제3항에 있어서,According to claim 3,
    상기 표면 결함 검출 방법은,The surface defect detection method,
    상기 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을 촬영하여, 표면 결함으로 인하여 왜곡된 반사광 패턴이 포함된 학습 이미지를 획득하는 단계; 그리고Acquiring a learning image including a reflected light pattern distorted due to the surface defect by photographing the surface of a product having a surface defect as a product of the same kind as the inspection target; and
    획득된 각각의 학습 이미지를 이용하여 결함 검출 모델을 학습시키는 단계를 더 포함하고, Further comprising the step of learning a defect detection model using each acquired training image,
    상기 결함을 검출하는 단계는,The step of detecting the defect is,
    상기 복수의 촬영 이미지 각각을 상기 결함 검출 모델에 입력하여, 상기 복수의 촬영 이미지 중 적어도 하나에서 결함이 검출되면, 상기 검사 대상의 표면에 결함이 있는 것으로 판단하는, 표면 결함 검출 방법.Surface defect detection method, wherein each of the plurality of captured images is input to the defect detection model, and when a defect is detected in at least one of the plurality of captured images, it is determined that the surface of the inspection target has a defect.
  6. 제3항에 있어서, According to claim 3,
    상기 표면 결함 검출 방법은,The surface defect detection method,
    상기 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을, 상기 패턴광의 특성을 변경하면서 촬영하여 획득한 복수의 학습 이미지를 포함하는 학습 이미지 세트를 획득하는 단계; 그리고Obtaining a learning image set including a plurality of learning images obtained by photographing a surface of a product having surface defects as a product of the same kind as the inspection target while changing characteristics of the pattern light; and
    획득된 학습 이미지 세트를 이용하여 결함 검출 모델을 학습시키는 단계를 더 포함하고, Further comprising the step of training a defect detection model using the acquired training image set,
    상기 결함을 검출하는 단계는,The step of detecting the defect is,
    상기 복수의 촬영 이미지를 하나의 세트로서 상기 결함 검출 모델에 입력하여, 상기 검사 대상의 결함을 검출하는, 표면 결함 검출 방법. The surface defect detection method of detecting a defect of the inspection target by inputting the plurality of captured images as one set to the defect detection model.
  7. 표면 결함 검출 장치에 있어서,In the surface defect detection device,
    검사 대상의 표면에 일정 간격의 스트라이프 패턴을 갖는 패턴광을 조사하는 조명부;a lighting unit that irradiates pattern light having a stripe pattern at regular intervals on the surface of the inspection target;
    상기 조명부에 의해 조사된 패턴광이 상기 검사 대상의 표면에서 반사되는 반사광을 촬영하여 촬영 이미지를 획득하는 촬영부;a photographing unit for acquiring a photographed image by photographing reflected light reflected from the surface of the inspection target by the pattern light irradiated by the lighting unit;
    상기 촬영부에 의해 획득된 촬영 이미지를 저장하는 저장부; 그리고a storage unit for storing the photographed image obtained by the photographing unit; and
    상기 조명부에서 조사되는 패턴광의 특성을 조절하고, 상기 촬영부를 제어하며, 상기 저장부에 저장되는 촬영 이미지를 이용하여 상기 검사 대상의 결함을 검출하는 제어부를 포함하는, 표면 결함 검출 장치. A surface defect detection apparatus comprising a control unit for adjusting characteristics of pattern light emitted from the lighting unit, controlling the photographing unit, and detecting defects of the inspection target using a photographed image stored in the storage unit.
  8. 제7항에 있어서,According to claim 7,
    상기 제어부는, The control unit,
    상기 검사 대상에 따라, 상기 조명부가 조사하는 패턴광의 색온도, 스트라이프 패턴 사이의 간격, 스트라이프 패턴의 폭, 스트라이프 패턴의 배열 방향 중 적어도 하나를 포함하는 상기 패턴광의 특성을 조정하는, 표면 결함 검출 장치. A surface defect detection device that adjusts characteristics of the patterned light including at least one of a color temperature of the patterned light emitted by the lighting unit, a distance between stripe patterns, a width of the stripe pattern, and an arrangement direction of the stripe pattern according to the inspection target.
  9. 제8항에 있어서,According to claim 8,
    상기 제어부는, The control unit,
    상기 조명부가 조사하는 패턴광의 특성을 달리 조정하면서, 상기 패턴광의 특성이 변경될 때마다 상기 촬영부가 촬영 이미지를 획득하도록 제어하여 복수의 촬영 이미지가 획득되도록 하고, 상기 복수의 촬영 이미지를 이용하여 상기 검사 대상의 표면 결함을 검출하는, 표면 결함 검출 장치. A plurality of photographed images are obtained by controlling the photographing unit to obtain a photographed image whenever the characteristic of the pattern light is changed while differently adjusting the characteristics of the pattern light irradiated by the lighting unit. A surface defect detection device that detects surface defects of an inspection target.
  10. 제9항에 있어서,According to claim 9,
    상기 제어부는, The control unit,
    상기 패턴광의 특성을 변경할 때, 상기 촬영부의 설정을 조정하는, 표면 결함 검출 장치. A surface defect detection device that adjusts settings of the imaging unit when changing characteristics of the patterned light.
  11. 제9항에 있어서,According to claim 9,
    상기 제어부는, The control unit,
    상기 복수의 촬영 이미지 각각을 결함 검출 모델에 입력하여, 상기 복수의 촬영 이미지 중 적어도 하나에서 결함이 검출되면 상기 검사 대상의 표면에 결함이 있는 것으로 판단하는 방식으로 결함을 검출하고, Each of the plurality of captured images is input to a defect detection model, and when a defect is detected in at least one of the plurality of captured images, a defect is detected by determining that the surface of the inspection target has a defect,
    상기 결함 검출 모델은, The defect detection model,
    상기 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을 촬영하여 획득된, 표면 결함으로 인하여 왜곡된 반사광 패턴이 포함된 학습 이미지 각각을 사전 학습한 머신러닝 모델인, 표면 결함 검출 장치. Surface defect detection device, which is a machine learning model obtained by pre-learning each learning image including a distorted reflected light pattern due to a surface defect, obtained by photographing the surface of a product having surface defects as a product of the same kind as the inspection target.
  12. 제9항에 있어서,According to claim 9,
    상기 제어부는, The control unit,
    상기 복수의 촬영 이미지를 하나의 이미지 세트로서 결함 검출 모델에 입력하여, 상기 검사 대상의 결함을 검출하고, The plurality of captured images are input as one image set to a defect detection model to detect defects in the inspection target;
    상기 결함 검출 모델은, The defect detection model,
    상기 검사 대상과 동종의 제품으로서 표면 결함을 가진 제품의 표면을, 상기 패턴광의 특성을 변경하면서 촬영하여 획득한 복수의 학습 이미지를 포함하는 학습 이미지 세트를 사전 학습한 머신러닝 모델인, 표면 결함 검출 장치. Surface defect detection, which is a machine learning model pre-learned from a learning image set including a plurality of learning images obtained by photographing the surface of a product having surface defects as the same product as the inspection target while changing the characteristics of the pattern light. Device.
  13. 제 1 항에 기재된 방법을 수행하는 프로그램이 기록된 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium in which a program for performing the method according to claim 1 is recorded.
PCT/KR2022/004988 2021-09-10 2022-04-06 Surface defect detection device and method WO2023038214A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210121202 2021-09-10
KR10-2021-0121202 2021-09-10

Publications (1)

Publication Number Publication Date
WO2023038214A1 true WO2023038214A1 (en) 2023-03-16

Family

ID=85507400

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/004988 WO2023038214A1 (en) 2021-09-10 2022-04-06 Surface defect detection device and method

Country Status (2)

Country Link
KR (1) KR20230038078A (en)
WO (1) WO2023038214A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117214187A (en) * 2023-11-08 2023-12-12 宁波旗滨光伏科技有限公司 Detection method and detection device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116559179B (en) * 2023-07-06 2023-09-12 海伯森技术(深圳)有限公司 Reflective surface morphology and defect detection method and system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101340345B1 (en) * 2012-02-17 2013-12-13 주식회사 미르기술 Vision inspection apparatus comprising pattern compensation function
JP2018205004A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device
KR102117697B1 (en) * 2018-06-08 2020-06-02 (주)이즈소프트 Apparatus and method for surface inspection
JP2021056182A (en) * 2019-10-02 2021-04-08 コニカミノルタ株式会社 Apparatus and method for detecting surface defect of workpiece, surface inspection system for workpiece, and program
KR102268909B1 (en) * 2020-04-10 2021-06-23 코그넥스코오포레이션 Inspection method based on edge field and deep learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101340345B1 (en) * 2012-02-17 2013-12-13 주식회사 미르기술 Vision inspection apparatus comprising pattern compensation function
JP2018205004A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device
KR102117697B1 (en) * 2018-06-08 2020-06-02 (주)이즈소프트 Apparatus and method for surface inspection
JP2021056182A (en) * 2019-10-02 2021-04-08 コニカミノルタ株式会社 Apparatus and method for detecting surface defect of workpiece, surface inspection system for workpiece, and program
KR102268909B1 (en) * 2020-04-10 2021-06-23 코그넥스코오포레이션 Inspection method based on edge field and deep learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"High Resolution Reflective Absolute Encoder KH15 Series", SMART FACTORY. AUTOMATION WORLD 2021 PAMPHLET, pages 1 pp., XP009544534, Retrieved from the Internet <URL:https://automationworld.co.kr/fairOnline.do?selAction=single_page&SYSTEM_IDX=33&FAIRMENU_IDX=12582&hl=KOR#/detail?CFAIR_14622> *
LAON PEOPLE INC.: "NAVI AI Deep Learning Vision Inspection Solution", YOUTUBE, 6 April 2021 (2021-04-06), XP093048497, Retrieved from the Internet <URL:https://www.youtube.com/watch?v=1WOGPMXCvbc> [retrieved on 20230522] *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117214187A (en) * 2023-11-08 2023-12-12 宁波旗滨光伏科技有限公司 Detection method and detection device
CN117214187B (en) * 2023-11-08 2024-02-02 宁波旗滨光伏科技有限公司 Detection method and detection device

Also Published As

Publication number Publication date
KR20230038078A (en) 2023-03-17

Similar Documents

Publication Publication Date Title
WO2023038214A1 (en) Surface defect detection device and method
CN109916906B (en) Defect detection device and method
TWI787296B (en) Optical inspection method, optical inspection device and optical inspection system
JP6619194B2 (en) Touch panel inspection apparatus and method
US10157456B2 (en) Information processing apparatus, information processing method, and storage medium utilizing technique for detecting an abnormal state such as a scratch on a target
US20200229598A1 (en) Apparatus and method for simultaneously testing a plurality of mobile devices
US9330451B2 (en) Method and apparatus for detecting defect of backlight module
CN105259181A (en) Display screen display defect detecting method, device and equipment
KR101941585B1 (en) Embedded system for examination based on artificial intelligence thereof
US20210327073A1 (en) Method and pixel array for detecting motion information
JP2024508359A (en) Cross-spectral feature mapping for camera calibration
US9218655B2 (en) Brightness measuing method and system of device with backlight
JP2021528767A (en) Visual search methods, devices, computer equipment and storage media
KR102281746B1 (en) Mobile robot device and its motion control method
TW201404120A (en) Method and system for testing digital imaging devices
US20160205330A1 (en) A method and an apparatus for obtaining an image file including an alpha channel with a photographic camera
CN103985335B (en) LED display heat dissipation uniformity detection method and detection device
KR102495234B1 (en) Electronic apparatus, method for controlling thereof and the computer readable recording medium
US20230080612A1 (en) Surface defect detection apparatus and method
KR102252590B1 (en) Method and apparatus for setting test environment based on machine learning environment
KR102252591B1 (en) Method and apparatus for compensating output of a display panel
KR20200095767A (en) Method and apparatus for identifying object using multi- cameras
JP2020139765A (en) Inspection device, inspection system, inspection method, and program
KR20200094261A (en) Vision inspection apparatus for infusion solution bag and method of vision inspection thereof
US20230306632A1 (en) Image recognition based individual identification and localization system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22867483

Country of ref document: EP

Kind code of ref document: A1