Machine tool precision prediction method based on improved multi-layer perceptron

By improving the residual connection multilayer perceptron model and feature attention subnet, the problems of insufficient prediction accuracy and low model training efficiency in machine tool accuracy detection are solved, realizing efficient and interpretable machine tool accuracy prediction and deployment, which is suitable for industrial sites.

CN123138932APending Publication Date: 2026-11-20DONGFANG ELECTRIC MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611530880.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing machine tool precision detection methods suffer from insufficient predictive accuracy and poor practicality. Furthermore, they have low model training efficiency, a large number of parameters, and high computational resource requirements, making them difficult to deploy in industrial settings. They also lack the ability to intelligently filter input features and provide transparency in decision-making.

Method used

An improved residual-connected multilayer perceptron model is adopted, combined with a feature attention subnet and an adaptive regularization strategy, to construct a lightweight machine tool accuracy prediction model. The deep residual structure alleviates the gradient vanishing problem, the embedded feature attention mechanism automatically learns key signals, and the dropout rate is dynamically adjusted to prevent overfitting.

Benefits of technology

It significantly improves the accuracy and stability of machine tool precision prediction, enhances the model's anti-interference ability and interpretability, reduces computing resource requirements, and enables low-cost industrial field deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138932A_ABST
    Figure CN123138932A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of intelligent manufacturing and industrial artificial intelligence, and particularly relates to a machine tool precision prediction method based on an improved multilayer perceptron. The method comprises: collecting machine tool operation signals, extracting feature data after physical feature enhancement preprocessing; inputting the feature data into a trained improved residual connection MLP model, and outputting precision index prediction values; and performing precision evaluation and health degree evaluation based on the prediction results. The improved model comprises: four residual blocks stacked in sequence, each residual block adopts a double-layer fully connected network and batch normalization, and an identity mapping jump connection is introduced to alleviate gradient disappearance; a lightweight feature attention subnet is arranged after the last residual block, weights are automatically generated through a compression excitation structure, and features are reweighted; and a Dropout strategy with a cycle-dependent dynamic dropout rate is adopted in training. The present application has high prediction accuracy, decision interpretability, and a lightweight structure, and is easy to deploy at a low cost in an industrial site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent manufacturing and industrial artificial intelligence technology, and specifically relates to a machine tool accuracy prediction method based on an improved multilayer perceptron. Background Technology

[0002] Machine tools are core equipment in the manufacturing industry, and their accuracy directly affects processing quality and production efficiency. Traditional machine tool accuracy inspection mainly relies on external measuring tools for periodic checks, with manual judgment of whether the machine tool has excessive accuracy deviations. The degree of digitalization and intelligent application is low. With the development of industrial internet and artificial intelligence technologies, some research has begun to try to apply machine learning or deep learning technologies to machine tool accuracy prediction, but existing methods still have many shortcomings.

[0003] First, the prediction accuracy is limited. Traditional machine learning models have simple structures, or deep neural networks suffer from the gradient vanishing problem, making it difficult to accurately fit the complex nonlinear changes in machine tool accuracy degradation, resulting in insufficient accuracy and low reliability of the prediction results.

[0004] Secondly, its practicality is poor. Traditional methods are inefficient to train and prone to overfitting, while complex deep learning models have a large number of parameters and high computational resource requirements, making them difficult to deploy in industrial environments that are sensitive to real-time performance and cost, thus limiting their practical application value.

[0005] Secondly, feature processing is rigid and decision-making is opaque. Existing methods lack the ability to intelligently filter input features, are easily affected by noisy signals, and the model's decision-making process is like a "black box," lacking interpretability and making it difficult to gain the trust and acceptance of engineers. Summary of the Invention

[0006] In order to solve the above-mentioned problems in the existing technology, the purpose of this invention is to provide a machine tool accuracy prediction method that can take into account prediction accuracy, model interpretability and feasibility of industrial field deployment.

[0007] The technical solution adopted in this invention is as follows: A machine tool accuracy prediction method based on an improved multilayer perceptron includes the following steps: Collect machine tool operating status signals, preprocess the collected signals, and extract feature data; The feature data is input into the trained improved residual connection multilayer perceptron model, and the predicted values ​​of various accuracy indicators are output. Based on the predicted values, the machine tool accuracy status and health assessment are performed; The improved residual connection multilayer perceptron model includes an input layer, N residual blocks, a feature attention subnet, and an output layer, where N≥2; Each residual block includes: a first fully connected layer, a first batch normalization layer, a first ReLU activation function, a second fully connected layer, a second batch normalization layer, and a skip connection structure that adds the input of the residual block to the output of the second batch normalization layer element by element and outputs the result through the second ReLU activation function. The feature attention subnet is set after the last residual block and before the output layer, and is used to reweight the feature vector output by the last residual block.

[0008] As a preferred embodiment of the present invention, N=4, and the improved residual connection multilayer perceptron model includes an input layer, four residual blocks, a feature attention subnet, and an output layer, with a network depth of six or more layers.

[0009] As a preferred embodiment of the present invention, in each residual block, the first fully connected layer and the second fully connected layer both have a dimension of 128.

[0010] As a preferred embodiment of the present invention, the feature attention subnetwork specifically includes: The compression module is used to linearly transform the 128-dimensional feature vector output from the last residual block to 32 dimensions through the third fully connected layer and then activate it with ReLU. The activation module is used to transform the output of the compression module back to 128 dimensions through the fourth fully connected layer, and activate it with Sigmoid to generate 128 attention weights between 0 and 1. The weighting module is used to multiply the attention weights element-wise with the 128-dimensional feature vector output by the last residual block to obtain the reweighted feature vector.

[0011] As a preferred embodiment of the present invention, during the training process of the improved residual connection multilayer perceptron model, a Dropout regularization strategy that dynamically adjusts the dropout rate with the training cycle is adopted, and the output activation value of each residual block is processed by the Dropout layer before being passed to the next module.

[0012] As a preferred embodiment of the present invention, the dynamic adjustment strategy of the dropout rate is as follows: in the initial stage of training, the dropout rate is set to a first preset value, and as the training cycle increases, the dropout rate is linearly increased at preset cycle intervals until a preset upper limit value is reached.

[0013] As a preferred embodiment of the present invention, the first preset value is 0.01, the preset period interval is 10 training periods, the increment is 0.02 each time, and the preset upper limit value is 0.3.

[0014] As a preferred embodiment of the present invention, the machine tool operating status signal includes at least one of vibration signal, current signal and oil film thickness signal; the preprocessing includes physical feature enhancement preprocessing of the acquired signal.

[0015] As a preferred embodiment of the present invention, the accuracy indicators include at least one of the following: linear axis positioning accuracy indicators, geometric accuracy indicators, and spindle rotation indicators.

[0016] As a preferred embodiment of the present invention, the linear axis positioning accuracy indicators include the positioning errors and backlash of the X-axis, Y-axis, Z-axis and W-axis; the geometric accuracy indicators include straightness, perpendicularity and parallelism; and the spindle rotation indicators include spindle end face runout, spindle radial runout and spindle axial runout.

[0017] The beneficial effects of this invention are as follows: 1. This invention adopts a deep residual MLP structure, which effectively solves the gradient vanishing problem of deep networks by introducing skip connections, enabling the model to be built deeper and more expressive, thereby significantly improving the ability to learn and predict machine tool accuracy degradation patterns from complex data, and achieving higher prediction accuracy and stability than traditional methods.

[0018] 2. The feature attention mechanism embedded in the model of this invention can automatically learn and quantify the importance of different input features, enabling the model to dynamically focus on key signals (such as physical features strongly correlated with accuracy degradation, such as current) while weakening the interference of irrelevant or noisy features. This not only enhances the model's anti-interference ability and generalization ability, but also provides clear decision-making basis, significantly improving the model's credibility and practical value in industrial decision support.

[0019] 3. The adaptive regularization strategy (dynamic Dropout) of this invention can intelligently adjust the dropout rate according to the training phase; it retains more network connections in the early stage of training to promote learning, and gradually increases the regularization strength in the later stage to force the network to learn more robust features; while ensuring that the model learns fully, it effectively prevents overfitting, improving training efficiency and the robustness of the final model. At the same time, the model is based on the classic MLP structure, which is computationally efficient and easy to integrate, ensuring that this advanced technology can be deployed and applied in industrial settings at low cost and with low barriers to entry. Attached Figure Description

[0020] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0022] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the invention can be combined with each other.

[0023] like Figure 1 As shown, this invention relates to a machine tool accuracy prediction model based on an improved multilayer perceptron neural network, aiming to achieve accurate assessment of machine tool accuracy status and pre-maintenance decision-making. Specific technical means are as follows: 1) Training Process: The accuracy results of historical measurements are used as labels, and the machine tool signal data collected at the corresponding time points are used as features for correlation training of the AI ​​model. Model Training Stage: The preprocessed feature data is input into the improved residual connection MLP model, and the accuracy results of historical measurements are used as supervision labels. The model parameters are optimized through the backpropagation algorithm.

[0024] 2) Prediction Process: Perform a pre-maintenance data acquisition, input it into the AI ​​model, and predict the current status of various accuracy parameters. Real-time Signal Data Acquisition: Acquire machine tool operating status signals during the pre-maintenance cycle, and record current machining parameters and operating condition information. Online Prediction Process: Perform the same physical feature enhancement preprocessing as in the training phase on the acquired current signals, input the processed features into the trained residual MLP model, and the model outputs the current predicted values ​​of various accuracy indicators. Based on the prediction results, perform accuracy status assessment and health evaluation.

[0025] 3) Model selection: An improved residual-connected multilayer perceptron model is adopted, and the improvement scheme specifically includes: Deep residual structure: The model stacks four identical residual blocks sequentially after the input layer and before the output layer. Each residual block is an independent computational submodule: First, its input passes through a first fully connected layer (dimension: 128), followed by batch normalization and a ReLU activation function; second, it passes through a second fully connected layer (dimension: 128) and batch normalization again; finally, the output after the above transformation is added element-wise to the original input of the residual block (i.e., the identity mapping), then passed through a ReLU activation function, and becomes the output of the residual block, which is then passed to the next module. This design ensures that even as the network depth increases, the gradient of each layer can be effectively propagated through the identity mapping path during backpropagation, fundamentally alleviating the gradient vanishing problem and allowing the network depth to be safely expanded to more than six layers, including the input layer, four residual blocks, and the output layer.

[0026] Feature Attention Mechanism: After the output of the last residual block, the model introduces a lightweight feature attention subnetwork. This subnetwork operates as follows: First, the input 128-dimensional feature vector is linearly transformed to 32 dimensions (compressed to 1 / 4) through a fully connected layer and activated using ReLU. Then, it is transformed back to 128 dimensions through another fully connected layer and activated using the Sigmoid activation function, generating an attention weight between 0 and 1 for each dimension of the original 128-dimensional features. Finally, the original 128-dimensional features are reweighted using this weight vector through element-wise multiplication. This mechanism allows the model to automatically focus on key physical features strongly correlated with accuracy degradation (such as current), while mitigating interference from irrelevant or noisy features.

[0027] Adaptive Regularization Strategy: During model training, a Dropout strategy that dynamically adjusts with each training epoch is employed. Specifically, the output activation value of each residual block passes through a Dropout layer before being passed to the next module. The dropout rate p of this layer is not fixed but follows a predefined adjustment strategy: in the initial training phase (e.g., the first 10 epochs), p is set to a low 0.01 to accelerate early model convergence; as training progresses, p increases linearly by 0.02 every fixed epoch interval (e.g., 10 epochs) until it reaches a preset upper limit of 0.3. This strategy preserves more network connections in the early stages of training to promote learning, and gradually increases the regularization strength in the later stages to force the network to learn more robust features, thus achieving a better balance between model capacity and generalization ability.

[0028] The complete prediction process in this embodiment: S1: Data Acquisition: During the pre-maintenance cycle, the machine tool's operating status signals, including vibration signals, current signals, and oil film thickness signals, are acquired through sensors, while the current processing parameters and operating condition information are recorded.

[0029] S2: Data preprocessing: Perform preprocessing operations such as filtering and denoising, signal alignment and physical feature enhancement on the acquired raw signals to extract feature data that can reflect the machine tool's operating status.

[0030] S3: Model Prediction: The preprocessed feature data is input into the trained improved residual connection multilayer perceptron model. The model first extracts deep features through four residual blocks, then intelligently weights the features through a feature attention subnetwork, and finally outputs the predicted values ​​of various accuracy indicators through the output layer.

[0031] S4: Result Evaluation: Based on the predicted values ​​output by the model, the machine tool's accuracy status and health are evaluated. If the predicted value of a certain accuracy indicator exceeds a preset threshold, a warning signal is issued, indicating that pre-maintenance operations are required.

[0032] S5: Maintenance Decision: Based on the accuracy assessment results, generate pre-maintenance recommendations, including the accuracy items that need maintenance, the recommended maintenance time, and maintenance measures.

[0033] This embodiment verifies the technical effectiveness of the method of the present invention through experiments. The experiment uses historical operating data of a certain type of CNC machine tool, including multi-source signal data such as vibration, current, and oil film thickness, as well as corresponding accuracy index measurements. The dataset is divided into training and test sets in a 7:3 ratio.

[0034] The method of the present invention is compared with the following comparative methods: 1) traditional MLP model (without residual connections); 2) MLP model with residual connections (without attention mechanism); 3) MLP model with attention mechanism (without residual connections).

[0035] Experimental results show that: In terms of prediction accuracy, the mean absolute error (MAE) of the method of this invention is reduced by about 35% compared with the traditional MLP model, by about 18% compared with the MLP model with only residual connections, and by about 22% compared with the MLP model with only attention mechanism; In terms of training efficiency, the dynamic Dropout strategy of the present invention makes the model converge faster than the model with a fixed Dropout rate, and shortens the training cycle by about 20%. In terms of generalization ability, the method of this invention shows the smallest difference between its performance on the test set and its performance on the training set, indicating that the adaptive regularization strategy effectively prevents overfitting. In terms of interpretability, by analyzing the weight distribution of the feature attention subnet output, the key signal features that contribute the most to the prediction of various accuracy indicators can be clearly identified, providing engineers with an intuitive basis for decision-making.

[0036] The above experiments verify the comprehensive advantages of the method of the present invention in terms of prediction accuracy, training efficiency, generalization ability and interpretability.

[0037] Because this invention is based on the classic MLP structure, it has a moderate number of model parameters and high computational efficiency, making it suitable for deployment in edge computing devices or industrial computers in industrial settings. Specific deployment methods include: Offline deployment: The trained model parameters are solidified and deployed in the machine tool's local control system or a supporting industrial computer for real-time or periodic accuracy prediction; Online updates: In scenarios with network access, new data collected on-site can be transmitted back to the cloud server, and the model can be incrementally trained or fine-tuned periodically. The updated model parameters are then sent back to the on-site equipment.

[0038] The lightweight nature of this invention enables its deployment and application in various industrial settings with low cost and low barriers to entry.

[0039] This invention is not limited to the above-described optional embodiments. Anyone can derive other various forms of products under the guidance of this invention. However, regardless of any changes made in their shape or structure, any technical solution that falls within the scope of the claims of this invention shall be protected by this invention.

Claims

1. A machine tool accuracy prediction method based on an improved multilayer perceptron, characterized in that: Includes the following steps: Collect machine tool operating status signals, preprocess the collected signals, and extract feature data; The feature data is input into the trained improved residual connection multilayer perceptron model, and the predicted values ​​of various accuracy indicators are output. Based on the predicted values, the machine tool accuracy status and health assessment are performed; The improved residual connection multilayer perceptron model includes an input layer, N residual blocks, a feature attention subnet, and an output layer, where N≥2; Each residual block includes: a first fully connected layer, a first batch normalization layer, a first ReLU activation function, a second fully connected layer, a second batch normalization layer, and a skip connection structure that adds the input of the residual block to the output of the second batch normalization layer element by element and outputs the result through the second ReLU activation function. The feature attention subnet is set after the last residual block and before the output layer, and is used to reweight the feature vector output by the last residual block.

2. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: The improved residual connection multilayer perceptron model with N=4 includes an input layer, four residual blocks, a feature attention subnet, and an output layer, with a network depth of six or more layers.

3. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: In each residual block, the first fully connected layer and the second fully connected layer both have a dimension of 128.

4. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: The feature attention subnetwork specifically includes: The compression module is used to linearly transform the 128-dimensional feature vector output from the last residual block to 32 dimensions through the third fully connected layer and then activate it with ReLU. The activation module is used to transform the output of the compression module back to 128 dimensions through the fourth fully connected layer, and activate it with Sigmoid to generate 128 attention weights between 0 and 1. The weighting module is used to multiply the attention weights element-wise with the 128-dimensional feature vector output by the last residual block to obtain the reweighted feature vector.

5. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: During the training process of the improved residual connection multilayer perceptron model, a Dropout regularization strategy that dynamically adjusts the dropout rate with the training cycle is adopted. The output activation value of each residual block is processed by the Dropout layer before being passed to the next module.

6. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 5, characterized in that: The dynamic adjustment strategy for the dropout rate is as follows: in the initial stage of training, the dropout rate is set to a first preset value. As the training cycle increases, the dropout rate is linearly increased at preset cycle intervals until a preset upper limit value is reached.

7. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 6, characterized in that: The first preset value is 0.01, the preset period interval is 10 training periods, the increment is 0.02 each time, and the preset upper limit value is 0.

3.

8. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: The machine tool operating status signal includes at least one of vibration signal, current signal and oil film thickness signal; the preprocessing includes physical feature enhancement preprocessing of the acquired signal.

9. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 1, characterized in that: The accuracy indicators include at least one of the following: linear axis positioning accuracy indicators, geometric accuracy indicators, and spindle rotation indicators.

10. The machine tool accuracy prediction method based on an improved multilayer perceptron according to claim 9, characterized in that: The linear axis positioning accuracy indicators include positioning errors and backlash of the X, Y, Z, and W axes; the geometric accuracy indicators include straightness, perpendicularity, and parallelism; and the spindle rotation indicators include spindle end face runout, spindle radial runout, and spindle axial runout.