Liquid fuel storage tank leakage early warning method, liquid fuel storage tank leakage early warning system and leakage monitor
By collecting and fitting the liquid fuel margin and temperature data in the liquid fuel storage tank, the rate of change is judged to determine leakage, and the problems of low detection sensitivity and poor stability in the prior art are solved, and earlier and more accurate leakage is achieved Warn and prevent open flames from burning.
Patent Information
- Application Number
- CN202411241228.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-12
AI Technical Summary
The existing liquid fuel tank leakage detection methods have problems with low sensitivity and poor stability, especially when the liquid fuel is unevenly distributed, it is difficult to effectively detect small amounts of leakage and may lead to leakage alarms, and it is impossible to timely warning to prevent open flames from burning.
By setting the detection cycle and sampling cycle, collect the tank liquid fuel margin and ambient temperature value, use the numerical fitting algorithm to draw the curve and find the guide, and determine whether the liquid fuel and temperature change rate exceed the preset threshold to determine leakage and start Early warning.
It improves the sensitivity and stability of leakage detection, can issue early warnings at the beginning of leakage, reduce the possibility of open flame combustion caused by small leakage of liquid fuel, and effectively distinguish between leakage and normal use scenarios, and prevent misjudgment.
Smart Images

Figure CN118936746A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial measurement and control, and in particular to a liquid fuel storage tank leakage early warning method, early warning system and leakage monitoring instrument. Background Art
[0002] At present, combustible gas detectors are generally used to detect the concentration of combustible gases in the environment, so as to achieve the purpose of leak warning for liquid fuel storage tanks and transportation pipelines. However, when using combustible gas detectors to directly detect the concentration of volatile gases in the environment, since the position of the combustible gas detector is fixed, and the commonly used civilian liquid fuels (such as methanol, ethanol and other alcohol-based fuels) generally have the characteristics of slow volatilization and uneven volatilization. Therefore, the leaked liquid fuel is unevenly distributed in the environment. If the fixed-position detector happens to be located in an area where liquid fuel is less distributed in the environment, it will obviously cause the detector to have disadvantages such as low sensitivity and poor stability, resulting in a high probability of missed alarms; in addition, the fuel leakage flow rate is generally small (generally less than 10 ml / hour), and the cumulative leakage volume takes a long time to reach its LEL limit. During this process, if there is an open flame, there is a possibility of combustion, but the combustible gas detector cannot effectively detect it. Summary of the invention
[0003] Based on this, it is necessary to provide a liquid fuel tank leakage warning system and leakage monitor to address the problems of low sensitivity and poor stability in existing detection methods.
[0004] A liquid fuel tank leakage early warning method comprises the following steps:
[0005] S1. Set a target detection cycle number I, and set N sampling cycles in the i-th detection cycle, where i = 1, 2, 3, ..., I;
[0006] S2. After the i-th detection cycle is started, the residual value of the liquid fuel in the storage tank is periodically sampled according to the set sampling cycle to obtain a residual value group Y having N residual values. i [N] = {Y i (1),Y i (2),…,Y i (N)}, where Y i (N) represents the residual value of the Nth sampling period;
[0007] According to the set sampling period, the ambient temperature value at the fuel use terminal is periodically sampled to obtain a temperature value group W having N ambient temperature values. i [N] = {W i (1),W i (2),…,W i (N)}, where Wi (N) represents the ambient temperature value of the Nth sampling period;
[0008] S3, according to the residual value group Y i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function y i (t), fitting function y to time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), take t=2,3,…,N, and substitute the derivative function y i '(t) to obtain the derivative array dY of all sampling periods in the same detection period i [N-1] = {y i '(2),y i '(3),…,y i '(N)},y i '(N) represents the derivative function y i '(t) The derivative at the Nth sampling period;
[0009] Also according to the temperature value group W i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), take t=2,3,…,N, and substitute the derivative function w i '(t) to obtain the derivative array dW of all sampling periods in the same detection period i [N-1] = {w i '(2),w i '(3),…,w i '(N)},w i '(N) represents the derivative function w i '(t) The derivative at the Nth sampling period;
[0010] S4, in the i-th detection cycle, judge the corresponding derivative array dY in turn i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Whether the value in [N-1] is less than a preset temperature change threshold THw, if so, it is determined that liquid fuel leakage occurs in the tank and an early warning is initiated;
[0011] When the derivative array dY i The values in [N-1] are not less than the margin change threshold THy, or the derivative array dW iWhen the values in [N-1] are not less than the temperature change threshold THw, the next i+1th detection cycle is entered and the processes from S2 to S4 are repeated until the current detection cycle number i is greater than the target detection cycle number I.
[0012] As a preferred example, the fitting function in the numerical fitting algorithm adopts a cubic polynomial; wherein the time-residue value fitting function y i The fitting function of (t) is y i (t) = A3*t 3 +A2*t 2 +A1*t+A0; time-temperature value fitting function w i The fitting function of (t) is w i (t) = B3*t 3 +B2*t 2 +B1*t+B0; wherein A3, A2, A1, A0, B3, B2, B1, B0 all represent constants.
[0013] As a preferred example, the derivative function y i '(t) is expressed as y i '(t)=3A3*t 2 +2A2*t+A1; derivative function w i The expression of '(t) is w i '(t)=3B3*t 2 +2B2*t+B1.
[0014] As a preferred example, the early warning method further includes setting the cycle length of each detection cycle and each sampling cycle.
[0015] A liquid fuel tank leakage warning system, which uses the liquid fuel tank leakage warning method as described above; the liquid fuel tank leakage warning system comprises:
[0016] A timing module is used to set the number of target detection cycles I, N sampling cycles, and the duration of each detection cycle and each sampling cycle;
[0017] A remaining quantity detection module is used to periodically sample the remaining quantity of the liquid fuel in the storage tank according to a set sampling period after each detection cycle is started;
[0018] A temperature detection module, which is used to periodically sample the ambient temperature value at the fuel use terminal according to a set sampling period after each detection cycle is started;
[0019] A data processing module is used to generate a residual value group Y according to the generated residual value group Y. i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function yi (t), fitting function y to time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), according to the derivative function y i '(t) Get the derivative array dY of all sampling periods in the same detection period i [N-1]; also used to group W according to the generated temperature value i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), according to the derivative function w i '(t) Get the derivative array dW of all sampling periods in the same detection period i [N-1];
[0020] The controller is used to set a margin change threshold THy and a temperature change threshold THw; and is also used to determine the corresponding derivative array dY in turn in the i-th detection cycle. i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Whether the value in [N-1] is less than a preset temperature change threshold THw, if so, it is determined that the tank has a liquid fuel leak and an early warning is initiated; when the derivative array dY i The values in [N-1] are not less than the margin change threshold THy, or the derivative array dW i When the values in [N-1] are not less than the temperature change threshold THw, the next (i+1)th detection cycle is entered until the current detection cycle number i is greater than the target detection cycle number I.
[0021] As a preferred example, the early warning system further includes a data storage module for storing the remaining value group Y i [N], Temperature value group W i [N], derivative array dY i [N-1] and derivative array dW i [N-1]; The data processing module reads the data in the data storage module.
[0022] As a preferred example, the data storage module stores at least two groups of residual value groups Y i [N] and temperature value group W i [N, the data processing module starts to read the data in the data storage module for calculation.
[0023] As a preferred example, the early warning system further includes an alarm module. After the controller determines that a liquid fuel leak occurs in the storage tank, the controller controls the alarm module to start sending an early warning message to a host computer.
[0024] As a preferred example, the remaining amount detection module is a liquid level sensor; the temperature detection module is a temperature sensor.
[0025] A liquid fuel tank leakage monitor comprises the liquid fuel tank leakage early warning system as described above, an audible and visual alarm device and an Internet of Things communication module; the audible and visual alarm device is used to give an audible and visual alarm when it is determined that the liquid fuel tank is in a leakage state; the Internet of Things communication module is used to report leakage events to a server via the network, thereby realizing a remote cloud alarm function.
[0026] The beneficial effects of the present invention are:
[0027] 1. The present invention determines whether there is a leak by analyzing the changes in the remaining volume of the storage tank and the ambient temperature within a certain period of time, and can issue an early warning when the leak occurs. Compared with the traditional method of using combustible gas detectors for leak monitoring, the present invention does not require the amount of leaked gas in the environment to accumulate to a certain level before effective early warning can be issued. Even if the detector is located in an area where liquid fuel is less distributed in the environment, as long as the rate of change of the leaked gas in the area reaches a certain level, it can be detected, thereby making the leak early warning system highly sensitive and stable. In addition, effective detection can be performed when the concentration is not high at the initial stage of the leak, reducing the possibility of liquid fuel encountering open flames during leakage.
[0028] 2. The present invention uses the rate of change of the remaining amount of liquid fuel in the tank and the rate of change of the ambient temperature near the tank as the basis for judgment to give an early warning of whether the tank is leaking. When the liquid fuel is used normally, the remaining amount in the tank decreases normally, and the temperature near the fuel use terminal should rise normally as the fuel is consumed. In the leakage state, the leakage generally has a small flow rate and is not easy to detect, so the remaining amount in the tank decreases slowly, and the temperature near the fuel use terminal will not rise normally. The judgment basis provided by the present invention can be significantly distinguished from the normal fuel use scenario, preventing misjudgment due to a reduction in the remaining amount of fuel during normal use.
[0029] 3. The present invention can independently set different threshold parameters according to the actual working conditions of each application scenario, such as fuel consumption rate and rated operating temperature, so that leakage monitoring can achieve better results. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Flow chart of the liquid fuel storage tank leakage early warning method in the embodiment;
[0031] Figure 2It is a module schematic diagram of a liquid fuel tank leakage warning system in another embodiment. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "or / and" used herein includes any and all combinations of one or more related listed items.
[0034] Please refer to Figure 1 , this embodiment provides a liquid fuel tank leakage early warning method, which includes the following steps:
[0035] S1. Set a target detection cycle number I, and set N sampling cycles in the i-th detection cycle, where i=1,2,3,…,I.
[0036] S2. After the i-th detection cycle is started, the residual value of the liquid fuel in the storage tank is periodically sampled according to the set sampling cycle to obtain a residual value group Y having N residual values. i [N] = {Y i (1),Y i (2),…,Y i (N)}, where Y i (N) represents the margin value of the Nth sampling period.
[0037] According to the set sampling period, the ambient temperature value at the fuel use terminal is periodically sampled to obtain a temperature value group W having N ambient temperature values. i [N] = {W i (1),W i (2),…,W i (N)}, where W i (N) represents the ambient temperature value of the Nth sampling period.
[0038] S3, according to the residual value group Y i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function y i(t), fitting function y to time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), take t=2,3,…,N, and substitute the derivative function y i '(t) to obtain the derivative array dY of all sampling periods in the same detection period i [N-1] = {y i '(2),y i '(3),…,y i '(N)},y i '(N) represents the derivative function y i '(t) is the derivative of the Nth sampling period. The derivative of the time-remaining value curve is obtained, which represents the rate of change of the remaining fuel in the tank at a certain time point.
[0039] Also according to the temperature value group W i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), take t=2,3,…,N, and substitute the derivative function w i '(t) to obtain the derivative array dW of all sampling periods in the same detection period i [N-1] = {w i '(2),w i '(3),…,w i '(N)},w i '(N) represents the derivative function w i '(t) is the derivative of the Nth sampling period. Similarly, the derivative of the time-temperature value curve is obtained, which represents the temperature change rate of the environment near the terminal at a certain time point.
[0040] Among them, the above time-margin fitting function y i (t) and the time-temperature fitting function w i (t) can use a cubic polynomial, such as the time-residue fitting function y i (t) = A3*t 3 +A2*t 2 +A1*t+A0, at this time the fitting function y i The derivative function of (t) can be y i '(t)=3A3*t 2 +2A2*t+A1. In a certain interval, according to the derivative function y i '(t) can get the array dY i [N-1] = {yi '(2),y i '(3),…,y i '(N)}. Time-temperature fitting function w i (t) = B3*t 3 +B2*t 2 +B1*t+B0, at this time the fitting function w i The derivative function of (t) can be w i '(t)=3B3*t 2 +2B2*t+B1, where A3, A2, A1, A0, B3, B2, B1, B0 are all constants. i '(t) can get the array dW i [N-1] = {y i '(2),y i '(3),…,y i '(N)}.
[0041] S4, in the i-th detection cycle, judge the corresponding derivative array dY in turn i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Whether the value in [N-1] is less than a preset temperature change threshold THw, if so, it is determined that liquid fuel leakage occurs in the tank and an early warning is initiated.
[0042] When the derivative array dY i The values in [N-1] are not less than the margin change threshold THy, or the derivative array dW i When the values in [N-1] are not less than the temperature change threshold THw, the next i+1th detection cycle is entered and the processes from S2 to S4 are repeated until the current detection cycle number i is greater than the target detection cycle number I.
[0043] In another embodiment, Figure 2 As shown, a liquid fuel tank leakage warning system is also provided, which includes a residual detection module, a temperature detection module, a timing module, a data processing module and a controller. Among them, the residual detection module can use a liquid level sensor. The liquid level sensor is installed in the fuel tank, which can detect the liquid level of the medium in the tank. And the liquid level sensor has an analog or digital output interface, which can output the liquid level value and generate the residual value group Y i [N], i is the current detection cycle number. The temperature detection module can use a temperature sensor. The temperature sensor is installed near the fuel use terminal (such as a kitchen stove) when in use, and it can detect the ambient temperature near the terminal. And the temperature sensor has an analog or digital output interface, which can output a temperature value group W i[N], i is the current detection cycle number. The timing module can set the detection cycle. A time interval THr is set in the detection cycle, and the residual detection module and the temperature detection module are triggered to work when each time interval THr arrives. The data processing module is used to i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function y i (t), fitting function y to time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), take t=2,3,…,N, and substitute the derivative function y i '(t) to obtain the derivative array dY of all sampling periods in the same detection period i [N-1] = {y i '(2),y i '(3),…,y i '(N)},y i '(N) represents the derivative function y i '(t) is the derivative of the Nth sampling period; at the same time, the data processing module can also be based on the temperature value group W i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), take t=2,3,…,N, and substitute the derivative function w i '(t) to obtain the derivative array dW of all sampling periods in the same detection period i [N-1] = {w i '(2),w i '(3),…,w i '(N)},w i '(N) represents the derivative function w i '(t) is the derivative of the Nth sampling cycle. The controller reads the above numerical information and operates according to the preset control logic. The control logic includes: setting a margin change threshold THy and a temperature change threshold THw. The controller is used to determine the corresponding derivative group dY in the i-th detection cycle. i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Is the value in [N-1] less than a preset temperature change threshold THw? If so, it is determined that the tank has a liquid fuel leak and the alarm is activated. iThe values in [N-1] are not less than the margin change threshold THy, or the derivative array dW i When the values in [N-1] are not less than the temperature change threshold THw, the next i+1th detection cycle is entered and the processes from S2 to S4 are repeated until the current detection cycle number i is greater than the target detection cycle number I, and the non-leaked information is transmitted to the outside (such as the server). After a cycle process ends, if no leakage occurs during the period, wait for the next process to collect enough data and repeat this process. When the liquid fuel is used normally, the balance in the tank decreases normally, and the temperature near the fuel use terminal consumes the fuel, so it should rise normally. In the leakage state, the leakage is generally small and not easy to detect, so the balance in the tank decreases slowly, and the temperature near the fuel use terminal will not rise normally. In this case, judging whether the balance change rate and temperature change rate are less than the appropriate threshold can significantly distinguish it from the normal fuel use scenario, thereby judging whether the fuel tank is leaking.
[0044] In another embodiment, compared with the above embodiment, the liquid fuel tank leakage warning system is further provided with a data storage module, which can store the remaining value group Y i [N], Temperature value group W i [N], derivative array dY i [N-1] and derivative array dW i [N-1]. Compared with the storage space of the module itself, the additional data storage module can facilitate the storage of large amounts of data and historical data query. When a certain amount of data is stored in the data storage module, the data processing module starts to read the remaining value group Y in the data storage module. i [N], Temperature value group W i [N] and processed to calculate a more accurate result.
[0045] In one specific embodiment, the time interval for data collection, that is, the collection cycle is set to 10 minutes, and the detection cycle is set to 60 minutes, so that 6 groups of residual values Y can be collected in one detection cycle. i [6] = {0.72, 0.71, 0.68, 0.68, 0.68, 0.65} and temperature value W i [6] = {31,30,31,30,31,31}. The early warning module processes and calculates the collected data:
[0046] 1. Calculate the fitting function as follows:
[0047] y i (t) = -0.0013t 3 +0.014t 2 -0.0562t+0.7667;
[0048] w i f(t) = 0.037t 3 - 0.2817t 2 + 0.3955t + 30.667。
[0049] 2. Calculate the derivative function of the fitting function as follows:
[0050] y i '(t) = - 0.0039t 2 + 0.028t - 0.0562;
[0051] w i '(t) = 0.111t 2 - 0.5634t + 0.3955。
[0052] 3. Obtain the following array:
[0053] dY i [6] = {- 0.032, - 0.016, - 0.007, - 0.007, - 0.014, - 0.029};
[0054] dW i [6] = {- 0.057, - 0.287, - 0.296, - 0.082, 0.354, 1.011}。
[0055] 4. Determine the margin change threshold THy. In this embodiment, the leakage flow rate is set to 0.01 cubic meters per hour, then the margin change threshold THy can be calculated according to the formula: THy = -(leakage flow rate / 60) * data acquisition time interval = -(0.01 / 60) * 10 = - 0.0017. It can also be self - set according to past experience.
[0056] 5. Determine the temperature change threshold THw. In this embodiment, the temperature change rate is set to 1 degree Celsius per minute, then the temperature change threshold THw can be calculated according to the formula: THw = temperature change rate * data acquisition time interval = 1 * 10 = 10. It can also be self - set according to past experience.
[0057] 6. The controller makes a logical judgment. At this time, dY i [1] = - 0.032 < THy, and dW i [1] = - 0.057 < THw, the system determines it as the leakage state and can take relevant alarm measures.
[0058] In another embodiment, a liquid fuel tank leakage monitor is also proposed, which includes the liquid fuel tank leakage warning system, sound and light alarm device and Internet of Things communication module as described above. The controller in the leakage monitor stores the liquid level and temperature data at the data collection time interval, and runs the judgment logic of the controller when the set leakage detection cycle is reached. Through the sound and light alarm device, when it is determined that the liquid fuel tank is in a leakage state, a sound and light alarm is performed. Through the Internet of Things communication module, the leakage event can be reported to the server through the network to realize the remote cloud alarm function. Furthermore, the leakage monitor can also be provided with an alarm cancellation button. After pressing the alarm cancellation button, the sound and light alarm can be turned off, and pressing it again can start the sound and light alarm. The leakage state of the leakage monitor is automatically maintained, and the leakage monitor is provided with a reset button. After pressing the reset button, the leakage state is cleared and a new detection cycle is started.
[0059] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0060] The above-mentioned 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 ordinary technicians in this field, 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 liquid fuel tank leakage early warning method, characterized in that: It includes the following steps: S1. Set a target detection cycle number I, and set N sampling cycles in the i-th detection cycle, where i = 1, 2, 3, ..., I; S2. After the i-th detection cycle is started, the residual value of the liquid fuel in the storage tank is periodically sampled according to the set sampling cycle to obtain a residual value group Y having N residual values. i [N] = {Y i (1),Y i (2),…,Y i (N)}, where Y i (N) represents the residual value of the Nth sampling period; According to the set sampling period, the ambient temperature value at the fuel use terminal is periodically sampled to obtain a temperature value group W having N ambient temperature values. i [N] = {W i (1),W i (2),…,W i (N)}, where W i (N) represents the ambient temperature value of the Nth sampling period; S3, according to the residual value group Y i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function y i (t), fitting function y to the time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), take t=2,3,…,N, and substitute the derivative function y i '(t) to obtain the derivative array dY of all sampling periods in the same detection period i [N-1] = {y i '(2),y i '(3),…,y i '(N)},y i '(N) represents the derivative function y i '(t) The derivative at the Nth sampling period; Also according to the temperature value group W i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), take t=2,3,…,N, and substitute the derivative function w i '(t) to obtain the derivative array dW of all sampling periods in the same detection period i [N-1] = {w i '(2),w i '(3),…,w i '(N)},w i '(N) represents the derivative function w i '(t) The derivative at the Nth sampling period; S4, in the i-th detection cycle, judge the corresponding derivative array dY in turn i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Whether the value in [N-1] is less than a preset temperature change threshold THw, if so, it is determined that liquid fuel leakage occurs in the tank and an early warning is initiated; When the derivative array dY i The values in [N-1] are not less than the margin change threshold THy, or the derivative array dW i When the values in [N-1] are not less than the temperature change threshold THw, the next i+1th detection cycle is entered and the processes from S2 to S4 are repeated until the current detection cycle number i is greater than the target detection cycle number I.
2. The liquid fuel tank leakage early warning method according to claim 1 is characterized in that: The fitting function in the numerical fitting algorithm adopts a cubic polynomial; wherein the time-residue value fitting function y i The fitting function of (t) is y i (t) = A3*t 3 +A2*t 2 +A1*t+A0; time-temperature value fitting function w i The fitting function of (t) is w i (t) = B3*t 3 +B2*t 2 +B1*t+B0; wherein A3, A2, A1, A0, B3, B2, B1, B0 all represent constants.
3. The liquid fuel tank leakage early warning method according to claim 2 is characterized in that: Derivative function y i '(t) is expressed as y i '(t)=3A3*t 2 +2A2*t+A1; derivative function w i The expression of '(t) is w i '(t)=3B3*t 2 +2B2*t+B1.
4. The liquid fuel tank leakage early warning method according to claim 1, characterized in that: The early warning method also includes setting the cycle length of each detection cycle and each sampling cycle.
5. A liquid fuel tank leakage warning system, characterized in that: It uses the liquid fuel storage tank leakage early warning method as described in any one of claims 1 to 4; The liquid fuel storage tank leakage early warning system comprises: A timing module is used to set the number of target detection cycles I, N sampling cycles, and the duration of each detection cycle and each sampling cycle; A remaining quantity detection module is used to periodically sample the remaining quantity of the liquid fuel in the storage tank according to a set sampling period after each detection cycle is started; A temperature detection module, which is used to periodically sample the ambient temperature value at the fuel use terminal according to a set sampling period after each detection cycle is started; A data processing module is used to generate a residual value group Y according to the generated residual value group Y. i [N] Draw the time-margin value curve, and use the numerical fitting algorithm to obtain the time-margin value fitting function y i (t), fitting function y to the time-margin value i (t) is derived to obtain the corresponding derivative function y i '(t), according to the derivative function y i '(t) Get the derivative array dY of all sampling periods in the same detection period i [N-1]; also used to group W according to the generated temperature value i [N] Draw a time-temperature value curve, and use a numerical fitting algorithm to obtain the time-temperature value fitting function w i (t), fitting function w to the time-temperature value i (t) is derived to obtain the corresponding derivative function w i '(t), according to the derivative function w i '(t) Get the derivative array dW of all sampling periods in the same detection period i [N-1]; The controller is used to set a margin change threshold THy and a temperature change threshold THw; and is also used to determine the corresponding derivative array dY in turn in the i-th detection cycle. i Is the value in [N-1] less than a preset margin change threshold THy? If so, continue to judge the derivative array dW in turn. i Whether the value in [N-1] is less than a preset temperature change threshold THw, if so, it is determined that the tank has a liquid fuel leak and an early warning is initiated; when the derivative array dY i The values in [N-1] are not less than the margin change threshold THy, or the derivative array dW i When the values in [N-1] are not less than the temperature change threshold THw, the next (i+1)th detection cycle is entered until the current detection cycle number i is greater than the target detection cycle number I.
6. The liquid fuel tank leakage warning system according to claim 5, characterized in that: The early warning system also includes a data storage module, which is used to store the residual value group Y i [N], Temperature value group W i [N], derivative array dY i [N-1] and derivative array dW i [N-1]; The data processing module reads the data in the data storage module.
7. The liquid fuel tank leakage warning system according to claim 6, characterized in that: The data storage module stores at least two groups of residual value groups Y i [N] and temperature value group W i [N, the data processing module starts to read the data in the data storage module for calculation.
8. The liquid fuel tank leakage warning system according to claim 5, characterized in that: The early warning system also includes an alarm module. After the controller determines that liquid fuel leakage occurs in the storage tank, the controller controls the alarm module to start sending an early warning message to the host computer.
9. The liquid fuel tank leakage warning system according to claim 5, characterized in that: The remaining amount detection module is a liquid level sensor; the temperature detection module is a temperature sensor.
10. A liquid fuel tank leakage monitor, characterized in that: It includes a liquid fuel storage tank leakage early warning system as described in any one of claims 5 to 9, an audible and visual alarm device and an Internet of Things communication module; the audible and visual alarm device is used to perform audible and visual alarms when it is determined that the liquid fuel storage tank is in a leakage state; the Internet of Things communication module is used to report leakage events to a server via the network to realize a remote cloud alarm function.
