Method, device and electronic equipment for adjusting machine tool with w-axis

By calculating the tool position coordinates and Z-axis travel extreme values ​​of a machine tool with a W-axis, the W-axis extension and retraction amount is determined and compensated, solving the problems of low adjustment efficiency and poor accuracy in the existing technology, and realizing efficient and precise machine tool adjustment.

CN116643535BActive Publication Date: 2025-12-12CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310370086.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2025-12-12
Estimated Expiration
2043-04-10

AI Technical Summary

Technical Problem

Existing machine tools with a W-axis are inefficient and have poor precision during adjustment, and require repeated trial adjustments to determine the correct settings. Their quality is particularly low under complex operations.

Method used

By obtaining the coordinate information of the tool position point, the extreme value of the Z coordinate of the fifth axis rotation center is calculated. Combined with the extreme value of the machine tool's Z-axis travel and the distance between components, the extreme value of the W-axis extension is determined. In non-initial operation, the Z coordinate of the tool position point is compensated according to the extension to complete the adjustment of the machine tool.

Benefits of technology

It improves the efficiency and precision of machine tool adjustment, avoids tedious manual operation, and achieves efficient and precise adjustment of W-axis extension and retraction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116643535B_ABST
    Figure CN116643535B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a machine tool adjusting method and device with a W-axis and electronic equipment, relates to the technical field of multi-axis numerical control machine tools, and comprises the following steps: obtaining Z coordinate extreme value information of the fifth-axis rotation center according to coordinate information of a tool position under current operation; obtaining the stretching and retracting amount extreme value information of the W-axis under the current operation according to the Z-axis stroke extreme value information of the machine tool, the relative distance between each component along the Z-axis and the Z coordinate extreme value information of the fifth-axis rotation center; determining the stretching and retracting amount of the W-axis under the current operation according to the stretching and retracting amount extreme value information of the W-axis; judging whether the current operation is the initial operation in a single machining process; and if the judgment result is no, compensating the Z coordinate of the tool position under the current operation according to the stretching and retracting amount of the W-axis to complete the adjustment of the machine tool. The application defines the stretching and retracting amount of the W-axis by size chain constraint, avoids the inaccuracy of experience-based determination and the inefficiency of repeated adjustment, and effectively improves the quality of machine tool adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of multi-axis numerical control machine tools, in particular to a machine tool adjustment method and device with a W-axis and electronic equipment. BACKGROUND

[0002] With the development of aerospace, shipbuilding, automobile, energy and other industries, multi-axis linkage numerical control machining technology is widely used in the machining of high-precision complex curved surface thin-walled parts. The machine tool with a W-axis is an axis parallel to the Z-axis added on the basis of a five-axis numerical control machine tool, which is often used to increase the working stroke of the Z-axis. When machining parts with large height direction dimensions, the machine tool with a W-axis often encounters the technical problem of different machining depths. Therefore, the W-axis needs to be adjusted by a rope to realize machine tool adjustment. However, the current adjustment method determines the extension amount of the W-axis by experience and needs to be repeatedly adjusted. In the case of complex operation, the adjustment efficiency is low, the precision is poor, and the quality is low. SUMMARY

[0003] The main purpose of the present application is to provide a machine tool adjustment method and device with a W-axis and electronic equipment, which aims to solve the problem of low quality of adjusting the machine tool with a W-axis in the prior art.

[0004] In order to achieve the above purpose, the technical scheme adopted by the embodiments of the present application is as follows:

[0005] In a first aspect, the embodiments of the present application provide a machine tool adjustment method with a W-axis, comprising the following steps:

[0006] obtaining Z coordinate extreme value information of the fifth axis rotation center according to coordinate information of the tool position under the current operation;

[0007] obtaining the extension amount extreme value information of the W-axis under the current operation according to the Z-axis stroke extreme value information of the machine tool, the relative distance between each component along the Z-axis, and the Z coordinate extreme value information of the fifth axis rotation center;

[0008] determining the extension amount of the W-axis under the current operation according to the extension amount extreme value information of the W-axis;

[0009] judging whether the current operation is the initial operation in a single machining process;

[0010] If the judgment result is no, compensating the Z coordinate of the tool position under the current operation according to the extension amount of the W-axis to complete the adjustment of the machine tool.

[0011] In a possible implementation manner of the first aspect, the Z coordinate extreme value information of the fifth axis rotation center is obtained according to the coordinate information of the tool position under the current operation, comprising:

[0012] Based on the coordinate information of the current tool position point, obtain the Z coordinate value of the tool position point and the corresponding vector information;

[0013] Based on the Z-coordinate value of the tool position point and the corresponding vector information, and the distance between the fifth axis rotation center and the tool tip point, the vertical distance between the fifth axis rotation center and the tool tip point is obtained.

[0014] Based on the vertical distance between the fifth axis rotation center and the tool tip and the Z-coordinate value of the tool position point, the extreme value information of the Z-coordinate of the fifth axis rotation center is obtained.

[0015] In one possible implementation of the first aspect, before obtaining the vertical distance from the fifth axis rotation center to the tool tip point based on the Z-coordinate value of the tool position point and the corresponding vector information and the distance from the fifth axis rotation center to the tool tip point, the machine tool adjustment method with the W-axis further includes:

[0016] The distance from the fifth axis rotation center to the tool tip is obtained by using the fixed distance between the fifth axis rotation center and the spindle end face and the length of the tool.

[0017] In one possible implementation of the first aspect, the relative distances between the components along the Z-axis include: the distance from the fifth axis rotation center to the Z-axis end face, the distance from the machining coordinate system to the worktable surface, and the distance from the worktable surface to the W-axis starting line.

[0018] In one possible implementation of the first aspect, the extreme value information of the extension / retraction of the W-axis under the current operation is obtained based on the extreme value information of the machine tool's Z-axis travel, the relative distance between each component along the Z-axis, and the extreme value information of the Z-coordinate of the fifth axis rotation center, including:

[0019] Based on the minimum Z-coordinate of the fifth axis rotation center, the maximum travel of the machine tool's Z-axis, and the relative distance between each component along the Z-axis, the minimum extension / retraction of the W-axis under the current operation is obtained.

[0020] Based on the maximum Z-coordinate of the fifth axis rotation center, the minimum travel of the machine tool's Z-axis, and the relative distance between each component along the Z-axis, the maximum extension / retraction of the W-axis under the current operation is obtained.

[0021] In one possible implementation of the first aspect, determining the W-axis scaling amount under the current operation based on the extreme value information of the W-axis scaling amount includes:

[0022] Based on the extreme values ​​of the W-axis scaling, half of the sum of the maximum and minimum scaling values ​​of the W-axis is determined as the scaling of the W-axis under the current operation.

[0023] In one possible implementation of the first aspect, if the determination result is negative, the Z coordinate of the current tool entry point is compensated based on the W-axis extension / retraction amount to complete the machine tool adjustment, including:

[0024] If the result of the judgment is no, the expansion and contraction amount of the W-axis is calculated by subtracting the expansion and contraction amount of the W-axis at the initial operation;

[0025] The Z coordinate of the tool position under the current operation is compensated according to the result of the subtraction calculation, so as to complete the adjustment of the machine tool.

[0026] In a possible implementation manner of the first aspect, before the expansion and contraction amount of the W-axis is calculated by subtracting the expansion and contraction amount of the W-axis at the initial operation if the result of the judgment is no, the machine tool adjustment method with the W-axis further includes:

[0027] If the result of the judgment is yes, the expansion and contraction amount of the W-axis is taken as the expansion and contraction amount of the W-axis at the initial operation.

[0028] Secondly, the present application provides a machine tool adjustment device with a W-axis, comprising:

[0029] The first obtaining module is configured to obtain Z coordinate extreme value information of the fifth-axis rotation center according to coordinate information of the tool position under the current operation;

[0030] The second obtaining module is configured to obtain expansion and contraction extreme value information of the W-axis under the current operation according to the Z-axis stroke extreme value information of the machine tool, the relative distance between each component along the Z-axis, and the Z coordinate extreme value information of the fifth-axis rotation center;

[0031] The determining module is configured to determine the expansion and contraction amount of the W-axis under the current operation according to the expansion and contraction extreme value information of the W-axis;

[0032] The judging module is configured to judge whether the current operation is the initial operation in a single machining process;

[0033] The adjusting module is configured to compensate the Z coordinate of the tool position under the current operation according to the expansion and contraction amount of the W-axis when the result of the judgment is no, so as to complete the adjustment of the machine tool.

[0034] Thirdly, the present application provides an electronic device, comprising a processor and a memory, wherein,

[0035] The memory is configured to store a computer program;

[0036] The processor is configured to load and execute the computer program, so that the electronic device executes the machine tool adjustment method with the W-axis provided in any one of the above first aspect.

[0037] Compared with the prior art, the present application has the following beneficial effects:

[0038] This application proposes a machine tool adjustment method, device, and electronic device with a W-axis, comprising: obtaining the extreme Z-coordinate information of the fifth axis rotation center based on the coordinate information of the current tool entry point; obtaining the extreme W-axis extension / retraction information under the current operation based on the extreme Z-axis travel information of the machine tool, the relative distance between each component along the Z-axis, and the extreme Z-coordinate information of the fifth axis rotation center; determining the extension / retraction amount of the W-axis under the current operation based on the extreme W-axis extension / retraction information; determining whether the current operation is the initial operation in a single machining process; if the determination result is no, compensating the Z-coordinate of the current tool entry point based on the extension / retraction amount of the W-axis to complete the machine tool adjustment. The method of this application obtains the coordinate information of the tool position point and calculates the extreme value of the Z-axis coordinate in the fifth rotary axis accordingly. Since the extension and retraction of the W-axis directly reflects the change in the Z-axis coordinate, the extreme value of the extension and retraction of the W-axis under the current operation can be obtained under the dimensional chain constraint, and a suitable extension and retraction amount of the W-axis can be determined automatically. When the current operation is not the initial operation, it can be known that the extension and retraction amount of the W-axis under the current operation is relative to the W-axis under the initial operation. Therefore, this extension and retraction amount is used to compensate the Z-axis coordinate of the tool position point, thus completing the machine tool adjustment. This avoids tedious manual operation and effectively improves the efficiency of adjustment. Only the extension and retraction amount needs to be defined once, and then the accurate relative change amount can be obtained to improve the accuracy of adjustment and effectively improve the quality of machine tool adjustment. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of this application;

[0040] Figure 2 A schematic flowchart illustrating the machine tool adjustment method with a W-axis provided in an embodiment of this application;

[0041] Figure 3 A schematic diagram of the functional modules of a machine tool adjustment device with a W-axis provided in an embodiment of this application;

[0042] Figure 4 A schematic diagram illustrating an application scenario of the machine tool adjustment method with a W-axis provided in this application embodiment;

[0043] Figure 5 A logic diagram illustrating one implementation of the machine tool adjustment method with a W-axis provided in this application.

[0044] The diagram is labeled as follows: 101-Processor, 102-Communication bus, 103-Network interface, 104-User interface, 105-Memory. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0046] The main solution of this application embodiment is: to propose a machine tool adjustment method, device, and electronic device with a W-axis, including: obtaining the extreme value information of the Z-coordinate of the fifth axis rotation center based on the coordinate information of the current operation tool entry point; obtaining the extreme value information of the extension / retraction amount of the W-axis under the current operation based on the extreme value information of the machine tool Z-axis travel, the relative distance between each component along the Z-axis, and the extreme value information of the Z-coordinate of the fifth axis rotation center; determining the extension / retraction amount of the W-axis under the current operation based on the extreme value information of the extension / retraction amount of the W-axis; determining whether the current operation is the initial operation in a single machining process; if the determination result is no, then compensating the Z-coordinate of the current operation tool entry point based on the extension / retraction amount of the W-axis to complete the machine tool adjustment.

[0047] With the development of industries such as aerospace, shipbuilding, automobiles, and energy, multi-axis linkage CNC machining technology is widely used in the machining of high-precision, complex curved, thin-walled parts. Machine tools with a W-axis are five-axis CNC machine tools with an added axis that moves parallel to the Z-axis. The W-axis of a machining center is often used to increase the working stroke of the Z-axis. Machine tools with a W-axis often encounter technical difficulties in complex operating conditions, especially when machining parts with large dimensions in the height direction.

[0048] Challenge 1: The W-axis extension / retraction amount is determined solely by experience and requires repeated adjustments in a simulation environment, resulting in a large workload, long programming time, low efficiency, and poor accuracy. Challenge 2: Using multiple workpiece zero-point offsets, the position of the machining tool tip changes when the W-axis extension / retraction amount changes. To ensure that the relative height between the tool tip and the workpiece remains constant, zero-point offsets are used to compensate for the W-axis extension / retraction amount. This results in too many workpiece zero points being occupied, which is not conducive to management and programming, and the on-site zero-point offsetting is cumbersome and prone to errors.

[0049] To address this, this application provides a solution that, by obtaining the coordinate information of the tool position point, calculates the extreme value of the Z-axis coordinate in the fifth rotary axis. Since the extension / retraction of the W-axis directly reflects the change in the Z-axis coordinate, the extreme value of the W-axis extension / retraction under the current operation can be obtained under the dimensional chain constraint, and a suitable W-axis extension / retraction amount can be determined automatically. When the current operation is not the initial operation, it can be known that the W-axis extension / retraction amount under the current operation is relative to the W-axis at the initial operation. Therefore, this extension / retraction amount is used to compensate for the Z-axis coordinate of the tool position point, thus completing the machine tool adjustment. This avoids tedious manual operation and effectively improves the efficiency of adjustment. Only the extension / retraction amount needs to be defined once, and then the accurate relative change amount can be obtained to improve the accuracy of adjustment and effectively improve the quality of machine tool adjustment.

[0050] See attached document Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of this application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. The communication bus 102 is used to realize communication between these components. The user interface 104 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 104 may also include a standard wired interface or a wireless interface. The network interface 103 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 105 may be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as at least one disk storage device. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component.

[0051] Those skilled in the art will understand that the appendix Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0052] As attached Figure 1 As shown, the memory 105, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and electronic programs.

[0053] In the appendix Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in this application can be set in the electronic device. The electronic device calls the machine tool adjustment device with W axis stored in the memory 105 through the processor 101 and executes the machine tool adjustment method with W axis provided in the embodiment of this application.

[0054] See attached document Figure 2 Based on the hardware device of the foregoing embodiments, embodiments of this application provide a machine tool adjustment method with a W-axis, including the following steps:

[0055] S10: Obtain Z coordinate extreme value information of the fifth axis rotation center according to coordinate information of the tool position under the current operation.

[0056] In the specific implementation process, in the CAM programming environment, a machining process includes multiple operations, which are programmed in a program language, and are divided into several operations according to start and end identifiers of the operations in the program. The current operation refers to the operation being currently performed. The fifth axis refers to an axis rotating around the Y axis in the public definition in the industry. The fifth axis rotation center refers to the point indicated by the upper limit dotted line of the S section. In addition, T in the accompanying drawings represents a tool. P at the front end of the tool is a tool tip point. The coordinate system M is a machine tool coordinate system. The coordinate system W is a machining coordinate system. The Z coordinate extreme value information indicates that, under the current operation, the maximum value and the minimum value of the movement of the fifth axis in the Z axis direction, that is, the Z coordinate information when the fifth axis rotation is at the highest point and the lowest point in the Z axis direction. Figure 4 Figure 4 In the specific implementation process, the tool position coordinate and the corresponding vector information can be obtained by reading a pre-tool position file generated by CAM software.

[0057] S101: Obtain the Z coordinate value of the tool position and the corresponding vector information according to the coordinate information of the tool position under the current operation.

[0058] In the specific implementation process, the tool position coordinate and the corresponding vector information can be obtained by reading a pre-tool position file generated by CAM software. In the specific implementation process, the tool position coordinate and the corresponding vector information can be obtained by reading a pre-tool position file generated by CAM software. In the specific implementation process, the tool position coordinate and the corresponding vector information can be obtained by reading a pre-tool position file generated by CAM software.

[0059] S102: Obtain the distance between the fifth axis rotation center and the tool tip point according to the fixed distance between the fifth axis rotation center and the spindle end face and the length of the tool.

[0060] In the specific implementation process, as shown in the accompanying drawings, the fixed distance between the fifth axis rotation center and the spindle end face is S, and the length of the tool is T. Therefore, the distance between the fifth axis rotation center and the tool tip point P is S+T. Figure 4 S103: Obtain the perpendicular distance between the fifth axis rotation center and the tool tip point according to the Z coordinate value of the tool position and the corresponding vector information and the distance between the fifth axis rotation center and the tool tip point.

[0061] In the specific implementation process, the tool position coordinate and the corresponding vector information are

[0062] In the specific implementation process, the tool position coordinate and the corresponding vector information are In the specific implementation process, the tool position coordinate and the corresponding vector information are In the specific implementation process, the tool position coordinate and the corresponding vector information are

[0063] ​S104: Obtain Z coordinate extreme value information of the fifth axis rotation center according to the vertical distance from the fifth axis rotation center to the tool tip point and the Z coordinate value of the tool position point.

[0064] In the specific implementation process, according to the attached Figure 4 It can be seen that the Z coordinate value of the fifth axis rotation center is the sum of L1 and L2, and after the current operation reading is completed, the maximum value and the minimum value are selected from the Z coordinate values of the tool position points in the whole operation, and are recorded as z' max and z' min .

[0065] S20: Obtain the extension amount extreme value information of the W axis under the current operation according to the Z axis stroke extreme value information of the machine tool, the relative distance between each component along the Z axis, and the Z coordinate extreme value information of the fifth axis rotation center.

[0066] In the specific implementation process, the W axis is equivalent to the extension of the Z axis, and the movement direction is actually consistent. For the machine tool, each axis has a movement stroke limit, so when considering the extension amount extreme value of the W axis, the Z axis stroke extreme value of the machine tool needs to be combined. For example, when the extension amount of the W axis is required to be maximum, the corresponding Z axis stroke should be minimum, and vice versa.

[0067] The relative distance between each component along the Z axis includes the distance L3 from the fifth axis rotation center to the Z axis end face, the distance L0 from the machining coordinate system to the workbench surface, and the distance L from the workbench surface to the W axis starting line. W0 is the position of W=0, that is, the W axis starting line. The specific means for obtaining the extreme value is:

[0068] According to the minimum value of the Z coordinate of the fifth axis rotation center, the maximum value of the stroke of the Z axis of the machine tool, and the relative distance between each component along the Z axis, obtain the minimum value of the extension amount of the W axis under the current operation.

[0069] W min =L-(L0+z' min +L3+Z max ), where z' min is the minimum value of the fifth axis rotation center in the machining coordinate system under the current operation, that is, the rotation center is at the lowest point; Z max is the maximum stroke value of the Z axis of the machine tool. That is, to satisfy the fifth axis rotation center to reach the lowest point of the operation, when the Z axis takes the maximum stroke, the extension amount of the W axis is at least W min .

[0070] According to the maximum value of the Z coordinate of the fifth axis rotation center, the minimum value of the stroke of the Z axis of the machine tool, and the relative distance between each component along the Z axis, obtain the maximum value of the extension amount of the W axis under the current operation.

[0071] Wmax = L - (L0+ z' max + L3+ Z min ), where z' max is the maximum value of the fifth axis rotation center in the machining coordinate system in the current operation, i.e., the rotation center is at the highest point; Z min is the minimum stroke value of the machine tool Z axis. That is, to satisfy the fifth axis rotation center to reach the highest point of the operation, when the Z axis takes the minimum stroke, the W axis telescopic amount is at most W max .

[0072] S30: Determine the telescopic amount of the W axis in the current operation according to the telescopic amount extreme value information of the W axis.

[0073] In the specific implementation process, after obtaining the telescopic amount extreme value information of the W axis, i.e., W max and W min , a suitable value within the extreme value range is determined by itself to represent the telescopic amount of the W axis in the operation, preferably:

[0074] S301: Determine the telescopic amount of the W axis in the current operation according to the telescopic amount extreme value information of the W axis.

[0075] That is, it is kept at a relatively moderate position, avoiding the problem of repeated adjustment in the programming process, which can effectively improve the efficiency and accuracy of adjustment, i.e., defining the telescopic amount of the W axis in the current operation as Wi = (W max +W min ) / 2, determining the W value at the center position, Wi represents the current operation in the entire machining program, and i is a natural number greater than 0.

[0076] S40: Determine whether the current operation is the initial operation in the single machining process.

[0077] In the specific implementation process, since the first operation has no reference for comparison, it is necessary to determine whether the current operation is the initial operation in the single machining process, and the determination result is one of yes or no.

[0078] S50: If the determination result is no, then compensate the Z coordinate of the tool point in the current operation according to the telescopic amount of the W axis, to complete the adjustment of the machine tool.

[0079] In the specific implementation process, after determining that the current operation is not the initial operation, the telescopic amount of the W axis obtained at present can be taken as the origin of the telescopic amount of the W axis in the initial operation to obtain the difference and compensate the tool point based on the difference, so that the tool point can be adjusted with the telescopic amount of the W axis, specifically:

[0080] S501: If the result of the judgment is no, then the expansion and contraction amount of the W-axis is calculated by subtracting the expansion and contraction amount of the W-axis at the initial operation.

[0081] S502: According to the result of the subtraction calculation, the Z coordinate of the tool position under the current operation is compensated to complete the adjustment of the machine tool.

[0082] In the specific implementation process, the W-axis expansion and contraction amount of the i-th operation is Wi, and the W-axis change amount of the operation relative to the first operation is δ = Wi-W, and the Z coordinates of all points of the operation need to be subtracted by δ to achieve compensation and complete the adjustment of the machine tool. When defining the origin, that is, determining W in the formula δ = Wi-W, it can be defined by oneself, or the W-axis expansion and contraction amount obtained at the first operation can be taken as the origin value, that is, when i is equal to 1: Before step S501, if the result of the judgment is yes, the expansion and contraction amount of the W-axis is taken as the expansion and contraction amount of the W-axis at the initial operation.

[0083] In the embodiment, by obtaining the coordinate information of the tool position, the Z coordinate extreme value in the fifth rotation axis is obtained. Since the expansion and contraction of the W-axis directly reflects the change of the Z coordinate, the extreme value of the W-axis expansion and contraction under the current operation can be obtained under the constraint of the dimension chain, and the appropriate W-axis expansion and contraction amount can be determined by oneself, thereby avoiding the problem of repeated adjustment caused by giving the W value only according to experience in the programming process, greatly improving the programming efficiency. In the case where the current operation is not the initial operation, the W-axis expansion and contraction amount under the current operation can be obtained relative to the W-axis expansion and contraction amount at the initial operation, and therefore the Z coordinate of the tool position is compensated by the expansion and contraction amount, thereby completing the adjustment of the machine tool. Thus, the tedious manual operation is avoided, the accurate relative change amount can be obtained, the adjustment accuracy is improved, and the quality of the machine tool adjustment is effectively improved.

[0084] The following will be described in combination with the accompanying drawings Figure 5 , wherein Figure 5 The adjustment method of the machine tool with the W-axis represented in one embodiment is further described as follows:

[0085] Firstly, the distance L0 of the machining coordinate system from the height direction of the workbench can be obtained;

[0086] The pre-position file generated by the CAM software is read, and the operation is divided according to the start and end identifiers in the program.

[0087] The maximum and minimum values of the Z coordinate corresponding to the cases that the fifth-axis rotation center is located at the highest point and the lowest point respectively are calculated.

[0088] Then, the length information of the tool corresponding to the current operation is obtained, and the W-axis maximum value and minimum value in the current operation can be calculated in combination with the fifth-axis rotation center Z coordinate, and Wi = (W max +W min ) / 2 is taken.

[0089] inserting an instruction INSERT / W=Wi at the operation start position, assigning Wi to W, and then determining whether the current operation is the first operation. If yes, an instruction ORIGIN / W=Wi is inserted at the program start position, and post-processing is output in the form of a comment for the W value when the initial homing origin is found. If no, Wi is compensated to the Z coordinate of the current operation point;

[0090] If the program does not end, the step of calculating the maximum and minimum values of the Z coordinate of the fifth-axis rotation center when the fifth-axis rotation center is located at the highest point and the lowest point, respectively, is returned to. As the machining program proceeds, the current operation changes constantly, and the W-axis extension amount can be adjusted automatically according to the current state at any time until the program is executed or an end instruction is received.

[0091] Referring to the drawings Figure 3 Based on the same inventive concept as in the foregoing embodiments, the embodiments of the present application also provide a machine tool adjustment device with a W-axis, comprising:

[0092] The first obtaining module is configured to obtain Z coordinate extreme value information of the fifth-axis rotation center according to coordinate information of the tool position point under the current operation;

[0093] The second obtaining module is configured to obtain W-axis extension amount extreme value information under the current operation according to machine tool Z-axis stroke extreme value information, relative distances between components along the Z axis, and the Z coordinate extreme value information of the fifth-axis rotation center;

[0094] The determining module is configured to determine the W-axis extension amount under the current operation according to the W-axis extension amount extreme value information;

[0095] The determining module is configured to determine the W-axis extension amount under the current operation according to the W-axis extension amount extreme value information;

[0096] The adjustment module is configured to compensate the Z coordinate of the tool position point under the current operation according to the W-axis extension amount to complete the adjustment of the machine tool when the determination result is no.

[0097] Those skilled in the art should understand that the division of each module in the embodiments is only a logical division of functions, and all or part of the modules can be integrated onto one or more actual carriers in actual applications, and the modules can all be implemented in the form of software through a processing unit, or all be implemented in the form of hardware, or be implemented in the form of software and hardware combination. It should be noted that the modules in the machine tool adjustment device with a W-axis in the embodiments correspond one by one to the steps in the machine tool adjustment method with a W-axis in the foregoing embodiments, and therefore the specific embodiments of the present application can refer to the embodiments of the machine tool adjustment method with a W-axis, which will not be described here.

[0098] Based on the same inventive concept as in the foregoing embodiments, the embodiments of the present application also provide a computer readable storage medium storing a computer program, which, when loaded and executed by a processor, implements the machine tool adjustment method with W-axis as provided by the embodiments of the present application.

[0099] In addition, based on the same inventive concept as in the foregoing embodiments, the embodiments of the present application also provide an electronic device comprising at least a processor and a memory, wherein,

[0100] The memory is configured to store a computer program;

[0101] The processor is configured to load and execute the computer program, so that the electronic device performs the machine tool adjustment method with W-axis as provided by the embodiments of the present application.

[0102] In some embodiments, the computer readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM, etc.; or can be various devices comprising one or any combination of the above memories. The computer can be various computing devices including smart terminals and servers.

[0103] In some embodiments, the executable instructions can be in the form of programs, software, software modules, scripts or codes, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and can be deployed in any form, including being deployed as independent programs or as modules, components, subroutines or other units suitable for use in computing environments.

[0104] As an example, the executable instructions can but not necessarily correspond to files in a file system, can be stored in part of a file storing other programs or data, for example, stored in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program in question, or stored in multiple cooperating files (for example, files storing one or more modules, subroutines or code portions).

[0105] As an example, the executable instructions can be deployed to execute on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed at multiple sites and interconnected through a communication network.

[0106] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0107] The sequence of the above embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments.

[0108] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and the necessary general hardware platform, of course, they can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, an optical disk) and includes a plurality of instructions for causing a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods of various embodiments of the present application.

[0109] To sum up, the application provides a machine tool adjustment method, device and electronic equipment with a W-axis, which obtains the Z-coordinate extreme value information of the fifth-axis rotation center according to the coordinate information of the tool position under the current operation; obtains the telescopic amount extreme value information of the W-axis under the current operation according to the Z-axis stroke extreme value information of the machine tool, the relative distance between each component along the Z-axis and the Z-coordinate extreme value information of the fifth-axis rotation center; determines the telescopic amount of the W-axis under the current operation according to the telescopic amount extreme value information of the W-axis; judges whether the current operation is the initial operation in the single machining process; if the result is no, compensates the Z-coordinate of the tool position under the current operation according to the telescopic amount of the W-axis to complete the adjustment of the machine tool. The application obtains the coordinate information of the tool position, and correspondingly calculates the Z-coordinate extreme value in the fifth rotation axis. Since the telescopic amount of the W-axis directly reflects the change of the Z-coordinate, the telescopic amount extreme value of the W-axis under the current operation can be obtained under the size chain constraint, and the telescopic amount of the W-axis is determined automatically, which avoids the repeated adjustment problem caused by giving the W value only according to experience in the programming process, greatly improves the programming efficiency, and in the case that the current operation is not the initial operation, the telescopic amount of the W-axis under the current operation is known relative to the W-axis in the initial operation, so the Z-coordinate of the tool position is compensated with the telescopic amount, and the adjustment of the machine tool is completed, which avoids the tedious manual operation, can obtain the accurate relative change amount, improves the adjustment accuracy, and effectively improves the quality of the machine tool adjustment.

[0110] The above only describes the preferred embodiments of the application and is not used to limit the application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application should be included in the protection scope of the application.

Claims

1. A machine tool adjustment method with a W-axis, characterized by, The method comprises the following steps: obtaining Z coordinate extreme value information of the fifth axis rotation center according to coordinate information of the tool position under current operation; obtaining the W axis telescopic amount extreme value information under current operation according to the Z axis stroke extreme value information of the machine tool, the relative distance between each component along the Z axis and the Z coordinate extreme value information of the fifth axis rotation center; wherein the relative distance between each component along the Z axis comprises the distance between the fifth axis rotation center and the Z axis end face, the distance between the machining coordinate system and the worktable surface and the distance between the worktable surface and the W axis starting line; determining the W axis telescopic amount under current operation according to the W axis telescopic amount extreme value information; judging whether the current operation is the initial operation in the single machining process; if the judgment result is no, compensating the Z coordinate of the tool position under current operation according to the W axis telescopic amount to complete the adjustment of the machine tool.

2. The W-axis machine tool adjustment method according to claim 1, characterized by, The method comprises the following steps: obtaining the Z coordinate value and corresponding vector information of the tool position according to the coordinate information of the tool position under current operation; obtaining the perpendicular distance between the fifth axis rotation center and the tool tip point according to the Z coordinate value and corresponding vector information of the tool position and the distance between the fifth axis rotation center and the tool tip point; obtaining the Z coordinate extreme value information of the fifth axis rotation center according to the perpendicular distance between the fifth axis rotation center and the tool tip point and the Z coordinate value of the tool position.

3. The W-axis machine tool adjustment method according to claim 2, characterized by, The method further comprises the following steps before obtaining the perpendicular distance between the fifth axis rotation center and the tool tip point according to the Z coordinate value and corresponding vector information of the tool position and the distance between the fifth axis rotation center and the tool tip point: obtaining the distance between the fifth axis rotation center and the tool tip point according to the fixed distance between the fifth axis rotation center and the spindle end face and the length of the tool.

4. The W-axis machine tool adjustment method according to claim 1, characterized by, The method comprises the following steps: obtaining the minimum W axis telescopic amount under current operation according to the minimum Z coordinate value of the fifth axis rotation center, the maximum stroke of the Z axis of the machine tool and the relative distance between each component along the Z axis; obtaining the maximum W axis telescopic amount under current operation according to the maximum Z coordinate value of the fifth axis rotation center, the minimum stroke of the Z axis of the machine tool and the relative distance between each component along the Z axis.

5. The W-axis machine tool adjustment method according to claim 1, wherein The method comprises the following steps: determining the W axis telescopic amount under current operation according to the W axis telescopic amount extreme value information, which is half of the sum of the maximum and minimum W axis telescopic amounts.

6. The W-axis machine tool adjustment method according to claim 1, wherein The method comprises the following steps: if the judgment result is no, calculating the difference between the W axis telescopic amount and the W axis telescopic amount in the initial operation. Compensate the Z coordinate of the tool position under the current operation according to the result of the difference calculation to complete the adjustment of the machine tool.

7. The W-axis machine tool adjustment method according to claim 6, wherein If the result of the judgment is no, the W-axis telescopic amount before the difference calculation is subtracted from the W-axis telescopic amount at the initial operation, and the machine tool adjustment method with the W-axis further comprises: If the result of the judgment is yes, the W-axis telescopic amount is taken as the W-axis telescopic amount at the initial operation.

8. A machine tool adjustment device with a W-axis, characterized by Comprise: The first obtaining module is used to obtain the Z coordinate extreme value information of the fifth axis rotation center according to the coordinate information of the tool position under the current operation; The second obtaining module is used to obtain the W-axis telescopic amount extreme value information under the current operation according to the machine tool Z-axis stroke extreme value information, the relative distance between each component along the Z-axis, and the Z coordinate extreme value information of the fifth axis rotation center; wherein the relative distance between each component along the Z-axis comprises the distance between the fifth axis rotation center and the Z-axis end face, the distance between the machining coordinate system and the workbench surface, and the distance between the workbench surface and the W-axis starting line; The determining module is used to determine the W-axis telescopic amount under the current operation according to the W-axis telescopic amount extreme value information; The judgment module is used to judge whether the current operation is the initial operation in the single machining process; The adjustment module is used to compensate the Z coordinate of the tool position under the current operation according to the W-axis telescopic amount when the result of the judgment is no, to complete the adjustment of the machine tool.

9. An electronic device, comprising: Comprise a processor and a memory, wherein, The memory is used to store a computer program; The processor is used to load and execute the computer program, so that the electronic device executes the machine tool adjustment method with the W-axis as claimed in any one of claims 1-7.

Citation Information

Patent Citations

  • Combined rotating head for non-contact processing numerical control machine tool

    CN101823211A

  • Cutter length compensation mechanism of horizontal machining center

    CN103381565A