Target oil tank level control method and electronic equipment

By acquiring and analyzing historical liquid level data in substations, and using a preset model to predict and control future liquid levels, the problem of low efficiency in emergency oil tank liquid level control has been solved, and the timeliness and accuracy of liquid level control have been improved.

CN123114079APending Publication Date: 2026-11-17HUIZHOU POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, the efficiency of substation accident oil pool level control is low, resulting in level control delay and insufficient accuracy.

Method used

By acquiring multiple liquid levels of the target oil tank within a historical period, the target liquid level for future periods is predicted using a preset model. Control is then implemented based on the predicted liquid level, and the optimal control strategy is determined by combining the liquid level change rate and preset conditions.

Benefits of technology

This improves the timeliness and accuracy of liquid level control, avoiding delays and overflow risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123114079A_ABST
    Figure CN123114079A_ABST
Patent Text Reader

Abstract

This application provides a method and electronic device for controlling the liquid level of a target oil tank. The method includes: acquiring multiple first liquid levels of the target oil tank over a historical period, the target oil tank being used to store water and oil discharged from a transformer; determining a target liquid level of the target oil tank for a future period based on the multiple first liquid levels; and controlling the liquid level of the target oil tank based on the target liquid level. This method aims to improve the accuracy of liquid level control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power monitoring, and more particularly to a method for controlling the liquid level of a target oil tank, and an electronic device thereof. Background Technology

[0002] Substations typically have emergency oil tanks. When electrical equipment in the substation malfunctions, the oil in the equipment can be drained into the emergency oil tank. To prevent the oil in the emergency oil tank from overflowing, the oil level needs to be controlled. For example, the electrical equipment could be a transformer.

[0003] Currently, water level gauges can be used to measure the liquid level in an emergency oil tank, and the liquid level can be controlled based on the measurement results. However, the efficiency of acquiring the liquid level in the emergency oil tank using the above method is low, resulting in a delay in liquid level control and consequently, low accuracy in liquid level control. Summary of the Invention

[0004] This application provides a method for controlling the liquid level of a target oil tank and an electronic device to improve the accuracy of liquid level control.

[0005] In a first aspect, embodiments of this application provide a method for controlling the liquid level of a target oil tank, including:

[0006] The target oil tank is used to store water and oil discharged from the transformer. The first liquid level of the target oil tank is obtained within a historical period.

[0007] Based on multiple first liquid levels, determine the target liquid level of the target oil tank in the future period;

[0008] Control the liquid level of the target oil tank according to the target liquid level.

[0009] In one possible implementation, a water level sensor and an oil level sensor are installed in the target oil tank; multiple first liquid levels of the target oil tank over historical periods are acquired, including:

[0010] The water level sensor collects the first water level of the target oil tank at N times within a historical period, where N is an integer greater than 1;

[0011] The oil level sensor collects the first oil level of the target oil tank at N time points;

[0012] Among them, the multiple first liquid levels include: the first liquid level at each of the N time moments, and the first liquid level includes the first water level and the first oil level at the corresponding time moment.

[0013] In one possible implementation, determining the target liquid level of the target oil tank within a future time period based on a plurality of first liquid levels includes:

[0014] The second liquid level corresponding to the first liquid level at each of the N time points is determined by a preset model, resulting in N second liquid levels. The second liquid level is the liquid level of the target oil tank in the future time period predicted based on the corresponding first liquid level.

[0015] Obtain preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume in the target oil tank must meet.

[0016] Based on N second liquid levels and preset conditions, determine the target liquid level of the target oil tank in the future time period.

[0017] In one possible implementation, determining the second liquid level corresponding to the first liquid level at each of N time points using a preset model includes:

[0018] By processing the first water level at each of the N time points using a preset model, the second water level corresponding to the first water level at each time point is obtained.

[0019] The first oil level at each of the N time points is processed by a preset model to obtain the second oil level corresponding to the first oil level at each time point.

[0020] Determine the second liquid level corresponding to the first liquid level at each of the N time points, including: the second water level corresponding to the first water level at the corresponding time point, and the second oil level corresponding to the first oil level.

[0021] In one possible implementation, the preset conditions include at least one of the following:

[0022] The oil volume in the target oil tank is less than or equal to a preset threshold.

[0023] The water level in the target oil tank is less than or equal to the water level threshold; or,

[0024] The oil level in the target oil tank is less than or equal to the oil level threshold.

[0025] In one possible implementation, determining the target liquid level of the target oil tank within a future time period based on N second liquid levels and preset conditions includes:

[0026] According to preset conditions, M second liquid levels are determined from N second liquid levels, where M is an integer greater than or equal to 1 and less than or equal to N, and the M second liquid levels satisfy the preset conditions.

[0027] For any one of the M second liquid levels, determine the liquid level change rate corresponding to the second liquid level based on the second water level and the second oil level included in the second liquid level, and obtain the M liquid level change rates;

[0028] The target liquid level is determined based on M liquid level change rates.

[0029] In one possible implementation, the rate of change of liquid level satisfies the following formula:

[0030]

[0031] in, The rate of change of liquid level. The target oil tank level acquisition cycle. This is the second oil level. This is the second water level.

[0032] In one possible implementation, determining the target liquid level based on M liquid level change rates includes:

[0033] Determine the target liquid level change rate from among the M liquid level change rates, where the target liquid level change rate is the minimum value among the M liquid level change rates.

[0034] The second liquid level corresponding to the target liquid level change rate is determined as the target liquid level.

[0035] In one possible implementation, the method further includes:

[0036] Send the target liquid level to the alarm device.

[0037] Secondly, embodiments of this application provide a liquid level control device for a target oil tank, comprising: an acquisition module, a determination module, and a control module, wherein:

[0038] The acquisition module is used to acquire multiple first liquid levels of the target oil tank within a historical period. The target oil tank is used to store water and oil discharged from the transformer.

[0039] The determination module is used to determine the target liquid level of the target oil tank within a future time period based on multiple first liquid levels;

[0040] The control module is used to control the liquid level of the target oil tank according to the target liquid level.

[0041] In one possible implementation, a water level sensor and an oil level sensor are installed in the target oil tank; the acquisition module is specifically used for:

[0042] The water level sensor collects the first water level of the target oil tank at N times within a historical period, where N is an integer greater than 1;

[0043] The oil level sensor collects the first oil level of the target oil tank at N time points;

[0044] Among them, the multiple first liquid levels include: the first liquid level at each of the N time moments, and the first liquid level includes the first water level and the first oil level at the corresponding time moment.

[0045] In one possible implementation, the determining module is specifically used for:

[0046] The second liquid level corresponding to the first liquid level at each of the N time points is determined by a preset model, resulting in N second liquid levels. The second liquid level is the liquid level of the target oil tank in the future time period predicted based on the corresponding first liquid level.

[0047] Obtain preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume in the target oil tank must meet.

[0048] Based on N second liquid levels and preset conditions, determine the target liquid level of the target oil tank in the future time period.

[0049] In one possible implementation, the determining module is specifically used for:

[0050] By processing the first water level at each of the N time points using a preset model, the second water level corresponding to the first water level at each time point is obtained.

[0051] The first oil level at each of the N time points is processed by a preset model to obtain the second oil level corresponding to the first oil level at each time point.

[0052] Determine the second liquid level corresponding to the first liquid level at each of the N time points, including: the second water level corresponding to the first water level at the corresponding time point, and the second oil level corresponding to the first oil level.

[0053] In one possible implementation, the preset conditions include at least one of the following:

[0054] The oil volume in the target oil tank is less than or equal to a preset threshold.

[0055] The water level in the target oil tank is less than or equal to the water level threshold; or,

[0056] The oil level in the target oil tank is less than or equal to the oil level threshold.

[0057] In one possible implementation, the determining module is specifically used for:

[0058] According to preset conditions, M second liquid levels are determined from N second liquid levels, where M is an integer greater than or equal to 1 and less than or equal to N, and the M second liquid levels satisfy the preset conditions.

[0059] For any one of the M second liquid levels, determine the liquid level change rate corresponding to the second liquid level based on the second water level and the second oil level included in the second liquid level, and obtain the M liquid level change rates;

[0060] The target liquid level is determined based on M liquid level change rates.

[0061] In one possible implementation, the rate of change of liquid level satisfies the following formula:

[0062]

[0063] in, The rate of change of liquid level. The target oil tank level acquisition cycle. This is the second oil level. This is the second water level.

[0064] In one possible implementation, the determining module is specifically used for:

[0065] Determine the target liquid level change rate from among the M liquid level change rates, where the target liquid level change rate is the minimum value among the M liquid level change rates.

[0066] The second liquid level corresponding to the target liquid level change rate is determined as the target liquid level.

[0067] In one possible implementation, the control module is also used for:

[0068] Send the target liquid level to the alarm device.

[0069] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0070] The memory stores instructions that the computer executes;

[0071] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0072] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0073] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0074] The target oil tank level control method and electronic device provided in this application embodiment can acquire multiple first liquid levels of the target oil tank within a historical period; determine the target liquid level of the target oil tank within a future period based on the multiple first liquid levels; and control the liquid level of the target oil tank based on the target liquid level. In the above method, the first liquid levels within a historical period are used to predict the target liquid level within a future period. The target liquid level can be determined in advance, so controlling the liquid level of the target oil tank based on the target liquid level can eliminate the delay in liquid level control, thereby improving the accuracy of liquid level control. Attached Figure Description

[0075] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0076] Figure 1 This is a schematic diagram of the structure of an accident oil tank;

[0077] Figure 2 This is a schematic diagram of the structure of a liquid level control system provided in an embodiment of this application;

[0078] Figure 3 A flowchart illustrating the liquid level control method for the target oil tank provided in this application. Figure 1 ;

[0079] Figure 4 A flowchart illustrating the liquid level control method for the target oil tank provided in this application. Figure 2 ;

[0080] Figure 5 A schematic diagram of the liquid level control device for the target oil tank provided in this application;

[0081] Figure 6 A schematic diagram of the structure of the electronic device provided in this application.

[0082] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0083] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0084] In the embodiments of this application, in order to facilitate the description of the technical solutions of the embodiments of this application, the terms "first" and "second" may be used for distinction. The terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0085] In the embodiments of this application, the words "exemplary," "example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "example," or "for example" should not be construed as being more preferred or advantageous than other embodiments or designs. The use of the words "exemplary," "example," or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.

[0086] In the embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0087] In the embodiments of this application, "when," "if," and "if" all refer to the device taking corresponding actions under certain objective circumstances, not to a time limit, nor to the requirement that the device must perform a judgment action, nor to any other limitations. Unless otherwise specified, "if" and "if" are interchangeable, and "when" and "under the circumstances" are interchangeable. "When" and "if" / "if" are interchangeable.

[0088] In the embodiments of this application, the solutions in each embodiment can be used in a reasonable combination, and the explanations or descriptions of various terms, similar operations, or steps appearing in the embodiments can be referenced or explained to each other in the embodiments, without limitation.

[0089] First, let me explain the terms used in this application:

[0090] Emergency oil tank: This is a key environmental protection and fire protection facility installed to ensure the safe operation of oil-immersed electrical equipment. Its core function is to quickly collect and isolate the leaked insulating oil in the event of an accident (such as a fire, explosion, or severe oil leak) in electrical equipment such as transformers, preventing the insulating oil from spreading and causing a fire, and also preventing the insulating oil from leaking into the external environment and causing soil and groundwater pollution.

[0091] The following is combined Figure 1 The structure of the accident oil pool is explained.

[0092] Figure 1This is a schematic diagram of an accident oil tank. Please refer to [link / reference]. Figure 1 An emergency oil pool may include an oil storage pool and a drainage pool, separated by a partition. The partition is rectangular, with its top edge fixedly connected to the top of the emergency oil pool, its two sides fixedly connected to the side walls of the emergency oil pool, and its bottom edge suspended within the emergency oil pool. The partition separates the oil storage pool and the drainage pool in the upper space of the emergency oil pool. In other words, the upper spaces of the oil storage pool and the drainage pool are divided into independent spaces by the partition, while the lower spaces of the oil storage pool and the drainage pool are connected.

[0093] The oil storage tank is equipped with an oil inlet and an oil outlet (not shown in the figure), and the drainage tank is equipped with a water inlet (not shown in the figure) and a water outlet. The vertical height of the oil inlet, oil outlet, water inlet, and water outlet can be set according to actual needs. For example, the vertical height of the oil inlet and oil outlet can be the same, and the vertical height of the water inlet and water outlet can be the same. Figure 1 This is for illustrative purposes only and does not constitute a limitation on the technical solutions provided in the embodiments of this application. For example, the oil inlet can be located in the upper area of ​​the oil storage tank to facilitate the rapid flow of insulating oil leaking from electrical equipment; the oil outlet can be located in the lower area of ​​the oil storage tank to facilitate the cleaning and recovery of oil in the tank.

[0094] Under normal circumstances, the emergency oil pool will temporarily store water. Since the lower spaces of the oil storage pool and the drainage pool are connected, both pools will temporarily store water, and the water level needs to be maintained at a predetermined height. When an abnormal situation occurs where the electrical equipment sprays oil, oil will flow into the oil storage pool through the inlet. The oil level in the storage pool will continuously increase. Because the density of oil is less than that of water, the water and oil in the storage pool will naturally separate, and the oil will float on the surface. As the oil level in the storage pool continues to increase, the water level in the drainage pool will also rise. The changes in the liquid level of the emergency oil pool directly affect the overflow risk, the safety of the substation environment, and the efficiency of subsequent discharge and disposal. For example, during the summer flood season, increased water accumulation in the substation can passively raise the water level of the emergency oil pool. If an oil leak occurs at this time, it can easily cause the liquid in the emergency oil pool to overflow, leading to oil pollution and other safety and environmental problems. Therefore, accurately predicting and controlling the liquid level in the emergency oil pool is crucial.

[0095] In related technologies, workers can use water level gauges to measure the liquid level of an emergency oil tank and control the liquid level based on the measurement results. However, the efficiency of collecting the liquid level data in this method is low, leading to delays in level control and consequently, lower accuracy. For example, maintenance personnel can conduct daily on-site inspections and measure the liquid level of the emergency oil tank, with intervals of several hours between each measurement, resulting in low efficiency in collecting the liquid level data.

[0096] Based on the above problems, this application proposes the following concept: the target liquid level of the accident oil pool in the future can be predicted based on the liquid level in historical periods. Once the target liquid level is determined in advance, the liquid level of the accident oil pool can be controlled according to the target liquid level, thus eliminating the delay in liquid level control and improving the accuracy of liquid level control.

[0097] The following is combined Figure 2 The control system involved in the embodiments of this application will be described.

[0098] Figure 2 This is a schematic diagram of a liquid level control system provided in an embodiment of this application. Please refer to [link / reference]. Figure 2 A liquid level control system may include sensors, optocoupler isolation chips, processors, and controllers. For example, the sensor may be an ultrasonic ranging sensor.

[0099] The sensor can be used to detect the liquid level of the emergency oil pool and can send the liquid level of the emergency oil pool to the processor through an optocoupler isolation chip.

[0100] The processor can predict the target liquid level in the future based on the received liquid level of the accident oil pool, and can send the target liquid level to the controller.

[0101] Optionally, the level control system may also include alarm devices. The processor can also send the target level to the alarm devices, which can promptly provide the target level to personnel. For example, the alarm devices could be audible and visual alarms in the substation, monitoring displays in the background, or handheld terminals for maintenance personnel.

[0102] The controller can adjust the liquid level of the emergency oil tank based on the received target liquid level. For example, it can control the drainage tank to drain water or control the oil storage tank to discharge oil.

[0103] In the aforementioned liquid level control system, the optocoupler isolation chip can block external electromagnetic interference. This feature is particularly useful in environments with severe electromagnetic interference, such as substations, as it minimizes the impact of electromagnetic interference and ensures the reliability of the collected emergency oil level data.

[0104] In the aforementioned liquid level control system, the processor and controller can be integrated into a single hardware device; for example, they can be integrated into the same computer. Alternatively, the processor and controller can be two independently configured hardware devices; for example, the processor can be deployed on a back-end server in a substation, and the controller can be installed in a control cabinet near the emergency oil tank. This application does not limit this approach.

[0105] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0106] In this embodiment, the execution subject can be an electronic device or a module within an electronic device (e.g., a processor, chip, chip system, or circuit). The following description uses an electronic device as the execution subject. For example, the electronic device can be... Figure 2 The electronic device containing the processor in the liquid level control system shown.

[0107] Figure 3 A flowchart illustrating the liquid level control method for the target oil tank provided in this application. Figure 1 ,like Figure 3 As shown, the method includes:

[0108] S301. Obtain multiple first liquid levels of the target oil tank within a historical time period.

[0109] The target oil tank is used to store water and oil discharged from the transformer. The target oil tank can also be called an emergency oil tank.

[0110] The first liquid level may include the liquid level of the target oil tank collected at the sampling time within a historical period.

[0111] Multiple first liquid levels can be arranged sequentially in chronological order. These first liquid levels not only reflect the height of the target oil pool at multiple moments, but also characterize the rate of rise, rate of fall, local fluctuation amplitude, and trend reversal information of the liquid level within a historical period. For example, assuming the 24 hours preceding the current moment is the historical period, and using a 5-minute acquisition cycle, a set of first liquid levels arranged chronologically can be collected. These multiple first liquid levels can reflect the lowest liquid level and the slow rise and fall of the liquid level in the accident oil pool within the 24 hours preceding the current moment.

[0112] In this embodiment, a water level sensor and an oil level sensor are installed in the target oil pool. The electronic device can collect the first water level of the target oil pool at N times within a historical period through the water level sensor, where N is an integer greater than 1; and can collect the first oil level of the target oil pool at N times through the oil level sensor; wherein, the multiple first liquid levels include: the first liquid level at each of the N times, and the first liquid level includes the first water level and the first oil level at the corresponding time.

[0113] Water level sensors and oil level sensors can employ float-type, pressure-type, or ultrasonic detection devices, respectively. The output terminals of both the water level sensor and the oil level sensor can be connected to electronic equipment.

[0114] Optionally, the water level sensor can be installed in the drainage pool area to detect the height of the lower water layer; the oil level sensor can be installed in the oil-water stratification area of ​​the oil storage tank to monitor the thickness of the oil layer floating above the water surface. The installation locations of the water level sensor and the oil level sensor can be independent of each other to avoid oil in the oil storage tank contaminating the detection probe of the water level sensor.

[0115] The electronic device can synchronously read the first water level and the first oil level at preset time intervals within a historical period. The N time intervals can be determined according to a fixed liquid level acquisition cycle, or adaptively based on the operating status of the target oil tank. N is an integer greater than 1, forming a continuous sequence. For example, under normal steady-state conditions, the liquid level acquisition cycle can be fixed at 5 minutes; when a rapid rise in the liquid level in an emergency oil tank is detected, the liquid level acquisition cycle can be automatically shortened to 1 minute to increase the sampling density and accurately capture liquid level changes.

[0116] In this embodiment, the first water level and the first oil level can be timestamped separately and paired according to a one-to-one correspondence at the same time, thereby generating multiple first liquid levels. To ensure data consistency, the electronic equipment can clock-align the outputs of the water level sensor and the oil level sensor, so that the first liquid level at each time can truly reflect the liquid level changes of the target oil tank over historical periods.

[0117] S302. Based on multiple first liquid levels, determine the target liquid level of the target oil tank in the future time period.

[0118] The future time period can be a prediction window following the current moment. The specific setting can be combined with factors such as the liquid level acquisition cycle; this embodiment does not limit this. For example, the prediction window can be set to 30 minutes.

[0119] The target liquid level can be a liquid level value that the target oil tank should reach or maintain in the future period, determined based on multiple first liquid levels.

[0120] In this embodiment, a preset model can be pre-trained. The preset model can determine the liquid level at future times based on the liquid level at historical times.

[0121] In practice, multiple first liquid levels can be input into a preset model, and the corresponding second liquid levels can be obtained from the preset model, resulting in multiple second liquid levels. The electronic device can then determine the target liquid level based on these multiple second liquid levels. For a detailed method of determining the target liquid level based on multiple second liquid levels, please refer to [link to relevant documentation]. Figure 4Examples are not detailed here.

[0122] The preset model can be a recursive network model, and the preset model satisfies the following formula:

[0123]

[0124]

[0125]

[0126] in, It is the input of the preset model. Let 1, 2...T be the number of times the first liquid level was collected within the historical time period; These are the weights from the input layer to the hidden layer; These are the weights from one hidden layer to another. For a moment The original synthesized signal; For a moment The hidden state, For a moment The hidden state; It is a non-linear activation function of the hidden layer; yes The corresponding output; It is the activation function of the output layer.

[0127] S303. Control the liquid level of the target oil tank according to the target liquid level.

[0128] In this embodiment, after the electronic device determines the target liquid level, it can compare the target liquid level with the real-time collected liquid level over a future period to obtain the liquid level deviation. Specifically, the target liquid level may include a target water level and a target oil level. If the target water level is lower than the real-time collected water level, the target oil tank can be controlled to drain water through the drain outlet to lower the water level in the target oil tank; if the target water level is higher than the real-time collected water level, the target oil tank can be controlled to inject water through the inlet to raise the water level in the target oil tank. If the target oil level is higher than the real-time collected oil level, oil can be injected into the target oil tank through the oil inlet to raise the oil level in the target oil tank; if the target oil level is lower than the real-time collected oil level, oil can be drained through the outlet to lower the oil level in the target oil tank.

[0129] Optionally, after determining the target liquid level, the electronic equipment can also send the target liquid level to the alarm equipment. Upon receiving the target liquid level, the alarm equipment can parse it and record it in its local storage unit. Simultaneously, it displays the target liquid level alongside the current liquid level according to a preset display format, allowing operators to intuitively understand the subsequent liquid level control target. Using this method, the target liquid level can reach the alarm equipment in a timely manner, enabling the alarm equipment to complete prompts, displays, or alarm outputs based on the target liquid level. This ensures that the control target of the target oil tank and the alarm information are consistent, facilitating on-site personnel to monitor and handle situations based on the same control benchmark.

[0130] In the target oil tank level control method provided in this embodiment, the electronic device can acquire multiple first liquid levels of the target oil tank within a historical time period; it can determine the target liquid level of the target oil tank within a future time period based on the multiple first liquid levels; and it can control the liquid level of the target oil tank based on the target liquid level. In the above method, the first liquid levels within a historical time period are used to predict the target liquid level within a future time period. The target liquid level can be determined in advance, so controlling the liquid level of the target oil tank based on the target liquid level can eliminate the delay in liquid level control, thereby improving the accuracy of liquid level control.

[0131] Based on the above embodiments, the following is combined with Figure 4 The method for controlling the liquid level of the target oil tank provided in the embodiments of this application will be further described.

[0132] Figure 4 A flowchart illustrating the liquid level control method for the target oil tank provided in this application. Figure 2 ,like Figure 4 As shown, the method includes:

[0133] S401. Obtain multiple first liquid levels of the target oil tank within a historical time period.

[0134] It should be noted that the specific implementation of S401 can be found in S301, and will not be repeated here.

[0135] S402. Determine the second liquid level corresponding to the first liquid level at each of the N time points using a preset model, and obtain N second liquid levels.

[0136] The second liquid level is the liquid level of the target oil tank in the future time period predicted based on the corresponding first liquid level.

[0137] In this embodiment, the electronic device can process the first water level at each of the N time points using a preset model to obtain the second water level corresponding to the first water level at each time point; it can also process the first oil level at each of the N time points using a preset model to obtain the second oil level corresponding to the first oil level at each time point; the second liquid level corresponding to the first liquid level at each of the N time points includes: the second water level corresponding to the first water level at the corresponding time point, and the second oil level corresponding to the first oil level.

[0138] When determining the second liquid level corresponding to the first liquid level at each of N time points, the electronic device can sequentially output the first liquid levels to a preset model according to the time sequence of the multiple first liquid levels, and obtain the second liquid level corresponding to each first liquid level from the preset model. In this way, it is possible to read multiple first liquid levels one by one in chronological order without disrupting the time sequence, thereby avoiding the distortion of prediction results caused by the reversal of the time sequence.

[0139] It should be noted that the method for obtaining the second liquid level corresponding to each first liquid level is the same. The following explanation will use any first liquid level as an example to illustrate the method for obtaining the second liquid level corresponding to the first liquid level.

[0140] For any one of the N time points, the first water level at that time point can be processed using a preset model to obtain the second water level corresponding to the first water level; the first oil level at that time point can be processed using a preset model to obtain the second oil level corresponding to the first oil level; and it can be determined that the second liquid level corresponding to the first liquid level at that time point includes: the second water level and the second oil level.

[0141] Specifically, for any one of N time points, the electronic device can input the first water level corresponding to that time point into a preset model; the preset model can process the first water level and output a second water level corresponding to it. Similarly, the electronic device can input the first oil level into a preset model; the preset model can process the first oil level and output a second oil level corresponding to it. The electronic device can determine that the second liquid level corresponding to the first liquid level at that time point includes: the second water level and the second oil level.

[0142] For example, for any one of the N time points, the first liquid level at that time point and the corresponding second liquid level can be found in Table 1:

[0143] Table 1

[0144]

[0145] As shown in Table 1, the first liquid level can include a first water level and a first oil level, where the first water level is 0.7 meters and the first oil level is 0.12 meters. Assuming the preset model outputs a value of 0.78 meters after processing the first water level, then the second water level is 0.78 meters; assuming the preset model outputs a value of 0.14 meters after processing the first oil level, then the second oil level is 0.14 meters. The second liquid level can include both the second water level and the second oil level.

[0146] Using the above method, the electronic device can simulate the water level and oil level at the same time using a preset model, enabling the second liquid level to simultaneously reflect changes in both the water level and oil level within the target oil tank. The second liquid level is composed of both the second water level and the second oil level, thus providing a more complete state representation for the liquid level control of the target oil tank.

[0147] S403. Obtain preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume of the target oil tank must meet.

[0148] Preset conditions can be pre-stored in the local memory of the electronic device, or they can be sent to the electronic device by other devices. Therefore, the electronic device can obtain preset conditions locally, or it can obtain preset conditions from other communication-connected devices.

[0149] In this embodiment, the preset conditions include at least one of the following: the oil volume in the target oil tank is less than or equal to a preset threshold; the water level in the target oil tank is less than or equal to a water level threshold; or, the oil level in the target oil tank is less than or equal to an oil level threshold. The oil volume in the target oil tank can be determined based on the oil level in the target oil tank.

[0150] The specific values ​​of the preset threshold, water level threshold, and oil level threshold can be set according to actual needs, and this embodiment does not limit them.

[0151] For example, the amount of oil in the target oil pool can satisfy the following formula:

[0152]

[0153] in, This can be determined by the amount of oil in the target oil tank. A preset threshold can be set.

[0154] In some embodiments, the preset conditions further include: the water level in the target oil tank is greater than or equal to the lower limit of the water level, and the oil level in the target oil tank is greater than or equal to the lower limit of the oil level. The lower limit of the water level and the lower limit of the oil level can be set according to actual needs, and this embodiment does not limit them.

[0155] For example, the water level in the target oil tank can satisfy the following formula:

[0156]

[0157] in, This can be based on the water level in the target oil tank. It can be the lower limit of the water level. This can be a water level threshold. Setting a lower water level limit is to maintain the water level at the bottom of the emergency oil tank and ensure effective oil-water separation. When the water level in the emergency oil tank is too low, oil tends to settle at the bottom, making natural oil-water stratification impossible.

[0158] For example, the oil level in the target oil tank can satisfy the following formula:

[0159]

[0160] in, This can be determined by the oil level in the target oil tank. This can be set as the lower limit of the oil level. It can be the oil level threshold.

[0161] S404. Based on N second liquid levels and preset conditions, determine the target liquid level of the target oil tank in the future time period.

[0162] In this embodiment, the electronic device can determine M second liquid levels from N second liquid levels according to preset conditions, where M is an integer greater than or equal to 1 and less than or equal to N, and the M second liquid levels satisfy the preset conditions; for any one of the M second liquid levels, the liquid level change rate corresponding to the second liquid level is determined according to the second water level and the second oil level included in the second liquid level, and M liquid level change rates are obtained; the target liquid level is determined according to the M liquid level change rates.

[0163] Specifically, the electronic device can read the second water level and second oil level corresponding to N second liquid levels, and can use preset conditions as filtering constraints to retain the second liquid levels that meet the preset conditions among the N second liquid levels, forming M second liquid levels.

[0164] For example, if the preset conditions include the target oil tank having an oil volume less than or equal to a preset threshold, the target oil tank having a water level less than or equal to a water level threshold, and the target oil tank having an oil level less than or equal to an oil level threshold, the electronic device can determine that the second liquid level among N second liquid levels, corresponding to an oil volume less than or equal to a preset threshold, a water level less than or equal to a water level threshold, and an oil level less than or equal to an oil level threshold, belongs to M second liquid levels.

[0165] After determining M second liquid levels, the electronic device can calculate the rate of change of liquid level for each of the M second liquid levels. It should be noted that the method for calculating the rate of change of liquid level for each second liquid level is the same. The rate of change of liquid level can be calculated using the following formula:

[0166]

[0167] in, The rate of change of liquid level. The target oil tank level acquisition cycle. This is the second oil level. The second water level is indicated by the rate of change of the liquid level. The rate of change of the liquid level can characterize the speed of the combined change of the water level and the oil level under the predicted operating condition. The smaller the rate of change of the liquid level, the more stable the liquid level of the accident oil pool under the predicted operating condition, and the slower the rate of increase in the risk of overflow.

[0168] After determining the rate of change of liquid level for each of the M second liquid levels, the electronic equipment can identify a target rate of change of liquid level from among the M rates of change of liquid level. The target rate of change of liquid level is the minimum value among the M rates of change of liquid level. The second liquid level corresponding to the target rate of change of liquid level is then identified as the target liquid level. Specifically, the second water level included in the second liquid level corresponding to the target rate of change of liquid level can be identified as the target water level; the second oil level included in the second liquid level corresponding to the target rate of change of liquid level can be identified as the target oil level.

[0169] For example, assuming M=6, the calculated six liquid level change rates are 0.012, 0.008, 0.021, 0.005, 0.015, and 0.009, respectively. The minimum value among these six liquid level change rates is 0.005. Therefore, the second water level corresponding to 0.005 can be determined as the target water level, and the second oil level corresponding to 0.005 can be taken as the target oil level.

[0170] In this embodiment, the second liquid level corresponding to the smallest rate of liquid level change is used as the target liquid level. Since the target oil pool may exhibit different evolution trends, selecting the second liquid level corresponding to the smallest rate of liquid level change allows the target liquid level to reflect a more stable trend judgment result and serve as the benchmark for subsequent liquid level control. The above method for determining the target liquid level prioritizes stable and controllable operating conditions as the control target, avoiding the selection of predicted results of rapid liquid level increases as the control benchmark, preventing control actions from being unable to respond in time, and further reducing the risk of overflow.

[0171] In this embodiment, the target liquid level can be screened based on M second liquid levels. In this way, the target liquid level is not given directly by a single predicted value, but is determined by combining preset conditions and the rate of change of liquid level. Therefore, the target liquid level can better reflect the actual load-bearing state and change trend of the target oil tank, resulting in higher accuracy of liquid level control.

[0172] S405. Control the liquid level of the target oil tank according to the target liquid level.

[0173] It should be noted that the specific implementation of S405 can be found in S303, and will not be repeated here.

[0174] In the target oil tank level control method provided in this embodiment, the electronic device can acquire multiple first liquid levels of the target oil tank within a historical time period; it can determine the second liquid level corresponding to the first liquid level at each of N time periods through a preset model, thus obtaining N second liquid levels; it can acquire preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume of the target oil tank must meet; it can determine the target liquid level of the target oil tank in a future time period based on the N second liquid levels and the preset conditions; and it can control the liquid level of the target oil tank based on the target liquid level. In the above method, the first liquid levels within a historical time period are used to predict the target liquid level in a future time period. The target liquid level can be determined in advance, so controlling the liquid level of the target oil tank based on the target liquid level can eliminate the delay in liquid level control, thereby improving the accuracy of liquid level control.

[0175] The following specific examples illustrate the liquid level control method for the target oil tank provided in the embodiments of this application.

[0176] A 220kV outdoor substation is equipped with an 8m³ emergency oil tank. Assume the electronic equipment collects the oil tank level data every 5 minutes, and the prediction window is 30 minutes.

[0177] Assume the following preset conditions are included:

[0178] The water level in the target oil tank was maintained between 0.3m and 0.9m.

[0179] The oil level in the target oil tank is maintained between 0 and 0.2.

[0180] The target oil tank contains ≤3.5m³ of oil.

[0181] Assume that the multiple first liquid levels are the first liquid levels collected within 24 hours prior to the current time, and the multiple first liquid levels include 288 groups of first liquid levels arranged in chronological order.

[0182] After processing the 288 sets of first liquid level data using a preset model, 288 sets of second liquid level data can be obtained.

[0183] Assuming that after screening 288 groups of second liquid levels according to preset conditions, the second liquid levels that do not meet the preset conditions are removed, resulting in 168 groups of second liquid levels that meet the preset conditions.

[0184] After calculating the rate of change of liquid level for each of the 168 groups of second liquid levels, 168 rates of change of liquid level can be obtained.

[0185] Assuming that among the 168 liquid level change rates, the second water level corresponding to the smallest liquid level change rate is 0.62m and the second oil level corresponding to the smallest liquid level change rate is 0.10m, then the target water level is 0.62m and the target oil level is 0.10m.

[0186] At this point, if the collected water level in the accident oil pool is 0.75m and the oil level is 0.13m, it can be determined that both the water and oil levels are higher than the target values. Electronic equipment can control the target oil pool to drain water through the drain outlet to lower the water level, and simultaneously drain oil through the oil drain outlet to lower the oil level. This dynamic adjustment continues for 30 minutes, ultimately stabilizing the liquid level in the target oil pool within the target range.

[0187] In addition, the electronic device can send the target liquid level to the alarm device the moment it determines the target liquid level.

[0188] Figure 5 A schematic diagram of the liquid level control device for the target oil tank provided in this application is shown below. Figure 5 As shown, the target oil tank level control device 50 provided in this embodiment includes: an acquisition module 501, a determination module 502, and a control module 503, wherein:

[0189] The acquisition module 501 is used to acquire multiple first liquid levels of the target oil tank within a historical period. The target oil tank is used to store water and oil discharged from the transformer.

[0190] The determining module 502 is used to determine the target liquid level of the target oil tank in a future time period based on multiple first liquid levels;

[0191] The control module 503 is used to control the liquid level of the target oil tank according to the target liquid level.

[0192] The target oil tank level control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0193] In one possible implementation, a water level sensor and an oil level sensor are installed in the target oil tank; the acquisition module 501 is specifically used for:

[0194] The water level sensor collects the first water level of the target oil tank at N times within a historical period, where N is an integer greater than 1;

[0195] The oil level sensor collects the first oil level of the target oil tank at N time points;

[0196] Among them, the multiple first liquid levels include: the first liquid level at each of the N time moments, and the first liquid level includes the first water level and the first oil level at the corresponding time moment.

[0197] In one possible implementation, the determining module 502 is specifically used for:

[0198] The second liquid level corresponding to the first liquid level at each of the N time points is determined by a preset model, resulting in N second liquid levels. The second liquid level is the liquid level of the target oil tank in the future time period predicted based on the corresponding first liquid level.

[0199] Obtain preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume in the target oil tank must meet.

[0200] Based on N second liquid levels and preset conditions, determine the target liquid level of the target oil tank in the future time period.

[0201] In one possible implementation, the determining module 502 is specifically used for:

[0202] By processing the first water level at each of the N time points using a preset model, the second water level corresponding to the first water level at each time point is obtained.

[0203] The first oil level at each of the N time points is processed by a preset model to obtain the second oil level corresponding to the first oil level at each time point.

[0204] Determine the second liquid level corresponding to the first liquid level at each of the N time points, including: the second water level corresponding to the first water level at the corresponding time point, and the second oil level corresponding to the first oil level.

[0205] In one possible implementation, the preset conditions include at least one of the following:

[0206] The oil volume in the target oil tank is less than or equal to a preset threshold.

[0207] The water level in the target oil tank is less than or equal to the water level threshold; or,

[0208] The oil level in the target oil tank is less than or equal to the oil level threshold.

[0209] In one possible implementation, the determining module 502 is specifically used for:

[0210] According to preset conditions, M second liquid levels are determined from N second liquid levels, where M is an integer greater than or equal to 1 and less than or equal to N, and the M second liquid levels satisfy the preset conditions.

[0211] For any one of the M second liquid levels, determine the liquid level change rate corresponding to the second liquid level based on the second water level and the second oil level included in the second liquid level, and obtain the M liquid level change rates;

[0212] The target liquid level is determined based on M liquid level change rates.

[0213] In one possible implementation, the rate of change of liquid level satisfies the following formula:

[0214]

[0215] in, The rate of change of liquid level. The target oil tank level acquisition cycle. This is the second oil level. This is the second water level.

[0216] In one possible implementation, the determining module 502 is specifically used for:

[0217] Determine the target liquid level change rate from among the M liquid level change rates, where the target liquid level change rate is the minimum value among the M liquid level change rates.

[0218] The second liquid level corresponding to the target liquid level change rate is determined as the target liquid level.

[0219] In one possible implementation, the control module 503 is further configured to:

[0220] Send the target liquid level to the alarm device.

[0221] The target oil tank level control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0222] Figure 6 A schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 60 provided in this embodiment includes at least one processor 601 and a memory 602. Optionally, the device 60 further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.

[0223] In a specific implementation, at least one processor 601 executes computer execution instructions stored in memory 602, causing at least one processor 601 to perform the above-described method.

[0224] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0225] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0226] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0227] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0228] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0229] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0230] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0231] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0232] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0233] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0234] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0235] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0236] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0237] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for controlling the liquid level in a target oil tank, characterized in that, include: The target oil tank is used to store water and oil discharged from the transformer. Multiple first liquid levels are obtained within a historical period. Based on the plurality of first liquid levels, determine the target liquid level of the target oil tank in the future time period; The liquid level of the target oil tank is controlled according to the target liquid level.

2. The method according to claim 1, characterized in that, The target oil tank is equipped with a water level sensor and an oil level sensor; multiple first liquid levels of the target oil tank during historical periods are acquired, including: The water level sensor is used to collect the first water level of the target oil tank at N times during the historical period, where N is an integer greater than 1. The target oil pool's first oil level at N time points is collected using an oil level sensor; The plurality of first liquid levels include: the first liquid level at each of the N time points, wherein the first liquid level includes the first water level and the first oil level at the corresponding time point.

3. The method according to claim 2, characterized in that, Determining the target liquid level of the target oil tank within a future time period based on the plurality of first liquid levels includes: The second liquid level corresponding to the first liquid level at each of the N time points is determined by a preset model, resulting in N second liquid levels. The second liquid level is the liquid level of the target oil tank in the future time period predicted based on the corresponding first liquid level. Obtain preset conditions, which are used to indicate the liquid level of the target oil tank and / or the conditions that the oil volume of the target oil tank needs to meet; Based on the N second liquid levels and preset conditions, the target liquid level of the target oil tank in the future time period is determined.

4. The method according to claim 3, characterized in that, Determining the second liquid level corresponding to the first liquid level at each of the N time points using a preset model includes: The first water level at each of the N time points is processed using the preset model to obtain the second water level corresponding to the first water level at each time point; The first oil level at each of the N time points is processed using the preset model to obtain the second oil level corresponding to the first oil level at each time point. Determine the second liquid level corresponding to the first liquid level at each of the N time points, including: the second water level corresponding to the first water level at the corresponding time point, and the second oil level corresponding to the first oil level.

5. The method according to claim 4, characterized in that, The preset conditions include at least one of the following: The oil volume in the target oil pool is less than or equal to a preset threshold. The water level in the target oil tank is less than or equal to a water level threshold; or... The oil level in the target oil tank is less than or equal to the oil level threshold.

6. The method according to claim 4 or 5, characterized in that: Based on the N second liquid levels and preset conditions, the target liquid level of the target oil tank in the future time period is determined, including: According to the preset conditions, M second liquid levels are determined from the N second liquid levels, where M is an integer greater than or equal to 1 and less than or equal to N, and the M second liquid levels satisfy the preset conditions; For any one of the M second liquid levels, based on the second water level and the second oil level included in the second liquid level, determine the liquid level change rate corresponding to the second liquid level, and obtain the M liquid level change rates; The target liquid level is determined based on the M liquid level change rates.

7. The method according to claim 6, characterized in that: The rate of change of liquid level satisfies the following formula: in, The liquid level change rate is... The liquid level acquisition cycle for the target oil tank is defined as follows. This is the second oil level. This is the second water level.

8. The method according to claim 6, characterized in that: Determining the target liquid level based on the M liquid level change rates includes: A target liquid level change rate is determined from the M liquid level change rates, and the target liquid level change rate is the minimum value among the M liquid level change rates; The second liquid level corresponding to the target liquid level change rate is determined as the target liquid level.

9. The method according to claim 1, characterized in that, The method further includes: The target liquid level is sent to the alarm device.

10. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-9.