Full-automatic lead frame film pasting visual defect detection system and detection method

The fully automated lead frame film application visual defect detection system, which combines electric slide table, visual inspection and neural network, solves the problem of low efficiency of manual inspection in existing equipment, realizes automated film application and defect detection, and improves product yield and production efficiency.

CN115436381BActive Publication Date: 2025-11-28HENGHUI TECH CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211098395.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2025-11-28
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

Existing lead frame film application equipment lacks a fully automated system and visual defect detection, resulting in low efficiency and error-prone manual inspection, low product yield, and the potential for new defects to be introduced during the film removal process.

Method used

A fully automated lead frame film application visual defect detection system was designed, including a material feeding and conveying mechanism, a film application mechanism, a film peeling mechanism, and a defect detection mechanism. It combines X-axis and Y-axis electric slides, a suction cup robot, a camera, and a light source to achieve automated film application and defect detection. It utilizes three-channel image processing and residual neural network to detect film deviation and bubbles.

Benefits of technology

It has achieved a fully automated film application process and defect detection, which has improved production efficiency, reduced manual intervention, timely detected defects such as film misalignment and bubbles, ensured the automatic separation of good products from waste products, and improved product yield.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115436381B_ABST
    Figure CN115436381B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of lead frame film pasting, and particularly relates to a full-automatic lead frame film pasting visual defect detection system and a detection method. The full-automatic lead frame film pasting visual defect detection system comprises a material taking conveying mechanism, the material taking conveying mechanism comprises an X-axis electric sliding table for conveying a lead frame, one side of the X-axis electric sliding table is fixedly provided with a vertical plate, a film pasting mechanism is arranged on the vertical plate, a film removing mechanism is arranged above the film pasting mechanism, and a defect detection mechanism for detecting film pasting effect is further arranged on one side of the material taking conveying mechanism. The X-axis electric sliding table, the film pasting mechanism, the film removing mechanism and the defect detection mechanism are electrically connected with a control terminal, so that a full-automatic film pasting process can be realized, and the full-automatic lead frame film pasting visual defect detection system and the detection method can detect defects of film pasting quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of lead frame film pasting, in particular to a full-automatic lead frame film pasting visual defect detection system and method. BACKGROUND

[0002] At present, a layer of protective yellow film is attached to the surface of the lead frame finished product to avoid surface scratches or quality problems caused by particles or dust falling on the substrate surface in the working environment.

[0003] The existing ordinary film pasting equipment has no full-automatic film pasting system and no visual defect detection device. It mainly relies on manual detection, and the operator needs to be highly concentrated and in a state of tension for a long time, which is inefficient and prone to errors, reduces the quality of work, and has a poor work experience. If the film is pasted off-center or there is air bubble between the film and the substrate, the product will be judged as unqualified. Generally, the operator using the ordinary film pasting equipment cannot easily find product defects in a timely manner during production, which leads to a large amount of material waste. Even if the operator finds defects in time, he needs to manually remove the film, adjust the machine, and run the material again, which wastes time and may increase new defects during the film removal process. Not only is it time-consuming and labor-intensive, but also the product yield is low. SUMMARY

[0004] The technical problem to be solved by the present application is to overcome the shortcomings of the prior art and provide a full-automatic lead frame film pasting visual defect detection system and method that can realize full-automatic film pasting process and detect defects in film pasting quality.

[0005] The technical scheme adopted by the present application to solve the technical problem is a full-automatic lead frame film pasting visual defect detection system, which comprises a material taking and conveying mechanism, the material taking and conveying mechanism comprises an X-axis electric sliding table for conveying lead frames, one side of the X-axis electric sliding table is fixedly provided with a vertical plate, a film pasting mechanism is arranged on the vertical plate, an film removing mechanism is arranged above the film pasting mechanism,

[0006] One side of the material taking and conveying mechanism is also provided with a defect detection mechanism for detecting the film pasting effect;

[0007] The X-axis electric sliding table, the film pasting mechanism, the film removing mechanism and the defect detection mechanism are electrically connected to a control terminal.

[0008] One end of the X-axis electric sliding table is provided with a Y-axis electric sliding table above, the sliding block of the X-axis electric sliding table is fixedly connected with a lead frame mold, the lead frame mold is provided with a lead frame clamping device for clamping the lead frame, and the sliding block of the Y-axis electric sliding table is fixedly connected with a suction disc manipulator for sucking the lead frame;

[0009] The Y-axis electric sliding table and the suction cup mechanical arm are electrically connected with the control terminal.

[0010] The film pasting mechanism comprises two positioning rollers arranged side by side, one end of each of the positioning rollers is fixedly connected with the vertical plate;

[0011] One side of the positioning roller is provided with two rows of guide rails, the bottom of the guide rail is arranged close to the X-axis electric sliding table, one of the guide rails is provided with a film pressing assembly capable of moving along the guide rail, and the other guide rail is provided with a film cutting assembly capable of moving along the guide rail;

[0012] A blowing plate is arranged between the two guide rails, one end of the blowing plate is fixedly connected with the vertical plate, a plurality of blowing holes are uniformly arranged on the blowing plate, and the blowing holes are communicated with the air pump through blowing pipes.

[0013] The film pressing assembly comprises a film pasting roller, one end of the film pasting roller is rotatably connected with a roller frame;

[0014] A rodless air cylinder for controlling the roller frame to move back and forth along the guide rail is further included;

[0015] The rodless air cylinder is electrically connected with the control terminal.

[0016] The film cutting assembly comprises a blade and a cutting air cylinder for controlling the blade to move back and forth along the corresponding guide rail,

[0017] The cutting air cylinder is electrically connected with the control terminal.

[0018] The film uncovering mechanism is located above the film pasting mechanism;

[0019] The film uncovering mechanism comprises a yellow film unwinding reel loaded with a yellow film, one side of the yellow film unwinding reel is provided with a film separating assembly, and the side, away from the yellow film unwinding reel, of the film separating assembly is provided with a waste film collecting reel;

[0020] A driving motor is arranged on the vertical plate corresponding to the yellow film unwinding reel and the waste film collecting reel, one end of the yellow film unwinding reel and the waste film collecting reel is respectively connected with the corresponding driving motor in transmission through the vertical plate, and the two driving motors are respectively electrically connected with the control terminal.

[0021] The film separating assembly is arranged corresponding to the film pasting mechanism.

[0022] The film separating assembly comprises a yellow film supporting roller and a yellow film pressing rod arranged on one side of the yellow film unwinding reel, one side of the yellow film pressing rod is provided with a film pressing roller, the top of the film pressing roller is provided with a film pressing air cylinder, and the film pressing air cylinder is electrically connected with the control terminal.

[0023] Two positioning rods are provided on the side of the pressing roller away from the yellow film support roller, and a waste film stop bar is provided between the two positioning rods. A waste film support roller is provided between the positioning rod near the waste film collection roll and the waste film collection roll.

[0024] The defect detection mechanism includes a fixed support column, a camera connected above the support column, the lens of the camera facing the X-axis electric slide, and a strip light source below the camera, one end of which is fixedly connected to the support column.

[0025] The camera is electrically connected to the control terminal.

[0026] The defect detection method of the fully automated lead frame film-applied visual defect detection system includes film deviation detection, and the detection steps are as follows:

[0027] S1-1: Acquire the image and convert the three-channel image into a red channel image, a blue channel image, and a green channel image;

[0028] S1-2: Subtract the blue channel image from the green channel image, and then perform filtering and morphological processing;

[0029] S1-3: Determine the left edge of the lead frame, the left edge of the film, the right edge of the film, and the right edge of the lead frame;

[0030] S1-4: Select the left and right edges of the leader frame, and use a rectangular mask to perform grayscale opening operations on the Blue image to extract edge pixels;

[0031] S1-5: Calculate the angles between the left edge of the lead frame and the left edge of the film, and between the right edge of the film and the right edge of the lead frame. If the angle is 0°, it is considered a good product; otherwise, it is a defective product.

[0032] It also includes bubble detection, the detection steps of which are as follows:

[0033] S2-1: Collect data and perform preprocessing;

[0034] S2-2: Use pretrain = True to obtain the pre-trained model, and then train the residual model;

[0035] S2-3: Select the optimal model and determine whether there are air bubbles in the lead frame film based on the optimal model.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] This invention provides a fully automated visual defect detection system and method for lead frame film application. It enables a fully automated film application process and allows for defect detection of the film application quality during the process. It can promptly detect issues such as film misalignment and air bubbles, achieving fully automated separation of good and defective products without manual intervention, thus completely freeing up manpower and improving labor productivity. Attached Figure Description

[0038] Figure 1 This is a schematic diagram of the structure of the present invention.

[0039] Figure 2 This is a schematic diagram of the film-removing mechanism of the present invention.

[0040] Figure 3 This is a schematic diagram of the defect detection mechanism of the present invention.

[0041] Figure 4 This is a schematic diagram of the material handling and conveying mechanism of the present invention.

[0042] Figure 5 yes Figure 1 A magnified view of part A in the image.

[0043] Figure 6 This is a schematic diagram of the image changes in steps S1-3.

[0044] In the diagram: 1. Material conveying mechanism; 101. X-axis electric slide table; 102. Y-axis electric slide table; 103. Lead wire frame mold; 104. Lead wire frame clamping device; 105. Suction cup robot; 2. Film application mechanism; 201. Rodless cylinder; 202. Positioning roller; 203. Guide rail; 204. Film application roller; 205. Roller frame; 206. Blowing plate; 207. Cutting cylinder; 208. Blade; 3. Film peeling mechanism; 301. Yellow film feeding roll; 302. Waste film receiving roll; 303. Yellow film support roller; 304. Yellow film pressure bar; 305. Film pressing roller; 306. Film pressing cylinder; 307. Positioning rod; 308. Waste film support roller; 309. Waste film stop bar; 4. Defect detection mechanism; 401. Support column; 402. Camera; 403. Strip light source; 5. Vertical plate. Detailed Implementation

[0045] The embodiments of the present invention will be further described below with reference to the accompanying drawings:

[0046] Example 1

[0047] like Figures 1 to 6As shown, the full-automatic lead frame film pasting visual defect detection system comprises a material taking conveying mechanism 1, the material taking conveying mechanism 1 comprises an X-axis electric sliding table 101 for conveying the lead frame, one side of the X-axis electric sliding table 101 is fixedly provided with a vertical plate 5, a film pasting mechanism 2 is arranged on the vertical plate 5, a film stripping mechanism 3 is arranged above the film pasting mechanism 2,

[0048] One side of the material taking conveying mechanism 1 is also provided with a defect detection mechanism 4 for detecting the film pasting effect;

[0049] The X-axis electric sliding table 101, the film pasting mechanism 2, the film stripping mechanism 3 and the defect detection mechanism 4 are electrically connected with a control terminal.

[0050] With reference to Figure 4 , one end of the X-axis electric sliding table 101 is provided with a Y-axis electric sliding table 102 above, the sliding block of the X-axis electric sliding table 101 is fixedly connected with a lead frame mold 103, the lead frame mold 103 is provided with a lead frame clamping device 104 for clamping the lead frame, the sliding block of the Y-axis electric sliding table 102 is fixedly connected with a suction disc manipulator 105 for sucking the lead frame;

[0051] The Y-axis electric sliding table 102 and the suction disc manipulator 105 are electrically connected with the control terminal. One side of the Y-axis electric sliding table 102 is provided with the lead frame to be pasted; the suction disc manipulator 105 sucks the lead frame to be pasted and places it on the lead frame mold 103 of the X-axis electric sliding table 101, and clamps it through the lead frame clamping device 104, then the sliding block of the X-axis electric sliding table 101 drives the lead frame mold 103 and the lead frame on the lead frame mold 103 to move to the film pasting mechanism 2, and performs the film pasting operation, then moves the lead frame after film pasting to the defect detection mechanism 4 for detection, after detection, moves the lead frame after film pasting to the Y-axis electric sliding table 102, and clamps the lead frame after film pasting to the corresponding storage bin through the suction disc manipulator 105. In the present application, a waste bin, a good product bin and a material bin are arranged along the Y-axis electric sliding table 102, the material bin stores the lead frame to be pasted, the waste bin is used for recycling the lead frame judged by the defect detection mechanism 4 as unqualified for film pasting, and the good product bin is used for storing the lead frame judged by the defect detection mechanism 4 as qualified for film pasting.

[0052] With reference to Figure 5 , the film pasting mechanism 2 comprises two positioning rollers 202 arranged side by side, one end of each positioning roller 202 is fixedly connected with the vertical plate 5;

[0053] One side of the positioning roller 202 is provided with two rows of guide rails 203 side by side, the bottom of the guide rail 203 is close to the X-axis electric sliding table 101, one of the guide rails 203 is provided with a film pressing assembly capable of moving along the guide rail 203, and the other guide rail 203 is provided with a film cutting assembly capable of moving along the guide rail 203;

[0054] A blowing plate 206 is arranged between the two guide rails 203, one end of the blowing plate 206 is fixedly connected with the vertical plate 5, a plurality of blowing holes are uniformly arranged on the blowing plate 206, and the blowing holes are communicated with the air pump through a blowing pipe. The positioning roller 202 is used for positioning and guiding the yellow film. The blowing holes are communicated with the air pump and other equipment through the blowing pipe, and are used for blowing the film body to the lead frame when the film is attached. After the film body is blown to the lead frame, the film body is pressed against the lead frame by the downward pressing of the film attaching roller 204, then the X-axis electric sliding table 101 drives the lead frame to move to the set position, and the cutting film assembly is used for cutting action, and then the X-axis electric sliding table 101 moves the lead frame to the defect detection mechanism 4 for defect detection.

[0055] The film pressing assembly comprises a film attaching roller 204, one end of the film attaching roller 204 is rotatably connected with a roller frame 205;

[0056] Further comprising a rodless cylinder 201 for controlling the roller frame 205 to move back and forth along the guide rail 203;

[0057] The rodless cylinder 201 is electrically connected with the control terminal. When the film is attached, the X-axis electric sliding table 101 transports the lead frame to the film pressing assembly, and the film attaching roller 204 presses the film body against the lead frame.

[0058] The cutting film assembly comprises a blade 208 and a cutting cylinder 207 for controlling the blade 208 to move back and forth along the corresponding guide rail 203,

[0059] The cutting cylinder 207 is electrically connected with the control terminal.

[0060] Referring to Figure 1 and Figure 2 , the film uncovering mechanism 3 is located above the film attaching mechanism 2;

[0061] The film uncovering mechanism 3 comprises a yellow film unwinding reel 301 loaded with a yellow film, a film separating assembly is arranged on one side of the yellow film unwinding reel 301, and a waste film winding reel 302 is arranged on the side of the film separating assembly away from the yellow film unwinding reel 301;

[0062] A driving motor is arranged on the vertical plate 5 corresponding to the yellow film unwinding reel 301 and the waste film winding reel 302, one end of the yellow film unwinding reel 301 and the waste film winding reel 302 is respectively penetratingly connected with the corresponding driving motor through the vertical plate 5, and the two driving motors are electrically connected with the control terminal;

[0063] The film separating assembly is arranged corresponding to the film attaching mechanism 2.

[0064] The film separating assembly comprises a yellow film supporting roller 303 and a yellow film pressing rod 304 arranged on one side of the yellow film feeding roller 301, one side of the yellow film pressing rod 304 is provided with a film pressing roller 305, an upper side of the film pressing roller 305 is provided with a film pressing cylinder 306, and the film pressing cylinder 306 is electrically connected with a control terminal;

[0065] The film pressing roller 305 is provided with two positioning rods 307 on the side away from the yellow film supporting roller 303, the two positioning rods 307 are provided with a waste film blocking rod 309, and one of the positioning rods 307 close to the waste film collecting roller 302 is provided with a waste film supporting roller 308 between the waste film collecting roller 302. The yellow film is wound in the yellow film feeding roller 301, and the yellow film is manually drawn out from the yellow film feeding roller 301 for the first time, and the film body passes through the yellow film supporting roller 303, the yellow film pressing rod 304, the film pressing roller 305, the positioning rod 307 and the waste film blocking rod 309 in sequence, the yellow film is manually opened, and then the waste film passes through the other positioning rod 307 and the waste film supporting roller 308 to be wound on the waste film collecting roller 302, so that the film opening process is realized.

[0066] Referring to Figure 1 For the first time, the film body to be pasted after the film opening is manually pasted on one side of the blowing plate 206 by winding around the positioning roller 202 and the film pasting roller 204; after the lead frame is clamped on the lead frame mold 103, the lead frame is moved to the under side of the blowing plate 206 of the film pasting mechanism 2 by the X-axis electric sliding table 101, the blowing plate 206 is blown through the blowing hole, the yellow film is blown on the lead frame and pasted with the lead frame, then the rodless cylinder 201 pushes down the film pasting roller 204, the yellow film is pressed tightly with the lead frame by controlling the back and forth movement of the X-axis electric sliding table 101 and the winding and unwinding of the yellow film feeding roller 301 and the waste film collecting roller 302. Then, the rodless cylinder 201 controls the film pasting roller 204 to lift up, the X-axis electric sliding table 101 drives the lead frame to move towards the blade 208, the end of the lead frame moves a set distance, the end of the lead frame is moved to the blade 208, the cutting cylinder 207 controls the blade 208 to move down, the yellow film is cut off, at this time, the film body part without pasting is cut and adsorbed on the blade 208 when cutting the end, and waits for the next lead frame to paste the film. In the subsequent cutting, the blade 208 can also cut both ends of the lead frame once to ensure the effect of pasting the film. In this embodiment, the positions of the film pasting mechanism 2 and the X-axis electric sliding table 101 are fixed, so there is no need to set a sensing device, the lead frame moves a set distance with the X-axis electric sliding table 101, so that precise cutting is realized. A material facilitating film pasting and adsorption can also be applied on the bottom of the blowing plate 206, after cutting, the pasted film is adsorbed on the bottom of the blowing plate 206, and the next time the film is pasted, the pasted film is blown to the lead frame again by a gas pump or the like. After the film pasting is completed, the lead frame moves to the defect detection mechanism 4 with the X-axis electric sliding table to perform defect detection.

[0067] Referring toFigure 3 The defect detection mechanism 4 comprises a fixed support column 401, a camera 402 connected above the support column 401, a lens of the camera 402 facing the X-axis electric sliding table 101, and a strip-shaped light source 403 arranged below the camera 402, one end of the strip-shaped light source 403 being fixedly connected with the support column 401.

[0068] The camera 402 is electrically connected with a control terminal. The lead frame after film pasting is moved below the strip-shaped light source 403, and then is photographed and analyzed through the control terminal. The control terminal is connected with an alarm, when a defective product is detected, the alarm reminds the operator to check the reason of the defective product, and adjusts the film pasting mode of the equipment in time to avoid excessive waste products.

[0069] Embodiment 2

[0070] The defect detection method applied to the full-automatic lead frame film pasting visual defect detection system of embodiment 1 comprises film deviation detection, and the detection steps are as follows:

[0071] S1-1: Acquire an image, and convert a three-channel image into a red channel image, a blue channel image and a green channel image;

[0072] S1-2: Subtract the blue channel image from the green channel image, and then perform filtering processing and morphological processing; specifically, first, perform processing by using median filtering and then using mean filtering, and then perform open operation on the gray value by using a rectangular frame with a height of 33 pixels and a width of 1 pixel;

[0073] S1-3: Determine a left edge line of the lead frame, a left edge line of the film, a right edge line of the film and a right edge line of the lead frame;

[0074] Specifically, refer to A in FIG. 1, which is an image after step S1-2, after the film is pasted on the lead frame, a gap is left between the edge of the film and the lead frame, the line segments and the width in the detection image are detected to obtain B in FIG. 1, as shown in B of FIG. 1. Figure 6 Figure 6 The edge lines in B of FIG. 1 are not continuous, at this time, the end points of the line segments located on the same straight line are connected to form a complete edge line, the edge lines with a length of 300 pixels to 9999 pixels and an angle of 60 degrees to 120 degrees are extracted to obtain C in FIG. 1, Figure 6 Figure 6 C in FIG. 1 is sequentially defined as the left edge line of the lead frame, the left edge line of the film, the right edge line of the film and the right edge line of the lead frame from left to right. Figure 6

[0075] ​​​S1-4: Select the left side line of the lead frame and the right side line of the lead frame, and perform an open operation on the gray value of the Blue image using a rectangular mask to extract the edge pixels; specifically, perform an open operation on the gray value using a rectangular frame with a height of 33 pixels and a width of 33 pixels, that is, first erode the image using a structure element with a height of 33 pixels and a width of 33 pixels, and then dilate the image using a structure element with a height of 33 pixels and a width of 33 pixels;

[0076] S1-5: Calculate the included angle between the left side line of the lead frame and the left side line of the film, and the included angle between the right side line of the film and the right side line of the lead frame. If the included angle is 0°, it is determined to be a good product, otherwise it is a waste product.

[0077] It also includes bubble detection, which mainly uses pytorch to realize resnet50 classification to detect good products and bubbles. Pytorch is an open source Python machine learning library based on Torch, which is used for visual detection and other application programs.

[0078] Resnet50: The 50 in "resnet50" refers to 50 layers. Resnet50, also known as residual neural network, refers to the idea of adding residual learning to traditional convolutional neural networks, which solves the problem of gradient dispersion and precision decline in deep networks, allowing the network to become deeper and faster while ensuring accuracy.

[0079] The detection steps are as follows:

[0080] S2-1: Collect data and perform preprocessing; collect bubble and good product data samples, and divide the data samples into training set, test set and evaluation set according to the ratio of 8:1:1. In this embodiment, because the data volume is relatively small, transfer learning is adopted, an already trained model is downloaded from the Internet, and the learning rate and batch sample size are adjusted using the local data set. Due to the limitation of the device GPU, the batch sample size is set to 16, and an additional fully connected layer is added, only the parameters of the fully connected part are trained;

[0081] S2-2: Obtain a pre-trained model using the pretrain = True method, change the output dimension of the fully connected layer, and specifically, the pre-trained Resnet fully connected layer is 4096*1000, which is changed to 4096*256, and then the residual model is trained;

[0082] S2-3: Select the optimal model to determine whether the lead frame film has bubbles based on the optimal model. Adjust the parameters of the model, and specifically, modify the output category to 2 categories, and finally evaluate the loss of the model to be 0.05 and the accuracy rate to be 95%.

Claims

1. A defect detection method applied to a full-automatic lead frame film pasting visual defect detection system, characterized in that, The full-automatic lead frame film pasting visual defect detection system comprises a material taking conveying mechanism (1), the material taking conveying mechanism (1) comprises an X-axis electric sliding table (101) for conveying a lead frame, one side of the X-axis electric sliding table (101) is fixedly provided with a vertical plate (5), a film pasting mechanism (2) is arranged on the vertical plate (5), and a film stripping mechanism (3) is arranged above the film pasting mechanism (2); The film pasting mechanism (2) comprises two positioning rollers (202) arranged side by side, one end of each positioning roller (202) is fixedly connected with the vertical plate (5); One side of the positioning roller (202) is provided with two rows of guide rails (203) side by side, the bottom of the guide rail (203) is arranged close to the X-axis electric sliding table (101), one row of guide rails (203) is provided with a film pressing assembly capable of moving along the guide rail (203), and the other row of guide rails (203) is provided with a film cutting assembly capable of moving along the guide rail (203); A blowing plate (206) is arranged between the two guide rails (203), one end of the blowing plate (206) is fixedly connected with the vertical plate (5), a plurality of blowing holes are uniformly arranged on the blowing plate (206), and the blowing holes are communicated with an air pump through a blowing pipe; One side of the material taking conveying mechanism (1) is further provided with a defect detection mechanism (4) for detecting the film pasting effect; The X-axis electric sliding table (101), the film pasting mechanism (2), the film stripping mechanism (3) and the defect detection mechanism (4) are electrically connected with a control terminal; The defect detection method comprises: The film deviation detection comprises the following detection steps: S1-1: acquiring an image, and converting a three-channel image into a red channel image, a blue channel image and a green channel image; S1-2: subtracting the blue channel image from the green channel image, and then performing filtering processing and morphological processing; S1-3: determining a lead frame left edge line, a film left edge line, a film right edge line and a lead frame right edge line; S1-4: selecting the lead frame left edge line and the lead frame right edge line, performing an open operation on the Blue image using a rectangular mask to extract edge pixels; S1-5: calculating the included angle between the lead frame left edge line and the film left edge line and between the film right edge line and the lead frame right edge line, if the included angle is 0°, it is determined that the product is good, otherwise it is determined that the product is waste; The bubble detection comprises the following detection steps: S2-1: collecting data and performing preprocessing; S2-2: obtaining a pre-training model by using a pretrain = True mode, and then training a residual model; S2-3: selecting an optimal model, and determining whether bubbles exist on the lead frame based on the optimal model.

2. The defect detection method applied to the full-automatic lead frame film pasting visual defect detection system according to claim 1, characterized in that, One end of the X-axis electric sliding table (101) is provided with a Y-axis electric sliding table (102) above, a lead frame mold (103) is fixedly connected to the sliding block of the X-axis electric sliding table (101), a lead frame clamping device (104) for clamping the lead frame is arranged on the lead frame mold (103), and a suction disc manipulator (105) for sucking the lead frame is fixedly connected to the sliding block of the Y-axis electric sliding table (102); The Y-axis electric sliding table (102) and the suction cup mechanical arm (105) are electrically connected with the control terminal. 3.The defect detection method applied to the full-automatic lead frame film pasting visual defect detection system according to claim 1, characterized in that, The film pasting assembly comprises a film pasting roller (204), one end of the film pasting roller (204) being rotatably connected with a roller frame (205); A rodless cylinder (201) is further arranged to control the back-and-forth movement of the roller frame (205) along the guide rail (203); The rodless cylinder (201) is electrically connected with the control terminal.

4. The defect detection method for use in the full-automatic lead frame film pasting visual defect detection system according to claim 1, characterized in that, The film cutting assembly comprises a blade (208) and a cutting cylinder (207) arranged to control the back-and-forth movement of the blade (208) along the corresponding guide rail (203), The cutting cylinder (207) is electrically connected with the control terminal.

5. The defect detection method for use in the full-automatic lead frame film pasting visual defect detection system according to claim 1, characterized in that, The film uncovering mechanism (3) is located above the film pasting mechanism (2); The film uncovering mechanism (3) comprises a yellow film unwinding roller (301) provided with a yellow film, one side of the yellow film unwinding roller (301) being provided with a film separating assembly, and the film separating assembly being provided with a waste film collecting roller (302) away from the yellow film unwinding roller (301); A driving motor is arranged on the vertical plate (5) corresponding to the yellow film unwinding roller (301) and the waste film collecting roller (302), respectively, one end of the yellow film unwinding roller (301) and the waste film collecting roller (302) penetrating through the vertical plate (5) and being drivingly connected with the corresponding driving motor, and the two driving motors being electrically connected with the control terminal, respectively. The film separating assembly is arranged corresponding to the film pasting mechanism (2).

6. The defect detection method for use in the full-automatic lead frame film pasting visual defect detection system according to claim 5, characterized in that, The film separating assembly comprises a yellow film supporting roller (303) and a yellow film pressing rod (304) arranged on one side of the yellow film unwinding roller (301), one side of the yellow film pressing rod (304) being provided with a film pressing roller (305), an upper side of the film pressing roller (305) being provided with a film pressing cylinder (306), and the film pressing cylinder (306) being electrically connected with the control terminal; Two positioning rods (307) are arranged on one side of the film pressing roller (305) away from the yellow film supporting roller (303), a waste film stopping rod (309) being arranged between the two positioning rods (307), and a waste film supporting roller (308) being arranged between one of the positioning rods (307) close to the waste film collecting roller (302) and the waste film collecting roller (302).

7. The defect detection method for use in the full-automatic lead frame film pasting visual defect detection system according to claim 1, characterized in that, The defect detecting mechanism (4) comprises a fixed support column (401), a camera (402) being connected above the support column (401), a lens of the camera (402) being arranged towards the X-axis electric sliding table (101), a strip-shaped light source (403) being arranged below the camera (402), and one end of the strip-shaped light source (403) being fixedly connected with the support column (401); The camera (402) is electrically connected with the control terminal.

Citation Information

Patent Citations

  • Film pasting device for lead frame, and working flow of film pasting device

    CN109300821A

  • Film pasting device of lead frame

    CN212831962U

  • Continuous material lead frame visual inspection platform

    CN215727759U