A method, device, equipment and medium for predicting tool resources in an intelligent workshop

Predicting the tool processing time and life time of the work step through the neural network model solves the problem of low tool resource prediction accuracy in the existing technology under various production plans, and achieves more accurate tool resource prediction.

CN118278719BActive Publication Date: 2024-09-10CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712818.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-10
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

Existing tool resource prediction methods have low accuracy when processing data with little time correlation and cannot be applied to a variety of different production plans, especially when the production plan changes significantly.

Method used

A method based on the neural network model is used to obtain production plan information, conduct data cleaning and cluster analysis, predict the expected tool processing time value of each process step, and calculate the tool demand information based on the tool life time value, thereby achieving tool resource prediction.

Benefits of technology

The accuracy of tool resource prediction is improved, making it applicable to a variety of different production plans, ensuring that the required number of tools can still be accurately predicted when the production plan changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118278719B
    Figure CN118278719B
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for predicting tool resources in an intelligent workshop, which relates to the field of CNC machining technology and solves the technical problem that the existing tool resource prediction method cannot be applied to a variety of different production plans. The method includes obtaining production plan information; based on the production plan information, obtaining a part processing information set; wherein the part processing information set includes a plurality of work step processing information; classifying and processing each of the work step processing information to obtain matching information; based on the matching information, inputting each of the work step processing information into the corresponding preset neural network model to obtain the tool estimated processing time value of each work step; based on the tool estimated processing time value of each work step and its corresponding tool life time value, obtaining tool demand information; based on the tool demand information, obtaining tool resource prediction results. The present application can ensure the accuracy of tool resource prediction and is applicable to a variety of different production plans.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of numerical control machining technology, and in particular to a method, device, equipment and medium for predicting tool resources in an intelligent workshop. Background Art

[0002] With the increasing market competition pressure and production costs in the manufacturing industry, traditional production methods are no longer sustainable, and it is urgent to improve the level of intelligence in the manufacturing industry. Enterprises need to introduce intelligent processing units to cope with various production modes. This production mode makes the demand for cutting tools in manufacturing and processing diversified. At the same time, cutting tools are a very important processing resource for smart workshops. Therefore, tool resource prediction is a key link to ensure the smooth production of smart workshops.

[0003] At present, the time series forecasting method is usually used to predict tool demand, but this method is limited when processing data with less time correlation. When the production plan has a major change, the reference value of historical data decreases, resulting in a decrease in the accuracy of tool resource prediction. Therefore, the current tool resource prediction method cannot be applied to a variety of different production plans. Summary of the invention

[0004] The main purpose of this application is to provide a method, device, equipment and medium for predicting tool resources in an intelligent workshop, aiming to solve the technical problem that the existing tool resource prediction method cannot be applied to a variety of different production plans.

[0005] To achieve the above objectives, the present application provides a method for predicting tool resources in an intelligent workshop, comprising the following steps:

[0006] Acquire production plan information; based on the production plan information, obtain a part processing information set; wherein the part processing information set includes a plurality of work step processing information;

[0007] Classify and process the processing information of each step to obtain matching information;

[0008] Based on the matching information, the processing information of each of the work steps is respectively input into the corresponding preset neural network model to obtain the estimated processing time value of the tool for each work step;

[0009] Based on the estimated tool processing time value of each work step and its corresponding tool life time value, the tool demand information is obtained;

[0010] Based on the tool demand information, a tool resource prediction result is obtained.

[0011] Optionally, before classifying the processing information of each work step to obtain matching information, it also includes: performing data cleaning processing on the production plan information.

[0012] Optionally, the training method of the preset neural network model includes:

[0013] Acquire historical sample data information; wherein the historical sample data information includes a plurality of sample data;

[0014] Performing cluster analysis on each of the sample data to obtain multiple sample clusters;

[0015] Acquire multiple initial neural network models; and train each of the initial neural network models based on each of the sample clusters to obtain multiple preset neural network models.

[0016] Optionally, performing cluster analysis on each of the sample data to obtain a plurality of sample clusters includes:

[0017] Acquire multiple initial cluster center information; based on the initial cluster center information, obtain a first cluster; wherein the first cluster is obtained by performing a first cluster analysis process on each of the sample data;

[0018] Based on the first cluster, first cluster center information is obtained; based on the first cluster center information, a second cluster analysis process is performed on the first cluster to obtain a plurality of sample clusters.

[0019] Optionally, the classifying and processing the processing information of each process step to obtain matching information includes:

[0020] Classify and process the processing information of each work step to obtain cluster center information;

[0021] Based on the cluster center information, obtaining distance information of each of the process step processing information;

[0022] Based on each of the distance information, matching information is obtained.

[0023] Optionally, obtaining matching information based on each of the distance information includes:

[0024] Selecting target distance information that meets preset distance information from the distance information;

[0025] Based on the target distance information, matching information is obtained.

[0026] Optionally, obtaining tool demand information based on the estimated tool processing time value of each work step and its corresponding tool life time value includes:

[0027] Based on the estimated tool processing time value of each work step and its corresponding tool life time value, the demand coefficient of each work step is obtained;

[0028] Based on the demand coefficient of each process step, tool demand information is obtained.

[0029] Optionally, obtaining a tool resource prediction result based on the tool demand information includes:

[0030] The demand coefficients of the same tool in the tool demand information are summed to obtain a tool resource prediction result.

[0031] In addition, to achieve the above purpose, the present application also provides a tool resource prediction device for an intelligent workshop, comprising:

[0032] The first acquisition module is used to obtain production plan information; based on the production plan information, a part processing information set is obtained; wherein the part processing information set includes a plurality of work step processing information;

[0033] A second acquisition module is used to classify and process the processing information of each step to obtain matching information;

[0034] A third obtaining module is used to input the processing information of each of the working steps into the corresponding preset neural network model based on the matching information to obtain the tool estimated processing time value of each working step;

[0035] A fourth obtaining module is used to obtain tool demand information based on the tool estimated processing time value of each working step and the corresponding tool life time value;

[0036] The target acquisition module is used to obtain the tool resource prediction result based on the tool demand information.

[0037] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method.

[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the above-mentioned method.

[0039] Beneficial effects that this application can achieve:

[0040] The embodiment of the present application proposes a method for predicting tool resources in an intelligent workshop. By using the processing information of each work step in the production plan information as the input of a preset neural network model, the estimated tool processing time value of each work step is obtained; then, according to the estimated tool processing time value of each work step and its corresponding tool life time value, the tool demand information is calculated, and finally, based on the tool demand information, the tool resource prediction result is obtained. Compared with the existing prediction method, the embodiment of the present application does not rely on historical tool demand data, but accurately predicts the estimated tool processing time value based on a preset neural network model, and integrates the tool life time value, so that the tool resource prediction result is closer to the actual demand, and the required tool demand quantity under a given production plan is obtained. Even when there are major changes in the production plan, the accuracy of the tool resource prediction can be guaranteed, which is applicable to a variety of different production plans. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiments of the present application;

[0042] Figure 2 A schematic diagram of a process flow of a tool resource prediction method for an intelligent workshop according to an embodiment of the present application;

[0043] Figure 3 A schematic diagram of the structure of a preset neural network model involved in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a prediction process of a tool estimated processing time value involved in an embodiment of the present application;

[0045] Figure 5 This is a schematic diagram of the structure of a tool resource prediction device for an intelligent workshop involved in an embodiment of the present application.

[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] Tool resource prediction is a key link to ensure the smooth production of smart workshops. At present, the time series prediction method is usually used to predict tool demand, but this method is limited when processing data with less time correlation. When the production plan has a major change, the reference value of historical data decreases, resulting in a decrease in the accuracy of tool resource prediction. Therefore, the current tool resource prediction method cannot be applied to a variety of different production plans.

[0049] Reference Figure 1 , Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.

[0050] like Figure 1 As shown, the computer device may include: a processor 1001, such as a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The above processor is the control center of the above terminal device, and various interfaces and lines are used to connect various parts of the entire user terminal. Communication bus 1002, user interface 1003, network interface 1004, memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0051] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0052] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an electronic program.

[0053] exist Figure 1In the computer device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the computer device of the present application can be set in the computer device, and the computer device calls the intelligent workshop tool resource prediction device stored in the memory 1005 through the processor 1001, and executes the intelligent workshop tool resource prediction method provided in the embodiment of the present application.

[0054] Reference Figure 2 The present application embodiment provides a method for predicting tool resources in an intelligent workshop, comprising the following steps:

[0055] Step S10, obtaining production plan information; based on the production plan information, obtaining a part processing information set; wherein the part processing information set includes a plurality of work step processing information.

[0056] In specific applications, when obtaining production plan information, quarters are usually used as units, that is, production plan information for one quarter is obtained. Production plan information includes production quantity information, production scheduling information, and process information, wherein the process information includes process flow, process sequence, production equipment, process parameters, and product specifications.

[0057] It can be understood that the part processing information set may include processing information of multiple parts, and the processing information of each part may include multiple processing step information; that is, the part processing information set includes multiple processing step information.

[0058] Since there may be problems with the data in the production plan information, direct use will affect the accuracy of the prediction results. Therefore, it is necessary to perform data cleaning processing on the production plan information to identify and correct erroneous, missing or inconsistent data information in the production technical information, improve the quality and reliability of the data information, and reduce errors and deviations in the prediction results caused by data quality problems. Therefore, before classifying the processing information of each step and obtaining the matching information, it also includes: performing data cleaning processing on the production plan information.

[0059] In specific applications, it is usually carried out from the following two aspects:

[0060] On the one hand, there are situations where the descriptions in the production plan information are not standardized and unified. Specifically, in the non-numerical information of the production plan information, many-to-one descriptions are prone to occur. For example: inconsistent equipment names, changes in equipment models, and inconsistent part drawing numbers. For fields with clear correspondences, a comparison table is established to unify and standardize the naming. For fields with unclear correspondences, such as the problem of inconsistent part drawing numbers, this problem is caused by changes in the design of the parts, which generates new configuration reports and updates the process file numbers. At this time, the correspondence between the old and new drawing numbers cannot be obtained immediately. It is necessary to establish a sample library, analyze based on historical data samples, split the corresponding configuration rule structure, and replace each part drawing number with the corresponding "configuration drawing number" to avoid identifying the same part drawing number as multiple, which leads to repeated calculations.

[0061] On the other hand, there are data anomalies in the production plan information. Specifically, if there is missing data in the production plan information, the missing data is supplemented by querying the process instructions. In addition, if the actual processing time of each step tool recorded by the machine is missing or abnormal, the missing data is deleted, and the abnormal data is first identified by statistical methods and then deleted.

[0062] After the production plan information is cleaned according to the above method, the processing information of each step of the production technical information is sorted according to Table 1.

[0063] Table 1 Processing information in production plan information

[0064]

[0065] It should be noted that the “...” in the above Table 1 can be recorded based on actual conditions, and no specific examples are given here.

[0066] It should be noted that, before executing step S10 or step S20, the training of the preset neural network model may be completed first.

[0067] Specifically, the training method of the preset neural network model includes:

[0068] Acquire historical sample data information; wherein the historical sample data information includes a plurality of sample data.

[0069] In actual application, the historical sample data information refers to the relevant information of historically processed parts. Each sample data includes non-numerical data and numerical data; wherein, the non-numerical data includes workpiece material, processing equipment, clamping method, processing accuracy, tool type, tool material, tool diameter, tool teeth number, cutting speed, feed rate, milling depth and milling width, etc.; the numerical data refers to the specific value corresponding to the non-numerical data. For example: 8000mm / min (corresponding to cutting speed), 20mm (corresponding to tool diameter), 6.67mm (corresponding to milling depth).

[0070] In practical applications, in order to avoid introducing non-numerical data into the prediction model and affecting the prediction results, the sample data are first classified according to all non-numerical factors, and then the initial neural network models are trained according to the numerical data.

[0071] Similarly, since there may be problems with the data in the historical sample data information, direct use will affect the accuracy of the prediction results. Therefore, it is necessary to perform data cleaning on the production plan information to identify and correct the errors, missing or inconsistent data information in the production technology information, improve the quality and reliability of the data information, and reduce the errors and deviations in the prediction results caused by data quality problems. The specific data cleaning method is the same as the data cleaning method for production technology information mentioned above, so it will not be described in detail here.

[0072] After the historical sample data information is cleaned by the above method, each sample data of the historical sample data information is sorted according to Table 2. The difference is that when obtaining the historical sample data information, the actual processing time of the tool of each step needs to be recorded.

[0073] Table 2 Sample data of historical sample data information

[0074]

[0075] It should be noted that the “...” in the above Table 2 can be recorded based on actual conditions, and no specific examples are given here; “…” can be other unlisted influencing factors recorded based on actual conditions, and no specific examples are given here.

[0076] Cluster analysis is performed on each of the sample data to obtain multiple sample clusters.

[0077] In practical applications, a K-Modes clustering algorithm may be used to perform cluster analysis on each of the sample data to obtain a plurality of cluster centers.

[0078] For example, if there are N sample data in total, the attributes of each sample data may include workpiece material, processing equipment, clamping method, processing accuracy, tool type and tool material.

[0079] Randomly select K cluster centers C from the above multiple cluster centers 1 , C 2 , ..., C K , respectively calculate the sample data X j (j=1, 2, ..., N) and the distance between K cluster centers. The distance between two sample data is defined as:

[0080] ;

[0081] ;

[0082] ;

[0083] Among them, d For sample data With sample data The sample distance of is the value of the kth influencing factor of the i-th sample; is the value of the kth influencing factor of the jth sample.

[0084] From the above formula, we can see that: if two sample data and have the same attribute value. Take 0; otherwise Take 1; all attributes corresponding to Adding is Sample distance.

[0085] Each sample data Divide them into clusters with the smallest distance and obtain multiple sample clusters.

[0086] In order to further improve the similarity between each type of sample data and thus improve prediction accuracy, the above-mentioned step of performing cluster analysis on each of the sample data to obtain a plurality of sample clusters includes:

[0087] Acquire multiple initial cluster center information; based on the initial cluster center information, obtain a first cluster; wherein the first cluster is obtained by performing a first cluster analysis process on each of the sample data;

[0088] Based on the first cluster, first cluster center information is obtained; based on the first cluster center information, a second cluster analysis process is performed on the first cluster to obtain a plurality of sample clusters.

[0089] In practical applications, after completing the first cluster analysis process, the cluster center (i.e., the first cluster center information) is re-determined based on the first cluster, and the first cluster center information is the attribute mode of all sample data in the first cluster; based on the first cluster center information, the distance between each sample data and the K first cluster centers is recalculated, and classification processing is performed again until the total distance (the sum of the distances between the sample data in each cluster and the center of each cluster) no longer decreases, that is, multiple sample clusters are obtained.

[0090] Acquire multiple initial neural network models; and train each of the initial neural network models based on each of the sample clusters to obtain multiple preset neural network models.

[0091] In practical applications, the sample data in each sample cluster is further divided into training sets and test sets to prepare for training the initial neural network model. The initial neural network model can use BP artificial neural network. The structural diagram of BP artificial neural network is as follows: Figure 3 shown.

[0092] Specifically, the algorithm steps of the BP artificial neural network include: setting the number of neurons in the input layer, hidden layer and output layer of the network; initializing the weights and bias parameters, usually using random small values ​​for initialization. Passing the sample data as the training set into the input layer neurons; calculating the outputs of the hidden layer and output layer neurons according to the weights and bias parameters; using an activation function (such as the Sigmoid function) to map the outputs to between 0 and 1. Calculating the error; calculating the gradient inversely according to the value of the error function, and propagating the gradient back to the network; using the chain rule to calculate the gradients of the hidden layer and output layer; updating the weights and bias values ​​according to the gradients and learning rate parameters. Repeating the above steps until the network output error meets the predetermined stop condition. In each iteration, the network is trained using sample data from different training sets to improve generalization performance; parameters such as the number of training rounds and the learning rate can be set to control the training process. Using the sample data of the test set to test the trained network; inputting the sample data of the test set into the network to obtain the output results of the network; performing tasks such as classification and regression based on the output results to evaluate the performance of the network. According to the performance of the network in training and testing, the structure and parameters of the network are adjusted; the number of hidden layers can be increased, the activation function can be changed, and parameters such as the learning rate can be adjusted to improve the performance of the network to obtain a preset neural network model.

[0093] In order to further improve the prediction accuracy, the principal component analysis method is used to replace and comprehensively reflect the original more information with fewer variables. First, the principal component analysis is performed on the numerical data, and the variable Pi (i=1, 2, ..., m) obtained by the principal component analysis is used as the input of the neural network, and the processing time to be predicted is used as the output of the network. The mean-square error (MSE) function is used to calculate the sum of the squares of the difference between the predicted value and the target value, and the stochastic gradient descent (SGD) method is used to update the parameters.

[0094] Step S20: classify and process the processing information of each process step to obtain matching information.

[0095] In practical applications, such as Figure 4 As shown, after the processing information of each work step is classified, the processing information of each work step is divided into corresponding clusters to obtain matching information.

[0096] Specifically, the classifying and processing the processing information of each process step to obtain matching information includes:

[0097] Classify and process the processing information of each work step to obtain cluster center information;

[0098] Based on the cluster center information, obtaining distance information of each of the process step processing information;

[0099] Based on each of the distance information, matching information is obtained.

[0100] In actual application, the cluster center information refers to the first cluster center information described in the above steps, that is, based on the first cluster center information, the processing information of each work step is classified and processed, and each work step processing information is divided into the cluster with the shortest distance from the cluster center (highest similarity) to obtain matching information.

[0101] Specifically, obtaining matching information based on each of the distance information includes:

[0102] Selecting target distance information that meets preset distance information from the distance information;

[0103] Based on the target distance information, matching information is obtained.

[0104] In practical application, the preset distance information refers to the minimum distance, that is, the minimum distance is selected from the distance information of each step processing information as the target distance information; each step processing information is divided into clusters corresponding to each target distance information to obtain matching information.

[0105] Step S30: Based on the matching information, the processing information of each work step is input into the corresponding preset neural network model to obtain the estimated tool processing time value of each work step.

[0106] In actual application, after dividing the processing information of each work step into the corresponding cluster and obtaining the matching information, principal component analysis is performed on the numerical data in the processing information of each work step, and the variables obtained by the principal component analysis are input into the corresponding preset neural network model to obtain the estimated tool processing time value of each work step.

[0107] Step S40: Obtain tool demand information based on the tool estimated processing time value of each work step and its corresponding tool life time value.

[0108] It should be noted that the tool life time value of each process step can be obtained by using the tool life prediction method based on particle swarm parameter optimization in the prior art, so no further details will be given here.

[0109] Specifically, the above steps include:

[0110] Based on the estimated tool processing time value of each work step and its corresponding tool life time value, the demand coefficient of each work step is obtained;

[0111] Based on the demand coefficient of each process step, tool demand information is obtained.

[0112] In practical application, the demand coefficient is expressed as follows:

[0113] ;

[0114] Among them, Q is the demand coefficient.

[0115] In practical applications, the demand coefficients of each process step are sorted and summarized to obtain tool demand information.

[0116] Step S50: Obtain tool resource prediction results based on the tool demand information.

[0117] In order to facilitate statistics and calculations, the above steps include: summing the demand coefficients of the same tool in the tool demand information to obtain a tool resource prediction result.

[0118] In actual application, the work step processing information using the same tool in the tool demand information is screened, and the demand coefficients corresponding to the work step processing information using the same tool are summed to obtain the tool resource prediction result.

[0119] Specifically, the calculation relationship of the tool resource prediction result is as follows:

[0120] ;

[0121] in:

[0122] S is the tool resource prediction result, that is, the tool demand required to process part i in j steps;

[0123] It represents the tool demand required for machining the i-th part in the j-th step, where Q represents the demand coefficient, that is, the required tool demand; i represents the number of parts, and j represents the number of steps;

[0124] It represents the sum of the tool requirements for machining the i-th part from the 1st step to the jth step; The i in the table represents the number of parts, and the j represents the number of process steps; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j;

[0125] It represents the sum of the tool requirements required to process the first part to the i-th part from the first step to the j-th step; Here, i represents the number of parts, which is a natural number, such as 0, 1, 2, 3, ...i; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j; It represents the value obtained by summing up the tool requirements for machining i parts in j steps and rounding it up.

[0126] It should be noted that when summing the demand coefficients corresponding to the processing information of the same work step of the tool used, when the estimated processing time value of the tool is less than or equal to the tool life time value, the demand coefficients are directly added. ≤1; when the estimated tool processing time value is greater than the tool life time value, a new tool is required for processing. Represents round up.

[0127] In summary, the intelligent workshop tool resource prediction method described in the embodiment of the present application obtains the estimated tool processing time value of each work step by using the processing information of each work step in the production plan information as the input of the preset neural network model; then calculates the tool demand information based on the estimated tool processing time value of each work step and its corresponding tool life time value, and finally obtains the tool resource prediction result based on the tool demand information. Compared with the existing prediction method, the embodiment of the present application does not rely on historical tool demand data, but accurately predicts the estimated tool processing time value based on the preset neural network model, and integrates the tool life time value, so that the tool resource prediction result is closer to the actual demand, and the required tool demand quantity under a given production plan is obtained. Even in the face of major changes in the production plan, the accuracy of the tool resource prediction can be guaranteed, which is suitable for a variety of different production plans.

[0128] Based on the same inventive idea, Figure 5 As shown, the embodiment of the present application also provides a tool resource prediction device for an intelligent workshop, comprising:

[0129] The first acquisition module is used to obtain production plan information; based on the production plan information, a part processing information set is obtained; wherein the part processing information set includes a plurality of work step processing information;

[0130] A second acquisition module is used to classify and process the processing information of each step to obtain matching information;

[0131] A third obtaining module is used to input the processing information of each of the working steps into the corresponding preset neural network model based on the matching information to obtain the tool estimated processing time value of each working step;

[0132] A fourth obtaining module is used to obtain tool demand information based on the tool estimated processing time value of each working step and the corresponding tool life time value;

[0133] The target acquisition module is used to obtain the tool resource prediction result based on the tool demand information.

[0134] It should be noted that each module in the intelligent workshop tool resource prediction device in this embodiment corresponds one-to-one to each step in the intelligent workshop tool resource prediction method in the aforementioned embodiment. Therefore, the specific implementation method and technical effects achieved by this embodiment can refer to the implementation method of the aforementioned intelligent workshop tool resource prediction method, which will not be repeated here.

[0135] In addition, in one embodiment, the embodiment of the present application also provides a computer program product, which implements the above method when being processed.

[0136] In addition, in one embodiment, an embodiment of the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in the aforementioned embodiment are implemented.

[0137] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0138] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0139] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0140] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0141] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0142] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0144] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for predicting tool resources in an intelligent workshop, characterized in that: The following steps are involved: Acquire production plan information; based on the production plan information, obtain a part processing information set; wherein the part processing information set includes a plurality of work step processing information; Classify and process each of the processing step information to obtain matching information; the classifying and processing each of the processing step information to obtain matching information includes: classifying and processing each of the processing step information to obtain cluster center information; based on the cluster center information, obtaining distance information of each of the processing step information; selecting target distance information that meets preset distance information from the distance information; dividing each of the processing step information into clusters corresponding to each target distance information to obtain matching information; Based on the matching information, the processing information of each of the work steps is respectively input into the corresponding preset neural network model to obtain the estimated tool processing time value of each work step; the training method of the preset neural network model includes: obtaining historical sample data information including multiple sample data, performing cluster analysis processing on each of the sample data, obtaining multiple initial cluster center information, and obtaining a first cluster by performing a first cluster analysis processing on each of the sample data based on the initial cluster center information; based on the first cluster, obtaining first cluster center information; based on the first cluster, performing a second cluster analysis processing on the first cluster to obtain multiple sample clusters; obtaining multiple initial neural network models; training each of the initial neural network models based on each of the sample clusters to obtain multiple preset neural network models; Based on the estimated tool processing time value of each work step and its corresponding tool life time value, the tool demand information is obtained; Based on the tool demand information, a tool resource prediction result is obtained; the calculation relationship of the tool resource prediction result is as follows: ; in: S is the tool resource prediction result, that is, the tool demand required to process part i in j steps; It represents the tool demand required for machining the i-th part in the j-th step, where Q represents the demand coefficient, that is, the required tool demand; i represents the number of parts, and j represents the number of steps; It represents the sum of the tool requirements for machining the i-th part from the 1st step to the jth step; The i in the table represents the number of parts, and the j represents the number of process steps; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j; It represents the sum of the tool requirements required to process the first part to the i-th part from the first step to the j-th step; Here, i represents the number of parts, which is a natural number, such as 0, 1, 2, 3, ...i; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j; It represents the value obtained by summing up the tool requirements for machining i parts in j steps and rounding it up.

2. The intelligent workshop tool resource prediction method according to claim 1, characterized in that: Before classifying the processing information of each work step to obtain matching information, the method further includes: performing data cleaning on the production plan information.

3. A tool resource prediction device for an intelligent workshop, characterized in that: For implementing the method according to any one of claims 1 to 2, the device comprises: The first acquisition module is used to obtain production plan information; based on the production plan information, a part processing information set is obtained; wherein the part processing information set includes a plurality of work step processing information; The second acquisition module is used to classify and process each of the process step processing information to obtain matching information; the classifying and processing each of the process step processing information to obtain matching information includes: classifying and processing each of the process step processing information to obtain cluster center information; based on the cluster center information, obtaining distance information of each of the process step processing information; selecting target distance information that meets preset distance information from the distance information; and dividing each of the process step processing information into clusters corresponding to each target distance information to obtain matching information; The third acquisition module is used to input the processing information of each work step into the corresponding preset neural network model based on the matching information, so as to obtain the estimated tool processing time value of each work step; the training method of the preset neural network model includes: obtaining historical sample data information including multiple sample data, performing cluster analysis processing on each sample data, obtaining multiple initial cluster center information, and obtaining a first cluster by performing a first cluster analysis processing on each sample data based on the initial cluster center information; obtaining first cluster center information based on the first cluster; performing a second cluster analysis processing on the first cluster based on the first cluster center information to obtain multiple sample clusters; obtaining multiple initial neural network models; and training each initial neural network model based on each sample cluster to obtain multiple preset neural network models. A fourth obtaining module is used to obtain tool demand information based on the tool estimated processing time value of each working step and the corresponding tool life time value; The target acquisition module is used to obtain a tool resource prediction result based on the tool demand information; the calculation relationship of the tool resource prediction result is as follows: ; in: S is the tool resource prediction result, that is, the tool demand required to process part i in j steps; It represents the tool demand required for machining the i-th part in the j-th step, where Q represents the demand coefficient, that is, the required tool demand; i represents the number of parts, and j represents the number of steps; It represents the sum of the tool requirements for machining the i-th part from the 1st step to the jth step; The i in the table represents the number of parts, and the j represents the number of process steps; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j; It represents the sum of the tool requirements required to process the first part to the i-th part from the first step to the j-th step; Here, i represents the number of parts, which is a natural number, such as 0, 1, 2, 3, ...i; Where j represents the number of working steps, which is a natural number, 0, 1, 2, 3, ... j; It represents the value obtained by summing up the tool requirements for machining i parts in j steps and rounding it up.

4. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 2.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 2.