A digital factory consumables management system and method
By installing multiple sensors on CNC machine tools and constructing a fuzzy Bayesian neural network model, the replacement time point of CNC tools is predicted, and the best replacement tool is selected based on production completion and inventory status, thus solving the low efficiency of tool management in the existing technology. and resource waste issues, achieving a more efficient production and maintenance process.
Patent Information
- Application Number
- CN202410944237.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Existing CNC tool management technology cannot effectively predict the timing of replacement, resulting in premature or late replacement, increased production downtime and resource waste, and cannot adapt to the status of inventory tools and the completion of production links, resulting in frequent replacement and production interruption.
Install multiple sensors on CNC machine tools to monitor tool status in real time, construct a fuzzy Bayesian neural network model to predict replacement time points, select the best replacement tool based on production completion and inventory tool status, and perform image scanning to determine the maintenance sequence.
It provides a more accurate prediction of tool replacement timing, avoids waste of resources and decrease in production efficiency, realizes the optimal configuration and utilization of CNC tool resources, extends tool life and reduces maintenance costs.
Smart Images

Figure CN118469268B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of numerical control tool management, and more specifically, to a digital factory consumables management system and method. Background Art
[0002] Digital factory consumables management refers to the process of using digital technology and information systems to manage consumables (such as raw materials, parts, tools, etc.) within the factory. This management method usually involves the use of technologies such as the Internet of Things (sensor equipment), big data analysis, and artificial intelligence to achieve goals such as real-time monitoring of consumables, inventory optimization, supply chain coordination, and predictive maintenance. Among them, CNC tool management is an important part of the digital factory consumables management system. Its main purpose is to effectively manage the various CNC tools used in the factory to ensure the full utilization, maintenance, and updating of CNC tools during the production process.
[0003] At present, in the management of CNC tools in ongoing production, the staff usually replaces the tools when there is an obvious fault in the CNC tools. When the CNC tools are replaced after an obvious fault, not only will the additional downtime be increased, but also because the staff cannot adapt the status (degree of wear, etc.) of the inventory tools to the completion of their corresponding production links, if the tools with lower wear and better condition are replaced when the production completion is high, it may cause the occupation and waste of tool resources. If the tools with higher wear and worse condition are replaced when the production completion is low, it may lead to frequent replacement of CNC tools in the future, resulting in continuous interruption of production.
[0004] In order to solve the above defects, a technical solution is now provided. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art, the embodiments of the present invention provide a digital factory consumables management system and method to solve the problems raised in the above-mentioned background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A digital factory consumables management method comprises the following steps:
[0008] Step S1, installing multiple sensors on the CNC machine tool to monitor the use status of the CNC tool in real time and store the monitoring data in a database;
[0009] Step S2, retrieving the usage status data of the CNC tool from the database, and constructing a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and generating a replacement prompt signal for the CNC tool at the replacement time point;
[0010] Step S3, when a CNC tool replacement prompt signal is generated, the best tool in stock is selected for replacement in combination with the production completion degree of the current link and the status information of the tool in stock;
[0011] Step S4, performing image scanning on the replaced NC tool, and determining the maintenance sequence of the NC tool according to the scanned image information and the importance of the NC tool.
[0012] In a preferred embodiment, in step S2, a fuzzy Bayesian neural network model is constructed according to the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and the following steps are also included:
[0013] Step S201, obtaining sample data to determine input and output variables;
[0014] The temperature, vibration and current data of the CNC tool during operation are obtained as input variables, and the replacement time of the CNC tool is used as the output variable;
[0015] Step S202, establishing a fuzzy Bayesian neural network model;
[0016] Step S203, using the trained model to make real-time predictions on the CNC tool in production, if the actual working time of the CNC tool is greater than or equal to the predicted CNC tool replacement time point, a CNC tool replacement prompt signal is generated.
[0017] In a preferred embodiment, in step S3, when a CNC tool replacement reminder signal is generated, the production completion degree of the current link and the status information of the inventory tools are combined, and the production completion degree is quantified by the link completion progress value. The status information of the inventory tools includes the tool edge wear percentage, the cutting speed deviation abnormality coefficient, and the average adaptation completion degree.
[0018] In a preferred embodiment, a stock tool screening model is established based on the link completion progress value, tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptation completion degree, and a stock tool screening index is obtained by weighted summation calculation. ;
[0019] The existing inventory tools are screened according to the inventory tool screening model, and the best inventory tools suitable for the current production completion are obtained, and the best inventory tools = max(ZU).
[0020] In a preferred embodiment, in step S4, an image scan is performed on the replaced CNC tool, and the maintenance order of the CNC tool is determined based on the scanned image information and the importance of the CNC tool, wherein the image information includes the proportion of tool edge irregularities, and the importance of the CNC tool is quantified by the number of production links.
[0021] In a preferred embodiment, a CNC tool maintenance model is established according to the proportion of tool edge irregularities and the number of production links, and a CNC tool maintenance coefficient is obtained by weighted sum calculation;
[0022] According to the CNC tool maintenance model, the CNC tools replaced in the same batch are evaluated, and the CNC tools are sorted from large to small according to the CNC tool maintenance coefficient generated corresponding to each CNC tool, a CNC tool maintenance table is generated, and the maintenance order of the CNC tools is determined.
[0023] In a preferred embodiment, a digital factory consumables management system includes a CNC tool monitoring module, a data prediction module, a replacement decision module, and a maintenance management module, and there is a signal connection between the modules;
[0024] CNC tool monitoring module, which is used to install multiple sensors on CNC machine tools, monitor the use status of CNC tools in real time, and store the monitoring data in the database;
[0025] The data prediction module is used to retrieve the usage status data of the CNC tool from the database, and to construct a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and to generate a replacement prompt signal for the CNC tool at the replacement time point;
[0026] A replacement decision module is used to select the best inventory tool for replacement when a CNC tool replacement prompt signal is generated, combining the production completion degree of the current link and the status information of the inventory tool;
[0027] The maintenance management module is used to scan the replaced CNC tools and determine the maintenance sequence of the CNC tools based on the scanned image information and the importance of the CNC tools.
[0028] Technical effects and advantages of the present invention:
[0029] 1. The present invention monitors the use status of CNC tools in real time by installing multiple sensors on CNC machine tools, and predicts the replacement time of CNC tools based on the fuzzy Bayesian neural network model constructed according to the monitoring data, providing a more accurate prediction of the timing of tool replacement. It can more effectively guide the tool replacement decision at the production site, avoid the waste of resources and the decline in production efficiency caused by replacing tools too early or too late, and when generating the tool replacement prompt signal, it can intelligently select the best CNC tool for replacement based on the completion of the current production link and the status information of the inventory tools, improve production efficiency, achieve the optimal configuration and utilization of CNC tool resources, reduce resource waste, scan the replaced CNC tools for image storage, and determine the maintenance order of the tools based on the scanned image information and the importance of the CNC tools, optimize the tool maintenance and repair process, extend the tool life, and reduce maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;
[0031] Figure 1 This is a schematic diagram of the structure of the method of Example 1 of the present invention;
[0032] Figure 2 Schematic diagram of the structure of the system of Example 2 of the present invention. DETAILED DESCRIPTION
[0033] 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 only 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. Example 1
[0034] Figure 1 The present invention provides a digital factory consumables management method, comprising the following steps:
[0035] Step S1, installing multiple sensors on the CNC machine tool to monitor the use status of the CNC tool in real time and store the monitoring data in a database;
[0036] Step S2, retrieving the usage status data of the CNC tool from the database, and constructing a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and generating a replacement prompt signal for the CNC tool at the replacement time point;
[0037] Step S3, when a CNC tool replacement prompt signal is generated, the best tool in stock is selected for replacement in combination with the production completion degree of the current link and the status information of the tool in stock;
[0038] Step S4, scanning the replaced CNC tool, and determining the maintenance order of the CNC tool according to the scanned image information and the importance of the CNC tool;
[0039] In step S1, a variety of sensors are first installed on the CNC machine tool. The sensors are arranged and installed according to the monitoring requirements to monitor the use status of the CNC tool in real time. The types of these sensors include but are not limited to temperature sensors, vibration sensors, current sensors, etc. Each sensor has its specific monitoring function, as follows:
[0040] Temperature sensor: monitors the temperature changes of CNC tools during operation. Abnormal temperature changes may indicate problems such as wear of CNC tools and abnormal processing conditions.
[0041] Vibration sensor: monitors the vibration changes of CNC tools during operation. Abnormal vibration changes may indicate uneven wear of CNC tools or unstable processing conditions.
[0042] Current sensor: measures the current consumption of the CNC tool during operation. Abnormal current changes can indicate increased friction between the CNC tool and the workpiece, or increased wear of the CNC tool.
[0043] Through the monitoring of the above sensors, various working status data of the CNC tool are collected in real time during operation, including temperature, vibration, and current data during operation. After collection, the monitored working status data are transmitted to the database for storage;
[0044] Step S2, retrieves the usage status data of the CNC tool from the database, and constructs a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and also includes the following steps:
[0045] Step S201, obtaining sample data to determine input and output variables;
[0046] The temperature, vibration and current data of the CNC tool during operation are obtained as input variables, and the replacement time of the CNC tool is used as the output variable;
[0047] It should be noted that the replacement time point of the CNC tool can be obtained by subtracting the time point when the CNC tool has an obvious fault and the lead time threshold range. The lead time threshold range is set by technical personnel in this field taking into account actual production needs, the time spent by staff to replace CNC tools, and the screening time of CNC tools.
[0048] Sample data is collected for the data detected by the sensor. The sample data collected is one year of historical monitoring data in the database, including 365 sets of sample data;
[0049] Eighty percent of the collected sample data is used as training data, and twenty percent is used as test sample data.
[0050] In order to avoid excessive errors in the neural network and prevent local neurons from reaching an oversaturated state, the sample data is normalized so that the sample data are all between 0 and 1. The network output vector is denormalized to obtain the original output value; the normalization formula for sample data is: , where is the normalized sample data, is the ratio of the original sample data to the minimum value of the original sample data, It is the ratio of the maximum value of the original sample data to the minimum value of the original sample data;
[0051] After normalization, we get the training sample set: ,in Represents temperature data, Represents vibration data, Indicates current data, Indicates the time point of CNC tool replacement, n is the collection of 365 sets of data, that is, n=365;
[0052] Step S202, establishing a fuzzy Bayesian neural network model;
[0053] The neural network model used to predict the time point of CNC tool replacement consists of an input layer, a hidden layer, and an output layer; the input layer consists of a set of temperature data, vibration data, and current data, with a total of 15 neuron nodes, and the hidden layer is determined by an empirical formula; the output layer is the CNC tool replacement time point as the prediction result; the hidden layer is determined by an empirical formula, and the empirical formula is , where G is the number of neurons in the hidden layer, h is the number of input neurons in the input layer, m is the number of output neurons in the output layer, and a is an empirical parameter, usually an adjustment factor or constant, which is used to fine-tune the number of nodes in the hidden layer based on the empirical formula. The value range of a is a constant between 1 and 10;
[0054] The fuzzy Bayesian neural network prediction model is established, and the activation function, training function, learning function and neural network performance index of the model are determined; the activation function selects the sigmoid function, that is, The training function selects the trainlm function, the learning function selects the Bayesian function, and the neural network performance indicators are: , where n is the number of samples, i.e., 365 sets of sample data collected. represents the input vector, represents the weight component, Represents the expected output target value, i={1,2,3...n}.
[0055] Pre-training process: through the pre-training function trainlm, set the training target, training steps, training error accuracy, and select the optimal number of hidden layer neurons based on the results;
[0056] Create a feed-forward neural network:
[0057] net=newff(PR,[S1,S2...SN1],{TF1,TF2...TFN1},BTF,BLF,PF)wherein, the vector elements range from 1 to N1; net is a newly created neural network; PR is a matrix consisting of the maximum and minimum values of the network input elements; [S1,S2...SN1] represents the number of neurons in the hidden layer and output layer of the network; {TF1,TF2...TFN1} represents the activation function of the hidden layer and output layer, which is the sigmod function; BTF is the training function of the network, which is the trainlm function; BLF is the weight learning function of the network, which is the Bayesian function; PF is the performance function, which defaults to the "mse" function;
[0058] Create a neural network weight set: The weight set that affects the accuracy and generalization ability of the neural network operation is represented by ω, that is, ,in, represents the weight component, n is 365 sets of data collected, that is, n=365;
[0059] Create a weighted judgment set: Use the improved expert scoring method to fuzzify the weights of the neural network. Experts first score without communication, sort the scoring results from large to small, and the first and last experts negotiate and score again, re-rank, and so on, until the scoring is completed. The judgment set is represented by V, that is, ,in, Indicates the importance of the weight component, n is 365 sets of data collected, that is, n=365;
[0060] Perform expert scoring: Use expert scoring method to fuzzify the weights of neural network;
[0061] Defuzzification: The weighted average method is used for defuzzification to obtain the prior probability of the neural network weights. The formula is: , where represents the prior probability of the neural network weights, represents the number of judges, It represents the possible judgment results made by the judges, n is 365 sets of data collected, that is, n=365;
[0062] Determine the likelihood function: Assume the expected output target value is generated under Gaussian white noise, and the likelihood function is ,in, is the normalization factor, γ is the hyperparameter; Represents the error function; the posterior probability of determining the weight is (prior probability formula * likelihood function) / sample distribution constant, the specific expression is as follows , where i = (1, 2, 3, ..., n), j = (1, 2, 3, ..., n), is the error function, ,p(D) represents the sample distribution constant;
[0063] A training sample set D is randomly selected to train the fuzzy Bayesian neural network prediction model, and the weights of the input layer, hidden layer and output layer are determined by fuzzy knowledge and Bayesian function. The actual output and expected output of the output layer are judged by the training sample data to see whether they meet the neural network performance index requirements; if the requirements are not met, the number of neurons in the hidden layer is appropriately changed, and the weights of the input layer, hidden layer and output layer are determined again by fuzzy knowledge and Bayesian function. The actual output and expected output of the output layer are judged by the training sample data to see whether they meet the neural network performance index requirements (specific performance indicators include accuracy, recall rate, F1 value, etc.); if the requirements are met, the training ends, otherwise the training continues until the neural network performance index requirements are met; thus, a trained model is obtained.
[0064] Step S203, using the trained model to make real-time predictions on the CNC tools in production. If the actual working time of the CNC tools is greater than or equal to the predicted CNC tool replacement time point, a CNC tool replacement prompt signal is generated to issue an early warning before the CNC tools have obvious faults, prompting the staff to make early arrangements for the replacement of the CNC tools.
[0065] When a CNC tool replacement prompt signal is generated, due to the different qualifications of the staff, it is impossible to adapt the status of the inventory tool (for example, the degree of wear, etc.) to the completion of the corresponding production link, which may cause the occupation and waste of tool resources or continuous interruption of production. Therefore, in step S3, the best inventory tool is selected for replacement in combination with the production completion of the current link and the status information of the inventory tool, which also includes the following steps:
[0066] The production completion degree refers to the current completion progress of the production link that the CNC tool that needs to be replaced is responsible for. The production completion degree is measured by the link completion progress value. To quantify, its calculation expression is as follows ,in Indicates the number of completed workpieces in the production process that the CNC tool that needs to be replaced is responsible for. Indicates the total number of workpieces that need to be completed in the production link that the CNC tool that needs to be replaced is responsible for. The higher the production completion degree, that is, the greater the link completion progress value, the CNC tools with relatively high wear and relatively poor condition should be replaced first. The lower the production completion degree, that is, the smaller the link completion progress value, the CNC tools with relatively low wear and relatively good condition should be replaced first.
[0067] It should be noted that in the calculation process of the progress value of the link completion, , Including but not limited to the number of workpieces, for example, the time to complete the link, etc.;
[0068] The status information of inventory tools is shown by the percentage of tool edge wear. , cutting speed deviation abnormal coefficient , average adaptation completion To measure; it should be noted that the status information of the inventory tools includes but is not limited to the tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptation completion;
[0069] The tool edge wear percentage refers to the ratio between the current tool edge size of the stock tool and the original standard size. It is used to quantify the degree of wear of the stock tool edge. Use a suitable measuring tool (such as a micrometer or microscope) to measure the size of the stock tool edge. For straight tools, the width or thickness of the tool edge can be measured; for rotating tools (such as milling cutters), the diameter or radius of the edge can be measured, and the original size of the tool can be obtained from the tool specification table. The tool edge wear percentage can be calculated by the following expression ,in Indicates the measured tool edge size, Indicates the original size;
[0070] The cutting speed deviation abnormality coefficient is an indicator used to measure the abnormal cutting speed of the inventory tool in the historical production tasks. It can be calculated based on the historical usage data of the inventory tool. It is used to evaluate the stability and reliability of the inventory tool in the production tasks and reflect the status of the inventory tool. The lower the cutting speed abnormality coefficient, the better the status of the inventory tool, and it is more suitable for production tasks with low production completion.
[0071] The logic for obtaining the cutting speed deviation abnormal coefficient is as follows:
[0072] Obtain the cutting speed data of the inventory tools in the historical production tasks, including the set value of the cutting speed and the measured value of the actual cutting speed in each production task, and calculate the cutting speed deviation value based on the set value and the measured value, and mark the cutting speed deviation value as ; Calculate the average cutting speed deviation value based on the cutting speed deviation value , the expression is as follows , where p represents the order number of the cutting speed deviation value under each production task, p={1,2,...,q}, q is a positive integer; the standard deviation of the cutting speed deviation value BZ is calculated according to the average cutting speed deviation value, and the expression is as follows , the cutting speed deviation anomaly coefficient is calculated based on the average cutting speed deviation value and the cutting speed deviation value standard deviation. The expression is as follows ;
[0073] The average adaptation completion is used to measure the usage of the inventory tools that need to be replaced in the historical production tasks. It can be calculated from the usage records of the historical production tasks. The expression is as follows: ,in It represents the production progress value that the inventory tool can complete from the start of production to the time when the failure occurs in the historical production task. The expression is as follows , Indicates the number of workpieces that the inventory tool has completed in the historical production tasks from the start of production to the time of failure. represents the total number of workpieces that need to be completed in the production links that the inventory tool is responsible for in the historical production tasks, z represents the sequence number of the production progress value of each production task of the inventory tool in the historical production tasks, z={1,2,...,b}, b is a positive integer;
[0074] According to the current production completion and the status information of the inventory tools, the inventory tools are screened and the best inventory tools suitable for different production completion are selected, as follows:
[0075] The obtained link completion progress value, tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptation completion degree are linearly normalized and mapped to the interval [0,1], and the formula is: In the formula, is the normalized value, collectdata is the value of the original data point that needs to be normalized, MinValue is the smallest value in the data set, and MaxValue is the largest value in the data set.
[0076] It should be noted that the normalization formula given in this embodiment is a general formula and does not involve the data information obtained by the digital factory consumables management system of this application. The process of normalizing the obtained link completion progress value, tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptation completion degree is consistent with the general formula and will not be repeated here.
[0077] According to the completion progress value of the link, the proportion of tool edge wear, the cutting speed deviation abnormal coefficient, and the average adaptation completion degree, the inventory tool screening model is established to generate the inventory tool screening index ZU, which is based on the following expression ,in Respectively The weight factor of , the specific value can be set according to the actual situation;
[0078] It should be noted that the weight factor It is used to balance the impact of tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptability on the final inventory tool selection.
[0079] The existing inventory tools are screened according to the inventory tool screening model, and the best inventory tools suitable for the current production completion are obtained, and the best inventory tools = max(ZU).
[0080] After selecting the best inventory tool, update the status of the selected inventory tool and mark it as "pending" to ensure the accuracy of inventory data;
[0081] Send a notification to the relevant staff through the factory's internal communication system (such as email, internal messaging platform, SMS or broadcast system). The notification should include detailed information about the inventory tools (such as type, specification, location, etc.), as well as the time limit and location for claiming. Before the staff arrives, ensure that the selected inventory tools have been taken out of the inventory and placed in the designated claim area;
[0082] When the staff arrives, guide them to complete the claiming process and register the use information of the inventory tools, including the name of the person who uses them, the date of use, etc.
[0083] After the claim is successful, the staff will replace the CNC tool that needs to be replaced, and use the image scanning equipment to scan the replaced CNC tool in detail, and determine the maintenance order of the CNC tool based on the scanned image information and the importance of the CNC tool, which includes the following steps:
[0084] Image information includes the proportion of tool edge irregularities ;
[0085] The tool edge abnormal pattern ratio is used to measure the ratio of abnormal patterns on the edge of the replaced CNC tool to the total edge length. In CNC tools, due to long-term use or inappropriate processing conditions, abnormal patterns may appear on the edge of the tool, which will affect the performance and life of the tool. Therefore, by detecting the ratio of tool edge abnormal patterns, it can help determine the health status of the tool and the maintenance sequence. The tool edge abnormal pattern ratio can be calculated by the following formula ,in Indicates the total abnormal line length, Indicates the total length of the tool edge;
[0086] It should be noted that the detection of abnormal lines on the edge of the tool includes the following steps: preprocessing the image, including denoising, contrast enhancement, edge sharpening and other operations to improve the visibility of abnormal lines; using the edge detection algorithm to detect abnormal lines on the CNC tool in the image, and identifying the abnormal line area by checking the pixel value, edge continuity, shape and size and other features, and extracting features from the identified abnormal line area, that is, the length of the abnormal line on the edge.
[0087] The importance of CNC tools is determined by the number of production links To quantify, the number of production links refers to the number of production links that the CNC tool is responsible for in the entire production task, that is, the CNC tool may be responsible for multiple production links in the entire production task. The more production links the CNC tool is responsible for, the more important the CNC tool is, and the higher the priority of the CNC tool for maintenance. The number of production links that the CNC tool is responsible for in the entire production task can be obtained from the production task plan.
[0088] Linear normalization is performed on the obtained tool edge irregularity ratio and the number of production links;
[0089] It should be noted that the linear normalization of the tool edge abnormal pattern ratio and the number of production links is consistent with the linear normalization method of the above-mentioned link completion progress value, tool edge wear ratio, cutting speed deviation abnormal coefficient, and average adaptation completion, which will not be elaborated here;
[0090] Establish a CNC tool maintenance model based on the tool edge irregularity ratio and the number of production links, and generate a CNC tool maintenance coefficient , the expression based on which is as follows ,in The weight factors respectively represent the proportion of tool edge irregularities and the number of production links, and the specific values can be set according to the actual situation; the CNC tools replaced in the same batch are evaluated according to the CNC tool maintenance model, and the CNC tools are sorted from large to small according to the CNC tool maintenance coefficient generated for each CNC tool, and a CNC tool maintenance table is generated to determine the maintenance order of the CNC tools;
[0091] It should be noted that the higher the position of a CNC tool in the CNC tool maintenance table, the higher the maintenance priority;
[0092] After repair, the CNC tool needs to be stored again in the warehouse, including the following steps:
[0093] Before storage, the repaired CNC tools should be thoroughly cleaned and inspected to remove oil and debris from the surface;
[0094] Mark the repaired CNC tools and record relevant information, including the tool model, number, repair date, etc. This information is helpful for subsequent traceability and management;
[0095] Place the repaired CNC tools in the warehouse according to the established storage location. Labels or numbers can be used to identify each storage location for easy subsequent search and management.
[0096] Record the storage information of the repaired CNC tools, including the tool number, model, storage date, storage location and other information;
[0097] Update and maintain the inventory information of CNC tools according to the recorded CNC tool storage information, and update the inventory quantity and location information in time to ensure the accuracy and real-time nature of the inventory data;
[0098] The present invention monitors the use status of CNC tools in real time by installing multiple sensors on CNC machine tools, and predicts the replacement time of CNC tools based on the fuzzy Bayesian neural network model constructed based on the monitoring data, providing a more accurate prediction of the timing of tool replacement. It can more effectively guide the tool replacement decision at the production site, avoid the waste of resources and the decline in production efficiency caused by replacing tools too early or too late, and when generating a tool replacement prompt signal, it can intelligently select the best CNC tool for replacement based on the completion of the current production link and the status information of the inventory tools, improve production efficiency, achieve the optimal configuration and utilization of CNC tool resources, reduce resource waste, scan the replaced CNC tools for image storage, and determine the maintenance order of the tools based on the scanned image information and the importance of the CNC tools, optimize the tool maintenance and repair process, extend the tool life, and reduce maintenance costs. Example 2
[0099] This embodiment is an introduction to a digital factory consumables management system. Figure 2 As shown, it includes a CNC tool monitoring module, a data prediction module, a replacement decision module, and a maintenance management module, and there are signal connections between the modules;
[0100] CNC tool monitoring module, which is used to install multiple sensors on CNC machine tools, monitor the use status of CNC tools in real time, and store the monitoring data in the database;
[0101] The data prediction module is used to retrieve the usage status data of the CNC tool from the database, and to construct a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and to generate a replacement prompt signal for the CNC tool at the replacement time point;
[0102] A replacement decision module is used to select the best inventory tool for replacement when a CNC tool replacement prompt signal is generated, combining the production completion degree of the current link and the status information of the inventory tool;
[0103] The maintenance management module is used to scan the replaced CNC tools and determine the maintenance sequence of the CNC tools based on the scanned image information and the importance of the CNC tools.
[0104] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0105] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0106] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and method described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0108] In several embodiments provided in this application, it should be understood that the disclosed systems and methods may be implemented in other ways.
[0109] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A digital factory consumables management method, characterized by: The steps include: Step S1, installing multiple sensors on the CNC machine tool to monitor the use status of the CNC tool in real time, and storing the monitored use status data of the CNC tool in a database; Step S2, retrieving the usage status data of the CNC tool from the database, and constructing a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and generating a replacement prompt signal for the CNC tool at the replacement time point; Step S3, when a CNC tool replacement prompt signal is generated, the best tool in stock is selected for replacement in combination with the production completion degree of the current link and the status information of the tool in stock; Step S4, scanning the replaced CNC tool, and determining the maintenance order of the CNC tool according to the scanned image information and the importance of the CNC tool; In step S3, the production completion degree refers to the current completion progress of the production link that the CNC tool that needs to be replaced is responsible for; The status information of the inventory tools includes the percentage of tool edge wear , cutting speed deviation abnormal coefficient , average adaptation completion ; The production completion degree is determined by the progress value of the link completion To quantify, its calculation expression is as follows ,in Indicates the number of completed workpieces in the production process that the CNC tool that needs to be replaced is responsible for. Indicates the total number of workpieces that need to be completed in the production process that the CNC tool that needs to be replaced is responsible for; Complete the progress value according to the link , Tool edge wear ratio , cutting speed deviation abnormal coefficient , average adaptation completion Establish a stock tool screening model and obtain the stock tool screening index through weighted summation calculation ; The tool edge wear ratio can be calculated by the following expression: ,in Indicates the measured tool edge size, Indicates the original size; According to the average cutting speed deviation value The cutting speed deviation anomaly coefficient is calculated by using the cutting speed deviation standard deviation BZ , the expression is as follows ; Among them, the average cutting speed deviation value is calculated based on the cutting speed deviation value , the expression is as follows , the cutting speed deviation value is marked as , p represents the order number of the cutting speed deviation value under each production task, p={1,2,...,q}, q is a positive integer; the standard deviation of the cutting speed deviation value BZ is calculated according to the average cutting speed deviation value, and the expression is as follows ; Average adaptation completion It is used to measure the usage of inventory tools that need to be replaced in historical production tasks. The expression is as follows: ,in It represents the production progress value that the inventory tool can complete from the start of production to the time of failure in the historical production task. The expression is as follows , Indicates the number of workpieces that the inventory tool has completed in the historical production tasks from the start of production to the time when the failure occurs. Indicates the total number of workpieces that need to be completed in the production links that the inventory tool is responsible for in the historical production tasks, z represents the sequence number of the production progress value of each production task of the inventory tool in the historical production tasks, z={1,2,...,b}, b is a positive integer; According to the completion progress value of each link, the proportion of tool edge wear, the coefficient of abnormal deviation of cutting speed, and the average degree of adaptation, a stock tool screening model is established to generate a stock tool screening index ZU; The expression is as follows ,in Respectively The weight factor of the tool inventory is used; the existing tool inventory is screened according to the tool inventory screening model, and the best tool inventory suitable for the current production completion is obtained, and the best tool inventory = max(ZU).
2. A digital factory consumables management method according to claim 1, characterized in that: In step S2, a fuzzy Bayesian neural network model is constructed according to the usage status data of the CNC tool to predict the replacement time point of the CNC tool, which also includes the following steps: Step S201, obtaining sample data to determine input and output variables; The temperature, vibration and current data of the CNC tool during operation are obtained as input variables, and the replacement time of the CNC tool is used as the output variable; Step S202, establishing a fuzzy Bayesian neural network model; Step S203, using the trained model to make real-time predictions on the CNC tool in production, if the actual working time of the CNC tool is greater than or equal to the predicted CNC tool replacement time point, a CNC tool replacement prompt signal is generated.
3. A digital factory consumables management method according to claim 1, characterized in that: In step S4, the replaced CNC tool is image scanned, and the maintenance order of the CNC tool is determined according to the scanned image information and the importance of the CNC tool, wherein the image information includes the proportion of tool edge irregularities, and the importance of the CNC tool is quantified by the number of production links; The calculation expression of tool edge irregularity ratio is: ,in Indicates the total abnormal line length, Indicates the total length of the tool edge; The importance of CNC tools is determined by the number of production links To quantify the number of production links It refers to the number of production links that the CNC tool is responsible for in the entire production task.
4. A digital factory consumables management method according to claim 3, characterized in that: According to the proportion of tool edge irregularities and the number of production links Establish CNC tool maintenance model and generate CNC tool maintenance coefficient , the expression is as follows ,in The weight factors representing the proportion of tool edge irregularities and the number of production links respectively; According to the CNC tool maintenance model, the CNC tools replaced in the same batch are evaluated, and the CNC tools are sorted from large to small according to the CNC tool maintenance coefficient generated corresponding to each CNC tool, a CNC tool maintenance table is generated, and the maintenance order of the CNC tools is determined.
5. A digital factory consumables management system, used to implement a digital factory consumables management method as claimed in any one of claims 1 to 4, characterized in that: It includes CNC tool monitoring module, data prediction module, replacement decision module, and maintenance management module, and there are signal connections between the modules; CNC tool monitoring module, which is used to install multiple sensors on CNC machine tools, monitor the use status of CNC tools in real time, and store the monitoring data in the database; The data prediction module is used to retrieve the usage status data of the CNC tool from the database, and to construct a fuzzy Bayesian neural network model based on the usage status data of the CNC tool to predict the replacement time point of the CNC tool, and to generate a replacement prompt signal for the CNC tool at the replacement time point; A replacement decision module is used to select the best inventory tool for replacement when a CNC tool replacement prompt signal is generated, combining the production completion degree of the current link and the status information of the inventory tool; The maintenance management module is used to scan the replaced CNC tools and determine the maintenance sequence of the CNC tools based on the scanned image information and the importance of the CNC tools.
