A method for measuring the origin z value of a workpiece coordinate system of a machine tool and the length of a tool

By using manual operation and a setter to measure the Z-axis value of the workpiece coordinate system origin and the tool length on a five-axis CNC machine tool, the problems of expensive instruments and cumbersome operation are solved, realizing an efficient and low-cost measurement method that ensures high precision and high cost-effectiveness.

CN116164614BActive Publication Date: 2026-06-19GUANGXI MFG ENG VOCATIONAL & TECH COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGXI MFG ENG VOCATIONAL & TECH COLLEGE
Filing Date
2022-12-06
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

The measurement of the Z-axis value of the workpiece coordinate system origin and the tool length on a five-axis CNC machine tool suffers from problems such as expensive on-machine measuring instruments and external tool pre-adjustment instruments, cumbersome operation, poor accuracy, and low efficiency.

Method used

By lightly pressing the elastic upper surface of the Z-axis setter with a finger, the Z-axis value of the workpiece coordinate system origin and the tool length are measured on the CNC machine tool through a series of steps, including using a standard round bar and a handwheel pulse generator, adjusting the setter pointer to the zero mark, clearing and storing the relative coordinates in conjunction with the CNC machine tool operation panel, and calculating the Z-axis value of the workpiece coordinate system origin using the fixed height of the Z-axis setter.

Benefits of technology

It enables low-cost, fast, and high-precision measurement of the workpiece coordinate system origin Z-axis value and tool length, reducing reliance on expensive instruments, improving operational efficiency and accuracy, and offering excellent cost-effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116164614B_ABST
    Figure CN116164614B_ABST
Patent Text Reader

Abstract

This invention relates to the field of five-axis machining technology and discloses a method for measuring the Z-axis value of the workpiece coordinate system origin and the tool length. The method involves placing the Z-axis setter on the upper surface of the workpiece; with the spindle stopped, lifting the handwheel pulse generator and gently pressing the spindle end face against the elastic upper plane of the Z-axis setter; adjusting the movement ratio of the handwheel pulse generator to "X1"; moving the spindle away from the Z-axis setter; mounting the tool on the spindle; adjusting the movement ratio of the handwheel pulse generator to "X1" again, and the pointer of the Z-axis setter pointing to the "0" mark; due to the addition of the Z-axis setter, the Z-axis value h0 of point B in the workpiece coordinate system in the machine tool coordinate system A is -h - h1 - 50, where 50 is the fixed height of the Z-axis setter. This method ultimately yields the Z-axis value of the workpiece coordinate system origin. This method reduces the cost for companies to purchase on-machine measuring instruments and tool pre-setting devices, achieving high operation speed, high efficiency, high precision, and excellent cost-effectiveness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of five-axis machining technology, and more specifically, relates to a method for measuring the Z-axis value of the origin of the machine tool workpiece coordinate system and the tool length. Background Technology

[0002] On a five-axis CNC machine tool, measuring the Z-axis value of the workpiece coordinate system origin and the tool length is commonly done using an on-machine measuring instrument, such as Renishaw. Tool length measurement is also often performed using an external tool pre-setting device. If an on-machine measuring instrument is unavailable, the "trial cutting method" is commonly used to measure the workpiece coordinate system origin data on the machine tool.

[0003] Currently, the measurement of the Z-axis value of the workpiece coordinate system origin and the tool length on five-axis CNC machine tools has the following defects:

[0004] 1. On-machine measuring instruments and external tool presetters are expensive;

[0005] 2. The "trial cutting method" is cumbersome, has poor precision, and is inefficient. Summary of the Invention

[0006] The purpose of this invention is to provide a method for measuring the Z-axis value of the origin of the machine tool workpiece coordinate system and the tool length. This method can reduce the cost for enterprises to purchase on-machine measuring instruments and tool pre-adjustment instruments, and achieves fast operation speed, high efficiency, high accuracy, near-zero cost, and extremely high cost performance.

[0007] The technical solution adopted in this invention is as follows: A method for measuring the Z-axis value of the workpiece coordinate system origin and the tool length of a machine tool, wherein the machine tool includes a machine tool worktable, a Z-axis setter, a tool, and a spindle end face, and a workpiece is placed on the top of the machine tool worktable.

[0008] Step 1: Gently press the elastic upper surface of the Z-axis setter with your finger, release your hand, and observe whether the pointer of the Z-axis setter returns to its original position;

[0009] Step 2: Press the standard round bar horizontally against the elastic upper plane of the Z-axis setter;

[0010] Step 3: Rotate the scale ring until the pointer of the Z-axis setter points to the "0" mark;

[0011] Step 4: Remove the cutting tool from the spindle and place the Z-axis setter on the upper surface of the workpiece;

[0012] Step 5: With the spindle stopped, pick up the handwheel pulse generator and move the spindle so that the spindle end face gently presses against the elastic upper plane of the Z-axis setter.

[0013] Step 6: Adjust the movement multiplier of the handwheel pulse generator to the "X1" state, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark. At this time, operate on the CNC machine tool's operation panel, find "Relative Coordinates", and clear the "Z coordinate" of the relative coordinates to zero.

[0014] Step 7: Move the spindle away from the Z-axis setter;

[0015] Step 8: Mount the cutting tool onto the spindle;

[0016] Step 9: With the spindle stopped, pick up the handwheel pulse generator and move the spindle so that the tool tip presses against the elastic upper plane of the Z-axis setter;

[0017] Step 10: Adjust the movement multiplier of the handwheel pulse generator to the "X1" state, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark;

[0018] Step 11: At this point, the reading of the "Z" axis in the "Relative Coordinates" on the CNC machine tool display is the tool length h value, completing the measurement of the tool length;

[0019] Step 12: Operate on the CNC machine tool's control panel to find the Z-axis value h1 in the machine tool coordinate system. Since a Z-axis setter has been added, the Z-axis value h0 of point B in the workpiece coordinate system in the machine tool coordinate system A is -h-h1-50, where 50 is the fixed height of the Z-axis setter. Finally, the Z-axis value of the workpiece coordinate system origin is obtained.

[0020] Optionally, in step two, when the standard round bar is pressed horizontally against the elastic upper plane of the Z-axis setter, the height of the elastic upper plane is made consistent with the upper reference plane of the setter.

[0021] Optionally, the spindle end face and the workpiece upper surface should be cleaned before removing the tool from the spindle in step four.

[0022] Optionally, in step six, when the pointer of the Z-axis setter points to the "0" mark, the Z-axis movement of the spindle is stopped.

[0023] Optionally, in step seven, the spindle moves in the positive direction away from the Z-axis setter.

[0024] Optionally, in step eight, the tool holder, the tool, and the spindle bore are cleaned before the tool is loaded onto the spindle.

[0025] Optionally, in step eleven, the length value h of the tool is recorded and stored in the length compensation register of the CNC machine tool.

[0026] Optionally, in step ten, when the pointer of the Z-axis setter points to the "0" mark, the Z-axis movement of the spindle is stopped.

[0027] Optionally, in step eleven, h is stored in the length compensation register of the CNC machine tool.

[0028] Optionally, in step twelf, the calculation result h0 is stored in the Z-axis address of the G54 register of the workpiece coordinate system.

[0029] The technical effects achieved by this invention are as follows:

[0030] This method involves lightly pressing the elastic upper surface of the Z-axis setter with your finger, releasing it, and observing whether the pointer of the Z-axis setter returns to its original position; pressing a standard round bar horizontally onto the elastic upper surface of the Z-axis setter; rotating the scale ring until the pointer of the Z-axis setter points to the "0" mark; removing the tool from the spindle and placing the Z-axis setter on the upper surface of the workpiece; with the spindle stopped, picking up the handwheel pulse generator and moving the spindle so that the spindle end face lightly presses against the elastic upper surface of the Z-axis setter; adjusting the movement multiplier of the handwheel pulse generator to the "X1" state, continuing to press downwards in the Z-axis direction, and operating on the CNC machine tool's control panel to find "Relative Coordinates," and zeroing the "Z Coordinate" of the relative coordinates; moving the spindle away from the Z-axis setter; mounting the tool on the spindle; with the spindle stopped, picking up the handwheel pulse generator and moving the spindle so that the tool tip presses against the elastic upper surface of the Z-axis setter. Adjust the movement multiplier of the handwheel pulse generator to the "X1" state, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark. At this time, the reading of the "Z" axis in the "Relative Coordinates" on the CNC machine tool display is the tool length h value, completing the measurement of the tool length. Operate on the CNC machine tool's operation panel to find the Z-axis value h1 in the machine tool coordinate system. Since a Z-axis setter has been added, the Z-axis value h0 of point B in the workpiece coordinate system in the machine tool coordinate system A is -h - h1 - 50, where 50 is the fixed height of the Z-axis setter. Finally, the Z-axis value of the workpiece coordinate system origin is obtained. This method can reduce the cost for enterprises to purchase on-machine measuring instruments and tool pre-adjustment instruments. It also avoids the disadvantages of the "trial cutting method" being cumbersome, inaccurate, and inefficient. This invention has a fast operation speed, high efficiency, high accuracy, and near-zero cost, making it extremely cost-effective. Attached Figure Description

[0031] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1This is a first-view schematic diagram showing the relationship between the Z-values ​​of the machine tool coordinate system origin and the workpiece coordinate system origin and the tool length in this invention.

[0033] Figure 2 This is a second-view schematic diagram illustrating the relationship between the Z-values ​​of the machine tool coordinate system origin and the workpiece coordinate system origin and the tool length in this invention.

[0034] Figure 3 This is a schematic diagram of the spindle end face Z-axis setting device of the present invention;

[0035] Figure 4 This is a schematic diagram of the tool tip Z-axis setting device of the present invention. Detailed Implementation

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

[0037] Please see Figures 1-4 The present invention provides a method for measuring the Z-axis value of the origin of the workpiece coordinate system and the tool length. The machine tool includes a machine tool table, a Z-axis setter, a tool and a spindle end face, and a workpiece is placed on the top of the machine tool table.

[0038] The principle of setting the origin of the workpiece coordinate system in a five-axis linkage CNC machine tool is essentially to measure the value of the origin of the workpiece coordinate system in the machine tool coordinate system and store it in the memory of the workpiece coordinate system instruction G54 or G56, G57, G58, G59, etc.

[0039] For example in Figure 1 In the diagram, point A is the origin of the machine coordinate system of a five-axis CNC machine tool, and point B is the origin of the workpiece coordinate system. Point B has a reading in the machine coordinate system A. Let this value be (x... a y b (h0), store this set of values ​​in the X, Y, Z memory of the workpiece coordinate system instruction G54 or G55, G56, G57, G58, G59. Then when the workpiece coordinate system instruction is executed, the machine tool will call the values ​​in the X, Y, Z memory of the workpiece coordinate system instruction to identify the workpiece coordinates.

[0040] Figure 1 The relationship between the Z-axis value h0 of the workpiece coordinate system origin, the tool length h, and the machine tool coordinate system origin is revealed and explained in detail below.

[0041] First, it's important to clarify that in a five-axis CNC machine tool, tool length refers to the distance from the spindle end face to the tool tip, and the value is always positive. For example... Figure 1 The cutting tool length in the schematic diagram is h.

[0042] like Figure 1 As shown in the figure, the origin of the machine tool coordinate system is located at position A, and the origin of the workpiece coordinate system is located at position B, the center of the upper surface of the square workpiece. Find the tool length and the value of point B in the workpiece coordinate system in the machine tool coordinate system A.

[0043] In this diagram, "h" is the tool length, and "-h1" is the reading of the Z coordinate system of the machine tool when the tool just cuts the upper surface of the workpiece. It can be read directly on the machine tool's display. Therefore, the Z value of point B in the workpiece coordinate system in the machine tool coordinate system A is h0 = -h - h1.

[0044] "h0" is stored in the Z-axis memory within the workpiece coordinate system instructions G54, G56, G57, G58, or G59.

[0045] "h" is stored in the tool length compensation register.

[0046] In the actual operation of a five-axis CNC machine tool, it is necessary to accurately measure the tool length h and the Z-axis value h0 of point B in the workpiece coordinate system in the machine tool coordinate system A.

[0047] Specifically, the implementation steps of a method for measuring the Z-axis value of the machine tool workpiece coordinate system origin and the tool length are as follows:

[0048] Gently press the elastic upper surface of the Z-axis setter with your finger, release your hand, and observe whether the pointer of the Z-axis setter returns to its original position. Repeat this two or three times. If the pointer returns to its original position, the Z-axis setter is working properly. Use a 12mm diameter standard round bar to press horizontally on the elastic upper surface of the Z-axis setter, making the elastic upper surface consistent with the upper reference plane of the setter, and keep it pressed. Rotate the scale ring until the pointer of the Z-axis setter points to the "0" mark. Clean the spindle end face and the upper surface of the workpiece, and remove the cutting tools from the spindle. Gently place the Z-axis setter on the upper surface of the workpiece and place it stably.

[0049] With the spindle stopped, pick up the handwheel pulse generator and move the spindle so that the spindle end face gently presses against the elastic upper plane of the Z-axis setter.

[0050] Adjust the movement multiplier of the handwheel pulse generator to the "X1" position, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark. Figure 2 As shown, stop the spindle's Z-axis movement at this point. Now, operate on the CNC machine tool's control panel, find "Relative Coordinates," and clear the "Z-coordinate" to zero.

[0051] Move the spindle in the positive direction away from the Z-axis setter, clean the tool holder, tool, and spindle bore, and install the tool onto the spindle. With the spindle stopped, lift the handwheel pulse generator and move the spindle so that the tool tip gently presses against the elastic upper surface of the Z-axis setter.

[0052] Adjust the movement multiplier of the handwheel pulse generator to the "X1" position, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark. Figure 3 As shown, stop the spindle's Z-axis movement at this point. The Z-axis reading in the "Relative Coordinates" section of the CNC machine tool display is the tool length value. Record this tool length value and store it in the CNC machine tool's length compensation register. The tool length measurement is now complete.

[0053] Operate on the CNC machine tool's control panel to find the Z-axis value in the machine coordinate system. Since a Z-axis setter has been added, the Z-axis value of point B in the workpiece coordinate system relative to point A in the machine coordinate system is...

[0054] h0 = -h - h1 - 50, where 50 is the fixed height of the Z-axis setter. The calculation result is stored in the Z-axis address of the G54 register in the workpiece coordinate system. At this point, the measurement of the Z-axis value of the workpiece coordinate system origin is complete.

[0055] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method of measuring the value of the origin of the workpiece coordinate system in the Z direction and the length of the tool in a machine tool, characterized in that, The machine tool includes a machine tool worktable, a Z-axis setter, a cutting tool and a spindle end face, with a workpiece placed on top of the machine tool worktable; Step 1: Gently press the elastic upper surface of the Z-axis setter with your finger, release your hand, and observe whether the pointer of the Z-axis setter returns to its original position; Step 2: Press the standard round bar horizontally against the elastic upper plane of the Z-axis setter; Step 3: Rotate the scale ring until the pointer of the Z-axis setter points to the "0" mark; Step 4: Remove the cutting tool from the spindle and place the Z-axis setter on the upper surface of the workpiece; Step 5: With the spindle stopped, pick up the handwheel pulse generator and move the spindle so that the spindle end face gently presses against the elastic upper plane of the Z-axis setter. Step 6: Adjust the movement multiplier of the handwheel pulse generator to the "X1" state, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark. At this time, operate on the CNC machine tool's operation panel, find "Relative Coordinates", and clear the "Z Coordinate" of the relative coordinates to zero. Step 7: Move the spindle away from the Z-axis setter; Step 8: Mount the cutting tool onto the spindle; Step 9: With the spindle stopped, pick up the handwheel pulse generator and move the spindle so that the tool tip presses against the elastic upper plane of the Z-axis setter; Step 10: Adjust the movement multiplier of the handwheel pulse generator to the "X1" state, and continue to press down in the Z-axis direction until the pointer of the Z-axis setter points to the "0" mark; Step 11: At this point, the reading of the "Z" axis in the "Relative Coordinates" on the CNC machine tool display is the tool length h value, completing the measurement of the tool length; Step 12: Operate on the CNC machine tool's control panel to find the Z-axis value h1 in the machine tool coordinate system. Since a Z-axis setter has been added, the Z-axis value h0 of point B in the workpiece coordinate system in the machine tool coordinate system A is -h-h1-50, where 50 is the fixed height of the Z-axis setter. Finally, the Z-axis value of the workpiece coordinate system origin is obtained.

2. A method of measuring the value of the origin of the workpiece coordinate system in the Z direction and the length of a tool according to claim 1, characterized in that: In step two, when the standard round bar is pressed horizontally against the elastic upper plane of the Z-axis setter, the height of the elastic upper plane is made consistent with the upper reference plane of the setter.

3. The method for measuring the Z-axis value of the machine tool workpiece coordinate system origin and the tool length according to claim 1, characterized in that: Before removing the cutting tool from the spindle in step four, clean the spindle end face and the upper surface of the workpiece.

4. The method for measuring the Z-axis value of the machine tool workpiece coordinate system origin and the tool length according to claim 1, characterized in that: In step six, when the pointer of the Z-axis setter points to the "0" mark, the Z-axis movement of the spindle is stopped.

5. The method for measuring the Z-axis value of the origin of the machine tool workpiece coordinate system and the tool length according to claim 1, characterized in that: In step seven, the spindle moves in the positive direction and moves away from the Z-axis setter.

6. A method of measuring the Z value of the origin of the workpiece coordinate system and the tool length of a machine tool according to claim 1, characterized in that: In step eight, the tool holder, the tool, and the inner hole of the spindle are cleaned before the tool is loaded onto the spindle.

7. A method of measuring the Z value of the origin of the workpiece coordinate system and the tool length of a machine tool according to claim 1, characterized in that: In step eleven, the length value h of the tool is recorded and stored in the length compensation register of the CNC machine tool.

8. The method of claim 1, wherein: In step ten, when the pointer of the Z-axis setter points to the "0" mark, the Z-axis movement of the spindle is stopped. ​ 9. A method of measuring the Z value of the origin of the workpiece coordinate system and the tool length of a machine tool according to claim 1, characterized in that: In step eleven, h is stored in the length compensation register of the CNC machine tool.

10. The method of claim 1, wherein: In step 12, the calculation result h0 is stored in the Z-axis address of the G54 register of the workpiece coordinate system. ​