Cutter scheduling method, cutter scheduling system, control device and program product

By obtaining the processing task order and calculating the target number to schedule tools, the problem of rising vacancy rate of CNC machine tools caused by relying on manual scheduling of traditional tool production is solved, and more efficient production management is achieved.

CN119904061APending Publication Date: 2025-04-29深圳模德宝科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411993453.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

Traditional tool production scheduling relies on manual scheduling, which leads to an increase in the vacancy rate of CNC machine tools and affects production efficiency.

Method used

By obtaining the machining task list, determine whether the number of tools in the CNC machine tool meets the needs. If it is not met, calculate the target number and schedule the tool to the corresponding CNC machine tool according to the target number.

Benefits of technology

Improve production efficiency, reduce the vacancy time of the machine, and realize automated and efficient production management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119904061A_ABST
    Figure CN119904061A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of numerical control, and discloses a tool production scheduling method, a tool production scheduling system, a control device and a program product.The method comprises the steps that a machining task list is obtained, and the machining task list comprises the number of tools needed for machining a to-be-machined workpiece; determining whether the number of the cutters in the numerical control machine tool meets the number of the required cutters or not; if not, determining a target number of tools required by the numerical control machine tool based on the number of the tools in the numerical control machine tool and the number of the required tools; and according to the target number of the cutters required by the different numerical control machine tools, the cutters are scheduled to the corresponding numerical control machine tools. According to the embodiment of the invention, the numerical control machine tool with the highest priority is determined according to the actual demand of each numerical control machine tool, and the cutter is scheduled to the numerical control machine tool with the highest priority, so that the overall production efficiency is improved, the vacancy time of the machine is reduced, and automatic and efficient production management is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of numerical control technology, and in particular to a tool production scheduling method, a tool production scheduling system, a control device and a program product. Background Art

[0002] CNC machining is a method of processing parts using digital information to control machine tools. It uses computers to control the movement and auxiliary actions of machine tools to accurately complete the processing of parts of various complex shapes.

[0003] However, in CNC machining in domestic factories, the tool scheduling and management of CNC machine tools mainly rely on experienced employees to manually record or enter data into the EXCEL / ERP system. This method often relies on experienced employees in the selection and scheduling of tools, resulting in an increase in the vacancy rate of CNC machine tools, thereby affecting the factory's production efficiency. Summary of the invention

[0004] Based on this, an embodiment of the present invention provides a tool scheduling method, a tool scheduling system, a control device and a program product to solve the problem that traditional tool scheduling relies on manual scheduling, resulting in an increase in the vacancy rate of CNC machine tools and affecting production efficiency.

[0005] In a first aspect, a tool production scheduling method is provided, comprising: Obtaining a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; Determining whether the number of tools in the CNC machine tool meets the required number of tools; If not, determining the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; According to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools.

[0006] In one embodiment, dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools includes: Determining whether the target number of tools required for different CNC machine tools is the same; If they are the same, the machining time of the tools required by the different CNC machine tools is obtained, and based on the machining time of the required tools, the tools are dispatched to the corresponding CNC machine tools; If they are not the same, a minimum target quantity is determined from the target quantities of tools required by different CNC machine tools, and the tools are dispatched to the CNC machine tools corresponding to the minimum target quantity.

[0007] In one embodiment, scheduling the tool to the corresponding CNC machine tool based on the required processing time of the tool includes: Determining whether the processing time required for the tools of different CNC machine tools is the same; If they are the same, the minimum distance is determined according to the distance between the different CNC machine tools and the required tool, and the tool is dispatched to the CNC machine tool corresponding to the minimum distance; If they are not the same, the minimum processing time is determined from the processing times of the tools required by different CNC machine tools, and the tool is dispatched to the CNC machine tool corresponding to the minimum processing time.

[0008] In one embodiment, dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools includes: Obtaining the processing time of each tool in the CNC machine tool; Determining whether the processing time of each tool meets the processing time of the tool corresponding to the workpiece to be processed; If not, determining the tool change quantity of the unsatisfied tool according to the processing time of each tool and the processing time of the corresponding tool; According to the tool change quantity of different CNC machine tools and the target quantity of required tools, the tools are dispatched to the corresponding CNC machine tools.

[0009] In one embodiment, after dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools, the method includes: Real-time detection of tool time of each tool in the CNC machine tool; When the tool time length is longer than a preset time length, an early warning is issued to the tool whose tool time length is longer than the preset time length.

[0010] In one embodiment, the processing task list also includes the total processing time, customer delivery time and total number of the workpiece to be processed, and the method further includes: Obtaining the remaining maintenance time of the CNC machine tool corresponding to the workpiece to be processed; Calculate the adaptability of the CNC machine tool for processing the workpiece to be processed based on the total processing time, the customer delivery time, the total number and the remaining maintenance and repair time; According to the adaptability of different CNC machine tools for processing the workpiece to be processed, the tool is dispatched to the corresponding CNC machine tool.

[0011] In one embodiment, the fitness of the CNC machine tool for processing the workpiece to be processed is calculated by the following formula: ; ; in, is the fitness of CNC machine tool i for processing workpiece i, is the total processing time of workpiece i to be processed, is the customer delivery time for workpiece i to be processed, The remaining time for maintenance and repair of CNC machine tool i, is the weight of the absolute value of the total processing time of workpiece i and the customer delivery time, is the weight of the ratio of customer delivery time to total processing time of workpiece i to be processed, is the weight of the remaining maintenance time of CNC machine tool i, is the weight of the total processing time of workpiece i to be processed, Is a positive number.

[0012] In a second aspect, a tool production scheduling control system is provided, the tool production scheduling control system comprising a control device, a CNC machine tool and a scheduling device; The control device is used to obtain a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; determine whether the number of tools in the CNC machine tool meets the number of tools required; if not, determine the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; The control device is also used to control the scheduling device to schedule the tools to the corresponding CNC machine tools according to the target number of tools required by different CNC machine tools.

[0013] In a third aspect, a control device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the tool scheduling method according to the above claim when executing the computer program.

[0014] In a fourth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the tool scheduling method described in any one of the above claims.

[0015] In one solution implemented by the above-mentioned tool scheduling method, tool scheduling system, control device and program product, a processing task list is obtained, and the processing task list includes the number of tools required for processing the workpiece to be processed; it is determined whether the number of tools in the CNC machine tool meets the number of required tools; if not, based on the number of tools in the CNC machine tool and the number of required tools, the target number of tools required for the CNC machine tool is determined; according to the target number of tools required for different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools. In this embodiment, according to the actual needs of each CNC machine tool, the CNC machine tool with the highest priority is determined, and the tools are dispatched to the CNC machine tool with the highest priority, so as to improve the overall production efficiency, reduce the idle time of the machine, and realize automated and efficient production management. 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 labor.

[0017] Figure 1 is a schematic diagram of a tool scheduling system in one embodiment of the present invention; Figure 2 is a flow chart of a tool production scheduling method in one embodiment of the present invention; Figure 3 is another flow chart of a tool scheduling method in one embodiment of the present invention; Figure 4 is another flow chart of a tool scheduling method in one embodiment of the present invention; Figure 5 is another flow chart of a tool scheduling method in one embodiment of the present invention; Figure 6 is another flow chart of a tool scheduling method in one embodiment of the present invention; Figure 7 is another flow chart of a tool scheduling method in one embodiment of the present invention; Figure 8 is another flow chart of a tool scheduling method in one embodiment of the present invention; Fig. 9 is a schematic diagram of a control device 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] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0020] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0021] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0022] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0023] In the description of the present invention, it should be understood that the terms "longitudinal", "radial", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0024] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the disclosure belongs. It will be further understood that the terms used herein should be interpreted as having a meaning consistent with their meaning in the context of this specification and the relevant technology, and will not be interpreted in an idealized or overly formal sense unless explicitly defined as such herein.

[0025] In order to fully understand the present invention, detailed structures and steps will be presented in the following description to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below, but in addition to these detailed descriptions, the present invention may also have other implementations.

[0026] The tool production scheduling method provided by the embodiment of the present invention can be applied as follows: Figure 1 In the tool production scheduling system shown in FIG. 1 , the tool production scheduling system includes: Figure 1 The control device 100, the CNC machine tool 200 and the scheduling device 300 are shown. The control device 100 includes but is not limited to various personal computers, laptops, smart phones, tablet computers or host computers. The scheduling device 300 includes but is not limited to various robots or manipulators. A tool scheduling method provided by the present invention will be described in detail as an example embodiment.

[0027] First, as Figure 2 As shown in FIG. 1 , it is a flow chart of a method for scheduling tool production disclosed in an embodiment of the present invention. The method is applied to Figure 1 The control device shown in the figure is used as an example for explanation, and the steps are as follows: S10, obtaining a processing task list, wherein the processing task list includes but is not limited to the number of tools required to process the workpiece to be processed, the total processing time of the workpiece to be processed, the customer delivery time and the total number, etc.

[0028] As an example, after the control device receives the processing instruction, it can obtain the processing technology for processing the workpiece to be processed by parsing the processing task list, and further determine all the processes required to complete the processing of the workpiece according to the processing technology, as well as the number and type of tools required for each process. Then, the number of tools required for all processes is summarized to obtain the number of tools required for processing the workpiece to be processed, that is, the total number of tools required, which provides a basis for subsequent tool scheduling. After determining the number of tools required for processing the workpiece to be processed, further, such as Figure 3 As shown, steps S10A-S10B are performed: S10A, obtaining the tool loading quantity of the CNC machine tool, where the tool loading quantity is the total number of tools that can be installed on the CNC machine tool; S10B, determining the corresponding CNC machine tool according to the number of tool loading and the number of required tools.

[0029] In this embodiment, obtaining the number of tools loaded on a CNC machine tool refers to obtaining the number of tools loaded on each CNC machine tool in the factory, that is, the total number of tools that can be installed on each CNC machine tool. In the tool scheduling process, the number of tools loaded on a CNC machine tool directly determines the range and complexity of processing tasks that a single CNC machine tool can handle. As an example, the number of tools loaded on each CNC machine tool is pre-set at the time of leaving the factory. Commonly, the number of tools that can be installed on a CNC machine tool includes 10 and 12, which is not limited by the present invention.

[0030] Next, based on the acquired tool loading quantity of each CNC machine tool and the determined number of tools required for the workpiece to be processed, the CNC machine tool that is most suitable for performing the processing task is determined to achieve efficient use of tools and optimal allocation of processing tasks.

[0031] Specifically, when the number of required tools is small, the tool scheduling system will give priority to CNC machine tools with a small number of tool loadings to balance the workload and tool utilization efficiency among the CNC machine tools. When the number of required tools is large, CNC machine tools with a large number of tool loadings and stronger processing capabilities will be selected to ensure the smooth completion of the processing tasks, thereby optimizing the overall production process. For example, CNC machine tool A can be installed with 10 tools, and CNC machine tool B can be installed with 12 tools. As an example, when the number of required tools is less than or equal to 10, the tool loading of CNC machine tool A can be given priority, and when the number of required tools is greater than or equal to 11, the tool loading of CNC machine tool B can be given priority. Here, it is only used as an example and does not constitute a limitation of the present invention.

[0032] S20, determining whether the number of tools in the CNC machine tool meets the required number of tools.

[0033] In this embodiment, after the corresponding CNC machine tool is determined, the precise number, type and status information of the current tools in the current CNC machine tool are obtained in real time through sensors, RFID tags or other automatic identification technologies integrated in the CNC machine tool, so as to determine whether the number of tools in the current CNC machine tool meets the requirements for processing the workpiece. It should be noted that the number of tools in the CNC machine tool here includes the number of tools installed in the CNC machine tool and the number of tools stored in the tool library of the CNC machine tool.

[0034] As an example, determining whether the number of tools in the CNC machine tool meets the number of required tools includes comparing the number of tools in the current CNC machine tool with the number of tools required to process the workpiece to be processed. If the number of tools in the CNC machine tool meets or exceeds the requirements of the processing task, the tool magazine scheduling system will continue to execute the subsequent scheduling process; otherwise, if it does not meet the requirements, it will continue to execute step S30. Through this step, production interruptions and delays caused by tool shortages can be effectively avoided, production efficiency and response speed can be improved, and market competitiveness can be enhanced.

[0035] S30: If not satisfied, then based on the number of tools in the CNC machine tool and the number of tools required, determine the target number of tools required for the CNC machine tool.

[0036] In this embodiment, after determining that the current number of tools in the CNC machine tool cannot meet the number of tools required for processing the workpiece to be processed, the tool scheduling system will calculate the target number of tools required for the CNC machine tool based on the difference between the number of tools in the current CNC machine tool and the number of tools actually required to process the workpiece to be processed. For example, if the current number of tools in the CNC machine tool is 5 and the number of tools required is 10, then the target number of tools required for the CNC machine tool is 5.

[0037] As an example, the tool scheduling system will compile a detailed list of all available tools in the CNC machine tool, including information such as the type, specification, and quantity of each tool. Then, this list is compared and analyzed with the list of tools required for the processing task to clarify which types of tools are insufficient and the specific quantity of insufficient tools. Next, based on the results of the comparative analysis, the target number of tools required for the CNC machine tool is calculated. By accurately calculating the target number, it provides strong support for subsequent tool procurement and scheduling, improving production efficiency and product quality.

[0038] S40, dispatching the tools to corresponding CNC machine tools according to the target number of tools required by different CNC machine tools.

[0039] In this embodiment, the tool scheduling system will determine the CNC machine tool with the highest priority based on the target number of tools required for each CNC machine tool calculated in step S30, and prioritize the scheduling of tools to the CNC machine tool with the highest priority. As an example, the tool can be scheduled to the CNC machine tool with the highest priority through a scheduling device to meet the processing needs of the CNC machine tool as soon as possible and process the workpiece to be processed.

[0040] In summary, in one scheme of the tool scheduling method, tool scheduling system, control device and program product provided by an embodiment of the present invention, a processing task list is obtained, and the processing task list includes the number of tools required for processing the workpiece to be processed; it is determined whether the number of tools in the CNC machine tool meets the number of required tools; if not, based on the number of tools in the CNC machine tool and the number of required tools, the target number of tools required for the CNC machine tool is determined; according to the target number of tools required for different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools. In this embodiment, according to the actual needs of each CNC machine tool, the CNC machine tool with the highest priority is determined, and the tools are dispatched to the CNC machine tool with the highest priority, so as to improve the overall production efficiency, reduce the idle time of the machine, and realize automated and efficient production management.

[0041] For ease of understanding, the specific implementation process of steps S10-S40 will be explained below with a complete example, but it does not constitute a limitation of the present invention. The detailed description is as follows: For example, there are three CNC machine tools A, B, and C in the factory, among which CNC machine tool A needs to process workpiece X, CNC machine tool B needs to process workpiece Y, and CNC machine tool C needs to process workpiece Z. By analyzing the processing task list, the tool scheduling system determines that workpiece X requires 4 milling cutters and 3 drills, workpiece Y requires 5 milling cutters and 2 turning tools, and workpiece Z requires 5 drills and 3 turning tools. Next, the tool scheduling system checks the current tool configuration of each CNC machine tool. For example, CNC machine tool A is currently equipped with 3 milling cutters and 2 drills, CNC machine tool B is equipped with 2 milling cutters and 1 turning tool, and CNC machine tool C is equipped with 2 milling cutters and 1 turning tool. By comparing with the workpiece requirements, the tool scheduling system calculates the target number of tools required for each CNC machine tool. If the target number of required tools does not match the current configuration, the tool scheduling system generates a tool scheduling plan to supplement the insufficient tools.

[0042] As an example, CNC machine tool A needs to be supplemented with 1 milling cutter and 1 drill, CNC machine tool B needs to be supplemented with 3 milling cutters and 1 turning tool, and CNC machine tool C needs to be supplemented with 5 drills and 2 turning tools. The tool scheduling system will automatically query the tool resources in the external tool library and find that there are 2 milling cutters and 3 drills in the external tool library. The tool scheduling system will first dispatch 1 milling cutter and 1 drill from the external tool library to CNC machine tool A. Subsequently, the tool scheduling system will update the tool configuration of CNC machine tool A to ensure that it meets the requirements of processing workpiece X. Further, the tool status of the external tool library and other CNC machine tools is queried, and it is found that CNC machine tool C has 2 milling cutters and 1 turning tool that can be dispatched. In order to ensure the tool requirements of CNC machine tool B, the tool scheduling system will call 2 milling cutters and 1 turning tool from CNC machine tool C, and call 1 milling cutter from the external tool library to complete the target quantity of CNC machine tool B.

[0043] Through the above steps, efficient scheduling and management of CNC machine tool tools are achieved, the utilization rate of tool resources is improved, and production delays caused by insufficient tools are reduced, which significantly improves the factory's production efficiency.

[0044] In one embodiment, if Figure 4 and Figure 5 As shown, in step S40, that is, according to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools, including the following steps: S41A, determine whether the target number of tools required for different CNC machine tools is the same; S42A, if they are the same, obtaining the machining time of the tools required for different CNC machine tools, and dispatching the tools to the corresponding CNC machine tools based on the machining time of the required tools; In this embodiment, after obtaining the target number of tools required for each CNC machine tool, it will further determine whether the target number of tools required for each CNC machine tool is consistent, in order to identify whether there are commonalities or differences in demand, and provide a basis for subsequent resource scheduling strategies. If the tool scheduling system finds that all CNC machine tools have exactly the same demand for a specific tool, at this time, the tool scheduling system will automatically enter step S42A to further analyze the processing time of the tool required for each CNC machine tool, that is, execute steps S42A1-S42A3: S42A1. Determine whether the processing time required by different CNC machine tools is the same; S42A2, if they are the same, determine the minimum distance according to the distance between different CNC machine tools and the required tool, and dispatch the tool to the CNC machine tool corresponding to the minimum distance; S42A3. If they are not the same, determine the minimum processing time from the processing times of tools required by different CNC machine tools, and dispatch the tool to the CNC machine tool corresponding to the minimum processing time.

[0045] In this embodiment, after obtaining the processing time of the tools required by different CNC machine tools, it will be further determined whether the processing time of the tools required by different CNC machine tools is the same. If the tool scheduling system determines that the processing time of all CNC machine tools for the required tools is exactly the same, at this time, it will automatically enter step S42A2 and start to consider another key factor-the distance between the CNC machine tool and the required tool. In the actual production environment, the physical distance is not only related to the convenience of logistics, but also directly affects the time cost and efficiency of tool scheduling. Therefore, according to the preset map data or real-time location information, the distance between each CNC machine tool and the current storage location of the tool is calculated. By comparing these distance data, it is possible to identify which CNC machine tool is closest to the tool, so as to make the optimal scheduling decision. In this step, the tool will be preferentially scheduled to the CNC machine tool with the shortest distance to reduce transportation time and cost, while speeding up production startup.

[0046] When there is inconsistency, the tool scheduling system will automatically enter step S42A3, that is, compare the processing time of tools required by different CNC machine tools, determine the minimum processing time, and prioritize scheduling the tools to the CNC machine tools with the shortest processing time to ensure that the bottleneck links in the production process are cleared in time and the overall production efficiency is improved.

[0047] For example, there are three CNC machine tools A, B, and C in the factory, each of which requires 1 turning tool and 1 milling cutter. At this time, the tool scheduling system obtains that the turning tool processing time of CNC machine tool A for workpiece X is 3 hours, and the milling cutter processing time is 1 hour, the turning tool processing time of CNC machine tool B for workpiece Y is 2 hours, and the milling cutter processing time is 1 hour, and the turning tool processing time of CNC machine tool C for workpiece Z is 3 hours, and the milling cutter processing time is 2 hours. At this time, the tool scheduling system will give priority to the machine tool with the shortest processing time. That is, the processing time of CNC machine tool B is 3 hours, which has the highest priority, so the tool scheduling system will prioritize the required tools to CNC machine tool B. This scheduling strategy can ensure that the processing time is minimized, thereby improving overall production efficiency.

[0048] It should be noted that if the distances between the tools required by different CNC machine tools are the same, the tools can be dispatched to the CNC machine tool with the shortest total processing time according to the total processing time of the workpiece to be processed by different CNC machine tools. For example, the total processing time of CNC machine tool A processing workpiece X is only 2 hours, while the total processing time of CNC machine tool B processing workpiece Y is only 4 hours. At this time, the tools are dispatched to CNC machine tool A first to ensure that it can complete the processing task quickly and release resources to other production links, so as to avoid waiting and delays that may occur on the production line, laying a solid foundation for the company's continuous and efficient production.

[0049] S43A, if they are not the same, determine the minimum target quantity from the target quantities of tools required by different CNC machine tools, and dispatch the tools to the CNC machine tool corresponding to the minimum target quantity.

[0050] In this embodiment, in most cases, the number of tools required by each CNC machine tool will be different, which reflects the uniqueness and diversity of each production task. When step S41A identifies that the required quantity is inconsistent, the tool scheduling system immediately enters step S43A. In this step, the tool scheduling system first screens out the CNC machine tool with the least number of required tools among all CNC machine tools, that is, the minimum target quantity. This value represents the most "urgent" and "feasible" demand satisfaction point among all current CNC machine tools. Subsequently, the CNC machine tool corresponding to this minimum target quantity is given priority, that is, the tools are dispatched to this CNC machine tool first to ensure that it can be put into production immediately, reduce waiting time, and improve overall production efficiency.

[0051] In summary, through steps S41A-S43A, the rational allocation and efficient utilization of tool resources among CNC machine tools are ensured, providing solid technical support for the company's lean production and continuous optimization.

[0052] In one embodiment, if Figure 6 As shown, in step S40, that is, according to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools, and the following steps are also included: S41B, obtain the processing time of each tool in the CNC machine tool; S42B, determining whether the processing time of each tool meets the processing time of the tool corresponding to the workpiece to be processed; S43B, if not satisfied, determining the tool change quantity of the unsatisfied tool according to the processing time of each tool and the processing time of the corresponding tool; S44B, dispatching the tools to the corresponding CNC machine tools according to the tool change quantity of different CNC machine tools and the target quantity of required tools.

[0053] In this embodiment, the processing time of each tool in the CNC machine tool is obtained. For example, the tool management module integrated in the CNC system can be used to read the remaining processing time of each tool in each CNC machine tool in real time and accurately.

[0054] Next, determine whether the processing time of each tool meets the processing time required for the corresponding tool of the current workpiece to be processed. When it is found that the tool processing time does not meet the demand, step S43B is executed, that is, according to the number of tools that do not meet the processing time required by the corresponding tool, the number of tools that need to be changed is accurately calculated, that is, the number of tool changes. This process not only involves the evaluation of a single tool, but also requires a comprehensive consideration of the tool configuration and processing task arrangement of the entire CNC machine tool to ensure that the tool change operation is both economical and efficient, so as to minimize the number of tool changes and downtime. Furthermore, according to the number of tool changes of different CNC machine tools and the target number of tools required, the tool is accurately dispatched to the corresponding CNC machine tool. This process fully takes into account the processing capacity of the machine tool, the availability of the tool and the urgency of the production task, and achieves global optimization through intelligent algorithms.

[0055] For example, there are three CNC machine tools A and B in the factory, of which CNC machine tool A needs 4 milling cutters to process workpiece X, and CNC machine tool B needs 5 milling cutters to process workpiece Y. At this time, CNC machine tool A is equipped with 2 milling cutters, and CNC machine tool B is equipped with 2 milling cutters. However, the processing time of the 2 milling cutters equipped with CNC machine tool A does not meet the processing time of processing workpiece X, and the 2 milling cutters equipped with CNC machine tool B meet the processing time of processing workpiece Y. At this time, the number of tool changes for CNC machine tool A is 2, and the number of tool changes for CNC machine tool B is 0. The target number of tools required for CNC machine tool A is 2, and the target number of tools required for CNC machine tool B is 3. At this time, the tool scheduling system will give priority to the CNC machine tool that requires the least total number of tools, and prioritize the dispatch of tools to the corresponding CNC machine tool, that is, prioritize the dispatch of tools to CNC machine tool B to improve overall production efficiency. It should be noted that the above is only an example, and the present invention is not limited as an example.

[0056] In one embodiment, if Figure 7 As shown, after step S40, that is, after the tools are dispatched to the corresponding CNC machine tools according to the target number of tools required by different CNC machine tools, the following steps are included: S50, real-time detection of tool time of each tool in the CNC machine tool; S60: When the tool time is longer than the preset time, a warning is issued for the tool whose tool time is longer than the preset time.

[0057] In this embodiment, the tool time of each tool in each CNC machine tool is detected in real time, that is, the tool usage time is continuously tracked so that timely processing can be performed when the actual usage time of the tool is close to its preset service life. Assume that the maximum usage time of the milling cutter, drill bit and turning tool of machine tool A is 500 hours, 300 hours and 400 hours respectively, and the preset time is 490 hours, 290 hours and 390 hours respectively. The tool scheduling system will continuously monitor the actual usage time of these tools and compare it with the preset usage time.

[0058] When the actual usage time of the tools is higher than the preset time, these tools will be warned. The warning mechanism is to inform the operator of the status of the tools in advance so that they can arrange appropriate maintenance or replacement plans. For example, during the monitoring process, it was found that the actual usage time of the drill bit of CNC machine tool A was 290 hours. At this time, the warning will be automatically triggered and an alarm message will be sent to the operator, indicating that the remaining service life of the drill bit is insufficient so that it can be checked or replaced. The warning function enables operators to take timely action when the tool usage time is higher than the preset time, thereby reducing downtime and production losses caused by tool problems. Compared with traditional manual inspection methods, it is more intelligent and efficient, providing strong technical support for the factory's production management.

[0059] Specifically, the tool scheduling system will generate an early warning report to show which tools have been used for longer than the preset time. The report includes information such as the tool number, type, actual usage time, and preset time. For example, the generated early warning report includes information such as the actual usage time of the tool and the recommendation of a suitable replacement tool. It should be noted that the above is only an example and is not limited to this example in the present invention.

[0060] It should be understood that during the entire scheduling process, the tool scheduling system also monitors the processing progress and tool usage of each CNC machine tool in real time, ensuring that once a tool reaches the replacement standard or the CNC machine tool completes the current task, the next round of tool scheduling and assembly work can be started immediately. Through such an efficient and accurate tool scheduling method, the factory not only significantly improves production efficiency, but also effectively reduces tool waste and production costs, laying a solid foundation for the sustainable development of the enterprise. In addition, in actual operation, the tool tracking and occupancy status display functions in the system will be fully utilized to ensure real-time monitoring and efficient scheduling of tools during the processing process. When a CNC machine tool completes the processing of the current workpiece, if another CNC machine tool happens to need one or more tools on it, the scheduling path and schedule of the tools will be planned in advance, and the tools will be quickly and safely transferred from the CNC machine tool that has completed the processing to the CNC machine tool that needs them, so as to reduce the idle time of the tools and improve the flexibility and response speed of the overall production line.

[0061] In one embodiment, if Figure 8 As shown, the processing task list also includes the total processing time, customer delivery time and total number of the workpiece to be processed, and the method also includes the following steps: S70, obtaining the remaining maintenance time of the CNC machine tool corresponding to the workpiece to be processed; S80, calculating the adaptability of the CNC machine tool for processing the workpiece to be processed according to the total processing time, the customer delivery time, the total number and the remaining maintenance and repair time; S90, dispatching a tool to a corresponding CNC machine tool according to the adaptability of the CNC machine tool to process the workpiece to be processed.

[0062] In this embodiment, the processing task order also includes the total processing hours of the workpiece to be processed, the customer delivery time and the total number of workpieces. The remaining time for maintenance and repair refers to the remaining time required for regular maintenance and repair to ensure the continuous and stable operation of the CNC machine tool. Specifically, the remaining time for maintenance and repair corresponding to the CNC machine tool can be calculated based on the maintenance cycle recommended by the manufacturer of the CNC machine tool (for example, every 500 working hours, 1000 working hours or half a year, etc.) and the operating time of the CNC machine tool, or the remaining maintenance time can be estimated based on the actual use of the CNC machine tool (such as daily working hours and work intensity). For example, if the CNC machine tool has been running for 400 hours and the scheduled maintenance cycle is 500 hours, the remaining maintenance time is 100 hours, which is not limited here. Among them, the remaining time for maintenance and repair reflects the availability of the CNC machine tool at present and in the future.

[0063] As an example, first, obtain the remaining maintenance time of the CNC machine tool corresponding to the workpiece to be processed. Then, according to the total processing hours, customer delivery time, total number of workpieces and the remaining maintenance time of the CNC machine tool, calculate the fitness of the CNC machine tool for processing the workpiece to be processed through the following fitness calculation formula.

[0064] Specifically, the calculation formula for fitness is: ; in, ; In the above formula: is the fitness of CNC machine tool i for processing workpiece i, is the total processing time of workpiece i to be processed, is the customer delivery time for workpiece i to be processed, The remaining time for maintenance and repair of CNC machine tool i, is the weight of the absolute value of the total processing time of workpiece i and the customer delivery time, is the weight of the ratio of customer delivery time to total processing time of workpiece i to be processed, is the weight of the remaining maintenance time of CNC machine tool i, is the weight of the total processing time of workpiece i to be processed, is a positive number. It should be understood that The purpose of being a positive number is to avoid the denominator in the fitness calculation being zero, and the values ​​of α, β, γ, δ, and ϵ can be set according to actual conditions and are not limited here.

[0065] Finally, according to the fitness values ​​of the workpieces to be processed by different CNC machine tools, the genetic algorithm can be used to dispatch the tool to the CNC machine tool with the highest priority. Among them, the CNC machine tool with the highest priority can be the CNC machine tool with the highest fitness value, or the CNC machine tool with the lowest fitness value, which is not limited here. It should be understood that genetic algorithms include roulette selection, single-point crossover or random mutation. In this way, the factory's processing efficiency is optimized, delays and idle time of CNC machine tools are reduced, and customer delivery time is optimized.

[0066] For example, the total processing time of a workpiece to be processed is 10 hours, the customer delivery time is 12 hours, the total number is 50 pieces, and the remaining maintenance time of the corresponding CNC machine tool is 2 hours. After calculating the fitness of different CNC machine tools through the above formula, the tool is assigned to the CNC machine tool with the highest fitness for processing. Through the above method, the characteristics of the processing task and the equipment status are comprehensively considered, and dynamic tool scheduling and task optimization allocation are realized, which effectively improves the overall operation efficiency of the CNC machine tool.

[0067] In order to facilitate understanding of the above steps S70 to S90, two specific examples are used to illustrate as follows; As an example, suppose there are two CNC machine tools A and B in a factory. The remaining maintenance time of CNC machine tool A is 1 hour, and the remaining maintenance time of CNC machine tool B is 2 hours. Then, according to the total processing time, customer delivery time, total number of workpieces and remaining maintenance time, the fitness of the CNC machine tool corresponding to the workpiece to be processed is calculated by the above fitness calculation formula. Assuming that the total processing time, customer delivery time, total number and weight parameters of the workpiece to be processed by CNC machine tools A and B are uniform, for example, the total processing time is 8 hours, the customer delivery time is 10 hours, the total number is 1 piece, and the weight parameters are: α = 2, β = 1, γ = 0.5, δ = 1, ϵ = 0.01.

[0068] For CNC machine tool A, the fitness is calculated as follows: ; For CNC machine tool B, the fitness is calculated as follows: ; Finally, according to the calculation results, the data machine tool A with higher fitness can be selected, and the tool can be preferentially dispatched to the data machine tool A to meet the processing of the CNC machine tool A.

[0069] As another example, suppose there are two CNC machine tools A and B in a factory. The remaining maintenance time of CNC machine tool A is 50 hours, and the remaining maintenance time of CNC machine tool B is 100 hours. Among them, CNC machine tool A processes workpiece A to be processed, and CNC machine tool B processes workpiece B to be processed. Specifically: Workpiece A to be processed: total processing time is 8 hours, customer delivery time is 10 hours, and the total number is 50 pieces; Workpiece B to be processed: total processing time is 12 hours, customer delivery time is 15 hours, and the total number is 30 pieces.

[0070] The weight coefficients are: α = 2, β = 1, γ = 0.5, δ = 1, 𝜖= 0.01.

[0071] For CNC machine tool A, the fitness is calculated as follows: ; For CNC machine tool B, the fitness is calculated as follows: 2077.5; The fitness calculation results are: The fitness of CNC machine tool A is 0.000523; the fitness of CNC machine tool B is 0.000481.

[0072] According to the calculation results, the data machine tool B with higher fitness is selected, and the tool is preferentially dispatched to the data machine tool B to meet the processing of the CNC machine tool A.

[0073] It should be understood that the above is only an example and does not constitute a limitation of the present invention.

[0074] It should be noted that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The order of execution 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.

[0075] Second, as Figure 1 As shown, a tool scheduling system is provided, and the embodiment of the tool scheduling system corresponds to the tool scheduling system method in the above embodiment. The tool scheduling system includes a control device 100, a CNC machine tool 200 and a scheduling device 300; The control device 100 is used to obtain a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; determine whether the number of tools in the CNC machine tool 200 meets the required number of tools; if not, determine the target number of tools required for the CNC machine tool 200 based on the number of tools in the CNC machine tool 200 and the required number of tools; The control device 100 is also used to control the scheduling device 300 to schedule the tools to the corresponding CNC machine tools 200 according to the target number of tools required by different CNC machine tools.

[0076] In one embodiment, the control device 100 is further used for: Determining whether the target number of tools required for different CNC machine tools is the same; If they are the same, the processing time of the tools required by the different CNC machine tools is obtained, and based on the processing time of the required tools, the scheduling device is controlled to schedule the tools to the corresponding CNC machine tools; If they are not the same, a minimum target quantity is determined from the target quantities of tools required by different CNC machine tools, and the scheduling device is controlled to schedule the tools to the CNC machine tool corresponding to the minimum target quantity.

[0077] In one embodiment, the control device 100 is further used for: Determining whether the processing time required for the tools of different CNC machine tools is the same; If they are the same, determining the minimum distance according to the distances between the different CNC machine tools and the required tool, and controlling the scheduling device to schedule the tool to the CNC machine tool corresponding to the minimum distance; If they are not the same, the minimum processing time is determined from the processing times of the tools required by different CNC machine tools, and the scheduling device is controlled to schedule the tool to the CNC machine tool corresponding to the minimum processing time.

[0078] In one embodiment, the control device is further configured to: Obtaining the processing time of each tool in the CNC machine tool; Determining whether the processing time of each tool meets the processing time of the tool corresponding to the workpiece to be processed; If not, determining the tool change quantity of the unsatisfied tool according to the processing time of each tool and the processing time of the corresponding tool; According to the tool change quantity of different CNC machine tools and the target quantity of required tools, the scheduling device is controlled to schedule the tools to the corresponding CNC machine tools.

[0079] In one embodiment, the control device 100 is further used for: Real-time detection of tool time of each tool in the CNC machine tool; When the tool time length is longer than a preset time length, an early warning is issued to the tool whose tool time length is longer than the preset time length.

[0080] In one embodiment, the control device is further configured to: Obtaining the tool loading quantity of the CNC machine tool, where the tool loading quantity is the total number of tools that can be installed on the CNC machine tool; According to the tool loading quantity and the required tool quantity, a corresponding numerically controlled machine tool is determined.

[0081] In one embodiment, the processing task list also includes the total processing time, customer delivery time and total number of the workpiece to be processed, and the control device 100 is further used to: Obtaining the remaining maintenance time of the CNC machine tool corresponding to the workpiece to be processed; Calculate the adaptability of the CNC machine tool for processing the workpiece to be processed based on the total processing time, the customer delivery time, the total number and the remaining maintenance and repair time; According to the adaptability of different CNC machine tools for processing the workpiece to be processed, the tool is dispatched to the corresponding CNC machine tool.

[0082] In one embodiment, the fitness of the CNC machine tool for processing the workpiece to be processed is calculated by the following formula: ; ; in, is the fitness of CNC machine tool i for processing workpiece i, is the total processing time of workpiece i to be processed, is the customer delivery time for workpiece i to be processed, The remaining time for maintenance and repair of CNC machine tool i, is the weight of the absolute value of the total processing time of workpiece i and the customer delivery time, is the weight of the ratio of customer delivery time to total processing time of workpiece i to be processed, is the weight of the remaining maintenance time of CNC machine tool i, is the weight of the total processing time of workpiece i to be processed, Is a positive number.

[0083] In a third aspect, a control device 100 is provided. The control device may be a server, and its internal structure diagram may be as follows: Fig. 9As shown. The control device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the control device is used to provide computing and control capabilities. The memory of the control device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the control device is used to store data generated by the tool scheduling method. The network interface of the control device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above-mentioned tool scheduling method is implemented.

[0084] In one embodiment, a control device 100 is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: Obtaining a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; Determining whether the number of tools in the CNC machine tool meets the required number of tools; If not, determining the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; According to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools.

[0085] In a fourth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the following steps are implemented: Obtaining a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; Determining whether the number of tools in the CNC machine tool meets the required number of tools; If not, determining the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; According to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools.

[0086] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can 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 in this application 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 (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0087] 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 and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and 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.

[0088] 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 tool production scheduling method, characterized in that: include: Obtaining a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; Determining whether the number of tools in the CNC machine tool meets the required number of tools; If not, determining the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; According to the target number of tools required by different CNC machine tools, the tools are dispatched to the corresponding CNC machine tools.

2. The tool production scheduling method according to claim 1, characterized in that: The step of dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools includes: Determining whether the target number of tools required for different CNC machine tools is the same; If they are the same, the machining time of the tools required by the different CNC machine tools is obtained, and based on the machining time of the required tools, the tools are dispatched to the corresponding CNC machine tools; If they are not the same, a minimum target quantity is determined from the target quantities of tools required by different CNC machine tools, and the tools are dispatched to the CNC machine tools corresponding to the minimum target quantity.

3. The tool production scheduling method according to claim 2, characterized in that: The step of dispatching the tool to the corresponding CNC machine tool based on the processing time of the required tool includes: Determining whether the processing time required for the tools of different CNC machine tools is the same; If they are the same, the minimum distance is determined according to the distance between the different CNC machine tools and the required tool, and the tool is dispatched to the CNC machine tool corresponding to the minimum distance; If they are not the same, the minimum processing time is determined from the processing times of the tools required by different CNC machine tools, and the tool is dispatched to the CNC machine tool corresponding to the minimum processing time.

4. The tool production scheduling method according to claim 1, characterized in that: The step of dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools includes: Obtaining the processing time of each tool in the CNC machine tool; Determining whether the processing time of each tool meets the processing time of the tool corresponding to the workpiece to be processed; If not, determining the tool change quantity of the unsatisfied tool according to the processing time of each tool and the processing time of the corresponding tool; According to the tool change quantity of different CNC machine tools and the target quantity of required tools, the tools are dispatched to the corresponding CNC machine tools.

5. The tool production scheduling method according to any one of claims 1 to 4, characterized in that: After dispatching the tools to the corresponding CNC machine tools according to the target number of tools required by the different CNC machine tools, the method includes: Real-time detection of tool time of each tool in the CNC machine tool; When the tool time length is longer than a preset time length, an early warning is issued to the tool whose tool time length is longer than the preset time length.

6. The tool production scheduling method according to claim 1, characterized in that: The processing task list also includes the total processing time, customer delivery time and total number of the workpiece to be processed, and the method further includes: Obtaining the remaining maintenance time of the CNC machine tool corresponding to the workpiece to be processed; Calculate the adaptability of the CNC machine tool for processing the workpiece to be processed based on the total processing time, the customer delivery time, the total number and the remaining maintenance and repair time; According to the adaptability of different CNC machine tools for processing the workpiece to be processed, the tool is dispatched to the corresponding CNC machine tool.

7. The tool production scheduling method according to claim 6, characterized in that: The fitness of the CNC machine tool processing corresponding to the workpiece to be processed is calculated by the following formula: ; ; in, is the fitness of CNC machine tool i for processing workpiece i, is the total processing time of workpiece i to be processed, is the customer delivery time for workpiece i to be processed, The remaining time for maintenance and repair of CNC machine tool i, is the weight of the absolute value of the total processing time of workpiece i and the customer delivery time, is the weight of the ratio of customer delivery time to total processing time of workpiece i to be processed, is the weight of the remaining maintenance time of CNC machine tool i, is the weight of the total processing time of workpiece i to be processed, Is a positive number.

8. A tool production scheduling system, characterized in that: The tool production scheduling system includes a control device, a CNC machine tool and a scheduling device; The control device is used to obtain a processing task list, wherein the processing task list includes the number of tools required to process the workpiece to be processed; determine whether the number of tools in the CNC machine tool meets the number of tools required; if not, determine the target number of tools required for the CNC machine tool based on the number of tools in the CNC machine tool and the number of tools required; The control device is also used to control the scheduling device to schedule the tools to the corresponding CNC machine tools according to the target number of tools required by different CNC machine tools.

9. A control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the tool scheduling method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the tool scheduling method described in any one of claims 1 to 7 is implemented.