Tool measurement method and system based on UG / NX software

By using reverse scanning and automatic measurement algorithms in UG/NX software, the complexity and accuracy issues of existing tool measurement methods have been resolved, achieving efficient and accurate tool measurement and improving the economic benefits of enterprises.

CN115200521BActive Publication Date: 2026-05-12XIAMEN GOLDEN EGRET SPECIAL ALLOY
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAMEN GOLDEN EGRET SPECIAL ALLOY
Filing Date
2022-05-27
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing tool measurement methods are complex to operate and require the use of multiple testing devices, resulting in low measurement accuracy and incomplete data, making it impossible to accurately obtain the match between theoretical design and actual product.

Method used

Tool point cloud data is acquired using a reverse scanning device based on UG/NX software to create a model. The software then uses an automatic measurement algorithm to automatically measure static and non-installation dimensions, reducing reliance on equipment and improving measurement accuracy and efficiency.

Benefits of technology

It simplifies the measurement process, reduces systematic errors, improves the accuracy and efficiency of measurement data, reduces labor costs, and enhances product quality and corporate economic benefits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115200521B_ABST
    Figure CN115200521B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of tool measuring method and system based on UG / NX software, based on UG / NX software, comprising: the tool model created after using reverse scanning device to scan cutting tool is obtained;Obtain the key features of the cutting tool set;Obtain the key parameters of the cutting tool set;Based on the tool model, key features and key parameters, using static installation size automatic measurement algorithm and / or static non-installation size automatic measurement algorithm, the automatic measurement calculation of static installation geometric dimension and / or static non-installation geometric dimension of cutting tool is carried out on the tool model;Output the measurement data calculated by static installation size automatic measurement algorithm and / or static non-installation size automatic measurement algorithm.The present application combines reverse scanning and UG / NX software, can greatly improve the measurement accuracy and measurement efficiency of tool, improve product quality, bring more economic benefits for enterprise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tool measurement technology, and specifically to a tool measurement method and system based on UG / NX software. Background Technology

[0002] With the transformation and upgrading of the manufacturing industry, cutting tool manufacturing technology is also constantly developing. Typically, to verify whether the actual tool product matches the theoretical tool design concept, it is necessary to measure the tool's dimensions, including the cutting edge and flute shape. Existing conventional measurement methods can be found in [link to relevant documentation]. Figure 1 As shown, different types of dimensional measurements require the use of different inspection equipment. After determining the measuring equipment, the cutting tool is mounted on the equipment or inspection fixture. For example, 1) Static installation dimensions such as diameter, runout, installation rake angle, installation clearance angle, and installation cutting edge width require the use of a tool pre-adjustment device. However, due to the limited measurement range of the pre-adjustment device, some types of cutting tools cannot be measured. 2) Static non-installation dimensions such as non-installation rake angle, non-installation clearance angle, non-installation cutting edge width, length, width, and tool tip height require the use of multiple inspection devices such as vernier calipers, micrometers, height gauges, video measuring instruments, and profilometers. For some groove dimensions, if multiple points of data need to be measured, repeated measurements at different points are also required. Finally, the measurement data is manually collected and entered into a computer for data analysis, thereby optimizing the dimensions of the cutting tool products.

[0003] Existing tool measurement methods have the following problems:

[0004] (1) The operation steps are complicated. Different types of tool dimensions require different testing equipment for measurement, which requires a high level of proficiency in operating the equipment.

[0005] (2) The accuracy is low. Due to systematic errors in the testing equipment, testing tools and testing personnel, it is difficult to guarantee the accuracy of the measurement data.

[0006] (3) Limited measurement data. Due to the limited ability of manual measurement, it is impossible to accurately determine whether the theoretical tool design concept and the actual tool product are completely consistent. Summary of the Invention

[0007] The purpose of this invention is to overcome the shortcomings of the prior art and provide a tool measurement method and system based on UG / NX software. After acquiring complete point cloud data of the tool using a reverse scanning device, a tool model is created. The complex and repetitive measurement calculation operations are processed by a computer and the data is summarized. There is no need to use various testing equipment, which can significantly improve the measurement accuracy and efficiency of the tool, improve product quality, and bring more economic benefits to enterprises.

[0008] To achieve the above objectives, the technical solution of the present invention is as follows:

[0009] On the one hand, a tool measurement method based on UG / NX software, which includes:

[0010] Obtain the tool model created after scanning the cutting tool using a reverse scanning device;

[0011] Obtain the key features of the set cutting tool;

[0012] Obtain the key parameters of the set cutting tool;

[0013] Based on the tool model, key features, and key parameters, the static mounting dimension automatic measurement algorithm and / or static non-mounting dimension automatic measurement algorithm are used to automatically measure and calculate the static mounting geometry and / or static non-mounting geometry of the cutting tool on the tool model.

[0014] Output measurement data calculated using the static installation dimension automatic measurement algorithm and / or the static non-installation dimension automatic measurement algorithm.

[0015] Preferably, the key features include: tool rotation axis, tool placement axis, tool, cutting edge, cutting edge width face, front face, back face, key point, and finishing edge.

[0016] Preferably, the key parameters include: calculation accuracy, used to control the calculation accuracy of each dimension during automatic measurement calculation; cross-section measurement range, used to control the range of the cross-section line calculated during automatic measurement calculation; number of measurement points, used to control the number of points taken at equal intervals on the cutting edge during automatic measurement calculation; point range, used to control the range of points taken at equal intervals on the cutting edge; and measurement type, used to control different types of dimension measurements, including static installed dimensions and static non-installed dimensions.

[0017] Preferably, the automatic measurement algorithm for static installation dimensions specifically includes:

[0018] a1, Creates a hypothetical work plane;

[0019] a2, calculate the diameter of the key point and the diameter of the current measurement point, and create the base surface;

[0020] a3, create the main cutting plane, and calculate the cutting edge inclination angle and principal cutting edge angle based on the base plane and the main cutting plane;

[0021] a4. Create an orthogonal plane and calculate the geometric dimensions of the tool slot installation state based on the orthogonal plane. The geometric dimensions of the tool slot installation state include the installation cutting edge width, the installation cutting edge width rake angle, the installation rake angle, the installation clearance angle, and the installation wedge angle.

[0022] Preferably, the automatic measurement algorithm for static installation dimensions further includes:

[0023] a5. Determine if there is a next measurement point on the cutting edge. The position of the measurement point is determined by the number of measurement points and the range of points. If there is a next measurement point, change the measurement point and repeat steps a1 to a4 to automatically obtain the static installation dimensions at different positions on the cutting edge.

[0024] Preferably, step a1 specifically includes: creating an assumed working plane Pf through the current measurement point and with the direction vector of the tool rotation axis as the normal;

[0025] Step a2 specifically includes: Let K′ be the perpendicular point of the key point on the tool rotation axis, then the vector The length is the radius of the key point. Then the diameter of the key point D = 2·R; let P' be the perpendicular point of the current measurement point P on the tool rotation axis S, and the vector... The length is the radius of the measurement point P. Then the diameter D' of the current measurement point P is 2·R′; the tangent vector with the tool rotation axis S as the axis and passing through the measurement point P is... That is, the main motion direction vector. If the tool rotates clockwise at this time, then... If the tool rotates counterclockwise at this time, then Passing through the current measurement point P with the main motion direction vector Create a base plane Pr for the normal direction;

[0026] Step a3 specifically includes: obtaining the tangent vector on the cutting edge passing through the current measurement point P. and tangent vector Projection vector on base plane Pr Tangent vector With projection vector The included angle λ between them is the blade inclination angle, calculated by passing through the measurement point P and simultaneously perpendicular to the vector. sum vector vector Through the current measurement point P Create a principal cutting plane Ps for the normal direction. The angle Kr between the principal cutting plane Ps and the assumed working plane Pf is the principal cutting angle, where 0° < Kr < 180°.

[0027] Step a4 specifically includes: passing through the current measurement point P and using... Create an orthogonal plane Po for the normal direction, and intersect the orthogonal plane Po with the cutting width face, the front face, and the back face to obtain the section line curve SL1(SL) within the orthogonal plane Po. 12 SL 13 SL 14Using the cross-sectional measurement range ξ2 in the parameter variables, obtain the curve SL′1(SL′) within the measurement range on the cross-sectional curve SL1. 12 SL′ 13 SL′ 14 The length of SL′1 is l′1(l′ 12 、l′ 13 、l′ 14 ), take a set of points P′1(P′) on curve SL′1. 12 、P′ 13 、P′ 14 ), point set P′1(P′ 12 、P′ 13 、P′ 14 The quantity N is controlled by the measurement accuracy ξ1, where N = l1' / ξ1 + 0.5, N is an integer, and the point set P′1(P′ 12 、P′ 13 、P′ 14 ) respectively fitted into straight lines L′1(L′ 12 L′ 13 L′ 14 To obtain the direction vector of the fitted line straight line L′ 12 exist The projected length is the mounting blade width e; using the vector angle formula in Given two vectors, where θ is the angle between them, calculate... and The included angle γe is the rake angle of the mounting blade width, calculated as follows: and The included angle γ is the front installation angle, calculated as follows: and The complementary angle α of the included angle is the installation angle, calculated as follows: and The included angle β is the installation wedge angle.

[0028] Preferably, the automatic measurement algorithm for static non-installation dimensions specifically includes:

[0029] b1, create the placement plane;

[0030] b2, Calculate the reference vector based on the placement plane;

[0031] b3. Create a measurement plane and calculate the tool groove geometry in the non-installed state. The tool groove geometry in the non-installed state includes the non-installed cutting edge width, non-installed cutting edge rake angle, non-installed rake angle, non-installed clearance angle, and non-installed wedge angle.

[0032] Preferably, the static non-installation dimension automatic measurement algorithm further includes:

[0033] b4. Determine if there is a next measurement point on the cutting edge. The position of the measurement point is determined by the number of measurement points and the range of points. If there is a next measurement point, change the measurement point and repeat steps b1 to b4 to automatically obtain the static non-installation dimensions at different positions on the cutting edge.

[0034] Preferably, step b1 specifically includes: creating a placement plane through the current measurement point and with the direction vector of the tool placement axis as the normal;

[0035] Step b2 specifically includes: obtaining the tangent vector on the cutting edge passing through the current measurement point. and tangent vector Projection vector on the placement plane Calculate the perpendicular vector to the projection vector at the current measurement point on the placement plane. reference vector

[0036] Step b3 specifically includes: passing through the current measurement point and projecting the vector. Create a measurement plane Po' for the normal direction, and intersect the measurement plane Po' with the cutting width face, the front face, and the back face to obtain the section curve SL2(SL) within the measurement plane Po'. 22 SL 23 SL 24 Using the cross-sectional measurement range ξ2 in the parameter variables, obtain the curve SL′2(SL′) within the measurement range on the cross-sectional curve SL2. 22 SL′ 23 SL′ 24 The length of SL′2 is l′2(l′ 22 、l′ 23 、l′ 24 Take a finite set of points P′2(P′) on the curve SL′2. 22 、P′ 23 、P′ 24 ), point set P′2(P′ 22 、P′ 23 、P′ 24 The quantity N is controlled by the measurement accuracy ξ1, where N = l1' / ξ1 + 0.5, N is an integer, and the point set P′2(P′ 22 、P′ 23 、P′ 24 They were respectively fitted into straight lines L′2(L′) 22 L′ 23 L′ 24 To obtain the direction vector of the fitted line straight line L′ 22 exist The projected length is the non-installation blade width e', calculated using the vector angle formula. in Given two vectors, where θ is the angle between them, calculate... and The included angle γe′ is the non-mounted blade width rake angle, calculated. and The included angle γ′ is the non-installation front angle, calculated. and The complementary angle α′ of the included angle is the non-installation rear angle, calculated as follows: and The included angle β′ is the non-installation wedge angle.

[0037] On the other hand, a tool measurement system based on UG / NX software includes:

[0038] The tool model acquisition module is used to acquire the tool model created after scanning the cutting tool using a reverse scanning device;

[0039] The key feature acquisition module is used to acquire the key features of the selected cutting tool on a GUI interface developed based on UG / NX software.

[0040] The key parameter acquisition module is used to acquire the key parameters of the cutting tool set on the GUI interface developed based on UG / NX software.

[0041] An automatic measurement and calculation module is used in UG / NX software to perform automatic measurement and calculation based on an algorithm. The algorithm includes: based on the tool model, key features and key parameters, using an automatic measurement algorithm for static mounting dimensions and / or an automatic measurement algorithm for static non-mounting dimensions to perform automatic measurement and calculation of the static mounting geometry and / or static non-mounting geometry of the cutting tool on the tool model.

[0042] The measurement data output module is used to output the measurement data calculated by the automatic measurement calculation module on the GUI interface developed based on UG / NX software.

[0043] After adopting the above solution, the beneficial effects of the present invention are:

[0044] (1) The present invention simplifies the measurement steps of cutting tools. After obtaining the complete point cloud data of the tool using a reverse scanning device, a tool model is created, thereby reducing the number of measuring devices and system errors, and improving the accuracy of the data;

[0045] To improve measurement efficiency, the powerful computing capabilities of computers are used to quickly obtain the dimensions of any point on the tool, and the computer automatically summarizes the data to obtain the most accurate tool measurement data.

[0046] (2) This invention is developed in UG / NX software. It uses the powerful computing power of the computer to quickly obtain the dimensions of any point on the tool and automatically summarizes the data by the computer, which improves the measurement efficiency and obtains the most accurate tool measurement data. The measurement personnel only need to select key features and set key parameters. There is no need to use various testing equipment, which reduces labor costs and brings more economic benefits to the enterprise while improving product quality.

[0047] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, but the tool measurement method and system based on UG / NX software of the present invention are not limited to the embodiments. Attached Figure Description

[0048] Figure 1 This is a flowchart of traditional tool measurement.

[0049] Figure 2 This is a flowchart of the tool measurement method based on UG / NX software of the present invention;

[0050] Figure 3 This is a flowchart illustrating the specific implementation of the tool measurement method based on UG / NX software of the present invention.

[0051] Figure 4 yes Figure 3 A schematic diagram of the algorithm for automatic measurement of static installation dimensions;

[0052] Figure 5 yes Figure 3 A schematic diagram of the algorithm for automatic measurement of static non-installation dimensions;

[0053] Figure 6 yes Figure 3 A schematic diagram of the "key features";

[0054] Figure 7 This is a schematic diagram showing the static mounting dimensions of an indexable cutting tool.

[0055] Figure 8 yes Figure 7 Pr surface normal Simplified schematic diagram; the right side is an enlarged cross-sectional view of the Po surface;

[0056] Figure 9 yes Figure 8 Ps surface normal Simplified diagram;

[0057] Figure 10 yes Figure 8 A schematic diagram of the cross-section of the Po surface;

[0058] Figure 11 yes Figure 10A schematic diagram showing the range of values ​​for the cross-section;

[0059] Figure 12 yes Figure 11 A schematic diagram of point selection;

[0060] Figure 13 yes Figure 12 A schematic diagram of the fitted line;

[0061] Figure 14 This is a schematic diagram of static non-mounted dimension measurement of an indexable cutting tool; the right side is an enlarged view of the Po' plane cross section.

[0062] Figure 15 yes Figure 14 Schematic diagram of the cross section of the Po' plane;

[0063] Figure 16 yes Figure 15 A schematic diagram showing the range of values ​​for the cross-section;

[0064] Figure 17 yes Figure 16 A schematic diagram of point selection;

[0065] Figure 18 yes Figure 17 A schematic diagram of the fitted line;

[0066] Figure 19 This is a block diagram of the tool measurement system based on UG / NX software of the present invention. Detailed Implementation

[0067] The technical solutions in the embodiments of the present invention will be described and discussed in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.

[0068] See Figure 2 As shown, the present invention discloses a tool measurement method based on UG / NX software, which includes:

[0069] S201, Obtain the tool model created after scanning the cutting tool using a reverse scanning device;

[0070] S202, Obtain the key features of the set cutting tool;

[0071] S203, Obtain the key parameters of the set cutting tool;

[0072] S204, Based on the tool model, key features and key parameters, use the static mounting dimension automatic measurement algorithm and / or static non-mounting dimension automatic measurement algorithm to automatically measure and calculate the static mounting geometry and / or static non-mounting geometry of the cutting tool on the tool model;

[0073] S205 outputs measurement data calculated by the static installation dimension automatic measurement algorithm and / or the static non-installation dimension automatic measurement algorithm.

[0074] In this embodiment, the executing entity of a tool measurement method based on UG / NX software is a terminal device, such as a computer, that has UG / NX software installed.

[0075] In S201, after scanning the cutting tool with a reverse scanning device, complete point cloud data of the tool can be obtained. A tool model can be created based on the point cloud data. The tool model can be created on an external device and then imported into a terminal device with UG / NX software installed, or it can be created on a terminal device with UG / NX software installed.

[0076] This embodiment uses the measurement of an indexable cutting tool as an example. See [link to example]. Figure 7 , Figure 8 and Figure 14 The diagram shows a measurement schematic of an indexable cutting tool model. The indexable cutting tool consists of a tool 1, a screw 3, and a tool body 2 with a rotation axis S. The tool 1 is fixed to the tool body 1 by the screw 3.

[0077] See Figure 3 As shown, the specific implementation steps of the tool measurement method based on UG / NX software include: a. Using a reverse scanning device to completely scan the tool and create a tool model; b. Opening the secondary development software (hereinafter referred to as "software") through the "Custom Menu" in UG / NX software; c. Selecting "Key Features" according to the step prompts; d. Setting "Key Parameters" in the software; e. The software uses the built-in "Automatic Measurement Algorithm" to perform fast and accurate automatic measurement and calculation of tool dimensions; f. After the software completes the measurement calculation, it automatically summarizes and outputs detailed dimensional data.

[0078] See Figure 6 As shown, the tool 1 is an indexable cutting tool. The "key features" in step c may include, but are not limited to, the following features: tool 1, cutting edge 11, cutting edge width surface 12, front face 13, back face 14, key point ("K point") 15, finishing edge 16, etc.

[0079] See Figure 3As shown, the "key parameters" in step d above include, but are not limited to: ① setting the calculation accuracy ξ1, ξ1 > 0 mm, used to control the calculation accuracy of each dimension during automatic dimension measurement; ② setting the cross-section measurement range ξ2, ξ2 > 0 mm, used to control the range of the cross-section line calculated during automatic dimension measurement; ③ setting the number of measurement points ξ3, used to control the number of points taken at equal intervals on the cutting edge 11 during automatic dimension measurement (ξ3 ≥ 1); ④ setting the point range ξ4, (proportion of the starting point of the cutting edge 11) 0% ≤ ξ4 ≤ 100% (proportion of the ending point of the cutting edge 11), used to control the range of points taken at equal intervals on the cutting edge 11; ⑤ setting the measurement type ξ5, used to control different types of dimension measurement (including "static installed dimensions" and "static non-installed dimensions"), etc.

[0080] See Figure 3 As shown, the "automatic measurement algorithm" in step e above includes the "static installation dimension automatic measurement algorithm" and the "static non-installation dimension automatic measurement algorithm". Both are based on relevant knowledge in advanced mathematics and combine the geometric parameter definitions in tool design to build an automatic measurement mathematical model and algorithm. The mathematical model and algorithm are converted into code using the secondary development function of UG / NX. Finally, the static installation geometric dimensions and static non-installation geometric dimensions of the tool are automatically measured and calculated on the 3D model.

[0081] For details, see Figure 4 As shown, the specific algorithm flow of the above-mentioned "automatic measurement algorithm for static installation dimensions" includes the following steps: ① Obtain the selected "key features" and the set "key parameters" to obtain the direction vector of the tool rotation axis S. Key points 15, measurement point P on cutting edge 11, and measurement type ξ5 as "static installation dimension", etc.; ② Create assumed working plane Pf: use UG built-in function to pass through measurement point P and... To create a hypothetical working plane Pf for the normal direction, see [link to documentation]. Figure 8 As shown; ③ Create the base plane Pr, calculate the diameter D of key point 15, and measure the diameter D' of point P: See Figure 8 and Figure 9 As shown, the perpendicular point of key point 15 on the tool rotation axis S is K', then the vector The length is the radius of key point 15. Then the diameter D of key point 15 is 2·R; the perpendicular point of measurement point P on the tool rotation axis S is P', and the vector... The length is the radius of the measurement point P. Then the diameter D' of the measuring point P is 2·R′; the tangent vector with respect to the tool rotation axis S and passing through the measuring point P is... This refers to the main motion direction vector. If the tool rotates clockwise at this time (i.e., "right-hand cutting"), then... If the blade rotates counterclockwise at this time (i.e., "left-handed blade"), then Using UG's built-in function, measure point P with the main motion direction vector. ④ Create the base plane Pr for the normal direction; ⑤ Create the main cutting plane Ps, calculate the rake angle λ and the principal cutting edge angle Kr: See Figure 8 and Figure 9 As shown, the tangent vector on the cutting edge 11 passing through the measurement point P is obtained using the UG measurement function. and tangent vector Projection vector on base plane Pr Tangent vector With projection vector The included angle λ between them is the blade inclination angle, calculated by passing through the measurement point P and simultaneously perpendicular to the vector. sum vector vector Using UG's built-in function to measure point P Create the principal cutting plane Ps for the normal direction. The angle Kr between the principal cutting plane Ps and the assumed working plane Pf is the principal cutting edge angle, 0° < Kr < 180°; ⑤ Create the orthogonal plane Po and calculate the geometric dimensions of the tool groove installation state (installation cutting edge width e, installation cutting edge width rake angle γe, installation rake angle γ, installation clearance angle α, installation wedge angle β, etc.): See Figure 10 As shown, the UG built-in function is used to measure point P and... Create an orthogonal plane Po for the normal direction, and intersect the orthogonal plane Po with the cutting width surface 12, the front face 13, and the rear face 14 to obtain the section line curve SL1(SL) within the orthogonal plane Po. 12 SL 13 SL 14 See also Figure 11 As shown, the section measurement range ξ2 in the parameter variables is used to obtain the curve SL′1(SL′) within the measurement range on the section curve SL1. 12 SL′ 13 SL′ 14 The length of SL′1 is l′1(l′ 12 、l′ 13 、l′ 14 See also Figure 12 As shown, using UG's built-in functions, a point set P′1(P′) is selected on curve SL′1. 12 、P′ 13 、P′ 14 ), point set P′1(P′ 12 、P′ 13 、P′ 14 The quantity N is controlled by the measurement accuracy ξ1 (where N = l1' / ξ1 + 0.5, and N is an integer), see [link to relevant documentation]. Figure 13As shown, the point set P′1(P′ 12 、P′ 13 、P′ 14 ) respectively fitted into straight lines L′1(L′ 12 L′ 13 L′ 14 To obtain the direction vector of the fitted line straight line L′ 12 exist The projected length is the mounting blade width e, calculated using the vector angle formula. (in Given two vectors (where θ is the angle between the two vectors), calculate... and The included angle γe (i.e., the rake angle of the mounting blade width, -90° < γe < 90°), calculation and The included angle γ (i.e., the front angle of installation, -90° < γ < 90°), calculation and The complementary angle α of the included angle (i.e., the angle after installation, 0°≤α<90°), and The included angle β (i.e., the installation wedge angle, 0° < β < 180°), etc.; ⑥ See also Figure 4 As shown, determine whether there is a next measurement point P on the cutting edge 11. The position of the measurement point P is determined by the number of measurement points ξ3 and the range of points ξ4. If there is a next measurement point, change the measurement point P and repeat steps ① to ⑤ to automatically obtain the static installation dimensions at different positions on the cutting edge 11.

[0082] See Figure 5 As shown, the specific algorithm flow of the "static non-installation dimension automatic measurement algorithm" includes: ① obtaining the selected "key features" and the set "key parameters" to obtain the direction vector of the tool placement axis S'. ① The measurement point P' on the cutting edge 11 and the measurement type ξ5 are set to "static non-installation dimension"; ② Create the placement plane Pf': passing through the measurement point P' and using... Create a placement plane Pf' for the normal direction, see [link / reference]. Figure 14 As shown; ③ Calculate the reference vector See Figure 14 As shown, the tangent vector on the cutting edge 11 passing through the measurement point P' is obtained using the UG measurement function. and tangent vector The projection vector on the placement plane Pf' Calculate the perpendicular vector to the projection vector on the placement plane Pf' through the measurement point P'. reference vector ④ Create the measurement plane Po' and calculate the non-installed geometry of the tool groove (non-installed cutting edge width e', non-installed cutting edge rake angle γe′, non-installed rake angle γ′, non-installed clearance angle α′, non-installed wedge angle β′, etc.): See [link / reference] Figure 14 As shown, the UG built-in function is used to measure point P' and project the vector. Create a measurement plane Po' for the normal direction, and intersect the measurement plane Po' with the cutting width surface 12, the front face 13, and the rear face 14. See [link / reference]. Figure 15 As shown, the cross-sectional curves SL2 (SL) within the measurement plane Po' are obtained respectively. 22 SL 23 SL 24 See also Figure 16 As shown, the curve SL′2(SL′) within the measurement range on the cross-sectional curve SL2 is obtained using the cross-sectional measurement range ξ2 in the parameter variables. 22 SL′ 23 SL′ 24 The length of SL′2 is l′2(l′ 22 、l′ 23 、l′ 24 See also Figure 17 As shown, using UG's built-in functions, a finite set of points P′2(P′) is taken on the curve SL′2. 22 、P′ 23 、P′ 24 ), point set P′2(P′ 22 、P′ 23 、P′ 24 The quantity N is controlled by the measurement accuracy ξ1 (where N = l1' / ξ1 + 0.5, and N is an integer), see [link to relevant documentation]. Figure 18 As shown, and the point set P′2(P′ 22 、P′ 23 、P′ 24 They were respectively fitted into straight lines L′2(L′) 22 L′ 23 L′ 24 To obtain the direction vector of the fitted line straight line L′ 22 exist The projected length is the non-installation blade width e', calculated using the vector angle formula. (in Given two vectors (where θ is the angle between the two vectors), calculate... and The included angle γe′ (i.e., the non-installed cutting edge width rake angle, -90°<γe′<90°), calculation and The included angle γ′ (i.e., the non-installation front angle, -90°<γ′<90°), calculation and The complementary angle α′ of the included angle (i.e., the non-installation angle, 0°≤α′<90°), and The included angle β′ (i.e., the non-installation wedge angle, 0° < β′ < 180°), etc.; ⑤ See Figure 5 As shown, determine whether there is a next measurement point P' on the cutting edge 11. The position of the measurement point P' is determined by the number of measurement points ξ3 and the range of points ξ4. If there is a next measurement point, change the measurement point P' and repeat steps ① to ④. This will automatically obtain the static non-installation dimensions at different positions on the cutting edge 11.

[0083] In this embodiment, the "custom menu" in step b is created using MenuScript, a custom menu developed using UG / NX.

[0084] In this embodiment, the "software" code in step b can be written using secondary development languages ​​supported by UG / Nx, such as C, C++, C#, .Net, JAVA, and Python. The "software" GUI interface, parameter setting module, automatic measurement module, output module, etc., are encapsulated in a programmatic way and compiled into a dynamic link file.

[0085] It should be noted that this invention is applicable to the measurement of all types of cutting tools.

[0086] On the other hand, see Figure 19 As shown, the present invention discloses a tool measurement system based on UG / NX software, comprising:

[0087] The tool model acquisition module 191 is used to acquire the tool model created after scanning the cutting tool using a reverse scanning device;

[0088] Key feature acquisition module 192 is used to acquire key features of the cutting tool selected on the GUI interface developed based on UG / NX software;

[0089] The key parameter acquisition module 193 is used to acquire the key parameters of the cutting tool set on the GUI interface developed based on UG / NX software.

[0090] The automatic measurement and calculation module 194 is used to perform automatic measurement and calculation based on an algorithm written in UG / NX software. The algorithm includes: based on the tool model, key features and key parameters, using the static mounting dimension automatic measurement algorithm and / or the static non-mounting dimension automatic measurement algorithm to perform automatic measurement and calculation of the static mounting geometry and / or static non-mounting geometry of the cutting tool on the tool model.

[0091] The measurement data output module 195 is used to output the measurement data calculated by the automatic measurement calculation module on the GUI interface developed based on UG / NX software.

[0092] A specific implementation of a tool measurement system based on UG / NX software is described in this embodiment, which is the same tool measurement method based on UG / NX software.

[0093] The above is merely a preferred embodiment of the present invention. However, the present invention is not limited to the above embodiment. Any equivalent changes and modifications made according to the present invention, provided that the resulting functional effects do not exceed the scope of the present invention, shall fall within the protection scope of the present invention.

Claims

1. A tool measurement method based on UG / NX software, characterized in that, Based on UG / NX software, including: Obtain the tool model created after scanning the cutting tool using a reverse scanning device; Obtain the key features of the cutting tool being set; the key features include the tool rotation axis, the tool placement axis, the tool, the cutting edge, the cutting width face, the front face, the back face, key points, and the finishing edge; Obtain the key parameters of the cutting tool being set; these key parameters include calculation accuracy, cross-sectional measurement range, number of measurement points, sampling range, and measurement type. Based on the tool model, key features, and key parameters, an automatic measurement algorithm for static mounting dimensions and / or an automatic measurement algorithm for static non-mounting dimensions are used to automatically measure and calculate the static mounting geometry and / or static non-mounting geometry of the cutting tool on the tool model. The automatic measurement algorithm for static mounting dimensions includes creating an assumed working plane, a base plane, a main cutting plane, and an orthogonal plane, and calculating the mounting cutting edge width, mounting cutting edge rake angle, mounting rake angle, mounting clearance angle, and mounting wedge angle through vector operations and line fitting. The automatic measurement algorithm for static non-mounting dimensions includes creating a placement plane, calculating a reference vector, creating a measurement plane, and calculating the non-mounting cutting edge width, non-mounting cutting edge rake angle, non-mounting rake angle, non-mounting clearance angle, and non-mounting wedge angle through the vector angle formula. Output measurement data calculated using the static installation dimension automatic measurement algorithm and / or the static non-installation dimension automatic measurement algorithm.

2. The tool measurement method based on UG / NX software according to claim 1, characterized in that, The calculation accuracy is used to control the calculation accuracy of each dimension during automatic measurement calculation; the cross-section measurement range is used to control the intercept range of the cross-section line calculated during automatic measurement calculation; the number of measurement points is used to control the number of points taken at equal intervals on the cutting edge during automatic measurement calculation; the point range is used to control the range of points taken at equal intervals on the cutting edge; the measurement type is used to control different types of dimension measurements, including static installed dimensions and static non-installed dimensions.

3. The tool measurement method based on UG / NX software according to claim 2, characterized in that, The automatic measurement algorithm for static installation dimensions specifically includes: a1, Creates a hypothetical work plane; a2, calculate the diameter of the key point and the diameter of the current measurement point, and create the base surface; a3, create the main cutting plane, and calculate the cutting edge inclination angle and principal cutting edge angle based on the base plane and the main cutting plane; a4. Create an orthogonal plane and calculate the geometric dimensions of the tool slot installation state based on the orthogonal plane. The geometric dimensions of the tool slot installation state include the installation cutting edge width, the installation cutting edge width rake angle, the installation rake angle, the installation clearance angle, and the installation wedge angle.

4. The tool measurement method based on UG / NX software according to claim 3, characterized in that, The automatic measurement algorithm for static installation dimensions also includes: a5. Determine if there is a next measurement point on the cutting edge. The position of the measurement point is determined by the number of measurement points and the range of points. If there is a next measurement point, change the measurement point and repeat steps a1 to a4 to automatically obtain the static installation dimensions at different positions on the cutting edge.

5. The tool measurement method based on UG / NX software according to claim 3, characterized in that, Step a1 specifically includes: creating a hypothetical working plane Pf through the current measurement point and with the direction vector of the tool rotation axis as the normal; Step a2 specifically includes: setting the perpendicular point of the key point on the tool rotation axis as... Then the vector The length is the radius R of the key point. Then the diameter D of the key point = Let the current measurement point The perpendicular point on the tool rotation axis S is P', and the vector... The length is the radius R' of the measurement point P. Then the diameter D' of the current measurement point P = The tangent vector with respect to the tool rotation axis S and passing through the measurement point P is: , That is, the main motion direction vector. If the tool rotates clockwise at this time, then... If the tool rotates counterclockwise at this time, then Passing through the current measurement point With the main motion direction vector Create a base plane Pr for the normal direction; Step a3 specifically includes: obtaining the current measurement point on the cutting edge. tangent vector and tangent vector Projection vector on base plane Pr tangent vector With projection vector The included angle λ between the two points is the blade inclination angle, calculated from the measurement point. And simultaneously perpendicular to the vector sum vector vector Passing through the current measurement point by Create a principal cutting plane Ps for the normal direction. The angle Kr between the principal cutting plane Ps and the assumed working plane Pf is the principal cutting edge angle. °; Step a4 specifically includes: passing through the current measurement point and with Create an orthogonal plane Po for the normal direction, and intersect the orthogonal plane Po with the cutting width face, the front face, and the back face to obtain the section line curves within the orthogonal plane Po. Use the cross-sectional measurement range from the parameter variables. Obtain cross-sectional curves Curves within the measurement range , The length is , in the curve Set of points above Point set The quantity N is determined by the measurement accuracy. Control, among which N is an integer, and the set of points is... Fitted into straight lines respectively To obtain the direction vector of the fitted line ,straight line exist The projected length is the mounting blade width e; using the vector angle formula ,in , Given two vectors, Calculate the angle between two vectors. and The included angle That is, install the blade width and rake angle, calculate and The included angle That is, install the front corner and calculate. and complementary angle of the included angle That is, install the rear corner and calculate. and The included angle That is, to install a wedge.

6. The tool measurement method based on UG / NX software according to claim 2, characterized in that, The automatic measurement algorithm for static non-installation dimensions specifically includes: b1, create the placement plane; b2, Calculate the reference vector based on the placement plane; b3. Create a measurement plane and calculate the tool groove geometry in the non-installed state. The tool groove geometry in the non-installed state includes the non-installed cutting edge width, non-installed cutting edge width rake angle, non-installed rake angle, non-installed clearance angle, and non-installed wedge angle.

7. The tool measurement method based on UG / NX software according to claim 6, characterized in that, The automatic measurement algorithm for static non-installation dimensions also includes: b4. Determine if there is a next measurement point on the cutting edge. The position of the measurement point is determined by the number of measurement points and the range of points. If there is a next measurement point, change the measurement point and repeat steps b1 to b4 to automatically obtain the static non-installation dimensions at different positions on the cutting edge.

8. The tool measurement method based on UG / NX software according to claim 6, characterized in that, Step b1 specifically includes: creating a placement plane through the current measurement point and with the direction vector of the tool placement axis as the normal; Step b2 specifically includes: obtaining the tangent vector on the cutting edge passing through the current measurement point. and tangent vector Projection vector on the placement plane And calculate the perpendicular vector to the projection vector at the current measurement point on the placement plane. reference vector ; Step b3 specifically includes: passing through the current measurement point and projecting the vector. Create a measurement plane Po' for the normal direction, and intersect the measurement plane Po' with the cutting width face, the front face, and the back face to obtain the section curves within the measurement plane Po'. Use the cross-sectional measurement range in the parameter variables. Obtain cross-sectional curves Curves within the measurement range , The length is , in the curve Take a finite set of points Point set The quantity N is determined by the measurement accuracy. Control, among which N is an integer, and the set of points is... Fitted into straight lines respectively To obtain the direction vector of the fitted line ,straight line exist The projected length is the non-installation blade width e', calculated using the vector angle formula. ,in , Given two vectors, Calculate the angle between two vectors. and The included angle That is, the non-installation blade width rake angle, calculated. and The included angle That is, the non-installation front angle, calculation and complementary angle of the included angle That is, the angle after installation, calculation and The included angle That is, not the installation wedge angle.

9. A tool measurement system based on UG / NX software, characterized in that, include: The tool model acquisition module is used to acquire the tool model created after scanning the cutting tool using a reverse scanning device; The key feature acquisition module is used to acquire the key features of the selected cutting tool on a GUI interface developed based on UG / NX software; the key features include the tool rotation axis, tool placement axis, tool, cutting edge, cutting edge width face, front face, back face, key points, and finishing edge; The key parameter acquisition module is used to acquire the key parameters of the cutting tool set on the GUI interface developed based on UG / NX software; the key parameters include calculation accuracy, cross-section measurement range, number of measurement points, point range, and measurement type. An automatic measurement and calculation module is used in UG / NX software to perform automatic measurement and calculation based on algorithm-based programming. The algorithm includes: based on the tool model, key features, and key parameters, using a static installation dimension automatic measurement algorithm and / or a static non-installation dimension automatic measurement algorithm to automatically measure and calculate the static installation geometry and / or static non-installation geometry of the cutting tool on the tool model; the static installation dimension automatic measurement algorithm includes creating an assumed working plane, base plane, main cutting plane, and orthogonal plane, and calculating the installation cutting edge width, installation cutting edge rake angle, installation rake angle, installation clearance angle, and installation wedge angle through vector operations and line fitting; the static non-installation dimension automatic measurement algorithm includes creating a placement plane, calculating a reference vector, creating a measurement plane, and calculating the non-installation cutting edge width, non-installation cutting edge rake angle, non-installation rake angle, non-installation clearance angle, and non-installation wedge angle through vector angle formulas; The measurement data output module is used to output the measurement data calculated by the automatic measurement calculation module on the GUI interface developed based on UG / NX software.