Back drilling depth automatic acquisition and fool-proof method
The back drilling information table of the Inplan system is exported through a script and matched with the CAM data, and a mapping relationship is established. After performing anti-dust detection, the back drilling depth value is automatically substituted into the CAM data, solving the correctness and efficiency of the back drilling depth value import.
Patent Information
- Application Number
- CN202510015742.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-06-10
AI Technical Summary
In 5G, high-frequency and high-speed circuit applications, the back drilling design parameters in the Inplan system are complex, and traditional manual methods are difficult to ensure the correctness and rapid import of the back drilling depth value.
The back drill information table is exported from the Inplan system through scripts, match the back drill information in the CAM data, establish a mapping relationship between the Inplan system and the CAM, and perform anti-stupid detection of the back drill depth to ensure that it conforms to the logical relationship, and then substitute it into the CAM data.
It realizes the rapid import of back drill depth values of CAM and ensures the correctness of back drill depth values, avoiding the problem of human-generation errors.
Smart Images

Figure CN120124537A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of PCB manufacturing, and more specifically, it relates to a method for automatically obtaining backdrill depth and preventing mistakes. Background Art
[0002] Products with backdrill design usually design relevant process parameters and parameter values in the PCB process in the Inplan system, and then enter the CAM production stage. Since the parameters in the Inplan system cannot be directly read by the CAM system, usually, operators need to manually input the parameters in the Inplan system into the corresponding processes in the CAM system, make CAM graphics through the CAM system, and during the PCB production process, convert the parameters in the CAM system into instructions that the machine tool can understand for auxiliary manufacturing.
[0003] With the development of 5G, high-frequency, and high-speed circuit applications, there are more and more products with backdrill design and they are becoming more and more complex. Therefore, the parameters in the Inplan system are more complex. The traditional manual substitution of the backdrill depth value in the CAM can no longer ensure that the depth value is not mis-entered manually. How to quickly import the backdrill depth value into the CAM and ensure that the backdrill depth value is correctly substituted has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the Invention
[0004] Aiming at the deficiencies of the prior art, the purpose of the present invention is to provide a method for automatically obtaining backdrill depth and preventing mistakes to solve the above technical problems.
[0005] The above technical purpose of the present invention is achieved through the following technical solutions: A method for automatically obtaining backdrill depth and preventing mistakes includes:
[0006] S1. Obtain the backdrill information table of the Inplan system;
[0007] S2. Match the backdrill information in the CAM data according to the layer name information and the corresponding tool diameter data in the backdrill information table, and establish a mapping relationship between the Inplan system and the CAM;
[0008] S3. Judge whether each backdrill depth in the backdrill information table meets the requirements according to the layer name information and the backdrill depth in the backdrill information table. If so, execute step S4; if not, send an alarm message;
[0009] S4. Substitute the backdrill depth in the backdrill information table into the CAM data according to the mapping relationship between the Inplan system and the CAM.
[0010] Specifically, the back drilling information table is exported from the Inplan system through a script. The back drilling information table contains information such as layer name, tool diameter, back drilling angle, back drilling depth, back drilling layer, drill-through layer, and non-drill-through layer. Subsequently, according to the "layer name information" and "tool diameter information" in the back drilling information table, the "back drilling layer naming" and "back drilling tool diameter" in the CAM data are matched in sequence, thereby constructing the mapping relationship between the Inplan system and the CAM. Then, the back drilling depths corresponding to the layer name information in the back drilling information table are judged to determine whether each back drilling depth conforms to the logical relationship of matching the drill-through layers from deep to shallow in descending order, so as to ensure the data correctness of the back drilling information table in the Inplan system; if it is determined that the back drilling depth does not conform to the logical relationship, an alarm message indicating that the back drilling depth of the corresponding layer name information is incorrect will be issued; if it is determined that the back drilling depth conforms to the logical relationship, according to the mapping relationship between the Inplan system and the CAM, the back drilling depth in the back drilling information table is substituted into the CAM data, and the substitution of the back drilling depth in the CAM data can be completed. This application performs anti-fool detection on the back drilling depth of the back drilling information table in the Inplan system through a script, and substitutes the detected back drilling depth that meets the requirements into the CAM data, thereby realizing the rapid import of the back drilling depth value in the CAM and ensuring the correctness of the back drilling depth value.
[0011] Optionally, the judging whether each back drilling depth in the back drilling information table meets the requirements according to the layer name information and the back drilling depth in the back drilling information table includes:
[0012] Obtain the number of drill-through layers according to the layer name information in the back drilling information table;
[0013] Judge whether the back drilling depth corresponding to each layer name information increases as the number of drill-through layers increases according to the number of drill-through layers and the back drilling depth corresponding to all layer name information; if so, it is determined that the back drilling depth corresponding to the layer name information meets the requirements; if not, it is determined that the back drilling depth corresponding to the layer name information does not meet the requirements.
[0014] Specifically, the layer name information generally includes the starting layer and the drill-through layer. According to the starting layer and the drill-through layer, the number of drill-through layers corresponding to the layer name information can be obtained. Generally speaking, the larger the number of drill-through layers, the greater the back drilling depth. Therefore, judge whether the back drilling depth corresponding to each layer name information increases as the number of drill-through layers increases according to the number of drill-through layers and the back drilling depth corresponding to each layer name information. If the back drilling depth corresponding to each layer name information increases as the number of drill-through layers increases, it means that the back drilling depth corresponding to the layer name information meets the requirements; if the back drilling depth corresponding to any layer name information does not increase as the number of drill-through layers increases, it means that the back drilling depth corresponding to the layer name information does not meet the requirements. There is an error in the back drilling depth corresponding to the layer name information in Inplan.
[0015] Optionally, the obtaining the number of drill-through layers according to the layer name information in the back drilling information table includes:
[0016] Obtain the corresponding starting layer and drilling-through layer according to the layer name information in the back drilling information table;
[0017] Calculate the number of drilling-through layers corresponding to the layer name information according to the starting layer and the drilling-through layer.
[0018] Specifically, by identifying the layer name information, the back drilling surface, the back drilling starting layer, the back drilling through layer, and the non-back drilling through layer can be obtained. By performing subtraction based on the starting layer and the drilling-through layer, the number of drilling-through layers corresponding to the layer name information can be obtained. For example, for the layer name information with the layer name 0bdc1-3-4, its back drilling surface is the C surface, the starting layer drills from layer 1, drills through 3 layers, and layer 4 is the non-drilling through layer. Therefore, the number of drilling-through layers corresponding to 0bdc1-3-4 is 3. For the layer name information with the layer name 0bds12-7-6, its back drilling surface is the S surface, the starting layer drills from layer 12, drills through 7 layers, and layer 6 is the non-drilling through layer. Therefore, the number of drilling-through layers corresponding to 0bds12-7-6 is 6.
[0019] Optionally, the step of judging whether the back drilling depth corresponding to each layer name information increases as the number of drilling-through layers increases according to the number of drilling-through layers and the back drilling depth corresponding to all layer name information includes:
[0020] Classify the back drilling information table according to all layer name information, divide the layer name information with the same starting layer into one group, and sort them in ascending order according to the size of the number of drilling-through layers to generate an anti-fooling data table;
[0021] Judge whether the corresponding back drilling depth increases as the number of drilling-through layers increases according to the sorting of the back drilling depths corresponding to each layer name information in the anti-fooling data table.
[0022] Specifically, since the thicknesses of each layer are different, the back drilling depths of different starting layers are related to the number of drilling-through layers. Therefore, first classify the back drilling information table, divide the layer name information with the same starting layer into one group, and then sort the back drilling information tables of each group of layer name information in ascending order according to the size of the number of drilling-through layers to generate an anti-fooling data table. At this time, the back drilling depths corresponding to the layer name information in the anti-fooling data table are sorted according to the size of the number of drilling-through layers. By comparing the back drilling depth corresponding to one layer name information with the back drilling depth corresponding to the previous layer name information or the next layer name information, it can be judged whether the back drilling depth corresponding to each layer name information increases as the number of drilling-through layers increases.
[0023] Optionally, the step of matching the back drilling information in the CAM data according to the layer name information and the corresponding tool diameter data in the back drilling information table and establishing the mapping relationship between the Inplan system and the CAM includes
[0024] Take the layer name information and the corresponding tool diameter data in the back drilling information table as the first string, and take the layer name information and the corresponding tool diameter data in the CAM data as the second string;
[0025] Match the second string that is exactly the same in the CAM data according to the first string in the back drilling information table in sequence, and establish the mapping relationship between the Inplan system and the CAM.
[0026] Specifically, digitalize the layer name information and the corresponding tool diameter data in the back drilling information table to obtain the first string, and digitalize the layer information and the corresponding tool diameter data in the CAM data to obtain the second string. Subsequently, match the second string that is exactly the same according to the first string, and the mapping relationship between the Inplan system and the CAM can be constructed.
[0027] Optionally, substituting the back drilling depth in the back drilling information table into the CAM data according to the mapping relationship between the Inplan system and the CAM includes:
[0028] Match the layer name information of each layer in the back drilling information table to the corresponding layer name information in the CAM data according to the mapping relationship between the Inplan system and the CAM, and substitute the corresponding back drilling depth into the CAM data.
[0029] Specifically, substitute the back drilling depth corresponding to the layer name information in the back drilling information table into the back drilling depth of the same layer information in the CAM data according to the mapping relationship.
[0030] In summary, the present invention has the following beneficial effects: Export the back drilling information table from the Inplan system through a script. The back drilling information table has information such as layer name information, tool diameter information, back drilling angle, back drilling depth, back drilling layer, drill-through layer, and non-drill-through layer. Subsequently, match the "back drilling layer naming" and "back drilling tool diameter" in the CAM data according to the "layer name information" and "tool diameter information" in the back drilling information table in sequence, so as to construct the mapping relationship between the Inplan system and the CAM. Then, judge whether each back drilling depth conforms to the logical relationship of matching the drill-through layers from deep to shallow in descending order for the back drilling depth corresponding to the layer name information in the back drilling information table to ensure the data correctness of the back drilling information table in the Inplan system; if it is determined that the back drilling depth does not conform to the logical relationship, an alarm message indicating that there is an error in the back drilling depth of the corresponding layer name information will be issued; if it is determined that the back drilling depth conforms to the logical relationship, substitute the back drilling depth in the back drilling information table into the CAM data according to the mapping relationship between the Inplan system and the CAM, and the substitution of the back drilling depth in the CAM data can be completed. This application performs anti-fool detection on the back drilling depth of the back drilling information table in the Inplan system through a script, and substitutes the detected back drilling depth that meets the requirements into the CAM data, thereby realizing the rapid import of the back drilling depth value in the CAM and ensuring the correctness of the back drilling depth value. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is the overall structural schematic diagram of the present invention;
[0032] Figure 2 It is a schematic diagram of substituting the back drill information table of the present invention into CAM data;
[0033] Figure 3 It is a schematic diagram of the anti-fooling information table of the present invention. Detailed implementation manners
[0034] To make the objectives, features and advantages of the present invention more obvious and understandable, the following will describe the detailed implementation manners of the present invention with reference to the accompanying drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0035] In the present invention, unless otherwise clearly defined and limited, terms such as "installation", "connection", "connection", "fixation" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.
[0036] The following will describe the present invention in detail with reference to the accompanying drawings and embodiments.
[0037] Embodiment 1
[0038] This embodiment provides a method for automatically obtaining the back drill depth and anti-fooling, as Figures 1-3 shown, including:
[0039] S1. Obtain the back drill information table of the Inplan system;
[0040] S2. Match the back drill information in the CAM data according to the layer name information and the corresponding tool diameter data in the back drill information table, and establish the mapping relationship between the Inplan system and CAM;
[0041] S3. Judge whether the back drill depths in the back drill information table meet the requirements according to the layer name information and the back drill depth in the back drill information table. If so, execute step S4; if not, send an alarm message;
[0042] S4. Substitute the back drill depths in the back drill information table into the CAM data according to the mapping relationship between the Inplan system and CAM.
[0043] Specifically, the backdrill information table is exported from the Inplan system through a script. The backdrill information table contains information such as layer name, tool diameter, backdrill angle, backdrill depth, backdrill layer, drill-through layer, and non-drill-through layer. Subsequently, according to the "layer name information" and "tool diameter information" in the backdrill information table, the "backdrill layer naming" and "backdrill tool diameter" in the CAM data are matched in sequence, thereby constructing the mapping relationship between the Inplan system and CAM. Then, the backdrill depths corresponding to the layer name information in the backdrill information table are judged to determine whether each backdrill depth conforms to the logical relationship of matching the drill-through layers from deep to shallow in descending order, so as to ensure the data correctness of the backdrill information table in the Inplan system; if it is determined that the backdrill depth does not conform to the logical relationship, an alarm message indicating an error in the backdrill depth corresponding to the layer name information will be issued; if it is determined that the backdrill depth conforms to the logical relationship, according to the mapping relationship between the Inplan system and CAM, the backdrill depths in the backdrill information table are substituted into the CAM data, and the substitution of the backdrill depths in the CAM data can be completed. In this application, the backdrill depths in the backdrill information table in the Inplan system are subjected to anti-fool detection through a script, and the qualified backdrill depths after detection are substituted into the CAM data, thereby realizing the rapid import of the backdrill depth value in the CAM and ensuring the correctness of the backdrill depth value.
[0044] Optionally, the judging whether each backdrill depth in the backdrill information table meets the requirements according to the layer name information and backdrill depth in the backdrill information table includes:
[0045] Obtaining the number of drill-through layers according to the layer name information in the backdrill information table;
[0046] Judging whether the backdrill depth corresponding to each layer name information increases as the number of drill-through layers increases according to the number of drill-through layers and backdrill depth corresponding to all layer name information; if so, it is determined that the backdrill depth corresponding to the layer name information meets the requirements; if not, it is determined that the backdrill depth corresponding to the layer name information does not meet the requirements.
[0047] Specifically, the layer name information generally includes the starting layer and the drill-through layer. According to the starting layer and the drill-through layer, the number of drill-through layers corresponding to the layer name information can be obtained. Generally speaking, the larger the number of drill-through layers, the larger the backdrill depth. Therefore, judging whether the backdrill depth corresponding to each layer name information increases as the number of drill-through layers increases according to the number of drill-through layers and backdrill depth corresponding to each layer name information. If the backdrill depth corresponding to each layer name information increases as the number of drill-through layers increases, it means that the backdrill depth corresponding to the layer name information meets the requirements; if the backdrill depth corresponding to any layer name information does not increase as the number of drill-through layers increases, it means that the backdrill depth corresponding to the layer name information does not meet the requirements. There is an error in the backdrill depth corresponding to the layer name information in Inplan.
[0048] Optionally, the obtaining the number of drill-through layers according to the layer name information in the backdrill information table includes:
[0049] Obtain the corresponding starting layer and drilling-through layer according to the layer name information in the back-drilling information table;
[0050] Calculate the number of drilling-through layers corresponding to the layer name information according to the starting layer and the drilling-through layer.
[0051] Specifically, by identifying the layer name information, the back-drilling surface, the back-drilling starting layer, the back-drilling through layer, and the non-back-drilling layer can be obtained. By subtracting the starting layer from the drilling-through layer, the number of drilling-through layers corresponding to the layer name information can be obtained. For example, for the layer name information with the layer name 0bdc1-3-4, its back-drilling surface is the C surface, the starting layer drills down from layer 1, drills through 3 layers, and layer 4 is the non-drilling layer. Therefore, the number of drilling-through layers corresponding to 0bdc1-3-4 is 3. For the layer name information with the layer name 0bds12-7-6, its back-drilling surface is the S surface, the starting layer drills down from layer 12, drills through 7 layers, and layer 6 is the non-drilling layer. Therefore, the number of drilling-through layers corresponding to 0bds12-7-6 is 6.
[0052] Optionally, determining whether the back-drilling depth corresponding to each layer name information increases as the number of drilling-through layers increases according to the number of drilling-through layers and the back-drilling depth corresponding to all layer name information includes:
[0053] Classify the back-drilling information table according to all layer name information, divide the layer name information with the same starting layer into one group, and sort them in ascending order according to the number of drilling-through layers to generate an anti-fooling data table;
[0054] Judge whether the corresponding back-drilling depth increases as the number of drilling-through layers increases according to the sorting of the back-drilling depths corresponding to each layer name information in the anti-fooling data table.
[0055] Specifically, since the thicknesses of each layer are different, the back-drilling depths of different starting layers are related to the number of drilling-through layers. Therefore, first classify the back-drilling information table, divide the layer name information with the same starting layer into one group, and then sort the back-drilling information tables of each group of layer name information in ascending order according to the number of drilling-through layers to generate an anti-fooling data table. At this time, the back-drilling depths corresponding to the layer name information in the anti-fooling data table are sorted according to the number of drilling-through layers. By comparing the back-drilling depth corresponding to one layer name information with the back-drilling depth corresponding to the previous layer name information or the next layer name information, it can be judged whether the back-drilling depth corresponding to each layer name information increases as the number of drilling-through layers increases.
[0056] Embodiment 2
[0057] This embodiment provides a method for automatically obtaining the back-drilling depth and anti-fooling, as Figures 1-3 shown, including:
[0058] S1. Obtain the back-drilling information table of the Inplan system;
[0059] S2. Match the back drilling information in the CAM data according to the layer name information and the corresponding tool diameter data in the back drilling information table, and establish the mapping relationship between the Inplan system and the CAM;
[0060] S3. Judge whether the back drilling depths in the back drilling information table meet the requirements according to the layer name information and the back drilling depth in the back drilling information table. If so, execute step S4; if not, send an alarm message;
[0061] S4. Substitute the back drilling depth in the back drilling information table into the CAM data according to the mapping relationship between the Inplan system and the CAM.
[0062] Specifically, export the back drilling information table from the Inplan system through a script. The back drilling information table contains information such as layer name information, tool diameter information, back drilling angle, back drilling depth, back drilling layer, drill-through layer, and non-drill-through layer. Subsequently, match the "back drilling layer naming" and "back drilling tool diameter" in the CAM data according to the "layer name information" and "tool diameter information" in the back drilling information table in sequence, so as to construct the mapping relationship between the Inplan system and the CAM. Then, judge whether each back drilling depth meets the logical relationship of matching the drill-through layers from deep to shallow in descending order according to the back drilling depth corresponding to the layer name information in the back drilling information table, so as to ensure the data correctness of the back drilling information table in the Inplan system; if it is determined that the back drilling depth does not meet the logical relationship, an alarm message indicating that the back drilling depth of the corresponding layer name information is incorrect will be sent; if it is determined that the back drilling depth meets the logical relationship, substitute the back drilling depth in the back drilling information table into the CAM data according to the mapping relationship between the Inplan system and the CAM, and the substitution of the back drilling depth in the CAM data can be completed. This application performs anti-fool detection on the back drilling depth of the back drilling information table in the Inplan system through a script, and substitutes the detected back drilling depth that meets the requirements into the CAM data, so as to realize the rapid import of the back drilling depth value in the CAM and ensure the correctness of the back drilling depth value.
[0063] Optionally, the judging whether the back drilling depths in the back drilling information table meet the requirements according to the layer name information and the back drilling depth in the back drilling information table includes:
[0064] Obtain the number of drill-through layers according to the layer name information in the back drilling information table;
[0065] Judge whether the back drilling depth corresponding to each layer name information increases as the number of drill-through layers increases according to the number of drill-through layers and the back drilling depth corresponding to all layer name information; if so, determine that the back drilling depth corresponding to the layer name information meets the requirements; if not, determine that the back drilling depth corresponding to the layer name information does not meet the requirements.
[0066] Specifically, the layer name information generally includes the starting layer and the drilled-through layer. Based on the starting layer and the drilled-through layer, the number of drilled-through layers corresponding to the layer name information can be obtained. Generally speaking, the greater the number of drilled-through layers, the greater the back-drilling depth. Therefore, according to the number of drilled-through layers and the back-drilling depth corresponding to each layer name information, it is judged whether the back-drilling depth corresponding to each layer name information increases as the number of drilled-through layers increases. If the back-drilling depth corresponding to each layer name information increases as the number of drilled-through layers increases, it indicates that the back-drilling depth corresponding to the layer name information meets the requirements; if the back-drilling depth corresponding to any layer name information does not increase as the number of drilled-through layers increases, it indicates that the back-drilling depth corresponding to the layer name information does not meet the requirements. There is an error in the back-drilling depth corresponding to the layer name information in Inplan.
[0067] Optionally, obtaining the number of drilled-through layers according to the layer name information in the back-drilling information table includes:
[0068] Obtaining the corresponding starting layer and drilled-through layer according to the layer name information in the back-drilling information table;
[0069] Calculating the number of drilled-through layers corresponding to the layer name information according to the starting layer and the drilled-through layer.
[0070] Specifically, by identifying the layer name information, the back-drilling surface, the back-drilling starting layer, the back-drilling drilled-through layer, and the non-drilled-through layer can be obtained. By performing subtraction based on the starting layer and the drilled-through layer, the number of drilled-through layers of the layer name information can be obtained. For example, for the layer name information with the layer name 0bdc1-3-4, its back-drilling surface is the C surface, the starting layer drills down from layer 1, drills through 3 layers, and layer 4 is the non-drilled-through layer. Therefore, the number of drilled-through layers corresponding to 0bdc1-3-4 is 3. For the layer name information with the layer name 0bds12-7-6, its back-drilling surface is the S surface, the starting layer drills down from layer 12, drills through 7 layers, and layer 6 is the non-drilled-through layer. Therefore, the number of drilled-through layers corresponding to 0bds12-7-6 is 6.
[0071] Optionally, judging whether the back-drilling depth corresponding to each layer name information increases as the number of drilled-through layers increases according to the number of drilled-through layers and the back-drilling depth corresponding to all layer name information includes:
[0072] Classifying the back-drilling information table according to all layer name information, dividing the layer name information with the same starting layer into one group, and sorting them in ascending order according to the size of the number of drilled-through layers to generate an anti-fooling data table;
[0073] Judging whether the corresponding back-drilling depth increases as the number of drilled-through layers increases according to the sorting of the back-drilling depth corresponding to each layer name information in the anti-fooling data table.
[0074] Specifically, due to the different thicknesses of each layer, the backdrill depth of different starting layers is related to the number of layers to be drilled through. Therefore, the backdrill information table is first classified, and the layer name information of the same starting layer is grouped together. Then, the backdrill information table of each group of layer name information is sorted in ascending order according to the number of layers to be drilled through, generating a foolproof data table. At this time, the backdrill depths corresponding to the layer name information in the foolproof data table are sorted according to the number of layers to be drilled through. By comparing the backdrill depth corresponding to one layer name information with the backdrill depth corresponding to the previous or next layer name information, it can be determined whether the backdrill depth corresponding to each layer name information increases as the number of layers to be drilled through increases.
[0075] Optionally, the matching of the backdrill information in the CAM data according to the layer name information and the corresponding tool diameter data in the backdrill information table to establish the mapping relationship between the Inplan system and the CAM includes
[0076] Taking the layer name information and the corresponding tool diameter data in the backdrill information table as the first string, and taking the layer name information and the corresponding tool diameter data in the CAM data as the second string;
[0077] Sequentially matching the first string in the backdrill information table with the exactly same second string in the CAM data to establish the mapping relationship between the Inplan system and the CAM.
[0078] Specifically, the layer name information and the corresponding tool diameter data in the backdrill information table are processed data-wise to obtain the first string, and the layer information and the corresponding tool diameter data in the CAM data are processed data-wise to obtain the second string. Subsequently, by matching the second string that is exactly the same as the first string, the mapping relationship between the Inplan system and the CAM can be constructed.
[0079] Optionally, the substituting of the backdrill depth in the backdrill information table into the CAM data according to the mapping relationship between the Inplan system and the CAM includes:
[0080] According to the mapping relationship between the Inplan system and the CAM, matching the layer name information of each layer in the backdrill information table to the corresponding layer name information in the CAM data, and substituting the corresponding backdrill depth into the CAM data.
[0081] Specifically, substituting the backdrill depth corresponding to the layer name information in the backdrill information table into the backdrill depth of the same layer information in the CAM data.
[0082] The above are only the preferred embodiments of the present invention. The protection scope of the present invention is not limited to the above embodiments. Any technical solutions falling within the concept of the present invention belong to the protection scope of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements should also be regarded as within the protection scope of the present invention.
Claims
1. A method for automatically acquiring back drilling depth and preventing mistakes, characterized in that: include: S1. Obtain the backdrill information table of the Inplan system; S2, matching the back drilling information in the CAM data according to the middle layer name information and the corresponding tool radius data in the back drilling information table, and establishing a mapping relationship between the Inplan system and the CAM; S3, judging whether each backdrill depth in the backdrill information table meets the requirements according to the middle layer name information and the backdrill depth in the backdrill information table, if yes, executing step S4; if no, issuing an alarm message; S4. According to the mapping relationship between the Inplan system and the CAM, the backdrill depth in the backdrill information table is substituted into the CAM data.
2. The method for automatically acquiring and preventing back drilling depth according to claim 1, characterized in that: The step of judging whether each backdrill depth in the backdrill information table meets the requirements according to the middle layer name information and the backdrill depth in the backdrill information table includes: Get the number of drilled layers according to the layer name information in the backdrill information table; According to the number of drilled layers and back-drill depth corresponding to all layer name information, it is determined whether the back-drill depth corresponding to each layer name information increases as the number of drilled layers increases; if so, it is determined that the back-drill depth corresponding to the layer name information meets the requirements; if not, it is determined that the back-drill depth corresponding to the layer name information does not meet the requirements.
3. The method for automatically acquiring and preventing back drilling depth according to claim 2, characterized in that: The step of obtaining the number of drilled layers according to the layer name information in the backdrill information table includes: Obtain the corresponding starting layer and drilling layer according to the layer name information in the back drilling information table; The number of drilled layers corresponding to the layer name information is calculated based on the starting layer and the drilled layer.
4. The method for automatically acquiring and preventing back drilling depth according to claim 3 is characterized in that: The step of judging whether the back drilling depth corresponding to each layer name information increases as the number of drilled layers increases according to the number of drilled layers and the back drilling depth corresponding to all the layer name information includes: Classify the back drilling information table according to all layer name information, divide the layer name information of the same starting layer into one group, and sort them in order from small to large according to the number of layers drilled through, to generate a foolproof data table; According to the back drilling depth sorting corresponding to each layer name information in the foolproof data table, it is judged whether the corresponding back drilling depth increases with the increase of the number of drilled layers.
5. The method for automatically acquiring and preventing back drilling depth according to claim 1, characterized in that: The back drilling information in the CAM data is matched according to the middle-level name information in the back drilling information table and the corresponding tool radius data, and a mapping relationship between the Inplan system and the CAM is established, including The layer name information and the corresponding tool radius data in the back drilling information table are used as the first character string, and the layer name information and the corresponding tool radius data in the CAM data are used as the second character string; The mapping relationship between the Inplan system and the CAM is established by matching the first character string in the backdrill information table with the second character string in the CAM data.
6. The method for automatically acquiring and preventing back drilling depth according to claim 5, characterized in that: Substituting the backdrill depth in the backdrill information table into the CAM data according to the mapping relationship between the Inplan system and the CAM includes: According to the mapping relationship between the Inplan system and the CAM, each layer name information in the backdrill information table is matched to the corresponding layer name information in the CAM data, and the corresponding backdrill depth is substituted into the CAM data.