A multi-working-condition tool wear prediction method based on reciprocal gaussian sampling meta-learning

By employing the reciprocal Gaussian sampling element learning method, the problem of accurate measurement of tool wear under different working conditions is solved, enabling rapid adaptation under multiple working conditions and prediction with few samples, thereby improving the practicality and efficiency of tool wear monitoring.

CN121374282BActive Publication Date: 2026-11-27SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511562972.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2026-11-27
Estimated Expiration
2045-10-30

AI Technical Summary

Technical Problem

The degree of tool wear is difficult to measure accurately and uniformly in real time, especially since the wear rate and turning point vary significantly under different working conditions, making it difficult to achieve precision control.

Method used

A method based on reciprocal Gaussian sampling meta-learning is adopted. Through feature selection, meta-learner and reciprocal Gaussian sampling mechanism, monitoring signals are acquired and wear prediction is performed. This includes feature selection, parameter initialization, partitioning of support set and query set, and updating learner parameters to achieve accurate measurement of tool wear.

Benefits of technology

It achieves rapid adaptation to tool wear under multiple working conditions and the ability to predict with few samples, improves data quality and learning efficiency, enhances the sampling probability of samples deviating from typical states, and has good practicality and prospects for promotion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121374282B_ABST
    Figure CN121374282B_ABST
Patent Text Reader

Abstract

This application discloses a multi-condition tool wear prediction method based on reciprocal Gaussian sampling meta-learning, relating to the field of CNC machining process monitoring technology. The method includes: acquiring monitoring signals during tool cutting under different historical conditions; performing feature filtering for any historical condition; initializing the parameters of the task learner, meta-learner, and reciprocal Gaussian sampling mechanism; dividing the filtered features into a support set and a query set based on the initialized reciprocal Gaussian sampling mechanism; obtaining the total support loss of historical conditions on the support set; updating the parameters of the task learner based on the total support loss of historical conditions; obtaining the total query loss of historical conditions on the query set; updating the parameters of the meta-learner and the reciprocal Gaussian sampling mechanism based on the sum of the total query losses of all historical conditions; and predicting the tool wear value based on the real-time acquired monitoring signals under the current condition and the final parameters of the meta-learner. This application enables accurate measurement of tool wear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of CNC machining process monitoring technology, and in particular to a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning. Background Technology

[0002] The machining field is constantly evolving towards ultra-high precision machining, which requires that the precision of all components of machining equipment be controllable throughout the machining process. As a part that directly participates in the work of machining equipment, the wear degree at the contact point with the workpiece directly affects the workpiece's precision. However, the degree of tool wear is constantly changing as the machining process progresses. Unfortunately, the degree of tool wear is generally difficult to measure directly. Furthermore, the evolutionary characteristics of tool wear differ under different working conditions, with significant differences in wear rates and inflection points at each stage, making it difficult to measure and monitor tool wear accurately and uniformly in real time. Summary of the Invention

[0003] The purpose of this application is to provide a multi-condition tool wear prediction method based on reciprocal Gaussian sampling meta-learning, which achieves accurate measurement of tool wear through feature selection, meta-learner, and reciprocal Gaussian sampling mechanism. To achieve the above objective, this application provides the following scheme: Firstly, this application provides a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning, including: S1: Acquire monitoring signals during the cutting process of the tool under different historical working conditions, and the actual wear values ​​corresponding to the monitoring signals; S2: For any historical operating condition, perform feature filtering on the monitoring signals under the historical operating condition to obtain the filtered features; S3: Initialize the parameters of the task learner, the meta-learner, and the reciprocal Gaussian sampling mechanism; S4: Based on the inverse Gaussian sampling mechanism after initialization, the filtered features are divided into a support set and a query set; S5: Based on the wear prediction value and actual wear value output by the initialized task learner on the support set, the total support loss of the historical working condition is obtained; S6: Update the parameters of the task learner based on the total support loss of the historical operating conditions; S7: Based on the updated wear prediction value and actual wear value output by the task learner on the query set, the total query loss of the historical working conditions is obtained; S8: Update the parameters of the meta-learner and the parameters of the reciprocal Gaussian sampling mechanism based on the sum of the total query loss for all historical scenarios; S9: Repeat S3 to S8 until the set number of times is reached, and obtain the final parameters of the meta-learner; S10: Predict tool wear value based on real-time monitoring signals acquired under current working conditions and the final parameters of the meta-learner.

[0004] According to the specific embodiments provided in this application, this application has the following technical effects: This application provides a multi-condition tool wear prediction method based on reciprocal Gaussian sampling meta-learning. By acquiring monitoring signals under different historical working conditions, it provides a high-quality raw data foundation for meta-learning. By feature filtering of the monitoring signals, the quality of the data and the efficiency of subsequent learning are improved. By employing a reciprocal Gaussian sampling mechanism for intelligent filtering, the sampling probability of samples deviating from typical states is enhanced. Furthermore, the reciprocal Gaussian sampling mechanism is introduced into the optimization process of meta-learning, realizing the self-learning and self-adaptation of the sampling strategy. Through the meta-learning framework, this application achieves rapid adaptation under new working conditions and prediction capability with few samples. It has good practicality and prospects for application in tool wear prediction under variable working conditions. Attached Figure Description

[0005] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0006] Figure 1 A flowchart illustrating a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning, provided as an embodiment of this application; Figure 2 for Figure 1 A detailed flowchart of S2, a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning; Figure 3 A descending histogram of feature screening indices provided in one embodiment of this application; Figure 4 A fitting effect diagram of the wear physical model provided in an embodiment of this application; Figure 5 A comparison chart of tool wear prediction results obtained by different methods according to an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0007] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0008] To make the objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0009] In one exemplary embodiment, such as Figure 1 As shown, a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning is provided. This method is executed by a computer device, specifically by a terminal or server alone, or by both a terminal and a server. This application includes the following S1 to S10. Wherein: S1: Acquire monitoring signals during the cutting process of the tool under different historical working conditions, and the actual wear values ​​corresponding to the monitoring signals.

[0010] S2: For any historical operating condition, perform feature filtering on the monitoring signals under the historical operating condition to obtain the filtered features.

[0011] S3: Initialize the parameters of the task learner, the meta-learner, and the reciprocal Gaussian sampling mechanism. The task learner is built based on the Transformer encoder architecture. The encoder includes an embedding layer, a positional encoding layer, a multi-head attention layer, and a feedforward network connected in sequence. The output of the positional encoding layer is residually concatenated with the output of the multi-head attention layer, and the output of the multi-head attention layer is residually concatenated with the output of the feedforward network. The encoder then passes through a global attention layer and a linear layer to achieve the output of the task learner.

[0012] The encoder's embedding layer is implemented using a fully connected layer, and can be represented as: . For the output of the embedding layer, This is the weight matrix of the fully connected layer. For bias terms, For the input matrix, This is the activation function.

[0013] The position coding layer utilizes sine and cosine functions of different frequencies to implement the data sequence, i.e. .

[0014] .

[0015] in, For position encoding, For dimensional indexing, For the dimension of the encoder input, For location index.

[0016] S4: Based on the inverse Gaussian sampling mechanism after initialization, the filtered features are divided into support set and query set.

[0017] S5: On the support set, based on the wear prediction value and actual wear value output by the initialized task learner, the total support loss of the historical working condition is obtained.

[0018] S6: Update the parameters of the task learner based on the total support loss of the historical conditions.

[0019] S7: Based on the updated wear prediction value and actual wear value output by the task learner, the total query loss for the historical operating conditions is obtained on the query set.

[0020] S8: Update the parameters of the meta-learner and the parameters of the reciprocal Gaussian sampling mechanism based on the sum of the total query loss for all historical scenarios.

[0021] S9: Repeat steps S3 to S8 until the set number of times is reached, and obtain the final parameters of the meta-learner.

[0022] S10: Predict tool wear value based on real-time monitoring signals acquired under current working conditions and the final parameters of the meta-learner.

[0023] By implementing S1 to S10 above, this application achieves rapid adaptation under new operating conditions and prediction capability with few samples.

[0024] In another exemplary embodiment of this application, the monitoring signal includes multiple monitoring sub-signals; such as Figure 2 As shown, S2 specifically includes the following S201 to S209: S201, determine the actual wear value of each monitoring sub-signal, and determine multiple wear increments based on the actual wear value.

[0025] S202, extract the features of each monitoring sub-signal, determine multiple feature increments based on the extracted features of each monitoring sub-signal, and determine the feature monotonicity (Mon) based on the multiple feature increments.

[0026] S203 employs multiple distribution models to fit multiple wear increments, obtaining the distribution parameters of each model after fitting the wear increment. The wear increments are then fitted using the nonlinear least squares method with various distribution models, including normal distribution, log-normal distribution, gamma distribution, and three-parameter Weibull distribution.

[0027] S204. Based on the distribution parameters after fitting the wear increment for each distribution model, the optimal distribution model is determined using the information criterion.

[0028] S205, the optimal distribution model is used to fit multiple feature increments to obtain the distribution parameters after the optimal distribution model fits the feature increments.

[0029] S206. Based on the distribution parameters of the wear increment fitted by the optimal distribution model and the distribution parameters of the feature increment fitted by the optimal distribution model, the JS divergence (Jensen-Shannon, JS) is determined.

[0030] S207. Based on the features extracted from each monitoring sub-signal and the actual wear value of each monitoring sub-signal, determine the maximum information coefficient (MIC).

[0031] S208, Based on the JS divergence, the maximum mutual information coefficient, and the feature monotonicity, determine the Feature Selection Index (FSI).

[0032] S209, Based on the feature selection index, the features extracted from each monitoring sub-signal are selected to obtain the selected features of each monitoring sub-signal.

[0033] The JS divergence is used to measure the distribution similarity between actual wear values ​​and features; the maximum mutual information coefficient is used to determine the degree of correlation between actual wear values ​​and features; the feature monotonicity is used to measure the direction of feature change; and the feature screening index is used to screen time-frequency domain features that are similar to actual wear values ​​and their distribution in multiple dimensions.

[0034] In another exemplary embodiment of this application, S202 specifically includes: For any monitoring sub-signal, calculate the time-domain and time-frequency domain characteristics of the monitoring sub-signal.

[0035] The time-domain features and the time-frequency domain features are normalized to obtain the time-frequency domain feature matrix of the monitoring sub-signal.

[0036] Based on the time-frequency domain feature matrix of each monitored sub-signal, multiple feature increments are determined.

[0037] The steps S201 to S209 described above are processing steps for a monitoring signal under any historical working condition. In addition, any historical working condition in this application includes multiple monitoring signals, such as spindle vibration signal, spindle current signal, cutting sound signal, cutting force, etc.

[0038] Specifically, the process of constructing the time-frequency domain feature matrix includes: mounting an accelerometer on the spindle of a CNC machine tool to collect vibration signals from indexable carbide end mill inserts during the cutting process; passing a current sensor through the U-phase cable of the CNC machine tool to collect current signals during the cutting process; installing a sound sensor next to the steel workpiece to collect sound signals during cutting; and installing a force gauge between the workpiece and the worktable to collect cutting forces. Each milling operation uses reverse milling to shorten machining time. The above signals are collected once after each milling operation, and the insert wear is measured once until the insert reaches the failure standard. This application repeats signal acquisition under six different historical working conditions.

[0039] Under historical operating conditions 1, 2, 4, and 5, calculate the mean, standard deviation, root square amplitude, root mean square value, and maximum value of various monitoring signals such as spindle vibration signal, spindle current signal, cutting sound signal, and cutting force, as well as five frequency domain characteristics.

[0040] Then, each feature is normalized using the Min-Max method, and the normalized features are concatenated by rows and columns to obtain the time-frequency domain feature matrix. The time-frequency domain feature matrix can be represented as follows: .

[0041] Where M is the time-frequency domain feature matrix, For the c-th monitoring sub-signal at time t, the p-th time-domain feature is... Let q be the frequency domain feature of the c-th monitoring sub-signal at time t.

[0042] In another exemplary embodiment of this application, in S201, the formula for calculating the monotonicity of the feature is: .

[0043] Where, ε( Let be the unit step function, and ΔF be the characteristic increment. This represents the number of features in a monitoring sub-signal.

[0044] In S204, the expression for the information criterion is: .

[0045] .

[0046] in, This indicates the number of parameters in the distribution model. Indicates the amount of wear increment. This represents the maximum likelihood estimate of the distribution model. For the Akaike Information Criteria, This is the Bayesian information criterion.

[0047] In S206, the JS divergence The calculation formula is: .

[0048] in, The distribution parameters are fitted to the wear increment of the optimal distribution model. The distribution parameters are fitted to the feature increments of the optimal distribution model. Let M be the Kullback-Leibler divergence between distributions, and M be the intermediate distribution model. The calculation formulas are as follows: .

[0049] .

[0050] in, For the optimal distribution model, Let be the probability of the z-th event occurring in the optimal distribution model. Let z be the probability of the z-th event occurring in the intermediate distribution model.

[0051] In S207, the formula for calculating the maximum mutual information coefficient is: .

[0052] Where Y represents the actual wear value, and F represents the feature in the time-frequency domain feature matrix. Divide the value space of Y Each interval Divide the value space of F Each interval ≈0.6, where n is the sample size. Let I(Y;F) be a function of the sample size, and let I(Y;F) be the maximum mutual information coefficient between the actual wear value and the feature. ; The joint distribution of actual wear values ​​and characteristics. The distribution of actual wear values, The distribution is characterized by [characteristics].

[0053] In S208, the feature selection index is determined using the following formula: .

[0054] in, For feature selection indicators, Let JS divergence be the metric. For the maximum mutual information coefficient, Characteristic monotonicity, The weights of the JS divergence. The weights for the maximum mutual information coefficients, The weights for the monotonicity of the features. u + v + w =1.

[0055] In another exemplary embodiment of this application, S4 specifically includes the following S401 to S404: S401, take the features of a monitored sub-signal after filtering as a sample, and construct a sample set based on the features of each monitored sub-signal under the historical operating conditions.

[0056] S402, based on the actual wear value corresponding to each sample, calculate the sampling weight of each sample using the initialized reciprocal Gaussian sampling mechanism.

[0057] S403, and normalize the sampling weights of each sample to obtain the probability distribution of each sample.

[0058] S404, a support set is generated by randomly sampling based on the probability distribution of each sample, and the samples in the sample set that were not selected into the support set are used as the query set. The expression for the reciprocal Gaussian sampling mechanism is: .

[0059] in, This represents the actual wear value corresponding to the sample. The sampling weights of the samples, The first sampling parameter, This is the second sampling parameter.

[0060] In another exemplary embodiment of this application, S5 specifically includes the following S501 to S503: S501, on the support set, based on the wear prediction value and actual wear value output by the initialized task learner, the data loss of the historical working condition is obtained.

[0061] S502, based on the wear prediction value output by the initialized task learner and the physical wear value obtained by the wear physics model, the physical loss of the historical working condition is obtained; wherein, the wear physics model is constructed based on the cutting parameters of the historical working condition.

[0062] Specifically, based on the three-stage wear pattern of cutting tools and considering the cutting parameters under various working conditions, a three-stage physical model of tool wear is constructed. The three stages are the initial wear stage, the normal wear stage, and the rapid wear stage. The physical model of wear is as follows: .

[0063] in, This is the initial wear value. To measure the amount of knife cuts on the back, Radial cutting depth, For cutting speed, The feed per tooth. This is the first correction factor related to the cutting material and cutting environment. This is a second correction factor related to the cutting material and cutting environment. The first cutting depth index, The second depth of cut index, For speed index, The feed index, This is the first cutting time index. This is the second cutting time index. The depth of cut index, speed index, and feed index are all preset parameters. The initial wear value is random or specified; this application specifies it based on prior knowledge.

[0064] S503, based on the data loss and physical loss of the historical operating conditions, the total support loss of the historical operating conditions is obtained.

[0065] In another exemplary embodiment of this application, the following formula is used to calculate the first... Total support loss for each historical operating condition: .

[0066] .

[0067] .

[0068] in, For the first A historical working condition, For the first Data loss under historical operating conditions For task learners, These are the parameters of the task learner. The parameters are for the reciprocal Gaussian sampling mechanism. To the support set The probability distribution of each sample For the task learner on the support set Wear prediction value for each sample For the first The actual wear value of each sample For the first Physical data loss under historical operating conditions For the first Physical wear values ​​for each sample For the first Total support loss for each historical operating condition.

[0069] In another exemplary embodiment of this application, the parameter update process in the task learner in S6 is as follows: .

[0070] in, The learning rate of the task learner. The updated parameters for the task learner. For the parameters of the task learner, The gradient of the parameters of the task learner.

[0071] In another exemplary embodiment of this application, S7 specifically includes: Based on the updated wear prediction and actual wear values ​​output by the task learner, the total query loss for the historical operating conditions is obtained on the query set.

[0072] Based on the updated wear prediction and actual wear values ​​output by the updated task learner, the updated data loss for the historical operating conditions is obtained on the query set.

[0073] Based on the updated wear prediction value output by the task learner and the physical wear value obtained from the wear physics model, the updated physical loss of the historical working conditions is obtained.

[0074] Based on the data loss and physical loss after the historical operating conditions are updated, the total query loss of the historical operating conditions is obtained.

[0075] The following formula is used to calculate the first... Total query loss for each historical scenario: .

[0076] .

[0077] .

[0078] in, For the first A historical working condition, For the first Data loss after updating historical operating conditions For the updated task learner, The updated parameters for the task learner. The parameters are for the reciprocal Gaussian sampling mechanism. To support the first The probability distribution of each sample For the updated task learner on the support set Wear prediction value for each sample For the first The actual wear value of each sample For the first Physical data loss after updating historical operating conditions For the first Physical wear values ​​for each sample For the first Total query loss for each historical operating condition.

[0079] In another exemplary embodiment of this application, the parameter update process of the meta-learner is as follows: .

[0080] The parameter update process of the reciprocal Gaussian sampling mechanism: .

[0081] Where β is the learning rate of the meta-learner, and p(T) represents the distribution of all operating conditions.

[0082] In another exemplary embodiment of this application, S1 to S9 are offline training steps for the meta-learner, through which the final parameters of the meta-learner are obtained. During the training of the meta-learner, a normalized inverse Gaussian sampling mechanism is used as weights to incorporate the physical loss and data loss of the task learner respectively, in order to improve the utilization rate of boundary neighborhood data and improve training efficiency. In a meta-iteration during training, the data loss and physical loss of any historical working condition are calculated and the task learner is updated using gradient descent, and then the meta-learner is updated using the sum of the data loss and physical loss of all historical working conditions. Furthermore, the parameters of the inverse Gaussian sampling mechanism are also updated using the sum of the data loss and physical loss of all historical working conditions to dynamically adjust the degree of attention to the data boundary neighborhood. In S10, a small amount of tool data under the current working condition is collected in real time during the cutting process as samples. These samples are used to update the learner through several steps of gradient updates to adapt to the current working condition, so as to achieve real-time and accurate monitoring of tool wear under this working condition.

[0083] In this application, the feature selection index includes information such as the direction of feature change, the correlation strength with wear, and the similarity to wear distribution. Selecting features through this index aims to maximize the effectiveness of training data and improve training efficiency. The introduction of the wear physics model constrains the solution space of the task learner. A meta-learning method is used to train the meta-learner to learn common features from different historical operating conditions. In fact, the goal of meta-learning is to initialize a set of parameters that minimizes the distance between the meta-learner and all historical operating conditions, allowing the meta-learner to quickly fine-tune and adapt to the current operating condition.

[0084] This application utilizes multi-dimensional feature filtering to extract wear-sensitive features from monitoring signals during the cutting process. Information criteria are used to determine the distribution characteristics of tool wear, ensuring that the tool wear distribution model is optimally selected. The designed feature filtering index is used to identify multi-dimensionally sensitive features related to wear and its distribution, improving data reliability and the training efficiency of meta-learning.

[0085] This application independently designs a task learner based solely on the Transformer decoder architecture, which effectively maps the wear-sensitive features of various historical operating conditions. Positional encoding of the selected feature sequences fully considers positional information and enhances the meta-learner representation. A multi-head attention mechanism allows the task learner to simultaneously focus on information from different representational subspaces at different locations.

[0086] This application constructs a reciprocal Gaussian sampling meta-learner that integrates three-stage wear physical information, effectively learning common features from different historical working conditions. A three-stage wear physical model considering cutting parameters is introduced into the learner's loss function, reducing the meta-learner's dependence on monitoring data and its sensitivity to noise. The reciprocal Gaussian sampling mechanism, introduced into the loss function, enhances the meta-learner's focus on boundary neighborhood data. The parameters of the reciprocal Gaussian sampling mechanism are updated through the total query loss to adaptively adjust the focus on boundary neighborhood data. The reciprocal Gaussian sampling meta-learner is used to train the meta-learner, significantly improving its training efficiency and enabling it to quickly adapt to various new working conditions during testing.

[0087] In another exemplary embodiment of this application, such as Figure 3 The image shows a histogram of feature selection indices arranged in descending order. Features are sorted in descending order of FSI (Feature Selection Indicator), and the features corresponding to the top 8 FSIs are selected as the data for the corresponding operating conditions.

[0088] like Figure 4 As shown, the wear physics model fits the data under six historical operating conditions. The wear physics model exhibits a very high degree of consistency with the actual wear values, demonstrating the applicability and superiority of the wear physics model.

[0089] Save the final parameters of the meta-learner for fine-tuning tests using a small number of samples under historical test cases 3 and 6.

[0090] like Figure 5The figures show a comparison of tool wear prediction results obtained by different methods. Comparison 1 uses a classic LSTM network with filtered features as input. Comparison 2 uses a Transformer with unfiltered features as input. Comparison 3 is an advanced tool wear prediction method with filtered features as input. To verify the performance of the example in this application, the hyperparameters of all comparison methods, except for the number of iterations, were adjusted to the optimal settings of the corresponding meta-learners as much as possible.

[0091] Intuitively, compared to other comparison methods, the tool wear predicted by this application is almost identical to the actual wear value. On historical conditions 3 and 6, the absolute errors for predictions greater than 0.002 mm are only 9.13% and 5.59%, respectively, with maximum absolute errors of only 0.028 mm and 0.040 mm, respectively. This demonstrates that this application exhibits exceptional performance in predicting tool wear under new conditions.

[0092] The figure also shows that the prediction results of Comparison 1 are only slightly inferior to those of Comparison 2, proving that the meta-learner trained on the distribution features selected by the multi-dimensional feature selection method based on the data and its distribution characteristics has a certain degree of effectiveness.

[0093] Given the leading advantage of Comparison 2 in multimodal tasks, its good results in tool wear prediction also indirectly prove the correctness of using only the Transformer decoder architecture as the task learner in this application.

[0094] Compared to other comparison methods, the results of Comparison 3 are slightly inferior, possibly due to the low number of training iterations. This also demonstrates that, with the same low number of iterations, this application has higher training efficiency in the tool wear prediction task.

[0095] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 6As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores monitoring signals from the cutting process under different operating conditions. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning.

[0096] Those skilled in the art will understand that Figure 6 The structures shown are merely block diagrams of some structures related to the present application and do not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0097] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 specification.

[0098] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning, characterized in that, The method includes: S1: Acquire monitoring signals during the tool cutting process under different historical working conditions, and the actual wear values ​​corresponding to the monitoring signals; the monitoring signals include multiple monitoring sub-signals; S2: For any historical operating condition, feature filtering is performed on the monitoring signals under the historical operating condition to obtain the filtered features, specifically including: Determine the actual wear value of each monitoring sub-signal, and based on the actual wear value, determine multiple wear increments; Features of each monitoring sub-signal are extracted, and multiple feature increments are determined based on the extracted features of each monitoring sub-signal. Based on the multiple feature increments, feature monotonicity is determined. Multiple distribution models were used to fit multiple wear increments, and the distribution parameters of each distribution model after fitting the wear increments were obtained. Based on the distribution parameters fitted to the wear increment for each distribution model, the optimal distribution model is determined using the information criterion. The optimal distribution model is used to fit multiple feature increments to obtain the distribution parameters after the optimal distribution model fits the feature increments; The JS divergence is determined by fitting the distribution parameters of the wear increment and the distribution parameters of the feature increment using the optimal distribution model. The maximum mutual information coefficient is determined based on the features extracted from each monitoring sub-signal and the actual wear value of each monitoring sub-signal; Based on the JS divergence, the maximum mutual information coefficient, and the feature monotonicity, the feature selection index is determined; Based on the feature selection index, the features extracted from each monitoring sub-signal are selected to obtain the selected features of each monitoring sub-signal; S3: Initialize the parameters of the task learner, the meta-learner, and the reciprocal Gaussian sampling mechanism; S4: Based on the reciprocal Gaussian sampling mechanism after initialization, the filtered features are divided into a support set and a query set, specifically including: The features of a single monitoring sub-signal are used as a sample, and a sample set is constructed based on the features of each monitoring sub-signal under the historical operating conditions. Based on the actual wear value corresponding to each sample, the sampling weight of each sample is calculated using the initial inverse Gaussian sampling mechanism; Then, the sampling weights of each sample are normalized to obtain the probability distribution of each sample; A support set is generated by random sampling based on the probability distribution of each sample, and the samples in the sample set that are not selected into the support set are used as the query set. S5: Based on the wear prediction value and actual wear value output by the initialized task learner on the support set, the total support loss for the historical operating conditions is obtained, specifically including: On the support set, the data loss of the historical working conditions is obtained based on the wear prediction value and the actual wear value output by the initialized task learner. The physical loss of the historical working condition is obtained based on the wear prediction value output by the initialized task learner and the physical wear value obtained by the wear physics model; wherein, the wear physics model is constructed based on the cutting parameters of the historical working condition. Based on the data loss and physical loss of the historical operating conditions, the total support loss of the historical operating conditions is obtained. S6: Update the parameters of the task learner based on the total support loss of the historical operating conditions; S7: Based on the updated wear prediction value and actual wear value output by the task learner on the query set, the total query loss of the historical working conditions is obtained; S8: Update the parameters of the meta-learner and the parameters of the reciprocal Gaussian sampling mechanism based on the sum of the total query loss for all historical scenarios; S9: Repeat S3 to S8 until the set number of times is reached, and obtain the final parameters of the meta-learner; S10: Predict tool wear value based on real-time monitoring signals acquired under current working conditions and the final parameters of the meta-learner.

2. The multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning according to claim 1, characterized in that, The expression for the information criterion is: ; ; in, This indicates the number of parameters in the distribution model. Indicates the amount of wear increment. This represents the maximum likelihood estimate of the distribution model. For the Akaike Information Criteria, This is the Bayesian information criterion.

3. The multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning according to claim 1, characterized in that, The feature selection criteria are determined using the following formula: ; in, For feature selection indicators, Let JS divergence be the metric. For the maximum mutual information coefficient, Characteristic monotonicity, The weights of the JS divergence. The weights for the maximum mutual information coefficients, The weights are for the monotonicity of the features.

4. The multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning according to claim 1, characterized in that, The expression for the reciprocal Gaussian sampling mechanism is: ; in, This represents the actual wear value corresponding to the sample. The sampling weights of the samples, The first sampling parameter, This is the second sampling parameter.

5. The multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning according to claim 1, characterized in that, The following formula is used to calculate the first... Total support loss for each historical operating condition: ; ; ; in, For the first A historical working condition, For the first Data loss under historical operating conditions For task learners, For the parameters of the task learner, The parameters are for the reciprocal Gaussian sampling mechanism. To the support set The probability distribution of each sample For the task learner on the support set Wear prediction value for each sample For the first The actual wear value of each sample For the first Physical data loss under historical operating conditions For the first Physical wear values ​​for each sample For the first Total support loss for each historical operating condition.

6. The multi-condition tool wear prediction method based on reciprocal Gaussian sampling element learning according to claim 1, characterized in that, The following formula is used to calculate the first... Total query loss for each historical scenario: ; ; ; in, For the first A historical working condition, For the first Data loss after updating historical operating conditions For the updated task learner, The updated parameters for the task learner. The parameters are for the reciprocal Gaussian sampling mechanism. To support the first The probability distribution of each sample For the updated task learner on the support set Wear prediction value for each sample For the first The actual wear value of each sample For the first Physical data loss after updating historical operating conditions For the first Physical wear values ​​for each sample For the first Total query loss for each historical operating condition.