Method and system for monitoring corrosion resistance of marine non-specific structure material

Through neural network models and machine learning technology, real-time monitoring and prediction of corrosion conditions of non-specific structures in the ocean solves the problem of timeliness and accuracy of corrosion resistance monitoring in the existing technology, improves monitoring efficiency and prediction capabilities, and adapts to different Environmental and material characteristics extend the service life of the structure.

CN118746539AInactive Publication Date: 2024-10-08TIANJIN LINGCHUANG HENGZHI NEW MATERIALS CO LTD

Patent Information

Application Number
CN202410767159.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing corrosion resistance monitoring of non-specific marine structural materials is difficult to provide timely and reliable monitoring, and it is difficult to accurately predict corrosion under different environmental and solvent conditions, resulting in low monitoring efficiency.

Method used

Using neural network models and machine learning technology, through data preprocessing, feature extraction and model training, a corrosive index is generated to monitor and predict the corrosion of non-specific marine structures in real time, improving the timeliness, reliability and accuracy of monitoring.

Benefits of technology

It realizes multi-condition, multi-angle, and multi-dimensional corrosion assessment of non-specific marine structural materials, improves the accuracy of corrosion prediction and monitoring efficiency, adapts to the characteristics of different marine environments and structural materials, and extends the service life of structures. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746539A_ABST
    Figure CN118746539A_ABST
Patent Text Reader

Abstract

The invention discloses a marine non-specific structure material corrosion resistance monitoring method, which comprises the steps of generating a data set according to collected marine non-specific structure monitoring data, and performing data preprocessing on the data set; continuously training the data set by adopting a machine learning method to obtain a corrected corrosion monitoring model, which comprises the following steps: extracting corrosion-related characteristics in the data set, generating a corrosion index, and inputting the corrosion index into a neural network model for training to obtain the corrected corrosion monitoring model; deploying a corrosion monitoring model, and further continuously collecting real-time ocean non-specific structure monitoring data; and inputting real-time marine non-specific structure monitoring data into the corrosion monitoring model, continuously obtaining a marine non-specific structure corrosion resistance prediction result, and continuously feeding back the prediction result. According to the invention, the timeliness and reliability of corrosion resistance monitoring of the marine non-specific structure material can be improved, and the monitoring accuracy and the monitoring efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of corrosion resistance monitoring, and in particular to a method and system for monitoring the corrosion resistance of marine non-specific structural materials. Background Art

[0002] In the field of marine engineering, the materials of structures such as offshore platforms, ships, submarine oil and gas pipelines and offshore wind power are susceptible to seawater corrosion, so cathodic protection technology is needed to extend their service life. Cathodic protection is a method of applying external current to form a protective current on the surface of the structure, thereby inhibiting metal corrosion. In order to ensure the effectiveness of the cathodic protection system, the corrosion resistance of the structure needs to be monitored and monitored regularly.

[0003] At present, the existing corrosion resistance monitoring of non-specific marine structural materials usually conducts real-time monitoring of the surface of the structure. It only issues an alarm when there is a problem with the cathodic protection system on the surface of the structure or the structure itself is corroded. It cannot provide timely and reliable corrosion resistance monitoring. In addition, the existing corrosion resistance monitoring is based on limited experience and it is difficult to accurately predict the actual corrosion resistance of the structure under different environments, different solvents, and different container conditions, resulting in low monitoring efficiency.

[0004] Therefore, there is an urgent need for a corrosion resistance monitoring method that can improve the timeliness and reliability of corrosion resistance monitoring of marine non-specific structural materials, as well as improve the monitoring accuracy and efficiency. Summary of the invention

[0005] Purpose of the invention: In order to overcome the above shortcomings, the purpose of the present invention is to provide a method for monitoring the corrosion resistance of marine non-specific structural materials. The method is flexible in application and comprehensively uses neural network models, feature engineering and other technologies to evaluate the corrosion conditions of marine non-specific structural materials and predict future corrosion trends, thereby improving the timeliness and reliability of monitoring, and improving the monitoring accuracy and efficiency.

[0006] In order to solve the above technical problems, the present invention provides a method for monitoring the corrosion resistance of marine non-specific structural materials, comprising:

[0007] Step 1: Generate a data set based on the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set;

[0008] Step 2: Using a machine learning method to continuously train the data set to obtain a revised corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosion index, inputting the corrosion index into a neural network model for training, and obtaining a revised corrosion monitoring model;

[0009] Step 3: Deploy a corrosion monitoring model to continuously collect real-time marine non-specific structure monitoring data;

[0010] Step 4: Input the real-time marine non-specific structure monitoring data into the corrosion monitoring model to continuously obtain the prediction results of the corrosion resistance of marine non-specific structures, and continuously feedback the prediction results.

[0011] As a preferred embodiment of the present invention, in step 1, the method further comprises the following steps:

[0012] Step 10: Collecting marine non-specific structure monitoring data to generate a data set, wherein the marine non-specific structure monitoring data includes: corrosion degree, environmental conditions and structural material property parameters;

[0013] Step 11: Delete or fill missing values ​​in the data set, wherein the filling includes: mean filling, median filling, mode filling or interpolation filling;

[0014] Step 12: Use the Z-score method to process outliers in the data set:

[0015] Calculate the Z-score:

[0016]

[0017] Identify |z| greater than the set threshold α as an outlier.

[0018] Among them, x is the feature data in the data set, μ is the mean of the feature data x, and σ is the standard deviation of the feature data x;

[0019] Step 13: Perform data smoothing processing on the data set, wherein the data smoothing processing includes moving average processing or exponential smoothing processing.

[0020] As a preferred embodiment of the present invention, in step 13, the method further comprises the following steps:

[0021] Step 130: Determine the size n of the moving window, which is the number of data points used to calculate the moving average;

[0022] Step 131: Slide the moving windows in sequence and calculate the moving average value of the data points in each moving window:

[0023]

[0024] Among them, x j is the value of the jth data point, and i is the starting position of the moving window.

[0025] As a preferred embodiment of the present invention, in step 13, the method further comprises the following steps:

[0026] Step 132: Initialize the exponential smoothing value of the first data point in the data set to the value of the data point;

[0027] Step 133: For subsequent data points in the data set, recursive calculation is performed according to the exponential smoothing formula:

[0028] EMA i =a·x i +(1-a) EMA i-1

[0029] Among them, x i is the value of the ith data point, a is the smoothing coefficient, ranging from (1,0), EMA i-1 is the exponentially smoothed value of the previous data point.

[0030] As a preferred embodiment of the present invention, in step 2, the method further comprises the following steps:

[0031] Step 20: extracting corrosion-related features from the data set after data preprocessing, wherein the corrosion-related features include at least one of seawater temperature, salinity, pH value, structure material type, structure ratio, corrosion degree, environmental conditions and structure material property parameters;

[0032] Step 21: Construct preset features based on the features related to corrosion;

[0033] Step 22: Perform feature scaling on the preset features to ensure that the scales of different preset features are similar, wherein the feature scaling includes standardization and normalization.

[0034] As a preferred embodiment of the present invention, in step 2, the method further comprises the following steps:

[0035] Step 23: Set the number of neurons, layers and activation function of the neural network model;

[0036] Step 24: Using a preset machine learning algorithm and using the data set to train the neural network model;

[0037] Step 25: During the training of the neural network model, the parameters of the neural network model are optimized, and then the optimized neural network model is set as a corrosion monitoring model.

[0038] As a preferred embodiment of the present invention, in step 24, the method further comprises the following steps:

[0039] Step 240: Input the data set into the neural network model, and obtain the predicted output of the neural network model by calculation:

[0040] Input layer to hidden layer: z (1) =xW (1) +b (1) , a=r(z (1) )

[0041] Hidden layer to output layer: Z (2) =aW (2) +b (2) ,

[0042] Where x is the input sample, W (1) and W (2) are the weights from the input layer to the hidden layer and from the hidden layer to the output layer, b (1) is the bias of the hidden layer, b (2) is the bias of the output layer, a is the output of the hidden layer after the activation function, r is the activation function, and Z (1) is the linear transformation result of the input sample after the hidden layer weights and biases, z (2) It is the linear transformation result of the output of the hidden layer after the weight and bias of the output layer. is the predicted output of the neural network model;

[0043] Step 241: Compare the predicted output of the neural network model with the true label and calculate the value of the loss function:

[0044]

[0045] Among them, J is the loss function value, and y is the true label of the input sample;

[0046] Step 242: Calculate the partial derivative of the loss function with respect to the parameters:

[0047]

[0048] in, is the loss function J on the output layer weight W (2) The partial derivative of is the loss function J biasing the output layer b (2) The partial derivative of Loss function J for hidden layer weights W (1) The partial derivative of is the loss function J biasing the hidden layer b (1) The partial derivative of

[0049] Step 243: Update the parameters of the neural network model:

[0050]

[0051]

[0052] Among them, W' (2) is the updated weight from the hidden layer to the output layer, W' (1) is the updated input layer to hidden layer weight, and α is the learning rate.

[0053] As a preferred embodiment of the present invention, in step 25, the method further comprises the following steps:

[0054] Step 250: Calculate the first-order moment of the gradient using the exponentially weighted moving average method:

[0055] m t =β1m t-1 +(1-β1)g t

[0056] Among them, m t is the first-order moment of the gradient, β1 is the exponential decay rate of the first-order moment, g t is the current gradient;

[0057] Step 251: Calculate the second-order moment of the gradient using the exponentially weighted moving average method:

[0058]

[0059] Among them, v t is the second-order moment of the gradient, β2 is the exponential decay rate of the second-order moment;

[0060] Step 252: Correct the first-order moment deviation and the second-order moment deviation of the gradient:

[0061]

[0062] in, is the first moment of the bias-corrected gradient, is the second moment of the bias-corrected gradient;

[0063] Step 253: Update the parameters of the neural network model according to the first-order moment and the second-order moment of the gradient:

[0064]

[0065] Among them, θ' is the updated weight or bias parameter, θ is the weight or bias parameter to be updated, α is the learning rate, and ∈ is a constant to prevent division by zero errors, and its value range is 10 -8 Up to 10 -10 between.

[0066] As a preferred embodiment of the present invention, in step 25, the method further comprises the following steps:

[0067] Step 254: Generate a parameter space according to the set hyperparameters and their value ranges;

[0068] Step 255: In the generated parameter space, combine the value of each hyperparameter into all parameter combinations;

[0069] Step 256: For each parameter combination, use a cross-validation method to divide the data set into a training set and a validation set, and then train the neural network model on the training set, and evaluate the performance of the neural network model on the validation set using a preset evaluation indicator;

[0070] Step 257: By comparing the performance of the neural network model with different parameter combinations on the validation set, the parameter combination with the best performance is selected as the final neural network model configuration.

[0071] The present invention also provides a system for monitoring the corrosion resistance of marine non-specific structural materials, comprising:

[0072] A data processing module, used to collect marine non-specific structure monitoring data, generate a data set according to the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set;

[0073] A model training module is used to continuously train the data set using a machine learning method to obtain a modified corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosive index, inputting the corrosive index into a neural network model for training, and obtaining a modified corrosion monitoring model;

[0074] Model deployment module, used to deploy corrosion monitoring models;

[0075] The corrosion prediction module is used to continuously collect real-time marine non-specific structure monitoring data, and then input the real-time marine non-specific structure monitoring data into the corrosion monitoring model to continuously obtain the prediction results of the corrosion resistance of marine non-specific structures, and continuously feedback the prediction results.

[0076] The above technical solution of the present invention has the following advantages compared with the prior art:

[0077] 1. Using non-specific mode monitoring, combined with electrochemical sensors, phase measurement instruments, infrared imaging and other sensor technologies, a variety of marine non-specific structures are continuously monitored to obtain corrosion-related data of non-specific structures, and to achieve multi-condition, multi-angle, non-specific environment, and multi-dimensional assessment of the corrosion of marine non-specific structures, thereby improving the accuracy of prediction; non-specific structures refer to structures for which this application does not limit their type, composition, ecology, period, health, epiphyte, hardness, etc., but only collects relevant corrosion data;

[0078] 2. Use machine learning technology to establish a corrosion prediction model based on monitoring data to predict the future corrosion trend of non-specific marine structures. By extracting non-specific features related to corrosion in the monitoring data, such as seawater temperature, salinity, pH value, and the type of structural materials and proportion of structures, the model's ability to predict corrosion conditions can be improved;

[0079] 3. It can collect monitoring data of non-specific structures in real time, so that the corrosion prediction model can be updated and optimized in real time to adapt to the characteristics of different marine environments and non-specific structural materials, and improve the adaptability, reliability and service life of the non-specific corrosion prediction model. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0081] Figure 1 It is a connection diagram of a system for monitoring corrosion resistance of marine non-specific structural materials according to an embodiment of the present invention.

[0082] Figure 2 It is a flow chart of a method for monitoring corrosion resistance of marine non-specific structural materials according to an embodiment of the present invention.

[0083] Figure 3 It is a flow chart of a data preprocessing method shown in an embodiment of the present invention.

[0084] Figure 4 It is a flow chart of a data moving average processing method shown in an embodiment of the present invention.

[0085] Figure 5 It is a flow chart of a data exponential smoothing processing method shown in an embodiment of the present invention.

[0086] Figure 6 It is a flow chart of a feature extraction method shown in an embodiment of the present invention.

[0087] Figure 7 It is a flow chart of a neural network model setting method shown in an embodiment of the present invention.

[0088] Figure 8 It is a flow chart of a neural network model training method shown in an embodiment of the present invention.

[0089] Fig. 9 It is a flow chart of a neural network model optimization method shown in an embodiment of the present invention.

[0090] Fig.10 It is a flow chart of a method for combining grid search and cross validation shown in an embodiment of the present invention.

[0091] Fig.11 It is a schematic diagram of module connection of a control unit shown in an embodiment of the present invention.

[0092] Description of the Figures in the Specification:

[0093] 10. Electrochemical sensor, 11. Phase detector, 12. Infrared imaging sensor, 20. Data processing module, 21. Model training module, 22. Model deployment module, 23. Corrosion prediction module. DETAILED DESCRIPTION

[0094] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0095] refer to Figure 1 As shown, in some embodiments, a marine non-specific structural material corrosion resistance monitoring system is composed of at least a sensor unit and a control unit.

[0096] Sensor unit

[0097] The sensor unit includes an electrochemical sensor 10 , a phase measurement device 11 , and an infrared imaging sensor 12 .

[0098] Specifically, the electrochemical sensor 10 can monitor the electrochemical reaction on the surface of the material to evaluate the degree of corrosion. Electrode materials suitable for the marine environment, such as copper, silver, etc., can be selected. By installing multiple electrochemical sensors at different locations of non-specific marine structures, comprehensive monitoring of the corrosion situation can be achieved.

[0099] The phase meter 11 is a device for measuring the phase change of a signal, that is, it is often used to measure the changes in the physical properties or structure of a material. In the prediction of the corrosion resistance of non-specific marine structural materials, the phase meter 11 can be used to monitor the slight deformation, stress state and corrosion of the material. By measuring the phase change of the signal, the changes on the surface of the structure can be more accurately understood, thereby evaluating the degree of corrosion of the material.

[0100] The infrared imaging sensor 12 can detect changes in the surface temperature of the material, thereby identifying the corrosion site. The corrosion site usually exhibits temperature characteristics different from the surrounding materials. By performing regular infrared imaging scans on the surface of the structure, corrosion can be discovered in time, which helps prevention and repair.

[0101] In the actual implementation process, the electrochemical sensor 10, phase measuring instrument 11, infrared imaging sensor 12 can be set in several different positions of the marine non-specific structure to achieve comprehensive monitoring of the corrosion situation, which is helpful to comprehensively evaluate the corrosion situation of the marine non-specific structure materials; and the types of sensors included in the sensor unit can also be increased or decreased according to actual needs, for example: adding an oxygen meter to detect the oxygen content of seawater, a water flow rate meter to measure the flow rate of seawater, a pressure sensor to measure the pressure value of the marine non-specific structure, an underwater camera to monitor the marine biological activities and environmental pollutants in the marine non-specific structure area, and a temperature sensor to measure the seawater temperature value. Further, the sensor unit can also be installed on an underwater intelligent inspection robot, and then let the underwater intelligent inspection robot patrol and scan different positions of the marine non-specific structure to achieve comprehensive monitoring of the corrosion situation.

[0102] Control unit 2

[0103] The control unit 2 is connected to the electrochemical sensor 10 , the phase measuring instrument 11 , and the infrared imaging sensor 12 respectively, and is used to perform corrosion resistance monitoring of marine non-specific structural materials.

[0104] Therefore, reference Figure 2 As shown, one aspect of the present invention provides a method for monitoring the corrosion resistance of marine non-specific structural materials, the method comprising the following steps:

[0105] S1: Generate a data set based on the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set.

[0106] Specifically, refer to Figure 3 As shown, in S1, the method further includes the following steps:

[0107] S10: Collecting marine non-specific structure monitoring data to generate a data set, wherein the marine non-specific structure monitoring data includes: corrosion degree, environmental conditions and structural material property parameters.

[0108] Specifically, the monitoring data of non-specific marine structures are collected, including but not limited to the degree of corrosion, environmental conditions, and material status of structures obtained by electrochemical sensors, phase detectors, and infrared imaging sensors.

[0109] S11: Delete or fill the missing values in the data set. The filling includes: mean filling, median filling, mode filling, or interpolation filling.

[0110] Specifically, deleting the missing values means removing the data rows containing missing values from the data set.

[0111] Mean filling process: Calculate the mean of the data column or row, and then replace the missing values with this mean. The calculation formula is:

[0112]

[0113] where x i are the non-missing values in the data column or row, n is the number of non-missing values, is the mean.

[0114] Median filling process: Replace the missing values according to the median of the data column or row.

[0115] Mode filling process: Replace the missing values according to the value with the highest frequency in the data column or row.

[0116] Interpolation filling process: Replace the missing values through the trend between known data points, including but not limited to linear interpolation, polynomial interpolation, spline interpolation, etc.

[0117] Exemplarily, if linear interpolation is adopted, and it is assumed that the known data points in the feature column are (c1, d1) and (c2, d1), where c1 < x < c2, then the missing value can be calculated by linear interpolation through the following formula:

[0118]

[0119] S12: Use the Z-score method to process the outliers in the data set:

[0120] Calculate the Z-score:

[0121]

[0122] Identify the |z| greater than the set threshold as an outlier,

[0123] where x is the feature data in the data set, μ is the mean of the feature data x, and σ is the standard deviation of the feature data x.

[0124] Specifically, according to the set threshold, if |z| > the set threshold, then the corresponding feature data x is considered an outlier.

[0125] S13: Smooth the data set. The data smoothing process includes moving average processing or exponential smoothing processing.

[0126] Specifically, refer to Figure 4 As shown, the moving average processing also includes the following steps:

[0127] S130: Determine the size n of the moving window, which represents the number of data points used to calculate the moving average;

[0128] S131: Slide the moving windows in sequence and calculate the moving average value of the data points in each moving window:

[0129]

[0130] Among them, x j is the value of the jth data point, and i is the starting position of the moving window.

[0131] Specifically, refer to Figure 5 As shown, the exponential smoothing process also includes the following steps:

[0132] S132: Initialize the exponential smoothing value of the first data point in the data set to the value of the data point;

[0133] S133: For subsequent data points in the data set, recursive calculation is performed according to the exponential smoothing formula:

[0134]

[0135] Among them, x i is the value of the ith data point, is the smoothing coefficient, the value range is (1,0), EMA i-1 is the exponentially smoothed value of the previous data point.

[0136] S2: Using machine learning methods to continuously train the data set to obtain a revised corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosion index, inputting the corrosion index into a neural network model for training, and obtaining a revised corrosion monitoring model.

[0137] Specifically, refer to Figure 6 As shown, in S2, the method further includes the following steps:

[0138] S20: Extracting corrosion-related features from the data set that has undergone data preprocessing.

[0139] Among them, these corrosion-related characteristics can be obtained by direct monitoring of various sensors, or by processing and treating raw data, or by combining direct monitoring of various sensors with known information of seawater and structures, and include at least one of seawater temperature, salinity, pH value, type of structural material, proportion of structure, degree of corrosion, environmental conditions and structural material attribute parameters; and the environmental conditions include but are not limited to:

[0140] Electrochemical properties: including conductivity, potential difference, etc. These properties can provide information about electrochemical reactions in seawater, thereby affecting the corrosion rate of structural materials;

[0141] Seawater oxygen content: The oxygen content in seawater has an important influence on metal corrosion. The presence of oxygen can accelerate the corrosion process.

[0142] Flow rate and hydrodynamic characteristics: The flow rate and hydrodynamic characteristics of seawater will affect the stress on the surface of the structure, thereby affecting the occurrence and development of corrosion;

[0143] Marine biological activity: The growth and activity of marine organisms will form biofilms on the surface of structures, thus affecting the occurrence and rate of corrosion;

[0144] Environmental pollutants: Pollutants (such as oil, chemicals, etc.) present in the marine environment will affect the corrosion behavior of structural materials;

[0145] Temperature change rate: The rate of change of seawater temperature may also affect corrosion. Rapid temperature changes may cause changes in stress and strain on the surface of the material, which in turn affects the corrosion rate.

[0146] S21: Construct preset features based on features related to corrosion.

[0147] The preset features are set by the tester according to actual needs, that is, the tester constructs more efficient features based on domain knowledge and experience to enhance the predictive ability of the model. For example, the seawater corrosivity index feature is generated based on the seawater temperature, salinity, pH value and the composition information of the structural material.

[0148] S22: Scaling the preset features to ensure that the scales of different preset features are similar, wherein the feature scaling includes standardization and normalization.

[0149] Among them, standardization scales the features to a range of mean 0 and standard deviation 1, and normalization scales the features to a range of 0 to 1. The specific normalization process is:

[0150]

[0151] in, is the normalized eigenvalue, the feature data in the x data set, min(x) is the minimum value of the feature, and max(x) is the maximum value of the feature.

[0152] Specifically, refer to Figure 7 As shown, in S2, the method further includes the following steps:

[0153] S23: Set the number of neurons, number of layers and activation function of the neural network model;

[0154] Among them, setting the number of neurons is to set the number of neurons in the hidden layer. Increasing the number of neurons in the hidden layer can increase the capacity of the model, but it may also cause overfitting; reducing the number of neurons in the hidden layer may limit the representation ability of the model. For each hidden layer, the number of neurons determines the size of the weight matrix of the layer. Therefore, the initial number of neurons of the neural network model is preliminarily set by the tester, and the optimal number of neurons is selected in the subsequent optimization process.

[0155] The number of layers and activation functions are set by the tester according to actual needs, such as sigmoid function, ReLU function, tanh function, etc.

[0156] S24: Using a preset machine learning algorithm and using the data set to train the neural network model;

[0157] Among them, the preset machine learning algorithms include but are not limited to the gradient descent algorithm, the stochastic gradient descent (SGD) algorithm, the Adam optimization algorithm, etc., which are specifically set by the tester according to actual needs.

[0158] S25: During the training process of the neural network model, the parameters of the neural network model are optimized, and then the optimized neural network model is set as a corrosion monitoring model.

[0159] Among them, optimizing model parameters involves adjusting the hyperparameters of the neural network, such as learning rate, batch size, number of neurons, etc., to improve the predictive ability and generalization ability of the model. The commonly used optimization method usually adopts cross-validation; the cross-validation is a common method for evaluating model performance and selecting the best hyperparameters. It divides the training data set into multiple subsets, uses one part as the validation set each time, and the rest as the training set. Then, the model is trained multiple times and the average of the performance indicators on the validation set is calculated to evaluate the generalization ability of the model.

[0160] S3: Deploy a corrosion monitoring model to continuously collect real-time marine non-specific structure monitoring data.

[0161] Specifically, in S3, when real-time marine non-specific structure monitoring data is continuously collected, missing value processing, outlier processing, and data smoothing processing are performed on the collected marine non-specific structure monitoring data to ensure the quality and consistency of the data.

[0162] S4: Input the real-time marine non-specific structure monitoring data into the corrosion monitoring model to continuously obtain the prediction results of the corrosion resistance of marine non-specific structures, and continuously feedback the prediction results.

[0163] Specifically, in S4, after the prediction results are generated, the prediction results are analyzed to determine the corrosion condition of the structure and predict the time and location of corrosion based on the prediction results. At the same time, corresponding maintenance and management measures are formulated according to the corrosion conditions to extend the service life of the structure, including regular cleaning, anti-corrosion coating maintenance, and repair of damaged parts.

[0164] In some embodiments, reference Figure 8 As shown, in S24, the method further includes the following steps:

[0165] S240: Input the data set into the neural network model, and obtain the predicted output of the neural network model through calculation:

[0166] Input layer to hidden layer: z (1) =xW (1) +b (1) , a=r(z (1) )

[0167] Hidden layer to output layer: z (2) =aW (2) +b (2) ,

[0168] Where x is the input sample, W (1) and W (2) are the weights from the input layer to the hidden layer and from the hidden layer to the output layer, b (1) is the bias of the hidden layer, b (2) is the bias of the output layer, a is the output of the hidden layer after the activation function, r is the activation function, z (1) is the linear transformation result of the input sample after the hidden layer weights and biases, z (2) It is the linear transformation result of the output of the hidden layer after the weight and bias of the output layer. is the predicted output of the neural network model;

[0169] S241: Compare the predicted output of the neural network model with the true label and calculate the value of the loss function:

[0170]

[0171] Among them, J is the loss function value, and y is the true label of the input sample;

[0172] S242: Calculate the partial derivative of the loss function with respect to the parameters:

[0173]

[0174] in, is the loss function J on the output layer weight W (2) The partial derivative of is the loss function J biasing the output layer b (2) The partial derivative of Loss function J for hidden layer weights W (1) The partial derivative of is the loss function J biasing the hidden layer b (1) The partial derivative of

[0175] S243: Update the parameters of the neural network model:

[0176]

[0177] Among them, W' (2) is the updated weight from the hidden layer to the output layer, W' (1) is the updated input layer to hidden layer weight, and α is the learning rate.

[0178] In some embodiments, reference Fig. 9 As shown, in S25, the parameters of the neural network model are optimized using the Adam optimization algorithm, and the method further includes the following steps:

[0179] S250: Calculate the first-order moment of the gradient using the exponentially weighted moving average method:

[0180] m t =β1m t-1 +(1-β1)g t

[0181] Among them, m t is the first moment of the gradient, β1 is the exponential decay rate, g t is the current gradient;

[0182] S251: Calculate the second-order moment of the gradient using the exponentially weighted moving average method:

[0183]

[0184] Among them, v t is the second-order moment of the gradient, β2 is the exponential decay rate;

[0185] S252: Correction of the first-order moment deviation and the second-order moment deviation of the gradient:

[0186]

[0187] in, is the first moment of the bias-corrected gradient, is the second moment of the bias-corrected gradient;

[0188] S253: Update the parameters of the neural network model according to the first-order moment and second-order moment of the gradient:

[0189]

[0190] Among them, θ' is the updated weight or bias parameter, θ is the weight or bias parameter to be updated, α is the learning rate, and ∈ is a constant to prevent division by zero errors, and its value range is 10 -8 Up to 10 -10 between.

[0191] In some embodiments, reference Fig.10 As shown, in S25, the method further includes the following steps:

[0192] S254: Generate a parameter space according to the set hyperparameters and their value ranges.

[0193] Among them, hyperparameters are parameters that need to be set manually before training. They control the learning process and behavior of the model, rather than parameters automatically learned through training data, such as the learning rate, number of layers, and number of neurons in a neural network.

[0194] Specifically, suppose there are two hyperparameters and ω, and we want to adjust them within a limited range of values, we can divide the range of these two hyperparameters into a set of discrete values, and then combine these values ​​to form a parameter space. For example, assume The value range of is {0.1, 0.01, 0.001}, and the value range of ω is {0.9, 0.99, 0.999}, then all possible combinations can be listed to generate a two-dimensional parameter space grid:

[0195]

[0196] Each point represents a set of hyperparameter values.

[0197] S255: In the determined parameter space, the value of each hyperparameter is combined into all parameter combinations.

[0198] S256: For each parameter combination, the data set is divided into a training set and a validation set using a cross-validation method, and then the neural network model is trained on the training set, and the performance of the neural network model is evaluated on the validation set using preset evaluation indicators.

[0199] Among them, some evaluation indicators, such as accuracy, precision, recall, F1-score, etc., are usually used to evaluate model performance.

[0200] S257: By comparing the performance of the neural network model with different parameter combinations on the validation set, the parameter combination with the best performance is selected as the final neural network model configuration.

[0201] Among them, the above steps combine grid search with cross-validation to better evaluate the generalization performance of the model and avoid overfitting.

[0202] Therefore, reference Fig.11 As shown, one aspect of the present invention provides a system for monitoring the corrosion resistance of marine non-specific structural materials. The system for monitoring the corrosion resistance of marine non-specific structural materials uses the above-mentioned method for monitoring the corrosion resistance of marine non-specific structural materials to monitor the corrosion resistance of marine non-specific structural materials. The control unit 2 includes:

[0203] The data processing module 20 is used to collect the marine non-specific structure monitoring data, generate a data set according to the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set;

[0204] The model training module 21 is used to continuously train the data set using a machine learning method to obtain a modified corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosion index, inputting the corrosion index into a neural network model for training, and obtaining a modified corrosion monitoring model;

[0205] A model deployment module 22, used to deploy a corrosion monitoring model;

[0206] The corrosion prediction module 23 is used to continuously collect real-time marine non-specific structure monitoring data, and then input the real-time marine non-specific structure monitoring data into the corrosion monitoring model, continuously obtain the marine non-specific structure corrosion resistance prediction results, and continuously feedback the prediction results, analyze the prediction results, so as to determine the corrosion status of the non-specific structure and predict the time and location of corrosion based on the prediction results, and formulate corresponding maintenance and management measures according to the corrosion situation to extend the service life of the non-specific structure, including regular cleaning, anti-corrosion coating maintenance, repair of damaged parts, etc.

[0207] The present invention also provides a computer medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method for monitoring the corrosion resistance of marine non-specific structural materials.

[0208] The present invention also provides a computer, comprising the computer medium.

[0209] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0210] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for monitoring the corrosion resistance of marine non-specific structural materials, characterized in that: The following steps are involved: Step 1: Generate a data set based on the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set; Step 2: Using a machine learning method to continuously train the data set to obtain a revised corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosion index, inputting the corrosion index into a neural network model for training, and obtaining a revised corrosion monitoring model; Step 3: Deploy a corrosion monitoring model to continuously collect real-time marine non-specific structure monitoring data; Step 4: Input the real-time marine non-specific structure monitoring data into the corrosion monitoring model to continuously obtain the prediction results of the corrosion resistance of marine non-specific structures, and continuously feedback the prediction results.

2. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 1, characterized in that: In step 1, the method further comprises the following steps: Step 10: Collecting marine non-specific structure monitoring data to generate a data set, wherein the marine non-specific structure monitoring data includes: corrosion degree, environmental conditions and structural material property parameters; Step 11: Delete or fill missing values ​​in the data set, wherein the filling includes: mean filling, median filling, mode filling or interpolation filling; Step 12: Use the Z-score method to process outliers in the data set: Calculate the Z-score: Identify |z| greater than the set threshold as an outlier. Among them, x is the feature data in the data set, μ is the mean of the feature data x, and σ is the standard deviation of the feature data x; Step 13: Perform data smoothing processing on the data set, wherein the data smoothing processing includes moving average processing or exponential smoothing processing.

3. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 2, characterized in that: In step 13, the method further comprises the following steps: Step 130: Determine the size n of the moving window, which is the number of data points used to calculate the moving average; Step 131: Slide the moving windows in sequence and calculate the moving average value of the data points in each moving window: Among them, x j is the value of the jth data point, and i is the starting position of the moving window.

4. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 2, characterized in that: In step 13, the method further comprises the following steps: Step 132: Initialize the exponential smoothing value of the first data point in the data set to the value of the data point; Step 133: For subsequent data points in the data set, recursive calculation is performed according to the exponential smoothing formula: Among them, x i is the value of the ith data point, is the smoothing coefficient, the value range is (1,0), EMA i-1 is the exponentially smoothed value of the previous data point.

5. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 1, characterized in that: In step 2, the method further comprises the following steps: Step 20: extracting corrosion-related features from the pre-processed data set, including at least one of seawater temperature, salinity, pH value, structural material type, structural proportion, corrosion degree, environmental conditions, and structural material property parameters; Step 21: Construct preset features based on the features related to corrosion; Step 22: Perform feature scaling on the preset features to ensure that the scales of different preset features are similar, wherein the feature scaling includes standardization and normalization.

6. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 1, characterized in that: In step 2, the method further comprises the following steps: Step 23: Set the number of neurons, layers and activation function of the neural network model; Step 24: Using a preset machine learning algorithm and using the data set to train the neural network model; Step 25: During the training of the neural network model, the parameters of the neural network model are optimized, and then the optimized neural network model is set as a corrosion monitoring model.

7. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 6, characterized in that: In step 24, the method further comprises the following steps: Step 240: Input the data set into the neural network model, and obtain the predicted output of the neural network model by calculation: Input layer to hidden layer: z (1) =xW (1) +b (1) , a=r(z (1) ) Hidden layer to output layer: z (2) =αW (2) +b (2) , Among them, x is the characteristic data of the data set, W (1) and W (2) are the weights from the input layer to the hidden layer and from the hidden layer to the output layer, b (1) is the bias of the hidden layer, b (2) is the bias of the output layer, a is the output of the hidden layer after the activation function, r is the activation function, z (1) is the linear transformation result of the input sample after the hidden layer weights and biases, z (2) It is the linear transformation result of the output of the hidden layer after the weight and bias of the output layer. is the predicted output of the neural network model; Step 241: Compare the predicted output of the neural network model with the true label and calculate the value of the loss function: Among them, J is the loss function value, and y is the true label of the input sample; Step 242: Calculate the partial derivative of the loss function with respect to the parameters: in, is the loss function J on the output layer weight W (2) The partial derivative of is the loss function J biasing the output layer b (2) The partial derivative of Loss function J for hidden layer weights W (1) The partial derivative of is the loss function J biasing the hidden layer b (1) The partial derivative of Step 243: Update the parameters of the neural network model: Among them, W' (2) is the updated weight from the hidden layer to the output layer, W' (1) is the updated input layer to hidden layer weight, and α is the learning rate.

8. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 6, characterized in that: In step 25, the method further comprises the following steps: Step 250: Calculate the first-order moment of the gradient using the exponentially weighted moving average method: m t =β1m t-1 +(1-β1)g t Among them, m t is the first-order moment of the gradient, β1 is the exponential decay rate of the first-order moment, g t is the current gradient; Step 251: Calculate the second-order moment of the gradient using the exponentially weighted moving average method: Among them, v t is the second-order moment of the gradient, β2 is the exponential decay rate of the second-order moment; Step 252: Correct the first-order moment deviation and the second-order moment deviation of the gradient: in, is the first moment of the bias-corrected gradient, is the second-order moment of the bias-corrected gradient; Step 253: Update the parameters of the neural network model according to the first-order moment and the second-order moment of the gradient: Among them, θ' is the updated weight or bias parameter, θ is the weight or bias parameter to be updated, α is the learning rate, and ∈ is a constant to prevent division by zero errors, and its value range is 10 -8 Up to 10 -10 between.

9. The method for monitoring corrosion resistance of marine non-specific structural materials according to claim 6, characterized in that: In step 25, the method further comprises the following steps: Step 254: Generate a parameter space according to the set hyperparameters and their value ranges; Step 255: In the generated parameter space, combine the value of each hyperparameter into all parameter combinations; Step 256: For each parameter combination, use a cross-validation method to divide the data set into a training set and a validation set, and then train the neural network model on the training set, and evaluate the performance of the neural network model on the validation set using a preset evaluation indicator; Step 257: By comparing the performance of the neural network model with different parameter combinations on the validation set, the parameter combination with the best performance is selected as the final neural network model configuration.

10. Marine non-specific structural material corrosion resistance monitoring system, characterized in that: include: A data processing module, used to collect marine non-specific structure monitoring data, generate a data set according to the collected marine non-specific structure monitoring data, and perform data preprocessing on the data set; A model training module is used to continuously train the data set using a machine learning method to obtain a modified corrosion monitoring model, including: extracting corrosion-related features in the data set to generate a corrosive index, inputting the corrosive index into a neural network model for training, and obtaining a modified corrosion monitoring model; Model deployment module, used to deploy corrosion monitoring models; The corrosion prediction module is used to continuously collect real-time marine non-specific structure monitoring data, and then input the real-time marine non-specific structure monitoring data into the corrosion monitoring model to continuously obtain the prediction results of the corrosion resistance of marine non-specific structures, and continuously feedback the prediction results.

Citation Information

Patent Citations

  • A short-term load forecasting method based on a stochastic neural network

    CN109002942A

  • Marine underwater corrosion environment monitoring system and method

    CN113008308A

  • Repair method, device and equipment for marine steel structure

    CN113658181A

  • Marine equipment corrosion monitoring and safety early warning system based on data driving

    CN115165725A

  • Metal material marine environment corrosion data prediction system and method

    CN116307174A

Cited By

  • System for monitoring physical changes in marine structures

    CN119066371A

  • Systems for monitoring physical changes in marine structures

    CN119066371B

  • Marine corrosion real-time monitoring method and system, terminal and storage medium

    CN119198525A

  • Tunnel primary support surrounding rock deformation monitoring system and method

    CN119394204A

  • Oil and gas pipeline corrosion evaluation method and system based on potential detection

    CN120948342A