A tool space automatic detection method and device through NX secondary development

The tool space automatic detection method developed through NX secondary development solves the problems of missed detection and low efficiency in the inspection of tool installation space in whole vehicle process analysis, realizes automated detection, and improves inspection efficiency and accuracy.

CN116415037BActive Publication Date: 2026-04-21SHENZHEN LANYOU TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LANYOU TECHNOLOGY CO LTD
Filing Date
2022-01-05
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, the inspection of tool installation space in vehicle process analysis suffers from problems such as manual omissions, repetitive work, and low efficiency.

Method used

A method and apparatus for automatically detecting tool space through NX secondary development, including inputting the BOP structure tree, filtering tools and component objects, calculating component spacing, judging interference, and outputting detection results.

Benefits of technology

It enables rapid initial inspection of the tool space, reduces missed inspections and repetitive operations, improves inspection efficiency by more than 80%, and lowers the CAD skill requirements for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116415037B_ABST
    Figure CN116415037B_ABST
Patent Text Reader

Abstract

This invention discloses an automatic tool space detection method and apparatus developed using NX secondary development. The automatic tool space detection method includes: inputting a BOP (Browser Object Structure) structure tree and extracting BOP structure information as input; automatically filtering tool and component objects and excluding irrelevant information, and recreating the BOP based on the filtering results; loading data; calculating the distance between components and completed assemblies; loading standard parts as assembly objects, reading entity and / or sheet data within the assembly, and determining the model of the standard parts; loading assemblies and peripheral parts for the process according to the model; and outputting the detection results. The beneficial effects of this invention are: utilizing automated software to achieve rapid initial tool space inspection, and allowing manual confirmation of NG (Not From Good) items under software guidance, greatly reducing missed inspections and repetitive operations. In practical applications, this can achieve an efficiency improvement of over 80%, while also providing a high degree of automation, reducing the CAD skill requirements for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of vehicle process analysis, and more specifically, to an automatic detection method and device for tool space through NX secondary development. Background Technology

[0002] In vehicle process analysis, it's necessary to check whether the installation space for tools meets standards. For example, in the final assembly area, is the distance between the electric arc gun for fasteners and surrounding parts reasonable? As a general standard, it involves numerous parts, many repetitive operations, and strong logical patterns in the inspection process.

[0003] The general process flow of existing technologies is as follows:

[0004] 1. Load the vehicle data into the CAD software according to the sequence of processes;

[0005] 2. If the process requires the use of installation tools, load the tool model and place it at the installation location;

[0006] 3. Adjust the installation posture based on manual experience, and measure the minimum distance between the tools and surrounding parts;

[0007] 4. Determine if the distance meets the standard. If not, take a screenshot and output it to Excel.

[0008] The problems arising from this are: manual inspection is prone to omissions, involves a lot of repetitive work, has low inspection efficiency, and is time-consuming. Summary of the Invention

[0009] This invention provides an automatic toolspace detection method and apparatus developed using NX, which solves the problems of missed detections, repetitive work, low efficiency, and high time consumption in existing manual inspection techniques.

[0010] To address the aforementioned problems, this invention provides a method for automatic toolspace detection via NX secondary development, comprising the following steps:

[0011] S1. Input the BOP structure tree and extract the BOP structure information as input information;

[0012] S2. Automatically filter component objects and exclude irrelevant information from the detection, then recreate the BOP based on the filtering results;

[0013] S3, Load data;

[0014] S4. Calculate the distance between the component and the assembly of the completed process, and determine the component with a distance of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then determine the component as a standard component.

[0015] S5. Load standard parts to assemble objects, read the entity and / or sheet data within the assembly, and determine the model of the standard parts;

[0016] S6. Assemblies and peripheral parts for loading processes according to model;

[0017] S7. Output the detection results.

[0018] Step S3 includes the following steps:

[0019] S31, Load only the BOP structure;

[0020] S32, Loading pipe control unit;

[0021] S33. Record the component enclosure or assembly name information;

[0022] S34. Unload data;

[0023] S35. Repeatedly load the control unit until all data has been processed.

[0024] Step S6 includes the following steps:

[0025] S61. Determine whether the tool interferes with the surrounding parts. If there is no interference, the check is passed. If there is interference, rotate the tool 30° around the mounting axis and measure the distance again.

[0026] S62. If the requirement is not met after one rotation, record it as NG;

[0027] Under S63 and NG conditions, measure the minimum distance between the component and surrounding components.

[0028] Step S7 includes the following steps:

[0029] S71. Generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment results to display the process and assembly, and jump to the results view;

[0030] S72. Output the judgment result and view screenshot to the Excel template.

[0031] On the one hand, an automatic toolspace detection device developed using NX is provided, comprising:

[0032] The extraction module is used to input the BOP structure tree and extract the BOP structure information as input information;

[0033] The filtering module is used to automatically filter tools and component objects, exclude irrelevant information from the detection, and recreate the BOP based on the filtering results;

[0034] The data loading module is used to load data;

[0035] The spacing calculation module is used to calculate the spacing between the component and the assembly of the completed process, and to determine the component with a spacing of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then the component is determined to be a standard component.

[0036] The determination module is used to load standard parts to assemble objects, read entity and / or sheet data within the assembly, and determine the model of the standard parts;

[0037] The process loading module is used to load the assembly parts and peripheral parts for the process according to the model.

[0038] The output module is used to output the detection results.

[0039] The data loading module includes:

[0040] The structure loading submodule is used to load only BOP structures;

[0041] The tube control loading submodule is used to load tube control units;

[0042] The recording submodule is used to record component enclosure or assembly name information;

[0043] The unload submodule is used to unload data;

[0044] The reload module is used to repeatedly load the control unit until all data has been processed.

[0045] The process loading module includes:

[0046] The judgment submodule is used to determine whether there is interference between the tool and the surrounding parts. If there is no interference, the check passes; if there is interference, the tool is rotated 30° around the mounting axis and the distance is measured again.

[0047] The recording submodule is used to record an error as NG if the requirement is not met after one full rotation.

[0048] The measurement submodule is used to measure the minimum distance between the component and its surrounding parts in NG (Not Given) conditions.

[0049] The output module includes:

[0050] The generation submodule is used to generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment result, display the process and assembly, and jump to the result view;

[0051] The results output submodule is used to output the judgment results and view screenshots to an Excel template.

[0052] On one hand, a computer-readable storage medium is provided, characterized in that the storage medium stores a plurality of instructions adapted for loading by a processor to execute an automatic toolspace detection method developed via NX as described above.

[0053] The beneficial effects of this invention are:

[0054] By using automated software to quickly perform initial checks on the tool space, and then manually confirming NG items under the guidance of the software, the number of missed checks and repetitive operations is greatly reduced. In practical applications, efficiency can be improved by more than 80%. At the same time, the high degree of automation reduces the CAD skill requirements for users. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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 effort.

[0056] Figure 1 This is a flowchart of an automatic toolspace detection method provided by the present invention through NX secondary development. Detailed Implementation

[0057] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0058] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0059] In this invention, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0060] See Figure 1 , Figure 1 This is a flowchart illustrating an automatic toolspace detection method using NX secondary development, as provided by this invention. The purpose of this invention is to automate toolspace analysis based on NX secondary development, reducing the workload of manual inspection and replacing a large amount of repetitive manual work. This improves the accuracy and efficiency of production component inspection.

[0061] The role of NX secondary development is as follows: Siemens CAD software NX provides a library of functions for 3D data calculation, which parameterizes the manual inspection method in tool space and transforms it into program execution logic.

[0062] This invention provides an automatic toolspace detection method through NX secondary development, including steps S1-S77:

[0063] S1. Input the BOP structure tree and extract the BOP structure information as input information;

[0064] In this embodiment, the user inputs a BOP structure tree, and the program automatically extracts the BOP structure information, including BOM Line, item id, name, object type, etc., as input information for subsequent fastener identification. The prerequisites for this method are: the engineer has already completed the process layout and component / equipment / tool ​​allocation of the BOP in the PLM system, and the vehicle data type is either solid or sheet-like.

[0065] S2. Automatically filter component objects and exclude irrelevant information from the detection, then recreate the BOP based on the filtering results;

[0066] In this embodiment, the program automatically filters tools and component objects, excluding irrelevant information such as factory equipment. To avoid modifying the original BOP, a new BOP is created based on the filtering results.

[0067] S3, Load Data; Step S3 includes steps S31-S35:

[0068] S31, Load only the BOP structure;

[0069] S32, Loading pipe control unit;

[0070] S33. Record the component enclosure or assembly name information;

[0071] S34. Unload data;

[0072] S35. Repeatedly load the control unit until all data has been processed.

[0073] In this embodiment, the loading of assembly data for the final vehicle assembly is very slow, especially since online data needs to be downloaded via PLM. If the positional relationships are calculated based on the entity objects after the data is loaded, the overall efficiency is unacceptably low. The data loading logic is as follows: only load the BOP structure -> load the pipe control unit -> record the component bounding box / assembly name information -> unload the data -> repeat loading the pipe control unit until all data is processed.

[0074] At the same time, NX retrieves TCM data, records the position information of the component bounding box, and suppresses the data after recording to ensure computing space.

[0075] S4. Calculate the distance between the component and the assembly of the completed process, and determine the component with a distance of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then determine the component as a standard component.

[0076] In this embodiment, the peripheral parts of the calculation process are determined based on the enclosure boxes of the assemblies under the process. The distance between the enclosure boxes and the enclosure boxes of the completed processes is calculated, and the parts corresponding to the enclosure boxes with a distance of less than 100mm are identified as peripheral parts. Assemblies whose names contain the keywords BOLT and NUT, and whose enclosure box dimensions are less than 20mm, are identified as standard parts.

[0077] S5. Load standard parts to assemble objects, read the entity and / or sheet data within the assembly, and determine the model of the standard parts.

[0078] In this embodiment, the information extracted and judged in steps S1-4 is output to the database to provide a basis for subsequent calculations and result reuse. The user selects the production line process to be inspected or defaults to all processes. Based on the standard part object judgment result in step S4, the standard part assembly object is loaded, and the entity / piece data within the assembly is read. Different detection methods are implemented for different standard part types. Taking a fastening bolt as an example, reference planes are made at both ends of the long axis of the enclosure box. The intersection at one end yields the arc surface of the screw, and the intersection at the other end yields the plane of the hexagonal head. The standard part model is determined based on the size of the hexagonal head and the radius of the screw, and the hexagonal head plane is used as the mounting surface.

[0079] S6. Loading process components and peripheral parts according to model; Step S6 includes steps S61-S63:

[0080] S61. Determine whether the tool interferes with the surrounding parts. If there is no interference, the check is passed. If there is interference, rotate the tool 30° around the mounting axis and measure the distance again.

[0081] S62. If the requirement is not met after one rotation, record it as NG;

[0082] Under S63 and NG conditions, measure the minimum distance between the component and surrounding components.

[0083] In this embodiment, based on the model calculated in step S5, the tool set in the BOP is used preferentially. If no setting is available, the tool is loaded according to the rule configuration table. The tool is moved to the fastener installation position in step S5, and the tool model is enlarged according to the spacing standard. Subsequent calculations are performed based on the enlarged model. Furthermore, for the loading process of the assemblies and peripheral parts, to improve the calculation efficiency, the operating logic is as follows: determine whether there is interference between the tool and the peripheral parts. If there is no interference, the check passes. If there is interference, rotate 30° around the installation axis and measure the distance again. If the requirement is still not met after one rotation, it is recorded as NG. In the case of NG, measure the minimum distance between the tool and the peripheral parts.

[0084] S7. Output the detection results. Step S7 includes steps S71-S72:

[0085] S71. Generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment results to display the process and assembly, and jump to the results view.

[0086] In this embodiment, a PMI result is generated for the ranging result in step S6, and the judgment result of the fastener is output to the tree list on the interface. When the process judgment result is clicked, the program only displays the process and the assembly, and jumps to the result in the view.

[0087] S72. Output the judgment result and view screenshot to the Excel template.

[0088] In this embodiment, the judgment result and view screenshot are output to an Excel template.

[0089] This invention also provides an automatic toolspace detection device developed using NX, comprising:

[0090] The extraction module is used to input the BOP structure tree and extract the BOP structure information as input information;

[0091] The filtering module is used to automatically filter tools and component objects, exclude irrelevant information from the detection, and recreate the BOP based on the filtering results;

[0092] The data loading module is used to load data;

[0093] The spacing calculation module is used to calculate the spacing between the component and the assembly of the completed process, and to determine the component with a spacing of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then the component is determined to be a standard component.

[0094] The determination module is used to load standard parts to assemble objects, read entity and / or sheet data within the assembly, and determine the model of the standard parts;

[0095] The process loading module is used to load the assembly parts and peripheral parts for the process according to the model.

[0096] The output module is used to output the detection results.

[0097] The data loading module includes:

[0098] The structure loading submodule is used to load only BOP structures;

[0099] The tube control loading submodule is used to load tube control units;

[0100] The recording submodule is used to record component enclosure or assembly name information;

[0101] The unload submodule is used to unload data;

[0102] The reload module is used to repeatedly load the control unit until all data has been processed.

[0103] The process loading module includes:

[0104] The judgment submodule is used to determine whether there is interference between the tool and the surrounding parts. If there is no interference, the check passes; if there is interference, the tool is rotated 30° around the mounting axis and the distance is measured again.

[0105] The recording submodule is used to record an error as NG if the requirement is not met after one full rotation.

[0106] The measurement submodule is used to measure the minimum distance between the component and its surrounding parts in NG (Not Given) conditions.

[0107] The output module includes:

[0108] The generation submodule is used to generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment result, display the process and assembly, and jump to the result view;

[0109] The results output submodule is used to output the judgment results and view screenshots to an Excel template.

[0110] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. Therefore, embodiments of the present invention provide a storage medium storing multiple instructions that can be loaded by a processor to execute the steps in any of the toolspace automatic detection methods provided by the embodiments of the present invention through NX secondary development.

[0111] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0112] Since the instructions stored in the storage medium can execute the steps in any of the toolspace automatic detection methods provided by the NX secondary development provided in the embodiments of the present invention, the beneficial effects that any of the toolspace automatic detection methods provided by the NX secondary development provided in the embodiments of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0113] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for automatic detection of toolspace through NX secondary development, characterized in that, Including the following steps: S1. Input the BOP structure tree and extract the BOP structure information as input information; S2. Automatically filter component objects and exclude irrelevant information from the detection, then recreate the BOP based on the filtering results; S3, Load data; S4. Calculate the distance between the component and the assembly of the completed process, and determine the component with a distance of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then determine the component as a standard component. S5. Load standard parts to assemble objects, read the entity and / or sheet data within the assembly, and determine the model of the standard parts; S6. Assembly parts and peripheral components for loading processes according to model; S7. Output the detection results.

2. The tool space automatic detection method according to claim 1, characterized in that, Step S3 includes the following steps: S31, only load the BOP structure; S32, Loading pipe control unit; S33. Record the component enclosure or assembly name information; S34. Unload data; S35. Repeatedly load the tube control unit until all data has been processed.

3. The tool space automatic detection method according to claim 2, characterized in that, Step S6 includes the following steps: S61. Determine whether the tool interferes with the surrounding parts. If there is no interference, the check is passed. If there is interference, rotate the tool 30° around the mounting axis and measure the distance again. S62. If the requirement is not met after one rotation, record it as NG; Under S63 and NG conditions, measure the minimum distance between the component and surrounding components.

4. The automatic tool space detection method according to claim 3, characterized in that, Step S7 includes the following steps: S71. Generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment results to display the process and assembly, and jump to the results view; S72. Output the judgment result and view screenshot to the Excel template.

5. An automatic toolspace detection device developed using NX secondary development, characterized in that, include: The extraction module is used to input the BOP structure tree and extract the BOP structure information as input information; The filtering module is used to automatically filter tools and component objects, exclude irrelevant information from the detection, and recreate the BOP based on the filtering results; The data loading module is used to load data; The spacing calculation module is used to calculate the spacing between the component and the assembly of the completed process, and to determine the component with a spacing of less than 100mm as a peripheral component; if the assembly name of the component contains the keywords BOLT\NUT, and the length, width and height of the component's enclosure are all less than 20mm, then the component is determined to be a standard component. The determination module is used to load standard parts to assemble objects, read entity and / or sheet data within the assembly, and determine the model of the standard parts; The process loading module is used to load the assembly parts and peripheral parts for the process according to the model. The output module is used to output the detection results.

6. The tool space automatic detection device according to claim 5, characterized in that, The data loading module includes: The structure loading submodule is used to load only BOP structures; The tube control loading submodule is used to load tube control units; The recording submodule is used to record component enclosure or assembly name information; The unload submodule is used to unload data; The reload module is used to repeatedly load the control unit until all data has been processed.

7. The tool space automatic detection device according to claim 6, characterized in that, The process loading module includes: The judgment submodule is used to determine whether there is interference between the tool and the surrounding parts. If there is no interference, the check passes; if there is interference, the tool is rotated 30° around the mounting axis and the distance is measured again. The recording submodule is used to record an error as NG if the requirement is not met after one full rotation. The measurement submodule is used to measure the minimum distance between the component and its surrounding parts in NG (Not Given) conditions.

8. The tool space automatic detection device according to claim 7, characterized in that, The output module includes: The generation submodule is used to generate PMI results from the ranging results, output the fastener judgment results to the tree list on the interface, click on the process judgment result, display the process and assembly, and jump to the result view; The results output submodule is used to output the judgment results and view screenshots to an Excel template.

9. A computer-readable storage medium, characterized in that, The storage medium stores multiple instructions, which are adapted to be loaded by a processor to execute the toolspace automatic detection method according to any one of claims 1 to 4 via NX secondary development.

Citation Information

Patent Citations

  • Clearance check method, clearance check device and non-transitory computer-readable storage medium

    CN108090243A