Computer-implemented method for detecting volume of liquid in cell body and related product

The liquid volume of the pool is calculated by the liquid level sensor and the preset parameter model, which solves the problem of low efficiency and poor accuracy of liquid inventory monitoring in earthwork pools, and realizes real-time and accurate liquid volume detection, which is suitable for pools of various shapes and sizes. .

CN118857412APending Publication Date: 2024-10-29MUYUAN FOOD GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410926023.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The existing technology has low efficiency and poor data accuracy when monitoring the liquid inventory in earthwork pools. Especially when the pools have various shapes and large quantities, it is difficult to achieve real-time and accurate liquid volume detection.

Method used

Liquid level data is obtained through the liquid level sensor, and combined with preset parameters and calculation models, the liquid volume in the pool is calculated. It supports parameter and model settings for pools of different shapes to enhance the real-time and accuracy of monitoring.

Benefits of technology

It achieves accurate and real-time monitoring of the pool liquid volume, improves data accuracy and application flexibility, and is suitable for earthwork pools of various shapes and sizes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118857412A_ABST
    Figure CN118857412A_ABST
Patent Text Reader

Abstract

The invention discloses a computer-implemented method for detecting the volume of liquid in a cell body and a related product. The method comprises the following steps: acquiring liquid level data of liquid in a to-be-detected tank body through a liquid level sensor; acquiring a preset parameter and a calculation model corresponding to the liquid level data, wherein the preset parameter and the calculation model are related to the to-be-detected pool body; and determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data and the calculation model. The change of the liquid level of the liquid in the to-be-detected pool body can be monitored in real time through the liquid level sensor, the volume of the liquid in the to-be-detected pool body can be determined according to the preset parameters corresponding to the liquid level data and the calculation model, and the real-time performance and accuracy of volume detection of the liquid in the to-be-detected pool body are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to the field of liquid volume measurement technology. More specifically, the present application relates to a computer-implemented method for detecting the volume of liquid in a pool, an electronic device, a computer-readable storage medium, and a system. Background Art

[0002] As a common structure in civil engineering, earthwork ponds can be used for liquid storage in a variety of scenarios, such as wastewater treatment, biogas storage, soil and water conservation, or agricultural irrigation. In the above scenarios, the liquid inventory in the earthwork pond is a key data in liquid storage. Whether it can be accurately calculated and monitored in a timely manner is of great significance to the project.

[0003] In the current calculation scenario of the liquid stock in the earthwork pond, it is mainly calculated manually by substituting the liquid level height into the volume calculation formula of the regular pond to obtain the liquid stock in the pond; or the irregular pond is cut into regular shapes, and then the liquid stock in the pond is calculated according to the volume of the regular pond after cutting.

[0004] However, when there are many pools to be monitored and the shapes of the pools are different, the above method cannot detect the liquid inventory in the pools in a timely and effective manner; at the same time, the increase in the amount of data calculated manually will also increase the probability of data calculation errors and affect data accuracy.

[0005] In view of this, there is an urgent need to provide a solution for detecting the volume of liquid in the pool body, so as to improve the real-time and accuracy of monitoring the current amount of liquid in the pool body. Summary of the invention

[0006] In order to at least solve one or more of the technical problems mentioned above, the present application proposes a solution for detecting the volume of liquid in a pool in multiple aspects.

[0007] In a first aspect, the present application provides a computer-implemented method for detecting the volume of liquid in a pool body, comprising: obtaining liquid level data of the liquid in the pool body to be detected through a liquid level sensor; obtaining preset parameters and a calculation model corresponding to the liquid level data, wherein the preset parameters and the calculation model are related to the pool body to be detected; and determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model.

[0008] In some embodiments, the pool body to be detected includes a pool body of a first shape, and the calculation model includes a first calculation model, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data and the calculation model includes: in response to the pool body to be detected being a pool body of a first shape, determining the volume of the liquid in the pool body of the first shape according to the liquid level data, the preset parameters corresponding to the liquid level data and the first calculation model.

[0009] In some further embodiments, the preset parameters include the bottom side length, the pool wall slope ratio, and the pool bottom area of ​​the pool to be tested, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the first calculation model includes: determining the upper surface area of ​​the liquid according to the liquid level data, the bottom side length, the pool wall slope ratio, and the pool bottom area; and determining the volume of the liquid according to the upper surface area, the pool bottom area, the first calculation model, and the liquid level data.

[0010] In some further embodiments, the pool body also includes a second shape pool body, and the calculation model also includes a second calculation model, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data and the calculation model also includes: in response to the pool body being the second shape pool body, determining the volume of the liquid in the second shape pool body according to the liquid level data, the preset parameters corresponding to the liquid level data and the second calculation model.

[0011] In some further embodiments, the preset parameters include the bottom side length, the pool wall slope ratio, and the pool bottom area of ​​the pool body, wherein determining the volume of the liquid based on the liquid level data, the preset parameters corresponding to the liquid level data, and the second calculation model includes: determining the upper surface area and the mid-sectional area of ​​the liquid based on the liquid level data, the bottom side length, the pool wall slope ratio, and the pool bottom area; and determining the volume of the liquid based on the upper surface area, the mid-sectional area, the pool bottom area, the second calculation model, and the liquid level data.

[0012] In some further embodiments, the preset parameters also include sludge depth, wherein determining the volume of the liquid based on the liquid level data, the preset parameters corresponding to the liquid level data and the calculation model includes: correcting the preset parameters according to the sludge depth of the sludge at the bottom of the pool to be detected; and determining the volume of the liquid based on the corrected preset parameters, the calculation model and the liquid level data.

[0013] In a second aspect, the present application provides an electronic device, comprising: a processor; a memory, on which program instructions for detecting the volume of liquid in a pool are stored, and when the program instructions are executed by the processor, the method described in the first aspect of the present application and its multiple embodiments is implemented.

[0014] In a third aspect, the present application provides a computer-readable storage medium having stored thereon program instructions for detecting the volume of liquid in a pool body, and when the program instructions are executed by one or more processors, the operations of the method described in the first aspect of the present application and its multiple embodiments are implemented.

[0015] In a fourth aspect, the present application provides a system for detecting the volume of liquid in a pool, comprising a liquid level sensor, which is arranged in the pool to be detected for obtaining liquid level data of the liquid; and a PLC industrial computer, which is communicatively connected to the liquid level sensor for executing the method described in the first aspect of the present application and its multiple embodiments.

[0016] In some embodiments, the system further comprises a mobile terminal, which is communicatively connected to the PLC industrial computer, so as to monitor the changing trend of the liquid volume in real time through a graphical interface.

[0017] Through the solution for detecting the volume of liquid in the pool body provided above, the embodiment of the present application can collect the liquid level data of the liquid in the pool body to be detected through the liquid level sensor set in the pool body to be detected, and then determine the volume of the pool body to be detected according to the liquid level data and the preset parameters and calculation model corresponding to the liquid level data, which greatly enhances the real-time and accuracy of monitoring the volume of the liquid in the pool body to be detected. Furthermore, the present application can also set different pre-stored parameters and calculation models for pool bodies of different shapes, further improving the accuracy of the data and the flexibility of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0019] Figure 1 A schematic diagram showing a system for detecting the volume of liquid in a pool according to some embodiments of the present application;

[0020] Figure 2 A schematic diagram showing a computer-implemented method for detecting the volume of liquid in a pool according to some embodiments of the present application;

[0021] Figure 3A schematic diagram showing a computer-implemented method for detecting the volume of liquid in a pool according to some embodiments of the present application;

[0022] Figure 4 A schematic diagram showing a first-shaped cell body according to some embodiments of the present application is shown;

[0023] Figure 5 A schematic diagram showing a computer-implemented method for detecting the volume of liquid in a pool according to some embodiments of the present application;

[0024] Figure 6 A schematic diagram showing a second-shaped cell body according to some embodiments of the present application is shown;

[0025] Figure 7 A schematic block diagram of an electronic device according to some embodiments of the present application is shown. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0027] It should be understood that the terms "include" and "comprising" used in the specification and claims of the present application indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0028] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this application specification and claims, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to include plural forms. It should also be further understood that the term "and / or" used in this application specification and claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0029] As used in this specification and claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0030] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.

[0031] Exemplary application scenarios

[0032] In the existing method for detecting the liquid inventory in the earthwork pool and other pools, the liquid inventory in the pool is mainly calculated manually according to the volume formula applicable to the corresponding pool. However, due to the low efficiency and poor data accuracy of this method, it can no longer meet the current production needs.

[0033] In view of this, the present application proposes a solution for detecting the volume of liquid in a pool body, which can obtain the liquid level data of the liquid in the pool body to be detected in real time, and calculate the volume of the liquid in the pool body based on the acquired real-time liquid level data and pre-stored preset parameters and calculation models related to the pool body, which can effectively improve the accuracy of data and calculation efficiency.

[0034] Figure 1 A schematic diagram of a system 100 for detecting the volume of liquid in a pool according to some embodiments of the present application is shown.

[0035] like Figure 1 As shown, the system 100 for detecting the volume of liquid in a pool body includes a liquid level sensor 110 , which is arranged in a pool body 130 to be detected; and a PLC industrial computer 120 , which is in communication connection with the liquid level sensor 110 .

[0036] In the context of the present application, the above liquid level sensor 110 is used to obtain the liquid level data of the liquid in the pool body 130 to be detected. The liquid level sensor 110 can be, for example, a contact liquid level sensor that measures the liquid level data of the liquid by the static pressure of the liquid in the pool body 130 to be detected, or a non-contact liquid level sensor that measures the liquid level data of the liquid in the pool body 130 to be detected by ultrasonic wave or radar, etc., and the present application does not impose any limitation in this regard.

[0037] In one embodiment, there may be a plurality of liquid level sensors 110 , which are respectively arranged in a plurality of tank bodies 130 to be detected, so as to obtain a plurality of liquid level data of the liquid in the plurality of tank bodies to be detected.

[0038] In yet another embodiment, when a contact type liquid level sensor is used, a hollow tubular structure may be provided along the wall of the pool body 130 to be detected, so that the liquid level sensor 110 is fixed in the pool body 130 to be detected through the hollow tubular structure.

[0039] The PLC industrial computer 120 is used to calculate the volume of the liquid in the pool to be detected according to the liquid level data collected by the liquid level sensor 110. Specifically, the PLC industrial computer 120 can determine the preset parameters and calculation models pre-stored in the PLC industrial computer 120 corresponding to the liquid level data according to the liquid level data collected by the liquid level sensor 110, and then determine the volume of the liquid in the pool to be detected 130 according to the liquid level data, the preset parameters and calculation models corresponding to the liquid level data. The PLC industrial computer can generally include a processor (such as a PLC, MCU, CPU, etc.), a memory, and electronic components connected to the processor, etc. These components are well known to those skilled in the art and will not be described in detail here.

[0040] In one implementation scenario, the system 100 for detecting the volume of liquid in the pool body may also include a mobile terminal, which is connected to the PLC industrial computer 120 for real-time monitoring of the change trend of the liquid volume in the pool body 130 to be detected by means of a graphical interface. As an example, the mobile terminal here can be a smart phone, a tablet computer or other portable device, which can transmit data with the PLC industrial computer 120 via a wireless network or Bluetooth. In one implementation scenario, the user can view the data sent back in real time by the liquid level sensor 110 and the liquid volume information processed by the calculation model in the application of the mobile terminal. The application can also provide functions such as historical data recording, abnormal alarm and data analysis, so that the user can fully understand and manage the dynamic changes of the liquid in the pool body. In this way, even if the user is not on site, he can keep abreast of the status of the liquid in the pool body and make necessary adjustments and decisions.

[0041] Through Figure 1 The system shown in the present application can collect the liquid level data of the liquid in the pool to be detected in real time through a liquid level sensor connected to the PLC industrial computer for communication, and calculate the liquid volume in the pool according to the collected liquid level data and pre-stored preset parameters and calculation models related to the pool to be detected, so as to accurately and in real time monitor the liquid inventory in the pool to be detected.

[0042] Figure 2 A schematic diagram of a computer-implemented method 200 for detecting a liquid volume in a pool according to some embodiments of the present application is shown.

[0043] like Figure 2 As shown, in step S210, the liquid level data of the liquid in the tank body is obtained by a liquid level sensor. The liquid level sensor can be Figure 1 The liquid level sensor shown in the figure will not be described again. The liquid level data can be used to indicate the vertical depth of the liquid in the pool to be detected. As mentioned above, the liquid level sensor can include multiple ones, which are respectively arranged in multiple pools to be detected to obtain multiple liquid level data of the liquid in the multiple pools to be detected, that is, the liquid level data can include multiple liquid level data.

[0044] In one embodiment, when the liquid level data includes multiple liquid level data, in order to facilitate the correspondence between the multiple liquid level data and the multiple pools to be detected, the liquid level sensors and the pools to be detected can be numbered, and the multiple liquid level sensors correspond to the numbers of the multiple detection pools one by one. Specifically, the liquid level data can also be used to indicate the numbers of the pools to be detected, so that the multiple liquid level data correspond to the multiple pools to be detected one by one.

[0045] Next, the process enters step S220, at which the preset parameters and calculation model corresponding to the liquid level data are obtained. The preset parameters and calculation model are related to the pool body to be detected. Specifically, the preset parameters may include design parameters of the pool body to be detected, such as any design parameters for indicating the depth, side length, and volume of the pool body to be detected; the calculation model may be, for example, any formula suitable for calculating the volume of liquid in the pool body to be detected, which is determined based on the shape of the pool body to be detected. It can be understood that the aforementioned preset parameters and calculation models are schematic and non-restrictive, and those skilled in the art can determine the preset parameters and calculation models according to the actual application scenarios, and the present application does not impose any restrictions in this regard.

[0046] As mentioned above, a plurality of pool bodies to be detected may be included, and the design parameters of the plurality of pool bodies to be detected may not be the same. In view of this, it is necessary to determine a plurality of design parameters corresponding to the plurality of liquid level data respectively. Specifically, in one embodiment, the preset parameters may include a plurality of design parameters of the plurality of pool bodies to be detected. Further, considering that a plurality of liquid level data and a plurality of design parameters need to correspond one-to-one for detecting the volume of liquid in a plurality of pool bodies to be detected, in another embodiment, the preset parameters also include the serial numbers of the plurality of pool bodies to be detected, so that the plurality of liquid level data can correspond one-to-one with the plurality of design parameters, that is, the preset parameters corresponding to the liquid level data can be obtained.

[0047] Finally, the process enters step S230. At this step, the volume of the liquid is determined according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model. As mentioned above, the calculation model can be any formula suitable for calculating the volume of the liquid in the pool to be detected. According to the calculation model, the scheme disclosed in the present invention can determine the preset parameters required for the calculation, and then substitute the real-time acquired liquid level data and the preset parameters into the calculation model to determine the real-time volume of the liquid in the pool to be detected.

[0048] Taking into account that the shapes of multiple pools to be detected may not be the same, for pools to be detected of different shapes, the volume of the liquid in the pool to be detected can be determined according to different calculation models. In one embodiment, the pool to be detected includes a pool of a first shape, and the calculation model includes a first calculation model, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model includes: in response to the pool to be detected being a pool of the first shape, determining the volume of the liquid in the pool of the first shape according to the liquid level data, the preset parameters corresponding to the liquid level data, and the first calculation model.

[0049] Figure 3 A schematic diagram of a computer-implemented method 300 for detecting a liquid volume in a pool according to some embodiments of the present application is shown.

[0050] like Figure 3 As shown, in step S310, the liquid level data of the liquid in the pool to be detected is obtained by the liquid level sensor. Then, the process enters step S320, where the preset parameters and calculation model corresponding to the liquid level data are obtained, and the preset parameters and calculation model are related to the pool to be detected. It should be noted that Figure 3 The operations performed in steps S310-S320 are similar to those in Figure 2 S210-S220 shown in FIG. 1 are the same, so the same contents are not repeated here.

[0051] Finally, the process enters step S330. In this step, in response to the fact that the pool body to be detected is a pool body of the first shape, the volume of the liquid in the pool body of the first shape is determined according to the liquid level data, the preset parameters corresponding to the liquid level data, and the first calculation model. As mentioned above, different calculation models can be used for pool bodies to be detected of different shapes. In other words, when there are multiple pool bodies to be detected, a suitable calculation model can be selected according to the shape of the pool body to be detected to determine the volume of the liquid in the pool body to be detected. In one embodiment, the preset parameters may also include shape data related to the shape of the pool body to be detected, which is used to indicate the shape of the pool body to be detected; when the shape data in the preset parameters indicates that the pool body to be detected is a pool body of the first shape, the volume of the liquid in the pool body of the first shape is determined according to the liquid level data of the pool body, the preset parameters corresponding to the liquid level data, and the first calculation model.

[0052] In one implementation scenario, the first-shaped pool body may be, for example, a chamfered frustum pool body with a regular cross-section, the first calculation model may be, for example, a formula suitable for determining the volume of liquid in the first-shaped pool body, and the preset parameters may be determined, for example, according to the needs of the first calculation model. Specifically, the preset parameters may include the bottom side length, the pool wall slope ratio, and the pool bottom area of ​​the pool body to be detected; determining the volume of liquid in the first-shaped pool body according to the liquid level data, the preset parameters corresponding to the liquid level data, and the first calculation model may include: determining the upper surface area of ​​the liquid according to the liquid level data, the bottom side length, the pool wall slope ratio, and the pool bottom area; and determining the volume of liquid in the first-shaped pool body according to the upper surface area, the pool bottom area, the first calculation model, and the liquid level data. Among them, the pool wall slope ratio is the ratio of the vertical height of the pool wall to the horizontal distance, which is used to indicate the steepness of the pool wall.

[0053] Figure 4 A schematic diagram of a first-shaped pool body 400 according to some embodiments of the present application is shown.

[0054] like Figure 4 As shown, the bottom area of ​​the first shape pool body 400 is S 1 , the length of the pool bottom is a 1 , the upper surface area of ​​the liquid in the pool is S 2 , the vertical depth of the liquid in the pool indicated by the liquid level data is H 1 , and the length of the pool bottom side a 1 The length of the upper surface of the liquid in the corresponding pool is b 1 It can be understood that when the pool wall slope ratio is 1:x, the vertical depth H of the liquid in the pool body indicated by the pool wall slope ratio and the liquid level data can be 1 and the length of the pool bottom a 1 Determine the length of the pool bottom side a 1 The length of the upper surface of the liquid in the corresponding pool is b 1 Furthermore, the upper surface area S of the liquid in the pool is determined based on the fact that the ratio of the areas of the geometric figures is equal to the square of the ratio of the side lengths. 2 Specifically, the upper surface area S of the liquid 2 It can be determined according to the formula (1) shown below:

[0055]

[0056] Where x is the inverse of the pool wall slope ratio, H 1 is the vertical depth of the liquid in the pool indicated by the liquid level data, a 1 is the length of the pool bottom, S 1 is the pool bottom area, S 2is the upper surface area of ​​the liquid in the pool. As mentioned above, the preset parameters may include the length of the pool bottom, the slope ratio of the pool wall, and the pool bottom area of ​​the pool to be tested. In other words, the inverse of the pool wall slope ratio x, the vertical depth H of the liquid in the pool indicated by the liquid level data 1 , the length of the pool bottom is a 1 , pool bottom area S 1 These are all known pre-stored design parameters related to the pool body.

[0057] As mentioned above, the volume of the liquid in the first-shaped pool body can be determined based on the upper surface area, the pool bottom area, the first calculation model and the liquid level data. Specifically, the first calculation model can be, for example, the following formula (2):

[0058]

[0059] Among them, V 1 is the volume of the liquid in the first shape pool, H 1 S is the vertical depth of the liquid in the tank indicated by the liquid level data. 1 is the bottom area of ​​the first-shaped pool body 400, S 2 is the upper surface area of ​​the liquid in the pool.

[0060] In another embodiment, the pool body to be inspected also includes a second shape pool body, and the calculation model also includes a second calculation model, wherein determining the volume of the liquid according to the liquid level data, preset parameters corresponding to the liquid level data and the calculation model also includes: in response to the pool body being a second shape pool body, determining the volume of the liquid in the second shape pool body according to the liquid level data, preset parameters corresponding to the liquid level data and the second calculation model.

[0061] Figure 5 A schematic diagram of a computer-implemented method 500 for detecting the volume of liquid in a pool according to some embodiments of the present application is shown.

[0062] like Figure 5 As shown, in step S510, the liquid level data of the liquid in the pool to be detected is obtained by the liquid level sensor. Then, the process enters step S520, where the preset parameters and calculation model corresponding to the liquid level data are obtained, and the preset parameters and calculation model are related to the pool to be detected. It should be noted that Figure 5 The operations performed in steps S510-S520 are similar to those in Figure 2 S210-S220 shown in FIG. 1 are the same, so the same contents are not repeated here.

[0063] Finally, the process enters step S530, at which, in response to the pool body to be detected being a pool body of the second shape, the volume of the liquid in the pool body of the second shape is determined according to the liquid level data, the preset parameters corresponding to the liquid level data, and the second calculation model. As described above, the preset parameters may also include shape data for indicating the shape of the pool body to be detected. When the pool body to be detected indicated by the shape data in the preset parameters is a pool body of the second shape, the volume of the liquid in the pool body of the second shape is determined according to the liquid level data of the pool body, the preset parameters corresponding to the liquid level data, and the second calculation model.

[0064] In one implementation scenario, the second-shaped pool body may be, for example, a chamfered frustum pool body with an irregular cross-section, and the second calculation model may be, for example, a formula suitable for determining the volume of liquid in the second-shaped pool body, and the preset parameters may be determined, for example, according to the needs of the second calculation model. Specifically, the preset parameters may include the bottom side length, the pool wall slope ratio, and the pool bottom area of ​​the pool body to be detected; determining the volume of liquid in the second-shaped pool body according to the liquid level data, the preset parameters corresponding to the liquid level data, and the second calculation model may include: determining the upper surface area and the middle cross-sectional area of ​​the liquid according to the liquid level data, the bottom side length, the pool wall slope ratio, and the pool bottom area; and determining the volume of liquid in the second-shaped pool body according to the upper surface area, the middle cross-sectional area, the pool bottom area, the second calculation model, and the liquid level data.

[0065] Figure 6 A schematic diagram of a second-shaped pool body 600 according to some embodiments of the present application is shown.

[0066] like Figure 6 As shown, the bottom area of ​​the second shape pool body 600 is S 3 , the length of the pool bottom is a 2 , the upper surface area of ​​the liquid in the pool is S 5 , the median cross-sectional area of ​​the liquid is S 4 , the vertical depth of the liquid in the pool indicated by the liquid level data is H 2 , and the length of the pool bottom side a 2 The lengths of the upper surface and the middle section of the corresponding pool are c 1 and b 2 It can be understood that when the pool wall slope ratio is 1:x, the vertical depth H of the liquid in the pool body indicated by the pool wall slope ratio and the liquid level data can be 2 and the length of the pool bottom a 2 Determine the length of the pool bottom side a 2 The length of the upper surface of the liquid in the corresponding pool is c 1 and the side length b of the midsection 2 Similarly, the upper surface area S of the liquid in the pool is determined based on the fact that the ratio of the areas of geometric figures is equal to the square of the ratio of the side lengths. 5 and the median cross-sectional area S 4Specifically, the upper surface area S of the liquid 5 and the median cross-sectional area S 4 The calculation method of can refer to the formula (1) shown above, and the same content will not be repeated here.

[0067] Furthermore, the volume of the liquid in the second-shaped pool body can be determined based on the upper surface area, the middle cross-sectional area, the pool bottom area, the second calculation model and the liquid level data. Specifically, the second calculation model can be, for example, the following formula (3):

[0068]

[0069] Among them, V 2 is the volume of the liquid in the second shape pool, H 2 S is the vertical depth of the liquid in the tank indicated by the liquid level data. 3 is the bottom area of ​​the second-shaped pool body 600, S 5 is the upper surface area of ​​the liquid in the pool, S 4 is the median cross-sectional area of ​​the liquid in the pool.

[0070] Considering that there is sludge at the bottom of the pool to be detected, there will be a large error when determining the volume of the liquid in the pool to be detected based on the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model. In view of this, the preset parameters can be corrected according to the sludge depth of the sludge at the bottom of the pool to be detected to overcome the above problem. Specifically, in one embodiment, the preset parameters also include sludge depth, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model includes: correcting the preset parameters according to the sludge depth of the sludge at the bottom of the pool to be detected; and determining the volume of the liquid according to the corrected preset parameters, the calculation model, and the liquid level data.

[0071] It is understandable that when the volume of the pool to be detected is determined, the volume of the liquid in the pool to be detected can be used to determine the change trend of the pool volume of the pool to be detected, or the pool volume ratio. Specifically, in one embodiment, the preset parameters also include the volume of the pool to be detected, and the method for detecting the volume of the liquid in the pool also includes: generating the pool volume ratio and / or pool volume change trend of the pool to be detected based on the volume of the pool to be detected and the volume of the liquid.

[0072] In some possible implementations, various aspects of the present application may also be implemented as an electronic device 700 . Figure 7 A schematic block diagram of an electronic device 700 according to some embodiments of the present application is shown.

[0073] like Figure 7As shown, the electronic device 700 includes a processor 710 and a memory 720. In one embodiment, the memory 720 stores program instructions for detecting the volume of liquid in the pool body. When the program instructions are executed by the processor, the above-mentioned combination is realized. Figure 1-Figure 6 The method and steps of its various embodiments are described.

[0074] In some other possible implementations, various aspects of the present application can also be implemented as a computer-readable storage medium, on which program instructions for detecting the volume of liquid in the pool are stored. When the program instructions are executed by one or more processors, the above combined Figure 1-Figure 6 The described method and steps of multiple embodiments thereof. The computer readable storage medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0075] Although multiple embodiments of the present application have been shown and described herein, it is obvious to those skilled in the art that such embodiments are provided only by way of example. Those skilled in the art can think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein can be adopted. The attached claims are intended to limit the scope of protection of the present application, and therefore cover equivalents or alternatives within the scope of these claims.

Claims

1. A computer-implemented method for detecting the volume of liquid in a pool, characterized in that: include: The liquid level data of the liquid in the pool to be detected is obtained through the liquid level sensor; Acquiring preset parameters and a calculation model corresponding to the liquid level data, wherein the preset parameters and the calculation model are related to the pool to be detected; and The volume of the liquid is determined according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model.

2. The method according to claim 1, characterized in that The pool body to be detected includes a pool body of a first shape, and the calculation model includes a first calculation model, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model includes: In response to the pool body to be detected being a pool body of a first shape, the volume of the liquid in the pool body of the first shape is determined according to the liquid level data, preset parameters corresponding to the liquid level data, and the first calculation model.

3. The method according to claim 2, characterized in that The preset parameters include the bottom side length, the wall slope ratio, and the bottom area of ​​the pool body to be detected, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the first calculation model includes: Determining the upper surface area of ​​the liquid according to the liquid level data, the side length of the pool bottom, the pool wall slope ratio and the pool bottom area; and The volume of the liquid is determined based on the upper surface area, the pool bottom area, the first calculation model and the liquid level data.

4. The method according to claim 1, characterized in that: The pool body further includes a pool body of a second shape, and the calculation model further includes a second calculation model, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the calculation model further includes: In response to the pool body being the second-shaped pool body, the volume of the liquid in the second-shaped pool body is determined according to the liquid level data, preset parameters corresponding to the liquid level data, and the second calculation model.

5. The method according to claim 4, characterized in that The preset parameters include the bottom side length, the wall slope ratio, and the bottom area of ​​the pool body, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data, and the second calculation model includes: Determine the upper surface area and the mid-section area of ​​the liquid according to the liquid level data, the side length of the pool bottom, the pool wall slope ratio and the pool bottom area; and The volume of the liquid is determined based on the upper surface area, the mid-section area, the pool bottom area, the second calculation model and the liquid level data.

6. The method according to claim 1, characterized in that The preset parameters also include silt depth, wherein determining the volume of the liquid according to the liquid level data, the preset parameters corresponding to the liquid level data and the calculation model comprises: Correcting the preset parameters according to the sludge depth of the sludge at the bottom of the pool to be detected; and The volume of the liquid is determined according to the corrected preset parameters, the calculation model and the liquid level data.

7. An electronic device, characterized in that: include: processor; A memory having program instructions for detecting the volume of liquid in a pool body stored thereon, wherein when the program instructions are executed by a processor, the method according to any one of claims 1-6 is implemented.

8. A computer-readable storage medium having stored thereon program instructions for detecting the volume of liquid in a pool body, wherein when the program instructions are executed by one or more processors, the method according to any one of claims 1 to 6 is implemented.

9. A system for detecting the volume of liquid in a pool, characterized in that: include: A liquid level sensor is arranged in the tank to be detected to obtain liquid level data of the liquid; as well as A PLC industrial computer is communicatively connected with the liquid level sensor to execute the method according to any one of claims 1-6.

10. The detection system according to claim 9, characterized in that: Also includes: The mobile terminal is connected to the PLC industrial computer for real-time monitoring of the change trend of the liquid volume through a graphical interface.