[go: up one dir, main page]

WO2020199207A1 - Surface defect optical inspection method and related device - Google Patents

Surface defect optical inspection method and related device Download PDF

Info

Publication number
WO2020199207A1
WO2020199207A1 PCT/CN2019/081553 CN2019081553W WO2020199207A1 WO 2020199207 A1 WO2020199207 A1 WO 2020199207A1 CN 2019081553 W CN2019081553 W CN 2019081553W WO 2020199207 A1 WO2020199207 A1 WO 2020199207A1
Authority
WO
WIPO (PCT)
Prior art keywords
tested
samples
slit
sample
optical image
Prior art date
Application number
PCT/CN2019/081553
Other languages
French (fr)
Chinese (zh)
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 合刃科技(深圳)有限公司
Priority to PCT/CN2019/081553 priority Critical patent/WO2020199207A1/en
Priority to CN201980005439.4A priority patent/CN111316086B/en
Publication of WO2020199207A1 publication Critical patent/WO2020199207A1/en

Links

Images

Classifications

    • 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/01Arrangements or apparatus for facilitating the optical investigation
    • 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

  • This application relates to the field of optical inspection technology, and in particular to an optical inspection method and related devices for surface defects.
  • Product appearance inspection is an important part of industrial inspection. At present, in the inspection of product surface defects, it is mostly used to identify whether there are defects on the surface by imaging the product surface.
  • the interaction between light waves and various irregular structures (ie defects themselves) during the propagation process, such as refraction, scattering, and diffraction, is used to determine whether there are defects on the surface of a product.
  • most of the existing optical inspection methods currently use incident light to irradiate the surface of the sample and collect reflection or transmission spectra. It is necessary to detect individual samples separately, and it is difficult to determine the type and location of defects through optical images. More importantly, for some very subtle defects, or defects that are difficult to identify with the naked eye, such as slight depressions and protrusions on the transparent surface, or micron-level scratches, it is difficult to distinguish by imaging.
  • the embodiments of the present application provide an optical detection method and related devices for surface defects, in order to improve the efficiency and accuracy of surface defect detection.
  • an embodiment of the present application provides an optical detection method for surface defects, which is applied to a surface detection device, and the method includes:
  • the surface defect of the sample to be tested is determined according to the optical image.
  • an embodiment of the present application provides a surface detection device.
  • the detection device includes a laser emitting module, a clamping mechanism, an image sensor, a spatial filter, and a computer;
  • the laser emitting module includes a laser transmitter, A beam expander, a collimator; the emission direction of the laser transmitter is perpendicular to the beam expander and the mirror surface of the collimator;
  • the clamping mechanism is used to clamp at least two samples to be tested, so A slit linearly penetrating in a preset direction is formed between any two adjacent samples to be tested in the at least two samples to be tested; and the collimator is used to enter the slit along the preset direction Parallel light;
  • the image sensor is used to collect an optical image of the light emitted from the slit; and the computer is used to determine the surface defect of the sample to be tested based on the optical image; and the laser is used Emit a laser beam; the beam expander is used to diverge the laser beam; and the collimator is also used to
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays to the slit along a preset direction; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection;
  • Refraction, reflection, diffraction, etc. which may occur when encountering defects, collect different optical images.
  • the types of surface defects of the sample to be tested can be analyzed , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • FIG. 1 is a schematic flow chart of a method for optical detection of surface defects according to an embodiment of the present application
  • Figure 2(a) is a method for arranging curved samples to be tested according to an embodiment of the present application
  • Figure 2(b) is a method for arranging planar samples to be tested according to an embodiment of the present application
  • Figure 3(a) is a neural network structure diagram of a deep learning for surface defect optical inspection provided by an embodiment of the present application
  • Figure 3(b) is an effect diagram of an optical image provided by an embodiment of the present application obtained by machine learning of product surface defects
  • FIG. 4 is a schematic flowchart of another optical detection method for surface defects provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another optical detection method for surface defects according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a surface detection device provided by an embodiment of the present application.
  • Fig. 7 is a block diagram of functional units of a surface detection device provided by an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a surface defect optical detection method provided by an embodiment of the present application, which is applied to the surface detection device shown in FIG. 6; as shown in the figure, the surface defect optical detection method includes:
  • S101 Clamp at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested;
  • the surface detection device can control the clamping mechanism to clamp at least two samples to be tested, and make a gap between the adjacent surfaces of the sample to be tested; if the sample to be tested is a flat sample, the surfaces of the sample to be tested are mutually Parallel arrangement; if the sample to be tested is a curved sample, make it travel a straight through slit in the same direction as the incident light.
  • the sample to be tested with good surface uniformity and high flatness, it can itself be used as an optical device, which can be arranged at a certain interval to form slits.
  • This arrangement does not limit the number of samples to be tested and the slits
  • the number of slits, and the various parameters of the slits can be adjusted according to the requirements of the sample to be tested, which can simultaneously perform surface defect detection of large quantities of products, which is very efficient.
  • the surface detection device injects parallel light rays into the slit along the preset direction
  • the preset direction refers to a preset direction through which a straight line of a slit formed by the sample to be tested penetrates.
  • the surface detection device collects an optical image of the light emitted from the slit
  • the incident light undergoes physical processes such as diffraction and scattering after passing through the slit, and is finally projected on the image sensor to form an optical image.
  • the surface detection device collects the optical image of the light passing through the slit through the image sensor.
  • S104 The surface inspection device determines the surface defect of the sample to be tested according to the optical image.
  • the geometric shape of the collected optical image (that is, the distribution of light intensity at different positions) is directly related to the obstacles encountered during the propagation of the light.
  • the incident light does not encounter obstacles in the slit formed by the sample to be tested, that is, when the surface of the sample to be tested is smooth and there are no defects, the collected optical image is a regular optical image; when there are some defects on the surface of the sample to be tested
  • the propagation path of the light will be affected by defects, and reflection, scattering, refraction or diffraction will occur during the propagation process, and finally the optical image collected by the image sensor will also change.
  • the position and shape of the optical image collected by the sensor it can be determined whether there is a defect in the sample to be tested and the type, size and location of the defect.
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection;
  • Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected.
  • Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • the surface detection device includes a laser emission module
  • the surface detection device includes a laser emission module
  • the laser emission module includes a laser emitter, a beam expander, and a collimator arranged in sequence
  • the incident parallel light rays to the slit along the preset direction includes: adjusting the emitting direction of the laser emitting module to the preset direction; controlling the laser transmitter to emit a laser beam, and the laser beam passes
  • the beam expander and the collimator form parallel light rays incident on the slit.
  • the surface detection device includes a laser emitter, a beam expander, and a collimator.
  • the laser emitter emits a monochromatic laser with good coherence.
  • parallel light is generated, which is perpendicular to the arrangement direction of the sample to be tested. Incident, that is, the direction of the incident light is consistent with the direction in which the slit between the samples penetrates.
  • the surface detection device controls the laser transmitter to emit a laser beam, and the laser beam forms parallel rays incident on the slit after passing through the beam expander and the collimator, which can ensure that the incident rays are parallel rays
  • the incident area is large to avoid detection errors due to non-parallel incident light and non-parallel to the preset direction, thereby ensuring the efficiency and accuracy of surface detection.
  • the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested, including : When the at least two samples to be tested are curved samples to be tested; controlling the clamping mechanism to clamp the at least two samples to be tested, the first sample to be tested of the at least two samples to be tested The two surfaces are adjacent to the first surface of the second test sample of the at least two test samples to form a slit; the slit runs straight through in a predetermined direction.
  • the clamping mechanism includes but is not limited to a high-precision three-dimensional manipulator.
  • the at least two curved samples to be tested can form a straight-through slit in a preset direction between adjacent ones.
  • Figure 2(a) is a schematic diagram of an arrangement of curved samples to be tested.
  • 206 is a plurality of samples to be tested, specifically curved samples to be tested, "arrows" identify incident light
  • 705 is an image sensor for collecting optical images of light passing through the slits of the curved samples to be tested.
  • the second sample to be tested is adjacent to the first sample to be tested.
  • the second surface of the first sample to be tested can only form a straight slit with the first surface of the second sample to be tested.
  • the parallel light generated by the incident light after passing through the collimator can only be incident from the curved plane perpendicular to the curved sample to be tested, and the curved sample to be tested can also be placed in the opposite direction to the concave surface in FIG. 2(a).
  • the surface inspection device can determine whether there are defects on the surface of a curved sample to be tested and the location of the defects through the optical image finally projected on the image sensor, which increases the number of surface inspection devices that can detect The diversity of samples to be tested improves the detection efficiency.
  • the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested, including :
  • the at least two samples to be tested are flat samples to be tested; controlling the clamping mechanism to clamp the at least two samples to be tested, the at least two samples to be tested include a third sample to be tested and a second sample Four samples to be tested, the first or second surface of the third sample to be tested is adjacent to the first surface or the second surface of the fourth sample to be tested to form a slit, and the slit is in a preset direction Form a straight line through.
  • Figure 2 (b) is a schematic diagram of the arrangement of a flat sample to be tested, 206 is a plurality of samples to be tested, specifically the flat sample to be tested, the "arrow" indicates the incident light, and 705 is The image sensor is used to collect the optical image of the light passing through the slit of the flat sample to be tested.
  • the first sample to be tested is adjacent to the second sample to be tested, the first surface of the first sample to be tested and the first surface or the second surface of the second sample to be tested form a slit, or the first sample to be tested
  • the second surface of the test sample and the first surface or the second surface of the second test sample form a slit.
  • the incident light can be incident in any direction parallel to the plane. As shown in FIG. 2(b), the incident light can be incident in a direction parallel to the plane of the sample 206 to be tested, from any side of the sample to be tested.
  • the surface inspection device can determine whether there are defects on the surface of the sample to be tested on a plane through the optical image formed on the image sensor, and the location of the defect, which increases the number of surface inspection devices that can detect The diversity of the samples to be tested improves the detection efficiency and accuracy.
  • the method further includes: adjusting the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy.
  • the distance of the slit between at least two samples to be tested can be adjusted by a clamping mechanism according to a preset strategy.
  • the wavelength of the laser light emitted by the laser transmitter can be controlled and adjusted by the surface detection device. And the laser transmitter can use a monochromatic laser with good coherence.
  • the surface inspection device can adjust the slit spacing and laser wavelength according to conditions, for example, the slit spacing and laser wavelength can be adjusted according to the size of the defect, which improves the efficiency and accuracy of surface inspection.
  • the adjusting the slit between the at least two samples to be tested or the light waves of the emitted laser beam according to a preset strategy includes: adjusting according to the types of the at least two samples to be tested The slit pitch or the light wavelength of the laser beam; adjust the slit pitch or the light wavelength of the laser beam according to the defect size of the at least two samples to be tested; The inspection quality of the sample requires adjusting the gap between the slits or the wavelength of the laser beam.
  • the slit spacing and the wavelength of the laser beam are adjusted according to the types of at least two samples to be tested. For example, detecting defects on the surface of fine glass samples, such as scratches on the surface of a lens or display panel. For samples with a highly smooth surface, generally the tolerable defect size is also small, and can be detected with light with a shorter wavelength such as visible light. For metal surface defects, such as dents and uneven coating on the back cover of the mobile phone and the optical mirror. For samples that have not been finely polished and have slightly larger roughness, light with longer wavelengths, such as infrared light and terahertz, can be selected for detection.
  • the sample to be tested may have defects of different sizes.
  • the defect can be a visible defect or a small defect generated during the production of the sample to be tested.
  • the size can be known from the experience of the production process.
  • the surface detection device further includes a computer.
  • the determining the surface defect of the sample to be tested according to the optical image includes: analyzing the surface defect of the sample to be tested according to the optical image through a pre-trained defect detection model. Measure the type and location of surface defects of the sample.
  • the deep learning method includes multiple levels, and each level completes a transformation (usually a nonlinear transformation).
  • 301 is the input layer (Input Layer)
  • 302 is the first intermediate layer (Hidden Layer 1)
  • 303 is the second intermediate layer (Hidden Layer2)
  • 304 is the output layer (Output Layer).
  • the input layer receives the input optical image, processed by the middle layer, and analyzed, and the output is passed to the output layer to output the result, that is, the defect type, location, size, etc.
  • 310 is the optical image obtained by the optical sensor after passing through the slit of the sample to be tested
  • 320 is the surface defect of the sample to be tested obtained after the optical image is processed by the neural network, such as 321 is a poor silk screen.
  • 322 is the tooth edge
  • 323 is the button with different color
  • 324 is dirty
  • 235 is the sound hole collapse
  • 326 is the oil surface.
  • the depth and position of the defect corresponding to the optical image can be obtained through the deep learning and analysis of the machine, and as the complexity of the optical structure increases (such as the increase in the number of slits, the increase in irregularities on the sample surface) , The complexity of the optical image collected by the image sensor will also increase.
  • the type and location of the observed optical image and the product surface defect can be correlated to predict whether the sample to be tested has surface defects And the location of surface defects. For example, for a sample to be tested with an unpolished surface and a slightly larger roughness, even the light spot produced by a good workpiece may be messy. It may be necessary to select a good sample to train the defect detection model so that it can identify the impurities more accurately.
  • the scattered light spot is caused by the roughness of the sample itself or by the defect.
  • the surface inspection device can train the defect detection model based on deep learning, and then correlate the observed optical image with the type and location of the product surface defect to predict the surface defect and location of the sample to be tested; further improve the surface Precision and accuracy of detection.
  • the surface detection device includes a spatial filter
  • the method further includes: determining the first defect of the at least two samples to be tested Property, the first defect is a specific surface defect to be detected; according to the property, the filter is controlled to filter the electrical signal to obtain the information of the first defect, and the electrical signal refers to the output from the slit The electrical signal generated by light on the image sensor.
  • the sample to be tested may have multiple different types of surface defects. If only a certain type of surface defect is tested, the data is filtered according to the nature of the different defects. For example, for very small surface defects such as scattering caused by point defects, relatively high frequency stray speckles are generally generated on the optical image. If you want to detect the point defects of the sample to be tested, you can perform high-pass filtering to obtain the points that need to be detected. The location, size and number of defects, etc.
  • the surface inspection device can detect specific surface defects through filtering, which improves the detection efficiency and accuracy of specific surface defects.
  • the surface detection device includes a computer, and after collecting the optical image of the light emitted from the slit, it further includes: performing a time domain and frequency domain analysis on the optical image by the computer. And analyze the spectrum information of the optical image.
  • spectrum analysis can be performed on the collected optical images as needed, and signal parameters such as distortion, modulation, spectral purity, frequency stability, and cross-modulation distortion of the optical signal of the collected light can be analyzed.
  • the signal is transformed between the time domain and the frequency domain through Fourier transform as needed, or the signal is scaled and translated through wavelet transform.
  • the surface inspection device can perform spectrum analysis on the optical signal of the collected light to obtain the parameters of the optical signal of the collected light, and then analyze whether the result of the detected surface defect is true.
  • FIG. 4 is a schematic flowchart of a surface defect optical detection method provided by an embodiment of the present application, which is applied to the surface detection device as shown in FIG.
  • the surface detection device includes a laser emitting module, the laser emitting module includes a laser emitter, a beam expander, and a collimator, the emitting direction of the laser emitter is perpendicular to the beam expander and the collimator Mirror; as shown in the figure, the optical detection method for surface defects includes:
  • the surface detection device clamps at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested;
  • the surface detection device adjusts the emission direction of the laser emission module to the preset direction
  • the surface detection device controls the laser transmitter to emit a laser beam, and the laser beam forms parallel rays incident on the slit after passing through the beam expander and the collimator;
  • the surface detection device collects an optical image of the light emitted from the slit
  • S405 The surface inspection device determines the surface defect of the sample to be tested according to the optical image.
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection;
  • Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected.
  • Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • the surface detection device controls the laser transmitter to emit a laser beam.
  • the laser beam is preferably a monochromatic laser beam with good coherence. After the laser beam passes through the beam expander and the collimator, the laser beam is incident on the slit. Parallel light can ensure that the incident light is parallel and has a large incident area, and avoid detection errors due to the incident light being non-parallel and non-parallel to the preset direction, thereby ensuring the efficiency and accuracy of surface detection.
  • FIG. 5 is a schematic flowchart of a surface defect optical inspection method provided by an embodiment of the present application, which is applied to a surface inspection device, and the surface inspection device includes a clamp
  • the optical detection method for surface defects includes:
  • the surface detection device clamps at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples of the at least two samples to be tested;
  • the surface detection device injects parallel light rays into the slit along the preset direction
  • the surface detection device collects an optical image of the light emitted from the slit
  • the surface inspection device analyzes the type and location of the surface defect of the sample to be tested through a pre-trained defect detection model according to the optical image.
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection;
  • Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected.
  • Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • the surface inspection device can train the defect detection model based on deep learning, and then correlate the observed optical image with the type and location of the product surface defect to predict whether the sample to be tested has surface defects; it further improves the accuracy and Accuracy.
  • FIG. 6 is a schematic structural diagram of a surface detection device 600 provided by an embodiment of the present application.
  • the surface The detection device 600 includes a laser emitting module, a clamping mechanism 604, an image sensor 605, a spatial filter 607, and a computer 608;
  • the laser emitting module includes a laser emitter 601, a beam expander 602, and a collimator 603 arranged in sequence ;
  • the clamping mechanism 604 is used to clamp at least two samples to be tested 206, and any two adjacent samples to be tested in the at least two samples to be tested form a slit straight through in a preset direction;
  • the collimator is used to inject parallel light into the slit along the preset direction;
  • the image sensor is used to collect an optical image of the light emitted from the slit;
  • the computer is used to obtain an optical image based on the optical image Determine the surface defects of the sample to be tested.
  • the laser is used to emit a laser beam; the beam expander is used to diverge the laser beam; the collimator is also used to convert the divergent laser beam into parallel light; the spatial filter is connected to the image sensor, It is used to filter the light emitted from the slit; the computer is also used to transform the optical image between the time domain and the frequency domain, and analyze the spectral information of the optical image.
  • the centers of the laser emitting module, the three-dimensional manipulator 604 and the image sensor 605 are on the same optical axis.
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection;
  • Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected.
  • Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • the surface detection device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the surface detection device into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 7 is a block diagram of the functional unit composition of the surface detection device involved in the embodiment of the present application. It includes a processing unit 701 and a communication unit 702, where
  • the processing unit 701 is configured to clamp at least two samples to be tested, and any two adjacent samples to be tested in the at least two samples to be tested form a slit straight through in a preset direction; and Incident parallel light rays to the slit in the predetermined direction; and collecting an optical image of the light rays emitted from the slit; and determining the surface defect of the sample to be tested based on the optical image.
  • the surface detection device 700 may further include a storage unit 703 for storing program codes and data of the surface detection device.
  • the processing unit 701 may be a processor
  • the communication unit 702 may be a touch screen or a transceiver
  • the storage unit 703 may be a memory.
  • the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image.
  • the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection;
  • Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected.
  • Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
  • the surface detection device includes a laser emitting module
  • the laser emitting module includes a laser emitter, a beam expander, and a collimator
  • the emitting direction of the laser emitter is perpendicular to the beam expanding And the mirror surface of the collimator
  • the processing unit 701 is specifically configured to: adjust the emission direction of the laser emission module to be The preset direction; the laser transmitter is controlled to emit a laser beam, and the laser beam forms a parallel light incident to the slit after passing through the beam expander and the collimator.
  • the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested.
  • the processing unit 701 is specifically configured to: when the at least two samples to be tested are curved samples to be tested; control the clamping mechanism to clamp the at least two samples to be tested, the at least two samples to be tested The second surface of the first sample to be tested of the sample and the first surface of the second sample to be tested of the at least two samples to be tested are adjacent to form a slit; the slit runs straight through in a preset direction.
  • the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested.
  • the processing unit 701 is specifically configured to: when the at least two samples to be tested are flat samples to be tested; control the clamping mechanism to clamp the at least two samples to be tested, and the at least two samples to be tested.
  • the third surface or the fourth surface of the third sample to be tested and the third surface or the fourth surface of the at least two samples to be tested are adjacent to form a slit; the slit runs straight through in a preset direction.
  • the processing unit 701 is specifically configured to adjust the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy.
  • the processing unit 701 is specifically configured to: according to the at least For the types of two samples to be tested, adjust the gap between the slits or the wavelength of the laser beam; adjust the gap between the slits or the wavelength of the laser beam according to the defect size of the at least two samples to be tested ; According to the inspection quality requirements of the at least two samples to be tested, adjust the slit spacing or the wavelength of the laser beam.
  • the processing unit 701 is specifically configured to analyze the type and location of the surface defect of the sample to be tested through a pre-trained defect detection model according to the optical image.
  • the surface detection device includes a spatial filter
  • the processing unit 701 is further configured to determine the at least two to-be-tested optical images after collecting the optical image of the light emitted from the slit
  • the property of the first defect of the sample, the first defect is a specific surface defect to be detected
  • the electrical signal is filtered by the filter according to the property control to obtain the information of the first defect, and the electrical signal refers to The light emitted from the slit generates an electrical signal on the image sensor.
  • the surface detection device includes a computer.
  • the processing unit 701 is further configured to perform processing on the optical image by the computer after the optical image of the light emitted from the slit is collected.
  • the transformation between the time domain and the frequency domain analyzes the spectral information of the optical image.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
  • the aforementioned computer includes electronic equipment.
  • the embodiments of the present application also provide a computer program product.
  • the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program.
  • the above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method.
  • the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
  • the program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

A surface defect optical inspection method and a related device. The method comprises: holding at least two measurement samples, wherein a slit is linearly provided in a preset direction between any two adjacent measurement samples of the at least two measurement samples; causing parallel light to enter the slit in the preset direction; acquiring an optical image of light exiting from the slit; and determining a surface defect of the measurement samples according to the optical image. The method enables simultaneous inspection of multiple measurement samples, and improves the accuracy and efficiency of surface inspection.

Description

表面缺陷光学检测方法及相关装置Surface defect optical detection method and related device 技术领域Technical field
本申请涉及光学检测技术领域,具体涉及一种表面缺陷光学检测方法及相关装置。This application relates to the field of optical inspection technology, and in particular to an optical inspection method and related devices for surface defects.
背景技术Background technique
产品外观检测是工业检测中的重要部分,目前,在对产品表面缺陷的检测中,多采用的是通过对产品表面成像来鉴别表面是否有缺陷存在。利用光波在传播过程中与各种不规则结构(即缺陷本身)所产生的相互作用,如折射,散射,衍射,用于判断在一个产品表面是否存在缺陷。但是,现阶段存在的光学检测方法大多采用入射光对样品表面进行照射,采集反射或者透射光谱,需要对单个样品分别检测,且不易通过光学图像判断缺陷的类型、位置。更重要的是,对于某些非常细微的缺陷,或者肉眼难以识别的缺陷,比如透明表面的轻微凹陷凸起,或者微米级别的细小划痕,难以通过成像辨别。Product appearance inspection is an important part of industrial inspection. At present, in the inspection of product surface defects, it is mostly used to identify whether there are defects on the surface by imaging the product surface. The interaction between light waves and various irregular structures (ie defects themselves) during the propagation process, such as refraction, scattering, and diffraction, is used to determine whether there are defects on the surface of a product. However, most of the existing optical inspection methods currently use incident light to irradiate the surface of the sample and collect reflection or transmission spectra. It is necessary to detect individual samples separately, and it is difficult to determine the type and location of defects through optical images. More importantly, for some very subtle defects, or defects that are difficult to identify with the naked eye, such as slight depressions and protrusions on the transparent surface, or micron-level scratches, it is difficult to distinguish by imaging.
发明内容Summary of the invention
本申请实施例提供了一种表面缺陷光学检测方法及相关装置,以期提高表面缺陷检测的效率和准确率。The embodiments of the present application provide an optical detection method and related devices for surface defects, in order to improve the efficiency and accuracy of surface defect detection.
第一方面,本申请实施例提供一种表面缺陷光学检测方法,应用于表面检测装置,所述方法包括:In the first aspect, an embodiment of the present application provides an optical detection method for surface defects, which is applied to a surface detection device, and the method includes:
夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;Clamping at least two samples to be tested, and any two adjacent samples to be tested among the at least two samples to be tested form a slit straight through in a preset direction;
沿所述预设方向向所述狭缝入射平行光线;Incident parallel light rays to the slit along the preset direction;
采集从所述狭缝出射的光线的光学图像;Collecting an optical image of the light emitted from the slit;
根据所述光学图像确定所述待测样品的表面缺陷。The surface defect of the sample to be tested is determined according to the optical image.
第二方面,本申请实施例提供一种表面检测装置,所述检测装置包括:激光发射模组,夹持机构,图像传感器,空间滤波器和计算机;所述激光发射模 组包括激光发射器,扩束器,准直器;所述激光发射器的发射方向垂直所述扩束器和所述准直器的镜面;其中,所述夹持机构用于夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;以及所述准直器用于沿所述预设方向向所述狭缝入射平行光线;以及所述图像传感器用于采集从所述狭缝出射的光线的光学图像;以及所述计算机用于根据所述光学图像确定所述待测样品的表面缺陷;以及所述激光器用于发射激光束;所述扩束器用于发散所述激光束;以及所述准直器还用于将发散的激光束转换为平行光线;以及所述空间滤波器连接所述图像传感器,用于对从所述狭缝出射的光线进行滤波;以及所述计算机还用于对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。In a second aspect, an embodiment of the present application provides a surface detection device. The detection device includes a laser emitting module, a clamping mechanism, an image sensor, a spatial filter, and a computer; the laser emitting module includes a laser transmitter, A beam expander, a collimator; the emission direction of the laser transmitter is perpendicular to the beam expander and the mirror surface of the collimator; wherein the clamping mechanism is used to clamp at least two samples to be tested, so A slit linearly penetrating in a preset direction is formed between any two adjacent samples to be tested in the at least two samples to be tested; and the collimator is used to enter the slit along the preset direction Parallel light; and the image sensor is used to collect an optical image of the light emitted from the slit; and the computer is used to determine the surface defect of the sample to be tested based on the optical image; and the laser is used Emit a laser beam; the beam expander is used to diverge the laser beam; and the collimator is also used to convert the divergent laser beam into parallel rays; and the spatial filter is connected to the image sensor for alignment The light rays emitted from the slit are filtered; and the computer is also used to perform a transformation between the time domain and the frequency domain on the optical image, and analyze the spectral information of the optical image.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays to the slit along a preset direction; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which may occur when encountering defects, collect different optical images. According to different optical images, the types of surface defects of the sample to be tested can be analyzed , Location, size and other information, improve the accuracy and efficiency of surface detection.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的一种表面缺陷光学检测方法的流程示意图;FIG. 1 is a schematic flow chart of a method for optical detection of surface defects according to an embodiment of the present application;
图2(a)是本申请实施例提供的一种曲面待测样品的排列方法;Figure 2(a) is a method for arranging curved samples to be tested according to an embodiment of the present application;
图2(b)是本申请实施例提供的一种平面待测样品的排列方法;Figure 2(b) is a method for arranging planar samples to be tested according to an embodiment of the present application;
图3(a)是本申请实施例提供的一种表面缺陷光学检测的深度学习的神 经网络结构图;Figure 3(a) is a neural network structure diagram of a deep learning for surface defect optical inspection provided by an embodiment of the present application;
图3(b)是本申请实施例提供的一种光学图像经机器学习得到产品表面缺陷的效果图;Figure 3(b) is an effect diagram of an optical image provided by an embodiment of the present application obtained by machine learning of product surface defects;
图4是本申请实施例提供的另一种表面缺陷光学检测方法的流程示意图;4 is a schematic flowchart of another optical detection method for surface defects provided by an embodiment of the present application;
图5是本申请实施例提供的另一种表面缺陷光学检测方法的流程示意图;FIG. 5 is a schematic flowchart of another optical detection method for surface defects according to an embodiment of the present application;
图6是本申请实施例提供的一种表面检测装置的结构示意图;FIG. 6 is a schematic structural diagram of a surface detection device provided by an embodiment of the present application;
图7是本申请实施例提供的一种表面检测装置的功能单元组成框图。Fig. 7 is a block diagram of functional units of a surface detection device provided by an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
请参阅图1,图1是本申请实施例提供了一种表面缺陷光学检测方法的流程示意图,应用于如图6所示的表面检测装置;如图所示,本表面缺陷光学检测方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a surface defect optical detection method provided by an embodiment of the present application, which is applied to the surface detection device shown in FIG. 6; as shown in the figure, the surface defect optical detection method includes:
S101,夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;S101: Clamp at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested;
其中,表面检测装置可以控制夹持机构夹持至少两个待测样品,并使待测样品相邻的表面之间存在狭缝;若当待测样品为平面样品时,使待测样品表面相互平行排列;若当待测样品为曲面样品时,使其在与入射光线一致的方向上行程直线贯通的狭缝。Among them, the surface detection device can control the clamping mechanism to clamp at least two samples to be tested, and make a gap between the adjacent surfaces of the sample to be tested; if the sample to be tested is a flat sample, the surfaces of the sample to be tested are mutually Parallel arrangement; if the sample to be tested is a curved sample, make it travel a straight through slit in the same direction as the incident light.
其中,对于表面均匀性好,平整度高的待测样品,其本身可以作为一种光学器件,将其按照一定间距排列即可形成狭缝,这种排列不限制待测样品的数量和狭缝的数量,且狭缝的各种参数可以根据待测样品要求进行调整,能够同时进行大批量的产品的表面缺陷检测作业,十分高效。Among them, for the sample to be tested with good surface uniformity and high flatness, it can itself be used as an optical device, which can be arranged at a certain interval to form slits. This arrangement does not limit the number of samples to be tested and the slits The number of slits, and the various parameters of the slits can be adjusted according to the requirements of the sample to be tested, which can simultaneously perform surface defect detection of large quantities of products, which is very efficient.
S102,所述表面检测装置沿所述预设方向向所述狭缝入射平行光线;S102, the surface detection device injects parallel light rays into the slit along the preset direction;
其中,所述预设方向是指所述待测样品形成的狭缝的直线贯通的预设方向。Wherein, the preset direction refers to a preset direction through which a straight line of a slit formed by the sample to be tested penetrates.
S103,所述表面检测装置采集从所述狭缝出射的光线的光学图像;S103: The surface detection device collects an optical image of the light emitted from the slit;
其中,入射光经过狭缝之后会发生衍射、散射等物理过程,最终投射在图像传感器上形成光学图像,所述表面检测装置通过图像传感器采集穿过狭缝的光线的光学图像。Wherein, the incident light undergoes physical processes such as diffraction and scattering after passing through the slit, and is finally projected on the image sensor to form an optical image. The surface detection device collects the optical image of the light passing through the slit through the image sensor.
S104,所述表面检测装置根据所述光学图像确定所述待测样品的表面缺陷。S104: The surface inspection device determines the surface defect of the sample to be tested according to the optical image.
其中,采集的光学图像的几何形状(即光强在不同位置的分布)和光在传播过程中遇到的障碍物有直接关系。例如,入射光在待测样品形成的狭缝中没有遇到障碍,即待测样品表面光滑,没有缺陷时,采集到的光学图像是规则的光学图像;当待测样品的表面存在某些缺陷时,入射光在狭缝中传播时,光线的传播路径会受到缺陷影响,在传播过程中发生反射、散射、折射或衍射等,最后再图像传感器山采集到的光学图像也会发生变化。根据传感器采集的光学图像的位置和形状可以确定出待测样品是否存在缺陷以及缺陷的类型、大小和位置信息。Among them, the geometric shape of the collected optical image (that is, the distribution of light intensity at different positions) is directly related to the obstacles encountered during the propagation of the light. For example, the incident light does not encounter obstacles in the slit formed by the sample to be tested, that is, when the surface of the sample to be tested is smooth and there are no defects, the collected optical image is a regular optical image; when there are some defects on the surface of the sample to be tested When the incident light propagates in the slit, the propagation path of the light will be affected by defects, and reflection, scattering, refraction or diffraction will occur during the propagation process, and finally the optical image collected by the image sensor will also change. According to the position and shape of the optical image collected by the sensor, it can be determined whether there is a defect in the sample to be tested and the type, size and location of the defect.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯 通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected. Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
在一个可能的示例中,所述表面检测装置包括激光发射模组,所述表面检测装置包括激光发射模组,所述激光发射模组包括依次设置的激光发射器、扩束器以及准直器;所述沿所述预设方向向所述狭缝入射平行光线,包括:调整所述激光发射模组的发射方向为所述预设方向;控制激光发射器发出激光束,所述激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线。In a possible example, the surface detection device includes a laser emission module, the surface detection device includes a laser emission module, and the laser emission module includes a laser emitter, a beam expander, and a collimator arranged in sequence The incident parallel light rays to the slit along the preset direction includes: adjusting the emitting direction of the laser emitting module to the preset direction; controlling the laser transmitter to emit a laser beam, and the laser beam passes The beam expander and the collimator form parallel light rays incident on the slit.
其中,表面检测装置包括激光发射器、扩束器、准直器,激光发射器发射相干性好的单色激光,经扩束器和准直器后产生平行光,垂直于待测样品排列方向入射,即入射光方向和样品间的狭缝直线贯通的方向一致。Among them, the surface detection device includes a laser emitter, a beam expander, and a collimator. The laser emitter emits a monochromatic laser with good coherence. After the beam expander and the collimator, parallel light is generated, which is perpendicular to the arrangement direction of the sample to be tested. Incident, that is, the direction of the incident light is consistent with the direction in which the slit between the samples penetrates.
可见,本示例中,表面检测装置控制激光发射器发出激光束,激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线,能够保证入射光线为平行光线且入射面积大,避免由于入射光线不平行,与预设方向不平行导致检测错误,从而保证表面检测的效率和准确率。It can be seen that, in this example, the surface detection device controls the laser transmitter to emit a laser beam, and the laser beam forms parallel rays incident on the slit after passing through the beam expander and the collimator, which can ensure that the incident rays are parallel rays In addition, the incident area is large to avoid detection errors due to non-parallel incident light and non-parallel to the preset direction, thereby ensuring the efficiency and accuracy of surface detection.
在一个可能的示例中,所述表面检测装置包括夹持机构,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝,包括:当所述至少两个待测样品为曲面待测样品时;控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品的第一待测样品的第二表面与所述至少两个待测样品的第二待测样品的第一表面相邻形成狭缝;所述狭缝在预设方向上直线贯通。In a possible example, the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested, including : When the at least two samples to be tested are curved samples to be tested; controlling the clamping mechanism to clamp the at least two samples to be tested, the first sample to be tested of the at least two samples to be tested The two surfaces are adjacent to the first surface of the second test sample of the at least two test samples to form a slit; the slit runs straight through in a predetermined direction.
其中,所述夹持机构包括但不限于高精度的三维机械手。所述至少两个曲面待测样品相邻的之间能够在预设方向上形成直线贯通的狭缝,请参考图2(a),图2(a)为一种曲面待测样品的排列示意图,206为多个待测样品,具体为曲面待测样品,“箭头”标识入射光线,705为图像传感器,用于采集经 过曲面待测样品的狭缝的光线的光学图像。在具体实现中,第二待测样品与第一待测样品相邻。若曲面待测样品的凹面为第一表面,凸面为第二表面,则第一待测样品的第二表面只能与第二待测样品的第一表面形成直线贯通的狭缝。其中,入射光线经准直器后产生的平行光线仅能由垂直于曲面待测样品的曲线平面入射,所述曲面待测样品还可以与图2(a)中凹面相反的方向放置。Wherein, the clamping mechanism includes but is not limited to a high-precision three-dimensional manipulator. The at least two curved samples to be tested can form a straight-through slit in a preset direction between adjacent ones. Please refer to Figure 2(a). Figure 2(a) is a schematic diagram of an arrangement of curved samples to be tested. 206 is a plurality of samples to be tested, specifically curved samples to be tested, "arrows" identify incident light, and 705 is an image sensor for collecting optical images of light passing through the slits of the curved samples to be tested. In a specific implementation, the second sample to be tested is adjacent to the first sample to be tested. If the concave surface of the curved sample to be tested is the first surface and the convex surface is the second surface, the second surface of the first sample to be tested can only form a straight slit with the first surface of the second sample to be tested. Wherein, the parallel light generated by the incident light after passing through the collimator can only be incident from the curved plane perpendicular to the curved sample to be tested, and the curved sample to be tested can also be placed in the opposite direction to the concave surface in FIG. 2(a).
可见,本示例中,表面检测装置能够通过最终投射在图像传感器上得到的光学图像判断在一个曲面待测样品的表面是否存在缺陷,以及缺陷的位置等信息,增加了表面加测装置能够检测的待测样品的多样性,提高了检测效率。It can be seen that, in this example, the surface inspection device can determine whether there are defects on the surface of a curved sample to be tested and the location of the defects through the optical image finally projected on the image sensor, which increases the number of surface inspection devices that can detect The diversity of samples to be tested improves the detection efficiency.
在一个可能的示例中,所述表面检测装置包括夹持机构,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝,包括:当所述至少两个待测样品为平面待测样品时;控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品包括第三待测样品和第四待测样品,所述第三待测样品的第一表面或第二表面与所述第四待测样品的第一表面或第二表面相邻形成狭缝,所述狭缝在预设方向上形成直线贯通。In a possible example, the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested, including : When the at least two samples to be tested are flat samples to be tested; controlling the clamping mechanism to clamp the at least two samples to be tested, the at least two samples to be tested include a third sample to be tested and a second sample Four samples to be tested, the first or second surface of the third sample to be tested is adjacent to the first surface or the second surface of the fourth sample to be tested to form a slit, and the slit is in a preset direction Form a straight line through.
其中,请参考图2(b),图2(b)为一种平面待测样品的排列示意图,206为多个待测样品,具体为平面待测样品,“箭头”标识入射光线,705为图像传感器,用于采集经过平面待测样品的狭缝的光线的光学图像。在具体实现中,第一待测样品与第二待测样品相邻,第一待测样品的第一表面与第二待测样品的第一表面或第二表面形成狭缝,或者第一待测样品的第二表面与第二待测样品的第一表面或第二表面形成狭缝。其中,入射光线可以沿平行于平面的任一方向入射,如图2(b)中,入射光线可以沿与待测样品206平面平行的方向,从待测样品的任意一边入射。Among them, please refer to Figure 2 (b), Figure 2 (b) is a schematic diagram of the arrangement of a flat sample to be tested, 206 is a plurality of samples to be tested, specifically the flat sample to be tested, the "arrow" indicates the incident light, and 705 is The image sensor is used to collect the optical image of the light passing through the slit of the flat sample to be tested. In a specific implementation, the first sample to be tested is adjacent to the second sample to be tested, the first surface of the first sample to be tested and the first surface or the second surface of the second sample to be tested form a slit, or the first sample to be tested The second surface of the test sample and the first surface or the second surface of the second test sample form a slit. The incident light can be incident in any direction parallel to the plane. As shown in FIG. 2(b), the incident light can be incident in a direction parallel to the plane of the sample 206 to be tested, from any side of the sample to be tested.
可见,本示例中,表面检测装置能够通过最终投射在图像传感器上形成的光学图像判断在一个平面待测样品的表面是否存在缺陷,以及缺陷的位置等信息,增加了表面加测装置能够检测的待测样品的多样性,提高了检测效率和准确率。It can be seen that, in this example, the surface inspection device can determine whether there are defects on the surface of the sample to be tested on a plane through the optical image formed on the image sensor, and the location of the defect, which increases the number of surface inspection devices that can detect The diversity of the samples to be tested improves the detection efficiency and accuracy.
在一个可能的示例中,所述方法还包括:根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波。其中,至少两个待测样品之间的狭缝的间距大小可以根据预设策略通过夹持机构进行调节。激光发射器发射的 激光光波波长可以由表面检测装置控制调节。且激光发射器可以使用相干性好的单色激光。In a possible example, the method further includes: adjusting the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy. Wherein, the distance of the slit between at least two samples to be tested can be adjusted by a clamping mechanism according to a preset strategy. The wavelength of the laser light emitted by the laser transmitter can be controlled and adjusted by the surface detection device. And the laser transmitter can use a monochromatic laser with good coherence.
可见,本示例中,表面检测装置可以根据条件对狭缝间距和激光波长进行调整,例如可以根据缺陷的大小调节狭缝间距和激光波长,提高了表面检测的效率和准确率。It can be seen that, in this example, the surface inspection device can adjust the slit spacing and laser wavelength according to conditions, for example, the slit spacing and laser wavelength can be adjusted according to the size of the defect, which improves the efficiency and accuracy of surface inspection.
在一个可能的示例中,所述根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波,包括:根据所述至少两个待测样品的种类,调节所述狭缝间距或所述激光束的光波波长;根据所述至少两个待测样品的缺陷大小,调节所述狭缝间距或所述激光束的光波波长;根据所述至少两个待测样品的检测质量要求,调节所述狭缝间距或所述激光束的光波波长。In a possible example, the adjusting the slit between the at least two samples to be tested or the light waves of the emitted laser beam according to a preset strategy includes: adjusting according to the types of the at least two samples to be tested The slit pitch or the light wavelength of the laser beam; adjust the slit pitch or the light wavelength of the laser beam according to the defect size of the at least two samples to be tested; The inspection quality of the sample requires adjusting the gap between the slits or the wavelength of the laser beam.
其中,因为不同种类的待测样品的表面的光滑程度不一,所以根据至少两个待测样品的种类不同调整狭缝间距和激光束的光波波长。例如,检测精细玻璃样品表面的缺陷,如镜头或显示器面板表面的划痕。对于表面高度光滑的样品,一般能容忍的缺陷尺寸也较小,可以用可见光这一类波长较短的光进行检测。而对于金属表面的缺陷,如手机后盖和光学镜面上的凹陷和镀膜不均匀。对于表面未经精细抛光,粗糙度略大的样品,可选择波长较长的光,如红外光、太赫兹进行检测。Among them, because the surfaces of different types of samples to be tested have different degrees of smoothness, the slit spacing and the wavelength of the laser beam are adjusted according to the types of at least two samples to be tested. For example, detecting defects on the surface of fine glass samples, such as scratches on the surface of a lens or display panel. For samples with a highly smooth surface, generally the tolerable defect size is also small, and can be detected with light with a shorter wavelength such as visible light. For metal surface defects, such as dents and uneven coating on the back cover of the mobile phone and the optical mirror. For samples that have not been finely polished and have slightly larger roughness, light with longer wavelengths, such as infrared light and terahertz, can be selected for detection.
其中,待测样品可能会存在不同大小的缺陷,该缺陷可以是肉眼可见的缺陷,也可以是在待测样品的生产过程中产生细小缺陷,可由生产过程的经验所知其大小。Among them, the sample to be tested may have defects of different sizes. The defect can be a visible defect or a small defect generated during the production of the sample to be tested. The size can be known from the experience of the production process.
可见,本示例中,根据缺陷的大小不同调节狭缝间距和激光束光波波长可以使缺陷的检测更加精确和快捷。It can be seen that in this example, adjusting the gap between the slits and the wavelength of the laser beam according to the size of the defect can make the detection of the defect more accurate and faster.
在一个可能的示例中,所述表面检测装置还包括计算机,所述根据所述光学图像确定所述待测样品的表面缺陷,包括:根据所述光学图像,通过预训练的缺陷检测模型分析待测样品的表面缺陷的类型和位置。In a possible example, the surface detection device further includes a computer. The determining the surface defect of the sample to be tested according to the optical image includes: analyzing the surface defect of the sample to be tested according to the optical image through a pre-trained defect detection model. Measure the type and location of surface defects of the sample.
其中,深度学习能够从原始输入数据中自动发现需要检测的特征,深度学习方法包含多个层次,每一个层次完成一次变换(通常是非线性的变换)。如图3(a)所示,深度学习通过3层或更多层人工神经网络实现,301为输入层(Input Layer),302为第一中间层(Hidden Layer 1),303为第二中间层(Hidden  Layer2),304为输出层(Output Layer)。输入层接收输入的光学图像,经中间层处理,分析后,输出传递给输出层输出结果,即缺陷类型,位置,大小等。如图3(b)所示,310为经过待测样品狭缝后光学传感器得到的光学图像,320为所述光学图像经神经网络处理后得到的待测样品表面缺陷,如321为丝印不良,322为牙边,323为按键异色,324为脏污,235为音孔崩,326为油面。Among them, deep learning can automatically find features that need to be detected from the original input data. The deep learning method includes multiple levels, and each level completes a transformation (usually a nonlinear transformation). As shown in Figure 3(a), deep learning is implemented by 3 or more layers of artificial neural networks, 301 is the input layer (Input Layer), 302 is the first intermediate layer (Hidden Layer 1), and 303 is the second intermediate layer (Hidden Layer2), 304 is the output layer (Output Layer). The input layer receives the input optical image, processed by the middle layer, and analyzed, and the output is passed to the output layer to output the result, that is, the defect type, location, size, etc. As shown in Figure 3(b), 310 is the optical image obtained by the optical sensor after passing through the slit of the sample to be tested, 320 is the surface defect of the sample to be tested obtained after the optical image is processed by the neural network, such as 321 is a poor silk screen. 322 is the tooth edge, 323 is the button with different color, 324 is dirty, 235 is the sound hole collapse, and 326 is the oil surface.
对于光学传感器得到的光学图像,经机器深度学习进修分析,可以得到光学图像对应的缺陷烈性和位置,且随着光学结构的复杂性增加(如狭缝的数量增加,样品表面不规则处增加),图像传感器采集的光学图像的复杂性也会上升,通过预先训练的深度学习模型或神经网络模型,关联观察到的光学图像和产品表面缺陷的类型和位置,从而预测待测样品是否存在表面缺陷和表面缺陷的存在位置。例如,对于表面未经抛光,粗糙度略大的待测样品,即使良好的工件产生的光斑也有可能比较杂乱,可能需要首先选择良好的样品对缺陷检测模型进行训练使其能够更加精准的识别杂散的光斑是由于样品本身的粗糙产生还是由缺陷产生。For the optical image obtained by the optical sensor, the depth and position of the defect corresponding to the optical image can be obtained through the deep learning and analysis of the machine, and as the complexity of the optical structure increases (such as the increase in the number of slits, the increase in irregularities on the sample surface) , The complexity of the optical image collected by the image sensor will also increase. Through the pre-trained deep learning model or neural network model, the type and location of the observed optical image and the product surface defect can be correlated to predict whether the sample to be tested has surface defects And the location of surface defects. For example, for a sample to be tested with an unpolished surface and a slightly larger roughness, even the light spot produced by a good workpiece may be messy. It may be necessary to select a good sample to train the defect detection model so that it can identify the impurities more accurately. The scattered light spot is caused by the roughness of the sample itself or by the defect.
可见,本示例中,表面检测装置能够基于深度学习对缺陷检测模型进行训练,再关联观察到的光学图像和产品表面缺陷的类型和位置,预测待测样品的表面缺陷和位置;进一步提高了表面检测的精确度和准确度。It can be seen that in this example, the surface inspection device can train the defect detection model based on deep learning, and then correlate the observed optical image with the type and location of the product surface defect to predict the surface defect and location of the sample to be tested; further improve the surface Precision and accuracy of detection.
在一个可能的示例中,所述表面检测装置包括空间滤波器,所述采集从所述狭缝出射的光线的光学图像之后,还包括:确定所述至少两个待测样品的第一缺陷的性质,所述第一缺陷为特定的待检测表面缺陷;根据所述性质控制滤波器对电信号进行滤波,得到所述第一缺陷的信息,所述电信号是指从所述狭缝出射的光线在图像传感器上产生的电信号。In a possible example, the surface detection device includes a spatial filter, and after the collection of the optical image of the light emitted from the slit, the method further includes: determining the first defect of the at least two samples to be tested Property, the first defect is a specific surface defect to be detected; according to the property, the filter is controlled to filter the electrical signal to obtain the information of the first defect, and the electrical signal refers to the output from the slit The electrical signal generated by light on the image sensor.
其中,待测样品可能存在多个不同类型的表面缺陷,若只针对某一种表面缺陷进行检测,则根据不同缺陷的性质对数据进行滤波。例如,对于非常小的表面缺陷如点缺陷产生的散射,在光学图像上一般产生比较高频的杂散斑,想要检测这待测样品的点缺陷,可以进行高通滤波,得到需要检测的点缺陷的位置、大小以及数量等。Among them, the sample to be tested may have multiple different types of surface defects. If only a certain type of surface defect is tested, the data is filtered according to the nature of the different defects. For example, for very small surface defects such as scattering caused by point defects, relatively high frequency stray speckles are generally generated on the optical image. If you want to detect the point defects of the sample to be tested, you can perform high-pass filtering to obtain the points that need to be detected. The location, size and number of defects, etc.
可见,本示例中,表面检测装置能够通过滤波针对特定表面缺陷进行检测,提高了对特定表面缺陷的检测效率和准确率。It can be seen that in this example, the surface inspection device can detect specific surface defects through filtering, which improves the detection efficiency and accuracy of specific surface defects.
在一个可能的示例中,所述表面检测装置包括计算机,所述采集从所述狭缝出射的光线的光学图像之后,还包括:通过所述计算机对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。In a possible example, the surface detection device includes a computer, and after collecting the optical image of the light emitted from the slit, it further includes: performing a time domain and frequency domain analysis on the optical image by the computer. And analyze the spectrum information of the optical image.
其中,可以根据需要对采集的光学图像进行频谱分析,分析采集的光线的光学信号的失真度、调制度、谱纯度、频率稳定度和交调失真等信号参数。例如,根据需要通过傅里叶变换将信号在时域和频域之间变换或者通过小波变换将信号进行缩放、平移等操作。Among them, spectrum analysis can be performed on the collected optical images as needed, and signal parameters such as distortion, modulation, spectral purity, frequency stability, and cross-modulation distortion of the optical signal of the collected light can be analyzed. For example, the signal is transformed between the time domain and the frequency domain through Fourier transform as needed, or the signal is scaled and translated through wavelet transform.
可见,本示例中,表面检测装置能够对采集的光线的光学信号进行频谱分析,得到采集的光线的光学信号的参数,进而分析检测的表面缺陷结果是否真实。It can be seen that, in this example, the surface inspection device can perform spectrum analysis on the optical signal of the collected light to obtain the parameters of the optical signal of the collected light, and then analyze whether the result of the detected surface defect is true.
与上述图1所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种表面缺陷光学检测方法的流程示意图,应用于如图6所述的表面检测装置,所述表面检测装置包括激光发射模组,所述激光发射模组包括激光发射器、扩束器、准直器,所述激光发射器的发射方向垂直所述扩束器和所述准直器的镜面;如图所示,本表面缺陷光学检测方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 4. FIG. 4 is a schematic flowchart of a surface defect optical detection method provided by an embodiment of the present application, which is applied to the surface detection device as shown in FIG. The surface detection device includes a laser emitting module, the laser emitting module includes a laser emitter, a beam expander, and a collimator, the emitting direction of the laser emitter is perpendicular to the beam expander and the collimator Mirror; as shown in the figure, the optical detection method for surface defects includes:
S401,表面检测装置夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;S401: The surface detection device clamps at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested;
S402,所述表面检测装置将所述激光发射模组的发射方向调整为所述预设方向;S402: The surface detection device adjusts the emission direction of the laser emission module to the preset direction;
S403,所述表面检测装置控制激光发射器发出激光束,所述激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线;S403: The surface detection device controls the laser transmitter to emit a laser beam, and the laser beam forms parallel rays incident on the slit after passing through the beam expander and the collimator;
S404,所述表面检测装置采集从所述狭缝出射的光线的光学图像;S404: The surface detection device collects an optical image of the light emitted from the slit;
S405,所述表面检测装置根据所述光学图像确定所述待测样品的表面缺陷。S405: The surface inspection device determines the surface defect of the sample to be tested according to the optical image.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭 缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected. Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
此外,表面检测装置控制激光发射器发出激光束,激光束最好为相干性好的单色激光束,激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线,能够保证入射光线为平行光线且入射面积大,避免由于入射光线不平行,与预设方向不平行导致检测错误,从而保证表面检测的效率和准确率。In addition, the surface detection device controls the laser transmitter to emit a laser beam. The laser beam is preferably a monochromatic laser beam with good coherence. After the laser beam passes through the beam expander and the collimator, the laser beam is incident on the slit. Parallel light can ensure that the incident light is parallel and has a large incident area, and avoid detection errors due to the incident light being non-parallel and non-parallel to the preset direction, thereby ensuring the efficiency and accuracy of surface detection.
与上述图1所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种表面缺陷光学检测方法的流程示意图,应用于表面检测装置,所述表面检测装置包括夹持机构,如图所示,本表面缺陷光学检测方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 5. FIG. 5 is a schematic flowchart of a surface defect optical inspection method provided by an embodiment of the present application, which is applied to a surface inspection device, and the surface inspection device includes a clamp As shown in the figure, the optical detection method for surface defects includes:
S501,表面检测装置夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;S501: The surface detection device clamps at least two samples to be tested, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples of the at least two samples to be tested;
S502,所述表面检测装置沿所述预设方向向所述狭缝入射平行光线;S502, the surface detection device injects parallel light rays into the slit along the preset direction;
S503,所述表面检测装置采集从所述狭缝出射的光线的光学图像;S503: The surface detection device collects an optical image of the light emitted from the slit;
S504,所述表面检测装置根据所述光学图像,通过预训练的缺陷检测模型分析待测样品的表面缺陷的类型和位置。S504: The surface inspection device analyzes the type and location of the surface defect of the sample to be tested through a pre-trained defect detection model according to the optical image.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected. Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
此外,表面检测装置能够基于深度学习对缺陷检测模型进行训练,再关联观察到的光学图像和产品表面缺陷的类型和位置,预测待测样品是否存在表面缺陷;进一步提高了表面检测的精确度和准确度。In addition, the surface inspection device can train the defect detection model based on deep learning, and then correlate the observed optical image with the type and location of the product surface defect to predict whether the sample to be tested has surface defects; it further improves the accuracy and Accuracy.
与上述图1、图4、图5所示的实施例一致的,请参阅图6,图6是本申请实施例提供的一种表面检测装置600的结构示意图,如图所示,所述表面检测装置600包括激光发射模组,夹持机构604,图像传感器605,空间滤波器607和计算机608;所述激光发射模组包括依次设置的激光发射器601,扩束器602以及准直器603;Consistent with the embodiments shown in FIGS. 1, 4, and 5 above, please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a surface detection device 600 provided by an embodiment of the present application. As shown in the figure, the surface The detection device 600 includes a laser emitting module, a clamping mechanism 604, an image sensor 605, a spatial filter 607, and a computer 608; the laser emitting module includes a laser emitter 601, a beam expander 602, and a collimator 603 arranged in sequence ;
所述夹持机构604用于夹持至少两个待测样品206,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;所述准直器用于沿所述预设方向向所述狭缝入射平行光线;所述图像传感器用于采集从所述狭缝出射的光线的光学图像;所述计算机用于根据所述光学图像确定所述待测样品的表面缺陷。所述激光器用于发射激光束;所述扩束器用于发散所述激光束;所述准直器还用于将发散的激光束转换为平行光线;所述空间滤波器连接所述图像传感器,用于对从所述狭缝出射的光线进行滤波;所述计算机还用于对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。The clamping mechanism 604 is used to clamp at least two samples to be tested 206, and any two adjacent samples to be tested in the at least two samples to be tested form a slit straight through in a preset direction; The collimator is used to inject parallel light into the slit along the preset direction; the image sensor is used to collect an optical image of the light emitted from the slit; and the computer is used to obtain an optical image based on the optical image Determine the surface defects of the sample to be tested. The laser is used to emit a laser beam; the beam expander is used to diverge the laser beam; the collimator is also used to convert the divergent laser beam into parallel light; the spatial filter is connected to the image sensor, It is used to filter the light emitted from the slit; the computer is also used to transform the optical image between the time domain and the frequency domain, and analyze the spectral information of the optical image.
其中,所述激光发射模组,所述三维机械手604和所述图像传感器605的中心在同一光轴上。Wherein, the centers of the laser emitting module, the three-dimensional manipulator 604 and the image sensor 605 are on the same optical axis.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time, which improves the efficiency of surface inspection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected. Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,表面检测装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计 算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to realize the above-mentioned functions, the surface detection device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对表面检测装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the surface detection device into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图7是本申请实施例中所涉及的表面检测装置的功能单元组成框图。包括处理单元701和通信单元702,其中,FIG. 7 is a block diagram of the functional unit composition of the surface detection device involved in the embodiment of the present application. It includes a processing unit 701 and a communication unit 702, where
所述处理单元701,用于夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;以及延所述预设方向向所述狭缝入射平行光线;以及采集从所述狭缝出射的光线的光学图像;以及根据所述光学图像确定所述待测样品的表面缺陷。The processing unit 701 is configured to clamp at least two samples to be tested, and any two adjacent samples to be tested in the at least two samples to be tested form a slit straight through in a preset direction; and Incident parallel light rays to the slit in the predetermined direction; and collecting an optical image of the light rays emitted from the slit; and determining the surface defect of the sample to be tested based on the optical image.
其中,所述表面检测装置700还可以包括存储单元703,用于存储表面检测装置的程序代码和数据。所述处理单元701可以是处理器,所述通信单元702可以是触控显示屏或者收发器,存储单元703可以是存储器。Wherein, the surface detection device 700 may further include a storage unit 703 for storing program codes and data of the surface detection device. The processing unit 701 may be a processor, the communication unit 702 may be a touch screen or a transceiver, and the storage unit 703 may be a memory.
可以看出,本申请实施例中,表面检测装置首先夹持至少两个待测样品,至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;其次沿预设方向向狭缝入射平行光线;再次采集从所述狭缝出射的光线的光学图像;最后根据所述光学图像确定所述待测样品的表面缺陷。可见,表面检测装置能够通过控制夹持至少两个待测样品,使相邻待测样品间形成狭缝,确保了能够同时检测多个待测样品,提高了表面检测的效率;再通过控制平行光线通过狭缝,利用平行光线在狭缝中传播遇到缺陷会发生的折射、反射、衍射等情况,采集到不同的光学图像,根据不同的光学图像可以分析出待测样品的表面缺陷的类型、位置、大小等信息,提高了表面检测的准确度和效率。It can be seen that, in the embodiment of the present application, the surface detection device first clamps at least two samples to be tested, and any two adjacent samples in the at least two samples to be tested form a straight line through the predetermined direction. Slit; secondly, incident parallel light rays along the preset direction to the slit; again collecting an optical image of the light rays emitted from the slit; finally determining the surface defect of the sample to be tested according to the optical image. It can be seen that the surface inspection device can control and clamp at least two samples to be tested, so that a slit is formed between adjacent samples to be tested, which ensures that multiple samples to be tested can be detected at the same time and improves the efficiency of surface detection; Light passes through the slit, and uses parallel light to travel in the slit. Refraction, reflection, diffraction, etc., which will occur when encountering defects, are collected. Different optical images are collected. According to different optical images, the types of surface defects of the sample to be tested can be analyzed. , Location, size and other information, improve the accuracy and efficiency of surface detection.
在一个可能的示例中,所述表面检测装置包括激光发射模组,所述激光发 射模组包括激光发射器、扩束器、准直器,所述激光发射器的发射方向垂直所述扩束器和所述准直器的镜面;在所述沿所述预设方向向所述狭缝入射平行光线方面,所述处理单元701具体用于:调整所述激光发射模组的发射方向为所述预设方向;控制激光发射器发出激光束,所述激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线。In a possible example, the surface detection device includes a laser emitting module, the laser emitting module includes a laser emitter, a beam expander, and a collimator, and the emitting direction of the laser emitter is perpendicular to the beam expanding And the mirror surface of the collimator; in the aspect of incident parallel light into the slit along the preset direction, the processing unit 701 is specifically configured to: adjust the emission direction of the laser emission module to be The preset direction; the laser transmitter is controlled to emit a laser beam, and the laser beam forms a parallel light incident to the slit after passing through the beam expander and the collimator.
在一个可能的示例中,所述表面检测装置包括夹持机构,在所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝方面,所述处理单元701具体用于:当所述至少两个待测样品为曲面待测样品时;控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品的第一待测样品的第二表面与所述至少两个待测样品的第二待测样品的的第一表面相邻形成狭缝;所述狭缝在预设方向上直线贯通。In a possible example, the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested. , The processing unit 701 is specifically configured to: when the at least two samples to be tested are curved samples to be tested; control the clamping mechanism to clamp the at least two samples to be tested, the at least two samples to be tested The second surface of the first sample to be tested of the sample and the first surface of the second sample to be tested of the at least two samples to be tested are adjacent to form a slit; the slit runs straight through in a preset direction.
在一个可能的示例中,所述表面检测装置包括夹持机构,在所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝方面,所述处理单元701具体用于:当所述至少两个待测样品为平面待测样品时;控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品的第三待测样品的第三表面或第四表面与所述至少两个待测样品的第三表面或第四表面相邻形成狭缝;所述狭缝在预设方向上直线贯通。In a possible example, the surface detection device includes a clamping mechanism, and a slit linearly penetrating in a preset direction is formed between any two adjacent samples in the at least two samples to be tested. The processing unit 701 is specifically configured to: when the at least two samples to be tested are flat samples to be tested; control the clamping mechanism to clamp the at least two samples to be tested, and the at least two samples to be tested The third surface or the fourth surface of the third sample to be tested and the third surface or the fourth surface of the at least two samples to be tested are adjacent to form a slit; the slit runs straight through in a preset direction.
在一个可能的示例中,所述处理单元701具体用于:根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波。In a possible example, the processing unit 701 is specifically configured to adjust the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy.
在一个可能的示例中,在所述根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波方面,所述处理单元701具体用于:根据所述至少两个待测样品的种类,调节所述狭缝间距或所述激光束的光波波长;根据所述至少两个待测样品的缺陷大小,调节所述狭缝间距或所述激光束的光波波长;根据所述至少两个待测样品的检测质量要求,调节所述狭缝间距或所述激光束的光波波长。In a possible example, in terms of adjusting the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy, the processing unit 701 is specifically configured to: according to the at least For the types of two samples to be tested, adjust the gap between the slits or the wavelength of the laser beam; adjust the gap between the slits or the wavelength of the laser beam according to the defect size of the at least two samples to be tested ; According to the inspection quality requirements of the at least two samples to be tested, adjust the slit spacing or the wavelength of the laser beam.
在一个可能的示例中,所述处理单元701具体用于:根据所述光学图像,通过预训练的缺陷检测模型分析待测样品的表面缺陷的类型和位置。In a possible example, the processing unit 701 is specifically configured to analyze the type and location of the surface defect of the sample to be tested through a pre-trained defect detection model according to the optical image.
在一个可能的示例中,所述表面检测装置包括空间滤波器,所述处理单元701在所述采集从所述狭缝出射的光线的光学图像之后,还用于确定所述至少 两个待测样品的第一缺陷的性质,所述第一缺陷为特定的待检测表面缺陷;根据所述性质控制滤波器对电信号进行滤波,得到所述第一缺陷的信息,所述电信号是指从所述狭缝出射的光线在图像传感器上产生的电信号。In a possible example, the surface detection device includes a spatial filter, and the processing unit 701 is further configured to determine the at least two to-be-tested optical images after collecting the optical image of the light emitted from the slit The property of the first defect of the sample, the first defect is a specific surface defect to be detected; the electrical signal is filtered by the filter according to the property control to obtain the information of the first defect, and the electrical signal refers to The light emitted from the slit generates an electrical signal on the image sensor.
在一个可能的示例中,所述表面检测装置包括计算机所述处理单元701在,所述采集从所述狭缝出射的光线的光学图像之后,还用于通过所述计算机对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。In a possible example, the surface detection device includes a computer. The processing unit 701 is further configured to perform processing on the optical image by the computer after the optical image of the light emitted from the slit is collected. The transformation between the time domain and the frequency domain analyzes the spectral information of the optical image.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment , The aforementioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. The above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above examples are only used to help understand the methods and core ideas of the application; A person of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation of the present application.

Claims (10)

  1. 一种表面缺陷光学检测方法,其特征在于,应用于表面检测装置,所述检测方法包括:An optical detection method for surface defects, characterized in that it is applied to a surface detection device, and the detection method includes:
    夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;Clamping at least two samples to be tested, and any two adjacent samples to be tested among the at least two samples to be tested form a slit straight through in a preset direction;
    沿所述预设方向向所述狭缝入射平行光线;Incident parallel light rays to the slit along the preset direction;
    采集从所述狭缝出射的光线的光学图像;Collecting an optical image of the light emitted from the slit;
    根据所述光学图像确定所述待测样品的表面缺陷。The surface defect of the sample to be tested is determined according to the optical image.
  2. 根据权利要求1所述的方法,其特征在于,应用于表面检测装置,所述表面检测装置包括激光发射模组,所述激光发射模组包括依次设置的激光发射器、扩束器以及准直器;所述沿所述预设方向向所述狭缝入射平行光线,包括:The method according to claim 1, wherein it is applied to a surface detection device, the surface detection device includes a laser emitting module, and the laser emitting module includes a laser emitter, a beam expander, and a collimator arranged in sequence. The device; said incident parallel light rays to the slit along the predetermined direction, including:
    将所述激光发射模组的发射方向调整为所述预设方向;Adjusting the emission direction of the laser emission module to the preset direction;
    控制激光发射器发出激光束,所述激光束经过所述扩束器和所述准直器后形成向所述狭缝入射的平行光线。The laser transmitter is controlled to emit a laser beam, and the laser beam forms a parallel light incident to the slit after passing through the beam expander and the collimator.
  3. 根据权利要求1所述的方法,其特征在于,所述表面检测装置包括夹持机构,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝,包括:The method according to claim 1, wherein the surface detection device comprises a clamping mechanism, and any two adjacent samples in the at least two samples to be tested form a straight line in a preset direction. The through slits include:
    当所述至少两个待测样品为曲面待测样品时,控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品的第一待测样品的第二表面与所述至少两个待测样品的第二待测样品的第一表面相邻形成狭缝;所述狭缝在预设方向上直线贯通。When the at least two samples to be tested are curved samples to be tested, the clamping mechanism is controlled to clamp the at least two samples to be tested, the second of the first sample to be tested of the at least two samples to be tested The surface is adjacent to the first surface of the second sample of the at least two samples to be tested to form a slit; the slit runs straight through in a preset direction.
  4. 根据权利要求1所述的方法,其特征在于,所述表面检测装置包括夹持机构,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝,包括:The method according to claim 1, wherein the surface detection device comprises a clamping mechanism, and any two adjacent samples in the at least two samples to be tested form a straight line in a preset direction. The through slits include:
    当所述至少两个待测样品为平面待测样品时,控制所述夹持机构夹持所述至少两个待测样品,所述至少两个待测样品包括第三待测样品和第四待测样品,所述第三待测样品的第一表面或第二表面与所述第四待测样品的第一表面或第二表面相邻形成狭缝,所述狭缝在预设方向上形成直线贯通。When the at least two samples to be tested are flat samples to be tested, the clamping mechanism is controlled to clamp the at least two samples to be tested, and the at least two samples to be tested include a third sample to be tested and a fourth sample to be tested. For the sample to be tested, the first surface or the second surface of the third sample to be tested is adjacent to the first surface or the second surface of the fourth sample to be tested to form a slit, and the slit is in a preset direction Form a straight line through.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波。Adjust the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy.
  6. 根据权利要求5所述的方法,其特征在于,所述根据预设策略调节所述至少两个待测样品之间的狭缝或发射的激光束的光波,包括:The method according to claim 5, wherein the adjusting the slit between the at least two samples to be tested or the light wave of the emitted laser beam according to a preset strategy comprises:
    根据所述至少两个待测样品的种类,调节所述狭缝间距或所述激光束的光波波长;Adjusting the gap between the slits or the wavelength of the laser beam according to the types of the at least two samples to be tested;
    根据所述至少两个待测样品的缺陷大小,调节所述狭缝间距或所述激光束的光波波长;Adjusting the gap between the slits or the wavelength of the laser beam according to the size of the defects of the at least two samples to be tested;
    根据所述至少两个待测样品的检测质量要求,调节所述狭缝间距或所述激光束的光波波长。According to the inspection quality requirements of the at least two samples to be tested, the gap between the slits or the wavelength of the laser beam is adjusted.
  7. 根据权利要求1所述的方法,其特征在于,所述表面检测装置还包括计算机,所述根据所述光学图像确定所述待测样品的表面缺陷,包括:The method according to claim 1, wherein the surface detection device further comprises a computer, and the determining the surface defect of the sample to be tested according to the optical image comprises:
    根据所述光学图像,通过预训练的缺陷检测模型分析待测样品的表面缺陷的类型和位置。According to the optical image, the type and location of the surface defect of the sample to be tested are analyzed through a pre-trained defect detection model.
  8. 根据权利要求1所述的方法,其特征在于,所述表面检测装置包括空间滤波器,所述采集从所述狭缝出射的光线的光学图像之后,还包括:The method according to claim 1, wherein the surface detection device comprises a spatial filter, and after collecting an optical image of the light emitted from the slit, the method further comprises:
    确定所述至少两个待测样品的第一缺陷的性质,所述第一缺陷为特定的待检测表面缺陷;Determining the nature of the first defect of the at least two samples to be tested, where the first defect is a specific surface defect to be tested;
    根据所述性质控制滤波器对电信号进行滤波,得到所述第一缺陷的信息,所述电信号是指从所述狭缝出射的光线在图像传感器上产生的电信号。The filter is controlled according to the property to filter the electrical signal to obtain the information of the first defect, and the electrical signal refers to the electrical signal generated on the image sensor by the light emitted from the slit.
  9. 根据权利要求1所述的方法,其特征在于,所述表面检测装置包括计算机,所述采集从所述狭缝出射的光线的光学图像之后,还包括:The method according to claim 1, wherein the surface detection device comprises a computer, and after collecting an optical image of the light emitted from the slit, the method further comprises:
    通过所述计算机对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。The computer transforms the optical image between the time domain and the frequency domain, and analyzes the spectral information of the optical image.
  10. 一种表面检测装置,其特征在于,所述检测装置包括:激光发射模组,夹持机构,图像传感器,空间滤波器和计算机;所述激光发射模组包括依次设置的激光发射器、扩束器以及准直器;A surface detection device, characterized in that the detection device comprises: a laser emission module, a clamping mechanism, an image sensor, a spatial filter, and a computer; the laser emission module includes a laser transmitter and a beam expander arranged in sequence And collimator;
    所述夹持机构用于夹持至少两个待测样品,所述至少两个待测样品中任意两个相邻的待测样品之间形成在预设方向上直线贯通的狭缝;The clamping mechanism is used to clamp at least two samples to be tested, and any two adjacent samples to be tested among the at least two samples to be tested form a slit straight through in a preset direction;
    所述准直器用于沿所述预设方向向所述狭缝入射平行光线;The collimator is used for incident parallel light rays to the slit along the preset direction;
    所述图像传感器用于采集从所述狭缝出射的光线的光学图像;The image sensor is used to collect an optical image of the light emitted from the slit;
    所述计算机用于根据所述光学图像确定所述待测样品的表面缺陷;The computer is used to determine the surface defect of the sample to be tested according to the optical image;
    所述激光器用于发射激光束;所述扩束器用于发散所述激光束;The laser is used to emit a laser beam; the beam expander is used to diverge the laser beam;
    所述准直器还用于将发散的激光束转换为平行光线;The collimator is also used to convert the divergent laser beam into parallel rays;
    所述空间滤波器连接所述图像传感器,用于对从所述狭缝出射的光线进行滤波;The spatial filter is connected to the image sensor, and is used for filtering the light emitted from the slit;
    所述计算机还用于对所述光学图像进行时域和频域之间的变换,分析所述光学图像的频谱信息。The computer is also used to transform the optical image between the time domain and the frequency domain, and analyze the spectrum information of the optical image.
PCT/CN2019/081553 2019-04-04 2019-04-04 Surface defect optical inspection method and related device WO2020199207A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/081553 WO2020199207A1 (en) 2019-04-04 2019-04-04 Surface defect optical inspection method and related device
CN201980005439.4A CN111316086B (en) 2019-04-04 2019-04-04 Optical detection method for surface defects and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/081553 WO2020199207A1 (en) 2019-04-04 2019-04-04 Surface defect optical inspection method and related device

Publications (1)

Publication Number Publication Date
WO2020199207A1 true WO2020199207A1 (en) 2020-10-08

Family

ID=71162805

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081553 WO2020199207A1 (en) 2019-04-04 2019-04-04 Surface defect optical inspection method and related device

Country Status (2)

Country Link
CN (1) CN111316086B (en)
WO (1) WO2020199207A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113720687A (en) * 2021-09-18 2021-11-30 郑州市建设工程质量检测有限公司 Concrete compressive strength detection device and detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112985269B (en) * 2021-02-20 2022-09-13 河北先河环保科技股份有限公司 Slit width uniformity measuring system, slit width uniformity measuring method and image processing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123492A (en) * 1990-09-14 1992-04-23 Matsushita Electric Ind Co Ltd Method of mounting part onto multiple sheet printing board
CN1142046A (en) * 1994-03-23 1997-02-05 易通公司 Apparatus for checking laminated article
EP1914540A2 (en) * 2006-10-11 2008-04-23 Nitto Denko Corporation Apparatus for testing defects of sheet-shaped product having optical film, apparatus for processing test data thereof,apparatus for cutting the same,and production thereof
CN204241386U (en) * 2014-10-23 2015-04-01 汪锐 A kind of proving installation simultaneously measuring multiple workprint fast and accurately
CN106226324A (en) * 2016-08-30 2016-12-14 中国科学院嘉兴微电子仪器与设备工程中心 A kind of wafer based on FPGA detection signal extracting device and system
CN108088853A (en) * 2016-11-23 2018-05-29 阜宁协鑫光伏科技有限公司 A kind of silicon chip granule dust judges stria prioritization scheme by accident

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2019009B (en) * 1978-03-23 1982-11-17 Futec Inc Method of imaging the surface of a continuous cast hot metal strip for detection of scarfs appearing thereon and apparatus for the same
JPH03128407A (en) * 1989-10-13 1991-05-31 Hitachi Metals Ltd Defect detecting method for solid shape
JPH05164701A (en) * 1991-12-13 1993-06-29 Kobe Steel Ltd Inspecting method of surface
CA2179364C (en) * 1995-06-27 1999-09-28 Klaus W. Berndt Method and apparatus for detecting microorganisms
JP2005337851A (en) * 2004-05-26 2005-12-08 Hitachi High-Technologies Corp Defect inspection method and apparatus
CN100483116C (en) * 2006-01-18 2009-04-29 宝山钢铁股份有限公司 Method for detecting 3D defects on surface of belt material
CN100535647C (en) * 2007-04-11 2009-09-02 华中科技大学 On-line detection device of defects in float glass based on machine vision
JP5352111B2 (en) * 2008-04-16 2013-11-27 株式会社日立ハイテクノロジーズ Defect inspection method and defect inspection apparatus using the same
CN201319035Y (en) * 2008-12-15 2009-09-30 福耀集团(上海)汽车玻璃有限公司 Novel sample wafer detector
CN101699272A (en) * 2009-11-19 2010-04-28 西北工业大学 Method of nondestructive testing with digital shearing speckle interferometry and device thereof
US9207122B2 (en) * 2012-02-03 2015-12-08 Wayne State University Fourier-transform interferometer with staircase reflective element
CN103367188B (en) * 2012-03-28 2016-08-03 无锡华润上华科技有限公司 Analytical method of wafer yield and system
US8643833B1 (en) * 2012-08-31 2014-02-04 National Applied Research Laboratories System for inspecting surface defects of a specimen and a method thereof
US10186026B2 (en) * 2015-11-17 2019-01-22 Kla-Tencor Corp. Single image detection
CN107748171B (en) * 2017-10-25 2020-04-24 哈尔滨工业大学 Method for eliminating mounting error of optical crystal ultra-precision machining sub-surface damage detection sample
CN109459438B (en) * 2018-11-27 2023-06-20 中国工程物理研究院激光聚变研究中心 Defect detection equipment and method
CN109544552A (en) * 2018-12-06 2019-03-29 合刃科技(深圳)有限公司 A kind of grating lossless detection method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123492A (en) * 1990-09-14 1992-04-23 Matsushita Electric Ind Co Ltd Method of mounting part onto multiple sheet printing board
CN1142046A (en) * 1994-03-23 1997-02-05 易通公司 Apparatus for checking laminated article
EP1914540A2 (en) * 2006-10-11 2008-04-23 Nitto Denko Corporation Apparatus for testing defects of sheet-shaped product having optical film, apparatus for processing test data thereof,apparatus for cutting the same,and production thereof
CN204241386U (en) * 2014-10-23 2015-04-01 汪锐 A kind of proving installation simultaneously measuring multiple workprint fast and accurately
CN106226324A (en) * 2016-08-30 2016-12-14 中国科学院嘉兴微电子仪器与设备工程中心 A kind of wafer based on FPGA detection signal extracting device and system
CN108088853A (en) * 2016-11-23 2018-05-29 阜宁协鑫光伏科技有限公司 A kind of silicon chip granule dust judges stria prioritization scheme by accident

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113720687A (en) * 2021-09-18 2021-11-30 郑州市建设工程质量检测有限公司 Concrete compressive strength detection device and detection method
CN113720687B (en) * 2021-09-18 2023-11-14 郑州市建设工程质量检测有限公司 Concrete compressive strength detection device and detection method

Also Published As

Publication number Publication date
CN111316086A (en) 2020-06-19
CN111316086B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN109001207B (en) A detection method and detection system for surface and internal defects of transparent materials
CN105300326B (en) Painted surface flatness quantitative detecting method and device
CN107505121B (en) The angle measuring device and method of electro-optic crystal light pass surface normal and the optical axis of crystal
CN101349540B (en) Image adjustment method and image capture device
JP4799268B2 (en) Unevenness inspection apparatus and unevenness inspection method
CN107561007B (en) Thin film measuring device and method
CN109900663B (en) Laser light source speckle measurement method, speckle suppression device and parameter optimization method thereof
WO2020199207A1 (en) Surface defect optical inspection method and related device
CN113970539B (en) Raman spectrum method for rapidly detecting substances in packaging container
CN108747029A (en) A kind of teaching type laser engraving cutter and control method, application
JPH0776752B2 (en) Method for determining the optical properties of translucent plates
CN115950890B (en) Spectral domain optical coherence tomography detection method and system for industrial detection
CN107990850A (en) A kind of surface roughness on-line measurement system and method based on laser scattering method
CN102252828A (en) Method for monitoring real-time change of reflectivity of high-reflection optical element under laser irradiation
WO2020029237A1 (en) Detection method and system
CN1313805C (en) Intense laser pulse light intensity distribution test system
CN206638403U (en) Test pattern and light box for inspecting lens
CN108918529A (en) A kind of the surface scratch imaging detection device and method of transparent medium
CN110618138B (en) A method for detecting defects in a display screen using the principle of equal thickness interference
JP2003042722A (en) Film thickness measurement method
JP6039119B1 (en) Defect inspection equipment
JP2011196766A (en) Method for measuring shape of measured object having light transmittance
WO2017036065A1 (en) Detection device of display panel assembly and detection method of display panel assembly
CN211651520U (en) Glass clearance air bed thickness measurement system
CN110836852B (en) Industrial OCT detection device and method

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: 19922278

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19922278

Country of ref document: EP

Kind code of ref document: A1