CN-115200521-B - Cutter measuring method and system based on UG/NX software
Abstract
The invention relates to a tool measuring method and system based on UG/NX software, which is performed based on the UG/NX software and comprises the steps of obtaining a tool model created after a cutting tool is scanned by using reverse scanning equipment, obtaining key characteristics of the set cutting tool, obtaining key parameters of the set cutting tool, performing automatic measurement calculation of the static installation geometric dimension and/or the static non-installation geometric dimension of the cutting tool on the tool model by using a static installation dimension automatic measurement algorithm and/or a static non-installation dimension automatic measurement algorithm based on the tool model, the key characteristics and the key parameters, and outputting measurement data calculated by the static installation dimension automatic measurement algorithm and/or the static non-installation dimension automatic measurement algorithm. The invention combines reverse scanning and UG/NX software, can greatly improve the measuring accuracy and measuring efficiency of the cutter, improves the product quality, and brings more economic benefits to enterprises.
Inventors
- YE JIALIN
- WANG JIEWEI
- WANG KAN
- LIN YIXIANG
- Qiu Haoqin
- GAO YONGBO
Assignees
- 厦门金鹭特种合金有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220527
Claims (9)
- 1. A tool measurement method based on UG/NX software, which is characterized by comprising: acquiring a cutter model created after a cutting cutter is scanned by using reverse scanning equipment; The method comprises the steps of obtaining key characteristics of a set cutting tool, wherein the key characteristics comprise a tool rotating shaft, a tool placing shaft, a tool, a cutting edge, a broad face, a front face, a rear face, key points and a trimming edge; Acquiring key parameters of the set cutting tool, wherein the key parameters comprise calculation precision, a section measurement range, measurement points, a point taking range and measurement types; Based on the cutter model, key characteristics and key parameters, carrying out automatic measurement calculation of the static installation geometric dimension and/or the static non-installation geometric dimension of the cutting tool on the cutter model by using a static installation dimension automatic measurement algorithm and/or a static non-installation dimension automatic measurement algorithm, wherein the static installation dimension automatic measurement algorithm comprises the steps of creating a presumed working plane, a basal plane, a main cutting plane and an orthogonal plane, calculating an installation cutting edge width, an installation cutting edge width front angle, an installation rear angle and an installation wedge angle through vector operation and straight line fitting, and the static non-installation dimension automatic measurement algorithm comprises the steps of creating a placement plane, calculating a reference vector, creating a measurement plane, and calculating a non-installation cutting edge width, a non-installation cutting edge width front angle, a non-installation rear angle and a non-installation wedge angle through a vector included angle formula; And outputting measurement data calculated by a static installation dimension automatic measurement algorithm and/or a static non-installation dimension automatic measurement algorithm.
- 2. The tool measuring method based on UG/NX software according to claim 1, wherein the calculation accuracy is used for controlling calculation accuracy of each dimension during automatic measurement and calculation, the section measurement range is used for controlling a section line interception range calculated during automatic measurement and calculation, the measurement points are used for controlling the number of equal-proportion interval point taking on a cutting edge during automatic measurement and calculation, the point taking range is used for controlling the range of equal-proportion interval point taking on the cutting edge, and the measurement types are used for controlling different types of dimension measurement and comprise static installation dimensions and static non-installation dimensions.
- 3. The tool measurement method based on UG/NX software according to claim 2, wherein said static mount size automatic measurement algorithm specifically comprises: a1, creating a hypothetical working plane; a2, calculating the diameter of the key point and the diameter of the current measurement point, and creating a base surface; a3, creating a main cutting plane, and calculating an edge inclination angle and a main deflection angle based on the base surface and the main cutting plane; and a4, creating an orthogonal plane, and calculating the geometric dimension of the installation state of the cutter groove type based on the orthogonal plane, wherein the geometric dimension of the installation state of the cutter groove type comprises an installation cutting edge width, an installation cutting edge width front angle, an installation rear angle and an installation wedge angle.
- 4. The UG/NX software based tool measurement method according to claim 3, wherein the static mount dimension automatic measurement algorithm further comprises: and a5, judging whether a next measuring point exists on the cutting edge, wherein the position of the measuring point is determined by the number of measuring points and the range of the taking point, and if the next measuring point exists, replacing the measuring point and repeating the steps a 1-a 4 so as to automatically obtain the static installation sizes of different positions on the cutting edge.
- 5. The tool measuring method based on UG/NX software according to claim 3, wherein said step a1 comprises creating a hypothetical working plane Pf over the current measuring point and with the direction vector of the tool rotation axis as normal; The step a2 specifically comprises the steps of enabling the foot drop points of the key points on the rotating shaft of the cutter to be Vector then The length of (a) is the radius R=of the key point The diameter d=of the key point Let the current measuring point The foot drop point on the cutter rotating shaft S is P', and the vector is Is the radius R' of the measurement point P = The diameter D' of the current measurement point p= Taking the cutter rotating shaft S as the shaft and the tangential vector passing through the measuring point P as , I.e. the main motion direction vector, if the tool is rotated clockwise at this time, the tool is rotated clockwise If the tool rotates counterclockwise at this time, then Past the current measurement point With principal motion direction vectors Creating a base surface Pr for the normal direction; The step a3 comprises the steps of obtaining the current measuring point of the cutting edge Is a tangent vector of (2) And tangential vector Projection vector on base Pr Tangential vector And projection vector The included angle lambda is the blade inclination angle, and the measuring point is calculated And at the same time perpendicular to the vector Sum vector Vector of (3) Past the current measurement point To be used for For normal creation of the main cutting plane Ps, the included angle Kr of the main cutting plane Ps with the assumed working plane Pf is the principal deviation angle, °; The step a4 specifically comprises the steps of passing the current measuring point And by combining Creating an orthogonal plane Po for normal direction, intersecting the orthogonal plane Po with the broad face, the front face and the rear face of the blade to obtain cross-section line curves in the orthogonal plane Po respectively Using cross-sectional measurement ranges in parameter variables Obtaining section curves Curve in the measuring range , Length of (2) In the curve Upper sampling point set Point collection The number N is determined by the measurement accuracy Control in which N is an integer and the points are collected Respectively fit into straight lines To obtain the direction vector of the fitting straight line Straight line, straight line At the position of The projection length on the plane is the mounting cutting edge width e, and a vector included angle formula is used Wherein 、 In order to know the two vectors of the vector, For the angle between the two vectors, calculate And (3) with Included angle of (2) I.e. the front angle of the mounting blade width is calculated And (3) with Included angle of (2) I.e. the installation rake angle, is calculated And (3) with Is the complementary angle of the included angle I.e. the mounting relief angle, calculate And (3) with Included angle of (2) I.e. the installation wedge angle.
- 6. Tool measurement method based on UG/NX software according to claim 2, wherein said static non-installation dimension automatic measurement algorithm comprises in particular: b1, creating a placement plane; b2, calculating a reference vector based on the placement plane; b3, creating a measuring plane, and calculating the geometric dimension of the tool groove type non-installation state, wherein the geometric dimension of the tool groove type non-installation state comprises a non-installation cutting edge width, a non-installation cutting edge width front angle, a non-installation rear angle and a non-installation wedge angle.
- 7. The UG/NX software based tool measurement method according to claim 6, wherein the static non-installation dimension automatic measurement algorithm further comprises: And b4, judging whether a next measuring point exists on the cutting edge, wherein the position of the measuring point is determined by the number of measuring points and the range of the taking point, and if the next measuring point exists, replacing the measuring point and repeating the steps b 1-b 4 so as to automatically obtain the static non-installation sizes of different positions on the cutting edge.
- 8. The tool measurement method based on UG/NX software according to claim 6, wherein said step b1 specifically comprises creating a placement plane over the current measurement point and with the direction vector of the tool placement axis as a normal; The step b2 specifically comprises the steps of obtaining a tangential vector passing through the current measuring point on the cutting edge And tangent vector Projection vector on placement plane And calculating a perpendicular projection vector on the placement plane over the current measurement point Reference vector of (a) ; The step b3 specifically comprises the steps of passing the current measurement point and projecting the vector Creating a measuring plane Po ' for normal direction, intersecting the measuring plane Po ' with the broad face, the front face and the rear face of the blade to obtain a cross-section line curve in the measuring plane Po ', respectively Using cross-sectional measurement ranges in parameter variables Obtaining section curves Curve in the measuring range , Length of (2) In the curve Taking a finite set of points Point collection The number N is determined by the measurement accuracy Control in which N is an integer and the points are collected Respectively fit into straight lines To obtain the direction vector of the fitting straight line Straight line, straight line At the position of The projection length on the plane is the non-mounting cutting edge width e', and a vector included angle formula is used Wherein 、 In order to know the two vectors of the vector, For the angle between the two vectors, calculate And (3) with Included angle of (2) I.e. non-mounting margin rake angle, calculation And (3) with Included angle of (2) I.e. non-mounting rake angle, calculation And (3) with Is the complementary angle of the included angle I.e. non-mounting relief angle, calculation And (3) with Included angle of (2) I.e. the non-installation wedge angle.
- 9. A tool measurement system based on UG/NX software, comprising: The cutter model acquisition module is used for acquiring a cutter model created after the cutting cutter is scanned by using the reverse scanning equipment; The key feature acquisition module is used for acquiring key features of the selected cutting tool on a GUI interface based on UG/NX software development, wherein the key features comprise a tool rotating shaft, a tool placing shaft, a tool, a cutting edge, a blade width surface, a front surface, a rear surface, a key point and a trimming edge; the key parameter acquisition module is used for acquiring key parameters of the set cutting tool on a GUI interface developed based on UG/NX software, wherein the key parameters comprise calculation precision, a section measurement range, measurement points, a point acquisition range and measurement types; The automatic measurement calculation module is used for carrying out automatic measurement calculation based on an algorithm programming program under UG/NX software, wherein the algorithm comprises the steps of carrying out automatic measurement calculation of the static installation geometric dimension and/or the static non-installation geometric dimension of the cutting tool on the tool model by using a static installation dimension automatic measurement algorithm and/or a static non-installation dimension automatic measurement algorithm based on the tool model, the static installation dimension automatic measurement algorithm comprises a presumption working plane, a base plane, a main cutting plane and an orthogonal plane, calculating an installation cutting edge width, an installation cutting edge width front angle, an installation rear angle and an installation wedge angle by vector operation and straight line fitting, and the static non-installation dimension automatic measurement algorithm comprises the steps of creating a placement plane, calculating a reference vector, creating a measurement plane, and calculating a non-installation cutting edge width, a non-installation cutting edge width front angle, a non-installation rear angle and a non-installation wedge angle by a vector angle formula; and the measurement data output module is used for outputting the measurement data calculated by the automatic measurement calculation module on a GUI interface developed based on UG/NX software.
Description
Cutter measuring method and system based on UG/NX software Technical Field The invention relates to the technical field of cutter measurement, in particular to a cutter measurement method and system based on UG/NX software. Background Along with the transformation and upgrading of manufacturing industry, the manufacturing technology of cutting tools is continuously developed, in general, in order to detect whether an actual tool product is consistent with a theoretical tool design concept, the tools need to be subjected to dimension measurement including edge type and groove type, the conventional measurement method in the prior art needs to use different detection devices for dimension measurement, after the measurement devices are determined, the tools are installed on the devices or the detection tools, for example, 1) static installation dimension measurement such as diameter, runout, installation rake angle, installation relief angle, installation cutting edge width and the like needs to be measured by a tool presetter, but part of types of tools cannot be measured due to the limitation of the measurement range of the presetter, 2) static non-installation dimension measurement such as non-installation rake angle, non-installation relief angle, non-installation cutting edge width, length, width, cutting edge height and the like needs to be performed by using various detection devices such as vernier calipers, micrometer, height gauge, video instrument and profilometer, and part of groove type dimension needs to be repeatedly measured at different points. Finally, the measurement data are collected in a manual mode and are input into a computer for data analysis, and then the size of the cutter product is optimized. The existing cutter measuring method has the following problems: (1) The operation steps are complex, different types of cutter size measurement needs to be carried out by selecting different detection equipment, and the requirement on the proficiency of personnel operation equipment is high; (2) The accuracy is low, and the accuracy of the measured data is difficult to ensure because of systematic errors of the detection equipment, the detection tool and the detection personnel; (3) The measurement data are few, and because the manual measurement capability is limited, whether the theoretical tool design concept is completely matched with the actual tool product cannot be accurately obtained. Disclosure of Invention The invention aims to overcome the defects of the prior art, provides a cutter measuring method and a cutter measuring system based on UG/NX software, a cutter model is created after cutter complete point cloud data are acquired by using inverse scanning equipment, the complex repeated measurement and calculation operation is processed through the computer and data summarization is performed, various detection devices are not needed, the measurement accuracy and the measurement efficiency of the cutter can be greatly improved, the product quality is improved, and more economic benefits are brought to enterprises. In order to achieve the above object, the technical scheme of the present invention is as follows: in one aspect, a tool measurement method based on UG/NX software, performed based on UG/NX software, includes: acquiring a cutter model created after a cutting cutter is scanned by using reverse scanning equipment; acquiring key characteristics of a set cutting tool; acquiring key parameters of the set cutting tool; Based on the tool model, key features and key parameters, performing automatic measurement calculation of the static mounting geometry and/or the static non-mounting geometry of the cutting tool on the tool model by using a static mounting dimension automatic measurement algorithm and/or a static non-mounting dimension automatic measurement algorithm; And outputting measurement data calculated by a static installation dimension automatic measurement algorithm and/or a static non-installation dimension automatic measurement algorithm. Preferably, the key features include a cutter pivot axis, a cutter placement axis, a cutter, a cutting edge, a land, a front face, a rear face, a key point, and a wiper edge. Preferably, the key parameters comprise calculation precision for controlling calculation precision of each dimension during automatic measurement and calculation, a section measurement range for controlling a section line interception range calculated during automatic measurement and calculation, measurement points for controlling the number of points at equal-proportion intervals on a cutting edge during automatic measurement and calculation, a point taking range for controlling the range of points at equal-proportion intervals on the cutting edge, and measurement types for controlling different types of dimension measurement, wherein the types comprise static installation dimensions and static non-installation dimensions. Preferably, the automatic measuremen