Cutter offset parameter determination method, controller, equipment and storage medium

By obtaining tool model and geometric characteristic data and determining the dimensional bias parameters in combination with tool types, the problem of insufficient tool measurement accuracy is solved, and higher measurement accuracy and higher machining efficiency are achieved.

CN119566974AActive Publication Date: 2025-03-07深圳模德宝科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411737159.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-07
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

The tool measurement methods in the prior art have problems with insufficient measurement accuracy, which leads to the impact of machining accuracy.

Method used

By obtaining the tool model of the target tool, obtain the corresponding tool geometric characteristic data from the preset tool database, and determine the dimensional bias parameters according to the tool type, which is used to correct the tool measurement data.

Benefits of technology

It improves the accuracy and accuracy of tool measurement data, simplifies the measurement process, reduces manual participation, and improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119566974A_ABST
    Figure CN119566974A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of machining, in particular to a cutter offset parameter determination method, a controller, equipment and a storage medium. The method comprises the steps that the tool model of a target tool is obtained; tool geometric characteristic data corresponding to the target tool are obtained from a preset tool database according to the tool model; determining a tool type according to the tool model, determining a size offset parameter of the target tool according to the geometric characteristic data and the tool type, and correcting tool measurement data according to the size offset parameter; wherein the tool measurement data refers to the tool size obtained by performing tool measurement operation on the target tool. The size offset parameters are suitable for different tool types and tool models, the accuracy of tool measurement data corrected according to the size offset parameters is improved, and the machining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of machining technology, and in particular to a method for determining tool offset parameters, a controller, a device and a storage medium. Background Art

[0002] At present, CNC machine tools need to use tools for processing, and the tools need to be measured during the processing to achieve precision processing. Therefore, accurate measurement of the tools is crucial to ensure processing quality and improve production efficiency. In the tool measurement method in the prior art, after the tool measurement is performed to obtain the tool measurement data, the measured tool measurement data has errors. In this way, the measurement accuracy of the tool is insufficient, which will cause adverse effects on the processing accuracy. Summary of the invention

[0003] In view of the problem of insufficient measurement accuracy of a tool in the prior art, an embodiment of the present invention provides a method, a controller, a device and a storage medium for determining a tool offset parameter.

[0004] An embodiment of the present invention provides a method for determining tool offset parameters, comprising: Get the tool model of the target tool; Acquire tool geometric characteristic data corresponding to the target tool from a preset tool database according to the tool model; The tool type is determined according to the tool model, and the size offset parameters of the target tool are determined according to the geometric characteristic data and the tool type, so as to correct the tool measurement data according to the size offset parameters; wherein the tool measurement data refers to the tool size obtained by performing a tool measurement operation on the target tool.

[0005] Further, the obtaining of the tool model of the target tool includes: The identification data uniquely corresponding to the target tool is obtained, a model keyword is extracted from a field corresponding to the tool model in the identification data, and the tool model of the target tool is determined according to the model keyword.

[0006] Further, the size offset parameter includes a diameter offset parameter; The method of determining the type of tool according to the tool model, and determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, further includes: Obtaining the tool type associated with the tool model; When the R angle of the target tool represented by the tool type is 0, determining the diameter offset parameter of the target tool as a first preset diameter offset value; When the tool type characterizes that the R angle of the target tool is greater than 0, the R angle of the target tool is obtained from the tool geometric feature data, and the diameter offset parameter of the target tool is determined as the sum of a second preset diameter offset value and the R angle; wherein the second preset diameter offset value is smaller than the first preset diameter offset value.

[0007] Further, the size offset parameter includes a length offset parameter; the geometric characteristic data includes a diameter value of the target tool; The method of determining the type of tool according to the tool model, and determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, further includes: Obtaining the tool type associated with the tool model; When it is determined that the target tool meets the first offset condition based on the geometric characteristic data and the tool type, the length offset parameter of the target tool is determined as a first length offset value; the first length offset value is equal to half of the diameter value minus a preset length offset value; wherein the first offset condition includes: the tool type characterizes that the R angle of the target tool is 0, and the diameter value is greater than a preset diameter threshold.

[0008] Furthermore, the geometric characteristic data also includes the R angle of the target tool; After obtaining the tool type associated with the tool model, the method further includes: When it is determined that the target tool satisfies the second offset condition based on the geometric characteristic data and the tool type, the length offset parameter of the target tool is determined to be 0; wherein the second offset condition includes: the tool type characterizes that the R angle of the target tool is greater than 0, and the R angle is equal to half of the diameter value, and the diameter value is less than the preset diameter threshold.

[0009] Furthermore, after obtaining the tool type associated with the tool model, the method further includes: When it is determined according to the geometric characteristic data and the tool type that the target tool does not satisfy the first offset condition and the second offset condition, the length offset parameter of the target tool is determined as a second length offset value, and the second length offset value is equal to the first length offset value minus the R angle.

[0010] Further, after determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, the method further includes: photographing an actual tool image of the target tool by using a preset photographing device, and performing image recognition on the actual tool image by using a preset tool size recognition model to obtain actual geometric characteristic data corresponding to the actual tool image; When the actual geometric characteristic data is inconsistent with the tool geometric characteristic data, the size offset parameter of the target tool is updated according to the actual geometric characteristic data and the tool type.

[0011] An embodiment of the present invention further provides a controller, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the method for determining tool offset parameters is implemented when the processor executes the computer-readable instructions.

[0012] An embodiment of the present invention further provides a processing device, comprising the controller.

[0013] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the tool offset parameter determination method is implemented.

[0014] The present invention provides a method, controller, device and storage medium for determining tool offset parameters, the method comprising: obtaining a tool model of a target tool; obtaining tool geometric characteristic data corresponding to the target tool from a preset tool database according to the tool model; determining a tool type according to the tool model, and determining a size offset parameter of the target tool according to the geometric characteristic data and the tool type, so as to correct tool measurement data according to the size offset parameter; wherein the tool measurement data refers to a tool size obtained by performing a tool measurement operation on the target tool.

[0015] In the present invention, the tool geometric characteristic data of the target tool is first determined according to the tool model, and then the size offset parameter is determined according to the tool geometric characteristic data and the tool type. The size offset parameter can be used to automatically correct the tool measurement data with a certain deviation in the tool measurement operation, thereby improving the accuracy of the tool measurement data. In the present invention, since the size offset parameter is not only determined according to the geometric characteristic data corresponding to the tool model of the target tool, but also takes into account the tool type corresponding to the target tool, the size offset parameter corresponding to the target tool of different tool types and different tool models can be accurately determined, so that the size offset parameter is adapted to different tool types and tool models, thereby further improving the accuracy of the tool measurement data corrected according to the size offset parameter, thereby improving the accuracy of the final corrected tool measurement data. And the tool offset parameter of the present invention can be determined by the controller itself, without manual participation in the tool measurement and correction process, accurate tool measurement data can be obtained, simplifying the measurement process, reducing labor, and improving processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0017] Figure 1 is a flow chart of a method for determining tool offset parameters in one embodiment of the present invention; Figure 2 is a flow chart of step S30 of a method for determining tool offset parameters in one embodiment of the present invention; Figure 3 is a flow chart of step S30 of a method for determining tool offset parameters in another embodiment of the present invention; Figure 4 Schematic diagram of a controller in one embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] In one embodiment, if Figure 1 As shown, a method for determining tool offset parameters is provided, comprising the following steps S10-S30: S10, obtaining a tool model of a target tool, wherein the tool model refers to data that can be used to characterize a specific tool type.

[0020] In some embodiments, the step S10, i.e., obtaining the tool model of the target tool, includes: Obtain identification data uniquely corresponding to the target tool, extract a model keyword from the field corresponding to the tool model in the identification data, and determine the tool model of the target tool according to the model keyword. That is, in this embodiment, the tool model of the target tool can be determined according to the identification data used to uniquely identify the target tool. The identification data may include multiple fields, each of which corresponds to a type of data, such as a tool number, a model keyword used to indicate the tool model, the length of the tool, etc. Here, the data type corresponding to each field in the identification data is not limited, as long as it is related to the target tool.

[0021] In one embodiment, the step S10, i.e., obtaining the tool model of the target tool, includes: An initial tool image of the target tool is captured by a preset shooting device, and a standard tool image matching the initial tool image is queried in a preset tool database, and the standard model associated with the queried standard tool image is determined as the tool model of the target tool; wherein each of the standard tool images in the preset tool database is associated with a standard tool of the standard model.

[0022] That is, in this embodiment, the tool model of the target tool can also be identified by image recognition and matching. Specifically, the preset shooting device can be a camera installed on the processing equipment and connected to the controller of the processing equipment; the preset shooting device can also be a camera not installed on the processing equipment, but connected to the controller, and the captured initial tool image can be transmitted to the controller. The shooting device can directly capture the tool image corresponding to the target tool, which can be the initial tool image when the tool is used for the first time, or the actual tool image captured at any time during the subsequent use of the target tool (even when not in use).

[0023] In this embodiment, after the preset shooting device shoots the initial tool image, the controller can receive the initial tool image sent by the preset shooting device in real time, and compare the initial tool image with the standard tool image in the preset tool database, and then query the standard tool image that matches the initial tool image. The specific matching process can be: image recognition is performed on the initial tool image to identify the first dimension structure feature of the tool (such as length, diameter, R angle, etc.). At the same time, the standard tool image will also be associated with a second dimension structure feature (such as length, diameter, R angle, etc.) used to characterize the tool of the standard tool image. Therefore, the above-mentioned first dimension structure feature can be compared with each second dimension structure feature one by one, and then the standard tool image that matches the initial tool image can be determined. For example, among all the second dimension structure features whose similarity with the first dimension structure feature exceeds a preset threshold, the standard tool image corresponding to the second dimension structure feature with the highest similarity can be determined as the standard tool image that matches the initial tool image. When the above-mentioned first dimensional structural features are compared with each second dimensional structural features one by one, and when the corresponding similarities of all second dimensional structural features are less than the preset threshold, it can be directly prompted that the matching fails. At this time, it is necessary to confirm whether the target tool is entered into the preset tool database for subsequent information supplement or manual confirmation, etc., and re-matching and other operations can also be performed, which are not limited here.

[0024] It is understandable that, since each of the standard tool images in the preset tool database is associated with a standard tool of the standard model in a one-to-one correspondence, the standard model associated with the queried standard tool image can be directly determined as the tool model of the target tool.

[0025] S20, according to the tool model, obtain the tool geometric characteristic data corresponding to the target tool from the preset tool database; that is, according to the tool model, the specific tool geometric characteristic data of the target tool can be found from the preset tool database, and the geometric characteristic data is the specific geometric size of the target tool, including but not limited to the length value, diameter value and R angle of the target tool. The preset tool database stores the tool geometric characteristic data corresponding to all tools, and the tool geometric characteristic data can be the standard size of the target tool when it leaves the factory, or it can be the data obtained after the actual precise measurement of tools of different tool models. The above-mentioned tool geometric characteristic data can be pre-stored in the preset tool database, and the tool geometric characteristic data in the preset tool database can be deleted, added or modified according to the needs.

[0026] S30, determining the type of tool according to the tool model, and determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, so as to correct the tool measurement data according to the size offset parameter; wherein the tool measurement data refers to the tool size obtained by performing a tool measurement operation on the target tool. That is, each target tool uniquely corresponds to a tool model, and the tool model also corresponds to a tool type. A single tool type can correspond to multiple tool models, for example, the tool type includes but is not limited to a flat knife, a ball knife or a round nose knife. If the tool type is a ball knife, the tool model corresponding to the ball knife can be ball knife No. 1, ball knife No. 2...ball knife No. N, etc.

[0027] In this embodiment, different size offset parameters will be obtained for different types of tools and geometric characteristic data corresponding to different tool models. Therefore, the final size offset parameters will be more compatible with the target tool, which will make the size offset parameters more accurate, and the tool measurement data can be corrected more accurately. Understandably, because the target tool will be worn or collided during use, which may cause the tool size to change, it is necessary to perform a tool measurement operation on the target tool during processing (especially precision processing). Specifically, the tool measurement operation refers to the operation of measuring the current actual size of the target tool before using the target tool for processing, or after using the target tool for processing a certain process, and the tool measurement data is the current actual size data of the target tool.

[0028] In the above embodiment of the present invention, the tool geometric characteristic data of the target tool is first determined according to the tool model, and then the size offset parameter is determined according to the tool geometric characteristic data and the tool type. The size offset parameter can be used to automatically correct the tool measurement data with a certain deviation in the tool measurement operation, thereby improving the accuracy of the tool measurement data. In the present invention, since the size offset parameter is not only determined according to the geometric characteristic data corresponding to the tool model of the target tool, but also takes into account the tool type corresponding to the target tool, the size offset parameter corresponding to the target tool of different tool types and different tool models can be accurately determined, so that the size offset parameter is adapted to different tool types and tool models, and the accuracy of the tool measurement data corrected according to the size offset parameter is further improved, thereby improving the accuracy of the final corrected tool measurement data. And the tool offset parameter of the present invention can be determined by the controller itself, without manual participation in the tool measurement and correction process, accurate tool measurement data can be obtained, simplifying the measurement process, reducing labor, and improving processing efficiency.

[0029] In one embodiment, the size offset parameter includes a diameter offset parameter; wherein the diameter offset parameter is used to characterize the amount by which the diameter data in the tool measurement data of the target tool needs to be corrected. Specifically, when the tool measurement data is corrected according to the size offset parameter, the diameter data in the tool measurement data can be added with the diameter offset parameter, that is, the corrected diameter data can be obtained.

[0030] Furthermore, if Figure 2 As shown, in the step S30, the tool type is determined according to the tool model, and the size offset parameter of the target tool is determined according to the geometric characteristic data and the tool type, and further includes: S301, obtaining the tool type associated with the tool model; that is, each target tool uniquely corresponds to a tool model, but the tool model also corresponds to a tool type, and a single tool type can correspond to multiple tool models, for example, tool types include but are not limited to flat knives, ball knives, or round nose knives. If the tool type is a ball knife, the tool model corresponding to the ball knife can be ball knife No. 1, ball knife No. 2...ball knife No. N, etc.

[0031] S302, when the R angle of the target tool represented by the tool type is 0, the diameter offset parameter of the target tool is determined as a first preset diameter offset value; wherein, the R angle of the target tool represented by the tool type is 0, indicating that the tool type is a flat tool. At this time, the diameter offset parameter of the target tool in this embodiment is independent of the R angle, and the diameter offset parameter of the target tool can be directly determined as the first preset diameter offset value. The first preset diameter offset value can be set according to demand, for example, set to 0.5 mm.

[0032] S303, when the R angle of the target tool represented by the tool type is greater than 0, the R angle of the target tool is obtained from the tool geometric feature data, and the diameter offset parameter of the target tool is determined as the sum of the second preset diameter offset value and the R angle; wherein the second preset diameter offset value is less than the first preset diameter offset value. Wherein, the R angle of the target tool represented by the tool type is greater than 0, indicating that the tool type is a ball tool or a round nose tool, etc. At this time, the diameter offset parameter of the target tool in this embodiment is related to the R angle, and the diameter offset parameter of the target tool can be determined as the sum of the second preset diameter offset value and the R angle, and then the R angle is used as one of the determination criteria for determining the diameter offset parameter, so as to make the diameter offset parameter more accurate. The second preset diameter offset value can be set according to demand (for example, set to 0.2mm). It should be noted that since the R angle has been considered when calculating the diameter offset parameter at this time, therefore, setting the second preset diameter offset value to be less than the first preset diameter offset value at this time can make the final diameter offset parameter closer to the actual and more accurate.

[0033] In one embodiment, the size offset parameter includes a length offset parameter; the geometric characteristic data includes a diameter value of the target tool; wherein the length offset parameter is used to characterize the amount by which the length data in the tool measurement data of the target tool needs to be corrected. Specifically, when the tool measurement data is corrected according to the size offset parameter, the length data in the tool measurement data can be added with the length offset parameter, that is, the corrected length data is obtained.

[0034] Furthermore, if Figure 3 As shown, in the step S30, the tool type is determined according to the tool model, and the size offset parameter of the target tool is determined according to the geometric characteristic data and the tool type, and further includes: S301, obtaining the tool type associated with the tool model; that is, each target tool uniquely corresponds to a tool model, but the tool model also corresponds to a tool type, and a single tool type can correspond to multiple tool models, for example, tool types include but are not limited to flat knives, ball knives, or round nose knives. If the tool type is a ball knife, the tool model corresponding to the ball knife can be ball knife No. 1, ball knife No. 2...ball knife No. N, etc.

[0035] S304, when it is determined that the target tool meets the first offset condition according to the geometric characteristic data and the tool type, the length offset parameter of the target tool is determined as the first length offset value; the first length offset value is equal to half of the diameter value minus the preset length offset value; wherein the first offset condition includes: the tool type characterizes that the R angle of the target tool is 0, and the diameter value is greater than the preset diameter threshold. Wherein, the preset diameter threshold and the preset length offset value can be set according to demand, such as setting the preset diameter threshold to 0.5mm and the preset length offset value to 0.2mm. In this embodiment, the tool type characterizes that the R angle of the target tool is 0, indicating that the tool type is a flat tool. At this time, if the diameter value in the geometric characteristic data of the target tool is greater than the preset diameter threshold, then at this time, the length offset parameter of the target tool is the first length offset value, that is, when the target tool meets the first offset condition, the length data in the tool measurement data needs to be corrected according to the first length offset value, and at this time, the obtained length offset parameter is more accurate.

[0036] In another embodiment, the geometric characteristic data also includes the R angle of the target tool; the R angle refers to the arc radius at the cutting edge of the target tool, and the specific value of the R angle will be determined according to the design and use requirements of the target tool to ensure the best cutting effect and workpiece quality.

[0037] Furthermore, if Figure 3 As shown, after the step S301, that is, after the tool type associated with the tool model is obtained, the following further includes: S305, when it is determined according to the geometric characteristic data and the tool type that the target tool satisfies the second offset condition, the length offset parameter of the target tool is determined to be 0; wherein the second offset condition includes: the tool type characterizes that the R angle of the target tool is greater than 0, and the R angle is equal to half of the diameter value, and the diameter value is less than the preset diameter threshold. In this embodiment, when the tool type characterizes that the R angle of the target tool is greater than 0, it means that the tool type is a ball tool or a round nose tool. At this time, if the R angle in the geometric characteristic data of the target tool is equal to half of the diameter value, and the diameter value is less than the preset diameter threshold (that is, if the R angle in the geometric characteristic data is less than half of the preset diameter threshold), then at this time, the length offset parameter of the target tool is 0, that is, when the target tool meets the above second offset condition, there is no need to correct the length data in the tool measurement data, and the tool data is already sufficiently accurate.

[0038] Furthermore, if Figure 3 As shown, after the step S301, that is, after the tool type associated with the tool model is obtained, the following further includes: S306, when it is determined according to the geometric characteristic data and the tool type that the target tool does not satisfy the first offset condition and the second offset condition, the length offset parameter of the target tool is determined as a second length offset value, and the second length offset value is equal to the first length offset value minus the R angle. In this embodiment, when the target tool satisfies neither the first offset condition nor the second offset condition, the length offset parameter of the target tool is the second length offset value. At this time, the length data in the tool measurement data needs to be corrected according to the second length offset value. At this time, the obtained length offset parameter is more accurate. It can be understood that the situation where neither the first offset condition nor the second offset condition is satisfied includes but is not limited to the following situations: The tool type indicates that the R angle of the target tool is 0, and the diameter value is less than or equal to the preset diameter threshold; The tool type indicates that the R angle of the target tool is greater than 0, and the R angle is not equal to half of the diameter value; the diameter value is less than the preset diameter threshold; The tool type indicates that the R angle of the target tool is greater than 0, and the R angle is equal to half of the diameter value, and the diameter value is greater than or equal to the preset diameter threshold; The tool type indicates that the R angle of the target tool is greater than 0, and the R angle is not equal to half of the diameter value, and the diameter value is greater than or equal to the preset diameter threshold.

[0039] In one embodiment, in the step S30, after determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, the step further includes: The actual tool image of the target tool is photographed by a preset shooting device, and the actual tool image is image recognized by a preset tool size recognition model to obtain the actual geometric characteristic data corresponding to the actual tool image. The actual tool image refers to the real-time tool image of the target tool photographed by the preset shooting device, and the actual tool image can indicate the current actual state of the target tool, such as size and wear. It can be understood that the actual tool image can be image recognized by the preset tool size recognition model to determine the current actual geometric characteristic data of the target tool. The preset tool size recognition model can be constructed based on a neural network model, etc. Specifically, the initial neural network model can be iteratively trained according to the tool image sample set, and after the iteration is completed, the initial neural network model after the iteration is determined as the preset tool size recognition model. The tool image sample set can include multiple tool image samples, and each tool image sample is associated with a sample geometric characteristic. The iterative process of the initial neural network refers to inputting the tool image sample into the initial neural network model, and then obtaining the predicted geometric characteristics of the output of the initial neural network model; then, matching the sample geometric characteristics with the predicted geometric characteristics, if the error between the two reaches the expected value, it is determined that the current iteration is completed and the preset tool size recognition model is obtained; if the expected value is not reached, the initial parameters of the initial network model are updated, and then the initial network model after the updated initial parameters is used to iterate again until the iteration is completed and the preset tool size recognition model is obtained.

[0040] When the actual geometric characteristic data is inconsistent with the tool geometric characteristic data, the size offset parameter of the target tool is updated according to the actual geometric characteristic data and the tool type. That is, in this embodiment, when the actual geometric characteristic data is inconsistent with the tool geometric characteristic data, it means that during the use of the target tool, its tool geometric characteristic data has changed. At this time, if the previous size offset parameter is continued to be used to correct the tool measurement data of the tool measurement operation, it may not be in line with the actual situation, which will cause the error of the corrected tool measurement data to be large. Therefore, at this time, it is necessary to update the size offset parameter of the target tool according to the actual geometric characteristic data at the current moment and the tool type, and then obtain the updated size offset parameter, and then correct the tool measurement data of the tool measurement operation according to the updated size offset parameter, so as to keep the corrected tool measurement data continuously accurate. Among them, the specific updating method of updating the size offset parameter of the target tool according to the actual geometric characteristic data and the tool type can be determined by referring to the process of determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type in the above step S30, which will not be repeated here. It can be understood that in the above-mentioned process of updating the size offset parameters, part or all of the preset data such as the first preset diameter offset value, the second preset diameter offset value, the preset length offset value or the preset diameter threshold value can be modified or not modified according to actual conditions, as long as the purpose of ensuring the accuracy of the size offset parameters can be achieved.

[0041] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0042] In one embodiment, a controller is provided. The controller may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The controller includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the controller is used to provide computing and control capabilities. The memory of the controller includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer-readable instructions and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. When the computer-readable instructions are executed by the processor, a method for determining a tool offset parameter is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0043] In one embodiment, a controller is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned tool offset parameter determination method when executing the computer-readable instructions. The controller corresponds one-to-one with the tool offset parameter determination method in the above-mentioned embodiment. For the specific definition of the controller, please refer to the definition of the tool offset parameter determination method in the above text, which will not be repeated here. Each module in the above-mentioned controller can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the controller in hardware form, or can be stored in the memory in the controller in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0044] The controller of the above embodiment of the present invention first determines the tool geometric characteristic data of the target tool according to the tool model, and then determines the size offset parameter according to the tool geometric characteristic data and the tool type. The size offset parameter can be used to automatically correct the tool measurement data with a certain deviation in the tool measurement operation, thereby improving the accuracy of the tool measurement data. In the present invention, since the size offset parameter is not only determined according to the geometric characteristic data corresponding to the tool model of the target tool, but also takes into account the tool type corresponding to the target tool, the size offset parameter corresponding to the target tool of different tool types and different tool models can be accurately determined, so that the size offset parameter is adapted to different tool types and tool models, and the accuracy of the tool measurement data corrected according to the size offset parameter is further improved, thereby improving the accuracy of the final corrected tool measurement data. And the tool offset parameter of the present invention can be determined by the controller itself, without manual participation in the tool measurement and correction process, accurate tool measurement data can be obtained, simplifying the measurement process, reducing labor, and improving processing efficiency.

[0045] The embodiment of the present invention further provides a processing device, including the controller. The specific definition of the controller in the processing device can be referred to the definition of the tool offset parameter determination method above, which will not be repeated here. Among them, the processing device can be any processing device that can use a tool, such as an indexed CNC machine tool, and is not limited here.

[0046] In the processing equipment of the above embodiment of the present invention, the controller first determines the tool geometric characteristic data of the target tool according to the tool model, and then determines the size offset parameter according to the tool geometric characteristic data and the tool type. The size offset parameter can be used to automatically correct the tool measurement data with a certain deviation in the tool measurement operation, thereby improving the accuracy of the tool measurement data. In the present invention, since the size offset parameter is not only determined according to the geometric characteristic data corresponding to the tool model of the target tool, but also takes into account the tool type corresponding to the target tool, the size offset parameter corresponding to the target tool of different tool types and different tool models can be accurately determined, so that the size offset parameter is adapted to different tool types and tool models, and the accuracy of the tool measurement data corrected according to the size offset parameter is further improved, thereby improving the accuracy of the final corrected tool measurement data. And the tool offset parameter of the present invention can be determined by the controller itself, without manual participation in the tool measurement and correction process, accurate tool measurement data can be obtained, simplifying the measurement process, reducing labor, and improving processing efficiency.

[0047] In one embodiment, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the steps of the above-mentioned tool offset parameter determination method are implemented.

[0048] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a readable storage medium, and the readable storage medium includes a non-volatile readable storage medium and a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0049] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units or modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units or modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0050] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for determining tool offset parameters, characterized in that: include: Get the tool model of the target tool; Acquire tool geometric characteristic data corresponding to the target tool from a preset tool database according to the tool model; The tool type is determined according to the tool model, and the size offset parameters of the target tool are determined according to the geometric characteristic data and the tool type, so as to correct the tool measurement data according to the size offset parameters; wherein the tool measurement data refers to the tool size obtained by performing a tool measurement operation on the target tool.

2. The method for determining tool offset parameters according to claim 1, characterized in that: The step of obtaining the tool model of the target tool includes: The identification data uniquely corresponding to the target tool is obtained, a model keyword is extracted from a field corresponding to the tool model in the identification data, and the tool model of the target tool is determined according to the model keyword.

3. The method for determining tool offset parameters according to claim 1, characterized in that: The size offset parameter includes a diameter offset parameter; The method of determining the type of tool according to the tool model, and determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, further includes: Obtaining the tool type associated with the tool model; When the R angle of the target tool represented by the tool type is 0, determining the diameter offset parameter of the target tool as a first preset diameter offset value; When the tool type characterizes that the R angle of the target tool is greater than 0, the R angle of the target tool is obtained from the tool geometric feature data, and the diameter offset parameter of the target tool is determined as the sum of a second preset diameter offset value and the R angle; wherein the second preset diameter offset value is smaller than the first preset diameter offset value.

4. The method for determining tool offset parameters according to claim 1, characterized in that: The size offset parameter includes a length offset parameter; the geometric characteristic data includes a diameter value of the target tool; The method of determining the type of tool according to the tool model, and determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, further includes: Obtaining the tool type associated with the tool model; When it is determined that the target tool meets the first offset condition based on the geometric characteristic data and the tool type, the length offset parameter of the target tool is determined as a first length offset value; the first length offset value is equal to half of the diameter value minus a preset length offset value; wherein the first offset condition includes: the tool type characterizes that the R angle of the target tool is 0, and the diameter value is greater than a preset diameter threshold.

5. The method for determining tool offset parameters according to claim 4, characterized in that: The geometric characteristic data also includes the R angle of the target tool; After obtaining the tool type associated with the tool model, the method further includes: When it is determined that the target tool satisfies the second offset condition based on the geometric characteristic data and the tool type, the length offset parameter of the target tool is determined to be 0; wherein the second offset condition includes: the tool type characterizes that the R angle of the target tool is greater than 0, and the R angle is equal to half of the diameter value, and the diameter value is less than the preset diameter threshold.

6. The method for determining tool offset parameters according to claim 5, characterized in that: After obtaining the tool type associated with the tool model, the method further includes: When it is determined according to the geometric characteristic data and the tool type that the target tool does not satisfy the first offset condition and the second offset condition, the length offset parameter of the target tool is determined as a second length offset value, and the second length offset value is equal to the first length offset value minus the R angle.

7. The method for determining tool offset parameters according to claim 1, characterized in that: After determining the size offset parameter of the target tool according to the geometric characteristic data and the tool type, the method further includes: photographing an actual tool image of the target tool by using a preset photographing device, and performing image recognition on the actual tool image by using a preset tool size recognition model to obtain actual geometric characteristic data corresponding to the actual tool image; When the actual geometric characteristic data is inconsistent with the tool geometric characteristic data, the size offset parameter of the target tool is updated according to the actual geometric characteristic data and the tool type.

8. A controller, characterized in that: The method comprises a memory, a processor and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the method for determining tool offset parameters according to any one of claims 1 to 7 is implemented.

9. A processing equipment, characterized in that: Comprising a controller as claimed in claim 8.

10. A computer-readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the method for determining tool offset parameters according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Numerical control machining control method adapted to type or dimensional change of cutting tool

    CN103116316A

  • Numerical control machine tool and cutter parameter verification method and system thereof

    CN108227624A

  • Numerical control machine tool cutter length compensation system and method

    CN109623485A

  • Numerical control machine tool process parameter self-adaptive regulation and control method considering cutter state

    CN116184960A

  • Tool management system, tool size measurement device, and terminal

    JP2021142613A