A machine tool tool data entry control system and method

By introducing visual measurement devices and tool remediation software CPS into the machine tool processing system, tool data is automatically collected and set, and the problems of low efficiency and manual errors in the existing technology are solved, and an efficient and accurate machine tool processing process is achieved.

CN119748183APending Publication Date: 2025-04-04JIANGYIN MASCH-BUILDING INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510261956.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, machine tool processing has low efficiency and manual input of tool parameters is prone to errors, resulting in waste of processing materials, and the manufacturing execution system MES cannot provide the function of automatic tool parameters setting.

Method used

A machine tool tool data entry control system is designed to collect tool data through visual measurement devices, and combine it with the MES system and the tool replenishment software CPS system to automatically calculate and set machine tool parameters to reduce manual errors.

Benefits of technology

Improves machine tool processing efficiency, reduces operator misoperation, reduces product waste rate, and provides accurate measurement prompts by estimating tool wear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119748183A_ABST
    Figure CN119748183A_ABST
Patent Text Reader

Abstract

The present invention provides a machine tool tool data entry control system and method, which uses tool compensation writing software CPS to connect an MES system, a visual measuring device, and a machine tool through a data interface, converts tool head data collected by the visual measuring device into tool compensation data for automatic setting of the machine tool, thereby reducing operator misoperation, reducing product scrap rate, and improving work efficiency. Tool wear is estimated by setting a tool measurement prompt unit in the CPS system, providing operators with more accurate measurement prompts, and improving machining efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a machine tool cutter data entry control system and method, and in particular to a machine tool cutter data entry control system and method for preventing misoperation. Background Art

[0002] In the prior art, the machining centers using the manufacturing execution system MES have the following problems in machine tool processing: First, the product orders usually received are multi-product, small batch, and multi-batch, which requires the specific processing machine tools to frequently replace the processing tools and frequently set the tool parameters, which is inefficient; second, when the machine tool processes mechanical parts, the tools used will wear as the number of processed parts increases, and the wear becomes greater and greater, which requires the tool parameters to be measured first, and then the machine tool tool compensation parameters are set according to the tool parameters and the parameters of the processed parts. At present, the input of tool compensation parameters is manual input, which is inefficient on the one hand, and easy to make mistakes on the other hand, resulting in waste of processing materials. Third, the current manufacturing execution system MES cannot provide the function of automatic setting of tool parameters. Therefore, it is urgent to provide a processing tool data entry system to help engineers automatically enter tool setting parameters. Summary of the invention

[0003] The object of the present invention is to provide a machine tool tool data entry control system, which includes a server, a machining center, a machine tool, an MES system, a visual measurement device, and a tool compensation writing software CPS system; there are multiple machining centers, each of which includes multiple machine tools; each machine tool is adapted to multiple tools, each of which has multiple tools, each tool includes a tool head and a tool handle, and the tool handle is provided with a fixed ID number.

[0004] Furthermore, the ID number is engraved on the tool handle; the ID number is also marked on the tool handle in the form of a QR code; the visual measurement device is connected to the MES system to collect the tool ID number, tool head diameter and tool length, and the collected ID number, tool head diameter and tool length data are bound and stored in the MES system database accordingly.

[0005] Furthermore, the MES system database stores the historical workpiece processing batch type, material, quantity, processing time, the machine tool address used for workpiece processing, the workpiece processing program, the tool model and tool number used, and the time to replace the tool head.

[0006] Furthermore, the machine tool cutter is used for manufacturing and processing a turbocharger housing.

[0007] The CPS system further includes a tool measurement prompt unit.

[0008] The present invention further provides a machine tool tool data entry control method, which is applied to the machine tool tool data entry control system, and is characterized in that: S0: The operator uses the visual measurement device to collect tool data, including tool ID number, tool head diameter and tool length data, and binds the collected ID number, tool head diameter and tool length data and stores them in the MES system database accordingly; S1: The MES system sends the manufacturing tasks to the corresponding number of machine tools in the machining center based on the historical processing data of the workpiece to be processed, time requirements, and the number of idle machine tools; S2: The operator selects a corresponding tool according to the manufacturing task assigned by the machine tool and installs it on the machine tool, and selects a corresponding processing program according to the prompt of the machine tool; S3: The operator assigns a value to a macro variable address through the NC program, wherein the macro variable represents the machine tool address, and its value is the tool number. The tool is bound to the machine tool by assigning a value to the macro variable address; S4: The CPS system monitors the macro variable address through the machine tool data interface. When the macro variable address is assigned, the CPS system requests the latest tool data from the MES system according to the corresponding tool number; S5: The MES system retrieves the tool data and machining program according to the tool number, and calculates the machine tool tool compensation data according to the tool data and machining program; then the tool data and tool compensation data are transmitted to the CPS system through the data interface. The CPS system converts the tool and tool compensation data into a data format that the machine tool can recognize, transmits it to the machine tool display interface through the data interface for display, and prompts the operator to confirm the update. After the operator confirms the update of the tool compensation data on the MES system, the MES system sends the update trigger information to the CPS system through WebAPI or WebService; S6: The CPS system writes the tool compensation data into the machine tool program and records the tool compensation data obtained from the MES system and the tool compensation data written into the machine tool each time; S7: After the tool compensation data is written, the CPS system feeds back the writing result to the MES system.

[0009] Further, in S5: after the MES system retrieves the tool data and processing program according to the tool number, it also includes step S5-1: sending the tool data to the tool measurement prompt unit of the CPS system, the tool measurement prompt unit obtains the type, material, quantity and tool head replacement time of the workpiece processed by the tool from the MES system database, calculates the amount of workpieces processed by the current tool head, and calculates the estimated tool head wear according to the type, material, quantity and time of the workpiece processed by the tool head, and the calculation formula is: Where H represents the degree of wear, A represents the type of workpiece processed by the tool head, and X represents the number of workpieces A processed; T A represents the effective process time for machining workpiece A; F represents the tool head type, ρ F Indicates the wear coefficient of F type cutter head; β A Indicates the hardness factor compensation coefficient of the workpiece material A, which is related to the hardness of the processed material; S5-2: CPS system tool measurement prompt unit determines the tool head wear degree H F Whether it is greater than the threshold; when it is not greater than the threshold, the MES system is notified to proceed to the subsequent steps, and the MES system calculates the machine tool tool compensation data according to the tool data and the processing program; when it is greater than the threshold, the MES system is notified to terminate the subsequent steps, and at the same time, the machine tool is notified through the data interface to display a prompt on the machine tool display interface that the tool head needs to be measured. The operator refers to the prompt information to decide whether to measure the tool head.

[0010] Furthermore, the ID is also marked on the tool handle in the form of a QR code; step S3 is replaced by: the operator selects the NC program data input interface, and scans the QR code label on the tool through a barcode scanner; the tool number data obtained by scanning the code is highlighted in color on the machine tool data input box display interface; the operator confirms whether the tool number is correct; after confirmation, the obtained tool number is assigned to the macro variable address, completing the binding of the macro variable address and the tool.

[0011] In the further step S5, the MES system calculates the machine tool tool compensation data further including: after calculating the machine tool tool compensation data, the system determines whether the tool compensation data exceeds the threshold range. If it exceeds the threshold range, the system reports an error and cannot be written; if it does not exceed the threshold range, the tool data and tool compensation data are transmitted to the CPS system through the data interface and displayed on the machine tool display interface, and the operator is prompted to confirm the update.

[0012] After further tool compensation data is written in step S7, the CPS system accesses the machine tool again through the data interface to verify the tool compensation data after writing the NC program to ensure that it is the same as the tool compensation data obtained from the MES system, thereby ensuring that the tool compensation data has been updated.

[0013] Beneficial effects: The present invention provides a machine tool tool data entry control system and method, which uses the tool compensation writing software CPS to connect the MES system, the visual measuring device, and the machine tool through a data interface, and converts the tool head data collected by the visual measuring device into tool compensation data for automatic setting of the machine tool, thereby reducing operator misoperation, while reducing product scrap rate and improving work efficiency. By setting a tool measurement prompt unit in the CPS system to estimate tool wear, more accurate measurement prompts are provided to the operator, thereby improving machining efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 Enter tool data into the control system schematic for machine tools; Figure 2 This is the structure diagram of the machine tool processing tool. DETAILED DESCRIPTION

[0015] Embodiment 1: The present invention provides a machine tool tool data entry control system, the system comprising a server, a machining center, a machine tool, an MES system, a visual measurement device, and a tool compensation writing software (CPS) system; the machining centers are multiple, each of which comprises multiple machine tools; each machine tool is adapted to multiple tools, each of which has multiple tools, each tool comprises a tool head and a tool handle, and the tool handle is provided with a fixed ID number; The server is installed with an MES system and a CPS system; The ID number is engraved on the knife handle; further, the ID number is also marked on the knife handle in the form of a QR code.

[0016] The visual measuring device is connected to the MES system, and is used to collect the tool ID number, tool head diameter and tool length, and bind the collected ID number, tool head diameter and tool length data and store them in the MES system database accordingly; specifically: when the visual measuring device transmits the measured tool ID number, tool head diameter and tool length data to the MES system, the MES system retrieves the tool data of the corresponding ID in the database, and records the tool head diameter and tool length detected this time, and the detection time in the corresponding position of the database; The MES system database stores the historical processing batch type, material, quantity, processing time of the workpiece, the address of the machine tool used for the workpiece processing, the workpiece processing program, the tool model and tool number used, and the time of changing the tool head; The purpose of storing the above data in the MES system is to manage the allocation of workpiece manufacturing tasks, monitor and trace the quality of workpieces, and set tool parameters.

[0017] The method for judging the time to replace the tool head is as follows: when the visual measurement device transmits the measured tool ID number, tool head diameter and tool length to the MES system, the MES system retrieves the tool data of the corresponding ID in the database, and compares the most recent tool length measurement data stored in the database with the current measurement data. If the current tool length measurement data is greater than the most recent tool length measurement data, a tool head replacement and replacement time are recorded in the database. After that, the tool head diameter and tool length measured this time, as well as the measurement time, are recorded in the database. Under normal circumstances, the length of the tool becomes shorter due to continuous wear as the number of workpieces being processed increases. If the detected length data becomes longer, it means that the operator has replaced the tool head.

[0018] Furthermore, the machine tool cutter is used for manufacturing and processing a turbocharger housing.

[0019] Embodiment 2: The present invention further provides a machine tool tool data entry control method, which is applied to the entry control system provided in Embodiment 1. The machine tool data entry control method is: S0: The operator uses the visual measurement device to collect tool data, including tool ID number, tool head diameter and tool length data, and binds the collected ID number, tool head diameter and tool length data and stores them in the MES system database accordingly; S1: The MES system sends the manufacturing tasks to the corresponding number of machine tools in the machining center based on the historical processing data of the workpiece to be processed, time requirements, and the number of idle machine tools; Specifically, the manager inputs the name and number of the workpiece to be processed into the system, and the system automatically queries the historical processing data, finds out the number and address of the machine tool that has processed the workpiece, and then determines whether the machine tool that has processed the workpiece is currently idle; if it is idle, the processing task is assigned to the corresponding number of machine tools based on the task volume; otherwise, the processing task is assigned to other idle machine tools.

[0020] S2: The operator selects a corresponding tool according to the manufacturing task assigned by the machine tool and installs it on the machine tool, and selects a corresponding processing program according to the prompt of the machine tool; S3: The operator assigns values ​​to the macro variable addresses through the NC program, such as #521=F124, #522=F125, #523=F126; the macro variable (e.g. #521) represents the machine tool address, and its value is the tool number (e.g. F124). By assigning values ​​to the macro variable addresses, the tool is bound to the machine tool. S4: The CPS system monitors the macro variable address through the machine tool data interface. When the macro variable address is assigned, the CPS system requests the latest tool data from the MES system according to the corresponding tool number; S5: The MES system retrieves the tool data and machining program according to the tool number, and calculates the machine tool tool compensation data according to the tool data and machining program; then the tool data and tool compensation data are transmitted to the CPS system through the data interface. The CPS system converts the tool and tool compensation data into a data format that the machine tool can recognize, transmits it to the machine tool display interface through the data interface for display, and prompts the operator to confirm the update. After the operator confirms the update of the tool compensation data on the MES system (a laptop terminal is placed next to the machine tool, and the operator uses the laptop terminal to log in to the MES system), the MES system sends the update trigger information to the CPS system through WebAPI or WebService; S6: The CPS system writes the tool compensation data into the machine tool program and records the tool compensation data obtained from the MES system and the tool compensation data written into the machine tool each time; S7: After the tool compensation data is written, the CPS system feeds back the writing result to the MES system.

[0021] Embodiment 3: Based on Embodiment 2, step S3 is replaced by: the operator selects the NC program data input interface, and scans the QR code label on the tool with a barcode scanner; the tool number data obtained by scanning the code is highlighted in color on the machine tool data input box display interface; the operator confirms whether the tool number is correct; after confirmation, the obtained tool number data is assigned to the macro variable address, thereby completing the binding of the macro variable address and the tool.

[0022] Embodiment 4: Based on Embodiment 2, the MES system in step S5 calculates the machine tool tool compensation data further including: after calculating the machine tool tool compensation data, the system determines whether the tool compensation data exceeds the threshold range. If it exceeds the threshold range, the system reports an error and cannot be written; if it does not exceed the threshold range, the tool data and tool compensation data are transmitted to the CPS system, and the CPS system then transmits the tool data and tool compensation data to the machine tool display interface through the data interface for display, and prompts the operator to confirm the update.

[0023] Embodiment 5: Based on Embodiment 2, after further tool compensation data writing is completed in step S7, the CPS system accesses the machine tool through the data interface again to verify the tool compensation data after writing the NC program to ensure that it is the same as the tool compensation data obtained from the MES system, thereby ensuring that the tool compensation data has been updated.

[0024] The purpose of this step is to solve the practical problem of stable writing of tool compensation data by reconfirming through the CPS system during the actual operation process.

[0025] Embodiment 6: Based on the embodiment 1, the CPS system further includes a tool measurement prompt unit.

[0026] In the prior art, generally when the workpiece processed by the tool deviates, or it is roughly estimated that the tool has been worn after processing a certain amount of workpieces (because the same tool will process different products, the hardness of the material used is also different, and the operator of the same machine tool will also change, so the error of human estimation is large), or the tool is measured before each processing. The above situations will either lead to unqualified products due to untimely measurement, increase product costs, or reduce work efficiency due to frequent measurements. The present invention estimates whether the tool needs to be measured by setting a tool measurement prompt module, and then prompts the operator to avoid inaccurate human estimation and the problem of low work efficiency due to measurement every time it is used.

[0027] On the basis of the second embodiment, in said S5: after the MES system retrieves the tool data and the processing program according to the tool number, it also includes step S5-1: sending the tool data to the tool measurement prompt unit of the CPS system, the tool measurement prompt unit obtains the type, material, quantity and tool head replacement time of the workpiece processed by the tool from the MES system database, calculates the amount of workpieces processed by the current tool head, and calculates the estimated tool head wear according to the type, material, quantity and duration of the workpiece processed by the tool head, and the calculation formula is: Where H represents the degree of wear, A represents the type of workpiece processed by the tool head A = A1, A2, A3, X represents the number of workpieces A processed; T A represents the effective process time for machining workpiece A, that is, the time for the tool head to cut the workpiece material, excluding the tool moving time; F represents the tool head type, ρ F represents the wear coefficient of F type cutter head; where ρ F The acquisition of can be obtained through experiments and is a constant, that is, it is obtained by statistically calculating the continuous processing time of the same material and the wear of the tool head. For example, using the F tool head to continuously process the workpiece of material A, T A seconds, and the wear degree of the cutter head is measured as H A , using the cutter head wear H A Divide by T A The wear coefficient ρ of the F-type tool head is obtained by the processing time in seconds F β A Indicates the hardness factor compensation coefficient of the workpiece material A. It is related to the hardness of the material being processed and is a constant obtained through experimental measurement and calculation. For example, if the β of ordinary steel A material is set to 1, when A1 material is aluminum alloy, the F cutter head is used to continuously process A1 material workpiece T A seconds, and the wear degree of the cutter head is measured as H A1 , using the cutter head wear H A1 Divide by T A1, Divide by ρ F That is, βA1, That is, the β A1 =H A1 ÷T A1 ÷ρ F .

[0028] For example: Wear coefficient ρ of F type cutter head F =0.0000023mm / s Serial number Workpiece type (A) <![CDATA[Hardness factor compensation coefficient (β A )]]> Processing quantity (X) Processing time (T) 1 A1: Aluminum alloy 5052 type (140HB) 3.06 400 103S 2 A2: Aluminum alloy 5754 type (80HB) 1 300 83S 3 A3: 40Cr steel (320HB) 16.5 100 124S The wear degree of the tool head of the F type tool head when processing 400 A1 type workpieces, 300 A2 type workpieces, and 100 A3 type workpieces is: H F =400*3.06*103*0.0000023+300*1*83*0.0000023+100*16.5*124*0.0000023=0.8178mm, that is, the estimated wear of the cutter head is 0.8178mm. It should be noted that ρ in the present invention F =0.0000023mm / s is only used for example and is not used to define ρ F The value is actually F The value will vary depending on the cutter head type.

[0029] S5-2: CPS system tool measurement prompt unit determines the tool head wear degree H F Whether it is greater than the threshold; when it is not greater than the threshold, the MES system is notified to proceed to the subsequent steps, and the MES system calculates the machine tool tool compensation data according to the tool data and the processing program; when it is greater than the threshold, the MES system is notified to terminate the subsequent steps, and at the same time, the machine tool is notified through the data interface to display a prompt on the machine tool display interface that the tool head needs to be measured. The operator refers to the prompt information to decide whether to measure the tool head.

[0030] The tool measurement prompt unit is a functional module of the CPS software system, which is used to predict the degree of tool head wear and prompt the operator to measure the tool.

[0031] Further, the tool data includes the type A and quantity X of workpieces processed by the tool after the most recent measurement; Further T A Estimated or obtained based on the machining procedure of type A workpiece.

[0032] The above embodiments illustrate the present invention rather than limit the present invention, and those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. Those skilled in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention.

Claims

1. A machine tool tool data entry control system, characterized in that: The system includes a server, a machining center, a machine tool, an MES system, a visual measurement device, and a tool compensation writing software CPS system; there are multiple machining centers, each of which includes multiple machine tools; each machine tool is suitable for multiple cutting tools, each type of cutting tool has multiple, each cutting tool includes a cutting head and a tool handle, and the tool handle is provided with a fixed ID number.

2. The machine tool tool data entry control system according to claim 1, characterized in that: The ID number is engraved on the tool handle; the ID number is also marked on the tool handle in the form of a QR code; the visual measurement device is connected to the MES system to collect the tool ID number, tool head diameter and tool length, and the collected ID number, tool head diameter and tool length data are bound and stored in the MES system database accordingly.

3. The machine tool tool data entry control system according to claim 2, characterized in that: The MES system database stores the historical processing batch type, material, quantity, processing time of the workpiece, the address of the machine tool used for workpiece processing, the workpiece processing program, the tool model and tool number used, and the time of tool head replacement.

4. The machine tool tool data entry control system according to claim 3, characterized in that: The machine tool cutter is used for manufacturing and processing a turbocharger housing.

5. The machine tool tool data entry control system according to claim 3, characterized in that: The CPS system further comprises a tool measurement prompting unit.

6. A machine tool tool data entry control method, applied to the machine tool tool data entry control system as claimed in any one of claims 1 to 5, characterized in that: S0: The operator uses the visual measurement device to collect tool data, including tool ID number, tool head diameter and tool length data, and binds the collected ID number, tool head diameter and tool length data and stores them in the MES system database accordingly; S1: The MES system sends the manufacturing tasks to the corresponding number of machine tools in the machining center based on the historical processing data of the workpiece to be processed, time requirements, and the number of idle machine tools; S2: The operator selects a corresponding tool according to the manufacturing task assigned by the machine tool and installs it on the machine tool, and selects a corresponding processing program according to the prompt of the machine tool; S3: The operator assigns a value to a macro variable address through the NC program, wherein the macro variable represents the machine tool address, and its value is the tool number. The tool is bound to the machine tool by assigning a value to the macro variable address; S4: The CPS system monitors the macro variable address through the machine tool data interface. When the macro variable address is assigned, the CPS system requests the latest tool data from the MES system according to the corresponding tool number; S5: The MES system retrieves the tool data and machining program according to the tool number, and calculates the machine tool tool compensation data according to the tool data and machining program; then the tool data and tool compensation data are transmitted to the CPS system through the data interface. The CPS system converts the tool and tool compensation data into a data format that the machine tool can recognize, transmits it to the machine tool display interface through the data interface for display, and prompts the operator to confirm the update. After the operator confirms the update of the tool compensation data on the MES system, the MES system sends the update trigger information to the CPS system through WebAPI or WebService; S6: The CPS system writes the tool compensation data into the machine tool program and records the tool compensation data obtained from the MES system and the tool compensation data written into the machine tool each time; S7: After the tool compensation data is written, the CPS system feeds back the writing result to the MES system.

7. A machine tool tool data entry control method according to claim 6, characterized in that: In the above S5: after the MES system retrieves the tool data and the processing program according to the tool number, it also includes step S5-1: sending the tool data to the tool measurement prompt unit of the CPS system, the tool measurement prompt unit obtains the type, material, quantity and tool head replacement time of the workpiece processed by the tool from the MES system database, calculates the amount of workpieces processed by the current tool head, and calculates the estimated tool head wear according to the type, material, quantity and time of the workpiece processed by the tool head, and the calculation formula is: Where H represents the degree of wear, A represents the type of workpiece processed by the tool head, and X represents the number of workpieces A processed; T A represents the effective process time for machining workpiece A; F represents the tool head type, ρ F Indicates the wear coefficient of F type cutter head; β A Indicates the hardness factor compensation coefficient of the workpiece material A, which is related to the hardness of the processed material; S5-2: CPS system tool measurement prompt unit determines the tool head wear degree H F Whether it is greater than the threshold; when it is not greater than the threshold, the MES system is notified to proceed to the subsequent steps, and the MES system calculates the machine tool tool compensation data according to the tool data and the processing program; when it is greater than the threshold, the MES system is notified to terminate the subsequent steps, and at the same time, the machine tool is notified through the data interface to display a prompt on the machine tool display interface that the tool head needs to be measured. The operator refers to the prompt information to decide whether to measure the tool head.

8. A machine tool tool data entry control method according to claim 7, characterized in that: The ID is also marked on the tool handle in the form of a QR code; step S3 is replaced by: the operator selects the NC program data input interface and scans the QR code label on the tool with a barcode scanner; the tool number data obtained by scanning the code is highlighted in color on the machine tool data input box display interface; the operator confirms whether the tool number is correct; after confirmation, the obtained tool number is assigned to the macro variable address to complete the binding of the macro variable address and the tool.

9. A machine tool tool data entry control method according to claim 8, characterized in that: The MES system in step S5 calculates the machine tool tool compensation data further including: after calculating the machine tool tool compensation data, the system determines whether the tool compensation data exceeds the threshold range. If it exceeds the threshold range, the system reports an error and cannot be written; if it does not exceed the threshold range, the tool data and tool compensation data are transmitted to the CPS system through the data interface and displayed on the machine tool display interface, and the operator is prompted to confirm the update.

10. A machine tool tool data entry control method according to claim 9, characterized in that: After further tool compensation data writing is completed in step S7, the CPS system accesses the machine tool again through the data interface to verify the tool compensation data after writing the NC program to ensure that it is the same as the tool compensation data obtained from the MES system, thereby ensuring that the tool compensation data has been updated.

Citation Information

Patent Citations

  • RFID (Radio Frequency Identification Device) technology-based dynamic tool management method of Siemens 840D numerical control system

    CN103076764A

  • Server of a Computer Network

    CN107463594A

  • Automatic cutter tool online inspecting method and inspecting system

    CN109877649A

  • Numerical control machine tool magazine tool information storage and calling method

    CN111015321A

  • Tool management method, system and equipment based on intelligent machining station and storage medium

    CN113110296A