Object compensation automatic detection method based on CAM

By automatically detecting the compensation of objects in the PCB board diagram in the CAM system, the problem of the spacing after Pad compensation in the prior art is solved, and the efficiency and accuracy of detection are achieved, reducing production risks and time-consuming.

CN120012679AActive Publication Date: 2025-05-16YUEPU SOFTWARE (SHENZHEN) CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510041801.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-05-16
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

The existing PCB board mapping system cannot perform real-time object compensation detection, resulting in the problem of too small or interlaced spacing after Pad compensation, which affects the circuit principle and the effectiveness of PCB board use.

Method used

The automatic object compensation detection method based on CAM is adopted. By importing PCB design files into the CAM, the signal layer is detected and analyzed, traversing all objects, judging their type and compensating, detecting whether the spacing between objects meets the minimum spacing requirements, and generating a detection report.

Benefits of technology

It significantly improves the efficiency and accuracy of the inspection, promptly discovers design data problems, reduces the EQ frequency between customers, MI engineers, and CAM engineers, shortens the EQ time of more than 30%, and avoids risk points and enters subsequent production processes, which is conducive to design optimization and improvement of production yield.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120012679A_ABST
    Figure CN120012679A_ABST
Patent Text Reader

Abstract

The invention discloses a CAM-based object compensation automatic detection method, which can detect whether the distance between different types of objects in the current design data can meet the minimum spacing requirement after parameter compensation, can significantly improve the efficiency and accuracy of detection, can timely discover the problems of the design data, and improves the detection efficiency. EQ frequency among clients, MI engineers and CAM engineers is reduced, EQ time consumption is shortened by more than 30%, risk points are prevented from entering subsequent production procedures, and subsequent design optimization and improvement of production yield are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PCB manufacturing, and in particular to an automatic detection method for object compensation based on CAM. Background Art

[0002] The current PCB board mapping system does not have the pre-production simulation and analysis capabilities for CAM design data. Especially when compensating the pad, it is impossible to perform real-time detection to assess in advance whether there are any problems with the compensated design data and whether it meets the process capabilities of the PCB board factory. After compensation, the pad is prone to have problems with the surrounding objects being too small or even staggered, which changes the circuit principle and causes the actual use of the PCB board to deviate or even become unusable.

[0003] At present, the main method used to minimize the occurrence of this problem is to rely on designers to manually inspect the pads in the PCB board diagram one by one. However, this not only reduces the accuracy and comprehensiveness of the inspection, increases the risk of subsequent production, but also is time-consuming and labor-intensive, and the inspection efficiency is very low, which cannot meet the increasingly high design and production needs. Summary of the invention

[0004] In order to solve the above technical problems, a technical solution adopted by the present invention is: A CAM-based object compensation automatic detection method is provided, the steps of which include: (1) Import PCB design files into CAM and perform detection and analysis on the signal layer; (2) Traverse all objects at the signal layer, determine the type of each object, and perform compensation based on the type information; (2.1) Obtain the attribute information of each object and determine the type of the object based on the type definition information in the attribute information; (2.2) According to the type of the object, obtain the position and contour parameter information of the object and the corresponding compensation parameter value for compensation; (2.2.1) When the object is a straight line object, an arc object, a non-hole pad, a string object, or a copper surface object, directly obtain the original position and contour parameters of the object and the preset compensation value of the object, and calculate the current position and contour parameters of the object after compensation based on the original position and contour parameters and the compensation value; (2.2.2) When the object is a hole washer: obtain the original diameter parameter of the hole washer, the preset diameter compensation parameter of the corresponding hole, the original hole ring value and the preset minimum hole ring parameter, calculate the hole ring difference between the original hole ring value and the minimum hole ring parameter, then the diameter compensation value of the hole washer is the sum of the diameter compensation parameter value of the hole and the hole ring difference; calculate the current diameter parameter of the hole washer after compensation based on the diameter compensation value of the hole washer and the original diameter of the hole washer, thereby obtaining the current position and contour parameters of the hole washer; (3) Detect and determine whether there are other objects around each object and obtain the detection results; (3.1) Select an object as a reference object and calculate the search range of this object: obtain the preset compensation parameters of all objects and select the maximum value as the possible compensation value a of the adjacent object; obtain all the preset minimum spacing parameters between this object and the surrounding objects of different types and select the maximum value b; obtain the compensation value c of this object; calculate the sum s of the possible compensation value a, the maximum value b and the compensation value c. The search range is a circle with the center point of the object itself as the center and the radius equal to the sum of the radius of the object itself and S; (3.2) Searching according to the calculated search range to determine whether there are other objects around the object; (3.2.1) If there are no other objects within the search range, it means that the object will not cause any spacing problems after compensation, and no further analysis is required; (3.2.2) If there are other objects within the search range, the current position and contour parameters of the object after compensation and the current position and contour parameters of the searched object after compensation are obtained to calculate the compensated distance between the object and the searched object; (3.2.2.1) When the compensated spacing is greater than or equal to the preset spacing threshold, no error is reported; (3.2.2.2) When the distance after compensation is less than the preset distance threshold, an error warning will be given; (3.3) Obtain all error information and generate a test report.

[0005] In a preferred embodiment of the present invention, the PCB design file includes attribute information of all objects in each signal layer and hole layer.

[0006] In a preferred embodiment of the present invention, object types include straight line objects, arc objects, pad objects, string objects, and copper surface objects.

[0007] In a preferred embodiment of the present invention, the dolly object includes a hole dolly and a non-hole dolly.

[0008] In a preferred embodiment of the present invention, when the object is a non-hole pad, the pad diameter compensation parameter of the pad is directly obtained, and the current diameter of the pad after compensation is calculated based on the pad diameter compensation parameter and the original diameter of the pad to obtain the contour range of the current Pad.

[0009] In a preferred embodiment of the present invention, when the object is a straight line object, the current line width and line length parameters and the preset line width compensation and length compensation parameters are directly obtained, and the current line width and line length parameters after compensation of the straight line object are obtained according to the compensation values.

[0010] In a preferred embodiment of the present invention, the position and contour information of the object includes the object position coordinates, object shape, length, width, and diameter information.

[0011] In a preferred embodiment of the present invention, the error message includes the position and contour parameter information of the object and the problem spacing value.

[0012] The beneficial effects of the present invention are: it can detect whether the distances between different types of objects in the current design data meet the minimum spacing requirements after using parameter compensation, can significantly improve the efficiency and accuracy of detection, timely discover problems in design data, reduce the frequency of EQ between customers, MI engineers, and CAM engineers, shorten the EQ time by more than 30%, avoid risk points in subsequent production processes, and be beneficial to subsequent design optimization and improvement of production yield. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which: Figure 1 It is a flow chart of an automatic detection method for object compensation based on CAM of the present invention, which uses a pad as a reference object for detection; Figure 2 It is a schematic diagram of the structure before and after the hole ring compensation in the present invention; Figure 3 It is a schematic diagram of the spacing structure before and after the hole ring compensation in the present invention. DETAILED DESCRIPTION

[0014] The technical solutions in the embodiments of the present invention are described clearly and completely below. 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.

[0015] See also Figure 1-3 , the embodiment of the present invention includes: A CAM-based object compensation automatic detection method, by customizing input parameters and performing simulation analysis and calculation on data information, verifies whether it can meet other customized requirements after using the set of input parameter optimization, and the steps include: (1) Import the odb++ PCB design file into CAM. After importing, you can open the function window of the interface and select the signal layer for analysis. The drill layer information will be automatically captured and searched by the CAM software during the analysis process.

[0016] Among them, PCB design files / materials are usually in the .tgz compressed package format. The design file contains the attribute definition information of all features of each layer, and the feature types can be screened and distinguished based on the definition information.

[0017] (2) Traverse all objects in the signal layer, determine the type of each object, and perform compensation based on the type information. In all the steps of this case, only the compensation information is calculated and the results of the monitoring and analysis are fed back, and the design files / data will not be directly edited or modified based on the compensation.

[0018] (2.1) Obtain the attribute information of each object and determine the type of the object based on the definition in the attribute information.

[0019] Further preferably, the object (feature) types mainly include straight line objects (Line), arc objects (Arc), pad objects (Pad), string objects (Text) and copper surface objects (Surface). In the manufacturing process, it is usually necessary to enlarge and compensate for different objects.

[0020] Further preferably, according to the properties of the pad object Pad, the Pad includes a hole Pad and a non-hole Pad.

[0021] (2.2) According to the type of object, obtain the position and contour parameter information of the object and the corresponding compensation parameter value for compensation. The position information includes the position coordinates, and the contour information includes the shape, length, width, diameter and other information of the object.

[0022] (2.2.1) When the object is a straight line object, arc object, non-hole pad, string object and copper surface object, directly obtain the original position and contour parameters of the object and the preset compensation value of the object, and calculate the current position and contour parameters of the object after compensation based on the original position and contour parameters and the compensation value.

[0023] For example When the object is a non-hole Pad, the Pad diameter compensation d' of the Pad is directly obtained, and the current diameter d'' of the Pad is calculated based on the Pad diameter compensation d' and the original diameter d of the Pad to obtain the contour range of the current Pad after compensation.

[0024] When the object is a Line, directly obtain the current line width and line length values ​​and the preset line width compensation and length compensation, and obtain the current line width and line length parameters of the straight line object after compensation based on the compensation values.

[0025] (2.2.2) When the object is a hole pad: (2.2.2.1) Obtain the original diameter of the pad, the preset diameter compensation d1' of the hole corresponding to the pad, and the preset minimum hole ring value d2'; Among them, the Pad, hole and hole ring are concentric structures, and the hole ring is between the Pad and the hole. That is, the size of the hole ring d2 is the difference between the Pad diameter d and the hole diameter d1 divided by 2. Since the diameter of the Pad is always larger than the diameter of the hole, d2= (d- d1) / 2.

[0026] In addition, the preset compensation parameters can be set according to the process parameters in the factory.

[0027] (2.2.2.2) According to the hole diameter compensation d1', the original hole ring value d2 and the minimum hole ring value d2', the Pad diameter compensation d' and the hole ring difference d2'' between the original hole ring value d2 and the minimum hole ring value d2' are calculated, that is, the sum of the hole diameter compensation d1' and the hole ring difference d2'' is the Pad diameter compensation of the Pad. It is known that the hole ring value d2 before compensation = (d- d1) / 2. When it does not meet the minimum hole ring parameter d2', the hole ring needs to be enlarged by d2-d2', so the Pad diameter compensation d' = d2-d2'+d1'; (2.2.2.3) The current diameter d'' of the Pad is calculated based on the Pad diameter compensation d' and the original diameter d of the Pad to obtain the contour range of the current Pad.

[0028] (3) Search whether there are other objects around the object based on the current position and contour parameter information of the object after compensation.

[0029] (3.1) Calculate the search range of this object Since we don't know what other types of objects we'll encounter around us, the search range is derived by adding up the following: (3.1.1) First, obtain the preset compensation parameters of all types of features, and select the maximum value as the possible compensation value a of the adjacent feature; (3.1.2) Obtain all preset minimum spacing parameters between the object and surrounding objects of different types, and select the maximum value b; (3.1.3) Obtain the compensation value c of this object; (3.1.3) The possible compensation value a, the maximum value b and the sum of the compensation values ​​c are s. The search range is a circle with the center point of the object itself as the center and the sum of the radius of the object itself and S as the radius.

[0030] When the object is a hole Pad, the compensation value is d'.

[0031] Since some adjacent features do not require a compensation value as large as a and a spacing as large as b, even if such features are searched, they can be compensated normally.

[0032] (3.2) Search according to the calculated search range to determine whether there are other objects around the object.

[0033] (3.2.1) If there are no other objects within the search range, it means that the object will not cause any spacing problems after compensation, and no further analysis is required; (3.2.2) If there are other objects within the search range, the current position and contour parameters of the object after compensation and the current position and contour parameters of the searched object after compensation are obtained to calculate the compensated distance between the object and the searched object; (3.2.2.1) When the compensated spacing is greater than or equal to the preset spacing threshold, no error action is performed and steps (1) to (3) are continued; (3.2.2.2) When the compensated spacing is less than the preset spacing threshold, an error warning will be given in the analysis results. The object and the searched object can also be marked at the same time. When the detection is completed, all error / marking information is obtained to generate an error report for engineers to review and modify.

[0034] The error message may include reference pad information, problem object information, spacing value, etc.

[0035] The beneficial effect of the CAM-based object compensation automatic detection method of the present invention is that it can detect whether the distances between different types of objects in the current design data meet the minimum spacing requirements after using parameter compensation, can significantly improve the efficiency and accuracy of detection, timely discover problems with design data, reduce the frequency of EQ between customers, MI engineers, and CAM engineers, shorten the EQ time by more than 30%, avoid risk points in subsequent production processes, and be beneficial to subsequent design optimization and improvement of production yield.

[0036] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A CAM-based object compensation automatic detection method, characterized in that the steps include: (1) Import PCB design files into CAM and perform detection and analysis on the signal layer; (2) Traverse all objects at the signal layer, determine the type of each object, and perform compensation calculations based on the type information; (2.1) Obtain the attribute information of each object and determine the type of the object based on the type definition information in the attribute information; (2.2) According to the type of object, obtain the position and contour parameter information of the object and the corresponding compensation parameter value to perform compensation calculation; (2.2.1) When the object is a straight line object, an arc object, a non-hole pad, a string object, or a copper surface object, directly obtain the original position and contour parameters of the object and the preset compensation value of the object, and calculate the current position and contour parameters of the object after compensation based on the original position and contour parameters and the compensation value; (2.2.2) When the object is a hole washer: obtain the original diameter parameter of the hole washer, the preset diameter compensation parameter of the corresponding hole, the original hole ring value and the preset minimum hole ring parameter, calculate the hole ring difference between the original hole ring value and the minimum hole ring parameter, then the diameter compensation value of the hole washer is the sum of the diameter compensation parameter value of the hole and the hole ring difference; calculate the current diameter parameter of the hole washer after compensation based on the diameter compensation value of the hole washer and the original diameter of the hole washer, thereby obtaining the current position and contour parameters of the hole washer; (3) Detect and determine whether there are other objects around each object and obtain the detection results; (3.1) Select an object as a reference object and calculate the search range of this object: obtain the preset compensation parameters of all objects and select the maximum value as the possible compensation value a of the adjacent object; Obtain all preset minimum spacing parameters between the object and surrounding objects, and select the maximum value b; obtain the compensation value c of the object; calculate the possible compensation value a, the maximum value b, and the sum s of the compensation value c, and the search range is a circle with the center point of the object itself as the center and the sum of the radius of the object itself and S as the radius; (3.2) Searching according to the calculated search range to determine whether there are other objects around the object; (3.2.1) If there are no other objects within the search range, it means that the object will not cause any spacing problems after compensation, and no further analysis is required; (3.2.2) If there are other objects within the search range, the current position and contour parameters of the object after compensation and the current position and contour parameters of the searched object after compensation are obtained to calculate the compensated distance between the object and the searched object; (3.2.2.1) When the compensated spacing is greater than or equal to the preset spacing threshold, no error is reported; (3.2.2.2) When the distance after compensation is less than the preset distance threshold, an error warning will be given; (3.3) Obtain all error information and generate a test report.

2. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: PCB design files include attribute information of all objects in each signal layer and hole layer.

3. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: Object types include line objects, arc objects, pad objects, string objects, and copper surface objects.

4. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: The tray objects include hole trays and non-hole trays.

5. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: When the object is a non-hole pad, the pad diameter compensation parameter of the pad is directly obtained, and the current diameter of the pad after compensation is calculated according to the pad diameter compensation parameter and the original diameter of the pad to obtain the contour range of the current Pad.

6. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: When the object is a straight line object, the current line width and line length parameters and the preset line width compensation and length compensation parameters are directly obtained, and the current line width and line length parameters after compensation of the straight line object are obtained according to the compensation values.

7. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: The position and outline information of the object includes the object position coordinates, object shape, length, width, and diameter information.

8. The object compensation automatic detection method based on CAM according to claim 1, characterized in that: The error message includes the object's position and contour parameter information, and the problem spacing value.

Citation Information

Patent Citations

  • Etching compensation method for high-precision packaging substrate

    CN105072808A

  • Detection and optimization method for automatically moving lines and holes based on CAM system

    CN113657070A

  • Dynamic PCB line compensation optimization method based on CAM

    CN114760758A

  • Circuit board circuit fine compensation method and device, computer equipment and storage medium

    CN115915618A