A detection method and device based on PCBA
By analyzing the BOM and drawing information of PCBA, generating a coordinate system and using a cross-matching algorithm to determine the consistency of hole coordinates, it solves the problems of low efficiency, poor accuracy and high equipment cost in the existing PCBA inspection methods, achieving fast and accurate The test results are applicable to a variety of product types.
Patent Information
- Application Number
- CN202210799053.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-07
AI Technical Summary
Existing PCBA detection methods have problems such as low manual detection efficiency, unguaranteed accuracy, high equipment maintenance costs and poor equipment adaptability, which affects production efficiency and product quality.
By analyzing the BOM information and drawing information of the product, the material's position coordinate system and layer hole coordinate system are generated, and the cross-matching algorithm is used to determine the consistency of the material hole coordinates, generate an inspection report, and provide a human-computer interaction interface for coordinate calibration. and layer operations to reduce equipment investment costs and human factors.
It achieves fast and accurate detection results, reduces equipment costs and detection deviations caused by human factors, improves production efficiency and product quality, and is suitable for a variety of product types.
Smart Images

Figure CN115190758B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a graphical rapid positioning detection method based on a coordinate system, and specifically to a detection method and device based on PCBA. Background Art
[0002] During the production process of PCBA manufacturing companies, it is necessary to test the mounting of product components. PCBA is the abbreviation of Printed Circuit Board Assembly, which means the entire process of PCB blank board through SMT mounting or DIP plug-in.
[0003] The existing detection methods mainly adopt two modes. One is to conduct manual inspection item by item according to the drawings and record them through paper reports. The other is to use automated detection equipment to perform positioning detection through optical imaging and generate inspection reports. Although the existing technical methods have solved the detection needs of some companies, some companies are still unable to meet them. The main limitations are reflected in the following aspects:
[0004] 1. The manual inspection method has low efficiency and cannot issue inspection reports in time, which affects the subsequent production of products. 2. The manual inspection method depends on the skill level of the inspectors, and the accuracy of the inspection cannot be guaranteed. 3. The investment cost of the optical positioning inspection method is high. 4. The inspection equipment needs regular maintenance, maintenance, repair and other dormant periods, which have become bottlenecks restricting production. 5. Due to differences in product types, some products cannot be adapted to the inspection equipment for inspection. Summary of the invention
[0005] In order to achieve the above-mentioned purpose, the purpose of the present invention is to provide a new positioning detection method based on the existing technology, reduce equipment investment costs, improve detection efficiency and accuracy, and provide users with a rapid detection method that balances costs and benefits.
[0006] The present invention provides a detection method based on PCBA, which specifically includes:
[0007] Parse the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinate of the hole position corresponding to each material on the drawing;
[0008] Parse the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing;
[0009] Determine whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent. If so, continue production; otherwise, trigger a rework processing step.
[0010] Optional,
[0011] The step of parsing the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinates of the hole position corresponding to each material on the drawing includes:
[0012] Get the product's BOM information;
[0013] Parse BOM information to obtain product material information, usage information and first point information;
[0014] Get the CAD drawing information of the product;
[0015] Parse the CAD drawing information to obtain the second point information and coordinate information of the product placement;
[0016] Generate coordinate parameters according to the first point information and the second point information to form a position coordinate system of the material;
[0017] Get product gerber drawings;
[0018] Parse the gerber drawing to obtain the product design layer and the hole coordinate information of each layer;
[0019] Generate a layer hole coordinate system based on the product design layer and the hole coordinate information of each layer;
[0020] According to the position coordinate system and the layer hole coordinate system, the first coordinate of the corresponding hole position of the material on the drawing is established through a cross-matching algorithm.
[0021] Optionally, the step of establishing the first coordinate of the hole position corresponding to the material on the drawing by a cross-matching algorithm based on the position coordinate system and the layer hole position coordinate system includes:
[0022] According to the gerber drawing, the 2D vector images of each layer are analyzed, and the layers and T / B surfaces are drawn. The original range of the drawing is defined by three-point positioning, with the lower left as the starting point, the upper right as the end point, and the upper left as the reference point;
[0023] The coordinate parameters of the material are cross-matched with the base point of the drawing as a reference coefficient to generate a human-computer interaction interface, which is used to provide operations for determining information of the first coordinates of the material and its corresponding hole positions on the drawing according to the drawing, and the human-computer interaction interface is used to provide operations for displaying the positions of the material and its hole positions on the drawing according to information of the first coordinates of the material and its corresponding hole positions on the drawing.
[0024] Optional,
[0025] The human-computer interaction interface provides coordinate calibration operations.
[0026] Optional,
[0027] The human-computer interaction interface provides layer switching, zooming and flipping operations for drawings.
[0028] Optional,
[0029] After determining whether the first coordinates and the second coordinates of the hole position corresponding to the material on the drawing are consistent, a test report is generated according to the determination result.
[0030] Optional,
[0031] After obtaining the test report, the unqualified products are reworked according to the test report.
[0032] The present invention also provides a PCBA-based detection device, which uses the above-mentioned PCBA-based detection method, and the device includes:
[0033] A first interpretation unit is used to parse the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinates of the hole position corresponding to each material on the drawing;
[0034] A second parsing unit is used to parse the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing;
[0035] The judging unit is used to judge whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent. If so, the production continues; otherwise, a rework processing step is triggered.
[0036] Optionally, the device comprises:
[0037] The generating unit is used to generate a detection report according to the judgment result obtained by the judging unit.
[0038] Compared with the existing technology, it has the following technical effects:
[0039] 1. Reduce the investment cost of testing equipment and reduce production bottlenecks caused by insufficient equipment or maintenance;
[0040] 2. Not restricted by product types, customers can achieve analytical matching and form a coordinate system with relevant product design information;
[0041] 3. Reduce the deviation of test results caused by human factors such as employee skills, equipment abnormalities, and misoperation, and improve the accuracy of test data;
[0042] 4. Improve operating efficiency, reduce quality input costs, and ensure product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0044] Figure 1 This is a flow chart of an embodiment of a detection method based on PCBA of this application;
[0045] Figure 2 This is a BOM interface diagram in the embodiment of the PCBA-based detection method of this application;
[0046] Figure 3 This is an interface diagram of the correspondence between materials and coordinates in the embodiment of the detection method based on PCBA of this application;
[0047] Figure 4 This is a diagram of the human-computer interaction interface in an embodiment of the PCBA-based detection method of this application. DETAILED DESCRIPTION
[0048] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0049] The present invention provides a method for rapid positioning detection based on a coordinate system, which includes the following steps:
[0050] 101. Analyze the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinate of the hole position corresponding to each material on the drawing;
[0051] 102. Analyze the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing;
[0052] 103. Determine whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent. If so, execute step 104; otherwise, execute step 105;
[0053] 104. Continue production;
[0054] 105. Trigger rework processing steps.
[0055] This embodiment reduces the equipment investment cost, improves the detection efficiency and accuracy, and provides users with a balanced cost and benefit. However, the algorithm workload of judging whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent is large. Therefore, in a specific application, a bidirectional human-computer interaction interface is generated through the name of the material and the first coordinate of each hole position corresponding to the material on the drawing. The specific application of this embodiment will be described later.
[0056] For easier understanding, please refer to Figures 1 to 4 The present invention provides another embodiment of a rapid positioning detection method based on a coordinate system, wherein the operation method mainly comprises the following steps:
[0057] S1: Get the BOM information of the product, and analyze the material information, usage, and location information of the product BOM. It should be noted that the Bill of Material (Bom) uses computers to assist enterprise production management. First, the computer must be able to read the product composition and all the materials involved in the enterprise. In order to facilitate computer recognition, the product structure expressed in diagrams must be converted into a certain data format. This file that describes the product structure in data format is the bill of materials, that is, Bom. It is a technical file that defines the product structure, so it is also called a product structure table or a product structure tree. In some industrial fields, it may be called a "formula", "element table" or other names.
[0058] like Figure 2 As described above, the BOM includes information such as component name, unit quantity, and location. For example, the quantity of a transistor is 2 units, and the location is U1 and Q1.
[0059] S2: Obtain the CAD drawing information of the product, and analyze the point information and coordinate information of the product mounting;
[0060] S3: Based on the product BOM point information and the CAD drawing point information, the system generates coordinate parameters to form the material position coordinate system;
[0061] S4: Get the product gerber drawing, parse the product design layer and the hole coordinate information of each layer, and the system generates the layer hole coordinate system;
[0062] S5: Through the material position coordinate system and the layer hole position coordinate system analyzed by the system, the corresponding coordinates of the material and the hole position are established through the cross-matching algorithm, and a two-way operation interface is generated to realize the selection of the material positioning drawing coordinate position, and the selection of the drawing coordinate positioning corresponding material information;
[0063] S6: Generate documents to be inspected based on production information push, read product production information and analyze generated materials, product design drawings, match coordinate systems for item-by-item inspection, and record inspection results. During the inspection process, coordinate calibration, layer switching, zooming, flipping and other auxiliary tools provided by the system can be used for rapid inspection. After the inspection is completed, an inspection report is generated, and production is carried out according to the inspection conclusion for subsequent production flow or rework and repair operations.
[0064] The present invention also provides a PCBA-based detection device, which uses the above-mentioned PCBA-based detection method, and the device includes:
[0065] A first interpretation unit is used to parse the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinates of the hole position corresponding to each material on the drawing;
[0066] A second parsing unit is used to parse the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing;
[0067] The judging unit is used to judge whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent. If so, the production continues; otherwise, a rework processing step is triggered.
[0068] Optionally, the device comprises:
[0069] The generating unit is used to generate a detection report according to the judgment result obtained by the judging unit.
[0070] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0071] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A PCBA-based detection method, characterized in that: include: Parse the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinate of the hole position corresponding to each material on the drawing; Parse the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing; Determine whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent, if so, continue production, otherwise trigger a rework processing step; The step of parsing the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinates of the hole position corresponding to each material on the drawing includes: Get the product's BOM information; Parse BOM information to obtain product material information, usage information and first point information; Get the CAD drawing information of the product; Parse the CAD drawing information to obtain the second point information and coordinate information of the product placement; Generate coordinate parameters according to the first point information and the second point information to form a position coordinate system of the material; Get product gerber drawings; Parse the gerber drawing to obtain the product design layer and the hole coordinate information of each layer; Generate a layer hole coordinate system based on the product design layer and the hole coordinate information of each layer; According to the position coordinate system and the layer hole coordinate system, the first coordinate of the corresponding hole position of the material on the drawing is established through a cross-matching algorithm.
2. The PCBA-based detection method according to claim 1, characterized in that: The steps include: establishing the first coordinates of the corresponding hole positions of the material on the drawing according to the position coordinate system and the layer hole position coordinate system through a cross-matching algorithm; According to the gerber drawing, the 2D vector images of each layer are analyzed, and the layers and T / B surfaces are drawn. The original range of the drawing is defined by three-point positioning, with the lower left as the starting point, the upper right as the end point, and the upper left as the reference point; The coordinate parameters of the material are cross-matched with the base point of the drawing as a reference coefficient to generate a human-computer interaction interface, which is used to provide operations for determining information of the first coordinates of the material and its corresponding hole positions on the drawing according to the drawing, and the human-computer interaction interface is used to provide operations for displaying the positions of the material and its hole positions on the drawing according to information of the first coordinates of the material and its corresponding hole positions on the drawing.
3. The PCBA-based detection method according to claim 2, characterized in that: The human-computer interaction interface provides coordinate calibration operations.
4. The PCBA-based detection method according to claim 2, characterized in that: The human-computer interaction interface provides layer switching, zooming and flipping operations for drawings.
5. The PCBA-based detection method according to any one of claims 1 to 4, characterized in that: After determining whether the first coordinates and the second coordinates of the hole positions corresponding to the material on the drawing are consistent, a test report is generated according to the determination result.
6. The PCBA-based detection method according to claim 5, characterized in that: After obtaining the test report, the unqualified products are reworked according to the test report.
7. A PCBA-based detection device, characterized in that: The PCBA-based detection method according to any one of claims 1 to 6 is applied, wherein the device comprises: A first interpretation unit is used to parse the BOM information and drawing information of the product to obtain the name of at least one material and the first coordinates of the hole position corresponding to each material on the drawing; A second parsing unit is used to parse the production information of the product to obtain the name of at least one material and the second coordinates of the hole position corresponding to each material on the drawing; The judging unit is used to judge whether the first coordinate and the second coordinate of the hole position corresponding to the material on the drawing are consistent. If so, the production continues; otherwise, a rework processing step is triggered.
8. The PCBA-based detection device according to claim 7, characterized in that: The device comprises: The generating unit is used to generate a detection report according to the judgment result obtained by the judging unit.
Citation Information
Patent Citations
PCBA quality detection method and system, and computer equipment
CN111060515A
