A method and system for detecting appearance defects of resistors

The image acquisition and analysis system detects the edge distance and parallelism of the printed layer of the resistor sheet, automatically identifies and marks abnormalities, solves the problem of printed layer deviation, realizes automatic detection and quality control of the printed layer of the resistor sheet, and reduces production waste.

CN118297935BActive Publication Date: 2024-10-18WUHAN QIKE MICROELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410559744.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-10-18
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

During the production process of the printed layer of the resistor sheet, errors or defects in the printing position cause the chip resistor structure to deviate, resulting in defects in the printed layer of the resistor sheet, which are difficult to effectively detect and correct with existing technology.

Method used

The image acquisition and analysis system is used to identify the top and bottom image edges of the resistor sheet printing layer, calculate the judgment distance between the edges, mark the abnormal edges, determine the deviation level, and generate first-level, second-level or third-level deviation marks to Automatically detect and feedback printing layer quality issues.

Benefits of technology

It realizes automatic detection of the printed layer of resistors, provides timely feedback on potential quality problems, reduces production waste, helps maintain printing quality standards, and takes appropriate maintenance measures according to the deviation level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118297935B_ABST
    Figure CN118297935B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for detecting appearance defects of a resistor sheet, and relates to the technical field of resistor sheet defect detection, including an image acquisition end, an identification end, an image analysis end, an abnormal mark generation module and a deviation mark generation module; the method solves the technical problem that in the process of manufacturing a resistor sheet printed layer, if the printing position of a certain layer is printed incorrectly or the printing is incomplete, a certain structural position of the chip resistor is deviated, resulting in defects in the resistor sheet printed layer; by comparing the distance between the edge lines of the top layer and the bottom layer of the printed layer, it is determined to generate an abnormal mark, and when the abnormal mark is generated, it indicates that the printed layer is tilted, that is, it indicates that the printing position of the printed layer is deviated. By this method, the quality defects of the printed layer can be automatically detected, and instant feedback can be provided when potential quality problems are detected, which is very important for maintaining printing quality standards and reducing waste in the production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resistor chip defect detection, and in particular to a resistor chip appearance defect detection method and system. Background Art

[0002] Chip resistors are chip resistors, which are a type of metal glass glaze resistors. In the production of chip resistors, metal powder and glass glaze powder are mixed and printed on the substrate using screen printing to make the finished product. It has the advantages of small size, light weight, adaptability to reflow soldering and wave soldering, stable electrical performance, high reliability, low assembly cost, and can greatly save circuit space cost, making the design more refined;

[0003] In the process of preparing the resistor, it is necessary to print various structures such as the electrode layer, resistor layer, and sealing layer on the substrate at one time, and then separate the substrate along the pre-formed peeling line to obtain multiple chip resistor products. At the same time, a protective film will be processed on the outer layer of the resistor printing layer (mainly located on the upper end of the chip resistor). The protective film mainly plays the role of moisture-proof, heat-resistant and insulating, which greatly improves the service life of the chip resistor;

[0004] However, in the process of making the printed layer of the resistor, if the printing position of a certain layer is printed incorrectly or incompletely, it will cause a certain structural position of the chip resistor to deviate, resulting in defects in the printed layer of the resistor and producing scrap resistors. Therefore, it is necessary to use a detection system to detect the printed layer of the chip resistor to ensure its normal use. Based on this, a method and system for detecting appearance defects of resistors are proposed. Summary of the invention

[0005] The purpose of the present invention is to provide a method and system for detecting appearance defects of a resistor sheet, which solves the technical problem that in the process of manufacturing the printed layer of the resistor sheet, if the printing position of a certain layer is printed incorrectly or incompletely, it will cause a certain structural position of the chip resistor to deviate, resulting in defects in the printed layer of the resistor sheet.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A method and system for detecting appearance defects of a resistor, comprising:

[0008] The image acquisition end acquires the top layer and bottom layer images of the resistor sheet printing layer;

[0009] The recognition end recognizes the edges in the top layer and the bottom layer images, and obtains the edges of the top layer image and the bottom layer image of the printing layer;

[0010] The image analysis end obtains the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyzes the distance, and determines and generates the judgment distance of each edge line according to the analysis result;

[0011] The abnormal mark generation module compares the calculated judgment distance between each two corresponding edge lines with a preset threshold value, marks the abnormal edge lines, and obtains the number of abnormal edge lines, analyzes the number, and then determines to generate abnormal marks;

[0012] The deviation mark generation module determines whether the edge line of the printed layer image is parallel to the edge line of the substrate image, and generates a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result.

[0013] As a further solution of the present invention: the image analysis end includes a coordinate transformation unit, a coordinate extraction unit and a determination distance calculation unit;

[0014] The coordinate transformation unit is used to map the edges of the top and bottom images of the printed layer into a common two-dimensional plane and match them. It should be noted that the substrate, the top and bottom layers of the printed layer are quadrilaterals by default, and their situations are not considered;

[0015] A coordinate extraction unit, used to extract the coordinates of four vertices of the top image edge line and the bottom image edge line in the two-dimensional plane respectively;

[0016] The determination distance calculation unit is used to calculate the determination distance between the edge line of the top image and the edge line corresponding to the bottom image according to the four vertex coordinates of the edge line of the top image and the edge line of the bottom image in the two-dimensional plane.

[0017] As a further solution of the present invention, the specific method of extracting the coordinates of the four vertices of the top image edge line and the bottom image edge line in the two-dimensional plane is as follows:

[0018] The coordinates of the four vertices on the edge line of the top-level image are respectively marked as TAi (Axi, Ayi); the coordinates of the four vertices on the edge line of the top-level image are respectively marked as TBi (Bxi, Byi);

[0019] The value of i is 4≥i≥1, and i is used as the vertex label corresponding to each vertex. TAi (Ax i, Ay i) and TB i (Bx i, By i) correspond one to one according to the vertex labels.

[0020] As a further solution of the present invention, the specific method of calculating the determination distance between the edge line of the top image and the edge line corresponding to the bottom image is:

[0021] Get the vertex coordinates on the top image edge line and the corresponding edge line of the bottom image, calculate the distance between two corresponding vertices on the corresponding edge lines of the top image and the bottom image respectively, and then get the average of the two distances as the judgment distance of the corresponding edge line, and then get the judgment distance between the two corresponding edge lines, and so on, you can get the judgment distance between every two corresponding edge lines.

[0022] As a further solution of the present invention: the specific method of determining the generation of an abnormal mark is:

[0023] The judgment distance between every two corresponding edge lines is compared with the preset threshold value Y1. When the judgment distance is greater than Y1, the corresponding edge line is marked as an abnormal edge line. When the judgment distance is less than or equal to Y1, no processing is performed. The number of all abnormal edge lines is counted. If the number of abnormal edge lines exceeds the preset value Y2, an abnormal mark is generated, indicating that there is a problem with the printing layer. When the number of abnormal edge lines does not exceed the preset value Y2, no processing is performed, wherein Y1 and Y2 are both preset values.

[0024] As a further solution of the present invention: the specific method of determining whether the edge line of the printed layer image is parallel to the edge line of the substrate image is as follows;

[0025] Obtain a substrate image of the resistor sheet, input it into the image analysis terminal, and then obtain the substrate image edge line and the coordinates of the four vertices on the substrate image edge line, and mark them as FJ i (Jx i, Jy i), where the value of i is 4≥i≥1, and i is used as the vertex number corresponding to each vertex;

[0026] According to the corresponding vertex coordinates on each edge line of the substrate image, the edge slope Ke corresponding to each edge line of the substrate image is obtained, and the edge slope Me corresponding to each edge line on the top layer image of the printing layer is obtained. The edge slope Ke of each edge line of the substrate image is compared with the edge slope Me of each corresponding edge line on the top layer image of the printing layer. If the values ​​of the edge slope Ke and the edge slope Me are equal, it means that the corresponding edge lines of the printing layer image and the substrate image are parallel, otherwise they are not parallel.

[0027] As a further solution of the present invention: the specific method of obtaining the edge line slopes corresponding to the edge lines on the substrate image and the top layer image of the printed layer is:

[0028] The edge slope Ke corresponding to each edge of the substrate image is calculated by the formula: (Jyr-Jyg) / (Jxr-Jxg)=Ke, where r=g+1, i≥r>g≥1, e is the number of edges corresponding to the substrate image, and it is also used as the label corresponding to each edge on the substrate image, 4≥e≥1;

[0029] The same method as that used to obtain the edge slope Ke corresponding to each edge line of the substrate image is used to calculate the edge slope Me corresponding to each edge line of the top layer image of the resistor printing layer, and e is also used as the label corresponding to each edge line on the top layer image of the printing layer.

[0030] As a further solution of the present invention: the specific method of generating the first-level deviation mark, the second-level deviation mark or the third-level deviation mark is:

[0031] Get the number n of non-parallel corresponding edge lines. When n is 0, no processing is done. When Y3>n>0, a first-level deviation mark is generated. When Y4>n≥Y3, a second-level deviation mark is generated. When n≥Y4, a third-level deviation mark is generated, where Y3 and Y4 are both preset values.

[0032] As a further solution of the present invention: the deviation level of the third-level deviation mark is greater than that of the second-level deviation mark, and the deviation level of the second-level deviation mark is greater than that of the first-level deviation mark.

[0033] As a further solution of the present invention: the detection method performed by the control system comprises the following steps:

[0034] Step 1: Obtain the top and bottom images of the resistor printed layer;

[0035] Step 2: Obtain the top layer image and bottom layer image edge line of the printing layer;

[0036] Step 3: Obtain the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyze the distance, and determine the determination distance of each edge line based on the analysis result;

[0037] Step 4: Compare the calculated judgment distance between each two corresponding edge lines with the preset threshold value to mark the abnormal edge lines, obtain the number of abnormal edge lines, analyze the number, and then determine and generate abnormal marks;

[0038] Step 5: Determine whether the edge line of the printed layer image is parallel to the edge line of the substrate image, and generate a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result.

[0039] Beneficial effects of the present invention:

[0040] (1) The present invention determines the generation of abnormal marks by comparing the distances between the edges of the top layer and the bottom layer of the printing layer. When an abnormal mark is generated, it indicates that the printing layer is tilted, that is, it indicates that the printing position of the printing layer is deviated. This method can automatically detect the quality defects of the printing layer and provide immediate feedback when potential quality problems are detected, which is crucial for maintaining printing quality standards and reducing waste in the production process.

[0041] (2) The present invention indicates the position deviation degree of the resistor printed layer by means of a primary deviation mark, a secondary deviation mark or a tertiary deviation mark, respectively, which is beneficial for displaying the position deviation degree of the resistor printed layer and facilitates relevant staff to take different maintenance measures according to different deviation mark levels. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention will be further described below in conjunction with the accompanying drawings.

[0043] Figure 1 It is a schematic diagram of the system framework structure of the present invention;

[0044] Figure 2 It is a schematic diagram of the method frame structure of the present invention;

[0045] Figure 3 It is a schematic diagram of the edge structure of the top layer image, the bottom layer image and the substrate image of the printing layer of the present invention;

[0046] Figure 4 It is a schematic diagram of the deviation of the edge line of the top layer image of the printing layer of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Embodiment 1

[0049] See also Figure 1-Figure 4 As shown, the present invention is a method and system for detecting appearance defects of resistor sheets, including:

[0050] At the image acquisition end, a high-resolution camera or other image acquisition device is used to acquire the top and bottom images of the resistor sheet printed layer, where the bottom image is the side where the printed layer contacts the substrate;

[0051] At the recognition end, an edge detection algorithm is applied to identify the edges in the top layer and the bottom layer images, and the edges of the top layer image and the bottom layer image of the printing layer are obtained. The edge detection algorithms include Canny, Sobel, and Prewitt, etc., which are all existing and mature technologies, so they are not described in detail here;

[0052] Before identifying the edge lines of the image, the collected top and bottom images of the resistor sheet printing layer are preprocessed as necessary. The preprocessing operations include grayscale, binarization, denoising, etc., so as to better detect the edge lines. The preprocessing operations are existing and mature technologies, so they will not be described in detail here.

[0053] The image analysis end obtains the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyzes the distance, and determines the determination distance of each edge line based on the analysis result. The specific method is as follows:

[0054] Through the coordinate transformation unit, the edge lines of the top layer and the bottom layer of the printing layer are mapped to a common two-dimensional plane and matched. It should be noted that when the edge lines of the top layer and the bottom layer are mapped to a common two-dimensional plane, only the difference in the spatial height of the edge lines is erased, and the others are not changed, that is, the horizontal coordinates and the vertical coordinates of the edge lines of the top layer and the bottom layer are kept unchanged;

[0055] It should be noted that in this application, it is assumed that the substrate, the top layer and the bottom layer of the printed layer are all quadrilaterals, and other situations are not considered;

[0056] The coordinates of four vertices of the top image edge line and the bottom image edge line in the two-dimensional plane are respectively extracted by the coordinate extraction unit;

[0057] The coordinates of the four vertices on the edge line of the top-level image are marked as TAi (Axi, Ayi) respectively; the coordinates of the four vertices on the edge line of the top-level image are marked as TBi (Bxi, Byi) respectively;

[0058] The value of i is 4≥i≥1, and i is used as the vertex number corresponding to each vertex. TAi(Axi, Ayi) and TBi(Bxi, Byi) correspond one to one according to the vertex number.

[0059] It should be noted that when extracting coordinates, the edges of the top and bottom images are extracted in the same direction and order to avoid errors in calculating distances;

[0060] The judgment distance calculation unit calculates the judgment distance between the edge line of the top image and the edge line corresponding to the bottom image according to the four vertex coordinates of the edge line of the top image and the edge line of the bottom image in the two-dimensional plane. The specific method is as follows:

[0061] Obtain the coordinates of the vertices on the edge line of the top image and the corresponding edge line of the bottom image, calculate the distances between two corresponding vertices on the corresponding edge lines of the top image and the bottom image respectively, and then obtain the average of the two distances as the judgment distance of the corresponding edge line, and then obtain the judgment distance between the two corresponding edge lines, and so on, to obtain the judgment distance between every two corresponding edge lines;

[0062] The distance between two corresponding vertices is calculated as:

[0063]

[0064] The abnormal mark generation module compares the calculated judgment distance between each two corresponding edge lines with the preset threshold, marks the abnormal edge lines, and obtains the number of abnormal edge lines, analyzes the number, and then determines to generate abnormal marks. The specific method is as follows:

[0065] Compare the judgment distance between every two corresponding edge lines with the preset threshold value Y1. When the judgment distance is greater than Y1, the corresponding edge line is marked as an abnormal edge line. When the judgment distance is less than or equal to Y1, no processing is performed. The number of all abnormal edge lines is counted. If the number of abnormal edge lines exceeds the preset value Y2, an abnormal mark is generated, indicating that there is a problem with the printing layer. When the number of abnormal edge lines does not exceed the preset value Y2, no processing is performed. Y1 and Y2 are both preset values, and the specific values ​​are formulated by relevant staff according to actual needs;

[0066] By comparing the distance between the edge lines of the top and bottom layers of the printing layer, an abnormal mark is generated. When an abnormal mark is generated, it means that the printing layer is tilted, that is, the printing position of the printing layer is deviated. This method can automatically detect the quality defects of the printing layer and provide instant feedback when potential quality problems are detected. This is crucial to maintaining printing quality standards and reducing waste in the production process.

[0067] Embodiment 2

[0068] As the second embodiment of the present invention, when the present application is specifically implemented, compared with the first embodiment, the technical solution of the present embodiment is different from the first embodiment only in that the present embodiment further includes a deviation mark generation module;

[0069] A deviation mark generating module determines whether the position of the printing layer on the substrate is tilted by determining whether the edge line of the printing layer image is parallel to the edge line of the substrate image, and generates a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result;

[0070] Obtain a substrate image of the resistor sheet, input it into the image analysis terminal, and then obtain the substrate image edge line and the coordinates of the four vertices on the substrate image edge line, and mark them as FJ i (Jx i, Jy i), where the value of i is 4≥i≥1, and i is used as the vertex number corresponding to each vertex;

[0071] According to the vertex coordinates corresponding to each edge line of the substrate image, the edge slopes corresponding to each edge line of the substrate image are obtained. The specific method is:

[0072] The edge slope Ke corresponding to each edge of the substrate image is calculated by the formula: (Jyr-Jyg) / (Jxr-Jxg)=Ke, where r=g+1, i≥r>g≥1, e is the number of edges corresponding to the substrate image, and it is also used as the label corresponding to each edge on the substrate image, 4≥e≥1;

[0073] The edge slopes Me corresponding to the edge lines of the top layer image of the resistor sheet printing layer are calculated in the same manner as the edge slopes Ke corresponding to the edge lines of the substrate image, and e is also used as the labels corresponding to the edge lines on the top layer image of the printing layer;

[0074] According to the labels e corresponding to the edge lines on the substrate image and the top layer image of the printed layer, the edge line slopes Ke of the edge lines of the substrate image are compared with the edge line slopes Me of the corresponding edge lines on the top layer image of the printed layer. If the edge line slopes Ke and Me are equal in value, it means that the corresponding edge lines of the printed layer image and the substrate image are parallel. Otherwise, they are not parallel. The number of non-parallel corresponding edge lines is obtained and analyzed. A primary deviation mark, a secondary deviation mark or a tertiary deviation mark is generated according to the analysis results.

[0075] The specific method of generating a first-level deviation mark, a second-level deviation mark or a third-level deviation mark is as follows:

[0076] The number of different edge slopes is marked as n. When n is 0, no processing is done. When Y3>n>0, a first-level deviation mark is generated. When Y4>n≥Y3, a second-level deviation mark is generated. When n≥Y4, a third-level deviation mark is generated. Y3 and Y4 are both preset values. The specific values ​​are formulated by relevant staff according to actual needs.

[0077] The deviation level of the third-level deviation mark is greater than that of the second-level deviation mark, and the deviation level of the second-level deviation mark is greater than that of the first-level deviation mark. The third-level deviation mark indicates that the position tilt degree of the resistor sheet printing layer, that is, the position accuracy deviation degree on the substrate is the largest, the second-level deviation mark indicates that the position tilt degree of the resistor sheet printing layer, that is, the position accuracy deviation degree on the substrate is relatively large, and the first-level deviation mark indicates that the position tilt degree of the resistor sheet printing layer, that is, the position accuracy on the substrate has a slight deviation;

[0078] The position deviation degree of the resistor printed layer is indicated by a primary deviation mark, a secondary deviation mark or a tertiary deviation mark, which is beneficial to display the position deviation degree of the resistor printed layer and facilitates relevant staff to take different maintenance measures according to different deviation mark levels.

[0079] Embodiment 3

[0080] See also Figure 1-Figure 4 As shown, this embodiment also provides a resistor sheet appearance defect detection method, which is implemented by a resistor sheet appearance defect detection system disclosed above, and specifically includes the following steps:

[0081] Step 1: Obtain the top and bottom images of the resistor printed layer;

[0082] Step 2: Identify the edges in the top layer and bottom layer images to obtain the edges of the top layer image and bottom layer image of the printing layer;

[0083] Step 3: Obtain the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyze the distance, and determine the determination distance of each edge line based on the analysis result;

[0084] Step 4: Compare the calculated judgment distance between each two corresponding edge lines with the preset threshold value to mark the abnormal edge lines, obtain the number of abnormal edge lines, analyze the number, and then determine and generate abnormal marks;

[0085] Step 5: Determine whether the edge line of the printed layer image is parallel to the edge line of the substrate image, and generate a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result.

[0086] Embodiment 4

[0087] As the fourth embodiment of the present invention, when the present application is specifically implemented, compared with the first, second and third embodiments, the technical solution of this embodiment is to combine and implement the solutions of the first, second and third embodiments.

[0088] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.

[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A resistor sheet appearance defect detection system, It is characterized in that include: The image acquisition end acquires the top layer and bottom layer images of the resistor sheet printing layer; The recognition end recognizes the edges in the top layer and the bottom layer images, and obtains the edges of the top layer image and the bottom layer image of the printing layer; The image analysis end obtains the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyzes the distance, and determines and generates the judgment distance of each edge line according to the analysis result; The abnormal mark generation module compares the calculated judgment distance between each two corresponding edge lines with a preset threshold value, marks the abnormal edge lines, and obtains the number of abnormal edge lines, analyzes the number, and then determines to generate abnormal marks; A deviation mark generation module determines whether the edge line of the printed layer image is parallel to the edge line of the substrate image, and generates a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result; The image analysis end includes a coordinate transformation unit, a coordinate extraction unit and a determination distance calculation unit; A coordinate transformation unit is used to map the edges of the top and bottom images of the printed layer into a common two-dimensional plane and match them. By default, the substrate, the top and bottom layers of the printed layer are all quadrilaterals. A coordinate extraction unit, used to extract the coordinates of four vertices of the top image edge line and the bottom image edge line in the two-dimensional plane respectively; A determination distance calculation unit, used to calculate the determination distance between the edge line of the top image and the edge line corresponding to the bottom image according to the four vertex coordinates of the edge line of the top image and the edge line of the bottom image in the two-dimensional plane; The specific method of extracting the coordinates of the four vertices of the top image edge line and the bottom image edge line in the two-dimensional plane is as follows: The coordinates of the four vertices on the edge line of the top-level image are marked as TAi (Axi, Ayi) respectively; the coordinates of the four vertices on the edge line of the top-level image are marked as TBi (Bxi, Byi) respectively; The value of i is 4≥i≥1, and i is used as the vertex number corresponding to each vertex. TAi (Axi, Ayi) and TBi (Bxi, Byi) correspond one to one according to the vertex number. The specific method for calculating the judgment distance between the edge line of the top image and the corresponding edge line of the bottom image is: The coordinates of the vertices on the edge line of the top image and the corresponding edge line of the bottom image are obtained, and the distances between the two corresponding vertices on the corresponding edge lines of the top image and the bottom image are calculated respectively. Then, the average of the two distances is obtained as the judgment distance of the corresponding edge line, and then the judgment distance between the two corresponding edge lines is obtained. Similarly, the judgment distance between every two corresponding edge lines can be obtained.

2. A resistor sheet appearance defect detection system according to claim 1, It is characterized in that The specific method for determining the generation of abnormal markers is as follows: The judgment distance between every two corresponding edge lines is compared with the preset threshold value Y1. When the judgment distance is greater than Y1, the corresponding edge line is marked as an abnormal edge line. When the judgment distance is less than or equal to Y1, no processing is performed. The number of all abnormal edge lines is counted. If the number of abnormal edge lines exceeds the preset value Y2, an abnormal mark is generated, indicating that there is a problem with the printing layer. When the number of abnormal edge lines does not exceed the preset value Y2, no processing is performed, wherein Y1 and Y2 are both preset values.

3. A resistor sheet appearance defect detection system according to claim 2, It is characterized in that The specific method of determining whether the edge line of the printed layer image is parallel to the edge line of the substrate image is as follows: Obtain the substrate image of the resistor sheet, input it into the image analysis terminal, and then obtain the substrate image edge line and the coordinates of the four vertices on the substrate image edge line, and mark them as FJi (Jxi, Jyi), where the value of i is 4≥i≥1, and i is used as the vertex number corresponding to each vertex; According to the corresponding vertex coordinates on each edge line of the substrate image, the edge slope Ke corresponding to each edge line of the substrate image is obtained, and the edge slope Me corresponding to each edge line on the top layer image of the printing layer is obtained. The edge slope Ke of each edge line of the substrate image is compared with the edge slope Me of each corresponding edge line on the top layer image of the printing layer. If the values ​​of the edge slope Ke and the edge slope Me are equal, it means that the corresponding edge lines of the printing layer image and the substrate image are parallel, otherwise they are not parallel.

4. A resistor sheet appearance defect detection system according to claim 3, It is characterized in that The specific method of obtaining the edge slopes corresponding to the edge lines on the substrate image and the top layer image of the printed layer is: The edge slope Ke corresponding to each edge of the substrate image is calculated by the formula: (Jyr-Jyg) / (Jxr-Jxg)=Ke, where r=g+1, i≥r>g≥1, e is the number of edges corresponding to the substrate image, and it is also used as the label corresponding to each edge on the substrate image, 4≥e≥1; The same method as that used to obtain the edge slope Ke corresponding to each edge line of the substrate image is used to calculate the edge slope Me corresponding to each edge line of the top layer image of the resistor printing layer, and e is also used as the label corresponding to each edge line on the top layer image of the printing layer.

5. A resistor sheet appearance defect detection system according to claim 4, It is characterized in that The specific method of generating a first-level deviation mark, a second-level deviation mark or a third-level deviation mark is as follows: Get the number n of non-parallel corresponding edge lines. When n is 0, no processing is done. When Y3>n>0, a first-level deviation mark is generated. When Y4>n≥Y3, a second-level deviation mark is generated. When n≥Y4, a third-level deviation mark is generated, where Y3 and Y4 are both preset values.

6. A resistor sheet appearance defect detection system according to claim 5, It is characterized in that The deviation level of the third-level deviation mark is greater than that of the second-level deviation mark, and the deviation level of the second-level deviation mark is greater than that of the first-level deviation mark.

7. A method for detecting appearance defects of resistor sheets, It is characterized in that The method is implemented by a resistor sheet appearance defect detection system according to any one of claims 1 to 6, and specifically comprises the following steps: Step 1: Obtain the top and bottom images of the resistor printed layer; Step 2: Obtain the top layer image and bottom layer image edge line of the printing layer; Step 3: Obtain the distance between the corresponding edge lines of the top image and the bottom image of the printing layer, analyze the distance, and determine the determination distance of each edge line based on the analysis result; Step 4: Compare the calculated judgment distance between each two corresponding edge lines with the preset threshold value to mark the abnormal edge lines, obtain the number of abnormal edge lines, analyze the number, and then determine and generate abnormal marks; Step 5: Determine whether the edge line of the printed layer image is parallel to the edge line of the substrate image, and generate a primary deviation mark, a secondary deviation mark or a tertiary deviation mark according to the determination result.

Citation Information

Patent Citations

  • Casting defect detection control system

    CN115184368A

  • MLCC appearance defect detection method and device and storage medium

    CN115439410A