Rotating shaft vertical-horizontal conversion precision detection method, device, equipment and medium

CN121018279BActive Publication Date: 2026-08-11CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]有鉴于此,本申请的目的在于提供一种旋转轴立卧转换精度检测方法、装置、设备及介质,以改善现有技术中存在的立卧转换精度检测的可靠度相对不高的问题

Benefits of technology

[0033] The rotary shaft vertical-horizontal conversion accuracy detection method, apparatus, equipment, and medium provided in this application firstly acquire the coordinates of a first reference point on a first direction axis in the horizontal state to obtain a first coordinate value, and then acquire the coordinates of the first reference point on the first direction axis in the vertical state to obtain a second coordinate value. Secondly, acquire the coordinates of a second reference point on a second direction axis in the horizontal state to obtain a third coordinate value, and then acquire the coordinates of the second reference point on the second direction axis in the vertical state to obtain a fourth coordinate value. Then, based on the first and second coordinate values, determine the vertical-horizontal conversion accuracy error on the first direction axis, and based on the third and fourth coordinate values, determine the vertical-horizontal conversion accuracy error on the second direction axis. Based on the above, since the vertical-horizontal conversion accuracy error can be automatically detected, it is more objective and accurate than existing methods that require more manual intervention. Therefore, it can improve the problem of relatively low reliability in existing vertical-horizontal conversion accuracy detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121018279B_ABST
    Figure CN121018279B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, equipment, and medium for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, relating to the field of CNC machine tool control technology. In this application, firstly, the coordinates of a first reference point on a first direction axis in the horizontal state are obtained to obtain a first coordinate value; secondly, the coordinates of the first reference point on the first direction axis in the horizontal state are obtained to obtain a third coordinate value; and thirdly, the coordinates of the second reference point on the second direction axis in the vertical state are obtained to obtain a fourth coordinate value. Then, the vertical-to-horizontal conversion accuracy error on the first direction axis is determined based on the first and second coordinate values, and the vertical-to-horizontal conversion accuracy error on the second direction axis is determined based on the third and fourth coordinate values. Based on the above, the relatively low reliability of vertical-to-horizontal conversion accuracy detection in the prior art can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of CNC machine tool control technology, and more specifically, to a method, device, equipment, and medium for detecting the accuracy of rotary axis vertical-horizontal conversion. Background Technology

[0002] Aerospace structural components mainly consist of frames, beams, and joints, characterized by complex structures, diverse parts, high machining difficulty, and high precision requirements. Rotary-to-horizontal conversion machining centers with rotary tables are core equipment for machining these parts, and the precision control technology for the rotary axis conversion in these centers has become a weakness in the industry. Rotary-to-horizontal conversion machining centers primarily process parts requiring rotary machining and conversion between vertical and horizontal orientations, demanding high precision in this process. During machining, problems frequently arise such as abnormal dimensions (excessively thin or thick) of the web and flanges in convertible parts, and tool-joint steps. Maintenance involves long precision inspection cycles, significant manual intervention, and low inspection accuracy. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a method, apparatus, equipment and medium for detecting the vertical-to-horizontal conversion accuracy of a rotary shaft, so as to improve the problem of relatively low reliability of vertical-to-horizontal conversion accuracy detection in the prior art.

[0004] To achieve the above objectives, this application adopts the following technical solution:

[0005] A method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, applied to machine tool equipment, wherein the machine tool equipment has a rotary table, a rotary spindle, and a probe mounted on the rotary spindle, and the method for detecting the vertical-to-horizontal conversion accuracy of the rotary axis includes:

[0006] For a first reference point located on the first reference surface of the detection block of the turntable, the probe obtains the coordinate value of the first reference point on the first direction axis when the machine tool is in a horizontal state, and obtains the first coordinate value. Then, it obtains the coordinate value of the first reference point on the first direction axis when the machine tool is in an upright state, and obtains the second coordinate value. The first reference surface is perpendicular to the first direction axis.

[0007] For the second reference point located on the second reference surface of the detection block of the turntable, the probe obtains the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal state, and obtains the third coordinate value. Then, the probe obtains the coordinate value of the second reference point on the second direction axis when the machine tool is in a vertical state, and obtains the fourth coordinate value. The first direction axis and the second direction axis are different, and the first reference surface and the second reference surface are different. The second reference surface is perpendicular to the second direction axis.

[0008] Based on the first coordinate value and the second coordinate value, the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the first direction axis is determined, and based on the third coordinate value and the fourth coordinate value, the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the second direction axis is determined.

[0009] In a preferred embodiment of this application, in the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, the steps of obtaining the coordinates of the first reference point on the first reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the first reference point on the first direction axis when the machine tool is in a horizontal position, to obtain a first coordinate value, and obtaining the coordinates of the first reference point on the first direction axis when the machine tool is in an vertical position, to obtain a second coordinate value, include:

[0010] When the machine tool is in a horizontal position, for the first reference point on the first reference surface of the detection block on the turntable, the contact point of the side head is aligned with the first reference point, and the coordinate value of the first reference point on the first direction axis is obtained through the contact point of the side head to obtain the first coordinate value.

[0011] When the machine tool is in a vertical position, for the first reference point on the first reference surface of the detection block on the turntable, the contact point of the side head is aligned with the first reference point, and the coordinate value of the first reference point on the first direction axis is obtained through the contact point of the side head to obtain the second coordinate value.

[0012] In a preferred embodiment of this application, in the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, the steps of obtaining the coordinates of the first reference point on the first reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the first reference point on the first direction axis when the machine tool is in a horizontal position, to obtain a first coordinate value, and obtaining the coordinates of the first reference point on the first direction axis when the machine tool is in an vertical position, to obtain a second coordinate value, include:

[0013] After the detection block is installed on the turntable, in a horizontal position, the turntable is controlled to remain at the zero position, and the milling cutter is controlled to mill the first reference surface of the detection block so that the flatness of the first reference surface is within 0.03mm.

[0014] In a preferred embodiment of this application, in the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, the steps of obtaining the coordinate values ​​of the second reference point on the second reference surface of the detection block located on the turntable, using the probe to obtain the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in a horizontal state, to obtain a third coordinate value, and obtaining the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in a vertical state, to obtain a fourth coordinate value, include:

[0015] When the machine tool is in a horizontal position, for the second reference point on the second reference surface of the detection block of the turntable, the contact point of the side head is aligned with the second reference point, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the side head to obtain the third coordinate value;

[0016] When the machine tool is in a vertical position, for the second reference point on the second reference surface of the detection block of the turntable, the contact point of the side head is aligned with the second reference point, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the side head to obtain the fourth coordinate value.

[0017] In a preferred embodiment of this application, in the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, the steps of obtaining the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in a horizontal position using the probe to obtain a third coordinate value, and obtaining the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in an vertical position to obtain a fourth coordinate value, further include:

[0018] After the detection block is installed on the turntable, in a horizontal position, the turntable is controlled to remain at the zero position, and the milling cutter is controlled to mill the second reference surface of the detection block so that the flatness of the second reference surface is within 0.03mm.

[0019] In a preferred embodiment of this application, the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary shaft further includes:

[0020] Based on the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis and the vertical-to-horizontal conversion accuracy error on the second direction axis, parameter compensation is performed on the machine tool.

[0021] After parameter compensation of the machine tool equipment, the test cut piece located on the turntable is processed, and at least one dimensional parameter of the processed test cut piece is obtained;

[0022] Based on the preset reference dimension parameters and the at least one dimension parameter, determine whether the vertical-to-horizontal conversion accuracy of the machine tool after parameter compensation meets the processing requirements.

[0023] In a preferred embodiment of this application, in the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis, the step of processing the test piece located on the turntable after parameter compensation of the machine tool equipment and obtaining at least one dimensional parameter of the processed test piece includes:

[0024] After parameter compensation of the machine tool equipment, the rotary table is controlled to remain at the zero position;

[0025] In a horizontal position, the first and second webs of the test cut piece located on the turntable are machined;

[0026] In a vertical position, the first and second surfaces of the test cut piece are machined, and the thickness dimensions of the machined flange, first web, and second web are obtained to obtain at least one dimensional parameter of the machined test cut piece. The thickness dimension of the machined flange is used to characterize the vertical-to-horizontal conversion accuracy of the machine tool on the second direction axis, and the thickness dimensions of the machined first web and second web are used to characterize the vertical-to-horizontal conversion accuracy of the machine tool on the first direction axis.

[0027] This application also provides a rotary axis vertical-to-horizontal conversion accuracy testing device, applied to machine tool equipment, wherein the machine tool equipment has a rotary table, a rotary spindle, and a probe mounted on the rotary spindle, and the rotary axis vertical-to-horizontal conversion accuracy testing device includes:

[0028] The first coordinate detection module is used to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in a horizontal state, and to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in an upright state, thereby obtaining the second coordinate value. The first reference surface is perpendicular to the first direction axis.

[0029] The second coordinate detection module is used to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal state, and to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in an upright state, in order to obtain the third coordinate value. The first direction axis and the second direction axis are different, and the first reference plane and the second reference plane are different. The second reference plane is perpendicular to the second direction axis.

[0030] The conversion accuracy detection module is used to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis based on the first coordinate value and the second coordinate value, and to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the second direction axis based on the third coordinate value and the fourth coordinate value.

[0031] Based on the above, this application also provides a machine tool for performing the various steps included in the above-described method for detecting the vertical-horizontal conversion accuracy of a rotary axis.

[0032] Based on the above, this application also provides a computer-readable storage medium storing a computer program that, when executed, performs the various steps included in the above-described method for detecting the accuracy of rotary axis vertical-horizontal conversion.

[0033] The rotary shaft vertical-horizontal conversion accuracy detection method, apparatus, equipment, and medium provided in this application firstly acquire the coordinates of a first reference point on a first direction axis in the horizontal state to obtain a first coordinate value, and then acquire the coordinates of the first reference point on the first direction axis in the vertical state to obtain a second coordinate value. Secondly, acquire the coordinates of a second reference point on a second direction axis in the horizontal state to obtain a third coordinate value, and then acquire the coordinates of the second reference point on the second direction axis in the vertical state to obtain a fourth coordinate value. Then, based on the first and second coordinate values, determine the vertical-horizontal conversion accuracy error on the first direction axis, and based on the third and fourth coordinate values, determine the vertical-horizontal conversion accuracy error on the second direction axis. Based on the above, since the vertical-horizontal conversion accuracy error can be automatically detected, it is more objective and accurate than existing methods that require more manual intervention. Therefore, it can improve the problem of relatively low reliability in existing vertical-horizontal conversion accuracy detection. Attached Figure Description

[0034] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings.

[0035] Figure 1 A structural block diagram of an electronic device provided in an embodiment of this application.

[0036] Figure 2 This is a schematic diagram of the rotary shaft vertical-horizontal conversion accuracy detection method provided in the embodiments of this application.

[0037] Figure 3 This is a schematic diagram of the vertical-to-horizontal conversion accuracy error detection of the rotating shaft in the Z-axis direction, as provided in an embodiment of this application.

[0038] Figure 4 This is a schematic diagram illustrating the vertical-to-horizontal conversion accuracy error detection of the rotating shaft in the Y-axis direction, as provided in an embodiment of this application.

[0039] Figure 5 This is a schematic diagram of a test cut piece provided in an embodiment of this application.

[0040] Figure 6 This is a schematic diagram of the rotary shaft vertical-horizontal conversion accuracy detection device provided in the embodiments of this application. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0042] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0043] like Figure 1 As shown in the figure, this application provides a machine tool device. The machine tool device may include a memory, a processor, and a rotary axis vertical / horizontal conversion accuracy detection device.

[0044] In detail, the memory and the processor are electrically connected directly or indirectly to enable data transmission or interaction. For example, the memory and the processor can be electrically connected via one or more communication buses or signal lines. The rotary axis vertical-to-horizontal conversion accuracy detection device includes at least one software functional module stored in the memory in the form of software or firmware. The processor is used to execute the executable computer program stored in the memory, such as the software functional module and computer program included in the rotary axis vertical-to-horizontal conversion accuracy detection device, to implement the rotary axis vertical-to-horizontal conversion accuracy detection method provided in this application embodiment.

[0045] Optionally, the memory may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.

[0046] Furthermore, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0047] Understandable. Figure 1 The structure shown is for illustrative purposes only; the machine tool equipment may also include components that are more advanced than those shown. Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown may include, for example, a communication unit for exchanging information with other devices.

[0048] In addition, the machine tool equipment may also include a rotary table, a rotary spindle, a probe and a milling cutter mounted on the rotary spindle, etc.

[0049] Combination Figure 2 This application also provides a method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis applicable to the aforementioned machine tool equipment. The method steps defined in the process flow of the method for detecting the vertical-to-horizontal conversion accuracy of the rotary axis can be implemented by the machine tool equipment. The following will describe... Figure 2 The specific process shown will be explained in detail.

[0050] Step S110: For the first reference point located on the first reference surface of the detection block of the turntable, the probe is used to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in a horizontal state, to obtain the first coordinate value, and the probe is used to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in an vertical state, to obtain the second coordinate value.

[0051] In this embodiment, the machine tool can obtain a first coordinate value by using a probe to acquire the coordinate value of the first reference point on the first reference surface of the detection block on the turntable when the machine tool is in a horizontal position, along the first direction axis; and obtain a second coordinate value by acquiring the coordinate value of the first reference point on the first direction axis when the machine tool is in a vertical position. The first reference surface is perpendicular to the first direction axis, such as the z-axis.

[0052] Step S120: For the second reference point located on the second reference surface of the detection block of the turntable, the probe is used to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal state, to obtain a third coordinate value, and the probe is used to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in an vertical state, to obtain a fourth coordinate value.

[0053] In this embodiment, the machine tool can obtain a third coordinate value by using the probe to acquire the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal position, and a fourth coordinate value by acquiring the coordinate value of the second reference point on the second direction axis when the machine tool is in a vertical position. The first direction axis and the second direction axis are different (e.g., perpendicular to each other), and the first reference plane and the second reference plane are different (e.g., perpendicular to each other), with the second reference plane perpendicular to the second direction axis, such as the y-axis.

[0054] Step S130: Based on the first coordinate value and the second coordinate value, determine the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the first direction axis, and based on the third coordinate value and the fourth coordinate value, determine the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the second direction axis.

[0055] In this embodiment of the application, after obtaining the first coordinate value, the second coordinate value, the third coordinate value, and the fourth coordinate value, the machine tool can determine the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis based on the first coordinate value and the second coordinate value (e.g., by calculating the difference between the first coordinate value and the second coordinate value), and determine the vertical-to-horizontal conversion accuracy error of the machine tool on the second direction axis based on the third coordinate value and the fourth coordinate value (e.g., by calculating the difference between the third coordinate value and the fourth coordinate value).

[0056] Based on the above, since the detection of vertical-to-horizontal conversion accuracy error can be automatically realized, it is more objective and accurate than the existing technology that requires more manual intervention. Therefore, it can improve the problem of relatively low reliability of vertical-to-horizontal conversion accuracy detection in the existing technology.

[0057] Firstly, regarding step S110, it should be noted that the specific method for detecting the first coordinate value and the second coordinate value is not limited and can be selected according to actual needs.

[0058] For example, in an alternative implementation, to ensure the reliability of the detected first and second coordinate values, step S110 may include the following:

[0059] On one hand, when the machine tool is in a horizontal position, the contact point of the side head is aligned with the first reference point on the first reference surface of the detection block on the turntable, and the coordinate value of the first reference point on the first direction axis is obtained through the contact point of the side head to obtain a first coordinate value; on the other hand, when the machine tool is in a vertical position, the contact point of the side head is aligned with the first reference point on the first reference surface of the detection block on the turntable, and the coordinate value of the first reference point on the first direction axis is obtained through the contact point of the side head to obtain a second coordinate value.

[0060] In other words, a fixed point can be selected on the first reference plane as the first reference point, which serves as the vertical-to-horizontal conversion accuracy detection point on the first direction axis. In this way, the probe can be placed on the rotating axis, and each drive axis can be controlled to return to its original position and be in a horizontal state. The turntable remains at zero position, and the handwheel is operated to align the ruby ​​contact of the probe with the first reference point, keeping the distance h (h≤ the maximum distance of the probe's measurement movement) on the first direction axis. The probe's detection program is then started to complete the reading and storage of the coordinate value Z1 of the first reference point on the first direction axis in the horizontal state.

[0061] Furthermore, the tool center point control command (RTCP function) can be activated, so that the machine tool is in a vertical position, the rotary table remains at zero position, the ruby ​​contact of the probe is aligned with the first reference point, the distance h (h≤ the maximum distance of the probe's measurement movement) is kept on the first direction axis, the probe's detection program is started, and the coordinate value Z2 of the first reference point on the first direction axis in the vertical position is read and stored.

[0062] Based on this, in step S130, the vertical-to-horizontal conversion accuracy error H1=Z1-Z2 on the first direction axis can be calculated, that is, the difference between the first coordinate value and the second coordinate value.

[0063] In addition, it should be noted that, for step S110, in order to further improve the reliability of the detection, step S110 may further include the following:

[0064] After the detection block is installed on the turntable, in a horizontal position, the turntable is controlled to remain at the zero position, and the milling cutter is controlled to mill the first reference surface of the detection block so that the flatness of the first reference surface is within 0.03mm.

[0065] Secondly, regarding step S120, it should be noted that the specific method for detecting the third coordinate value and the fourth coordinate value is not limited and can be selected according to actual needs.

[0066] For example, in an alternative implementation, to ensure the reliability of the detected third and fourth coordinate values, step S120 may include the following:

[0067] On one hand, when the machine tool is in a horizontal position, the contact point of the side head is aligned with the second reference point on the second reference surface of the detection block on the turntable, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the side head to obtain a third coordinate value; on the other hand, when the machine tool is in a vertical position, the contact point of the side head is aligned with the second reference point on the second reference surface of the detection block on the turntable, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the side head to obtain a fourth coordinate value.

[0068] In other words, a fixed point can be selected on the second reference plane as the second reference point and the vertical-to-horizontal conversion accuracy detection point on the second direction axis. Then, the probe can be placed on the rotating axis, each drive axis returns to its origin position, and the machine tool is controlled to be in a horizontal state. The turntable remains at zero position. The handwheel is operated to align the ruby ​​contact of the probe with the second reference point, keeping the distance h (h≤ the maximum distance of the probe's measurement movement) on the second direction axis. The probe's detection program is started to complete the reading and storage of the coordinate value Y1 of the second reference point on the second direction axis in the horizontal state.

[0069] Furthermore, the five-axis linkage control command can be activated to control the machine tool to be in a vertical position, keep the turntable at zero position, adjust the ruby ​​contact of the probe to align with the second reference point, keep the distance h (h≤ the maximum distance of the probe's measurement movement) on the second direction axis, start the probe's detection program, and complete the reading and storage of the coordinate value Y2 of the second reference point on the second direction axis in the vertical position.

[0070] Based on this, in step S130, the vertical-to-horizontal conversion accuracy error H2=Y1-Y2 on the second direction axis can be calculated, that is, the difference between the third coordinate value and the fourth coordinate value.

[0071] Thirdly, it should also be noted that, in order to further verify the accuracy error obtained based on step S130, the method for detecting the accuracy of rotating shaft vertical-horizontal conversion may also include the following steps, such as steps S140, S150 and S160, the specific contents of each step are as follows.

[0072] Step S140: Based on the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis and the vertical-to-horizontal conversion accuracy error on the second direction axis, perform parameter compensation on the machine tool.

[0073] In this embodiment of the application, the machine tool equipment can perform parameter compensation based on the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the first direction axis and the vertical-to-horizontal conversion accuracy error on the second direction axis. The specific compensation process can refer to the relevant prior art, and will not be described in detail here.

[0074] Step S150: After parameter compensation of the machine tool equipment, the test piece located on the turntable is processed, and at least one dimensional parameter of the processed test piece is obtained.

[0075] In this embodiment of the application, the machine tool can process the test piece located on the turntable after parameter compensation, and obtain at least one dimensional parameter of the processed test piece.

[0076] Step S160: Based on the preset configuration of reference dimension parameters and the at least one dimension parameter, determine whether the vertical-to-horizontal conversion accuracy of the machine tool after parameter compensation meets the processing requirements.

[0077] In this embodiment, the machine tool can determine whether its vertical-to-horizontal conversion accuracy after parameter compensation meets the machining requirements based on preset configured reference dimensional parameters and the at least one dimensional parameter. For example, if the difference between the reference dimensional parameter and the dimensional parameter is small (e.g., less than a configured threshold), it can be determined that the machining requirements are met. Conversely, if the difference between the reference dimensional parameter and the dimensional parameter is large (e.g., greater than or equal to a configured threshold), it can be determined that the machining requirements are not met.

[0078] It is understood that the specific method of processing the test piece and obtaining its dimensional parameters in step S150 above is not limited. For example, in an alternative embodiment, step S150 above may further include the following:

[0079] First, after parameter compensation of the machine tool equipment, the rotary table can be controlled to remain at the zero position;

[0080] Secondly, the first and second webs of the test cut piece located on the turntable can be machined in a horizontal position;

[0081] Finally, in a vertical position, the first and second surfaces of the test piece can be machined, and the thickness dimensions of the machined flange, first web, and second web can be obtained to determine at least one dimensional parameter of the machined test piece. The thickness dimension of the machined flange characterizes the vertical-to-horizontal conversion accuracy of the machine tool on the second direction axis, and the thickness dimensions of the machined first and second webs characterize the vertical-to-horizontal conversion accuracy of the machine tool on the first direction axis. Thus, in step S160 above, the thickness dimensions of the machined flange, first web, and second web can be compared with their corresponding theoretical values ​​to determine whether the machining requirements are met.

[0082] Based on the above embodiments, in order to facilitate the understanding of the method for detecting the vertical-horizontal conversion accuracy of the rotary shaft, the following specific embodiments are further provided.

[0083] Taking a certain model of 800x800 vertical-horizontal conversion machining center with a rotary table as an example, the vertical-horizontal conversion accuracy error in the Z-axis direction of its rotary axis is detected, such as... Figure 3 As shown.

[0084] Step 1: Compile the main program L000 and subroutine L001 of the probe detection program. The main program L000 defines the setting of the motion axis and direction, the calling of subroutine L001, and the vertical / horizontal conversion instructions. The subroutine L001 defines the data type, execution conditions, the storage location of the probe detection result data, the reading of the initial position of the probe to start measurement, the definition of the motion axis and direction, the measurement mode, the probe alarm, and the probe motion trajectory.

[0085] The main program L000 process program is as follows:

[0086] N001T = "999"; (999 is the probe name, user-defined)

[0087] N002M06; (Tool Change Instruction)

[0088] N003D1; (Activate tool length value)

[0089] N004G54; (Activate coordinate system)

[0090] N005G01A0B0 F1000; (Machine tool returns to origin position, horizontal mode)

[0091] N006AXI=3; (Define the motion axes: 1 for X-axis, 2 for Y-axis, and 3 for Z-axis. Refer to the system parameter settings for details.)

[0092] N007DIR=-1; (Defines the direction of axis movement, 1 for positive, -1 for negative)

[0093] N008L001; (Call subroutine L001)

[0094] N009M00; (Program paused)

[0095] N010TRAORI(3); (Defines the tool center point control of the axis, 1 is the X-axis, 2 is the Y-axis, 3 is the Z-axis, refer to the system parameter settings for details)

[0096] N011G01A-90°; (The machine tool moves from a horizontal position to a vertical position when the tool center point control function is activated.)

[0097] N012M00; (Program paused)

[0098] N013AXI=3; (Define the motion axes: 1 for X-axis, 2 for Y-axis, and 3 for Z-axis. Refer to the system parameters for specific settings.)

[0099] N014DIR=-1; (Defines the direction of axis movement, 1 for positive, -1 for negative)

[0100] N015L001; (Call subroutine L001)

[0101] N016M02; (End of program)

[0102] The process procedure for subroutine L001 is as follows:

[0103] N000M60; (Start the probe, and call the command according to the probe brand)

[0104] N001DEF REALX_STA, Y_STA, Z_STA; (Define real number data)

[0105] N002DEF INT DIS_MEAS=30, F_PROBE=1000; (Maximum probe movement distance: 30mm, movement speed: 1000mm / min)

[0106] N003IF $P_SEARCH OR $P_DRYRUN OR $P_SIM; (if it is any of the following states: search segment execution state, simulation run state, or no-run state)

[0107] N004GOTOF END0; (Execute the END0 subroutine)

[0108] N005ENDIF; (Termination condition statement)

[0109] N006X_PRE=X_W; (Storage location of X-direction probe measurement results)

[0110] N007Y_PRE=Y_W; (Storage location of probe measurement results in the Y direction)

[0111] N008Z_PRE=Z_W; (Z-direction probe measurement result storage location)

[0112] N009X_STA=$AA_IW[X]; (Read the X-axis position of the workpiece coordinate system and define it as the initial position for the probe to start measurement)

[0113] N010Y_STA=$AA_IW[Y]; (Read the Y-axis position of the workpiece coordinate system, and define it as the initial position for the probe to start measurement)

[0114] N011Z_STA=$AA_IW[Z]; (Read the Z-axis position of the workpiece coordinate system and define it as the initial position for the probe to start measurement)

[0115] N012IF ((AXI==2)AND (DIR==1)); (Defines the motion axis (see NC parameter settings for details) and direction, 1 is the X-axis, 2 is the Y-axis, 3 is the Z-axis, 1 is positive motion, -1 is negative motion; if defined as positive Y-axis motion)

[0116] N013G4F2; (Pause for 2 seconds)

[0117] N014SPOS=0; (Spindle positioned at 0°)

[0118] N015G01 MEAS=1 Y=Y_STA+ DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Y-axis moves a distance of Y according to G01 (DIS_MEAS and F are the values ​​defined by N002))

[0119] N016IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N015)

[0120] N017GOTOF ERROR_1; (ErrOR_1 alarm is issued)

[0121] N018ENDIF; (Termination condition statement)

[0122] N019Y_W=#AA_MW[Y]+RAD_CALI; (If the probe is triggered within the movement distance set in segment N015, record the Y value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0123] N022STOPRE; (Stop probe measurement)

[0124] N023G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0125] N024GOTOF END0; (Jump to the END0 subroutine)

[0126] N025ENDIF; (Termination condition statement)

[0127] N026IF((AXI==2)AND (DIR==-1)); (If defined as moving in the negative direction along the Y-axis)

[0128] N027G4F2; (Pause for 2 seconds)

[0129] N028SPOS=180; (Spindle positioning to 180°)

[0130] N029G01 MEAS=1 X=X_STA-DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Y-axis movement distance according to G01 is Y (DIS_MEAS and F are values ​​defined by N002))

[0131] N030IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N029)

[0132] N031GOTOF ERROR_1; (Issues ERROR_1 alarm)

[0133] N032ENDIF; (Termination condition statement)

[0134] N033Y_W=#AA_MW[Y]-RAD_CALI; (If the probe is triggered within the movement distance set in segment N029, record the Y value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0135] N036STOPRE; (Stop probe measurement)

[0136] N037G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0137] N038GOTOF END0; (Jump to the END0 subroutine)

[0138] N039ENDIF; (Termination condition statement)

[0139] N040IF ((AXI==3)AND (DIR==1)); (If defined as Z-axis positive motion)

[0140] N041G4F2; (Pause for 2 seconds)

[0141] N042SPOS=270; (Spindle positioning at 270°)

[0142] N043G01 MEAS=1 Z=Z_STA+DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Z-axis moves a distance of Z according to G01 (DIS_MEAS and F are values ​​defined by N002))

[0143] N044IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N043)

[0144] N045GOTOF ERROR_1; (ErrOR_1 alarm issued)

[0145] N046ENDIF; (Termination condition statement)

[0146] N047Z_W=#AA_MW[Z]+RAD_CALI; (If the probe is triggered within the movement distance set in segment N029, record the Z value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0147] N050STOPRE; (Stop probe measurement)

[0148] N051G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0149] N052GOTOF END0; (Jump to the END0 subroutine)

[0150] N053ENDIF; (Termination condition statement)

[0151] N054IF((AXI==3)AND (DIR==-1)); if defined as moving the Z-axis in the negative direction)

[0152] N055G4F2; (Pause for 2 seconds)

[0153] N056SPOS=90; (Spindle positioning to 90°)

[0154] N057G01 MEAS=1 Z=Z_STA-DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Z-axis movement distance according to G01 is Z (DIS_MEAS and F are values ​​defined by N002))

[0155] N058IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N057)

[0156] N059GOTOF ERROR_1; (Emergency alarm number 1 is issued)

[0157] N060ENDIF; (Termination condition statement)

[0158] N061Z_W=#AA_MW[Z]-RAD_CALI; (If the probe is triggered within the movement distance set in segment N057, record the Z value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0159] N064STOPRE; (Stop probe measurement)

[0160] N065G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0161] N066GOTOF END0; (Jump to the END0 subroutine)

[0162] N067ENDIF; (Termination condition statement)

[0163] N068ERROR_1: ;(Alarm Message 1)

[0164] N069MSG (“PROBE NOT TOUCH!”); (The probe did not make contact)

[0165] N070M00; (Paused)

[0166] N071GOTOB ERROR_1; (Jump to alarm message 1)

[0167] N072END0:; (END0 subroutine)

[0168] N073M02; (End of program)

[0169] Step 2: Install the test block on the turntable. In the horizontal position, keep the turntable at zero position and use a milling cutter to mill the reference surface C / D to ensure that the flatness of the reference surface C / D is within 0.03mm.

[0170] Step 3: Select a fixed point A on the reference plane C as the vertical-to-horizontal conversion accuracy test point in the Z-axis direction. Place the probe on the spindle (rotary axis), return each drive axis of the machine tool to its origin position, and put the machine tool in a horizontal state. Keep the turntable at zero position. Use the handwheel to align the ruby ​​contact of the probe with point A, maintaining a Z-axis distance of less than 30. Start the probe L000 program until it reaches segment N009, where the M00 program pauses. By calling the L001 subroutine and conditionally determining that the defined motion axis is the Z-axis and the motion direction is negative, the measurement motion trajectory of segments N054-N066 is automatically executed. The coordinate value Z1 of point A in the horizontal state is automatically read and stored in Z_W. The current value Z1 is recorded as -135.3275mm.

[0171] Step 4: Continue to start and execute the L000 program until the M00 program in segment N012 is paused. At this time, the machine tool is in a vertical position, and the rotary table remains at zero position. Continue to start and execute the L000 program. By calling the L001 subroutine and conditionally judging that the defined motion axis is the Z-axis and the motion direction is negative, the measurement motion trajectory of segments N054-N066 is automatically executed. The coordinate value Z2 of point A in the vertical position is automatically read and stored in Z_W. The current value Z2 is recorded as -135.2435mm.

[0172] Step 5: Calculate the Z-axis vertical-to-horizontal conversion accuracy error H1 = -135.3275 - (-135.2435) = -0.084 mm, and compensate the Z-axis vertical-to-horizontal conversion accuracy error of -0.084 mm into the corresponding parameters.

[0173] In addition, taking a certain model of 800x800 vertical-to-horizontal conversion machining center with a rotary table as an example, the vertical-to-horizontal conversion accuracy error in the Y-axis direction of its rotation axis is tested, such as... Figure 4 As shown.

[0174] Step 1: Compile the main program L000 and subroutine L001 of the probe detection program. The main program L000 defines the setting of the motion axis and direction, the calling of subroutine L001, and the vertical / horizontal conversion instructions. The subroutine L001 defines the data type, execution conditions, the storage location of the probe detection result data, the reading of the initial position of the probe to start measurement, the definition of the motion axis and direction, the measurement mode, the probe alarm, and the probe motion trajectory.

[0175] The main program L000 process program is as follows:

[0176] N001T = "999"; (999 is the probe name, user-defined)

[0177] N002M06; (Tool Change Instruction)

[0178] N003D1; (Activate tool length value)

[0179] N004G54; (Activate coordinate system)

[0180] N005G01A0B0 F1000; (Machine tool returns to origin position, horizontal mode)

[0181] N006AXI=2; (Define the motion axes: 1 for X-axis, 2 for Y-axis, and 3 for Z-axis. Refer to the system parameters for specific settings.)

[0182] N007DIR=-1; (Defines the direction of axis movement, 1 for positive, -1 for negative)

[0183] N008L001; (Call subroutine L001)

[0184] N009M00; (Program paused)

[0185] N010TRAORI(2); (Defines the tool center point control of the axis, 1 is the X-axis, 2 is the Y-axis, 3 is the Z-axis, refer to the system parameter settings for details)

[0186] N011G01A-90°; (The machine tool moves from a horizontal position to a vertical position when the tool center point control function is activated.)

[0187] N012M00; (Program paused)

[0188] N013AXI=2; (Define the motion axes: 1 for X-axis, 2 for Y-axis, and 3 for Z-axis. Refer to the system parameter settings for details.)

[0189] N014DIR=-1; (Defines the direction of axis movement, 1 for positive, -1 for negative)

[0190] N015L001; (Call subroutine L001)

[0191] N016M02; (End of program)

[0192] The process procedure for subroutine L001 is as follows:

[0193] N000M60; (Start the probe, and call the command according to the probe brand)

[0194] N001DEF REALX_STA, Y_STA, Z_STA; (Define real number data)

[0195] N002DEF INT DIS_MEAS=30, F_PROBE=1000; (Maximum probe movement distance: 30mm, movement speed: 1000mm / min)

[0196] N003IF $P_SEARCH OR $P_DRYRUN OR $P_SIM; (if it is any of the following states: search segment execution state, simulation run state, or no-run state)

[0197] N004GOTOF END0; (Execute the END0 subroutine)

[0198] N005ENDIF; (Termination condition statement)

[0199] N006X_PRE=X_W; (Storage location of X-direction probe measurement results)

[0200] N007Y_PRE=Y_W; (Storage location of probe measurement results in the Y direction)

[0201] N008Z_PRE=Z_W; (Z-direction probe measurement result storage location)

[0202] N009X_STA=$AA_IW[X]; (Read the X-axis position of the workpiece coordinate system and define it as the initial position for the probe to start measurement)

[0203] N010Y_STA=$AA_IW[Y]; (Read the Y-axis position of the workpiece coordinate system, and define it as the initial position for the probe to start measurement)

[0204] N011Z_STA=$AA_IW[Z]; (Read the Z-axis position of the workpiece coordinate system and define it as the initial position for the probe to start measurement)

[0205] N012IF ((AXI==2)AND (DIR==1)); (Defines the motion axis (see NC parameter settings for details) and direction, 1 is the X-axis, 2 is the Y-axis, 3 is the Z-axis, 1 is positive motion, -1 is negative motion; if defined as positive Y-axis motion)

[0206] N013G4F2; (Pause for 2 seconds)

[0207] N014SPOS=0; (Spindle positioned at 0°)

[0208] N015G01 MEAS=1 Y=Y_STA+ DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Y-axis moves a distance of Y according to G01 (DIS_MEAS and F are the values ​​defined by N002))

[0209] N016IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N015)

[0210] N017GOTOF ERROR_1; (ErrOR_1 alarm is issued)

[0211] N018ENDIF; (Termination condition statement)

[0212] N019Y_W=#AA_MW[Y]+RAD_CALI; (If the probe is triggered within the movement distance set in segment N015, record the Y value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0213] N022STOPRE; (Stop probe measurement)

[0214] N023G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0215] N024GOTOF END0; (Jump to the END0 subroutine)

[0216] N025ENDIF; (Termination condition statement)

[0217] N026IF((AXI==2)AND (DIR==-1)); (If defined as moving in the negative direction along the Y-axis)

[0218] N027G4F2; (Pause for 2 seconds)

[0219] N028SPOS=180; (Spindle positioning to 180°)

[0220] N029G01 MEAS=1 X=X_STA-DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Y-axis movement distance according to G01 is Y (DIS_MEAS and F are values ​​defined by N002))

[0221] N030IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N029)

[0222] N031GOTOF ERROR_1; (Issues ERROR_1 alarm)

[0223] N032ENDIF; (Termination condition statement)

[0224] N033Y_W=#AA_MW[Y]-RAD_CALI; (If the probe is triggered within the movement distance set in segment N029, record the Y value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0225] N036STOPRE; (Stop probe measurement)

[0226] N037G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0227] N038GOTOF END0; (Jump to the END0 subroutine)

[0228] N039ENDIF; (Termination condition statement)

[0229] N040IF ((AXI==3)AND (DIR==1)); (If defined as Z-axis positive motion)

[0230] N041G4F2; (Pause for 2 seconds)

[0231] N042SPOS=270; (Spindle positioning at 270°)

[0232] N043G01 MEAS=1 Z=Z_STA+DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Z-axis moves a distance of Z according to G01 (DIS_MEAS and F are values ​​defined by N002))

[0233] N044IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N043)

[0234] N045GOTOF ERROR_1; (ErrOR_1 alarm issued)

[0235] N046ENDIF; (Termination condition statement)

[0236] N047Z_W=#AA_MW[Z]+RAD_CALI; (If the probe is triggered within the movement distance set in segment N029, record the Z value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0237] N050STOPRE; (Stop probe measurement)

[0238] N051G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0239] N052GOTOF END0; (Jump to the END0 subroutine)

[0240] N053ENDIF; (Termination condition statement)

[0241] N054IF((AXI==3)AND (DIR==-1)); if defined as moving the Z-axis in the negative direction)

[0242] N055G4F2; (Pause for 2 seconds)

[0243] N056SPOS=90; (Spindle positioning to 90°)

[0244] N057G01 MEAS=1 Z=Z_STA-DIS_MEASF=F_PROBE; (Define the probe measurement mode as 1 (trigger measurement mode), the Z-axis movement distance according to G01 is Z (DIS_MEAS and F are values ​​defined by N002))

[0245] N058IF $AC_MEAS[1]==0; (If the probe does not trigger within the movement distance set in segment N057)

[0246] N059GOTOF ERROR_1; (Emergency alarm number 1 is issued)

[0247] N060ENDIF; (Termination condition statement)

[0248] N061Z_W=#AA_MW[Z]-RAD_CALI; (If the probe is triggered within the movement distance set in segment N057, record the Z value of the machine coordinate system when the probe is triggered, where RAD_CALI is the radius value of the probe's ruby.)

[0249] N064STOPRE; (Stop probe measurement)

[0250] N065G01X = X_STA Y = Y_STAF1000; (Revert to initial position)

[0251] N066GOTOF END0; (Jump to the END0 subroutine)

[0252] N067ENDIF; (Termination condition statement)

[0253] N068ERROR_1; (Alarm Message 1)

[0254] N069MSG (“PROBE NOT TOUCH!”); (The probe did not make contact)

[0255] N070M00; (Paused)

[0256] N071GOTOB ERROR_1; (Jump to alarm message 1)

[0257] N072END0; (END0 subroutine)

[0258] N073M02; (End of program)

[0259] Step 2: Select a fixed point B on the reference plane D as the vertical-to-horizontal conversion accuracy test point in the Y-axis direction. Place the probe on the spindle, return each drive axis of the machine tool to its origin position, and put the machine tool in a horizontal state. Keep the turntable at zero position. Use the handwheel to align the ruby ​​contact of the probe with point B, maintaining a Y-axis distance of less than 30. Start the probe L000 program until it reaches segment N009, where the M00 program pauses. By calling the L001 subroutine and conditionally determining that the defined motion axis is the Y-axis and the motion direction is negative, the measurement motion trajectory of N026-N038 is automatically executed. The coordinate value Y1 of point B in the horizontal state is automatically read and stored in Y_W. The current value Y1 = 186.3768 mm is recorded.

[0260] Step 3: Continue to start and execute the L000 program until the M00 program in segment N012 is paused. At this time, the machine tool is in a vertical position. Continue to start and execute the L000 program. By calling the L001 subroutine and conditionally judging that the defined motion axis is the Y-axis and the motion direction is negative, the measurement motion trajectory of N026-N038 is automatically executed. The coordinate value Y2 of point B in the vertical position is automatically read and stored in Y_W. The current value Y2 = 186.2326mm is recorded.

[0261] Step 4: Calculate the Y-axis vertical-to-horizontal conversion accuracy error H2 = 186.3768 - 186.1926 = 0.1442 mm, and compensate the Y-axis vertical-to-horizontal conversion accuracy error of 0.1442 mm into the corresponding parameters.

[0262] In addition, taking a certain model of 800X800 vertical-to-horizontal conversion machining center with a rotary table as an example, after completing the error compensation for the vertical-to-horizontal conversion accuracy in the Y / Z axes, the vertical-to-horizontal conversion accuracy error of its rotary axis was verified by trial cutting. The machining accuracy error of the trial cut part was ≤±0.1mm, and the theoretical dimensions for verification were: web G=2.0mm, web L=3.0mm, and flange K=2.5mm. Figure 5 As shown.

[0263] Step 1: Place the I side of the test cut piece flat against the turntable, use the J boss to press it down, and level the M side to ensure that the flatness of the M side is ≤0.05mm.

[0264] Step 2: Activate the tool center point control command (RTCP function), keep the rotary table at zero position, install a 20mm diameter milling cutter with a bottom angle of R3 on the spindle, and machine the web plate G and web plate L-shaped cavity in horizontal position.

[0265] Step 3: Activate the tool center point control command (RTCP function). The machine tool, in vertical position, uses the same tool to mill surfaces E and F, forming the flange K, web G, and web L. The dimensional accuracy of web G and web L is obtained from the Z-axis vertical-to-horizontal conversion accuracy control, and the dimensional accuracy of flange K is obtained from the Y-axis vertical-to-horizontal conversion accuracy control.

[0266] Step 4: Use measuring tools to measure the dimensions of the flange K, web G, and web L, obtaining dimensions K1=2.48mm, G1=1.96mm, and L1=2.95mm respectively. By comparing K1, G1, and L1 with the theoretical dimensions, the deviations are 0.02mm, 0.04mm, and 0.05mm respectively. The machining accuracy error of each feature is ≤±0.1mm, the trial cut is qualified, and the vertical-horizontal conversion accuracy of the machine tool meets the machining requirements.

[0267] Combination Figure 6 This application also provides a rotary axis vertical-to-horizontal conversion accuracy testing device applicable to the above-mentioned machine tool equipment. The rotary axis vertical-to-horizontal conversion accuracy testing device may include a first coordinate detection module, a second coordinate detection module, and a conversion accuracy testing module.

[0268] The first coordinate detection module is used to obtain the coordinates of a first reference point on a first reference surface located on the turntable via a probe, specifically, the coordinates of the first reference point on a first direction axis when the machine tool is in a horizontal position, thus obtaining a first coordinate value; and to obtain the coordinates of the first reference point on the first direction axis when the machine tool is in an vertical position, thus obtaining a second coordinate value. The first reference surface is perpendicular to the first direction axis. In this embodiment, the first coordinate detection module can be used to perform... Figure 2 For details regarding step S110 shown, please refer to the previous description of step S110 for information about the first coordinate detection module.

[0269] The second coordinate detection module is used to obtain, via the probe, the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in a horizontal position, to obtain a third coordinate value; and to obtain the coordinate values ​​of the second reference point on the second direction axis when the machine tool is in an vertical position, to obtain a fourth coordinate value. The first direction axis and the second direction axis are different, and the first reference plane and the second reference plane are different, with the second reference plane perpendicular to the second direction axis. In this embodiment, the second coordinate detection module can be used to perform... Figure 2 The relevant content regarding the second coordinate detection module in step S120 shown can be found in the previous description of step S120.

[0270] The conversion accuracy detection module is used to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis based on the first coordinate value and the second coordinate value, and to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the second direction axis based on the third coordinate value and the fourth coordinate value. In this embodiment, the conversion accuracy detection module can be used to perform... Figure 2 The relevant content regarding the conversion accuracy detection module in step S130 shown can be found in the previous description of step S130.

[0271] In this embodiment of the application, corresponding to the above-described method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis applied to the machine tool, a computer-readable storage medium is also provided, which stores a computer program that executes the various steps of the method for detecting the vertical-to-horizontal conversion accuracy of a rotary axis when the computer program is run.

[0272] The steps executed by the aforementioned computer program during runtime will not be described in detail here, but can be found in the explanation of the rotary shaft vertical-horizontal conversion accuracy detection method described above.

[0273] In summary, the rotary shaft vertical-horizontal conversion accuracy detection method, apparatus, equipment, and medium provided in this application firstly obtain a first coordinate value by acquiring the coordinates of a first reference point on a first direction axis in a horizontal state, and then obtains a second coordinate value by acquiring the coordinates of the first reference point on the first direction axis in a vertical state. Secondly, it obtains a third coordinate value by acquiring the coordinates of a second reference point on a second direction axis in a horizontal state, and then obtains a fourth coordinate value by acquiring the coordinates of the second reference point on the second direction axis in a vertical state. Then, it determines the vertical-horizontal conversion accuracy error on the first direction axis based on the first and second coordinate values, and determines the vertical-horizontal conversion accuracy error on the second direction axis based on the third and fourth coordinate values. Based on the above, since the vertical-horizontal conversion accuracy error can be automatically detected, it is more objective and accurate than existing methods that require more manual intervention. Therefore, it can improve the problem of relatively low reliability in vertical-horizontal conversion accuracy detection in existing technologies.

[0274] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus and method embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0275] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0276] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, electronic device, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks. It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. In the absence of further restrictions, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0277] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for detecting the accuracy of vertical-to-horizontal conversion of a rotating shaft, characterized in that, Applied to machine tool equipment, wherein the machine tool equipment has a rotary table, a rotary spindle, and a probe mounted on the rotary spindle, the method for detecting the vertical-to-horizontal conversion accuracy of the rotary spindle includes: For a first reference point located on the first reference surface of the detection block of the turntable, the probe obtains the coordinate value of the first reference point on the first direction axis when the machine tool is in a horizontal state, and obtains the first coordinate value. Then, it obtains the coordinate value of the first reference point on the first direction axis when the machine tool is in an upright state, and obtains the second coordinate value. The first reference surface is perpendicular to the first direction axis. For the second reference point located on the second reference surface of the detection block of the turntable, the probe obtains the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal state, and obtains the third coordinate value. Then, the probe obtains the coordinate value of the second reference point on the second direction axis when the machine tool is in a vertical state, and obtains the fourth coordinate value. The first direction axis and the second direction axis are different, and the first reference surface and the second reference surface are different. The second reference surface is perpendicular to the second direction axis. Based on the first coordinate value and the second coordinate value, the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the first direction axis is determined, and based on the third coordinate value and the fourth coordinate value, the vertical-to-horizontal conversion accuracy error of the machine tool equipment on the second direction axis is determined.

2. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to claim 1, characterized in that, The steps of obtaining the coordinates of the first reference point on the first reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the first reference point on the first direction axis when the machine tool is in a horizontal position, to obtain the first coordinate value, and obtaining the coordinates of the first reference point on the first direction axis when the machine tool is in an vertical position, to obtain the second coordinate value, include: When the machine tool is in a horizontal position, for the first reference point on the first reference surface of the detection block on the turntable, the contact point of the probe is aligned with the first reference point, and the coordinate value of the first reference point on the first direction axis is obtained through the contact point of the probe to obtain the first coordinate value; When the machine tool is in a vertical position, the probe contact point is aligned with the first reference point on the first reference surface of the detection block on the turntable, and the coordinate value of the first reference point on the first direction axis is obtained through the probe contact point to obtain the second coordinate value.

3. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to claim 2, characterized in that, The steps of obtaining the coordinates of the first reference point on the first reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the first reference point on the first direction axis when the machine tool is in a horizontal position, to obtain the first coordinate value, and obtaining the coordinates of the first reference point on the first direction axis when the machine tool is in an vertical position, to obtain the second coordinate value, include: After the detection block is installed on the turntable, in a horizontal position, the turntable is controlled to remain at the zero position, and the milling cutter is controlled to mill the first reference surface of the detection block so that the flatness of the first reference surface is within 0.03mm.

4. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to claim 1, characterized in that, The steps of obtaining the coordinates of the second reference point on the second reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the second reference point on the second direction axis when the machine tool is in a horizontal position to obtain a third coordinate value, and obtaining the coordinates of the second reference point on the second direction axis when the machine tool is in an vertical position to obtain a fourth coordinate value, include: When the machine tool is in a horizontal position, for the second reference point on the second reference surface of the detection block of the turntable, the contact point of the probe is aligned with the second reference point, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the probe to obtain the third coordinate value; When the machine tool is in a vertical position, the contact point of the probe is aligned with the second reference point on the second reference surface of the detection block on the turntable, and the coordinate value of the second reference point on the second direction axis is obtained through the contact point of the probe to obtain the fourth coordinate value.

5. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to claim 4, characterized in that, The step of obtaining the coordinates of the second reference point on the second reference surface of the detection block located on the turntable, using the probe to obtain the coordinates of the second reference point on the second direction axis when the machine tool is in a horizontal position to obtain a third coordinate value, and obtaining the coordinates of the second reference point on the second direction axis when the machine tool is in an vertical position to obtain a fourth coordinate value, further includes: After the detection block is installed on the turntable, in a horizontal position, the turntable is controlled to remain at the zero position, and the milling cutter is controlled to mill the second reference surface of the detection block so that the flatness of the second reference surface is within 0.03mm.

6. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to any one of claims 1-5, characterized in that, The method for detecting the vertical-horizontal conversion accuracy of the rotary shaft also includes: Based on the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis and the vertical-to-horizontal conversion accuracy error on the second direction axis, parameter compensation is performed on the machine tool. After parameter compensation of the machine tool equipment, the test cut piece located on the turntable is processed, and at least one dimensional parameter of the processed test cut piece is obtained; Based on the preset reference dimension parameters and the at least one dimension parameter, determine whether the vertical-to-horizontal conversion accuracy of the machine tool after parameter compensation meets the processing requirements.

7. The method for detecting the vertical / horizontal conversion accuracy of a rotating shaft according to claim 6, characterized in that, The step of processing the test piece located on the turntable after parameter compensation of the machine tool equipment and obtaining at least one dimensional parameter of the processed test piece includes: After parameter compensation of the machine tool equipment, the rotary table is controlled to remain at the zero position; In a horizontal position, the first and second webs of the test cut piece located on the turntable are machined; In a vertical position, the first and second surfaces of the test cut piece are machined, and the thickness dimensions of the machined flange, first web, and second web are obtained to obtain at least one dimensional parameter of the machined test cut piece. The thickness dimension of the machined flange is used to characterize the vertical-to-horizontal conversion accuracy of the machine tool on the second direction axis, and the thickness dimensions of the machined first web and second web are used to characterize the vertical-to-horizontal conversion accuracy of the machine tool on the first direction axis.

8. A device for detecting the accuracy of rotating shaft conversion between vertical and horizontal orientation, characterized in that, Applied to machine tool equipment, wherein the machine tool equipment has a rotary table, a rotary spindle, and a probe mounted on the rotary spindle, the rotary spindle vertical-to-horizontal conversion accuracy detection device includes: The first coordinate detection module is used to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in a horizontal state, and to obtain the coordinate value of the first reference point on the first direction axis when the machine tool is in an upright state, thereby obtaining the second coordinate value. The first reference surface is perpendicular to the first direction axis. The second coordinate detection module is used to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in a horizontal state, and to obtain the coordinate value of the second reference point on the second direction axis when the machine tool is in an upright state, in order to obtain the third coordinate value. The first direction axis and the second direction axis are different, and the first reference plane and the second reference plane are different. The second reference plane is perpendicular to the second direction axis. The conversion accuracy detection module is used to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the first direction axis based on the first coordinate value and the second coordinate value, and to determine the vertical-to-horizontal conversion accuracy error of the machine tool on the second direction axis based on the third coordinate value and the fourth coordinate value.

9. A machine tool device, characterized in that, The steps included in the method for detecting the vertical-horizontal conversion accuracy of a rotary shaft as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, performs the steps included in the rotary shaft vertical-horizontal conversion accuracy detection method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Machine tool precision detection tool and using method thereof

    CN108036753A

  • Method for calibrating swing angle precision of computer numerical control (CNC) machine tool

    CN113369997A

  • Five-axis numerical control machine tool precision verification method

    CN114063559A