Defect imaging method, device and system for visual inspection of ceramic tube shell

By using a combined light source, including annular light source and multiple bar light sources, in the visual inspection of ceramic shell and tube, the problem that a single light source is difficult to meet the lighting needs of multiple defects is solved, and a more comprehensive and efficient defect detection is achieved.

CN119510409APending Publication Date: 2025-02-25THE 13TH RES INST OF CHINA ELECTRONICS TECH GRP CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411548913.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing ceramic shell and shell visual detection methods use a single light source, which is difficult to meet the lighting needs of multiple defects, resulting in poor defect imaging effects.

Method used

A combined light source is adopted, including an annular light source and multiple bar light sources, and by controlling the lighting order and angle of the light source, it meets the multi-angle light requirements for ceramic tube and shell defect detection.

Benefits of technology

It improves the comprehensiveness and detection efficiency of visual defect detection in ceramic shells and tubes, can clearly image a variety of defects, and improves the accuracy of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119510409A_ABST
    Figure CN119510409A_ABST
Patent Text Reader

Abstract

The invention provides a defect imaging method, device and system for visual inspection of a ceramic tube shell, and relates to the technical field of visual inspection. The annular light source and the strip-shaped light sources around the annular light source are combined to form the combined light source, in the defect detection imaging process, the annular light source is controlled to be lightened once, the strip-shaped light sources are controlled to be lightened once in sequence, and the multi-angle lighting requirement in the ceramic tube shell defect detection process is met. And when the light source is lightened, the ceramic tube shell is shot to obtain detection images under the light source at different angles, so that multi-angle visual defect detection is realized, and the comprehensiveness of visual defect detection of the ceramic tube shell is improved. The light source does not need to be replaced in the process, and detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual inspection technology, and in particular to a defect imaging method, device and system for visual inspection of ceramic tube shells. Background Art

[0002] Ceramic tube shells are widely used in the packaging of semiconductor products, especially in high-end semiconductor components, as an important bridge connecting internal chips with external circuits.

[0003] When ceramic tube shells carry semiconductor chips and various components, any tiny defects may cause product performance degradation or failure during use, thus threatening the safety of users. Therefore, the inspection of ceramic tube shells is of great significance in ensuring product quality and performance.

[0004] Visual inspection of ceramic tube shells is a method of quality inspection of ceramic tube shells using machine vision technology. Visual inspection requires high-quality images as the basis for data processing and defect identification. The images must clearly reflect the shape, size, color and other characteristics of the defects.

[0005] However, most current inspection methods use a single light source to perform visual inspection on ceramic tube shells. Ceramic tube shells have many types of defects and their shapes vary greatly. It is difficult to use a single light source to meet the lighting needs of various defects in ceramic tube shells. For example, a ring light source can highlight the characteristics of stains and foreign matter, but it cannot have a good imaging effect on scratches, bubbles, bumps, pits, and cracks; a strip light source can highlight the characteristics of bubbles, bumps, and pits, but the direction of scratches and cracks and the direction of the strip light source must be within a certain angle range to achieve a good imaging effect. This results in a single light source being unable to illuminate defects so that all defects present clear and obvious characteristics. Summary of the invention

[0006] The present invention provides a defect imaging method, device and system for visual inspection of ceramic tube shells, which can detect visual defects of ceramic tube shells through a combined light source, thereby improving the comprehensiveness and detection efficiency of visual defect detection of ceramic tube shells.

[0007] In a first aspect, the present invention provides a defect imaging method for visual inspection of ceramic tube shells, which is applied to an imaging system, wherein the imaging system includes a combined light source and a shooting device, wherein the combined light source is composed of a ring light source and a plurality of strip light sources arranged around the ring light source; the shooting device is installed in the central area of ​​the ring light source and penetrates the inside of the combined light source, and the method includes: obtaining a defect detection instruction for the ceramic tube shell to be tested below the bottom of the combined light source; based on the defect detection instruction, generating a light source control instruction and a shooting instruction; the light source control instruction includes lighting the ring light source once and lighting each strip light source once in sequence; the shooting instruction includes shooting the ceramic tube shell to be tested when the light source is lit; based on the light source control instruction, controlling the combined light source to light up; based on the shooting instruction, controlling the shooting device to shoot, and obtaining multiple detection images of the ceramic tube shell to be tested; based on the multiple detection images, performing defect detection on the ceramic tube shell to be tested.

[0008] In a possible implementation, based on a light source control instruction, the combined light source is controlled to light up; based on a shooting instruction, the shooting device is controlled to shoot, and multiple detection images of the ceramic tube shell to be tested are obtained, including: controlling a ring light source to light up, controlling the shooting device to shoot, and obtaining a detection image when the ring light source is lit; controlling multiple strip light sources to light up in sequence, controlling the shooting device to shoot, and obtaining multiple detection images when the strip light sources are lit in sequence.

[0009] In a possible implementation, defect detection is performed on a ceramic tube shell to be tested based on multiple detection images, including: dividing the multiple detection images based on the correspondence between the defect type and the light source position to obtain multiple detection images corresponding to each defect type; the detection type includes at least one of the following: stains, scratches, bubbles, bumps, pits, cracks and foreign matter; based on the multiple detection images corresponding to each defect type, each defect type is detected to determine the detection result; the detection result includes the defect type of the ceramic tube shell to be tested.

[0010] In a possible implementation, four strip light sources are installed at the bottom of the combined light source, and the multiple strip light sources are connected end to end to form a square light source.

[0011] In a possible implementation, N strip light sources are installed at the bottom of the combined light source, where N is a natural number greater than 4, and the N strip light sources are connected end to end to form a regular N-gon light source.

[0012] In a possible implementation, the strip light source is installed at the bottom of the combined light source via a fixing bracket provided with an arc groove; the strip light source adjusts its installation position via the arc groove to adjust the angle of the strip light source.

[0013] In a possible implementation, after defect detection is performed on the ceramic tube shell to be tested based on multiple detection images, the method further includes: determining multiple bar light sources to be adjusted based on the defect type of the ceramic tube shell to be tested; generating light source angle adjustment instructions based on the multiple bar light sources to be adjusted; adjusting the multiple bar light sources to be adjusted based on the light source adjustment instructions; regenerating light source control instructions and shooting instructions, and shooting the ceramic tube shell to be tested based on the regenerated light source control instructions and shooting instructions to obtain a secondary precision inspection image; performing precision inspection on the ceramic tube shell to be tested based on the secondary precision inspection image to obtain a precision inspection result of the ceramic tube shell to be tested, the precision inspection result including defect detail information corresponding to the defect type of the ceramic tube shell to be tested.

[0014] In a possible implementation, the imaging system also includes a light source controller and a control device, the light source controller is connected to the combined light source and the control device; the light source controller receives a light source control instruction issued by the control device, and controls the lighting of the combined light source based on the light source control instruction; the shooting device includes a camera and a lens; the camera is arranged on the upper part of the lens, and the lens is arranged in the central area of ​​the annular light source, facing the ceramic tube shell to be tested; the camera is connected to the control device, receives a shooting instruction, shoots the ceramic tube shell to be tested, and obtains multiple detection images; and transmits multiple detection images back to the control device.

[0015] In a second aspect, an embodiment of the present invention provides a control device for a defect imaging system for visual inspection of ceramic tube shells, the control device comprising: a communication module, used to obtain a defect detection instruction for a ceramic tube shell to be tested below the bottom of a combined light source; a processing module, used to generate a light source control instruction and a shooting instruction based on the defect detection instruction; the light source control instruction comprises lighting a ring light source once and lighting each strip light source once in sequence; the shooting instruction comprises shooting the ceramic tube shell to be tested when the light source is lit; based on the light source control instruction, controlling the combined light source to light up; based on the shooting instruction, controlling the shooting device to shoot to obtain multiple inspection images of the ceramic tube shell to be tested; based on the multiple inspection images, performing defect inspection on the ceramic tube shell to be tested.

[0016] In a third aspect, an embodiment of the present invention provides a defect imaging system for visual inspection of ceramic tube shells, the imaging system comprising: a light source controller, a combined light source, a shooting device and a control device, the control device comprising a memory and a processor, the memory storing a computer program, the processor being used to call and run the computer program stored in the memory to perform the steps of the method described in the first aspect and any possible implementation method of the first aspect.

[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the steps of the method described in the first aspect and any possible implementation method of the first aspect are implemented.

[0018] The present invention provides a defect imaging method, device and system for visual inspection of ceramic tube shells. The present invention combines a ring light source and a plurality of strip light sources around it to form a combined light source. During the defect detection imaging process, the ring light source is controlled to light up once and each strip light source is controlled to light up once in sequence, so as to meet the multi-angle lighting requirements of the ceramic tube shell defect detection process. When the light source is lit, the ceramic tube shell is photographed to obtain detection images under light sources of different angles, so as to realize multi-angle visual defect detection and improve the comprehensiveness of visual defect detection of ceramic tube shells. This process does not require the replacement of the light source, thereby improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 It is a structural schematic diagram of a defect imaging system for visual inspection of ceramic tube shells provided by an embodiment of the present invention;

[0021] Figure 2 is a schematic diagram of an installation structure of a light source provided by an embodiment of the present invention;

[0022] Figure 3 It is a flow chart of a defect imaging method for visual inspection of ceramic tube shells provided by an embodiment of the present invention;

[0023] Figure 4 is a schematic diagram of a detection image under various light sources when the defect type is contamination provided by an embodiment of the present invention;

[0024] Figure 5 is a schematic diagram of a detection image under various light sources when the defect type is a scratch provided by an embodiment of the present invention;

[0025] Figure 6 is a schematic diagram of a detection image under various light sources when the defect type is a bubble provided by an embodiment of the present invention;

[0026] Figure 7It is a structural schematic diagram of a control device of a defect imaging system for visual inspection of ceramic tube shells provided by an embodiment of the present invention;

[0027] Figure 8 It is a structural schematic diagram of a control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0029] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0030] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0031] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0032] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be described through specific embodiments in conjunction with the accompanying drawings of the present invention.

[0033] As described in the background art, the current single-light-source ceramic tube visual inspection method has problems such as defect omission, poor recognition effect, and low efficiency.

[0034] To solve the above technical problems, Figure 1 As shown, an embodiment of the present invention provides a defect imaging system for visual inspection of ceramic tube shells. The imaging system includes: a light source controller, a combined light source, a shooting device and a control device.

[0035] In the embodiment of the present application, a plurality of strip light sources are installed at the bottom of the combined light source, and the plurality of strip light sources are connected end to end to form a ring light source; the camera device is installed in the central area of ​​the ring light source and penetrates the inside of the combined light source.

[0036] Exemplarily, four bar light sources are installed at the bottom of the combined light source, and the multiple bar light sources are connected end to end to form a square light source.

[0037] like Figure 2 As shown in the figure, there are four strip light sources around a ring light source, and the four strip light sources form a square. The five light sources are controlled by a light source controller. After the light source controller is burned with the control program, each light source can be cycled in the following order: the ring light source is lit once, and the strip light sources in the four directions of top, right, bottom and left are lit once each. When the camera takes pictures of the target part, the industrial control machine controls the camera to take five consecutive pictures. Before each picture is taken, the camera will give a trigger signal to the combined light source. The trigger signal will make the five light sources light up in sequence. When each light source is lit, the camera takes a picture, thus completing the acquisition of five images of a part. The subsequent algorithm needs to process the five images separately and then obtain the comprehensive detection result of the part.

[0038] In another exemplary embodiment, N strip light sources are installed at the bottom of the combined light source, wherein N is a natural number greater than 4, and the N strip light sources are connected end to end to form a regular N-gonal light source.

[0039] In some embodiments, the strip light source is installed at the bottom of the combined light source through a fixing bracket provided with an arc groove; the strip light source adjusts its installation position through the arc groove to achieve adjustment of the angle of the strip light source.

[0040] In some embodiments, the light source controller is connected to the combined light source and the control device; the light source controller receives a light source control instruction issued by the control device, and controls the combined light source to light up based on the light source control instruction.

[0041] The shooting device comprises a camera and a lens; the camera is arranged on the upper part of the lens, and the lens is arranged in the central area of ​​the annular light source and directly faces the ceramic tube shell to be tested.

[0042] The camera is connected to the control device, receives a shooting instruction, shoots the ceramic tube shell to be tested, obtains multiple test images, and transmits multiple test images back to the control device.

[0043] like Figure 3As shown, an embodiment of the present invention provides a defect imaging method for visual inspection of ceramic tube shells. The method includes steps S101-S105.

[0044] S101, obtaining a defect detection instruction for a ceramic tube shell to be tested below the bottom of a combined light source.

[0045] It should be noted that

[0046] S102: Generate a light source control instruction and a shooting instruction based on the defect detection instruction.

[0047] In the embodiment of the present application, the light source control instruction includes lighting up the ring light source once and lighting up each strip light source once in sequence; the shooting instruction includes shooting the ceramic tube shell to be tested when the light source is lit.

[0048] S103, based on the light source control instruction, control the combined light source to light up; based on the shooting instruction, control the shooting device to shoot, and obtain multiple test images of the ceramic tube shell to be tested.

[0049] As a possible implementation manner, step S103 may be specifically implemented as steps S1031 - S1032 .

[0050] S1031, controlling the annular light source to light up, controlling the shooting device to shoot, and obtaining a detection image when the annular light source is lit up.

[0051] S1032, controlling a plurality of bar-shaped light sources to light up in sequence, and controlling a shooting device to shoot, to obtain a plurality of detection images when the bar-shaped light sources light up in sequence.

[0052] S104: Based on the multiple inspection images, defect inspection is performed on the ceramic tube shell to be inspected.

[0053] As a possible implementation manner, step S104 may be specifically implemented as steps S1041 - S1042 .

[0054] S1041. Based on the correspondence between the defect type and the light source position, multiple detection images are divided to obtain multiple detection images corresponding to each defect type.

[0055] In some embodiments, the detection type includes at least one of the following: stains, scratches, bubbles, bumps, pits, cracks, and foreign matter.

[0056] S1042, based on the multiple detection images corresponding to each defect type, perform detection of each defect type and determine the detection result; the detection result includes the defect type of the ceramic tube shell to be tested.

[0057] The present invention provides a defect imaging method for visual inspection of ceramic tube shells, which forms a combined light source by combining a ring light source and a plurality of strip light sources around it. In the defect detection imaging process, the ring light source is controlled to light up once and each strip light source is sequentially lit up once, so as to meet the multi-angle lighting requirements of the ceramic tube shell defect detection process. When the light source is lit, the ceramic tube shell is photographed to obtain detection images under light sources of different angles, so as to realize multi-angle visual defect detection and improve the comprehensiveness of visual defect detection of ceramic tube shells. This process does not require the replacement of the light source, thereby improving the detection efficiency.

[0058] Optionally, the defect imaging method for visual inspection of ceramic tube shells provided by the embodiment of the present invention further includes steps S201-S204 after step S104.

[0059] S201 . Determine a plurality of bar-shaped light sources to be adjusted based on the defect type of the ceramic tube shell to be tested.

[0060] S202: Generate a light source angle adjustment instruction based on a plurality of bar-shaped light sources to be adjusted.

[0061] S203: Adjust the multiple bar-shaped light sources to be adjusted based on the light source adjustment instruction.

[0062] S204, regenerating a light source control instruction and a photographing instruction, and photographing the ceramic tube shell to be tested based on the regenerated light source control instruction and the photographing instruction to obtain a secondary precision inspection image.

[0063] S205 , based on the secondary precise inspection image, perform precise inspection on the ceramic tube shell to be tested, and obtain a precise inspection result of the ceramic tube shell to be tested.

[0064] In some embodiments, the detailed inspection result includes defect detail information corresponding to the defect type of the ceramic tube package to be tested.

[0065] As a result, after determining the defect type, the embodiment of the present invention can adjust the angle of the light source and perform a secondary precision inspection, thereby improving the accuracy of the visual defect detection result of the ceramic tube package to be tested.

[0066] It should be noted that the imaging system for visual inspection of various defects of ceramic tube shells proposed in the present invention can detect various defects such as contamination, foreign matter, scratches, bumps, pits, etc., which solves the problem that a single light source cannot highlight the characteristics of all kinds of defects; it has four strip light sources in different directions, which are lit in turn to illuminate the product, which can avoid the risk of missing inspections due to the unclear characteristics of directional defects such as scratches and cracks under a single light source; the installation angles of the four strip light sources can be adjusted within the range of 0-90°, such as Figure 3As shown, each bar light source fixing bracket has a quarter-circle arc groove, which can be used to fix the fixing screws of the bar light source at any position in the groove. The variable light source angle can meet the needs of different bar light source angles required to adjust the imaging effect of defects to the best state during actual inspection; the fixing bracket of the combined light source is easy to install, and each bar light source and ring light source is fixed with four screws on the top, which is easy to replace. At the same time, it is compatible with various bar light sources and ring light sources of similar sizes.

[0067] like Figure 4 As shown, an embodiment of the present invention provides a detection image under various light sources when the defect type is contamination. Figure 4 The first image on the left is the detection image taken under the ring light source, and the second to fifth images are the detection images taken under the upper bar light source, the left bar light source, the lower bar light source, and the right bar light source. Figure 4 It can be seen that the imaging features of the contamination are not obvious under the four strip light sources, while the contamination has a clear outline and obvious features under the ring light source in the first photo, which is a high-quality image that can be used for defect detection.

[0068] like Figure 5 As shown, an embodiment of the present invention provides a detection image under various light sources when the defect type is scratch. Figure 5 The first image on the left is the detection image taken under the ring light source, and the second to fifth images are the detection images taken under the upper bar light source, the left bar light source, the lower bar light source, and the right bar light source. Figure 5 It can be seen that in the first photo, there are almost no scratches in the ring light source, and there are still no scratch features under the strip light sources in the upper and lower directions, but the scratch lines are obvious under the strip light sources in the left and right directions, which can be used as photos for subsequent inspections. At the same time, by comparing the imaging effects of the four strip lights, it can be seen that the four strip light sources in different directions of the combined light source can avoid the problem that the defect features cannot be presented due to the single light angle of the single direction strip light source.

[0069] like Figure 6 As shown, an embodiment of the present invention provides a detection image under various light sources when the defect type is a bubble. Figure 6 The first image on the left is the detection image taken under the ring light source, and the second to fifth images are the detection images taken under the upper bar light source, the left bar light source, the lower bar light source, and the right bar light source. Figure 6It can be seen that there are almost no traces of bubbles under the ring light source, and the features of the bubbles are blurred under the strip light sources in the left and right directions, and the imaging effect is poor. However, under the strip light sources in the upper and lower directions, the bubbles have obvious highlight areas and shadow areas at the same time, which is the key feature for judging bubbles. Comparing the images of bubbles under four strip light sources shows that the four strip light sources in different directions of the combined light source can avoid the problem that the bubble features are not obvious due to the single light angle of a single strip light source.

[0070] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0071] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.

[0072] Figure 7 The schematic diagram of the structure of a control device of a defect imaging system for visual inspection of ceramic tube shells provided by an embodiment of the present invention is shown. The control device 300 includes a communication module 301 and a processing module 302 .

[0073] The communication module 301 is used to obtain a defect detection instruction for the ceramic tube shell to be tested below the bottom of the combined light source;

[0074] The processing module 302 is used to generate a light source control instruction and a shooting instruction based on the defect detection instruction; the light source control instruction includes lighting the ring light source once and lighting each strip light source once in sequence; the shooting instruction includes shooting the ceramic tube shell to be tested when the light source is lit; based on the light source control instruction, controlling the combined light source to light up; based on the shooting instruction, controlling the shooting device to shoot and obtain multiple detection images of the ceramic tube shell to be tested; based on the multiple detection images, performing defect detection on the ceramic tube shell to be tested.

[0075] Figure 8 Schematic diagram of a control device provided by an embodiment of the present invention. Figure 8 As shown, the control device 400 includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented, for example Figure 3 Alternatively, when the processor 401 executes the computer program 403, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 7 The functions of the communication module 301 and the processing module 302 are shown.

[0076] Exemplarily, the computer program 403 may be divided into one or more modules / units, which are stored in the memory 402 and executed by the processor 401 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 403 in the control device 400. For example, the computer program 403 may be divided into Figure 7 The communication module 301 and the processing module 302 are shown.

[0077] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0078] The memory 402 may be an internal storage unit of the control device 400, such as a hard disk or memory of the control device 400. The memory 402 may also be an external storage device of the control device 400, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the control device 400. Further, the memory 402 may also include both an internal storage unit of the control device 400 and an external storage device. The memory 402 is used to store the computer program and other programs and data required by the terminal. The memory 402 may also be used to temporarily store data that has been output or is to be output.

[0079] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A defect imaging method for visual inspection of ceramic tube shells, characterized in that: Applied to an imaging system, the imaging system comprises a combined light source and a shooting device, the combined light source comprises an annular light source and a plurality of strip light sources arranged around the annular light source; the shooting device is installed in the central area of ​​the annular light source and penetrates the inside of the combined light source, the method comprises: Obtaining a defect detection instruction for the ceramic tube shell to be tested below the bottom of the combined light source; Based on the defect detection instruction, a light source control instruction and a shooting instruction are generated; the light source control instruction includes lighting the ring light source once and lighting each strip light source once in sequence; the shooting instruction includes shooting the ceramic tube shell to be tested when the light source is lit; Based on the light source control instruction, control the combined light source to light up; based on the shooting instruction, control the shooting device to shoot, and obtain multiple test images of the ceramic tube shell to be tested; Based on the multiple inspection images, defect inspection is performed on the ceramic tube shell to be inspected.

2. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: Based on the light source control instruction, the combined light source is controlled to light up; based on the shooting instruction, the shooting device is controlled to shoot, and multiple test images of the ceramic tube shell to be tested are obtained, including: Controlling the annular light source to light up, controlling the shooting device to shoot, and obtaining a detection image when the annular light source is lit; The plurality of bar-shaped light sources are controlled to light up in sequence, and the shooting device is controlled to shoot, so as to obtain a plurality of detection images when the bar-shaped light sources are lit up one by one.

3. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: The method of performing defect detection on the ceramic tube shell to be tested based on the multiple detection images includes: Based on the correspondence between the defect type and the light source position, the multiple detection images are divided to obtain multiple detection images corresponding to each defect type; the detection type includes at least one of the following: stain, scratch, bubble, bump, pit, crack and foreign matter; Based on a plurality of detection images corresponding to each defect type, each defect type is detected to determine a detection result; the detection result includes the defect type of the ceramic tube shell to be detected.

4. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: Four strip light sources are installed at the bottom of the combined light source, and the multiple strip light sources are connected end to end to form a square light source.

5. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: N strip light sources are installed at the bottom of the combined light source, wherein N is a natural number greater than 4, and the N strip light sources are connected end to end to form a regular N-sided light source.

6. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: The strip light source is installed at the bottom of the combined light source through a fixing bracket provided with an arc groove; the installation position of the strip light source is adjusted through the arc groove to achieve adjustment of the angle of the strip light source.

7. The defect imaging method for visual inspection of ceramic tube shells according to claim 6, characterized in that: After performing defect detection on the ceramic tube shell to be tested based on the multiple detection images, the method further includes: Based on the defect type of the ceramic tube shell to be tested, determining a plurality of bar-shaped light sources to be adjusted; Based on the multiple bar-shaped light sources to be adjusted, generating a light source angle adjustment instruction; adjusting the plurality of bar-shaped light sources to be adjusted based on the light source adjustment instruction; regenerating a light source control instruction and a shooting instruction, and shooting the ceramic tube shell to be tested based on the regenerated light source control instruction and the shooting instruction to obtain a secondary precision inspection image; Based on the secondary fine inspection image, the ceramic tube shell to be tested is finely inspected to obtain a fine inspection result of the ceramic tube shell to be tested, wherein the fine inspection result includes defect detail information corresponding to the defect type of the ceramic tube shell to be tested.

8. The defect imaging method for visual inspection of ceramic tube shells according to claim 1, characterized in that: The imaging system further includes a light source controller and a control device, wherein the light source controller is connected to the combined light source and the control device; the light source controller receives a light source control instruction issued by the control device, and controls the combined light source to light up based on the light source control instruction; The shooting device includes a camera and a lens; the camera is arranged on the upper part of the lens, and the lens is arranged in the central area of ​​the annular light source, facing the ceramic tube shell to be tested; The camera is connected to the control device, receives the shooting instruction, shoots the ceramic tube shell to be tested, obtains a plurality of test images; and transmits the plurality of test images back to the control device.

9. A control device for a defect imaging system for visual inspection of ceramic tube shells, characterized in that: include: A communication module, used for obtaining a defect detection instruction for the ceramic tube shell to be tested below the bottom of the combined light source; A processing module is used to generate a light source control instruction and a shooting instruction based on the defect detection instruction; the light source control instruction includes lighting a ring light source once and lighting each strip light source once in sequence; the shooting instruction includes shooting the ceramic tube shell to be tested when the light source is lit; based on the light source control instruction, controlling the combined light source to be lit; based on the shooting instruction, controlling the shooting device to shoot, and obtaining multiple detection images of the ceramic tube shell to be tested; based on the multiple detection images, performing defect detection on the ceramic tube shell to be tested.

10. A defect imaging system for visual inspection of ceramic tube shells, characterized in that: include: A light source controller, a combined light source, a shooting device and a control device, wherein the control device includes a memory and a processor, the memory stores a computer program, and the processor is used to call and run the computer program stored in the memory to perform the steps of the method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Real-time detection system for weld surface defect video and detection method of real-time detection system

    CN106959297A

  • High-precision wafer surface defect detection device and detection method thereof

    CN111982931A

  • Axle scratch detection and measurement system and method based on binocular vision

    CN112782181A

  • Cigarette online defect detection method

    CN113331468A

  • Battery blue film defect detection method, device and system and light source controller

    CN117309892A