A tool recognition system and method

By combining a reflective grating sensor and a control terminal, the large and small tools in the tool magazine of a CNC machine tool are automatically identified, solving the problems of low efficiency and operational errors in existing technologies. This achieves efficient and accurate identification of large and small tools, improving the stability of CNC machine tools.

CN119501679BActive Publication Date: 2025-11-11ZHUHAI GREE INTELLIGENT EQUIP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411683315.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-11-11
Estimated Expiration
2044-11-22

AI Technical Summary

Technical Problem

Existing CNC systems are inefficient and prone to operational errors when distinguishing between large and small tools, leading to potential problems in tool magazine operation.

Method used

A reflective grating sensor is used to detect whether there is a knife inside the knife sheath. The control terminal automatically identifies the size of the knife based on the detection signal. A binary table of large and small knives is generated by using binary values ​​and XOR operations to improve the accuracy and efficiency of identification.

Benefits of technology

It enables automatic identification of large and small tools in the tool magazine, improving identification accuracy and efficiency, reducing the risk of manual parameter setting, and enhancing the stability of CNC machine tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119501679B_ABST
    Figure CN119501679B_ABST
Patent Text Reader

Abstract

This invention discloses a tool identification system and method. The tool identification system includes: a tool magazine containing multiple tool holders for holding tools; a detection device for detecting whether there are tools in the tool holders and outputting a detection signal; and a control terminal connected to the detection device for receiving the detection signal and identifying the size of the tools in the tool holders based on the detection signal. This invention uses the detection device to detect the tools in the tool holders and generate a corresponding detection signal. The control system then processes the detection signal to achieve automatic identification of tools of different sizes in the tool magazine. This improves the accuracy and efficiency of tool size identification, reduces the risk of manual parameter setting, and enhances the stability of CNC machine tools.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of numerical control automation technology, and in particular to a tool recognition system and method. Background Technology

[0002] Modern CNC machine tools are typically equipped with tool magazines, which often feature automatic tool changing to allow for the replacement of multiple tools within a single machining program. With advancements in technology, the requirements for tool magazines in CNC machine tools are becoming increasingly stringent, such as the number of tools the magazine can hold and the size of tools it can support. In boring processes, the boring bar is much larger than the diameter of the tool holder (the tool is mounted in the tool holder), thus requiring a tool occupying three tool holder positions. This type of tool occupying three tool holder positions is called a "large tool." Adjacent tool holders to a large tool cannot accommodate other tools, otherwise there is a risk of tool jamming. A tool occupying one tool holder position, and which does not jam with adjacent tools, is called a "small tool."

[0003] For tools of different sizes, machine operators typically assemble the tools into the tool holders according to the tool magazine schedule (a table listing the tool types for each tool holder). The CNC system then needs to differentiate between the different sizes of tools in the tool holders. However, current CNC systems usually rely on a parameter setting page for this differentiation, requiring the machine operator to manually configure each tool type individually. This is clearly inefficient, and because it's manual, it's prone to errors, potentially leading to problems with tool magazine operation. Summary of the Invention

[0004] This invention provides a tool identification system and method, which aims to achieve automatic identification of large and small tools in a tool magazine and improve the accuracy and efficiency of tool identification.

[0005] This invention provides a tool identification system, comprising:

[0006] A tool magazine contains multiple tool holders for storing cutting tools;

[0007] A detection device is used to detect whether there is a knife inside the knife sheath and output a detection signal;

[0008] A control terminal, connected to the detection device, is used to receive the detection signal and identify the size of the cutting tool in the tool holder based on the detection signal.

[0009] Furthermore, the tool magazine also includes a rotatable tool disc, on which multiple tool sleeves are circumferentially distributed.

[0010] Furthermore, the detection device is a reflective grating sensor.

[0011] Furthermore, the reflective grating sensor is fixedly mounted on the cutter head.

[0012] The present invention also provides a tool identification method, applied to the tool identification system described in any of the preceding embodiments, comprising:

[0013] The detection device is used to detect the tool holders in the tool magazine and generate a detection signal;

[0014] The size of the cutting tool inside the tool holder is identified based on the detection signal.

[0015] Furthermore, the step of using a detection device to detect the tool holders in the tool magazine and generating a detection signal includes:

[0016] When there is a knife inside the blade sheath, a detection signal with a binary value of 1 is generated;

[0017] When there is no blade inside the blade sheath, a detection signal with a binary value of 0 is generated;

[0018] The detection signals of all tool holders are summarized into a binary tool magazine table, and the binary tool magazine table is used as the final detection signal.

[0019] Furthermore, the step of identifying the size of the cutting tool within the tool holder based on the detection signal includes:

[0020] The binary knife database table is filtered according to a preset filtering strategy, and a binary large knife table is generated based on the filtering results; wherein, the preset filtering strategy is: the binary knife database table is filtered and divided according to the binary value of the large knife being 010;

[0021] By combining the binary tool magazine table and the binary large tool table, a binary small tool table is generated;

[0022] The binary large knife table and the binary small knife table are used to identify the size of the knife in the knife sheath.

[0023] Furthermore, the step of filtering the binary tool magazine table according to a preset filtering strategy and generating a binary large tool table based on the filtering results includes:

[0024] According to the binary values ​​of the large knives in the preset filtering strategy, the binary knife database table is filtered and divided in sequence;

[0025] Based on the results of the filtering and partitioning, the binary value of the large knife is converted to 100 bits, and all other binary values ​​are converted to 0 bits.

[0026] Generate a binary sword table based on the 100-bit converted binary sword value and other binary values.

[0027] Furthermore, the step of combining the binary tool magazine table and the binary large tool table to generate the binary small tool table includes:

[0028] Perform an XOR operation on the binary tool magazine table and the binary large tool table, and generate a binary small tool table based on the result of the XOR operation.

[0029] Furthermore, the step of using the detection device 2 to detect the tool holder 1 in the tool magazine and generate a detection signal also includes:

[0030] Control the cutter head to drive the cutter sleeve to rotate;

[0031] The rotating tool holder is detected one by one using a reflective grating sensor, and a detection signal is generated.

[0032] This invention provides a tool identification system and method. The tool identification system includes: a tool magazine containing multiple tool holders for holding tools; a detection device for detecting whether there are tools in the tool holders and outputting a detection signal; and a control terminal connected to the detection device for receiving the detection signal and identifying the size of the tools in the tool holders based on the detection signal. This invention uses the detection device to detect the tools in the tool holders and generate a corresponding detection signal. The control system then processes the detection signal to achieve automatic identification of tools of different sizes in the tool magazine. This improves the accuracy and efficiency of tool identification, reduces the risk of manual parameter setting, and enhances the stability of CNC machine tools. Attached Figure Description

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

[0034] Figure 1 This is a schematic diagram of the structure of a knife recognition system provided in an embodiment of the present invention;

[0035] Figure 2 A schematic diagram of a tool recognition system provided in an embodiment of the present invention;

[0036] Figure 3 This is another structural schematic diagram of a knife recognition system provided in an embodiment of the present invention;

[0037] Figure 4 This is a flowchart illustrating a knife identification method provided in an embodiment of the present invention;

[0038] Figure 5This is a schematic diagram of a sub-process of step S101 in a tool identification method provided in an embodiment of the present invention;

[0039] Figure 6 This is a schematic diagram of a sub-process of step S102 in a tool identification method provided in an embodiment of the present invention;

[0040] Figure 7 This is a schematic diagram of a sub-process of step S301 in a tool identification method provided in an embodiment of the present invention;

[0041] Figure 8 This is another schematic diagram of a tool identification method provided in an embodiment of the present invention. Detailed Implementation

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

[0043] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0044] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0045] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0046] Please see below. Figure 1 This invention provides a knife identification system, comprising:

[0047] A tool magazine contains multiple tool holders 1 for storing cutting tools;

[0048] The detection device 2 is used to detect whether there is a knife inside the knife sleeve 1 and output a detection signal;

[0049] The control terminal is connected to the detection device 2 and is used to receive the detection signal and identify the size of the blades in the blade sheath 1 according to the detection signal.

[0050] The tool identification system described in this embodiment includes a tool magazine, a detection device 2, and a control terminal. During tool identification, the detection device 2 first detects the tools in the tool holder 1 of the tool magazine and generates a detection signal. Then, based on the detection signal, it identifies the size of the tools in the tool holder 1. In other words, this embodiment uses the detection device 2 to detect the tools in the tool holder 1 and generate corresponding detection signals. The control system then processes these signals, thereby achieving automatic identification of tools of different sizes in the tool magazine. This improves the accuracy and efficiency of tool identification, reduces the risk of manual parameter setting, and enhances the stability of the CNC machine tool.

[0051] In a specific embodiment, the tool magazine also includes a rotatable tool disc 3, and a plurality of tool sleeves 1 are circumferentially distributed on the tool disc 3.

[0052] Furthermore, the detection device 2 is a reflective grating sensor. More specifically, the reflective grating sensor is fixedly mounted on the cutter head 3.

[0053] This embodiment, based on the cutter head 3 and a reflective grating sensor, controls the rotation of the cutter head 3 during tool identification. This causes the circumferentially distributed tool holders 1 on the cutter head 3 to pass through the reflective grating sensor one by one. The reflective grating sensor detects whether a tool is inside each tool holder 1 and outputs a detection signal. Specifically, when the reflective sensor detects a tool inside a tool holder 1, it outputs a binary 1 detection signal; when it detects no tool inside a tool holder 1, it outputs a binary 0 detection signal. After detecting all tool holders 1, a binary tool magazine table containing the detection signals of each tool holder 1 is generated. The control terminal then performs signal analysis and other processing on the binary tool magazine table to identify large or small tools. In some embodiments, only one reflective grating sensor is used, so that each tool holder 1 passes through the reflective grating sensor when the cutter head 3 rotates. Of course, multiple reflective grating sensors can be set, or even one reflective grating sensor can be set for each tool holder 1. In this way, tool identification and detection can be quickly performed on the tool holder 1 by multiple reflective grating sensors without setting the tool turret 3.

[0054] In practical application scenarios, combined with Figure 2The control terminal can be a PMC system (Production Material Control) connected to the CNC system. The detection device 2 is a reflective grating sensor. At the same time, an IO module is set between the PMC system and the reflective grating sensor to receive the detection signal generated by the reflective grating sensor and forward the detection signal to the PMC system for analysis and processing.

[0055] For example, combining Figure 1 When the rotating tool holder 1 is detected by the reflective grating sensor, the detection signal of the tool holder 1 with a tool is output as 1, and the detection signal of the tool holder 1 without a tool is output as 0. Thus, the binary tool magazine table can be obtained as: 100100100110101111110100. Subsequently, the control terminal analyzes and processes the binary tool magazine table. Specifically, since the broadsword requires three sheaths 1, and only the middle sheath 1 has a sword while the adjacent sheaths 1 on either side are empty, we know that the binary representation of the broadsword is 010. Therefore, we can select the first 010 in the binary sword inventory table and continue to divide the other values ​​in the binary sword inventory table in order, thus obtaining: 010, 010, 011, 010, 111, 111, 010, 010. Now, we continue to convert the above division results into a binary broadsword table, specifically converting 010 to 100 and converting the other values ​​to 000. That is, in the binary broadsword table, 1 bit represents the presence of a broadsword, and 0 bit represents the absence of a broadsword. Therefore, we can obtain the binary broadsword table as: 100100000100000000100100. Furthermore, the binary knife inventory table and the binary large knife table are combined to generate the binary small knife table. Specifically, the binary knife inventory table and the binary large knife table are XORed. This results in the binary small knife table as: 000000100010101111010000. In other words, 1 bit in the binary small knife table indicates that there is a small knife, and 0 bit indicates that there is no small knife.

[0056] For example Figure 3As shown, the reflective grating sensor detects the rotating tool holder 1 and obtains the binary tool magazine table as: 100101001001011010110100. Subsequently, the control terminal analyzes and processes the binary tool magazine table, filtering out the value 010 for the large knife, namely 010, 10, 010, 010, 11, 010, 11, 010, 010, and generating the binary large knife table as: 100001001000010000100100. Then, the binary tool magazine table and the binary large knife table are XORed to obtain the binary small knife table as: 000100000001001010010000. Thus, the identification of large and small knives is realized based on the binary large knife table and the binary small knife table. Here, it can be understood that when generating the binary large knife table, the binary knife library table is divided according to 010. When there are large knives and small knives adjacent to each other, there will be 01010010, so it will be divided into two large knives 010, namely 010, 10 and 010.

[0057] like Figure 4 As shown, this embodiment of the invention also provides a tool identification method, applied to the tool identification system described above, the method specifically including: steps S101 to S102.

[0058] Step S101: Use the detection device 2 to detect the tool holder 1 in the tool magazine and generate a detection signal;

[0059] Step S102: Identify the size of the cutting tool in the tool holder 1 based on the detection signal.

[0060] In this embodiment, the detection device 2 detects the tools in the tool holder 1 and generates corresponding detection signals. Then, the control system processes the detection signals to achieve automatic identification of large and small tools in the tool magazine. This improves the accuracy and efficiency of tool identification, reduces the risk of manual parameter setting, and enhances the stability of the CNC machine tool.

[0061] In one embodiment, such as Figure 5 As shown, step S101 includes steps S201 to S203.

[0062] Step S201: When there is a knife in the knife sheath 1, a detection signal with a binary value of 1 is generated;

[0063] Step S202: When there is no blade in the blade sleeve 1, a detection signal with a binary value of 0 is generated;

[0064] Step S203: Summarize the detection signals of all tool holders 1 into a binary tool magazine table, and use the binary tool magazine table as the final detection signal.

[0065] In this embodiment, the detection signal for a tool holder is set to a binary value of 1, and the detection signal for a toolless tool holder is set to a binary value of 0. Thus, after detecting all tool holders 1, a binary tool magazine table containing the binary values ​​of all tool holders 1 can be obtained. For example, combined with... Figure 1 When detecting tool holder 1, the detection signal for tool holder 1 with a tool is output as 1, and the detection signal for tool holder 1 without a tool is output as 0. Therefore, the binary tool magazine table can be obtained as: 100100100110101111110100. For example, combined with... Figure 3 When detecting tool holder 1, the detection signal of tool holder 1 with a tool is output as 1, and the detection signal of tool holder 1 without a tool is output as 0. Thus, the binary tool magazine table can be obtained as: 100101001001011010110100.

[0066] In one embodiment, such as Figure 6 As shown, step S102 includes steps S301 to S303.

[0067] Step S301: Filter the binary knife library table according to a preset filtering strategy, and generate a binary large knife table based on the filtering results; wherein, the preset filtering strategy is: to filter and divide the binary knife library table according to the binary value of the large knife being 010;

[0068] In this step, since the large sword requires three sheaths (1), and only the middle sheath (1) has a sword while the adjacent sheaths (1 on either side) are empty, we know that the binary value corresponding to the large sword is 010. Therefore, we can select the first 010 bit in the binary sword inventory table and continue to divide the other values ​​in the binary sword inventory table in sequence.

[0069] like Figure 7 As shown, step S301 includes steps S401 to S403.

[0070] Step S401: According to the binary value of the large knife in the preset filtering strategy, filter and divide the binary knife database table in sequence;

[0071] Step S402: Based on the results of the filtering and division, convert the binary value of the large knife to 100 bits, and convert all other binary values ​​to 0 bits;

[0072] Step S403: Generate a binary sword table based on the 100-bit converted binary sword value and other binary values.

[0073] After obtaining the binary knife magazine table, it is filtered and divided according to a preset filtering strategy. For example, the binary knife magazine table 100100100110101111110100 is filtered and divided into 010, 010, 011, 010, 111, 111, 010, 010. Another example is the binary knife magazine table 100101001001011010110100, which is filtered and divided into 010, 10, 010, 010, 11, 010, 11, 010, 010. Then, the binary value of the large knife is converted to 100, and other binary values ​​are converted to 0, thus generating a binary large knife table. This allows the identification of whether a large knife is in knife sheath 1; that is, in the binary large knife table, 1 bit indicates the presence of a large knife, and 0 bit indicates the absence of a large knife. For example, if the filtering result is 010, 010, 011, 010, 111, 111, 010, 010, after conversion, we can get the binary table: 100100000100000000100100; or if the filtering result is 010, 10, 010, 010, 11, 010, 11, 010, 010, after conversion, we can get the binary table: 100001001000010000100100.

[0074] Step S302: Combine the binary tool magazine table and the binary large tool table to generate a binary small tool table;

[0075] Specifically, step S302 includes:

[0076] Perform an XOR operation on the binary tool magazine table and the binary large tool table, and generate a binary small tool table based on the result of the XOR operation.

[0077] In this step, after obtaining the binary tool magazine table and the binary large tool table, an XOR operation is performed on the two to obtain the binary small tool table. For example, performing an XOR operation on the binary tool magazine table 100100100110101111110100 and the binary large tool table 100100000100000000100100 results in the binary small tool table: 000000100010101111010000; and as another example, performing an XOR operation on the binary tool magazine table 10010100100101101011010100 and the binary large tool table 100001001000010000100100 results in the binary small tool table: 000100000001001010010000.

[0078] Step S303: Based on the binary large knife table and the binary small knife table, identify the size of the knife in the knife sheath 1 containing the knife.

[0079] In this step, after obtaining the binary large knife table and the binary small knife table, we can identify the large knife and the small knife from them. In the binary large knife table, 1 bit indicates that there is a large knife and 0 bit indicates that there is no large knife. In the binary small knife table, 1 indicates that there is a small knife and 0 indicates that there is a small large knife.

[0080] In this embodiment, after obtaining the binary knife magazine table, the binary knife magazine table is filtered and divided to generate a binary large knife table. Then, the binary knife magazine table and the binary large knife table are combined to generate a binary small knife table. Thus, the presence of a large knife or a small knife in the knife sheath 1 can be identified based on the binary large knife table and the binary small knife table.

[0081] For example, combining Figure 1 When the rotating tool holder 1 is detected by the reflective grating sensor, the detection signal of the tool holder 1 with a tool is output as 1, and the detection signal of the tool holder 1 without a tool is output as 0. Thus, the binary tool magazine table can be obtained as: 100100100110101111110100. Subsequently, the control terminal analyzes and processes the binary tool magazine table. Specifically, since the broadsword requires three sheaths 1, and only the middle sheath 1 has a sword while the adjacent sheaths 1 on either side are empty, we know that the binary representation of the broadsword is 010. Therefore, we can select the first 010 in the binary sword inventory table and continue to divide the other values ​​in the binary sword inventory table in order, thus obtaining: 010, 010, 011, 010, 111, 111, 010, 010. Now, we continue to convert the above division results into a binary broadsword table, specifically converting 010 to 100 and converting the other values ​​to 000. That is, in the binary broadsword table, 1 bit represents the presence of a broadsword, and 0 bit represents the absence of a broadsword. Therefore, we can obtain the binary broadsword table as: 100100000100000000100100. Furthermore, the binary knife inventory table and the binary large knife table are combined to generate the binary small knife table. Specifically, the binary knife inventory table and the binary large knife table are XORed. This results in the binary small knife table as: 000000100010101111010000. In other words, 1 bit in the binary small knife table indicates that there is a small knife, and 0 bit indicates that there is no small knife.

[0082] For example Figure 3As shown, the reflective grating sensor detects the rotating tool holder 1 and obtains the binary tool magazine table as: 100101001001011010110100. Subsequently, the control terminal analyzes and processes the binary tool magazine table, filtering out the value 010 for the large knife, namely 010, 10, 010, 010, 11, 010, 11, 010, 010, and generating the binary large knife table as: 100001001000010000100100. Then, the binary tool magazine table and the binary large knife table are XORed to obtain the binary small knife table as: 000100000001001010010000. Thus, the identification of large and small knives is realized based on the binary large knife table and the binary small knife table. Here, it can be understood that when generating the binary knife table, the binary knife library table is divided according to the 010 bits. When there are large knives and small knives adjacent to each other, there will be 01010010, so it will be divided into two large knives with 010 bits, namely 010, 10 and 010.

[0083] In one embodiment, step S101 further includes:

[0084] Control the cutter head 3 to drive the cutter sleeve 1 to rotate;

[0085] The rotating tool holder 1 is detected one by one using a reflective grating sensor, and a detection signal is generated.

[0086] This embodiment, based on the tool disc 3 and a reflective grating sensor, controls the rotation of the tool disc 3 during tool identification. This causes the circumferentially distributed tool holders 1 on the tool disc 3 to pass through the reflective grating sensor one by one. The reflective grating sensor then detects whether a tool is inside each tool holder 1 and outputs a detection signal. Specifically, when the reflective sensor detects a tool inside a tool holder 1, it outputs a binary 1 detection signal; when it detects no tool inside a tool holder 1, it outputs a binary 0 detection signal. After detecting all tool holders 1, a binary tool magazine table containing the detection signals of each tool holder 1 is generated. The control terminal then performs signal analysis and other processing on the binary tool magazine table to determine whether a large or small tool is being identified.

[0087] In practical application scenarios, combined with Figure 8First, manual tool loading is performed according to the tool magazine table. Then, automatic tool identification begins. The tool turret 3 rotates the circumferentially distributed tool holders 1, causing reflective grating sensors to detect whether each tool holder 1 contains a tool and output a 0-bit or 1-bit binary value, thus obtaining a binary tool magazine table for all tool holders 1. The binary tool magazine table is then filtered and divided according to the binary values ​​of 0, 10, etc. For example, 010 represents the presence of a large tool, while arrays such as 111, 000, 011, and 110 represent the absence of large tools, but with 1 bit representing the presence of a small tool. A binary large tool table is generated based on the filtering results. This binary large tool table is then combined with the binary tool magazine table to generate a binary small tool table. Large and small tools are identified based on the 0 and 1 bits of these binary large and small tool tables. Finally, the identified large and small tools are sent to the CNC system, enabling the CNC system to operate stably and reliably based on the tool identification results.

[0088] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0089] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A knife identification system, characterized in that, include: A tool magazine contains multiple tool holders for storing cutting tools; A detection device is used to detect whether there is a blade in the blade holder and output a detection signal; when there is a blade in the blade holder, a detection signal with a binary value of 1 is generated; when there is no blade in the blade holder, a detection signal with a binary value of 0 is generated; the detection signals of all blade holders are summarized into a binary blade magazine table, and the binary blade magazine table is used as the final detection signal; A control terminal, connected to the detection device, is used to receive the detection signal and identify the size of the blades in the blade sheath based on the detection signal. The binary knife database table is filtered according to a preset filtering strategy, and a binary large knife table is generated based on the filtering results. The preset filtering strategy is as follows: the binary knife database table is filtered and divided according to the binary value of the large knife being 010; the binary knife database table and the binary large knife table are combined to generate a binary small knife table. The binary large knife table and the binary small knife table are used to identify the size of the knife in the knife sheath.

2. The tool identification system according to claim 1, characterized in that, The tool magazine also includes a rotatable tool disc, on which multiple tool sleeves are circumferentially distributed.

3. The tool identification system according to claim 2, characterized in that, The detection device is a reflective grating sensor.

4. The tool identification system according to claim 3, characterized in that, The reflective grating sensor is fixedly mounted on the cutter head.

5. A tool identification method, applied to the tool identification system as described in any one of claims 1-4, characterized in that, include: The detection device is used to detect the tool holders in the tool magazine and generate a detection signal; The blades inside the blade sheath are identified by their size based on the detection signal. The method of using a detection device to detect the tool holders in the tool magazine and generate a detection signal includes: When there is a knife inside the blade sheath, a detection signal with a binary value of 1 is generated; When there is no blade inside the blade sheath, a detection signal with a binary value of 0 is generated; The detection signals of all tool holders are summarized into a binary tool magazine table, and the binary tool magazine table is used as the final detection signal. The step of identifying the size of the cutting tool inside the tool holder based on the detection signal includes: The binary knife database table is filtered according to a preset filtering strategy, and a binary large knife table is generated based on the filtering results; wherein, the preset filtering strategy is: the binary knife database table is filtered and divided according to the binary value of the large knife being 010; By combining the binary tool magazine table and the binary large tool table, a binary small tool table is generated; The binary large knife table and the binary small knife table are used to identify the size of the knife in the knife sheath.

6. The tool identification method according to claim 5, characterized in that, The step of filtering the binary tool magazine table according to a preset filtering strategy and generating a binary large tool table based on the filtering results includes: According to the binary values ​​of the large knives in the preset filtering strategy, the binary knife database table is filtered and divided in sequence; Based on the results of the filtering and partitioning, the binary value of the large knife is converted to 100 bits, and all other binary values ​​are converted to 0 bits. Generate a binary sword table based on the 100-bit converted binary sword value and other binary values.

7. The tool identification method according to claim 6, characterized in that, The step of combining the binary knife magazine table and the binary large knife table to generate the binary small knife table includes: Perform an XOR operation on the binary tool magazine table and the binary large tool table, and generate a binary small tool table based on the result of the XOR operation.

8. The tool identification method according to claim 5, characterized in that, The method of using a detection device to detect the tool holders in the tool magazine and generate a detection signal also includes: Control the cutter head to drive the cutter sleeve to rotate; The rotating tool holder is detected one by one using a reflective grating sensor, and a detection signal is generated.

Citation Information

Patent Citations

  • Tool changer tool detecting system of numerical control machine tool

    CN104759927A

  • Tool changing processing method of big cutters and small cutters in machining center

    CN109396915A