Secondary tool setting method, device, equipment and medium based on numerical control machine tool
By determining the coordinates of the pitch circle trajectory and measurement points on a CNC machine tool, calculating the center coordinates and performing compensation, the measurement accuracy and adaptability issues of the secondary tool setting method are solved, thus improving machining accuracy and efficiency.
Patent Information
- Application Number
- CN202510638806.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-05-19
AI Technical Summary
Existing secondary tool setting methods have low measurement accuracy and poor adaptability to gears of different specifications. Furthermore, the complex structure of the device leads to low processing efficiency.
By determining the pitch circle trajectory and measurement points of the gear to be set, the coordinates and angle values of the measurement points are determined using measuring equipment, the initial and updated center coordinates are calculated, measurement compensation is performed, the probe installation is simplified and moved synchronously with the tool holder, and the position of the measurement points and the compensation algorithm are optimized.
It improves the measurement accuracy and adaptability of secondary tool setting, avoids the inefficiency caused by heat treatment deformation and complex structure, and is suitable for planetary lead screw gears with small module and many teeth.
Smart Images

Figure CN120480314B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of machine tool processing control, and in particular to a secondary tool setting method, device, equipment and medium based on a numerical control machine tool. BACKGROUND
[0002] Secondary tool setting is one of the complex process preparations in numerical control machining. In the process of planetary screw gear machining, the precision of secondary tool setting directly affects the meshing performance of the gear. After rough cutting of the workpiece, the gear is quenched or subjected to other process treatment, and after quenching or other process treatment, the tooth top or tooth root is deformed due to heat treatment. If the measurement point is the tooth top or tooth root position, a larger measurement error is likely to occur.
[0003] The existing secondary tool setting method generally needs to adjust parameters multiple times and relies on operation experience. At the same time, the existing device adopts a separate mechanical structure for installation, and the structure is relatively complex. The position of the measuring head needs to be adjusted mechanically during testing.
[0004] However, the existing secondary tool setting method has the problems of low measurement accuracy and poor adaptability to different specifications of gears. SUMMARY
[0005] The present application provides a secondary tool setting method, device, equipment and medium based on a numerical control machine tool, to solve the problems of low measurement accuracy and poor adaptability to different specifications of gears in the existing secondary tool setting method.
[0006] In a first aspect, the present application provides a secondary tool setting method based on a numerical control machine tool, the method comprising:
[0007] determining any two adjacent teeth on a target gear to be tool set, and a dividing circle locus corresponding to the target gear, and determining four measurement points on the two adjacent teeth according to the dividing circle locus;
[0008] determining the coordinates corresponding to the four measurement points according to the measurement device, and determining a measurement angle value according to the four coordinates;
[0009] determining an initial center coordinate corresponding to the center point of the target gear according to the measurement angle value, a preset angle threshold value and the coordinates corresponding to the measurement points, and performing a preset cutting operation on the target gear;
[0010] determining an updated center coordinate corresponding to the center point according to the updated coordinates corresponding to each measurement point, and determining a measurement compensation value according to the updated center coordinate and the initial center coordinate;
[0011] performing a tool setting operation on the target gear according to the measurement compensation value.
[0012] In some embodiments of the present application, any two adjacent teeth on the target gear to be indexed are determined, and a pitch circle locus corresponding to the target gear is determined, and four measurement points on the two adjacent teeth are determined according to the pitch circle locus, including:
[0013] A pitch circle radius is determined according to the number of teeth and the module of the target gear, and a center point of the target gear is determined;
[0014] A pitch circle locus is determined according to the pitch circle radius and the center point;
[0015] Four measurement points on the two adjacent teeth are determined according to the pitch circle locus.
[0016] In some embodiments of the present application, four measurement points on the two adjacent teeth are determined according to the pitch circle locus, including:
[0017] The four measurement points are determined according to the intersection of the tooth edge of the adjacent tooth and the pitch circle locus.
[0018] In some embodiments of the present application, the coordinates corresponding to the four measurement points are determined according to the measurement device, and a measurement angle value is determined according to the four coordinates, including:
[0019] The target measurement device and the tool holder are moved along the preset workpiece axis for measurement according to the preset tool origin, and the coordinates of each measurement point are obtained;
[0020] The measurement angle value is determined according to the coordinates of each measurement point.
[0021] In some embodiments of the present application, the measurement angle value is determined according to the coordinates of each measurement point, including:
[0022] The first measurement point, the second measurement point, the third measurement point and the fourth measurement point among the four measurement points are determined according to the preset workpiece axis, and the coordinates of each measurement point are determined;
[0023] A first measurement angle value is determined according to the coordinates corresponding to the first measurement point, the coordinates corresponding to the third measurement point and the cosine value of the helix angle corresponding to the target gear;
[0024] A second measurement angle value is determined according to the coordinates corresponding to the second measurement point, the coordinates corresponding to the fourth measurement point and the cosine value of the helix angle.
[0025] In some embodiments of the present application, an initial center coordinate corresponding to the center point of the target gear is determined according to the measurement angle value, a preset angle threshold and the coordinates corresponding to the measurement point, and a preset indexing operation is performed on the target gear, including:
[0026] The first measurement angle value and the second measurement angle value among the measurement angle values are determined;
[0027] Determine the magnitudes of the first measured angle value and the preset angle threshold, and the second measured angle value and the preset angle threshold, respectively;
[0028] If both the first and second measured angle values are less than the preset angle threshold, then the coordinates of each measured point are determined.
[0029] If either the first measurement angle value or the second measurement angle value is not less than the preset angle threshold, then the steps of determining the coordinates corresponding to the four measurement points according to the measuring device and determining the measurement angle value according to the four coordinates are repeated until the first measurement angle value and the preset angle threshold, and the second measurement angle value and the preset angle threshold are judged respectively, until both the first measurement angle value and the second measurement angle value are less than the preset angle threshold.
[0030] Based on the coordinates corresponding to the measurement points, determine the initial center coordinates corresponding to the center point of the target gear, and perform a preset adjustment operation on the target gear.
[0031] In some embodiments of this application, the initial center coordinates corresponding to the center point of the target gear are determined based on the coordinates corresponding to the measurement points, and a preset adjustment operation is performed on the target gear, including:
[0032] Determine the second and third measurement points among the measurement points, and determine the initial center coordinates based on the difference between the coordinates of the third and second measurement points;
[0033] Perform a preset adjustment operation on the target gear.
[0034] Secondly, this application provides a secondary tool setting device based on a CNC machine tool, the device comprising:
[0035] The measurement point determination module is used to determine any two adjacent teeth on the target gear to be set, as well as the corresponding pitch circle trajectory of the target gear, and to determine four measurement points on the two adjacent teeth based on the pitch circle trajectory.
[0036] The angle value determination module is used to determine the coordinates of the four measurement points according to the measuring equipment, and to determine the measurement angle value based on the four coordinates.
[0037] The center coordinate determination module is used to determine the initial center coordinates corresponding to the center point of the target gear based on the measured angle value, the preset angle threshold and the coordinates corresponding to the measurement point, and to perform a preset adjustment operation on the target gear.
[0038] The compensation value determination module is used to determine the updated center coordinates corresponding to the center point based on the updated coordinates corresponding to each measurement point, and to determine the measurement compensation value based on the updated center coordinates and the initial center coordinates.
[0039] The operation module is configured to perform a tool setting operation on the target gear according to the measurement compensation value.
[0040] In a third aspect, the present application provides a computer device, comprising: a processor, and a memory connected with the processor in communication;
[0041] The memory stores computer execution instructions.
[0042] The processor executes the computer execution instructions stored in the memory to implement the method of the present application.
[0043] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores program codes, and the program codes are executed by a processor to implement the method of the present application.
[0044] The secondary tool setting method, device, equipment and medium based on a numerical control machine tool provided by the present application determine any two adjacent teeth on a target gear to be tool set and the corresponding circular dividing track of the target gear, and determine four measurement points on the two adjacent teeth according to the circular dividing track; according to a measurement device, the coordinates corresponding to the four measurement points are determined, and the measurement angle value is determined according to the four coordinates; according to the measurement angle value, the preset angle threshold value and the coordinates corresponding to the measurement points, the initial center coordinates corresponding to the center point of the target gear are determined, and a preset cutting operation is performed on the target gear; according to the updated coordinates corresponding to each measurement point, the updated center coordinates corresponding to the center point are determined, and the measurement compensation value is determined according to the updated center coordinates and the initial center coordinates; and the target gear is subjected to a tool setting operation according to the measurement compensation value.
[0045] In this way, the measurement points located on the circular dividing track are determined, the geometric shape of the circular dividing track region is stable, and the influence of heat treatment deformation is small, the center value is calculated by combining the data of multiple teeth, and the systematic deviation caused by local defects of a single tooth in the traditional method is avoided; at the same time, the measurement head is installed on the tool holder and moves synchronously with the tool holder, so that the coordinates corresponding to the measurement points are accurately determined, so as to further determine the compensation value, effectively avoid the problem of low efficiency caused by complex structure, and be suitable for small modulus and multiple teeth of the planetary screw gear. BRIEF DESCRIPTION OF DRAWINGS
[0046] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate an embodiment consistent with the present application and, together with the description, serve to explain the principles of the application.
[0047] Figure 1 A flowchart of a secondary tool setting method based on a numerical control machine tool provided by an embodiment of the present application is shown in the figure.
[0048] Figure 2 A system schematic diagram of a secondary tool setting method based on a numerical control machine tool provided by an embodiment of the present application is shown in the figure.
[0049] Figure 3 A structure schematic diagram of a secondary tool setting device based on a numerical control machine tool is provided for an embodiment of the present application.
[0050] Figure 4 A structure block diagram of an apparatus for performing a secondary tool setting method based on a numerical control machine tool according to an embodiment of the present application is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0051] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar elements, unless otherwise represented. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they only represent examples of apparatuses and methods consistent with some aspects of the present application, as detailed in the appended claims.
[0052] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below with reference to the drawings.
[0053] Figure 1 A flowchart of a secondary tool setting method based on a numerical control machine tool is provided for an embodiment of the present application. As shown in the figure, Figure 1 the secondary tool setting method based on a numerical control machine tool can include the following steps:
[0054] S110, determining any two adjacent teeth on a target gear to be tool set, and a corresponding pitch circle locus of the target gear, and determining four measurement points on the two adjacent teeth according to the pitch circle locus.
[0055] Among them, the target gear is a gear that needs to be tool set, and the secondary tool setting is one of the complex process preparations in numerical control machining. The precision of secondary tool setting directly affects the gear meshing performance in the process of planetary screw gear machining.
[0056] The pitch circle locus is the locus corresponding to the pitch circle. The pitch circle is a specific circle on the gear. On this circle, the tooth thickness and the tooth groove width are equal. For a standard gear, the pitch circle is the reference circle when designing the gear. The pitch circle area has stable geometry and is less affected by heat treatment deformation. The center value is calculated by joint calculation of multi-tooth data, which avoids systematic deviation caused by local defects of single tooth in traditional methods.
[0057] Based on this, by determining any two adjacent teeth on the target gear and determining the corresponding pitch circle trajectory, the subsequent further determination of the measurement points located on the two adjacent teeth according to the pitch circle trajectory is realized.
[0058] S120, according to the measuring device, determine the corresponding coordinates of the four measurement points, and determine the measurement angle value according to the four coordinates.
[0059] Among them, the measuring device can be a measuring head, which is a key component of the measuring device for obtaining the relevant parameters of the object, and can be used to determine the coordinates of the measurement points on the gear.
[0060] The gear coordinates are a set of parameters used to determine the position and attitude of the gear in space. In the machine tool, the gear coordinates can be used to determine the position and attitude of the gear in the machine tool space. The relevant parameters of the gear are described by a specific coordinate system, so that the machine tool control system can accurately process, measure or other operations on the gear. A fixed rectangular coordinate system can be established in the machine tool workspace, which is usually taken as the origin of a certain fixed point of the machine tool, such as a corner point of the workbench or the intersection of the spindle axis and the workbench surface, etc. The direction parallel to the machine tool spindle is defined as the Z axis, and the horizontal direction perpendicular to the Z axis is the X axis and the Y axis.
[0061] The measurement angle value is the angle of each tooth of the target gear. In the gear, the angle of each tooth refers to the included angle between the center lines of the adjacent two teeth. The gear is a mechanical part composed of a plurality of teeth uniformly distributed on the circumference. The included angle formed by the center lines of the adjacent two teeth with the center of the gear as the vertex is the angle of each tooth. By determining the measurement angle value, the actual angle is calculated according to the actual measured coordinates, so as to further determine whether the angle error of each tooth is within the preset angle error range, so as to determine whether the coordinates of the current measurement point exist error, so as to correct in time.
[0062] Based on this, by determining the coordinates of the four measurement points, the corresponding angle value of the target gear is determined according to the actual measurement point coordinates, so as to further determine whether the current measurement point coordinates meet the requirements according to the actual determined angle value and the preset angle threshold.
[0063] S130, according to the measurement angle value, the preset angle threshold and the corresponding coordinates of the measurement points, determine the initial center coordinates corresponding to the center point of the target gear, and execute the preset cutting operation on the target gear.
[0064] Among them, the preset angle threshold is a preset angle threshold used for comparison with the measurement angle value, which can represent the angle value that meets the actual requirements, which can be represented as:
[0065] , (Z is the number of teeth)
[0066] By comparing the measured angle value with the preset angle threshold value, it is determined whether the measured angle value meets the actual requirements, i.e., whether the current measurement point coordinates meet the requirements, so as to determine whether the corresponding coordinates need to be re-measured.
[0067] The initial center coordinates are the coordinates corresponding to the gear center of the target gear, which can be used to determine the compensation value of the gear in the subsequent process; the gear center refers to the geometric center of the gear, which is located at the center of symmetry of the gear and is the point where the axis of rotation of the gear is located. The gear center is a reference point for determining other parameters of the gear and designing the structure. By determining the position of the gear center and the relative position relationship with other components, appropriate gear size, number of teeth, modulus and other parameters are designed.
[0068] The preset trimming operation is a pre-set trimming operation. In the field of machine tool processing, trimming usually refers to adjusting parameters and states related to cutting to optimize the machining process and ensure the quality and efficiency of the machining process.
[0069] Therefore, by measuring the angle value and the preset angle threshold value, it is determined whether the coordinates of the measurement point meet the actual requirements. If not, the coordinates need to be re-measured in order to determine the initial center coordinates of the gear center based on the obtained measurement point coordinates, and perform the preset trimming operation on the target gear, so as to adjust the parameters in order to improve the accuracy and quality of the machining.
[0070] S140, according to the updated coordinates corresponding to each measurement point, determine the updated center coordinates corresponding to the center point, and according to the updated center coordinates and the initial center coordinates, determine the measurement compensation value.
[0071] The updated coordinates are the coordinates of the measurement point determined after the preset trimming operation is performed on the gear, i.e., the coordinates of the measurement point need to be determined again after the trimming operation is performed.
[0072] The updated center coordinates are the coordinates of the measurement point obtained by re-measuring, which are the coordinates corresponding to the gear center.
[0073] The measurement compensation value can also be the center offset of the gear immediately. The center offset refers to the deviation between the actual center of the gear and the theoretical center position. In the ideal design and machining state, the center of the gear is a certain geometric position, and all gear parameters such as tooth shape and pitch are determined based on this theoretical center. In the actual machining and assembly process, due to various factors, the actual center position of the gear may deviate from the theoretical center position. This deviation distance is the center offset. By timely discovering and correcting the center offset, the normal operation of the gear transmission system can be ensured.
[0074] Based on this, after the adjustment operation is performed, the gear center may have an offset error, and by re-measuring the coordinates of the points, the updated center coordinates corresponding to the gear center are determined, so as to determine the center offset of the gear center, i.e., the compensation value required by the gear, according to the updated center coordinates determined after the adjustment operation and the initial center coordinates before the adjustment operation, so as to correct the error value and improve the machining precision.
[0075] S150, according to the measurement compensation value, performing tool setting operation on the target gear.
[0076] Based on this, by determining the measurement compensation value that needs to be corrected, i.e., the center offset, the secondary tool setting is performed, and the measurement precision of the secondary tool setting is improved.
[0077] On the basis of the feasible implementation manner of S110 described above, the application further provides the steps of determining any two adjacent teeth on the target gear to be tool set, and a dividing circle locus corresponding to the target gear, and determining four measurement points on the two adjacent teeth according to the dividing circle locus.
[0078] According to the number of teeth and the module of the target gear, the radius of the dividing circle is determined, and the center point of the target gear is determined;
[0079] According to the radius of the dividing circle and the center point, the dividing circle locus is determined;
[0080] According to the dividing circle locus, the four measurement points on the two adjacent teeth are determined.
[0081] Among them, the number of teeth and the module of the target gear, the number of teeth of the gear refers to the number of teeth on the gear, and the module refers to the ratio of the center distance of adjacent teeth to the ratio, which is an important parameter for gear design and calculation, and is used to describe the size of the gear.
[0082] The center point of the target gear is the geometric center of the gear.
[0083] Based on this, the dividing circle region has stable geometric shape and is less affected by heat treatment deformation, and by determining the four measurement points located in the dividing circle, the center coordinates corresponding to the gear center are determined by subsequently determining the coordinates of the measurement points.
[0084] On the basis of the feasible implementation manner of S110 described above, the application further provides the steps of determining any two adjacent teeth on the target gear to be tool set, and a dividing circle locus corresponding to the target gear, and determining four measurement points on the two adjacent teeth according to the dividing circle locus.
[0085] According to the intersection of the tooth edge of the adjacent tooth and the dividing circle locus, the four measurement points are determined.
[0086] Among them, the tooth edge is the profile edge of the tooth on the gear, please refer to Figure 2 , Figure 2A system schematic diagram of a secondary tool setting method based on a numerical control machine tool is provided for the embodiments of the present application; as shown in Figure 2 The four measurement points, namely measurement point A, measurement point B, measurement point C and measurement point D, are determined by determining the intersection point of the edge of the tooth and the locus of the reference circle.
[0087] On the basis of the feasible implementation manner of S120 described above, the present application further provides a method for determining the coordinates corresponding to the four measurement points according to the measuring device, and determining the measurement angle value according to the four coordinates, comprising the steps of:
[0088] According to the preset tool origin, the target measuring device and the tool holder are moved along the preset workpiece axial direction for measurement, so as to obtain the coordinates of each measurement point;
[0089] According to the coordinates of each measurement point, the measurement angle value is determined.
[0090] The preset tool origin is a pre-set position origin corresponding to the tool, which can be understood as a specific point on the tool in numerical control machining, which is a fixed reference point in the machine tool coordinate system, and is used to determine the position of the tool in the machine tool.
[0091] The preset workpiece axial direction is a pre-set coordinate axis direction corresponding to the workpiece, which is usually parallel to the workpiece rotation axis or the main length direction in mechanical machining. The size in the workpiece axial direction is usually one of the important parameters for describing the size and shape of the workpiece. In the machining process, the tool moves along the workpiece axial direction to realize machining at different positions.
[0092] The tool holder is a component for installing the tool. In numerical control machining, the measuring head is a device for measuring the size, position or tool parameter information of the workpiece. The measuring head is installed on the tool holder and moves synchronously with the tool holder to measure the sampling point method.
[0093] In actual measurement, any two adjacent teeth in the same reference circle can be intercepted as measurement objects. The tool origin position is calibrated, the measuring head is moved to the front position of the first tooth, the coordinates of the first measurement point are determined, and posA is used to represent the coordinates; the tool holder drives the measuring head to move synchronously along the workpiece axial direction with the first measurement point as the test origin, the workpiece shaft remains stationary, the coordinates at the reference circle are collected, the abnormal points are filtered out, the coordinates of the second measurement point posB, the third measurement point posC and the fourth measurement point posD are obtained.
[0094] Therefore, the measuring head is driven by the tool holder, the tool origin is taken as the position origin, and the workpiece shaft remains stationary while moving synchronously along the workpiece axial direction, so as to measure and determine the coordinates of the measurement points, effectively avoiding the problem of low efficiency caused by complex structure, and being suitable for small modulus and multi-tooth characteristics of planetary screw gear
[0095] On the basis of the above-mentioned feasible implementation of S120, the application further provides a method for determining a measurement angle value according to the coordinates of each measurement point, comprising the steps of:
[0096] According to the preset workpiece axial direction, a first measurement point, a second measurement point, a third measurement point and a fourth measurement point in the four measurement points are determined, and the coordinates of each measurement point are determined;
[0097] According to the coordinates corresponding to the first measurement point, the coordinates corresponding to the third measurement point and the helix angle cosine value corresponding to the target gear, a first measurement angle value is determined;
[0098] According to the coordinates corresponding to the second measurement point, the coordinates corresponding to the fourth measurement point and the helix angle cosine value, a second measurement angle value is determined.
[0099] Among them, the first measurement point, the second measurement point, the third measurement point and the fourth measurement point are the front and rear order of the measurement points determined according to the workpiece axial direction, that is, the moving direction of the measuring head, that is, the first measurement point measured by the measuring head first, and the fourth measurement point measured last; further, the tooth measured first can be understood as the first tooth, and the tooth measured last is the second tooth, the first measurement point and the second measurement point are located on the first tooth, the first measurement point is the front position measurement point of the first tooth, and the second measurement point is the back position measurement point of the first tooth; the third measurement point and the fourth measurement point are located on the second tooth, the third measurement point is the front position measurement point of the second tooth, and the fourth measurement point is the back position measurement point of the second tooth
[0100] The first measurement angle value is a gear angle value measured according to the coordinates of the first measurement point and the third measurement point, which can be expressed as:
[0101] is the helix angle), wherein posC is the third measurement point coordinate, posA is the first measurement point coordinate, that is, the helix angle cosine value, π is the ratio of the circumference to the diameter of a circle, Z is the number of gear teeth, and Mn is the normal modulus of the gear.
[0102] In helical gear transmission, the helix angle is an important parameter. It affects the carrying capacity, transmission efficiency and running stability of the gear. Properly increasing the helix angle can increase the contact ratio, make the gear transmission more stable, and also improve the carrying capacity of the gear, but too large helix angle will increase the axial force and increase the load of the bearing.
[0103] The second measurement angle value is a gear angle value measured according to the coordinates of the second measurement point and the fourth measurement point, which can be expressed as:
[0104] is the helix angle), wherein posD is the fourth measurement point coordinate, posB is the second measurement point coordinate, is the helix angle cosine value, π is the ratio of the circumference to the diameter of a circle, Z is the number of gear teeth, and Mn is the normal modulus of the gear.
[0105] Therefore, the corresponding first measurement angle value and the second measurement angle value are determined based on the coordinates of the measurement points, so that it is determined whether the measurement angle value meets the requirements according to the first measurement angle value, the second measurement angle value, and the preset angle threshold value.
[0106] Based on the above feasible implementation manner of S130, the application further provides that the initial center coordinates corresponding to the center point of the target gear are determined according to the measurement angle value, the preset angle threshold value, and the coordinates corresponding to the measurement points, and a preset trimming operation is performed on the target gear, including the steps of:
[0107] determining the first measurement angle value and the second measurement angle value in the measurement angle value;
[0108] respectively judging the sizes of the first measurement angle value and the preset angle threshold value, and the second measurement angle value and the preset angle threshold value;
[0109] if the first measurement angle value and the second measurement angle value are both less than the preset angle threshold value, the coordinates corresponding to each measurement point are determined;
[0110] if any of the first measurement angle value and the second measurement angle value is not less than the preset angle threshold value, the steps of determining the coordinates corresponding to the four measurement points according to the measurement device, and determining the measurement angle value according to the four coordinates, are re-executed until the first measurement angle value and the second measurement angle value are both less than the preset angle threshold value.
[0111] determining the initial center coordinates corresponding to the center point of the target gear according to the coordinates corresponding to the measurement points, and performing a preset trimming operation on the target gear.
[0112] Therefore, by giving an angle error range, i.e., the preset angle threshold value , the actual angle is calculated according to the actual measurement coordinates, and it is checked whether the first measurement angle value error and the second measurement angle value error are both within the range If the measurement angle value is within the range, the subsequent adjustment and cutting operation is performed; if any one of the measurement angle values exceeds the range, it indicates that a measurement error occurs, at which time the coordinates corresponding to the four measurement points need to be determined again until the measurement angle values corresponding to the measurement point coordinates determined by the re-measurement all satisfy the preset angle threshold, so as to determine the initial center coordinates according to the coordinates corresponding to the measurement points, and perform adjustment and cutting, thereby avoiding measurement errors.
[0113] Based on the above feasible implementation manner of S130, the application further provides that the initial center coordinates corresponding to the center point of the target gear are determined according to the coordinates corresponding to the measurement points, and the preset adjustment and cutting operation is performed on the target gear, including the steps of:
[0114] The second measurement point and the third measurement point in the measurement points are determined, and the initial center coordinates are determined according to the difference between the coordinates corresponding to the third measurement point and the second measurement point;
[0115] The preset adjustment and cutting operation is performed on the target gear.
[0116] The initial center coordinates can be represented by posZ.
[0117]
[0118] posC is the third measurement point coordinate, and posB is the second measurement point coordinate.
[0119] Therefore, the initial center coordinates are determined by the coordinates of the second measurement point and the third measurement point.
[0120] In some embodiments of the application, by determining any two teeth and the corresponding division circle on the target gear to be tool setting, the measurement points are determined, and the measuring head is directly mounted on the tool holder to move synchronously with the tool, the coordinates corresponding to the measurement points are determined according to the workpiece axial direction, and the corresponding measurement angle values are determined, so that by comparing the measurement angle values of the two teeth with the preset angle threshold, it is determined whether the measurement point coordinates measured meet the actual requirements, so that the measurement point coordinates meeting the requirements are determined, and the initial center coordinates are determined. After the adjustment and cutting operation is performed, the measurement point coordinates are determined again to determine the updated center coordinates, so that the compensation value that needs to be corrected is determined according to the center offset of the target gear before and after the adjustment and cutting operation, and the tool setting is performed twice.
[0121] In this way, mounting the probe directly on the tool post and moving synchronously with the tool simplifies the mechanical structure. Simultaneously, adjusting the measurement point position within the pitch circle error zone effectively avoids deformation areas at the tooth tip or root. Compared to the traditional two-point center value measurement method, the measurement point is located within the pitch circle error zone, ensuring stable geometry in the pitch circle region and minimizing the impact of heat treatment deformation. The center value is calculated jointly using multi-tooth data, avoiding systematic deviations caused by local defects in a single tooth, as in traditional methods. Furthermore, the probe's synchronous movement with the tool post effectively avoids inefficiencies due to structural complexity, making it suitable for planetary lead screw gears with small module and high tooth counts. Real-time compensation by determining the center offset solves the accuracy drift problem caused by tool wear and machine tool thermal deformation during long-term machining, a problem inherent in traditional methods. Optimizing the probe's mounting position and compensation algorithm resolves the tooth groove center offset problem caused by tool wear, thermal deformation, and workpiece clamping errors during secondary tool setting, improving tool setting efficiency and accuracy.
[0122] Figure 3 This is a schematic diagram of a secondary tool setting device 300 based on a CNC machine tool, provided as an embodiment of this application. Figure 3 As shown, the secondary tool setting device 300 based on a CNC machine tool includes: a measurement point determination module 310, an angle value determination module 320, a center coordinate determination module 330, a compensation value determination module 340, and an operation module 350; wherein:
[0123] The measurement point determination module 310 is used to determine any two adjacent teeth on the target gear to be set, as well as the corresponding pitch circle trajectory of the target gear, and to determine four measurement points on the two adjacent teeth based on the pitch circle trajectory.
[0124] The angle value determination module 320 is used to determine the coordinates of the four measurement points according to the measuring equipment, and to determine the measurement angle value according to the four coordinates.
[0125] The center coordinate determination module 330 is used to determine the initial center coordinates corresponding to the center point of the target gear based on the measured angle value, the preset angle threshold and the coordinates corresponding to the measurement point, and to perform a preset adjustment operation on the target gear.
[0126] The compensation value determination module 340 is used to determine the updated center coordinates corresponding to the center point based on the updated coordinates corresponding to each measurement point, and to determine the measurement compensation value based on the updated center coordinates and the initial center coordinates.
[0127] The operation module 350 is used to perform tool setting operations on the target gear based on the measured compensation value.
[0128] In this embodiment of the application, the measurement point determination module 310 can also be specifically used for:
[0129] According to the number of teeth and the module of the target gear, a pitch circle radius is determined, and a center point of the target gear is determined;
[0130] According to the pitch circle radius and the center point, a pitch circle track is determined;
[0131] According to the pitch circle track, four measurement points on two adjacent teeth are determined.
[0132] In the embodiments of the present application, the measurement point determination module 310 can be specifically used for:
[0133] According to the intersection of the tooth edge of the adjacent tooth and the pitch circle track, the four measurement points are determined.
[0134] In the embodiments of the present application, the angle value determination module 320 can be specifically used for:
[0135] According to the preset tool origin, the target measurement device and the tool holder are moved along the preset workpiece axis for measurement, and the coordinates of each measurement point are obtained;
[0136] According to the coordinates of each measurement point, the measurement angle value is determined.
[0137] In the embodiments of the present application, the angle value determination module 320 can be specifically used for:
[0138] According to the preset workpiece axis, a first measurement point, a second measurement point, a third measurement point and a fourth measurement point in the four measurement points are determined, and the coordinates of each measurement point are determined;
[0139] According to the coordinates corresponding to the first measurement point, the coordinates corresponding to the third measurement point and the helix angle cosine value corresponding to the target gear, a first measurement angle value is determined;
[0140] According to the coordinates corresponding to the second measurement point, the coordinates corresponding to the fourth measurement point and the helix angle cosine value, a second measurement angle value is determined.
[0141] In the embodiments of the present application, the center coordinate determination module 330 can be specifically used for:
[0142] The first measurement angle value and the second measurement angle value in the measurement angle value are determined;
[0143] The sizes of the first measurement angle value and the preset angle threshold value, and the sizes of the second measurement angle value and the preset angle threshold value are respectively judged;
[0144] If the first measurement angle value and the second measurement angle value are both less than the preset angle threshold value, the coordinates corresponding to each measurement point are determined;
[0145] If any of the first measurement angle value and the second measurement angle value is not less than the preset angle threshold value, the steps of determining the coordinates corresponding to the four measurement points according to the measurement device, and determining the measurement angle value according to the four coordinates are re-executed, until the first measurement angle value and the second measurement angle value are both less than the preset angle threshold value.
[0146] According to the coordinates corresponding to the measurement points, the initial center coordinates corresponding to the center point of the target gear are determined, and the preset trimming operation is performed on the target gear.
[0147] In the embodiments of the present application, the center coordinate determination module 330 can also be specifically used for:
[0148] determining the second measurement point and the third measurement point in the measurement points, and determining the initial center coordinates according to the difference between the coordinates corresponding to the third measurement point and the second measurement point;
[0149] performing the preset trimming operation on the target gear.
[0150] Figure 4 The device provided in the embodiments of the present application is shown in a structural schematic diagram. As shown in the figure, Figure 4 The device 400 includes:
[0151] The device 400 can include a processor 401 with one or more processing cores, a memory 402 with one or more computer readable storage media, a communication component 403, and the like. Among them, the processor 401, the memory 402 and the communication component 403 are connected through the bus 404.
[0152] In the specific implementation process, the at least one processor 401 executes the computer execution instructions stored in the memory 402, so that the at least one processor 401 executes the above-mentioned secondary tool setting method based on the numerical control machine tool.
[0153] The specific implementation process of the processor 401 can refer to the above-mentioned method embodiments, which have similar implementation principles and technical effects, and will not be described here in detail.
[0154] Further, the processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or the like. The general-purpose processor can be a microprocessor or the like, or can also be any conventional processor. The steps of the method disclosed in the present application can be directly embodied as execution completed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0155] The memory can include a random access memory (RAM), and can also include a non-volatile memory (NVM), such as at least one disk memory.
[0156] The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, or the like. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0157] In some embodiments, a computer program product is also provided, including a computer program or instructions, which, when executed by a processor, implements the steps of any of the above-mentioned secondary tool setting methods based on a numerical control machine tool.
[0158] The specific implementation of the above operations can refer to the previous embodiments, which will not be repeated here.
[0159] Those of ordinary skill in the art can understand that all or part of the steps of the various methods of the above embodiments can be completed by instructions, or by relevant hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.
[0160] To this end, an embodiment of the present application provides a computer readable storage medium, which stores a plurality of program codes. The program codes can be loaded by a processor to execute the steps of any of the secondary tool setting methods based on a numerical control machine tool provided by the embodiments of the present application.
[0161] The storage medium can include a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, etc.
[0162] According to an aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
[0163] Since the instructions stored in the storage medium can execute the steps of any of the secondary tool setting methods based on the numerical control machine tool provided by the embodiments of the present application, the beneficial effects of any of the secondary tool setting methods based on the numerical control machine tool provided by the embodiments of the present application can be achieved. Details are described in the foregoing embodiments, which will not be repeated here.
[0164] Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the present application cover any and all variations of the application that come within the scope of the claims and their equivalents. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0165] It should be understood that the application is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is limited only by the appended claims.
Claims
1. A secondary tool setting method based on a numerical control machine tool, characterized in that, The method comprises: determining any two adjacent teeth on a target gear to be indexed, and a dividing circle track corresponding to the target gear, and determining four measurement points on the two adjacent teeth according to the dividing circle track; determining coordinates corresponding to the four measurement points according to a measurement device, and determining a measurement angle value according to the four coordinates; wherein the determination of the coordinates corresponding to the four measurement points according to the measurement device comprises: moving the target measurement device and the tool holder along a preset workpiece axial direction for measurement according to a preset tool origin, to obtain the coordinates of each measurement point; the determination of the measurement angle value according to the four coordinates comprises: determining a first measurement point, a second measurement point, a third measurement point and a fourth measurement point among the four measurement points according to the preset workpiece axial direction, and determining the coordinates of each measurement point; determining a first measurement angle value according to the coordinates corresponding to the first measurement point, the coordinates corresponding to the third measurement point and a helix angle cosine value corresponding to the target gear; determining a second measurement angle value according to the coordinates corresponding to the second measurement point, the coordinates corresponding to the fourth measurement point and the helix angle cosine value; determining an initial center coordinate corresponding to a center point of the target gear according to the measurement angle value, a preset angle threshold and the coordinates corresponding to the measurement points, and performing a preset indexing operation on the target gear; determining an updated center coordinate corresponding to the center point according to updated coordinates corresponding to each measurement point, and determining a measurement compensation value according to the updated center coordinate and the initial center coordinate; the updated coordinates are the coordinates of the measurement points determined by re-measuring the coordinates of the measurement points after performing the preset indexing operation on the gear; performing an indexing operation on the target gear according to the measurement compensation value.
2. The method of claim 1, wherein, The determination of any two adjacent teeth on a target gear to be indexed, and a dividing circle track corresponding to the target gear, and the determination of four measurement points on the two adjacent teeth according to the dividing circle track, comprises: determining a dividing circle radius according to the number of teeth and the module of the target gear, and determining a center point of the target gear; determining the dividing circle track according to the dividing circle radius and the center point; determining the four measurement points on the two adjacent teeth according to the dividing circle track.
3. The method of claim 2, wherein, The determination of the four measurement points on the two adjacent teeth according to the dividing circle track comprises: determining the four measurement points according to the intersection of the tooth edge of the adjacent teeth and the dividing circle track.
4. The method of claim 1, wherein, The determination of the initial center coordinate corresponding to the center point of the target gear according to the measurement angle value, the preset angle threshold and the coordinates corresponding to the measurement points, and the performance of the preset indexing operation on the target gear, comprises: determining a first measurement angle value and a second measurement angle value among the measurement angle values; respectively judging the sizes of the first measurement angle value and the preset angle threshold, and the second measurement angle value and the preset angle threshold; If the first measurement angle value and the second measurement angle value are both less than the preset angle threshold, the coordinates corresponding to the respective measurement points are determined; If any of the first measurement angle value and the second measurement angle value is not less than the preset angle threshold, the steps of determining the coordinates corresponding to the respective measurement points according to the measuring device, and determining the measurement angle value according to the four coordinates are re-executed until the first measurement angle value and the second measurement angle value are both less than the preset angle threshold; According to the coordinates corresponding to the measurement points, the initial center coordinates corresponding to the center point of the target gear are determined, and preset trimming operation is performed on the target gear.
5. The method of claim 4, wherein, The step of determining the initial center coordinates corresponding to the center point of the target gear according to the coordinates corresponding to the measurement points, and performing preset trimming operation on the target gear, comprises: determining a second measurement point and a third measurement point in the measurement points, and determining the initial center coordinates according to the difference between the coordinates corresponding to the third measurement point and the second measurement point; performing preset trimming operation on the target gear.
6. A secondary tool setting device based on a numerical control machine tool, characterized in that, The device comprises: a measurement point determination module configured to determine any two adjacent teeth on a target gear to be indexed, and a dividing circle locus corresponding to the target gear, and determine four measurement points on the two adjacent teeth according to the dividing circle locus; an angle value determination module configured to determine coordinates corresponding to the respective measurement points according to a measuring device, and determine a measurement angle value according to the four coordinates; wherein the step of determining the coordinates corresponding to the respective measurement points according to the measuring device comprises: moving the target measuring device and the tool holder along a preset workpiece axial direction for measurement according to a preset tool origin, to obtain the coordinates of the respective measurement points; the step of determining the measurement angle value according to the four coordinates comprises: determining a first measurement point, a second measurement point, a third measurement point and a fourth measurement point in the four measurement points according to the preset workpiece axial direction, and determining the coordinates of the respective measurement points; determining a first measurement angle value according to the coordinates corresponding to the first measurement point, the coordinates corresponding to the third measurement point and a helix angle cosine value corresponding to the target gear; determining a second measurement angle value according to the coordinates corresponding to the second measurement point, the coordinates corresponding to the fourth measurement point and the helix angle cosine value; a center coordinate determination module configured to determine initial center coordinates corresponding to a center point of the target gear according to the measurement angle value, a preset angle threshold and the coordinates corresponding to the measurement points, and perform preset trimming operation on the target gear. The compensation value determination module is configured to determine an updated center coordinate corresponding to the center point according to the updated coordinates corresponding to each of the measurement points, and determine a measurement compensation value according to the updated center coordinate and the initial center coordinate; the updated coordinate is a coordinate of the measurement point determined by re-measuring the coordinate of the measurement point after the preset adjustment and cutting operation is performed on the gear; The operation module is configured to perform a tool setting operation on the target gear according to the measurement compensation value.
7. An apparatus, comprising: The method comprises the following steps: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The program code is stored in the computer readable storage medium and can be called and executed by the processor to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Secondary tool setting method based on numerical control gear machine tool
CN116922155A