A double-layer composite quartz crucible surface defect detection device and method

By designing inspection devices and models for double-layer composite quartz crucibles, and using industrial cameras and laser measuring instruments for all-round inspection, the problems of low efficiency and poor accuracy of traditional manual inspection are solved, and fast and accurate defect detection and data are achieved. retention, improving detection efficiency.

CN117664983BActive Publication Date: 2024-10-22XIAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311631831.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-01
Publication Date
2024-10-22
Estimated Expiration
2043-12-01

AI Technical Summary

Technical Problem

The traditional manual inspection method for surface defects on the inner wall of double-layer composite quartz crucible cannot meet the needs of large-scale and efficient production, and has the problems of high labor intensity, low efficiency and poor accuracy.

Method used

A double-layer composite quartz crucible surface defect detection device including a load-bearing bottom plate, frame structure, sliding table and testing equipment was designed. Industrial cameras and laser measuring instruments were used for all-round detection, combined with image enhancement and feature pyramid processing, and Kmeans clustering was used. Class algorithm and detection model of full-dimensional dynamic convolution ODConv+ECA attention mechanism.

Benefits of technology

It achieves fast and accurate surface defect detection of double-layer composite quartz crucibles, reduces detection costs, improves detection efficiency, and can retain data on the number of each defect to facilitate traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117664983B_ABST
    Figure CN117664983B_ABST
Patent Text Reader

Abstract

The present invention discloses a double-layer composite quartz crucible surface defect detection device and method, the device includes a load-bearing bottom plate, a frame structure and a slide, a turntable for driving the double-layer composite quartz crucible to rotate is arranged in the load-bearing bottom plate, a surface light source is arranged in the idle interval of the frame structure, and the detection equipment includes an industrial camera and a laser measuring instrument; the method includes the following steps: 1. constructing and training a double-layer composite quartz crucible surface defect detection model; 2. setting an anchor frame; 3. acquiring an actual collected image; 4. outputting a classification prediction result with boundary coordinates and category probability; 5. judging whether there is a target object in the classification prediction result; 6. recording the location information of the target object; 7. acquiring the depth information of the target object. The present invention detects the tongs pot in all directions, provides surface light source assistance, and detects the surface defects of the double-layer composite quartz crucible based on images and ranging, with fast detection speed, high precision and high efficiency, and data on the number of each defect is retained for easy traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of quartz crucible surface defect detection, and in particular relates to a double-layer composite quartz crucible surface defect detection device and method. Background Art

[0002] Double-layer composite quartz crucibles must be used to pull single crystal silicon. As a consumable vessel, double-layer composite quartz crucibles have very strict requirements on their appearance. Their size, appearance and other parameters must be strictly inspected before leaving the factory, otherwise the quality of single crystal silicon production will be seriously affected.

[0003] As the demand for single crystal silicon in the semiconductor industry increases day by day, the demand for double-layer composite quartz crucibles has also increased significantly. During the production process, the inner wall of the double-layer composite quartz crucible will produce defects such as black spots, white spots, and attachments due to the influence of the purity of the raw materials, which affects the quality of the double-layer composite quartz crucible. Therefore, measuring and statistically analyzing the distribution of surface defects on the inner wall of the double-layer composite quartz crucible is of great significance for the quality evaluation of single crystal silicon and the quality evaluation of the double-layer composite quartz crucible. The traditional method of manually inspecting the surface defects of the inner wall of the double-layer composite quartz crucible can no longer meet the needs of large-scale and efficient production. Manual inspection is labor-intensive and inefficient. The inspection results are easily affected by subjective factors such as the technical level, experience, and fatigue of the inspectors. It lacks accuracy and standardization and cannot guarantee normal product quality. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a double-layer composite quartz crucible surface defect detection device in view of the deficiencies in the above-mentioned prior art.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a double-layer composite quartz crucible surface defect detection device, characterized in that: it includes a load-bearing bottom plate for holding the double-layer composite quartz crucible, a frame structure installed on the load-bearing bottom plate and located outside the double-layer composite quartz crucible, and a slide installed on the upper part of the frame structure and used to drive the detection equipment to move, a turntable for driving the double-layer composite quartz crucible to rotate is arranged in the load-bearing bottom plate, a surface light source is arranged in the idle interval of the frame structure, and the detection equipment includes an industrial camera and a laser measuring instrument.

[0006] The above-mentioned double-layer composite quartz crucible surface defect detection device is characterized in that: the frame structure includes a plurality of device pillars, and a surface light source is arranged between two adjacent device pillars along the circumferential direction.

[0007] The above-mentioned double-layer composite quartz crucible surface defect detection device is characterized in that: a crucible clamp for supporting the double-layer composite quartz crucible is arranged on the turntable.

[0008] The above-mentioned double-layer composite quartz crucible surface defect detection device is characterized in that: the slide table includes two first slide rail bases arranged in parallel, the first slide rail base is provided with a first slide rail and a first servo motor for driving a first slider installed on the first slide rail to move, a second slide rail base is installed between the two first sliders, the second slide rail base is provided with a second slide rail and a second servo motor for driving a second slider installed on the second slide rail to move, an electric telescopic rod is installed at the bottom of the second slider, and a pan-tilt for driving the detection device to change the angle is installed at the telescopic end of the electric telescopic rod;

[0009] The two first slide rail bases are both installed on the top of the frame structure.

[0010] The above-mentioned double-layer composite quartz crucible surface defect detection device is characterized in that: a turntable motor is installed on the turntable, the signal output end of the industrial camera and the signal output end of the laser measuring instrument are both connected to the signal input end of the industrial computer, and the signal input end of the first servo motor, the signal input end of the second servo motor, the signal input end of the electric telescopic rod, the signal input end of the pan-tilt head and the signal input end of the turntable motor are all connected to the signal output end of the industrial computer.

[0011] The above-mentioned double-layer composite quartz crucible surface defect detection device is characterized in that: the industrial computer is connected to a memory.

[0012] At the same time, the present invention also discloses a method with simple steps and reasonable design for detecting surface defects of a double-layer composite quartz crucible, characterized in that the method comprises the following steps:

[0013] Step 1: Build and train a double-layer composite quartz crucible surface defect detection model. The process is as follows:

[0014] Step 101: acquiring an inner surface image of a double-layer composite quartz crucible containing multiple defect types, performing image enhancement on the inner surface image of the double-layer composite quartz crucible, constructing an image database, and randomly classifying the image database to obtain an image training data set and an image test data set;

[0015] Step 102, constructing a double-layer composite quartz crucible surface defect detection model, wherein the double-layer composite quartz crucible surface defect detection model includes a Backbone network, a Neck network, and a Head network, wherein the Backbone network includes a CSP structure and an SPPF structure, and is used to extract high-level, middle-level, and low-level features of the image; the Neck network includes a PANet structure, and processes multi-scale features by generating a feature pyramid; the Head network generates a detection result, including the boundary coordinates and category probability of the target;

[0016] Among them, the PANet structure includes full-dimensional dynamic convolution ODConv and ECA attention mechanism;

[0017] Step 103, sequentially retrieve the image-enhanced inner surface images of the double-layer composite quartz crucible from the image training data set and input them into the double-layer composite quartz crucible surface defect detection model, use the binary cross entropy function to calculate the classification loss, and output the classification prediction results with boundary coordinates and category probabilities until the double-layer composite quartz crucible surface defect detection model converges, completing the double-layer composite quartz crucible surface defect detection model training process;

[0018] Step 104: retrieve a sample image from the image test data set, test the double-layer composite quartz crucible surface defect detection model, and obtain a trained and tested double-layer composite quartz crucible surface defect detection model until the test is completed;

[0019] Step 2: Setting an anchor frame for selecting the crucible defect type: using the Kmeans clustering algorithm to generate an anchor frame for selecting the crucible defect type;

[0020] Step 3: using a double-layer composite quartz crucible surface defect detection device to obtain an actual acquisition image of the double-layer composite quartz crucible;

[0021] Step 4: Input the actual collected image in step 3 into the double-layer composite quartz crucible surface defect detection model, and output the classification prediction result with boundary coordinates and category probability;

[0022] The defect types include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains and crystallization points;

[0023] Step 5, judging whether there are attachments, white spots and pits in the classification prediction results; when there are attachments, white spots and pits in the classification prediction results, executing step 6; when there are no attachments, white spots and pits in the classification prediction results, executing steps 3 and 4 until the inner surface of the double-layer composite quartz crucible is detected;

[0024] Step 6. Record the position information of the attachments, white spots or pits: regard the attachments, white spots or pits as the target, record the position state information of the industrial camera in the current double-layer composite quartz crucible surface defect detection device as the initial state, adjust the pan / tilt rotation angle so that the target is located at the center of the industrial camera field of view, record the position information of the industrial camera at this time, restore the industrial camera to the initial state, and then execute step 3;

[0025] Step 7: Obtain depth information of attachments, white spots or pits: After the inner surface of the double-layer composite quartz crucible is inspected, the industrial camera is replaced with a laser measuring instrument, and the depth information of each target object is obtained in turn according to the position information of the attachments, white spots or pits recorded in step 6.

[0026] The above method is characterized in that: the CSP structure includes a first convolution module, a second convolution module, a first C3 template, a third convolution module, a second C3 template, a fourth convolution module, a third C3 template, a fifth convolution module and a fourth C3 template which are connected in sequence, and the fourth C3 template is connected to the SPPF structure;

[0027] The PANet structure includes a sixth convolution module connected to the SPPF structure, the sixth convolution module is upsampled to obtain a first Concat module, the first Concat module is upsampled after passing through the fifth C3 template and the seventh convolution module to obtain a second Concat module, the second Concat module is upsampled after passing through the sixth C3 template and the full-dimensional dynamic convolution ODConv to obtain a third Concat module, the third Concat module is extracted by the seventh C3 template and then introduced into the ECA attention module and the eighth convolution module to obtain a fourth Concat module, the fourth Concat module is sequentially connected to the Head network through the eighth C3 template, the ninth convolution module, the fifth Concat module, the ninth C3 template, the tenth convolution module, the sixth Concat module and the tenth C3 template; wherein, the first Concat module is connected to the third C3 template, the second Concat module is connected to the second C3 template, the third Concat module is connected to the first C3 template, the fourth Concat module is connected to the full-dimensional dynamic convolution ODConv, the fifth Concat module is connected to the seventh convolution module, and the sixth Concat module is connected to the sixth convolution module;

[0028] The head network includes an eleventh convolution module connected to the ECA attention module, a twelfth convolution module connected to the eighth C3 template, a thirteenth convolution module connected to the ninth C3 template, and a fourteenth convolution module connected to the tenth C3 template.

[0029] The above method is characterized in that: the eleventh convolution module outputs a feature map size of 160×160, and its corresponding anchor box sizes include (5, 5), (10, 10) and (21, 21); the twelfth convolution module outputs a feature map size of 80×80, and its corresponding anchor box sizes include (14, 14), (18, 18) and (30, 30); the thirteenth convolution module outputs a feature map size of 40×40, and its corresponding anchor box sizes include (30, 61), (62, 45) and (59, 119); the fourteenth convolution module outputs a feature map size of 20×20, and its corresponding anchor box sizes include (116, 90), (156, 198) and (373, 326).

[0030] The above method is characterized in that: the position information of the industrial camera includes the coordinates of the industrial camera and the lens rotation angle.

[0031] Compared with the prior art, the present invention has the following advantages:

[0032] 1. The device adopted by the present invention can arbitrarily rotate the angle of the double-layer composite quartz crucible by arbitrarily setting a turntable on the load-bearing bottom plate, so that the detection equipment can perform all-round detection of the double-layer composite quartz crucible; by setting a frame structure on the load-bearing bottom plate, the frame structure can provide an installation foundation for the slide table and a mounting bracket for the surface light source, and the surface light source can illuminate the double-layer composite quartz crucible in all directions. The inner layer of the double-layer composite quartz crucible is a transparent structure, and the outer layer is a light-transmitting frosted structure. The surface light source covers the side of the crucible to avoid the bottom of the crucible being illuminated by diffuse reflection from all sides due to internal lighting, which affects the photo results; an industrial camera is used to obtain the surface results of the crucible. The types of surface defects of the crucible include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains, and crystallization points. It is difficult to determine the depth information of pits, attachments, and white spots by the captured image, and then a laser measuring instrument is used for secondary detection to determine the depth information of pits, attachments, and white spots based on the reference distance data.

[0033] 2. The method adopted by the present invention uses the Kmeans clustering algorithm to generate an anchor frame suitable for the crucible defect data set, and then adds a small target detection layer to improve the small target detection effect. The full-dimensional dynamic convolution ODConv and ECA attention mechanism are used to make the network pay more attention to the target to be detected without increasing too much calculation. The C3 module and the ECA attention module are fused. The C3 module is first used for feature extraction, and then the ECA attention module is introduced to enhance the network's attention mechanism.

[0034] 3. The method adopted by the present invention has simple steps. In the process of crucible defect detection, the target defect point often only occupies a very small part of the picture. These small targets often have low resolution and blurred features. The existing model is easy to miss small targets. The small target detection head specially set in the present application can help the model better capture and understand these subtle features, thereby improving the perception of small targets, enhancing the comprehensive performance of the model in complex scenes, and improving the overall target detection accuracy and robustness; by increasing the detection head with a feature map size of 160×160, a larger feature map means that the receptive field of each cell is also relatively large. For small targets, their features are often distributed in different areas of the image, so the feature map with a larger receptive field can capture the information of small targets more comprehensively; the ECA attention mechanism can effectively enhance the image feature representation, especially for small targets, and can improve the network's perception of subtle features, thereby better detecting small targets; in addition, the ECA attention mechanism helps to capture spatial context information and improve the richness of features, thereby improving the detection accuracy of small targets in complex backgrounds; the attention mechanism can help the model better understand the correlation between different channels, and help improve the ability to extract and distinguish small target features.

[0035] In summary, the present invention is novel and reasonable in design. A turntable is used to rotate the double-layer composite quartz crucible to ensure all-round detection of the crucible, a surface light source is provided to assist, and a slide table is used to carry the detection equipment. Surface defects of the double-layer composite quartz crucible are detected based on images and ranging. The detection speed is fast and the detection accuracy is high. Data on the number of each defect is retained for easy traceability, which greatly reduces the detection cost, improves the detection efficiency, and is easy to promote and use.

[0036] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a schematic diagram of the structure of the detection device of the present invention.

[0038] Figure 2 It is a circuit principle block diagram of the present invention.

[0039] Figure 3 The figure is a flowchart of the method of the present invention.

[0040] Description of reference numerals:

[0041] 1—Load-bearing bottom plate; 2—Turntable; 3—Crucible fixture;

[0042] 4—double-layer composite quartz crucible; 5—device support; 6—surface light source;

[0043] 7—first slide rail base; 8—first slide rail; 9—first slide block;

[0044] 10—first servo motor; 11—second slide rail base; 12—second slide rail;

[0045] 13—second slider; 14—second servo motor; 15—electric telescopic rod;

[0046] 16—Pan-tilt head; 17—Industrial camera; 18—Laser measuring instrument;

[0047] 19—Industrial computer; 20—Memory; 21—Turntable motor. DETAILED DESCRIPTION

[0048] like Figure 1 to Figure 2 As shown, a double-layer composite quartz crucible surface defect detection device described in the present invention includes a load-bearing base plate 1 for holding a double-layer composite quartz crucible 4, a frame structure installed on the load-bearing base plate 1 and located outside the double-layer composite quartz crucible 4, and a slide installed on the upper part of the frame structure and used to drive the detection equipment to move, a turntable 2 for driving the double-layer composite quartz crucible 4 to rotate is arranged in the load-bearing base plate 1, a surface light source 6 is arranged in the idle interval of the frame structure, and the detection equipment includes an industrial camera 17 and a laser measuring instrument 18.

[0049] It should be noted that by arranging a turntable on the load-bearing bottom plate, the angle of the double-layer composite quartz crucible can be rotated arbitrarily, which is convenient for the detection equipment to perform all-round detection of the double-layer composite quartz crucible; by arranging a frame structure on the load-bearing bottom plate, the frame structure can provide an installation foundation for the slide table and provide an installation bracket for the surface light source. The surface light source can illuminate the double-layer composite quartz crucible in all directions. The inner layer of the double-layer composite quartz crucible is a transparent structure, and the outer layer is a light-transmitting frosted structure. The surface light source covers the side of the crucible to avoid the bottom of the crucible being illuminated by diffuse reflection from all sides due to internal lighting, which affects the shooting results. ; Use industrial cameras to obtain crucible surface results. Crucible surface defect types include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains, and crystallization points. It is difficult to determine the depth information of pits, attachments, and white spots from the captured images. A laser measuring instrument is then used for secondary detection to determine the depth information of pits, attachments, and white spots based on reference distance data; Detection of surface defects of double-layer composite quartz crucibles is performed based on images and ranging. The detection speed is fast and the detection accuracy is high. The data on the number of each defect is retained for easy traceability, which greatly reduces the detection cost and improves the detection efficiency.

[0050] In this embodiment, the frame structure includes a plurality of device pillars 5 , and a surface light source 6 is disposed between two adjacent device pillars 5 along the circumferential direction.

[0051] In this embodiment, a crucible fixture 3 for supporting a double-layer composite quartz crucible 4 is disposed on the turntable 2 .

[0052] In this embodiment, the slide table includes two first slide rail bases 7 arranged in parallel, a first slide rail 8 and a first servo motor 10 for driving a first slider 9 installed on the first slide rail 8 to move are arranged on the first slide rail base 7, a second slide rail base 11 is installed between the two first sliders 9, a second slide rail 12 and a second servo motor 14 for driving a second slider 13 installed on the second slide rail 12 to move are arranged on the second slide rail base 11, an electric telescopic rod 15 is installed at the bottom of the second slider 13, and a pan / tilt 16 for driving the detection device to change the angle is installed at the telescopic end of the electric telescopic rod 15;

[0053] The two first slide rail bases 7 are both installed on the top of the frame structure.

[0054] In this embodiment, a turntable motor 21 is installed on the turntable 2, the signal output end of the industrial camera 17 and the signal output end of the laser measuring instrument 18 are both connected to the signal input end of the industrial computer 19, and the signal input end of the first servo motor 10, the signal input end of the second servo motor 14, the signal input end of the electric telescopic rod 15, the signal input end of the pan-tilt head 16 and the signal input end of the turntable motor 21 are all connected to the signal output end of the industrial computer 19.

[0055] In this embodiment, the industrial computer 19 is connected to a memory 20 .

[0056] When the device is used, the double-layer composite quartz crucible 4 is placed on the crucible fixture 3 on the turntable 2, all the surface light sources 6 are turned on, the industrial camera 17 is installed on the pan-tilt head 16, and the slide is used to realize the arbitrary movement of the industrial camera 17 in the three directions of length, width and height. The pan-tilt head is used to realize the 360° rotation of the industrial camera 17. The cooperation between the slide and the pan-tilt head 16 facilitates the industrial camera 17 to perform all-round image detection of the double-layer composite quartz crucible. After the industrial camera 17 completes the detection, when pits, attachments and white spot defects are encountered to determine the depth information, the industrial camera 17 is removed and replaced with a laser measuring instrument 18, and then the laser measuring instrument is used for secondary detection to determine the depth information of the pits, attachments and white spot defects based on the reference distance data, and the use effect is good.

[0057] In this embodiment, the parameters of the industrial camera 17 are: 500w pixels, chip size 2 / 3', frame rate 40fps; the lens parameters of the industrial camera 17 are: minimum object distance 0.1m, focal length 25mm.

[0058] like Figure 3 A method for detecting surface defects of a double-layer composite quartz crucible is shown, comprising the following steps:

[0059] Step 1: Build and train a double-layer composite quartz crucible surface defect detection model. The process is as follows:

[0060] Step 101: acquiring an inner surface image of a double-layer composite quartz crucible containing multiple defect types, performing image enhancement on the inner surface image of the double-layer composite quartz crucible, constructing an image database, and randomly classifying the image database to obtain an image training data set and an image test data set;

[0061] Step 102, constructing a double-layer composite quartz crucible surface defect detection model, wherein the double-layer composite quartz crucible surface defect detection model includes a Backbone network, a Neck network, and a Head network, wherein the Backbone network includes a CSP structure and an SPPF structure, and is used to extract high-level, middle-level, and low-level features of the image; the Neck network includes a PANet structure, and processes multi-scale features by generating a feature pyramid; the Head network generates a detection result, including the boundary coordinates and category probability of the target;

[0062] Among them, the PANet structure includes full-dimensional dynamic convolution ODConv and ECA attention mechanism;

[0063] Step 103, sequentially retrieve the image-enhanced inner surface images of the double-layer composite quartz crucible from the image training data set and input them into the double-layer composite quartz crucible surface defect detection model, use the binary cross entropy function to calculate the classification loss, and output the classification prediction results with boundary coordinates and category probabilities until the double-layer composite quartz crucible surface defect detection model converges, completing the double-layer composite quartz crucible surface defect detection model training process;

[0064] Step 104: retrieve a sample image from the image test data set, test the double-layer composite quartz crucible surface defect detection model, and obtain a trained and tested double-layer composite quartz crucible surface defect detection model until the test is completed;

[0065] Step 2: Setting an anchor frame for selecting the crucible defect type: using the Kmeans clustering algorithm to generate an anchor frame for selecting the crucible defect type;

[0066] Step 3: using a double-layer composite quartz crucible surface defect detection device to obtain an actual acquisition image of the double-layer composite quartz crucible 4;

[0067] Step 4: Input the actual collected image in step 3 into the double-layer composite quartz crucible surface defect detection model, and output the classification prediction result with boundary coordinates and category probability;

[0068] The defect types include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains and crystallization points;

[0069] Step 5: determine whether there are attachments, white spots and pits in the classification prediction results; when there are attachments, white spots and pits in the classification prediction results, execute step 6; when there are no attachments, white spots and pits in the classification prediction results, execute steps 3 and 4 until the inner surface of the double-layer composite quartz crucible 4 is detected;

[0070] Step 6, record the position information of the attachment, white spot or pit: regard the attachment, white spot or pit as the target object, record the position state information of the industrial camera 17 in the current double-layer composite quartz crucible surface defect detection device as the initial state, adjust the rotation angle of the pan / tilt 16 so that the target object is located at the center of the field of view of the industrial camera 17, record the position information of the industrial camera 17 at this time, restore the industrial camera 17 to the initial state, and then execute step 3;

[0071] Step 7, obtaining depth information of attachments, white spots or pits: After the inner surface of the double-layer composite quartz crucible 4 is inspected, the industrial camera 17 is replaced with a laser measuring instrument 18, and the depth information of each target object is obtained in turn according to the position information of the attachments, white spots or pits recorded in step 6.

[0072] In this embodiment, the CSP structure includes a first convolution module, a second convolution module, a first C3 template, a third convolution module, a second C3 template, a fourth convolution module, a third C3 template, a fifth convolution module and a fourth C3 template connected in sequence, and the fourth C3 template is connected to the SPPF structure;

[0073] The PANet structure includes a sixth convolution module connected to the SPPF structure, the sixth convolution module is upsampled to obtain a first Concat module, the first Concat module is upsampled after passing through the fifth C3 template and the seventh convolution module to obtain a second Concat module, the second Concat module is upsampled after passing through the sixth C3 template and the full-dimensional dynamic convolution ODConv to obtain a third Concat module, the third Concat module is extracted by the seventh C3 template and then introduced into the ECA attention module and the eighth convolution module to obtain a fourth Concat module, the fourth Concat module is sequentially connected to the Head network through the eighth C3 template, the ninth convolution module, the fifth Concat module, the ninth C3 template, the tenth convolution module, the sixth Concat module and the tenth C3 template; wherein, the first Concat module is connected to the third C3 template, the second Concat module is connected to the second C3 template, the third Concat module is connected to the first C3 template, the fourth Concat module is connected to the full-dimensional dynamic convolution ODConv, the fifth Concat module is connected to the seventh convolution module, and the sixth Concat module is connected to the sixth convolution module;

[0074] The head network includes an eleventh convolution module connected to the ECA attention module, a twelfth convolution module connected to the eighth C3 template, a thirteenth convolution module connected to the ninth C3 template, and a fourteenth convolution module connected to the tenth C3 template.

[0075] It should be noted that the acquired image is enhanced and then size-limited. The input image size is 640×640, and the number of channels is 3; the feature image size after the first convolution module is 320×320, and the number of channels is 64; the feature image size after the second convolution module is 160×160, and the number of channels is 128; the feature image size after the first C3 template is 160×160, and the number of channels is 128; the feature image size after the third convolution module is 80×80, the number of channels is 256; after the second C3 template, the feature image size is 80×80, the number of channels is 512; after the fourth convolution module, the feature image size is 40×40, the number of channels is 512; after the third C3 template, the feature image size is 40×40, the number of channels is 1024; after the fifth convolution module, the feature image size is 20×20, the number of channels is 1024; after the fourth C3 template, the feature image size is 20×20, the number of channels is 1024;

[0076] After the SPPF structure and the sixth convolution module, the feature image size is 20×20, and the number of channels is 512; after upsampling and the first Concat module, the feature image size is 40×40, and the number of channels is 1024; after the fifth C3 template, the feature image size is 40×40, and the number of channels is 512; after the seventh convolution module, the feature image size is 40×40, and the number of channels is 512; after upsampling and the second Concat module, the feature image size is 80×80, and the number of channels is 512; after the sixth C3 template, the feature image size is 80×80, and the number of channels is 256; after the full-dimensional dynamic convolution ODConv, the feature image size is 80×80, and the number of channels is 128; after upsampling and the third Concat module, the feature image size is 160×160, and the number of channels is 256; after the seventh C3 template feature extraction and the introduction of the ECA attention module, the feature The image size is 160×160, and the number of channels is 128; after the eighth convolution module, the feature image size is 160×160, and the number of channels is 128; after the fourth Concat module, the feature image size is 80×80, and the number of channels is 256; after the eighth C3 template, the feature image size is 80×80, and the number of channels is 256; after the ninth convolution module, the feature image size is 40×40, and the number of channels is 256; after the fifth Concat module, the feature image size is 40×40, and the number of channels is 512; after the ninth C3 template, the feature image size is 40×40, and the number of channels is 512; after the tenth convolution module, the feature image size is 20×20, and the number of channels is 512; after the sixth Concat module, the feature image size is 20×20, and the number of channels is 1024; after the tenth C3 template, the feature image size is 20×20, and the number of channels is 1024.

[0077] In this embodiment, the output feature map size of the eleventh convolution module is 160×160, and its corresponding anchor box sizes include (5, 5), (10, 10) and (21, 21); the output feature map size of the twelfth convolution module is 80×80, and its corresponding anchor box sizes include (14, 14), (18, 18) and (30, 30); the output feature map size of the thirteenth convolution module is 40×40, and its corresponding anchor box sizes include (30, 61), (62, 45) and (59, 119); the output feature map size of the fourteenth convolution module is 20×20, and its corresponding anchor box sizes include (116, 90), (156, 198) and (373, 326).

[0078] In this embodiment, the position information of the industrial camera 17 includes the coordinates of the industrial camera 17 and the lens rotation angle.

[0079] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any simple modification, change and equivalent structural change made to the above embodiment based on the technical essence of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A method for detecting surface defects of a double-layer composite quartz crucible, using a double-layer composite quartz crucible surface defect detection device to detect surface defects of a double-layer composite quartz crucible, characterized in that: The double-layer composite quartz crucible surface defect detection device comprises a load-bearing bottom plate (1) for holding the double-layer composite quartz crucible (4), a frame structure installed on the load-bearing bottom plate (1) and located outside the double-layer composite quartz crucible (4), and a slide installed on the upper part of the frame structure and used to drive the detection device to move, a turntable (2) for driving the double-layer composite quartz crucible (4) to rotate is arranged in the load-bearing bottom plate (1), a surface light source (6) is arranged in the idle interval of the frame structure, and the detection device comprises an industrial camera (17) and a laser measuring instrument (18); The frame structure comprises a plurality of device pillars (5), and a surface light source (6) is arranged between two device pillars (5) adjacent to each other in the circumferential direction; The turntable (2) is provided with a crucible fixture (3) for supporting a double-layer composite quartz crucible (4); The slide table comprises two first slide rail bases (7) arranged in parallel, a first slide rail (8) and a first servo motor (10) for driving a first slider (9) mounted on the first slide rail (8) to move, a second slide rail base (11) is arranged between the two first sliders (9), a second slide rail (12) and a second servo motor (14) for driving a second slider (13) mounted on the second slide rail (12) to move, an electric telescopic rod (15) is arranged at the bottom of the second slider (13), and a pan / tilt table (16) for driving the detection device to change its angle is arranged at the telescopic end of the electric telescopic rod (15); Two first slide rail bases (7) are both installed on the top of the frame structure; By setting a turntable on the load-bearing bottom plate, the angle of the double-layer composite quartz crucible can be rotated arbitrarily, which is convenient for the detection equipment to perform all-round detection of the double-layer composite quartz crucible; by setting a frame structure on the load-bearing bottom plate, the frame structure can provide an installation foundation for the slide table and provide an installation bracket for the surface light source. The surface light source can illuminate the double-layer composite quartz crucible in all directions. The inner layer of the double-layer composite quartz crucible is a transparent structure, and the outer layer is a light-transmitting frosted structure. The surface light source covers the side of the crucible to avoid the bottom of the crucible being illuminated by diffuse reflection from all sides due to internal lighting, which affects the photo results; an industrial camera is used to obtain the surface results of the crucible. The types of surface defects of the crucible include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains, and crystallization points. It is difficult to determine the depth information of pits, attachments, and white spots from the captured images. A laser measuring instrument is used for secondary detection to determine the depth information of pits, attachments, and white spots based on the reference distance data; The method comprises the following steps: Step 1: Build and train a double-layer composite quartz crucible surface defect detection model. The process is as follows: Step 101: acquiring an inner surface image of a double-layer composite quartz crucible containing multiple defect types, performing image enhancement on the inner surface image of the double-layer composite quartz crucible, constructing an image database, and randomly classifying the image database to obtain an image training data set and an image test data set; Step 102, constructing a double-layer composite quartz crucible surface defect detection model, wherein the double-layer composite quartz crucible surface defect detection model includes a Backbone network, a Neck network, and a Head network, wherein the Backbone network includes a CSP structure and an SPPF structure, and is used to extract high-level, middle-level, and low-level features of the image; the Neck network includes a PANet structure, and processes multi-scale features by generating a feature pyramid; the Head network generates a detection result, including the boundary coordinates and category probability of the target; Among them, the PANet structure includes full-dimensional dynamic convolution ODConv and ECA attention mechanism; Step 103, sequentially retrieve the image-enhanced inner surface images of the double-layer composite quartz crucible from the image training data set and input them into the double-layer composite quartz crucible surface defect detection model, use the binary cross entropy function to calculate the classification loss, and output the classification prediction results with boundary coordinates and category probabilities until the double-layer composite quartz crucible surface defect detection model converges, completing the double-layer composite quartz crucible surface defect detection model training process; Step 104: retrieve a sample image from the image test data set, test the double-layer composite quartz crucible surface defect detection model, and obtain a trained and tested double-layer composite quartz crucible surface defect detection model until the test is completed; Step 2: Setting an anchor frame for selecting the crucible defect type: using the Kmeans clustering algorithm to generate an anchor frame for selecting the crucible defect type; Step 3: using a double-layer composite quartz crucible surface defect detection device to obtain an actual acquisition image of the double-layer composite quartz crucible (4); Step 4: Input the actual collected image in step 3 into the double-layer composite quartz crucible surface defect detection model, and output the classification prediction result with boundary coordinates and category probability; The defect types include bubbles, impurity black spots, attachments, white spots, pits, cracks, surface stains and crystallization points; Step 5: determining whether there are attachments, white spots and pits in the classification prediction results; when attachments, white spots and pits are present in the classification prediction results, executing step 6; when attachments, white spots and pits are not present in the classification prediction results, executing steps 3 and 4 until the inner surface of the double-layer composite quartz crucible (4) is detected; Step 6, recording the position information of the attachment, white spot or pit: the attachment, white spot or pit is regarded as the target object, the position state information of the industrial camera (17) in the current double-layer composite quartz crucible surface defect detection device is recorded as the initial state, the pan / tilt (16) is adjusted to rotate at an angle so that the target object is located at the center of the field of view of the industrial camera (17), the position information of the industrial camera (17) at this time is recorded, and the industrial camera (17) is restored to the initial state, and then step 3 is executed; Step 7, obtaining depth information of the attachments, white spots or pits: after the inner surface of the double-layer composite quartz crucible (4) is inspected, the industrial camera (17) is replaced with a laser measuring instrument (18), and the depth information of each target object is obtained in turn according to the position information of the attachments, white spots or pits recorded in step 6; The CSP structure includes a first convolution module, a second convolution module, a first C3 template, a third convolution module, a second C3 template, a fourth convolution module, a third C3 template, a fifth convolution module and a fourth C3 template which are connected in sequence, and the fourth C3 template is connected to the SPPF structure; The PANet structure includes a sixth convolution module connected to the SPPF structure, the sixth convolution module is upsampled to obtain a first Concat module, the first Concat module is upsampled after passing through the fifth C3 template and the seventh convolution module to obtain a second Concat module, the second Concat module is upsampled after passing through the sixth C3 template and the full-dimensional dynamic convolution ODConv to obtain a third Concat module, the third Concat module is extracted by the seventh C3 template and then introduced into the ECA attention module and the eighth convolution module to obtain a fourth Concat module, the fourth Concat module is sequentially connected to the Head network through the eighth C3 template, the ninth convolution module, the fifth Concat module, the ninth C3 template, the tenth convolution module, the sixth Concat module and the tenth C3 template; wherein, the first Concat module is connected to the third C3 template, the second Concat module is connected to the second C3 template, the third Concat module is connected to the first C3 template, the fourth Concat module is connected to the full-dimensional dynamic convolution ODConv, the fifth Concat module is connected to the seventh convolution module, and the sixth Concat module is connected to the sixth convolution module; The head network includes an eleventh convolution module connected to the ECA attention module, a twelfth convolution module connected to the eighth C3 template, a thirteenth convolution module connected to the ninth C3 template, and a fourteenth convolution module connected to the tenth C3 template; The eleventh convolution module outputs a feature map of size 160×160, and its corresponding anchor box sizes include (5, 5), (10, 10) and (21, 21); the twelfth convolution module outputs a feature map of size 80×80, and its corresponding anchor box sizes include (14, 14), (18, 18) and (30, 30); the thirteenth convolution module outputs a feature map of size 40×40, and its corresponding anchor box sizes include (30, 61), (62, 45) and (59, 119); the fourteenth convolution module outputs a feature map of size 20×20, and its corresponding anchor box sizes include (116, 90), (156, 198) and (373, 326); The position information of the industrial camera (17) includes the coordinates of the industrial camera (17) and a lens rotation angle.

2. A method for detecting surface defects of a double-layer composite quartz crucible according to claim 1, characterized in that: A turntable motor (21) is installed on the turntable (2); a signal output end of the industrial camera (17) and a signal output end of the laser measuring instrument (18) are both connected to a signal input end of the industrial computer (19); a signal input end of the first servo motor (10), a signal input end of the second servo motor (14), a signal input end of the electric telescopic rod (15), a signal input end of the pan / tilt head (16), and a signal input end of the turntable motor (21) are all connected to a signal output end of the industrial computer (19).

3. A method for detecting surface defects of a double-layer composite quartz crucible according to claim 2, characterized in that: The industrial computer (19) is connected to a memory (20).