Cutter state prediction method and device, equipment, storage medium and program product
By obtaining working current, torque and power information during machine tool processing, and using a pre-trained model to predict tool status, the problem of sensor data errors is solved, and more accurate tool status prediction and more efficient data processing are achieved.
Patent Information
- Application Number
- CN202411013535.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During machine tool processing, the tool status data collected by sensors are easily affected by factors such as machine tool vibration and heat dissipation, resulting in data errors and affecting the accuracy of tool status diagnosis. There is an urgent need for an accurate tool status prediction method that does not rely on external sensors.
By obtaining the working current, working torque and power information of the target machine tool when the tool to be predicted is in the load state, using the pre-trained tool state prediction model, calculate the distance between the spindle load data and the reference instance, and output the nearest K references instances and determine predicted tool status based on the historical status of these instances.
It improves the accuracy of tool status prediction, reduces data collection errors, and enhances the real-time response ability to machine tool working status. It is more efficient and accurate than sensor technology.
Smart Images

Figure CN118760883A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing, and in particular to a tool state prediction method, device, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] With the continuous advancement of sensor technology and signal processing technology, machine tool spindle tool status diagnosis technology has realized real-time monitoring and data analysis of tool status. These technologies can collect tool vibration, temperature, current and other parameters in real time, mainly through sensors and signal processing technology to collect and analyze tool vibration, temperature and other parameters, so as to determine whether the tool is in a normal state or broken or collapsed.
[0003] Since there are many complex factors in the machine tool processing process, these factors may cause errors or interference in the data collected by the sensor, which in turn affects the accuracy of tool state diagnosis. Therefore, there is an urgent need for a tool state determination method that does not collect data through external sensors to improve the accuracy of tool state prediction. Summary of the invention
[0004] Based on this, it is necessary to provide a tool state prediction method, device, computer equipment, computer readable storage medium and computer program product that can improve the accuracy of tool state prediction in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a tool state prediction method, comprising:
[0006] Obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set;
[0007] Using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance;
[0008] The predicted tool state corresponding to the predicted instance is obtained by using the historical state corresponding to the reference instance in which the same state mark appears most times among the K reference instances, so as to obtain the predicted tool state corresponding to the spindle load data.
[0009] In one embodiment, the training step of the tool state prediction model includes:
[0010] Acquire the full life cycle of multiple historical tools of the same type; the full life cycle includes at least one life node, the actual node data corresponding to one life node corresponds to the spindle load data of the tool for a workpiece processing cycle, and the full life cycle includes multiple life nodes of the historical tool from the initial processing of the workpiece to the scrapping;
[0011] Marking the status of the tool throughout its life cycle according to multiple historical states of the historical tool to obtain a spindle load data set; the status of the tool includes a normal tool, a chipped tool, and a broken tool;
[0012] Divide the spindle load data set into training samples and test samples, obtain the distance between the test sample and each training sample through the KNN model, and output the K training samples closest to the test sample;
[0013] Using the historical states corresponding to the training samples with the most occurrences of the same state mark among the K training samples, the predicted tool state corresponding to the test sample is obtained;
[0014] The predicted tool state of each test sample is compared and analyzed with the historical state of each test sample mark to obtain the prediction accuracy of the KNN model, and the model parameters are obtained based on the prediction accuracy, and the KNN model is configured with the model parameters to obtain the tool state prediction model.
[0015] In one embodiment, the distance is obtained in a variety of ways; K is an integer selected from a set of preset integer values;
[0016] The obtaining of model parameters based on the prediction accuracy includes:
[0017] Obtain the prediction accuracy corresponding to each of the distance acquisition methods corresponding to each of the K under multiple distance acquisition methods;
[0018] According to the prediction accuracy corresponding to each distance acquisition method and the value range of K, an evaluation curve of accuracy and K is constructed in the same coordinate system, and the curve with the highest average prediction rate and the smoothest curve interface is taken as the target curve. According to the target curve, the distance acquisition method is determined, and the value of K corresponding to the highest prediction accuracy in the target curve is determined;
[0019] The model parameters are obtained according to the determined distance acquisition method and the value of K.
[0020] In one embodiment, after obtaining the predicted tool state corresponding to the spindle load data, the method further includes:
[0021] According to the predicted tool state and the preset spindle load threshold, the remaining usage time of the tool to be predicted is obtained; the spindle load threshold is determined by the spindle load data corresponding to the historical tools and the quality of the historical processed workpieces, and the remaining usage time represents the remaining number of workpieces that can be processed by the tool to be predicted.
[0022] In one embodiment, after obtaining the spindle load data reported by the data acquisition device, the method further includes:
[0023] In the case where the spindle load data is characterized as a new file, obtaining tool number data contained in the spindle load data; the tool number data is a model of a tool, and the tool number data includes at least one tool number;
[0024] Obtaining from a database the tool number in use corresponding to the tool number data, obtaining historical spindle load data within a preset quantity range corresponding to the tool number, obtaining an average value of the historical spindle load data, and making a judgment based on a difference between the average value and the spindle load data and a preset value;
[0025] The spindle load data is marked according to the judgment result, and a tool number and tool usage time are generated according to the marking result; the marking result includes new tool processing or old tool processing;
[0026] The marking result, the tool number and the tool usage time are stored as supplementary spindle load data.
[0027] In one embodiment, the tool state prediction method further includes:
[0028] Displaying a data change curve according to the spindle load data, and displaying the predicted tool state;
[0029] And / or in response to user operation, displaying a data change curve corresponding to a historical tool selected by the user, and displaying a superimposed data change curve using the spindle load data and the data change curve corresponding to the historical tool.
[0030] In a second aspect, the present application also provides a tool state prediction device, comprising:
[0031] A data acquisition module is used to acquire spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set;
[0032] A distance acquisition module is used to obtain a prediction instance using the spindle load data, obtain the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and output K reference instances closest to the prediction instance;
[0033] The state prediction module is used to obtain the predicted tool state corresponding to the predicted instance by using the historical state corresponding to the reference instance with the most occurrences of the same state mark among the K reference instances, and obtain the predicted tool state corresponding to the spindle load data.
[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0035] Obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set;
[0036] Using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance;
[0037] The predicted tool state corresponding to the predicted instance is obtained by using the historical state corresponding to the reference instance in which the same state mark appears most times among the K reference instances, so as to obtain the predicted tool state corresponding to the spindle load data.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0039] Obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set;
[0040] Using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance;
[0041] The predicted tool state corresponding to the predicted instance is obtained by using the historical state corresponding to the reference instance in which the same state mark appears most times among the K reference instances, so as to obtain the predicted tool state corresponding to the spindle load data.
[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0043] Obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set;
[0044] Using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance;
[0045] The predicted tool state corresponding to the predicted instance is obtained by using the historical state corresponding to the reference instance in which the same state mark appears most times among the K reference instances, so as to obtain the predicted tool state corresponding to the spindle load data.
[0046] The above-mentioned tool state prediction method, device, computer equipment, computer-readable storage medium and computer program product obtain spindle load data based on the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state. By real-time acquisition of spindle load data associated with the tool to be predicted, it is possible to immediately respond to changes in the working state of the machine tool. The tool state prediction model is used to process the spindle load data, and the tool state can be accurately predicted. Compared with the use of sensors and signal processing technology to collect and analyze parameters such as vibration and temperature of the tool to determine the state of the tool, the sensor is easily affected or interfered by factors such as machine tool vibration and heat dissipation during the machine tool processing process, resulting in errors in the collected data. The present application is based on the spindle load data obtained from the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state. It is the direct working data of the collected machine tool, which improves the accuracy of data acquisition. In addition, compared with signal processing technology, the tool state prediction model using machine learning can process the collected data more efficiently and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0048] FIG1 is an application environment diagram of a tool state prediction method in one embodiment;
[0049] FIG2 is a schematic diagram of a process flow of a tool state prediction method in one embodiment;
[0050] FIG3 is a schematic diagram of a process for obtaining a tool state prediction model in one embodiment;
[0051] FIG4 is a schematic diagram of a flow chart of data processing and storage in one embodiment;
[0052] FIG5 is a schematic diagram of a flow chart of data processing and storage in another embodiment;
[0053] FIG6 is a graph showing an accuracy evaluation curve of a KNN model at different distances in one embodiment;
[0054] FIG7 is a block diagram of a tool state prediction device in one embodiment;
[0055] FIG. 8 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.
[0057] The tool state prediction method provided in the embodiment of the present application can be applied in the application environment shown in FIG1. The target machine tool 102 can communicate with the data acquisition device 104 through a local area network, the data acquisition device 104 can collect working data on the target machine tool 102, and the data acquisition device 104 communicates with the server 106 through the network. The data storage system can store data that the server 106 needs to process. The data storage system can be integrated on the server 106, or it can be placed on the cloud or other network servers. The server 106 obtains the spindle load data associated with the tool to be predicted reported by the data acquisition device 104; the spindle load data is obtained based on the working current, working torque and power information of the target machine tool 102 when the tool to be predicted is in a load state, and the target machine tool is a machine tool with the tool to be predicted; the server 106 obtains the prediction instance using the spindle load data, obtains the distance between the prediction instance and the reference instance in the tool state prediction model through the pre-trained tool state prediction model, and outputs the K reference instances closest to the prediction instance; the server 106 obtains the predicted tool state corresponding to the prediction instance using the historical state corresponding to the reference instance with the most occurrences of the same state mark in the K reference instances, and obtains the predicted tool state corresponding to the spindle load data. Among them, the tool state prediction model can be deployed in the server 106, and the server 106 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0058] In an exemplary embodiment, as shown in FIG2 , a tool state prediction method is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps S202 to S206 . Among them:
[0059] Step S202, obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device.
[0060] The target machine tool is a machine tool on which the tool to be predicted is set. The machine tool may be a CNC machine tool that uses a specific type of tool to perform workpiece processing operations.
[0061] Among them, the spindle load data is obtained based on the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state. For example, the collected working current is A, the working torque is B, and the power is C. The collected data A, B, and C can be processed and analyzed by the software algorithm in the machine tool to evaluate the load state of the spindle, thereby reducing the dimensions of the collected multiple data (A, B, C) to a single-dimensional spindle load data D, which is convenient for subsequent processing and analysis.
[0062] Among them, the data acquisition equipment may refer to electronic equipment and systems that can automatically monitor, collect, record and transmit data in the target machine tool, such as an edge PLC connected to the target machine tool, a monitoring and data acquisition system, etc.
[0063] Exemplarily, the target machine tool is provided with a tool to be predicted, the target machine tool is in working state and performs workpiece processing operations, the tool to be predicted is manipulated by the machine tool, and a spindle connected to the tool to be predicted generates a load. The target machine tool obtains the spindle load data according to the tool on the spindle being in a load working state, the working current, working torque and power information of the machine tool, and then the data acquisition device collects the spindle load data of the target machine tool and reports it to the server, and the server obtains the spindle load data reported by the data acquisition device.
[0064] Step S204, using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and the reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance.
[0065] The prediction instance may refer to constructing a feature vector using the spindle load data.
[0066] The reference instance may refer to a feature vector of a known tool state and corresponding spindle load data in a tool state model.
[0067] Here, K may be a positive integer greater than zero.
[0068] Here, the distance may refer to the Euclidean distance or other similarity measurement methods.
[0069] Exemplarily, the server constructs a feature vector for the spindle load data, and calculates the distance between the feature vector corresponding to the predicted instance and the feature vector corresponding to the reference instance through a pre-trained tool state model. Assuming K is 3, the three reference instances closest to the predicted instance are found.
[0070] Step S206, using the historical state corresponding to the reference instance with the most occurrences of the same state mark among the K reference instances, obtain the predicted tool state corresponding to the predicted instance, and obtain the predicted tool state corresponding to the spindle load data.
[0071] The historical state may refer to the tool state marked by the actual state of the reference instance corresponding to the processing period.
[0072] Exemplarily, the server checks the tool state tags of K reference instances, and determines the state with the most occurrences as the predicted tool state corresponding to the predicted instance, that is, the predicted tool state corresponding to the spindle load data is obtained. For example, K is 3, the state tags of the 3 reference instances are A, B, and B, and the state tag B appears twice, then the state tag B is determined as the predicted tool state.
[0073] In the above-mentioned tool state prediction method, the spindle load data is obtained according to the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state. By real-time acquisition of the spindle load data associated with the tool to be predicted, the working state change of the machine tool can be immediately responded to. The spindle load data is processed by the tool state prediction model, and the tool state can be accurately predicted. Compared with the use of sensors and signal processing technology to collect and analyze parameters such as vibration and temperature of the tool to determine the state of the tool, the sensor is easily affected or interfered by factors such as machine tool vibration and heat dissipation during the machine tool processing process, resulting in errors in the collected data. The present application is based on the spindle load data obtained according to the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state. It is the direct working data of the collected machine tool, which improves the accuracy of data acquisition. In addition, compared with signal processing technology, the tool state prediction model using machine learning can process the collected data more efficiently and accurately.
[0074] In an exemplary embodiment, as shown in FIG3 , the training step of the tool state prediction model includes:
[0075] Step S301, obtaining the full life cycle of multiple historical tools of the same type.
[0076] Among them, the full life cycle includes at least one life node. The actual node data corresponding to a life node corresponds to the spindle load data of the tool for a workpiece processing cycle. The full life cycle includes multiple life nodes of historical tools from the first processing of the workpiece to scrapping.
[0077] Exemplarily, for historical tool A, the spindle load data of each processing cycle is recorded from the first use to the final scrapping, and the server obtains all recorded spindle load data associated with historical tool A, that is, the entire life cycle of historical tool A.
[0078] Step S302 , marking the status of the entire life cycle of the tool according to multiple historical states of the historical tool to obtain a spindle load data set.
[0079] The tool status includes normal tool, chipped tool and broken tool. Chipping can refer to the phenomenon of local rapid damage of the tool edge, such as notches or cracks on the edge of the tool. Broken tool can refer to the complete breakage of the tool during the processing.
[0080] For example, historical tool A has 50 processing and recorded spindle load data, the historical status of tool A for the first 40 processings is a normal tool, the historical status of the 41st to 49th processings is a broken tool, and the historical status of the 50th processing is a broken tool, and the status is marked according to the above historical status. For another example, historical tool B has 60 processing records, of which the historical status of the first 52 processings is a normal status, and the historical status of the 53rd to 60th processings is a broken tool status.
[0081] Step S303, dividing the spindle load data set into training samples and test samples, obtaining the distance between the test sample and each training sample through the KNN model, and outputting the K training samples closest to the test sample.
[0082] The distance can be used to measure the similarity between the test sample and each sample in the training set. Specific distance acquisition methods, such as Euclidean distance, Manhattan distance, Chebyshev distance, cosine similarity, Mahalanobis distance and other distance measurement methods, can be determined according to data characteristics and the needs of actual problems, and are not specifically limited in this embodiment.
[0083] Step S304, using the historical state corresponding to the training sample with the most occurrences of the same state mark among the K training samples, to obtain the predicted tool state corresponding to the test sample.
[0084] Exemplarily, the server performs feature extraction on the spindle load data set and divides it into training samples and test samples according to a preset ratio. Each training sample is first input into the KNN model for training, and then the test sample is input into the KNN model. The distance between the test sample and each training sample is obtained through the KNN model, and the K training samples closest to the test sample are determined and output. The historical state corresponding to the training sample with the most times marked with the same state among the K training samples is used to obtain the predicted tool state corresponding to the test sample.
[0085] Step S305, compare and analyze the predicted tool state of each test sample with the historical state marked by each test sample to obtain the prediction accuracy of the KNN model, obtain model parameters based on the prediction accuracy, and configure the KNN model with the model parameters to obtain a tool state prediction model.
[0086] The model parameters may refer to distance algorithm parameters and K neighbor parameters of the KNN model.
[0087] Exemplarily, the server predicts 200 test samples through the KNN model to obtain 200 predicted tool states, compares and analyzes the historical states marked by the 200 test samples with the predicted tool states, and determines that the historical state marked by one test sample is inconsistent with the predicted tool state. The prediction accuracy of the KNN model is 199 / 200=0.995, and the target model parameters are obtained based on the prediction accuracy under different model parameters, or the target model parameters are determined by adjusting the model parameters to make the prediction accuracy reach the target value, and then the KNN model is configured by the target model parameters to obtain the tool state prediction model. In other words, the model parameters with the highest overall accuracy are judged by the accuracy under different model parameters, and used as the target model parameters.
[0088] In this embodiment, the status of the tool is marked by the spindle load data of the historical tool and divided into a training set and a test set. The optimal parameters of the model are determined by training the KNN model. The tool status prediction model is obtained by configuring the KNN model with the optimal parameters, and a tool status model with higher prediction accuracy can be obtained.
[0089] In an exemplary embodiment, there are multiple ways to obtain the distance; K is an integer selected from a set of preset integer values; in the above step S305, the model parameters are obtained based on the prediction accuracy, including:
[0090] Obtain the prediction accuracy of each distance acquisition method corresponding to each K under multiple distance acquisition methods; construct an evaluation curve of accuracy and K in the same coordinate system according to the prediction accuracy corresponding to each distance acquisition method and the value range of K, and take the curve with the highest average prediction rate and the smoothest curve interface as the target curve, determine the distance acquisition method according to the target curve, and determine the value of K corresponding to the highest prediction accuracy in the target curve; obtain the model parameters according to the determined distance acquisition method and the value of K.
[0091] Exemplarily, the distance acquisition method includes distance acquisition method A, distance acquisition method B, and distance acquisition method C. The server acquires the prediction accuracy A, prediction accuracy B, and prediction accuracy C corresponding to each K under distance acquisition method A, distance acquisition method B, and distance acquisition method C, and then in the same coordinate system, each K is used as the horizontal coordinate, and the prediction accuracy A of each K corresponding to distance acquisition method A is used as the vertical coordinate to construct curve A. Based on the same method, curve B and curve C can be obtained. Curve A, curve B, and curve C are collectively used as evaluation curves of K, and the vertical coordinate of each curve is averaged. The curve with the highest average value and the smoothest curve interface is used as the target curve. In actual applications, the evaluation curve and the average value can be displayed to relevant personnel, and the target curve is determined in response to the target curve selection operation of the relevant personnel, and then the distance acquisition method corresponding to the target curve is acquired, and the corresponding horizontal coordinate, that is, the value of the corresponding specific K, is determined according to the highest vertical coordinate in the target curve, that is, the highest prediction accuracy, and the acquired distance acquisition method and the determined K are used as model parameters.
[0092] In this embodiment, the optimal model parameters with the best model prediction accuracy and model prediction stability are determined by multiple distance acquisition methods and K within a preset value range. The KNN model parameter space can be fully explored, and the optimal solution to the tool state prediction problem can be found, which not only improves the accuracy of the tool state model prediction, but also ensures the stability and reliability of the tool state model in practical applications.
[0093] In an exemplary embodiment, after obtaining the predicted tool state corresponding to the spindle load data, the method further includes: obtaining the remaining usage time of the tool to be predicted according to the predicted tool state and a preset spindle load threshold.
[0094] Among them, the spindle load threshold is determined by the spindle load data corresponding to the historical tool and the quality of the historical processed workpieces, and the remaining usage time represents the remaining number of workpieces that can be processed by the tool to be predicted. In order to quantitatively judge the degree of tool wear, it is necessary to set a spindle load threshold. The preset spindle load threshold is determined based on the data of historical tools. It can be obtained by observing the change law of spindle load in the process of multiple tools from brand new to needing to be replaced, and combining the quality of workpieces processed by these tools to judge and obtain the spindle load threshold. If the tool status is in an abnormal state, resulting in a decrease in processing quality (such as dimensional deviation, increased surface roughness, etc.), then the spindle load data of the time period corresponding to these low-quality workpieces will be taken into account, and the load threshold can be defined more accurately. If the spindle load at a certain moment exceeds this threshold, it may mean that the tool is approaching the end of its service life. Specifically, the preset spindle load threshold can also be adjusted according to the predicted tool state, such as setting weight A, weight B, and weight C, where A is greater than B and greater than C. For the preset spindle load threshold M for the same model of tool, when the tool state is predicted to be normal, the corresponding spindle load threshold can be determined by the product of weight A and threshold M; when the tool state is predicted to be broken, the corresponding spindle load threshold can be determined by the product of weight B and threshold M; when the tool state is predicted to be broken, the corresponding spindle load threshold can be determined by the product of weight C and threshold M. In actual applications, when the tool state is predicted to be broken, the weight C can be set to 0, that is, the spindle load is greater than the spindle load threshold 0. At this time, the tool entity should be checked. If the tool is broken or the tool change conditions are met, the tool is changed, and the remaining usage time of this tool is also 0.
[0095] Exemplarily, the server determines a preset spindle load threshold corresponding to the predicted tool state based on the predicted tool state, and compares the spindle load data of the current tool to be predicted with the determined spindle load threshold. It can be determined how many workpieces the tool to be predicted can continue to process without affecting the processing quality, and the remaining number of machinable workpieces is used as the remaining usage time of the tool to be predicted.
[0096] In this embodiment, by predicting the tool status and the preset spindle load threshold, the remaining usage time of the tool to be predicted is obtained, and the tool can be replaced in time before the tool performance deteriorates to the point of affecting the processing quality, thereby avoiding quality problems of processed products caused by excessive wear of the tool, ensuring processing accuracy and consistency, and thus improving overall production efficiency and product quality. In addition, by reasonably setting the spindle load threshold, the timing of tool change can be accurately grasped, reducing unnecessary premature tool replacement, and while improving the tool life, it also avoids the scrapping of workpieces due to overdue use of the tool, thereby reducing raw material waste and tool consumption costs and improving resource utilization.
[0097] In an exemplary embodiment, as shown in FIG4 , after obtaining the spindle load data reported by the data acquisition device, the method further includes:
[0098] Step S401, when the spindle load data is characterized as a new file, obtaining tool number data included in the spindle load data.
[0099] The tool number data is the model of the tool, and the tool number data includes at least a unique tool number, which is used to distinguish a specific tool.
[0100] Among them, the new file may refer to the spindle load data whose corresponding file name is not stored in the server. The processing beat ID data can be compared to determine whether it is a new file. The processing beat ID may refer to a unique code used to identify the time periodic characteristics of a specific processing link or operation unit, which can be used to identify a section of processing data.
[0101] Exemplarily, the server intercepts data, namely, machining beat ID data, by traversing the file names in the folder corresponding to the spindle load data, and compares the data with the historical machining beat ID data stored in the server's database to determine whether there is a new file. When the machining beat ID data is different from the historical machining beat ID data, that is, the spindle load data is characterized as a new file, the tool number data contained in the spindle load data is obtained.
[0102] Step S402, obtain the tool number marked as in use corresponding to the tool number data from the database, obtain the historical spindle load data within a preset quantity range corresponding to the tool number, obtain the average value of the historical spindle load data, and make a judgment based on the difference between the average value and the spindle load data and the preset value.
[0103] Exemplarily, the historical spindle load data within a preset quantity range can be the historical spindle load data corresponding to 5 beat IDs, the preset value can be 10, the tool number marked as in use corresponding to the tool number data is obtained from the database, and the historical spindle load data corresponding to the most recent 5 beat IDs of the corresponding tool number are obtained from the workpiece information table of the database, and then the average is calculated and subtracted from the spindle load data, and a judgment is made based on the difference and the preset value 10.
[0104] Step S403, marking the spindle load data according to the judgment result, and generating the tool number and tool usage time according to the marking result.
[0105] The marking results include new tool processing or old tool processing.
[0106] Exemplarily, the server marks the spindle load data according to the judgment result. If the difference is greater than the preset value of 10, it is marked as new tool processing, and the tool number is generated by the tool number data and the processing beat ID. For example, the tool number data is tool number A, and the processing beat ID is 5. The tool number corresponding to the generated spindle load data is A5, and the tool usage time is 1, which indicates that the number of workpieces processed by the tool is 1; if the difference is less than the preset value of 10, it is marked as old tool processing, and the tool number marked as in use is used as the tool number corresponding to the spindle load data, and the tool usage time is increased by 1 based on the tool usage time corresponding to the tool number marked as in use, indicating that the tool corresponding to the tool number has processed another workpiece.
[0107] Step S404: storing the marking result, tool number and tool usage time as supplementary spindle load data.
[0108] Exemplarily, the server stores the marking results, tool numbers, and tool usage time as supplementary spindle load data to completely store the information associated with the spindle load data in the database. It can also supplement the production line, equipment model, machine model and other information to form a workpiece information table, and supplement the beat ID, recording time and load to form a processing information table.
[0109] In this embodiment, the spindle load data is processed and information associated with the spindle load data is supplemented to the spindle load data according to the processing results, and finally stored in a database, thereby ensuring the integrity and accuracy of the spindle load data and facilitating analysis in subsequent processes.
[0110] In an exemplary embodiment, the tool state prediction method further includes:
[0111] Display the data change curve according to the spindle load data and display the predicted tool status; and / or in response to user operation, display the data change curve corresponding to the historical tool selected by the user, and display the superimposed data change curve using the spindle load data and the data change curve corresponding to the historical tool.
[0112] Exemplarily, the server can be displayed through a monitoring platform interface, wherein the monitoring platform interface can include a real-time diagnosis interface and a historical trend interface. The server reads the spindle load data in real time and displays the data change curve in the real-time diagnosis interface, obtains the predicted tool status and displays it in the real-time diagnosis interface, and the user can move the mouse in the real-time diagnosis interface to accurately display the spindle load data of a certain point on the curve; the user can also find the tool number contained in the database through the historical trend interface, and by selecting the tool number, the historical spindle load data of the tool corresponding to the tool number can be displayed on the historical trend interface, that is, the server responds to the user operation, displays the data change curve corresponding to the historical tool selected by the user through the historical trend interface, and can also use the spindle load data and the data change curve corresponding to the historical tool to display the superimposed data change curve in the historical trend interface.
[0113] In this embodiment, by displaying the data change curve corresponding to the spindle load data and predicting the tool status, the data change curve corresponding to the selected historical tool can also be displayed, and the superimposed data change curve can be displayed using the data change curve corresponding to the spindle load data and the historical tool. Visual display can be performed to achieve real-time display of tool status prediction results and superimposed display of historical status data, thereby assisting managers in making decisions.
[0114] As an application example, in the above tool state prediction method, the data acquisition device can be an edge PLC, and the connection method between the edge PLC and the target machine tool can be as follows:
[0115] The protocol converter connects the target machine tool and edge PLC via a gigabit network cable, and sets the IP addresses of the three to the same local area network. Since the machine tool uses a numerical control system, the converter obtains the machine tool processing data through the communication protocol of the numerical control system and transmits it to the edge PLC via the TCP protocol. After completing the relevant communication settings and ensuring that the three communicate normally, the edge PLC is connected to the server through the network.
[0116] The data collection process can be as follows:
[0117] The data flow is mainly transmitted from the machine tool side to the converter. The PLC reads the protocol converter data and archives it into a CSV format file to the storage card and uploads it to the server. Therefore, it is very important to ensure that the data collection in each link is accurate and real-time. The protocol converter side clearly defines the machine tool data fields collected: tool number, spindle load, X-axis servo position, and Z-axis servo position. By comparing the original load waveform of the machine tool CNC system and the waveform collected by the protocol converter, the acquisition frequency of the protocol converter side is reasonably set to 100ms under the premise of ensuring that the waveform is not distorted. The edge PLC side scans (millisecond level) to read the protocol converter data in real time. To ensure the validity of the data, the machine tool spindle X moves to the processing start position and the spindle load is greater than 0 to trigger the archiving of the target data. The archiving interval is 50ms. Considering the actual processing cycle of the machine tool, the archiving cycle is set to 60s, and 1200 data are formed in the form of time flow and stored in the CSV file. And after the archiving is completed, the FTP protocol is used to upload to the server in real time.
[0118] After the edge PLC uploads the collected spindle load data to the server, the server can use the Python tool to clean, filter, and preprocess the collected data and write it into the database for analysis. The specific process is shown in Figure 5. The Python tool is used to traverse the edge PLC uploaded data collected in the server and intercept the data corresponding to the file name in the saved folder. The file name interception data is compared with the beat ID data in the database in the server to determine whether there is a new file. If there is no new file, "no new file" is output. If there is a new file, the tool number data of the new file is read, and then the latest tool I under the corresponding tool number in the workpiece information table in the database is read. D's most recent 5 beat IDs, then read the load data under the 5 beat IDs in the processing information table to form a data list, then filter the load data belonging to the boring process, remove the abnormal values, calculate the average and subtract the corresponding load data of the new beat to determine whether they are all greater than 10. If it is greater than 10, it is marked as new tool processing, tool ID = "tool number" + "beat ID" and tool life = 1; if it is less than 10, it is marked as old tool processing, tool ID = the latest tool ID, tool life = maximum tool life + 1; then add the production line, equipment model, machine model and other fields to form a workpiece information table, and write it into the "PHM" (Prognostics and Health Management) database data table "Workpiece Information Table", then add the beat ID, recording time, and load to form a processing information table, and finally add the production line, equipment model, machine model and other fields to form a workpiece information table.
[0119] Before analyzing the acquired data, it is necessary to obtain the constructed model. The model construction process is as follows:
[0120] First, 1,000 sets of machine tool processing data were collected. These data included a variety of information such as spindle processing data and tool data, which can fully reflect the operating status of the machine tool.
[0121] Next, we perform feature extraction and sample division on these data to obtain the experimental data set. We divide the experimental data set into two parts: training set and test set in a ratio of 8:2. The training set is used to train the KNN model, and the test set is used to evaluate the classification effect of the model. The experimental data set (part) is shown in Table 1 and Table 2:
[0122] Table 1
[0123]
[0124] Table 2
[0125]
[0126] As shown in Table 1 and Table 2, Table 2 is a continuation of Table 1. Table 1 and Table 2 contain a total of 1000 sets of machine tool processing data, that is, 1000 sets of spindle load data obtained by processing. The left side of Table 1 indicates that the same processing contains 0 to 481 data points, each data point corresponds to a spindle load data, and the broken tool and normal are the status of the tool marked in the processing. Then, the KNN model is trained with the training set, and the model is evaluated with the test set. We compared the influence of different numbers of nearest neighbors (K values) on the classification effect of the model and found that the Euclidean distance has a higher prediction accuracy for the tool status in this case. When the K value is 6, the interface is the smoothest and the prediction accuracy of the model is the highest. Among them, the evaluation curve of the prediction accuracy of different K values under the three distance metrics (Euclidean, Manhattan, Chebyshev) is shown in Figure 6. The best K value and training sample and feature combination are determined by the evaluation curve shown in Figure 6, and the test set is classified and predicted. We compared the prediction results with the actual results and calculated the accuracy of the model. The experimental results show that the machine tool spindle load analysis based on the KNN algorithm has a good classification effect in judging tool breakage and tool collapse.
[0127] In this application example, a monitoring platform can also be used. It is independently developed based on the pyqt library of python. Through the early UI design, various controls are used to form an intuitive and easy-to-use user interface that supports visual display and is highly interactive. The main body is divided into two main interfaces: "real-time diagnosis" and "historical trend". The software is developed in a multi-threaded way to improve the response speed of the application, prevent the program from being blocked in a single thread, and the user operation is simple. The "real-time diagnosis" interface reads the load data in real time and displays the curve. The user can accurately display the processing load at that location by moving the mouse. In terms of diagnosis, by embedding the machine learning KNN algorithm, the load data is intelligently analyzed and the results are output, so that the user can clearly and intuitively understand the current processing status. The "historical trend" interface includes two functions: tool processing load trend and multi-waveform overlay. The tool ID contained in the database can be found through the function area on the right side of the interface. By selecting the corresponding tool ID, the historical processing load of the tool can be displayed. It can be observed that the load trend increases significantly with the increase in the number of processed pieces. By comparing the load trends of multiple tools, the load threshold is reasonably set to increase the tool life. In the waveform overlay screen, users can enter the start and end sequence numbers of the waveforms they want to overlay, compare and observe the complete historical waveforms, and effectively find abnormal points in the waveforms. This monitoring platform has a fast development cycle and strong scalability, which can shorten the development cycle.
[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiment of the present application also provides a tool state prediction device for implementing the tool state prediction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more tool state prediction device embodiments provided below can refer to the limitations of the tool state prediction method above, and will not be repeated here.
[0130] In an exemplary embodiment, as shown in FIG. 7 , a tool state prediction device 700 is provided, comprising: a data acquisition module 701 , a distance acquisition module 702 and a state prediction module 703 , wherein:
[0131] The data acquisition module 701 is used to acquire the spindle load data associated with the tool to be predicted reported by the data acquisition device; the spindle load data is obtained according to the working current, working torque and power information of the target machine tool when the tool to be predicted is in a load state, and the target machine tool is the machine tool where the tool to be predicted is set;
[0132] The distance acquisition module 702 is used to obtain the prediction instance by using the spindle load data, obtain the distance between the prediction instance and the reference instance in the tool state prediction model through the pre-trained tool state prediction model, and output the K reference instances closest to the prediction instance;
[0133] The state prediction module 703 is used to obtain the predicted tool state corresponding to the predicted instance by using the historical state corresponding to the reference instance with the most occurrences of the same state mark among the K reference instances, and obtain the predicted tool state corresponding to the spindle load data.
[0134] In an exemplary embodiment, the tool state prediction device further includes a model training module for acquiring the full life cycle of multiple historical tools of the same type; the full life cycle includes at least one life node, the actual node data corresponding to a life node corresponds to the spindle load data of the tool for a workpiece processing cycle, and the full life cycle includes multiple life nodes of the historical tool from the initial processing of the workpiece to the scrapping; the full life cycle of the tool is marked with a state according to multiple historical states of the historical tool to obtain a spindle load data set; the state of the tool includes a normal tool, a chipped tool, and a broken tool; the spindle load data set is divided into training samples and test samples, the distance between the test sample and each training sample is obtained through the KNN model, and the K training samples closest to the test sample are output; the historical state corresponding to the training sample with the most occurrences of the same state mark in the K training samples is used to obtain the predicted tool state corresponding to the test sample; the predicted tool state of each test sample is compared and analyzed with the historical state marked by each test sample to obtain the prediction accuracy of the KNN model, and the model parameters are obtained based on the prediction accuracy, and the KNN model is configured with the model parameters to obtain a tool state prediction model.
[0135] In an exemplary embodiment, there are multiple ways to obtain distance, K is an integer selected from a set of preset integer values, and the above-mentioned model training module is also used to obtain the prediction accuracy corresponding to each distance acquisition method corresponding to each K value under multiple distance acquisition methods; according to the prediction accuracy corresponding to each distance acquisition method and the value range of K, an evaluation curve of accuracy and K value is constructed in the same coordinate system, and the curve with the highest average prediction rate and the smoothest curve interface is taken as the target curve, and the distance acquisition method is determined according to the target curve, and the value of K corresponding to the highest prediction accuracy in the target curve is determined; according to the determined distance acquisition method and K value, the model parameters are obtained.
[0136] In an exemplary embodiment, the tool state prediction device also includes a remaining usage time determination module, which is used to obtain the remaining usage time of the tool to be predicted based on the predicted tool state and a preset spindle load threshold; the spindle load threshold is determined by the spindle load data corresponding to the historical tools and the quality of historical processed workpieces, and the remaining usage time represents the remaining number of machinable workpieces of the tool to be predicted.
[0137] In an exemplary embodiment, the tool state prediction device further includes a data storage module for obtaining tool number data contained in the spindle load data when the spindle load data is characterized as a new file; the tool number data is the model of the tool, and the tool number data includes at least one tool number; obtaining the tool number corresponding to the tool number data and marked as being in use from the database, obtaining historical spindle load data within a preset number range corresponding to the tool number, obtaining the average value of the historical spindle load data, and making a judgment based on the difference between the average value and the spindle load data and a preset value; marking the spindle load data based on the judgment result, and generating the tool number and tool usage time based on the marking result; the marking result includes new tool processing or old tool processing; and storing the marking result, tool number and tool usage time as supplementary spindle load data.
[0138] In an exemplary embodiment, the tool state prediction device further includes a curve display module for displaying a data change curve according to the spindle load data and displaying the predicted tool state; and / or in response to user operations, displaying a data change curve corresponding to a historical tool selected by a user, and displaying a superimposed data change curve using the spindle load data and the data change curve corresponding to the historical tool.
[0139] Each module in the tool state prediction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0140] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG8. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a tool state prediction method is implemented.
[0141] Those skilled in the art will understand that the structure shown in FIG. 8 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0143] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0144] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0145] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0147] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A tool state prediction method, characterized in that: The method comprises: Obtaining spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set; Using the spindle load data to obtain a prediction instance, obtaining the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and outputting K reference instances closest to the prediction instance; The predicted tool state corresponding to the predicted instance is obtained by using the historical state corresponding to the reference instance in which the same state mark appears most times among the K reference instances, so as to obtain the predicted tool state corresponding to the spindle load data.
2. The method according to claim 1, characterized in that The training step of the tool state prediction model includes: Acquire the full life cycle of multiple historical tools of the same type; the full life cycle includes at least one life node, the actual node data corresponding to one life node corresponds to the spindle load data of the tool for a workpiece processing cycle, and the full life cycle includes multiple life nodes of the historical tool from the initial processing of the workpiece to the scrapping; Marking the status of the tool throughout its life cycle according to multiple historical states of the historical tool to obtain a spindle load data set; the status of the tool includes a normal tool, a chipped tool, and a broken tool; Divide the spindle load data set into training samples and test samples, obtain the distance between the test sample and each training sample through the KNN model, and output the K training samples closest to the test sample; Using the historical states corresponding to the training samples with the most occurrences of the same state mark among the K training samples, the predicted tool state corresponding to the test sample is obtained; The predicted tool state of each test sample is compared and analyzed with the historical state of each test sample mark to obtain the prediction accuracy of the KNN model, and the model parameters are obtained based on the prediction accuracy, and the KNN model is configured with the model parameters to obtain the tool state prediction model.
3. The method according to claim 2, characterized in that There are multiple ways to obtain the distance; K is an integer selected from a set of preset integer values; The obtaining of model parameters based on the prediction accuracy includes: Obtain the prediction accuracy corresponding to each of the distance acquisition methods corresponding to each of the K under multiple distance acquisition methods; According to the prediction accuracy corresponding to each distance acquisition method and the value range of K, an evaluation curve of accuracy and K is constructed in the same coordinate system, and the curve with the highest average prediction rate and the smoothest curve interface is taken as the target curve. According to the target curve, the distance acquisition method is determined, and the value of K corresponding to the highest prediction accuracy in the target curve is determined; The model parameters are obtained according to the determined distance acquisition method and the value of K.
4. The method according to any one of claims 1 to 3, characterized in that: After obtaining the predicted tool state corresponding to the spindle load data, the method further includes: According to the predicted tool state and the preset spindle load threshold, the remaining usage time of the tool to be predicted is obtained; the spindle load threshold is determined by the spindle load data corresponding to the historical tools and the quality of the historical processed workpieces, and the remaining usage time represents the remaining number of workpieces that can be processed by the tool to be predicted.
5. The method according to claim 1, characterized in that After the spindle load data reported by the data acquisition device is obtained, the method further includes: In the case where the spindle load data is characterized as a new file, obtaining tool number data contained in the spindle load data; the tool number data is a model of a tool, and the tool number data includes at least one tool number; Obtaining from a database the tool number in use corresponding to the tool number data, obtaining historical spindle load data within a preset quantity range corresponding to the tool number, obtaining an average value of the historical spindle load data, and making a judgment based on a difference between the average value and the spindle load data and a preset value; The spindle load data is marked according to the judgment result, and a tool number and tool usage time are generated according to the marking result; the marking result includes new tool processing or old tool processing; The marking result, the tool number and the tool usage time are stored as supplementary spindle load data.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Displaying a data change curve according to the spindle load data, and displaying the predicted tool state; And / or in response to user operation, displaying a data change curve corresponding to a historical tool selected by the user, and displaying a superimposed data change curve using the spindle load data and the data change curve corresponding to the historical tool.
7. A tool state prediction device, characterized in that: The device comprises: A data acquisition module is used to acquire spindle load data associated with the tool to be predicted reported by a data acquisition device; the spindle load data is obtained based on the working current, working torque and power information of a target machine tool when the tool to be predicted is in a load state, and the target machine tool is a machine tool on which the tool to be predicted is set; A distance acquisition module is used to obtain a prediction instance using the spindle load data, obtain the distance between the prediction instance and a reference instance in the tool state prediction model through a pre-trained tool state prediction model, and output K reference instances closest to the prediction instance; The state prediction module is used to obtain the predicted tool state corresponding to the predicted instance by using the historical state corresponding to the reference instance with the most occurrences of the same state mark among the K reference instances, and obtain the predicted tool state corresponding to the spindle load data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Numerical control machine tool cutter wear monitoring method based on deep learning
CN107877262A
Cutter wear monitoring method, edge controller and monitoring system of numerical control machine tool
CN117182652A
Cutter state self-adaptive monitoring and predicting method and system, electronic equipment and medium
CN117742245A
Cited By
Construction data processing method and system based on big data
CN119885048A
Adaptive real-time tool breakage detection method based on spindle current in numerical control machine tool
CN120353189A
