Machine tool and tool speed control method, system and readable storage medium thereof

By acquiring tool length information and comparing it with a reference value to generate a speed limit signal, the spindle speed is controlled, which solves the problem of the spindle throwing out long tools at high speeds, thus improving machining safety and tool life.

CN122142818APending Publication Date: 2026-06-05ZHEJIANG GENESIS MASCH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG GENESIS MASCH CO LTD
Filing Date
2024-12-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, the spindle at high speeds can easily fling out long cutting tools, leading to safety hazards and equipment damage.

Method used

By acquiring the initial length information of the tool and comparing it with the preset reference length value, a speed limit signal is generated to control the spindle speed to not exceed the safe speed value, and speed limit processing is performed for long tools.

Benefits of technology

This effectively avoids safety hazards caused by excessively high rotation speeds during machining with long cutting tools, ensuring the safety of the machining process and extending the tool's lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122142818A_ABST
    Figure CN122142818A_ABST
Patent Text Reader

Abstract

The application discloses a machine tool and a tool speed control method and system thereof and a readable storage medium, and the method comprises the following steps: acquiring an initial tool length value of a tool when the tool is called, and comparing the initial tool length value with a preset reference length value; and when the initial tool length value of the tool is greater than the reference length value, controlling the rotating speed of a main shaft to be not greater than a preset safety speed value. According to the tool speed control method and system, when the tool is long, the rotating speed of the main shaft is limited within a certain range, the problem that the tool is thrown out by the rotation of the main shaft and the long tool is easy to shake can be reduced, and thus the safety hidden danger caused by the excessively high rotating speed of the long tool in the machining process can be effectively avoided, and the safety of the machining process and the service life of the tool are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of processing equipment, and more specifically, to a machine tool and a method, system, and readable storage medium for controlling the speed of the cutting tool. Background Technology

[0002] In modern CNC machining centers, tool management and usage are crucial. To ensure machining accuracy and safety, the uniqueness of tools, proper installation, and appropriate control of usage conditions are paramount. Long tools, due to their greater length, require special care during use to avoid safety issues or equipment damage caused by excessive tool length during machining. For example, different spindle speeds have varying effects on the tool; the higher the spindle speed, the easier it is for the tool to be ejected. High-speed spindle rotation also affects tools of different lengths; longer tools are more prone to wobbling on the spindle, meaning they are more likely to be ejected, potentially posing a safety hazard. Therefore, a solution is needed that can adjust the spindle speed according to the tool length to reduce the problem of tools being ejected at higher spindle speeds. Summary of the Invention

[0003] To address the aforementioned problems, the present invention aims to provide a machine tool and its tool speed control method, system, and readable storage medium, thereby resolving the technical problem in the prior art where the spindle easily throws the tool out at high speeds.

[0004] The objective of this invention is achieved through the following technical solution:

[0005] The first aspect of the present invention provides a tool speed control method for a machine tool, the machine tool including a tool magazine for storing tools and a spindle for mounting tools and machining workpieces using tools, characterized in that the tool speed control method includes the following steps:

[0006] When a tool is retrieved from the tool magazine, the length information of the tool to be used is obtained. The length information includes the initial tool length value used to represent the length of the tool to be used.

[0007] The initial tool length value of the tool to be used is compared with the preset reference length value. When the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated.

[0008] Based on the speed limit signal, when the tool to be used is mounted on the spindle, the spindle speed is controlled to not exceed the preset safe speed value.

[0009] In the above scheme, preferably, before obtaining the length information of the tool to be used when retrieving a tool from the tool magazine, the following steps are also included:

[0010] Number each tool in the tool magazine;

[0011] Install each tool in the tool magazine onto the spindle one by one, and move it along the spindle's extension direction to perform tool setting;

[0012] During tool setting, the displacement of the spindle along the spindle extension direction is recorded when each numbered tool is installed on the spindle. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

[0013] In the above scheme, preferably, during the tool setting process, the displacement of the spindle along the spindle extension direction is recorded when each numbered tool is installed on the spindle. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool. This is followed by:

[0014] Set a baseline length value to classify the tools in the tool magazine, and consider tools with an initial length value greater than the baseline length value as long tools;

[0015] Set a safe spindle speed value, which is the spindle speed that should not exceed when the tool is identified as a long tool.

[0016] In the above scheme, preferably, during the tool setting process, the displacement of the spindle along the spindle extension direction is recorded when each numbered tool is installed on the spindle. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool. This is followed by:

[0017] Set a corresponding tool compensation value for each tool in the tool magazine;

[0018] Real-time monitoring of the current tool length value of the tool on the spindle;

[0019] When the spindle tool is a long tool, the current tool length value is compared with the initial tool length value; tools with an initial length value greater than the reference length value are considered long tools.

[0020] If the current tool length is less than the initial tool length, the tool is compensated so that the sum of the current tool length and the tool compensation value equals the initial tool length.

[0021] In the above scheme, preferably, the reference length values ​​include a first reference length value, a second reference length value, and a third reference length value that decrease sequentially; when the initial tool length value is greater than the first reference length value, a first speed limit signal is generated; when the initial tool length value is greater than the second reference length value and less than or equal to the first reference length value, a second speed limit signal is generated; when the initial tool length value is greater than the third reference length value and less than or equal to the second reference length value, a third speed limit signal is generated.

[0022] Based on the first speed limit signal, the spindle speed is controlled to not exceed the preset first safe speed value;

[0023] Based on the second speed limit signal, the spindle speed is controlled to not exceed the preset second safe speed value;

[0024] Based on the third speed limit signal, the spindle speed is controlled to not exceed the preset third safe speed value;

[0025] Among them, the first safe speed value is less than the second safe speed value, and the second safe speed value is less than the third safe speed value.

[0026] According to a second aspect of this invention, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium stores one or more programs, which can be executed by one or more processors to implement the steps in the tool speed control method for a machine tool as described above.

[0027] According to a third aspect of this invention, a tool speed control system for a machine tool is provided, the machine tool including a tool magazine for storing tools and a spindle for mounting tools and machining workpieces via the tools, comprising:

[0028] The information acquisition module is used to obtain the length information of the tool to be used when calling a tool from the tool magazine. The length information includes the initial tool length value used to represent the length of the tool to be used.

[0029] The judgment module is used to compare the initial tool length value of the tool to be used with the preset reference length value. When the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated.

[0030] The speed limiting module is used to control the spindle speed to not exceed a preset safe speed value when the tool to be used is mounted on the spindle, based on the speed limiting signal.

[0031] In the above scheme, preferably, the machine tool's tool speed control system further includes:

[0032] The numbering module is used to number each tool in the tool magazine;

[0033] The tool setting module is used to install each tool in the tool magazine onto the spindle one by one and move it along the spindle extension direction to perform tool setting;

[0034] The recording module is used to record the displacement of the spindle along the spindle extension direction when each numbered tool is installed on the spindle during the tool setting process. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

[0035] In the above scheme, preferably, the machine tool's tool speed control system further includes:

[0036] The first setting module is used to set the reference length value, classify the tools in the tool magazine, and regard tools with an initial length value greater than the reference length value as long tools;

[0037] The second setting module is used to set a safe speed value, which is the maximum spindle speed that the spindle cannot exceed when the tool is identified as a long tool.

[0038] According to the fourth aspect of this invention, a machine tool is provided, including a tool magazine for storing cutting tools, a spindle for mounting cutting tools and machining workpieces with cutting tools, and the machine tool further including a tool speed limiting system of any of the above-mentioned machine tools; or, when the machine tool is working, a tool speed control method of any of the above-mentioned machine tools is applied.

[0039] The beneficial effects of this invention are as follows: This machine tool obtains the initial tool length value when the tool is called and compares it with a preset reference length value. When the initial tool length value is greater than the reference length value, the spindle speed is controlled to not exceed a preset safe speed value. Through this method, when the tool is long, limiting the spindle speed within a certain range can reduce the problem of the spindle rotation causing the tool to be thrown out and the problem of long tools easily wobbling. This effectively avoids safety hazards caused by excessively high speeds during machining with long tools, ensuring the safety of the machining process and the service life of the tool. Attached Figure Description

[0040] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0041] Figure 1 This is a flowchart of the tool speed control method for the machine tool of the present invention;

[0042] Figure 2 This is a schematic diagram of the tool speed control system of the machine tool of the present invention. Detailed Implementation

[0043] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.

[0044] refer to Figure 1 The first aspect of this invention provides a tool speed control method for a machine tool, which can be applied to machine tools equipped with a tool magazine and a spindle. The tool magazine is used to store various tools, and the spindle is used to install the tools and perform workpiece machining. The method includes the following steps:

[0045] S100: When calling a tool from the tool magazine, obtain the length information of the tool to be used. The length information includes the initial tool length value used to represent the length of the tool to be used.

[0046] S200: Compare the initial tool length value of the tool to be used with the preset reference length value. If the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated.

[0047] S300: Based on the speed limit signal, when the tool to be used is mounted on the spindle, the spindle speed is controlled to not exceed the preset safe speed value.

[0048] Specifically, when a new tool is needed for machining, the system retrieves the required tool from the tool magazine and reads its length information. This length information includes an initial tool length value representing the tool's original length. The system compares the read initial tool length value with a preset reference length value. If the initial tool length value is greater than the preset reference length value, the system determines that the tool is too long, which may generate high cutting forces or back forces during machining. When the initial tool length value exceeds the reference length value, the system generates a speed limit signal. This signal alerts the control system to take appropriate measures to ensure the safety of the machining process. Upon receiving the speed limit signal, the control system adjusts the spindle operation. During this process, the spindle speed is not allowed to exceed the preset safe speed value, thereby effectively avoiding safety hazards caused by excessively long tools and ensuring the safety and stability of the machine tool machining process.

[0049] For example, if the cutting tool on the spindle is too long, during machining of such a long tool, at high speeds, a longer tool is more likely to be ejected, causing safety issues. Furthermore, an excessively long tool requires more clamping pressure to prevent ejection, but greater clamping pressure also causes greater damage to the tool. Therefore, when the tool is too long, the spindle speed needs to be appropriately reduced to prevent it from being easily ejected or to avoid requiring excessive clamping force.

[0050] In one embodiment, the method further includes the following steps before step S100:

[0051] S101: Number each tool in the tool magazine;

[0052] S102: Install each tool in the tool magazine onto the spindle one by one, and move it along the spindle extension direction to perform tool setting;

[0053] S103: During the tool setting process, record the displacement of the spindle along the spindle extension direction when each numbered tool is installed on the spindle. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

[0054] Specifically, each tool in the tool magazine is numbered to ensure that each tool has a unique identifier. Each tool in the tool magazine is then installed onto the machine tool spindle one by one according to its number. The installed tools are moved along the extension direction of the spindle, and a tool setting operation is performed. During tool setting, the displacement data of the spindle moving along the extension direction is recorded, that is, the length of the spindle movement is recorded each time a specific numbered tool is installed. Upon completion of tool setting, the recorded spindle displacement value along the extension direction for each time is used as the initial tool length value for the corresponding numbered tool. Through these steps, the initial length information of each tool can be accurately obtained, thus providing necessary data support for subsequent tool speed control methods.

[0055] For example, when tool number 1 is selected from the spindle tool magazine for tool setting, the zero point position of the tool is first set (the zero point position is the same for each tool). The spindle moves along the table surface until the tool tip touches the tool setting bar placed on the table surface, completing the tool setting for that tool. The displacement of the spindle from the zero point position until the tool tip touches the tool setting bar is the initial tool length value.

[0056] It should be noted that when the tool to be used is determined to be a long tool, the spindle speed is controlled to not exceed the preset safe speed value. Even if the spindle conversion input into the machine tool system has exceeded the safe speed value, the spindle speed will still be limited to the safe speed value because the tool to be used is of length.

[0057] For example, the operator inputs a spindle speed of 10,000 rpm into the machine tool system, with a safe speed of 5,000 rpm. The spindle maintains a speed of 10,000 rpm while machining the workpiece. When changing tools, if a long tool is selected, the spindle speed will be limited to 5,000 rpm.

[0058] In one embodiment, step S103 is followed by:

[0059] Set a baseline length value to classify the tools in the tool magazine, and consider tools with an initial length value greater than the baseline length value as long tools;

[0060] Set a safe spindle speed value, which is the spindle speed that should not exceed when the tool is identified as a long tool.

[0061] Specifically, during tool setting, the initial tool length value of each numbered tool installed on the spindle is recorded. After tool setting, a reference length value and a safe speed value are set. The reference length value is used to classify the tools in the tool magazine; if the initial tool length value of a tool is greater than the reference length value, then that tool is considered a long tool. The safe speed value is the maximum speed the spindle can reach during machining when a tool is identified as a long tool. The spindle must not exceed this safe speed value when using this long tool to ensure machining safety.

[0062] In practical applications, the initial tool length value of each tool can be obtained by recording the spindle displacement along the extension direction during tool setting. Then, based on a preset reference length value, long tools and non-long tools can be distinguished. For tools marked as long tools, when using these tools for machining, the spindle speed needs to be limited to a pre-set safe speed range to ensure the safety and reliability of the machining process.

[0063] For example, if the set reference length is 100 mm and the safe speed is 5000 rpm, then whenever an installed tool with an initial tool length exceeding 100 mm is detected, the system will automatically limit the spindle speed to within 5000 rpm to ensure the safety and efficiency of the machining process. If an installed tool with an initial tool length of 100 mm or less is detected, then the tool is determined not to be a length, and there is no need to limit the spindle speed.

[0064] In one embodiment, step S103 is followed by:

[0065] S104: Set the corresponding tool compensation value for each tool in the tool magazine;

[0066] S105: Real-time monitoring of the current tool length value of the tool on the spindle;

[0067] S106: When the spindle tool is a long tool, the current tool length value is compared with the initial tool length value; among them, the tool whose initial length value is greater than the reference length value is considered a long tool;

[0068] S107: If the current tool length value is less than the initial tool length value, then the tool is compensated so that the sum of the current tool length value and the tool compensation value equals the initial tool length value.

[0069] Specifically, a corresponding tool compensation value is set for each tool in the tool magazine. This step is to adjust the tool length using the compensation value when the tool length changes, thereby ensuring machining accuracy. The currently used tools are monitored in real time to obtain their current length value. This is because the tool length may change during use due to wear and other reasons. If the tool on the spindle is a long tool, meaning its initial length value is greater than the reference length value, it is identified as a long tool. Here, the reference length value can be determined based on the specific machine tool equipment and machining requirements. When a long tool's current length value is detected to be less than its initial length value, compensation processing is performed. Specifically, the current length value is added to the tool compensation value, which equals the tool's initial length value. In this way, even if the tool shortens due to wear, its working length can still be restored through compensation, thus ensuring machining quality. Through the above steps, the length change problem caused by tool wear and other reasons can be effectively managed and adjusted, improving machining accuracy and efficiency. The compensation value can specifically be the displacement value of the spindle moving along the worktable surface.

[0070] In one embodiment, the reference length value can be set to several different values ​​to classify the cutting tool into several different length specifications to adapt to different machining needs. Specifically, the reference length value can include a first reference length value, a second reference length value, and a third reference length value that decrease sequentially. These three reference length values ​​can be specifically set according to specific circumstances (such as a specific model of machine tool, the material of the cutting tool used, etc.).

[0071] When the system detects that the initial tool length exceeds the first reference length value, it generates a first speed limit signal. Based on this signal, the spindle speed is controlled to not exceed a preset first safe speed value. This helps protect the spindle and tool from excessive wear, damage, or tool ejection due to excessive speed.

[0072] For tools with an initial tool length between these two reference values—that is, when the initial tool length is greater than the second reference length but less than or equal to the first reference length—the system generates a second speed limit signal. Based on this second speed limit signal, the spindle speed is controlled to not exceed a preset second safe speed value. Since the first reference length is greater than the second reference length, and a tool conforming to a longer reference length means it is longer, the spindle speed needs to be lower.

[0073] If the initial tool length is shorter than the third reference length (i.e., greater than the third reference length but less than or equal to the second reference length), the system generates a third speed limit signal. At this point, based on the third speed limit signal, the spindle speed will be controlled within the third safe speed value. Because the third reference length is relatively the smallest, the spindle mounted on it can rotate at a relatively faster speed. It can be understood that the first safe speed value is less than the second safe speed value, and the second safe speed value is less than the third safe speed value.

[0074] For example, the first reference length is 130mm, the second reference length is 110mm, and the third reference length is 90mm; the first safety speed is 4000 rpm, the second safety speed is 6000 rpm, and the third safety speed is 8000 rpm. If the initial length of tool #1 retrieved from the tool magazine is 95mm, the spindle speed with tool #1 installed will be between 0-8000 rpm because the length of tool #1 is greater than the third reference length. If the initial length of tool #1 retrieved from the tool magazine is 120mm, the spindle speed with tool #1 installed will be between 0-6000 rpm because the length of tool #1 is greater than the second reference length.

[0075] This segmented control strategy, based on the original tool length, can effectively adjust the spindle speed according to the tool length, thereby improving machining efficiency while ensuring the safety of the equipment and process. This design is typically found in high-end machine tools and their control systems where tool life, spindle durability, or feed rate management and optimization are required.

[0076] A second aspect of the present invention provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps in the tool speed control method of the above embodiments.

[0077] refer to Figure 2 A third aspect of the present invention provides a tool speed control system for a machine tool, including a tool magazine for storing tools and a spindle for mounting tools and machining workpieces using the tools. The system includes:

[0078] The information acquisition module 100 is used to acquire the length information of the tool to be used when calling a tool from the tool magazine. The length information includes an initial tool length value that represents the length of the tool to be used.

[0079] The judgment module 200 is used to compare the initial tool length value of the tool to be used with the preset reference length value. When the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated.

[0080] The speed limiting module 300 is used to control the spindle speed to not exceed a preset safe speed value when the tool to be used is mounted on the spindle, based on the speed limiting signal.

[0081] Specifically, the information acquisition module 100 can use a sensor or a data interface connected to the tool magazine to acquire the length information of the tool to be used. The acquired length information includes an initial tool length value, which can accurately reflect the basic length data of the tool for subsequent processing.

[0082] The judgment module 200 determines whether a speed limit signal needs to be generated by comparing the initial tool length value of the tool to be used with a preset reference length value. The comparison can be a direct numerical comparison or implemented through other calculation methods, such as setting a tool length threshold. A speed limit signal is generated when the received tool length value is greater than the reference length value.

[0083] Upon receiving a speed limit signal, the speed limit module 300 controls the speed of the machine tool spindle to ensure that the spindle speed does not exceed a preset safe rotational speed value. This can be achieved through various methods, such as adjusting the motor speed setting, control circuit parameter settings, or mechanical limits. The specific implementation method will depend on the specific configuration of the machine tool and the type of control system.

[0084] The workflow of this invention system can be as follows: the information acquisition module 100 acquires length information when a tool is called; the judgment module 200 receives and processes the information to determine whether speed limiting is necessary; and the speed limiting module 300 executes the speed limiting operation based on the judgment result. This series of steps ensures that the machine tool can operate safely and efficiently when using tools of different lengths, especially when the tool is long, helping to reduce operational risks and protect machine tool components from damage. Through this design, the control system can dynamically adjust the spindle speed parameters when machining with tools of different lengths, ensuring the safety of the machining process and the service life of the tool.

[0085] It should be noted that, unless otherwise specified, the steps in the aforementioned tool speed control method can all be applied to the system of this embodiment. Specifically, in one embodiment, the machine tool tool speed control system further includes:

[0086] Numbering module 400 is used to number each tool in the tool magazine;

[0087] The tool setting module 500 is used to install each tool in the tool magazine onto the spindle one by one and move it along the spindle extension direction to perform tool setting;

[0088] The recording module 600 is used to record the displacement of the spindle along the spindle extension direction when each numbered tool is installed on the spindle during the tool setting process. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

[0089] Specifically, the numbering module 400 is responsible for numbering each tool in the tool magazine, so that each tool has a unique number, which facilitates subsequent operations and storage.

[0090] The tool setting module 500 is used to install each numbered tool in the tool magazine onto the spindle one by one, and moves it along the extension direction of the spindle to perform the tool setting operation. The tool setting operation is a critical step to ensure the correct position and spacing between the tool and the machine tool, thereby guaranteeing machining accuracy.

[0091] During tool setting, the recording module 600 records the specific displacement of the spindle along the extension direction when each numbered tool is installed. The recorded content includes the distance the spindle moves along the extension direction each time a tool is set; this distance is considered the initial tool length value for that numbered tool. The initial tool length value provides the system with necessary data for subsequent tool length compensation and speed control, ensuring the accuracy and stability of the machining process.

[0092] The general workflow of the entire system is as follows: First, the numbering module 400 numbers the tools in the tool magazine. Then, the tool setting module 500 installs each numbered tool onto the spindle and performs the tool setting operation. During the tool setting process, the recording module 600 records and stores the spindle displacement data along the extension direction in real time during each tool setting; this data constitutes the initial tool length value for each tool. In this way, the system can ensure the accurate installation position of each tool in the machine tool, thereby achieving more precise machining control.

[0093] In one embodiment, the machine tool's tool speed control system further includes:

[0094] The first setting module is used to set the reference length value, classify the tools in the tool magazine, and regard tools with an initial length value greater than the reference length value as long tools;

[0095] The second setting module is used to set a safe speed value, which is the maximum spindle speed that the spindle cannot exceed when the tool is identified as a long tool.

[0096] Specifically, the tool speed limiting system of this machine tool includes, but is not limited to, the following key modules and functions:

[0097] The first setting module is used to set the reference length value of the tools in the tool magazine. In this implementation, a specific length is set as the reference, typically based on a comprehensive consideration of factors such as machine tool performance and the hardness of the material being processed. Standards for the reference length value are set according to different tool types and processing requirements. Generally, tools with an initial length value greater than this reference length value are marked as "long tools." Based on the determined reference length value, the tools stored are divided into two categories: "long tools" and "non-long tools." Specifically, if the length of a tool exceeds the set reference length value, it is classified as a long tool; otherwise, it is classified as a regular tool. The first setting module can be part of a programmable logic controller (PLC) or an embedded control system, and its function is to receive the reference length value input by the user or system administrator. When the user inputs the reference length value of a long tool (a tool whose length exceeds a certain set length) through a human-machine interface or other input device, the first setting module saves this value and uses it as a basis for subsequent tool classification.

[0098] Once a tool is identified as a long tool, the system uses a second setting module to set a safe spindle speed. This safe speed value is carefully calculated based on factors such as the tool's slenderness ratio, the machine tool's structural characteristics, and performance parameters to ensure that problems such as tool vibration or breakage due to excessive speed are avoided during machining. The spindle must not exceed this safe speed value during machining to ensure machining safety and quality. The second setting module is another component of the programmable controller or system. Its main function is to receive the safe speed value set by the user or system administrator. The primary function of this module is to set an upper limit for the allowable spindle rotation speed when a long tool is identified. This upper limit will restrict the spindle speed of the tool being used.

[0099] By combining the above modules and functions, the tool speed limiting system of this machine tool can effectively monitor and limit the spindle speed when using long tools, thereby enhancing the safety and operability of the machine tool.

[0100] A fourth aspect of the present invention provides a machine tool, including a tool magazine for placing cutting tools, a spindle for mounting cutting tools and machining workpieces with cutting tools, and the machine tool further including the above-described tool speed control system; or, when the machine tool is working, any of the above-described tool speed control methods are applied.

[0101] This machine tool obtains the initial tool length value when the tool is called and compares it with a preset reference length value. When the initial tool length value is greater than the reference length value, it indicates that the tool is too long. In order to reduce the problem of the tool being thrown out by the spindle rotation and the problem of long tools being prone to shaking, it is necessary to limit the spindle speed within a certain range and control the spindle speed to not exceed the preset safe speed value. This effectively avoids the safety hazards caused by the excessive speed of long tools during the machining process, and ensures the safety of the machining process and the service life of the tool.

[0102] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for controlling the speed of a machine tool, the machine tool comprising a tool magazine for storing tools and a spindle for mounting tools and machining workpieces using the tools, characterized in that, The tool speed control method includes the following steps: When a tool is retrieved from the tool magazine, the length information of the tool to be used is obtained, and the length information includes an initial tool length value used to represent the length of the tool to be used; The initial tool length value of the tool to be used is compared with a preset reference length value. When the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated. Based on the speed limit signal, when the tool to be used is mounted on the spindle, the spindle speed is controlled to not exceed a preset safe speed value.

2. The tool speed control method for a machine tool according to claim 1, characterized in that, Before obtaining the length information of the tool to be used when retrieving a tool from the tool magazine, the method further includes: Each tool in the tool magazine is numbered; Each tool in the tool magazine is installed onto the spindle one by one, and the spindle is moved along the extension direction of the spindle to perform tool setting; During the tool setting process, the displacement of the spindle along the spindle extension direction when each numbered tool is installed on the spindle is recorded. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

3. The tool speed control method for a machine tool according to claim 2, characterized in that, During the tool setting process, the displacement of the spindle along its extension direction is recorded when each numbered tool is installed on the spindle. This displacement along the spindle's extension direction during each tool setting is considered the initial tool length value for the corresponding tool. The process also includes: The reference length value is set, and the tools in the tool magazine are classified. Tools whose initial length value is greater than the reference length value are regarded as long tools. The safe rotational speed value is set to the maximum rotational speed of the spindle when the tool is determined to be a long tool.

4. The tool speed control method for a machine tool according to claim 2, characterized in that, During the tool setting process, the displacement of the spindle along its extension direction is recorded when each numbered tool is installed on the spindle. This displacement along the spindle's extension direction during each tool setting is considered the initial tool length value for the corresponding tool. The process also includes: Set a corresponding tool compensation value for each tool in the tool magazine; Real-time monitoring of the current tool length value of the tool on the spindle; When the spindle tool is a long tool, the current tool length value is compared with the initial tool length value; wherein, a tool whose initial length value is greater than the reference length value is considered a long tool. If the current tool length is less than the initial tool length, the tool is compensated so that the sum of the current tool length and the tool compensation value equals the initial tool length.

5. The tool speed control method for a machine tool according to any one of claims 1-4, characterized in that, The reference length values ​​include a first reference length value, a second reference length value, and a third reference length value that decrease sequentially; when the initial tool length value is greater than the first reference length value, a first speed limit signal is generated; when the initial tool length value is greater than the second reference length value and less than or equal to the first reference length value, a second speed limit signal is generated. When the initial tool length value is greater than the third reference length value and less than or equal to the second reference length value, a third speed limit signal is generated; Based on the first speed limit signal, the rotational speed of the spindle is controlled to not exceed a preset first safe speed value; Based on the second speed limit signal, the rotational speed of the spindle is controlled to not exceed a preset second safe speed value; Based on the third speed limit signal, the rotational speed of the spindle is controlled to not exceed a preset third safe speed value; Among them, the first safe speed value is less than the second safe speed value, and the second safe speed value is less than the third safe speed value.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs, which can be executed by one or more processors to implement the steps in the tool speed control method for a machine tool as described in any one of claims 1-5.

7. A tool speed control system for a machine tool, the machine tool comprising a tool magazine for storing tools and a spindle for mounting tools and machining workpieces using the tools, characterized in that, include: The information acquisition module is used to acquire the length information of the tool to be used when calling a tool from the tool magazine. The length information includes an initial tool length value representing the length of the tool to be used. The judgment module is used to compare the initial tool length value of the tool to be used with a preset reference length value. When the initial tool length value of the tool to be used is greater than the reference length value, a speed limit signal is generated. The speed limiting module is used to control the spindle speed to not exceed a preset safe speed value when the tool to be used is installed on the spindle, based on the speed limiting signal.

8. The tool speed control system for a machine tool according to claim 7, characterized in that, Also includes: The numbering module is used to number each tool in the tool magazine; The tool setting module is used to install each tool in the tool magazine onto the spindle one by one, and move along the extension direction of the spindle to perform tool setting; The recording module is used to record the displacement of the spindle along the spindle extension direction when each numbered tool is installed on the spindle during the tool setting process. The displacement of the spindle along the spindle extension direction during each tool setting is regarded as the initial tool length value of the corresponding tool.

9. The tool speed limiting system for a machine tool according to claim 7, characterized in that, Also includes: The first setting module is used to set the reference length value, classify the tools in the tool magazine, and regard the tools whose initial length value is greater than the reference length value as long tools; The second setting module is used to set the safe speed value, which is the rotational speed at which the spindle rotates when the tool is determined to be a long tool.

10. A machine tool, comprising a tool magazine for holding cutting tools and a spindle for mounting cutting tools and machining workpieces using the cutting tools, characterized in that, It also includes the tool speed limiting system of the machine tool according to any one of claims 7-9; or the tool speed control method of the machine tool according to any one of claims 1-5 when the machine tool is working.