Automatic optical detection process

The code scanner and camera automatically read the substrate code and verify the batch number, which improves the efficiency of the automatic optical inspection equipment, solves the problem of low substrate code reading efficiency in the existing technology, and achieves a more efficient production process and Reduce labor costs.

CN118549435APending Publication Date: 2024-08-27SUZHOU HUATECHNETIUM SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410617350.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing automatic optical inspection equipment has low efficiency in reading substrate codes, which affects subsequent substrate production efficiency and entire line production efficiency.

Method used

The batch number is automatically read through the code scanner, and the camera is used to capture the read substrate code and verify the batch number bound to the first DB process to generate a unique substrate code, improve detection efficiency, and upload the substrate map to the database It can be used by subsequent equipment to reduce the number of processes.

Benefits of technology

It improves the efficiency of automatic optical inspection equipment, reduces the risk of mismixing materials, reduces manual workload, reduces labor costs, and ensures traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549435A
    Figure CN118549435A
Patent Text Reader

Abstract

The invention discloses an automatic optical detection process. The code scanning gun is used for automatically reading the batch number, and the optical lens is used for automatically reading the marked substrate code of the substrate incoming material, so that the subsequent substrate detection efficiency of the automatic optical detection equipment is improved, the corresponding atlas is generated according to the position of the device, and the bad code is marked. The base plate atlas is locally stored and uploaded to the database according to the batch number for subsequent marking, testing and other equipment to read for linkage flexible design, the risk of wrong material mixing is reduced, the production efficiency of the whole line is improved, the workload of workers is reduced, and therefore the labor cost is reduced. By automatically reading the batch number and the substrate code number and verifying the two-dimensional code of the substrate bound in the first DB process, the substrate code of the output atlas is bound to the batch number, so that the traceability is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automatic optical detection, and more specifically, particularly relates to an automatic optical detection process. Background Art

[0002] The Chinese full name of AOI is automatic optical inspection, which is a device based on optical principles to detect common defects encountered in welding production. AOI is a new test technology that has just emerged, but it has developed rapidly, and many manufacturers have launched AOI test equipment. When automatically inspecting, the machine automatically scans the PCB through a camera, collects images, compares the tested solder joints with the qualified parameters in the database, and checks the defects on the PCB through image processing, and displays / marks the defects through a display or automatic mark for maintenance personnel to repair. Use high-speed and high-precision visual processing technology to automatically detect various mounting errors and welding defects on PCB boards. The range of PCB boards can range from fine-pitch high-density boards to low-density large-size boards, and can provide online detection solutions to improve production efficiency and welding quality.

[0003] However, existing automatic optical inspection still has the following defects:

[0004] Due to the low efficiency of automatic optical reading of substrate codes, the efficiency of subsequent substrate production is affected, and the production efficiency of the entire line is indirectly reduced. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings existing in the prior art. The present invention obtains the corresponding unique substrate code after reading the QR code by camera shooting, and verifies the batch number bound to the first DB process to improve the efficiency of the automatic optical inspection equipment; and proposes an automatic optical inspection process.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] An automatic optical inspection process comprises the following steps:

[0008] S1. After loading, the batch number is entered by scanning the barcode gun, and the detection camera takes a photo to identify the substrate code. The relationship between the substrate and the batch number bound to the first process DB is verified to see if it is the substrate of this batch;

[0009] S2. Start the inspection, return the material after the inspection, save the substrate map paper A path locally, backup the map locally, and B path: MES parses to generate a unique traceability code substrate map for the subsequent marking process, and saves the defective images locally;

[0010] S3, upload the substrate map to the A database: for direct use by the post-process equipment, and the B database: for merging the substrate map with the output map of the post-process equipment;

[0011] S4, marking process retrieves the corresponding substrate map from database A and selects good products for processing, while defective products are not processed. For customers who require traceability of single products, the substrate map can be analyzed and then marked with a traceability code. The B database can be used to merge maps for the entire panel tester to reduce the number of processes.

[0012] Preferably, in S1, a barcode scanner is used to read the batch number to prevent errors and automatically call the program according to the batch number, and an independent loading and unloading sequence is designed: the loading part and the unloading part have a customized loading sequence such as from the upper layer to the lower layer or in the opposite order. After the loading and production, a camera is used to shoot the substrate QR code engraved on the edge of the substrate.

[0013] Preferably, in S1, the corresponding unique substrate code is obtained by reading the QR code by photographing with a camera, and verified with the batch number bound to the first DB process: after entering the current job batch number and clicking Start Job to read the substrate code, the read substrate code is compared with the substrate code bound to this batch number in the DB process in the equipment reading database, and then it is determined whether it is a substrate from this batch. After the verification is correct, the detection begins.

[0014] Preferably, the detection program in S2 uses image comparison and grayscale difference method to detect defects: a picture of a good product is taken for the item to be detected as a reference image, and a binary image is obtained by subtracting the image from the input image taken during the detection, and the defective items are detected by setting the grayscale level, and each defect is assigned a different code and marked at the corresponding position of the substrate map.

[0015] Preferably, in the S3, all defective images are saved in the equipment computer disk as a first-level folder with batch number and substrate QR code number as a second-level folder for traceability viewing. The substrate map is saved to two addresses, one is saved as a first-level date, a second-level batch number folder, and a third-level substrate code folder for backup, and the other is a first-level folder for storing all substrate maps to reduce the time complexity of MES business traversal.

[0016] Preferably, the substrate map in S3 is uploaded to two synchronously updated databases (A and B databases), one for production business use for equipment that needs to directly call the substrate map, such as a marking machine, and the other for MES business use to merge the substrate map with other equipment, such as a testing machine.

[0017] Preferably, the S3 is equipped with a separate software that can view the contents of the two databases. By inputting the batch number, the map content of the corresponding substrate code can be displayed. In special cases, the corresponding database can be entered for query.

[0018] Preferably, the process of the marking machine in S3 is:

[0019] Setting parameters: Set and adjust relevant marking parameters as needed, such as marking content, position, depth and speed;

[0020] Prepare the working object: Place the object to be marked in the working area of ​​the marking machine. Depending on the specific equipment, the object needs to be fixed and clamped to ensure accuracy and stability;

[0021] Operation control: According to the operation interface of the marking machine, make operation control settings, which include selecting the marking type (text, pattern, barcode, etc.), font style and marking parameters;

[0022] Positioning calibration: Some marking machines require positioning calibration, which means setting a reference point by comparing the workpiece to ensure that the mark is placed in the correct position;

[0023] Start marking: By pressing the start button, the marking machine starts to perform the marking operation. Depending on the marking technology, it will use different principles such as laser, inkjet, corrosion and thermal transfer for marking;

[0024] Monitoring and inspection: During the marking process, monitor the marking quality and progress, and conduct real-time inspections as needed to ensure the accuracy and quality of the marking;

[0025] Finish marking and dispose: Once marking is complete, the marking machine stops running.

[0026] Preferably, when the MES service in S3 is combined with the test machine and the substrate map is used, the process of the test machine is:

[0027] Set test parameters: according to specific test requirements, set relevant test parameters, such as test objectives, standards, test methods and test conditions;

[0028] Prepare test samples: Prepare and install the samples to be tested according to the test requirements, involving the fixation, connection, adjustment and pretreatment of the samples;

[0029] Calibrate test instruments: Ensure the accuracy and stability of test instruments, perform necessary checks and calibrations, including calibrating the instruments themselves;

[0030] Adjust test settings: Set test instrument parameters and configurations, such as test time, test frequency, and test pressure, according to test requirements;

[0031] Start the test: Start the test instrument and perform the test according to the predetermined test procedure. Manual monitoring is required during the test process.

[0032] Data recording and analysis: During the test process, record and collect test data, and analyze the test results in real time as needed to evaluate the performance and quality of the samples;

[0033] Result interpretation and reporting: Based on the test results, interpret and judge the results, generate corresponding test reports according to the test requirements and standards, and record the test results and evaluation;

[0034] Arrange and handle samples: After the test is completed, the test samples are arranged and handled, including cleaning, restoration and removal of the test device;

[0035] Regular maintenance and care: Test instruments require regular maintenance and care to ensure their normal operation and accuracy. Perform appropriate maintenance operations according to the requirements of the instrument.

[0036] Technical effects and advantages of the present invention: Compared with the prior art, the present invention provides an automatic optical detection process.

[0037] The present invention uses a barcode scanner to automatically read the batch number, and uses an optical lens to automatically read the substrate code marked on the incoming substrate, thereby improving the efficiency of the automatic optical inspection equipment in subsequent substrate inspections, generating a corresponding map according to the device position, and marking the bad code. The substrate map is saved locally and uploaded to the database according to the batch number for subsequent marking, testing and other equipment to read and perform flexible linkage design, reduce the risk of mismixing, improve the production efficiency of the entire line, and also reduce the workload of manual labor, thereby reducing labor costs.

[0038] By automatically reading the batch number and substrate code number and verifying the substrate QR code bound to the first DB process, the substrate code of the output map is bound to the batch number, thereby ensuring traceability. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a process flow chart of the automatic optical inspection of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0041] Example 1

[0042] In summary, the present invention provides an automatic optical detection process, comprising the following steps:

[0043] S1. After loading, the batch number is entered by scanning the barcode gun, and the detection camera takes a photo to identify the substrate code. The relationship between the substrate and the batch number bound to the first process DB is verified to see if it is the substrate of this batch;

[0044] S2. Start the inspection, return the material after the inspection, save the substrate map paper A path locally, backup the map locally, and B path: MES parses to generate a unique traceability code substrate map for the subsequent marking process, and saves the defective images locally;

[0045] S3, upload the substrate map to the A database: for direct use by the post-process equipment, and the B database: for merging the substrate map with the output map of the post-process equipment;

[0046] S4, marking process retrieves the corresponding substrate map from database A and selects good products for processing, while defective products are not processed. For customers who require traceability of single products, the substrate map can be analyzed and then marked with a traceability code. The B database can be used to merge maps for the entire panel tester to reduce the number of processes.

[0047] In S1, a barcode scanner is used to read the batch number to prevent errors and automatically call the program according to the batch number. The loading and unloading sequence is designed independently: the loading part and the unloading part have customized loading sequences such as from the upper layer to the lower layer or in reverse order. After loading and production, a camera is used to capture the substrate QR code engraved on the edge of the substrate.

[0048] In S1, the corresponding unique substrate code is obtained by reading the QR code through camera shooting, and then verified with the batch number bound to the first DB process: after entering the current job batch number and clicking Start Job to read the substrate code, the read substrate code is compared with the substrate code bound to this batch number in the DB process in the equipment reading database, and then it is determined whether it is a substrate from this batch. After the verification is correct, it enters the inspection.

[0049] The inspection program in S2 uses image comparison and grayscale difference methods to detect defects: a picture of a good product is taken as a reference image for the item to be inspected, and a binary image is obtained by subtracting it from the input image taken during the inspection. The defective items are detected by setting the grayscale level, and each defect is assigned a different code and marked at the corresponding position on the substrate map.

[0050] In S3, all defective images are saved in the equipment computer disk with batch number as the first-level folder and substrate QR code number as the second-level folder for traceability and viewing. The substrate map is saved to two addresses, one is saved as the first-level date, second-level batch number folder, and third-level substrate code folder for backup, and the other is the first-level folder for storing all substrate maps to reduce the time complexity of MES business traversal.

[0051] The substrate map in S3 is uploaded to two synchronously updated databases (A and B databases), one for production business use for equipment that needs to directly call the substrate map, such as a marking machine, and the other for MES business use to merge the substrate map with other equipment, such as a testing machine.

[0052] S3 is equipped with a separate software that can view the contents of two databases. By entering the batch number, the map content of the corresponding substrate code can be displayed. In special cases, the corresponding database can be entered for query.

[0053] Principle: Use a barcode scanner to automatically read the batch number, use an optical lens to automatically read the substrate code marked on the incoming substrate, use image comparison and grayscale difference to detect whether there is no chip, no solder wire, broken tin, excessive tin and other defects on the chip, and detect the size of foreign matter on the customized film. Generate a corresponding map according to the device position and mark the defective code. The substrate map is saved locally and uploaded to the database according to the batch number for subsequent marking, testing and other equipment to read for flexible linkage design, reduce the risk of mismixing, and improve the production efficiency of the entire line.

[0054] The process of marking machine in S3:

[0055] Setting parameters: Set and adjust relevant marking parameters as needed, such as marking content, position, depth and speed;

[0056] Prepare the working object: Place the object to be marked in the working area of ​​the marking machine. Depending on the specific equipment, the object needs to be fixed and clamped to ensure accuracy and stability;

[0057] Operation control: According to the operation interface of the marking machine, make operation control settings, which include selecting the marking type (text, pattern, barcode, etc.), font style and marking parameters;

[0058] Positioning calibration: Some marking machines require positioning calibration, which means setting a reference point by comparing the workpiece to ensure that the mark is placed in the correct position;

[0059] Start marking: By pressing the start button, the marking machine starts to perform the marking operation. Depending on the marking technology, it will use different principles such as laser, inkjet, corrosion and thermal transfer for marking;

[0060] Monitoring and inspection: During the marking process, monitor the marking quality and progress, and conduct real-time inspections as needed to ensure the accuracy and quality of the marking;

[0061] Finish marking and dispose: Once marking is complete, the marking machine stops running.

[0062] When the MES business and the test machine in S3 are combined with the substrate map, the process of the test machine is:

[0063] Set test parameters: according to specific test requirements, set relevant test parameters, such as test objectives, standards, test methods and test conditions;

[0064] Prepare test samples: Prepare and install the samples to be tested according to the test requirements, involving the fixation, connection, adjustment and pretreatment of the samples;

[0065] Calibrate test instruments: Ensure the accuracy and stability of test instruments, perform necessary checks and calibrations, including calibrating the instruments themselves;

[0066] Adjust test settings: Set test instrument parameters and configurations, such as test time, test frequency, and test pressure, according to test requirements;

[0067] Start the test: Start the test instrument and perform the test according to the predetermined test procedure. Manual monitoring is required during the test process.

[0068] Data recording and analysis: During the test process, record and collect test data, and analyze the test results in real time as needed to evaluate the performance and quality of the samples;

[0069] Result interpretation and reporting: Based on the test results, interpret and judge the results, generate corresponding test reports according to the test requirements and standards, and record the test results and evaluation;

[0070] Arrange and handle samples: After the test is completed, the test samples are arranged and handled, including cleaning, restoration and removal of the test device;

[0071] Regular maintenance and care: Test instruments require regular maintenance and care to ensure their normal operation and accuracy. Perform appropriate maintenance operations according to the requirements of the instrument.

[0072] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An automatic optical inspection process, characterized in that: The steps include: S1. After loading, the batch number is entered by scanning the barcode gun, and the detection camera takes a photo to identify the substrate code. The relationship between the substrate and the batch number bound to the first process DB is verified to see if it is the substrate of this batch; S2. Start the inspection, return the material after the inspection, save the substrate map paper A path locally, backup the map locally, and B path: MES parses to generate a unique traceability code substrate map for the subsequent marking process, and saves the defective images locally; S3, upload the substrate map to the A database: for direct use by the post-process equipment, and the B database: for merging the substrate map with the output map of the post-process equipment; S4, marking process retrieves the corresponding substrate map from database A and selects good products for processing, while defective products are not processed. For customers who require traceability of single products, the substrate map can be analyzed and then marked with a traceability code. The B database can be used to merge maps for the entire panel tester to reduce the number of processes.

2. An automatic optical inspection process according to claim 1, characterized in that: In S1, a barcode scanner is used to read the batch number to prevent errors and automatically call the program according to the batch number. The loading and unloading sequence is designed independently: the loading part and the unloading part have customized loading sequences such as from the upper layer to the lower layer or in reverse order. After loading and production, a camera is used to shoot the substrate QR code engraved on the edge of the substrate.

3. An automatic optical inspection process according to claim 2, characterized in that: In S1, the corresponding unique substrate code is obtained by reading the QR code through camera shooting, and verified with the batch number bound to the first DB process: after entering the current job batch number and clicking Start job to read the substrate code, the read substrate code is compared with the substrate code bound to this batch number in the DB process in the equipment reading database, and then it is determined whether it is a substrate of this batch. After the verification is correct, it enters the detection.

4. The automatic optical inspection process according to claim 1, characterized in that: The detection program in S2 uses image comparison and grayscale difference method to detect defects: a good product image is taken of the item to be detected as a reference image, and a binary image is obtained by subtracting it from the input image taken during the detection. The defective items are detected by setting the grayscale level, and each defect is assigned a different code and marked at the corresponding position of the substrate map.

5. The automatic optical inspection process according to claim 1, characterized in that: In the S3, all defective images are saved in the equipment computer disk with the batch number as the first-level folder and the substrate QR code number as the second-level folder for traceability viewing. The substrate map is saved to two addresses, one is saved as the first-level date, the second-level batch number folder, and the third-level substrate code folder for backup, and the other is the first-level folder for storing all substrate maps to reduce the time complexity of MES business traversal.

6. The automatic optical inspection process according to claim 1, characterized in that: The substrate map in S3 is uploaded to two synchronously updated databases, one for production business use for equipment that needs to directly call the substrate map, such as a marking machine, and the other for MES business use to merge the substrate map with other equipment, such as a testing machine.

7. An automatic optical inspection process according to claim 4, characterized in that: The S3 is equipped with a separate software that can view the contents of the two databases. By inputting the batch number, the map content of the corresponding substrate code can be displayed. In special cases, the corresponding database can be entered for query.

8. An automatic optical inspection process according to claim 6, characterized in that: The process of the marking machine in S3 is as follows: Setting parameters: Set and adjust relevant marking parameters as needed, such as marking content, position, depth and speed; Prepare the working object: Place the object to be marked in the working area of ​​the marking machine. Depending on the specific equipment, the object needs to be fixed and clamped to ensure accuracy and stability; Operation control: According to the operation interface of the marking machine, make operation control settings, including selecting the marking type, font style and marking parameters; Positioning calibration: Some marking machines require positioning calibration, which means setting a reference point by comparing the workpiece to ensure that the mark is placed in the correct position; Start marking: By pressing the start button, the marking machine starts to perform the marking operation. Depending on the marking technology, it will use different principles such as laser, inkjet, corrosion and thermal transfer for marking; Monitoring and inspection: During the marking process, monitor the marking quality and progress, and conduct real-time inspections as needed to ensure the accuracy and quality of the marking; Finish marking and dispose: Once marking is complete, the marking machine stops running.

9. An automatic optical inspection process according to claim 6, characterized in that: When the MES business in S3 is combined with the test machine and the substrate map is used, the process of the test machine is: Set test parameters: according to specific test requirements, set relevant test parameters, such as test objectives, standards, test methods and test conditions; Prepare test samples: Prepare and install the samples to be tested according to the test requirements, involving the fixation, connection, adjustment and pretreatment of the samples; Calibrate test instruments: Ensure the accuracy and stability of test instruments, perform necessary checks and calibrations, including calibrating the instruments themselves; Adjust test settings: Set test instrument parameters and configurations, such as test time, test frequency, and test pressure, according to test requirements; Start the test: Start the test instrument and perform the test according to the predetermined test procedure. Manual monitoring is required during the test process. Data recording and analysis: During the test process, record and collect test data, and analyze the test results in real time as needed to evaluate the performance and quality of the samples; Result interpretation and reporting: Based on the test results, interpret and judge the results, generate corresponding test reports according to the test requirements and standards, and record the test results and evaluation; Arrange and handle samples: After the test is completed, the test samples are arranged and handled, including cleaning, restoration and removal of the test device; Regular maintenance and care: Test instruments require regular maintenance and care to ensure their normal operation and accuracy. Perform appropriate maintenance operations according to the requirements of the instrument.