A multi-parameter online monitoring instrument for tank storage in a tank area

The storage tank is monitored in real time through a multi-parameter online monitor to provide early warning of the abnormal status of the storage tank, and the monitoring accuracy is improved through dynamic safety thresholds, which solves the problems of low monitoring accuracy and misjudgment in the existing technology.

CN118190074BActive Publication Date: 2024-09-20SHANDONG JINBANG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410391120.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-02
Publication Date
2024-09-20
Estimated Expiration
2044-04-02

AI Technical Summary

Technical Problem

Existing tank monitoring technology only issues alarms when parameters such as temperature, pressure, and liquid level are abnormal, causing losses even when the tank may have leaked. Moreover, fixed safety thresholds can easily lead to misjudgments and low monitoring accuracy.

Method used

Using multi-parameter online monitors, including temperature sensors, pressure sensors, liquid level sensors, optical fiber strain sensors and ultrasonic guided wave sensors, through prediction and sparse reconstruction of data, combined with the safety of the bottom plate, the safety threshold is dynamically adjusted to monitor the storage tank state.

Benefits of technology

Real-time monitoring of multiple parameters of the storage tank is achieved, early warning of abnormal status of the storage tank is achieved, the risk of damage is reduced, damage losses are reduced, and monitoring accuracy is improved through dynamic safety thresholds to reduce misjudgments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118190074B
    Figure CN118190074B
Patent Text Reader

Abstract

The invention belongs to the technical field of monitoring instruments, and discloses a multi-parameter online monitoring instrument for a tank in a tank area, wherein a temperature sensor, a pressure sensor and a liquid level sensor are arranged inside the tank, an optical fiber strain sensor is arranged on the side wall of the tank, and an ultrasonic waveguide sensor comprises a transmitter and a receiver, and the transmitter and the receiver are arranged outside the bottom of the tank; the temperature sensor is used to obtain temperature data, the pressure sensor is used to obtain pressure data, the liquid level sensor is used to obtain liquid level data, the optical fiber strain sensor is used to obtain deformation data, and the ultrasonic waveguide sensor is used to determine bottom plate safety data; wherein, by predicting the temperature data, pressure data, liquid level data and deformation data, sparse reconstruction is performed on the predicted temperature data, pressure data, liquid level data and deformation data, and according to the sparse reconstruction result, combined with the bottom plate safety data, whether the state of the tank is abnormal is monitored, and when the state of the tank is abnormal, an alarm is issued.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of monitoring instruments, and in particular relates to a multi-parameter online monitoring instrument for storage tanks in a tank area. Background Art

[0002] With the development of the global economy, large-scale oil tank farms have entered a stage of rapid development. Oil tank farms usually store and manage oil through tanks. During the rapid development process, the number of tank accidents has also increased.

[0003] At present, most oil tank farms use the method of regular and fixed-point inspections by staff to monitor the status of storage tanks, which is time-consuming and labor-intensive, and will also increase the safety risks of staff during the inspection process.

[0004] With the rapid development of technologies such as artificial intelligence and the urgent need for tank monitoring, more and more modern technologies are being applied to tank monitoring. The current monitoring technology mainly monitors whether parameters such as temperature, pressure, and liquid level fluctuate and exceed a certain safety threshold, and issues an alarm when there is an abnormal fluctuation.

[0005] However, an alarm is only issued when abnormal fluctuations occur in parameters such as temperature, pressure, and liquid level. At this time, the tank may have already leaked, which will still cause a lot of losses. At the same time, it is easy to make misjudgments when only comparing with a certain fixed safety threshold, and the accuracy of tank abnormal monitoring is low. Summary of the invention

[0006] In order to solve the technical problems that the current monitoring technology only issues an alarm when abnormal fluctuations occur in parameters such as temperature, pressure, liquid level, etc., at which time the storage tank may have leaked, which will still cause a large amount of losses, and at the same time, it is easy to make misjudgments when only comparing with a certain fixed safety threshold, and the accuracy of abnormal monitoring of storage tanks is low, the present invention provides a multi-parameter online monitoring instrument for storage tanks in a tank area.

[0007] The present invention provides a multi-parameter online monitoring instrument for a tank in a tank area, comprising: a temperature sensor, a pressure sensor, a liquid level sensor, an optical fiber strain sensor and an ultrasonic waveguide sensor; the temperature sensor, the pressure sensor and the liquid level sensor are arranged inside the tank, the optical fiber strain sensor is arranged on the side wall of the tank, the ultrasonic waveguide sensor comprises a transmitter and a receiver, the transmitter and the receiver are arranged outside the bottom of the tank, and the transmitter is opposite to the receiver;

[0008] The temperature sensor is used to obtain temperature data, the pressure sensor is used to obtain pressure data, the liquid level sensor is used to obtain liquid level data, the optical fiber strain sensor is used to obtain deformation data, and the ultrasonic guided wave sensor is used to determine bottom plate safety data;

[0009] Among them, by predicting the temperature data, the pressure data, the liquid level data and the deformation data, the predicted temperature data, pressure data, liquid level data and deformation data are sparsely reconstructed, and according to the sparse reconstruction result, combined with the bottom plate safety data, whether the tank state is abnormal is monitored, and when the tank state is abnormal, an alarm is issued.

[0010] The calculation method of the bottom plate safety degree specifically includes:

[0011] Sending ultrasonic waves through the transmitter and receiving them through the receiver;

[0012] Determine the ideal arrival time of the main wave path during ultrasonic propagation;

[0013] Determine the actual arrival time of the main wave path of the ultrasonic wave and the amplitude at the actual arrival time according to the ultrasonic wave data received by the receiver;

[0014] The safety degree of the base plate is determined based on the deviation between the ideal arrival time and the actual arrival time, as well as the deviation between the amplitude during ultrasonic emission and the amplitude at the actual arrival time.

[0015] The step of determining the ideal arrival time of the main wave path during ultrasonic propagation specifically includes:

[0016] Based on Navier's equations or dynamic equilibrium equations, determine the acceleration of ultrasonic waves propagating in the base plate;

[0017] Wherein, the Navier equation is specifically:

[0018] ;

[0019] Where λ represents the first Lame constant, μ represents the second Lame constant, represents the gradient operator, represents the Laplace operator, represents the displacement vector, ρ represents the density of the base material, represents the second derivative of the displacement vector, i.e., acceleration;

[0020] The dynamic equilibrium equation is specifically:

[0021] ;

[0022] Among them, M represents the node mass matrix, P represents the externally applied force, and I represents the internal element force;

[0023] The change in acceleration over time is integrated by the central difference method to calculate the change in velocity, and added to the velocity at the midpoint of the previous time increment to obtain the intermediate velocity of the ultrasound at the current time increment:

[0024] ;

[0025] in, represents the intermediate speed of the current time increment, represents the intermediate speed of the previous time increment, represents the time increment, represents the time increment at time t, Indicated in The time increment of the moment, represents the acceleration changing with time;

[0026] The intermediate velocity of the ultrasound wave at the current time increment is integrated over time and added to the displacement to determine the displacement of the ultrasound wave at the end of the time increment:

[0027] ;

[0028] in, represents the displacement at the end of the time increment, represents the displacement at time t, Indicated in The time increment of the moment, Indicates the intermediate speed of the current time increment;

[0029] Based on the displacement at the end of the time increment, the ideal arrival time of the main wave path during ultrasonic propagation is determined.

[0030] The safety degree of the base plate is determined according to the following formula:

[0031] ;

[0032] Among them, σ represents the safety degree of the base plate, δ represents the ideal deviation value, and e represents the natural constant. represents the deviation between the ideal arrival time and the actual arrival time, β represents the weight coefficient of the deviation between the ideal arrival time and the actual arrival time, Indicates the deviation between the amplitude of the ultrasonic wave when it is emitted and the amplitude at the time of its actual arrival.

[0033] The predicting of the temperature data, the pressure data, the liquid level data and the deformation data specifically includes:

[0034] Predicting the original data by using a grey prediction model to obtain predicted data, wherein the original data includes the temperature data, the pressure data, the liquid level data and the deformation data;

[0035] Predicting the residual between the original data and the predicted data by a long short-term memory neural network to obtain a predicted residual;

[0036] According to the predicted data and the predicted residual, the final predicted data is obtained:

[0037] ;

[0038] in, Represents the final prediction data, Represents the forecast data, represents the prediction residual.

[0039] The sparse reconstruction of the predicted temperature data, pressure data, liquid level data and deformation data specifically includes:

[0040] Each state data point is sparsely encoded by the autoencoder. Each state data point includes temperature data, pressure data, liquid level data and deformation data at the current moment. The state data point Y is expressed as ,in, Represents temperature data, Indicates pressure data, Indicates liquid level data, Represent deformation data and perform sparse coding:

[0041] ;

[0042] Where, h represents the hidden layer output, Sigmoid() represents the Sigmoid activation function, W represents the weight matrix from the input layer to the hidden layer, Y represents the state data point, and b represents the bias parameter from the input layer to the hidden layer;

[0043] According to the output of the hidden layer, each transaction data point is decoded and reconstructed through the self-decoder:

[0044] ;

[0045] in, represents the reconstructed data points, represents the weight matrix from the hidden layer to the output layer, Represents the bias parameter from the hidden layer to the output layer.

[0046] The step of monitoring whether the tank state is abnormal based on the sparse reconstruction result and the bottom plate safety data specifically includes:

[0047] According to the reconstructed data points after sparse reconstruction and the original data points, the abnormality of the original data points is calculated;

[0048] Determining a current safety threshold according to the floor safety level;

[0049] When the abnormality of the original data point is greater than the safety threshold, it is determined that the state of the storage tank is abnormal and an alarm is issued;

[0050] Furthermore, the safety threshold is calculated according to the following formula:

[0051] ;

[0052] Among them, S0 represents the safety threshold, δ represents the safety degree of the base plate, and γ represents the conversion coefficient.

[0053] Furthermore, the safety threshold is calculated:

[0054] ;

[0055] Among them, S0 represents the safety threshold, α represents the attenuation coefficient, t represents the service life of the tank, δ represents the safety degree of the bottom plate, and γ represents the conversion coefficient.

[0056] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0057] (1) In the present invention, multiple parameters of the storage tank, including temperature, pressure, liquid level, and strain, can be monitored simultaneously through the online monitoring instrument, and then each parameter can be predicted and the predicted parameter value can be monitored to give early warning of abnormal state of the storage tank, thereby reducing the risk of damage to the storage tank and reducing damage losses.

[0058] (2) In the present invention, the safety threshold is adaptively determined according to the safety degree of the bottom plate, and the safety threshold is used to monitor whether the state of the storage tank is abnormal, thereby avoiding the use of a fixed safety threshold, reducing misjudgment, and improving the accuracy of abnormal monitoring of the storage tank. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0060] Figure 1 The present invention is a schematic structural diagram of a multi-parameter online monitoring instrument for storage tanks in a tank area.

[0061] Figure 2 It is a flow chart of a storage tank abnormality monitoring method provided by the present invention. DETAILED DESCRIPTION

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0063] In one embodiment, the reference specification Figure 1 , which shows a schematic diagram of the structure of a multi-parameter online monitoring instrument for tank storage areas provided by the present invention. Figure 2 , showing a schematic flow chart of a storage tank abnormality monitoring method provided by the present invention.

[0064] The present invention provides a multi-parameter online monitoring instrument for a tank area storage tank, comprising: a temperature sensor 1, a pressure sensor 2, a liquid level sensor 3, an optical fiber strain sensor 4 and an ultrasonic guided wave sensor.

[0065] The temperature sensor 1, the pressure sensor 2 and the liquid level sensor 3 are arranged inside the storage tank 6, the optical fiber strain sensor 4 is arranged on the side wall of the storage tank 6, and the ultrasonic waveguide sensor includes a transmitter 51 and a receiver 52. The transmitter 51 and the receiver 52 are arranged on the outside of the bottom of the storage tank 6, and the transmitter 51 and the receiver 52 are opposite to each other.

[0066] The temperature sensor 1 is used to obtain temperature data, the pressure sensor 2 is used to obtain pressure data, the liquid level sensor 3 is used to obtain liquid level data, the optical fiber strain sensor 4 is used to obtain deformation data, and the ultrasonic guided wave sensor is used to determine the bottom plate safety data.

[0067] It should be noted that among the damages to the storage tank 6, more than 80% are caused by leakage of the bottom plate, so special attention needs to be paid to the safety of the bottom plate. In order not to affect the quality of the oil inside the storage tank, the present invention adopts a non-contact bottom plate safety monitoring method, and monitors the safety of the bottom plate by an ultrasonic waveguide sensor arranged on the outside of the bottom plate. The main principle is that the propagation characteristics of ultrasonic waves in the material will be affected by internal defects, cracks or damage of the material. By analyzing the propagation speed, attenuation and scattering characteristics of ultrasonic waves in the bottom plate, such as amplitude attenuation, arrival time of the main wave path, etc., the health status of the bottom plate can be indirectly inferred.

[0068] Furthermore, ultrasonic testing is a non-destructive testing technology that can obtain internal information without damaging the object being tested. This is particularly important for the integrity testing of the tank bottom plate, because tanks usually store hazardous substances and any destructive testing may cause serious safety issues. At the same time, there is no need to directly contact the object being tested during ultrasonic testing, thereby reducing the safety risk of operators.

[0069] It should be noted that the optical fiber strain sensor is set on the side wall of the storage tank, which can obtain the deformation data of the side wall, and the deformation data can directly reflect the structural health of the storage tank. By continuously monitoring the deformation, it is possible to timely detect whether the storage tank is deformed, expanded, contracted or has other structural abnormalities, which may be caused by internal pressure changes, temperature changes, material aging, corrosion and other factors.

[0070] Among them, by predicting the temperature data, pressure data, liquid level data and deformation data, the predicted temperature data, pressure data, liquid level data and deformation data are sparsely reconstructed. According to the sparse reconstruction results and combined with the bottom plate safety data, whether the tank status is abnormal is monitored. When the tank status is abnormal, an alarm is issued.

[0071] It should be noted that when sparsely reconstructing the predicted temperature data, pressure data, liquid level data, and deformation data, the more abnormal the data point, the easier it is to be sparsely reconstructed to reduce the data dimension. Conversely, the more normal the data point, the more difficult it is to be sparsely reconstructed to reduce the data dimension. According to the above principle, abnormal data points often have a large deviation in value from normal data points. This deviation will be amplified during the sparse reconstruction process, making abnormal data points easier to distinguish. Therefore, sparse reconstruction can quickly identify abnormal data in sequence data.

[0072] In the present invention, multiple parameters of the storage tank, including temperature, pressure, liquid level, and strain, can be monitored simultaneously through an online monitoring instrument, and then each parameter can be predicted, and the predicted parameter values ​​can be monitored to provide early warning of abnormal conditions of the storage tank, thereby reducing the risk of tank damage and reducing damage losses.

[0073] In a possible implementation manner, the calculation method of the bottom plate safety degree specifically includes:

[0074] Ultrasonic waves are sent out by the transmitter and received by the receiver.

[0075] Determine the ideal arrival time of the main wave path during ultrasonic propagation.

[0076] Optionally, determining the ideal arrival time of the main wave path during the ultrasonic wave propagation process includes:

[0077] Based on Navier's equations or dynamic equilibrium equations, the acceleration of ultrasonic waves propagating in the base plate is determined.

[0078] Among them, Navier's equations are the basic equations that describe wave propagation in elastic media. They can be applied to the propagation of ultrasound in solids (such as base plates). Through Navier's equations, we can determine the acceleration distribution of ultrasound when it propagates in the base plate.

[0079] The Navier equation is specifically:

[0080] ;

[0081] Where λ represents the first Lame constant, μ represents the second Lame constant, represents the gradient operator, represents the Laplace operator, represents the displacement vector, ρ represents the density of the base material, Represents the second derivative of the displacement vector, i.e., acceleration.

[0082] In the present invention, the Navier equations are the basic equations describing wave propagation in elastic media, and the acceleration distribution of ultrasonic waves in the bottom plate can be accurately calculated by the Navier equations.

[0083] The dynamic equilibrium equation is specifically:

[0084] ;

[0085] Among them, M represents the node mass matrix, P represents the external force, and I represents the internal element force.

[0086] The dynamic equilibrium equation is a mathematical equation used to describe the equilibrium state of a physical system in a dynamic process. It can comprehensively consider the influence of node mass, external force and internal stress on ultrasonic propagation, so as to more comprehensively understand the dynamic behavior of ultrasonic waves in the base plate.

[0087] In the present invention, the simulation results of the dynamic equilibrium equation can predict the propagation characteristics of ultrasound in different base materials and structures, and then accurately calculate the acceleration distribution of ultrasound in the base, thereby improving the accuracy and efficiency of detection.

[0088] Furthermore, the acceleration distributions calculated by the Navier equations and the dynamic equilibrium equations may be averaged to improve the accuracy of the acceleration calculation.

[0089] The change in acceleration over time is integrated by the central difference method to calculate the change in velocity, and added to the velocity at the midpoint of the previous time increment to obtain the intermediate velocity of the ultrasound at the current time increment:

[0090] ;

[0091] in, represents the intermediate speed of the current time increment, represents the intermediate speed of the previous time increment, represents the time increment, represents the time increment at time t, Indicated in The time increment of the moment, Represents acceleration changing with time.

[0092] Among them, the central difference method is a high-precision numerical integration method that can accurately calculate the integral of acceleration to obtain accurate velocity and displacement. This is crucial for determining the main wave path and ideal arrival time during ultrasonic propagation.

[0093] The intermediate velocity of the ultrasound wave at the current time increment is integrated over time and added to the displacement to determine the displacement of the ultrasound wave at the end of the time increment:

[0094] ;

[0095] in, represents the displacement at the end of the time increment, represents the displacement at time t, Indicated in The time increment of the moment, Indicates the intermediate speed of the current time increment.

[0096] In the present invention, the acceleration is integrated and calculated by the central difference method to determine the velocity and displacement of the ultrasonic wave, and further determine the ideal arrival time of the main wave path, which has the advantages of improving calculation accuracy, reducing calculation errors, and being applicable to complex situations.

[0097] Based on the displacement at the end of the time increment, the ideal arrival time of the main wave path during ultrasonic propagation is determined.

[0098] Specifically, the time increment at which the displacement at the end is exactly the width of the bottom plate is determined as the ideal arrival time of the main wave path.

[0099] Based on the ultrasonic data received by the receiver, the actual arrival time of the ultrasonic main wave path and the amplitude at the actual arrival time are determined.

[0100] Specifically, the received ultrasonic data can be filtered, amplified, and Fourier transformed. The waveform can be analyzed to find the characteristics of the ultrasonic main wave path. The main wave path is often the shortest path. The position of the first wave peak can be determined as the actual arrival time, and the corresponding amplitude can be recorded.

[0101] The safety degree of the base plate is determined based on the deviation between the ideal arrival time and the actual arrival time, as well as the deviation between the amplitude during ultrasonic emission and the amplitude at the actual arrival time.

[0102] In the present invention, by comparing the deviation between the ideal and actual arrival times, as well as the deviation of the amplitude, the condition of the base plate can be accurately evaluated, which can reflect whether the ultrasonic wave encounters anomalies during the propagation process, such as cracks, corrosion or other damage to the base plate, thereby providing accurate information about the integrity of the base plate.

[0103] Specifically, the safety degree of the base plate is determined according to the following formula:

[0104] ;

[0105] Among them, σ represents the safety degree of the base plate, δ represents the ideal deviation value, and e represents the natural constant. represents the deviation between the ideal arrival time and the actual arrival time, β represents the weight coefficient of the deviation between the ideal arrival time and the actual arrival time, Indicates the deviation between the amplitude of the ultrasonic wave when it is emitted and the amplitude at the time of its actual arrival.

[0106] Among them, those skilled in the art can set the size of the weight coefficient β of the deviation value between the ideal arrival time and the actual arrival time according to actual conditions, and the present invention does not limit this.

[0107] It should be noted that quantifying the baseboard safety into a specific value allows the safety status of different baseboards or at different time points to be intuitively compared, which helps decision makers quickly understand the current status of the baseboard and make corresponding maintenance or replacement decisions.

[0108] In the present invention, the baseplate safety is calculated by comprehensively considering the time deviation and the amplitude deviation, which can provide a comprehensive, flexible and quantitative evaluation, support early fault detection, maintain the consistency and accuracy of the evaluation, and provide strong support for maintenance decisions.

[0109] In a possible implementation, predicting the temperature data, pressure data, liquid level data, and deformation data specifically includes:

[0110] The original data is predicted through the grey prediction model to obtain predicted data, and the original data includes temperature data, pressure data, liquid level data and deformation data.

[0111] Among them, the grey prediction model identifies the differences in the development trends between system factors, that is, conducts correlation analysis, and generates and processes the original data to find the law of system changes. This model generates a data sequence with strong regularity, and then establishes a corresponding differential equation model to predict the future development trend of things.

[0112] The residual between the original data and the predicted data is predicted through a long short-term memory neural network to obtain the predicted residual.

[0113] Among them, the Long Short-Term Memory (LSTM) neural network is a special recurrent neural network (RNN) designed to avoid long-term dependency problems. This network can learn long-term dependency information, so it has an inherent advantage in processing time series data such as text, voice, video, etc. The structure of LSTM is more complex than the standard RNN. It contains a memory unit and three gates (input gate, forget gate, and output gate). These gates can control the flow of information, thereby solving the problem of gradient disappearance or explosion.

[0114] Among them, the residual between the original data and the predicted data of the long short-term memory neural network , and study.

[0115] Specifically, the present invention proposes a new long short-term memory neural network:

[0116] Input residual sequence E = [ e 1 , ⋯ , e t , ⋯ , e T ] , e t represents the residual at time t, , T represents the total collection time.

[0117] In the forget gate, determine the information that needs to be forgotten, and use the following formula to get the output vector of the forget gate:

[0118] F t = σ ( W F × [ H t − 1 , E t ] + b F ) ;

[0119] Among them, F t represents the output vector of the forget gate at time t, σ( ) represents the activation function, W F represents the weight matrix of the forget gate, H t-1 represents the hidden state of the previous moment, E t represents the residual sequence input at time t, b F Represents the bias parameter of the forget gate.

[0120] It should be noted that the forget gate determines which information needs to be forgotten through the weight matrix and activation function. This process can help the neural network filter out irrelevant or noisy information and only retain important information.

[0121] In the input gate, the information stored in the cell storage unit is determined, and the output vector of the input gate is obtained by the following formula:

[0122] I t = σ ( W I × [ H t − 1 , E t ] + b I ) ;

[0123] Among them, I t represents the output vector of the input gate at time t, W Irepresents the weight matrix of the input gate, b I Represents the bias parameter of the input gate.

[0124] It should be noted that the input gate filters out the information that needs to be stored in the cell storage unit through the weight matrix and activation function, which helps the neural network manage and use the stored information more efficiently.

[0125] In the cell storage unit, the temporary cell state at the current moment is calculated by the following formula:

[0126] C t * = tanh( W C × [ H t − 1 , E t ] + b C ) ;

[0127] in, represents the temporary cell state at time t, tanh( ) represents the tanh activation function, W C represents the weight matrix of the cell storage unit, b C Represents the bias parameter of the cell storage unit.

[0128] It should be noted that the cell storage unit stores and updates temporary states through weight matrices and activation functions. This enables the neural network to dynamically adjust the internal state according to the input, so as to better adapt to different tasks and environments.

[0129] In the cell storage unit, the current cell state is calculated using the following formula:

[0130] ;

[0131] Among them, C t represents the cell state at time t, C t-1 Indicates the cell state at the previous moment.

[0132] It is important to note that by using cell states, neural networks can store and transfer information, allowing them to remember and track information over time. This helps in processing sequential data and long-term dependencies.

[0133] In the output gate, the output vector of the output gate is obtained by the following formula, and the output vector of the output gate is stored as a hidden state:

[0134] O t = σ ( W O × [ H t − 1 , E t ] + b O ) ;

[0135] ;

[0136] Among them, O t represents the output vector of the output gate at time t, W O represents the weight matrix of the output gate, b O represents the bias parameter of the output gate, Ht-1 represents the hidden state at time t-1.

[0137] It should be noted that the output gate filters out the information that needs to be output through the weight matrix and activation function, which helps the neural network to more effectively control the quality and quantity of the output.

[0138] ;

[0139] Among them, e t+1 represents the prediction residual at time t+1, represents the weight matrix between the vth cell storage unit and the output layer, represents the hidden state stored in the vth cell storage unit at time t, b te represents the bias parameter of the output layer, , N represents the total number of cell storage units.

[0140] According to the predicted data and the predicted residual, the final predicted data is obtained:

[0141] ;

[0142] in, Represents the final prediction data, Represents the forecast data, represents the prediction residual.

[0143] In the present invention, the grey prediction model is suitable for processing data with small samples, incomplete information and a certain trend, while LSTM is good at capturing long-term dependencies and nonlinear features in sequence data. Combining the two can make full use of their respective advantages, so as to more accurately predict the future trends and subtle changes of the data and improve the overall prediction accuracy. Further, the residual reflects the difference between the original data and the preliminary prediction data. By predicting the residuals through LSTM and combining the predicted residuals with the prediction results of the grey prediction model, the deviations in the preliminary prediction can be corrected to further improve the prediction accuracy. By combining the grey prediction model and the long short-term memory neural network to predict the original data and using the predicted residuals for correction, the prediction accuracy can be significantly improved, complex nonlinear relationships can be processed, residual information can be used, time-varying characteristics can be adapted, robustness and stability can be enhanced, and scalability and flexibility can be provided.

[0144] In a possible implementation, sparse reconstruction is performed on the predicted temperature data, pressure data, liquid level data, and deformation data, specifically including:

[0145] Each state data point is sparsely encoded through the autoencoder. Each state data point includes the temperature data, pressure data, liquid level data and deformation data at the current moment. The state data point Y is expressed as ,in, Represents temperature data, Indicates pressure data, Indicates liquid level data, Represent deformation data and perform sparse coding:

[0146] ;

[0147] Among them, h represents the hidden layer output, Sigmoid () represents the Sigmoid activation function, W represents the weight matrix from the input layer to the hidden layer, Y represents the state data point, and b represents the bias parameter from the input layer to the hidden layer.

[0148] In the present invention, the autoencoder can learn the low-dimensional representation of the data. Through sparse coding, high-dimensional state data points (such as temperature, pressure, liquid level, deformation data) can be compressed into a low-dimensional space, which helps to reduce storage requirements and computational complexity. At the same time, the autoencoder can automatically extract useful features from the data during the training process. For state data points, the autoencoder can learn and extract key features related to temperature, pressure, liquid level and deformation, which may be very important for subsequent analysis and processing tasks (such as anomaly detection, prediction, etc.).

[0149] According to the output of the hidden layer, each transaction data point is decoded and reconstructed through the self-decoder:

[0150] ;

[0151] in, represents the reconstructed data points, represents the weight matrix from the hidden layer to the output layer, Represents the bias parameter from the hidden layer to the output layer.

[0152] In the present invention, by observing how the self-decoder recovers data from the hidden layer representation, the feature representation learned by the hidden layer can be explained. This helps to understand the data structure and relationship learned by the model and increase the interpretability of the model.

[0153] In a possible implementation, the training method of the autoencoder and the autodecoder is specifically as follows:

[0154] Construct the loss function for sparse reconstruction:

[0155] ;

[0156] Among them, L1( ) represents the loss function, Represents the calculation of the second norm.

[0157] With the goal of minimizing the loss function of sparse reconstruction, the autoencoder and autodecoder are trained by the gradient descent method to determine the optimal autoencoder and autodecoder parameters.

[0158] In the present invention, by minimizing the loss function of sparse reconstruction, it can be ensured that after the autoencoder encodes the data into a hidden layer representation, the autodecoder can restore the original data from the representation as accurately as possible. This ensures that the information loss of the data during the encoding and decoding process is minimized, thereby improving the accuracy of data reconstruction.

[0159] In a possible implementation, based on the sparse reconstruction result and combined with the bottom plate safety data, monitoring whether the tank state is abnormal specifically includes:

[0160] According to the reconstructed data points after sparse reconstruction and the original data points, the abnormality of the original data points is calculated.

[0161] Determine the current safety threshold based on the safety level of the base plate.

[0162] When the abnormality of the original data point is greater than the safety threshold, the tank status is determined to be abnormal and an alarm is issued.

[0163] In the present invention, the safety threshold is adaptively determined according to the safety degree of the bottom plate, and the safety threshold is used to monitor whether the state of the storage tank is abnormal, thereby avoiding the use of a certain fixed safety threshold, reducing misjudgment, and improving the accuracy of abnormal monitoring of the storage tank.

[0164] In one possible implementation,

[0165] According to the following formula, the abnormality of the original data point is calculated:

[0166] ;

[0167] Among them, S represents the degree of abnormality, R represents the bit rank, and R(Y) represents the bit rank of the original data point. Represents the bit rank of the reconstructed data point, y i represents the i-th data in the original data point, represents the i-th data in the reconstructed data point, λ1 represents the weight coefficient of the position rank difference term, λ2 represents the weight coefficient of the data difference term, and λ3 represents the weight coefficient of the data distance term. , n represents the total number of data points in the original data.

[0168] Among them, those skilled in the art can set the weight coefficient λ1 of the bit rank difference item, the weight coefficient λ2 of the data difference item and the weight coefficient λ3 of the data distance item according to actual conditions, and the present invention does not limit this.

[0169] Among them, the bit rank difference term reflects the difference in the ordering between the original data points and the reconstructed data points, which helps to capture the anomalies in the tank status data.

[0170] Among them, the data difference item of the Euclidean distance between the original data point and the reconstructed data point reflects the similarity or difference between the original data point and the reconstructed data point in the feature space. Data points with a larger distance indicate that there are larger differences in the feature space, that is, there are larger differences between the original data point and the reconstructed data point, which can help capture anomalies in the tank status data.

[0171] Among them, the data distance item from the origin measures the distribution of the original data points in the feature space. Data points farther away from the origin are relatively isolated in the feature space, which can help capture anomalies in the tank status data.

[0172] In a possible implementation, in a possible implementation, the bit rank is calculated as follows:

[0173] Calculate the distance between each data point and the origin:

[0174] ;

[0175] Among them, D j represents the distance between the jth data point and the origin, y ij represents the i-th data feature of the j-th data point, , I represents the number of data features.

[0176] The distances between each data point and the origin are sorted in descending order, and the sorted sequence number is used as the rank of the data point.

[0177] In the present invention, the sorted sequence number is used as the bit rank of the data point, which can effectively identify potential abnormal groups, that is, data points with similar characteristics but abnormal in some aspects, which helps to more accurately locate the abnormal state of the storage tank. At the same time, by sorting and calculating the bit rank, it is not only possible to capture the anomaly on a single feature, but also to comprehensively consider multiple features, thereby improving the adaptability of anomaly detection and being suitable for abnormal transactions under different feature combinations.

[0178] In a possible implementation, the safety threshold is calculated according to the following formula:

[0179] ;

[0180] Among them, S0 represents the safety threshold, δ represents the safety degree of the base plate, and γ represents the conversion coefficient.

[0181] Among them, those skilled in the art can set the size of the conversion coefficient γ according to actual conditions, and the present invention does not limit it.

[0182] In the present invention, the safety threshold is adaptively determined according to the bottom plate safety, and the safety threshold is used to monitor whether the tank status is abnormal. When the bottom plate safety is high, the corresponding safety threshold is also high, and when the bottom plate safety is low, the corresponding safety threshold is also low. The safety threshold can be adjusted according to the actual bottom plate safety, avoiding the use of a fixed safety threshold, reducing misjudgment, and improving the accuracy of tank abnormality monitoring.

[0183] In a possible implementation, the safety threshold is calculated according to the following formula:

[0184] ;

[0185] Among them, S0 represents the safety threshold, α represents the attenuation coefficient, t represents the service life of the tank, δ represents the safety degree of the bottom plate, and γ represents the conversion coefficient.

[0186] Among them, those skilled in the art can set the attenuation coefficient α according to actual conditions, and the present invention does not limit it.

[0187] Furthermore, the service life of the tank can be introduced. The longer the service life of the tank, the more the safety threshold decays. In this way, the safety threshold of the tank can be dynamically evaluated to avoid using a fixed safety threshold, reduce misjudgment, and improve the accuracy of tank abnormality monitoring.

[0188] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0189] (1) In the present invention, multiple parameters of the storage tank, including temperature, pressure, liquid level, and strain, can be monitored simultaneously through the online monitoring instrument, and then each parameter can be predicted and the predicted parameter value can be monitored to give early warning of abnormal state of the storage tank, thereby reducing the risk of damage to the storage tank and reducing damage losses.

[0190] (2) In the present invention, the safety threshold is adaptively determined according to the safety degree of the bottom plate, and the safety threshold is used to monitor whether the state of the storage tank is abnormal, thereby avoiding the use of a fixed safety threshold, reducing misjudgment, and improving the accuracy of abnormal monitoring of the storage tank.

[0191] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A multi-parameter online monitoring instrument for tank storage in a tank area, characterized in that: include: A temperature sensor, a pressure sensor, a liquid level sensor, an optical fiber strain sensor and an ultrasonic waveguide sensor; the temperature sensor, the pressure sensor and the liquid level sensor are arranged inside the storage tank, the optical fiber strain sensor is arranged on the side wall of the storage tank, and the ultrasonic waveguide sensor includes a transmitter and a receiver, the transmitter and the receiver are arranged outside the bottom of the storage tank, and the transmitter is opposite to the receiver; The temperature sensor is used to obtain temperature data, the pressure sensor is used to obtain pressure data, the liquid level sensor is used to obtain liquid level data, the optical fiber strain sensor is used to obtain deformation data, and the ultrasonic guided wave sensor is used to determine the bottom plate safety data; wherein, by predicting the temperature data, the pressure data, the liquid level data and the deformation data, sparsely reconstructing the predicted temperature data, pressure data, liquid level data and deformation data, and monitoring whether the state of the storage tank is abnormal based on the sparse reconstruction result and combining the bottom plate safety data, and issuing an alarm when the state of the storage tank is abnormal; The calculation method of the bottom plate safety degree specifically includes: Sending ultrasonic waves through the transmitter and receiving them through the receiver; Determine the ideal arrival time of the main wave path during ultrasonic propagation; Determine the actual arrival time of the main wave path of the ultrasonic wave and the amplitude at the actual arrival time according to the ultrasonic wave data received by the receiver; The safety degree of the base plate is determined according to the deviation between the ideal arrival time and the actual arrival time and the deviation between the amplitude when the ultrasonic wave is emitted and the amplitude when the ultrasonic wave is actually arriving. The step of determining the ideal arrival time of the main wave path during ultrasonic propagation specifically includes: Based on Navier's equations or dynamic equilibrium equations, determine the acceleration of ultrasonic waves propagating in the base plate; Wherein, the Navier equation is specifically: Where λ represents the first Lame constant, μ represents the second Lame constant, ▽ represents the gradient operator, ▽ 2 represents the Laplace operator, represents the displacement vector, ρ represents the density of the base material, represents the second derivative of the displacement vector, i.e., acceleration; The dynamic equilibrium equation is specifically: Among them, M represents the node mass matrix, P represents the externally applied force, and I represents the internal element force; The change in acceleration over time is integrated by the central difference method to calculate the change in velocity, and added to the velocity at the midpoint of the previous time increment to obtain the intermediate velocity of the ultrasound at the current time increment: in, represents the intermediate speed of the current time increment, represents the intermediate speed of the previous time increment, Δt represents the time increment, and Δt| (t) represents the time increment at time t, Δt| (t+Δt) represents the time increment at time t+Δt, represents the acceleration changing with time; The intermediate velocity of the ultrasound wave at the current time increment is integrated over time and added to the displacement to determine the displacement of the ultrasound wave at the end of the time increment: in, represents the displacement at the end of the time increment, represents the displacement at time t, Δt| (t+Δt) represents the time increment at time t+Δt, Indicates the intermediate speed of the current time increment; Based on the displacement at the end of the time increment, the ideal arrival time of the main wave path during the ultrasonic propagation process is determined; The safety degree of the base plate is determined according to the following formula: d=βδ t +(1-β)δ a ; Among them, σ represents the safety degree of the base plate, δ represents the ideal deviation value, e represents the natural constant, and δ t represents the deviation between the ideal arrival time and the actual arrival time, β represents the weight coefficient of the deviation between the ideal arrival time and the actual arrival time, and δ a Indicates the deviation between the amplitude of the ultrasonic wave when it is emitted and the amplitude at the actual arrival time; The predicting of the temperature data, the pressure data, the liquid level data and the deformation data specifically includes: Predicting the original data by using a grey prediction model to obtain predicted data, wherein the original data includes the temperature data, the pressure data, the liquid level data and the deformation data; Predicting the residual between the original data and the predicted data by a long short-term memory neural network to obtain a predicted residual; According to the predicted data and the predicted residual, the final predicted data is obtained: Among them, X (0) (k) * Represents the final prediction data, Represents the forecast data, represents the prediction residual; The sparse reconstruction of the predicted temperature data, pressure data, liquid level data and deformation data specifically includes: Each state data point is sparsely encoded by an autoencoder. Each state data point includes temperature data, pressure data, liquid level data and deformation data at the current moment. The state data point Y is represented by Y={y1, y2, y3, y4}, where y1 represents temperature data, y2 represents pressure data, y3 represents liquid level data, and y4 represents deformation data. Sparse encoding is performed: h = Sigmoid(WY+b); Among them, h represents the hidden layer output, Sigmoid() represents the Sigmoid activation function, W represents the weight matrix from the input layer to the hidden layer, Y represents the state data point, and b represents the bias parameter from the input layer to the hidden layer; According to the output of the hidden layer, each transaction data point is decoded and reconstructed through the self-decoder: in, represents the reconstructed data points, represents the weight matrix from the hidden layer to the output layer, Represents the bias parameter from the hidden layer to the output layer; The step of monitoring whether the tank state is abnormal based on the sparse reconstruction result and the bottom plate safety data specifically includes: According to the reconstructed data points after sparse reconstruction and the original data points, the abnormality of the original data points is calculated; Determining a current safety threshold according to the floor safety level; When the abnormality of the original data point is greater than the safety threshold, it is determined that the state of the storage tank is abnormal and an alarm is issued; The safety threshold is calculated according to one of the following formulas: S0 = γδ; Or,S0=a t gd; Among them, S0 represents the safety threshold, α represents the attenuation coefficient, t represents the service life of the tank, δ represents the safety degree of the bottom plate, and γ represents the conversion coefficient.