Liquid level measurement method and system, electronic equipment, storage medium and program product
By setting up an escalator in the floating roof tank, obtaining inclination data and performing geometric calculations, the problem of floating roof tank level measurement is solved and the more reliable and accurate liquid level measurement is achieved.
Patent Information
- Application Number
- CN202510577343.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the liquid level measurement of floating roof tanks is susceptible to environmental factors such as steam, foam, sediment or extreme temperatures in the tank, resulting in inaccurate measurement results and affecting inventory statistics accuracy and safety.
By setting up an escalator in the floating roof tank, the inclination data of the escalator relative to the inner wall of the floating roof tank is obtained, and based on the geometric data of the escalator and the geometric data of the floating roof tank, the liquid level height is determined using geometric calculations to avoid direct measurement equipment from environmental interference.
It improves the reliability and accuracy of liquid level measurement, overcomes the impact of environmental factors on measurement results in traditional measurement methods, and ensures the safety of floating roof tanks and the accuracy of inventory management.
Smart Images

Figure CN120467472A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of measurement technology, and in particular to a liquid level measurement method, system, electronic device, storage medium, and program product. Background Art
[0002] Large external floating roof tanks, also known as floating roof tanks, are commonly used to store refined oil, crude oil, and other volatile liquids. Level measurement in floating roof tanks involves determining the height of the liquid surface within the tank through specific methods. Accurate level measurement helps reduce the risk of overflow and empty tank operation, and is crucial for inventory management and safety assurance.
[0003] When measuring the liquid level of floating roof tanks, radar level gauges, servo level gauges, ultrasonic sensors, or magnetostrictive sensors are typically used to directly detect the liquid level. However, these sensors have high requirements for the measurement environment. Factors such as steam, foam, sediment, or extreme temperatures within the tank can interfere with the measurement results, leading to deviations in floating roof tank liquid level data. This not only affects inventory statistics accuracy but can also pose safety risks. Summary of the Invention
[0004] The present application provides a liquid level measurement method, system, electronic device, storage medium and program product, which aim to solve the problem that the liquid level measurement of a floating roof tank is easily disturbed by the measurement environment.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a liquid level measurement method, which is applied to a detection device, the detection device being used to detect the liquid level height in a floating roof tank, wherein an escalator is provided in the floating roof tank; a first end of the escalator is rotatably connected to the internal top of the floating roof tank; a second end of the escalator is rotatably connected to a float plate in the floating roof tank; the method comprises: obtaining inclination data of the escalator relative to the inner wall of the floating roof tank; determining a first height based on the inclination data and geometric data of the escalator; the first height being used to indicate the vertical height from the float plate to the top of the floating roof tank; and determining the liquid level of the floating roof tank based on the geometric data of the floating roof tank and the first height.
[0007] The present application provides a liquid level measurement method, which can obtain the inclination data of the escalator relative to the inner wall of the floating roof tank, and determine the liquid level of the floating roof tank based on the inclination data of the escalator relative to the inner wall of the floating roof tank, the geometric data of the escalator, and the geometric data of the floating roof tank. Because the second end of the escalator is rotatably connected to the float plate in the floating roof tank, when the float plate moves up and down with the change of the liquid level in the floating roof tank, the inclination data of the escalator relative to the inner wall of the floating roof tank will also change accordingly. In this way, the first height from the float plate to the top of the floating roof tank can be determined by the inclination data of the escalator relative to the inner wall of the floating roof tank and the geometric data of the escalator, and then the liquid level of the floating roof tank can be determined based on the geometric data of the floating roof tank and the first height. This method measures the liquid level height through geometric calculation based on the structural relationship between the escalator and the floating roof tank, which can overcome the problem that the measuring equipment in the traditional measurement scheme is easily affected by environmental factors and improve the reliability of the measurement results.
[0008] In one possible implementation, the geometric data of the escalator includes the length of the escalator; determining the first height based on the inclination data and the geometric data of the escalator includes: determining the second height using a cosine formula based on the length and inclination data of the escalator; the second height is the vertical height from the first end of the escalator to the second end of the escalator; and determining the first height based on the second height.
[0009] Another possible implementation method is that a guide wheel is provided at the second end of the escalator, and the second end of the escalator is rotatably connected to the floating plate through the guide wheel; the first height is determined according to the second height, including: taking the sum of the second height, the third height and the fourth height as the first height; the third height is the radius of the guide wheel; and the fourth height is the thickness of the floating plate.
[0010] Another possible implementation method is that an escalator guide rail is provided on the floating platform; the second end of the escalator is rotatably connected to the escalator guide rail through a guide wheel; the first height is determined based on the second height, including: taking the sum of the second height, the third height, the fourth height and the fifth height as the first height; the fifth height is the thickness of the escalator guide rail.
[0011] In another possible implementation, the geometric data of the floating roof tank includes the height from the top to the bottom of the floating roof tank; based on the geometric data of the floating roof tank and the first height, the liquid level of the floating roof tank is determined, including: taking the difference between the height from the top to the bottom of the floating roof tank and the first height as the liquid level of the floating roof tank.
[0012] Another possible implementation method is that a tilt sensor is provided at the first end of the escalator, and the tilt sensor is communicatively connected to the detection equipment; obtaining the tilt data of the escalator relative to the inner wall of the floating roof tank includes: obtaining the tilt data of the escalator relative to the inner wall of the floating roof tank through the tilt sensor.
[0013] In a second aspect, the present application provides a liquid level measurement system, including a floating roof tank and a detection device; a ladder is provided in the floating roof tank; a first end of the escalator is rotatably connected to the internal top of the floating roof tank; a second end of the escalator is rotatably connected to a floating plate in the floating roof tank; a tilt sensor is also provided at the first end of the escalator; the tilt sensor is communicatively connected to the detection device; the detection device is used to obtain tilt data of the escalator relative to the inner wall of the floating roof tank through the tilt sensor; based on the tilt data and the geometric data of the escalator, a first height is determined; the first height is used to indicate the vertical height from the floating plate to the top of the floating roof tank; based on the geometric data of the floating roof tank and the first height, the liquid level of the floating roof tank is determined.
[0014] In a third aspect, the present application provides a liquid level measuring device for detecting the liquid level height in a floating roof tank, wherein a ladder is provided in the floating roof tank; a first end of the ladder is rotatably connected to the internal top of the floating roof tank; a second end of the ladder is rotatably connected to a floating plate in the floating roof tank, and the device includes: an acquisition module and a processing module; the acquisition module is used to obtain inclination data of the escalator relative to the inner wall of the floating roof tank; the processing module is used to determine a first height based on the inclination data and the geometric data of the escalator; the first height is used to indicate the vertical height from the floating plate to the top of the floating roof tank; based on the geometric data of the floating roof tank and the first height, the liquid level of the floating roof tank is determined.
[0015] In one possible implementation, the geometric data of the escalator includes the length of the escalator; the processing module is specifically used to determine the second height using the cosine formula based on the length and inclination data of the escalator; the second height is the vertical height from the first end of the escalator to the second end of the escalator; and the first height is determined based on the second height.
[0016] Another possible implementation method is that a guide wheel is provided at the second end of the escalator, and the second end of the escalator is rotatably connected to the floating plate through the guide wheel; the processing module is specifically used to take the sum of the second height, the third height and the fourth height as the first height; the third height is the radius of the guide wheel; and the fourth height is the thickness of the floating plate.
[0017] Another possible implementation method is that an escalator guide rail is provided on the floating platform; the second end of the escalator is rotatably connected to the escalator guide rail through a guide wheel; the processing module is specifically used to take the sum of the second height, the third height, the fourth height and the fifth height as the first height; the fifth height is the thickness of the escalator guide rail.
[0018] In another possible implementation, the geometric data of the floating roof tank includes a height from the top to the bottom of the floating roof tank; and the processing module is specifically configured to use a difference between the height from the top to the bottom of the floating roof tank and the first height as the liquid level of the floating roof tank.
[0019] In another possible implementation, a tilt sensor is provided at the first end of the escalator, and the tilt sensor is communicatively connected to the detection device; the acquisition module is specifically used to obtain the tilt data of the escalator relative to the inner wall of the floating roof tank through the tilt sensor.
[0020] In a fourth aspect, the present application provides an electronic device comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method of the first aspect above.
[0021] In a fifth aspect, the present application provides a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device implements the method of the first aspect above.
[0022] In a sixth aspect, the present application provides a computer program product, which includes a computer program; when the computer program runs in an electronic device, the electronic device implements the method of the first aspect above.
[0023] The beneficial effects of the second to sixth aspects mentioned above refer to the corresponding description of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of a liquid level measurement system provided in this application;
[0025] Figure 2 A structural diagram of a floating roof tank provided in this application;
[0026] Figure 3 A flow chart of a liquid level measurement method provided in this application;
[0027] Figure 4 A flow chart of another liquid level measurement method provided in this application;
[0028] Figure 5 A schematic diagram of the composition of a liquid level measuring device provided in this application;
[0029] Figure 6 This is a schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0030] The liquid level measurement method provided in this application will be described in detail below with reference to the accompanying drawings.
[0031] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0032] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "back," "inner," "outer," and the like, indicating directions or positional relationships, are based on the directions or relative positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this application and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific direction, be constructed, or operate in a specific direction. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned directionality descriptions may be flexibly set in actual application, provided that the relative positional relationships shown in the accompanying drawings are met.
[0033] In the description of this application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and order of execution. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0034] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," "connected," and "connected" should be understood broadly. For example, they may refer to fixed connections, detachable connections, or integral connections. They may be directly connected, indirectly connected through an intermediary, or internally connected between two components. Those skilled in the art will understand the specific meanings of these terms in this application based on the specific circumstances.
[0035] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0036] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0037] Large external floating roof tanks, also known as floating roof tanks, are commonly used to store refined oil, crude oil, and other volatile liquids. Level measurement in floating roof tanks involves determining the height of the liquid surface within the tank through specific methods. Accurate level measurement reduces the risk of overflow and empty tank operation, and is crucial to inventory management and safety assurance.
[0038] When measuring the liquid level of floating roof tanks, radar level gauges, servo level gauges, ultrasonic sensors, or magnetostrictive sensors are typically used to directly detect the liquid level. However, these sensors have strict requirements for the measurement environment. Factors such as steam, foam, sediment, or extreme temperatures within the tank can interfere with the measurement results, leading to deviations in floating roof tank liquid level data. This not only affects inventory statistics accuracy but can also pose safety risks.
[0039] For example, when using a radar level gauge to measure the liquid level of a floating roof tank, high-viscosity crude oil can cling to the waveguide. During daily operation, condensed oil may accumulate on the inner wall of the waveguide, causing the radar level gauge to stagnate and lead to errors in the tank level data, compromising safe operation. When using a radar sensor to measure the liquid level of a floating roof tank, a reflector is installed above the tank's float. The liquid level is monitored by illuminating the reflector with radar waves. However, in winter, snow accumulation or the angle of steam or foam inside the tank can affect radar wave reflection, resulting in inaccurate liquid level data.
[0040] In response to the above technical problems, the present application provides a liquid level measurement method, the idea of which is to obtain the inclination data of the escalator relative to the inner wall of the floating roof tank, and determine the liquid level of the floating roof tank based on the inclination data of the escalator relative to the inner wall of the floating roof tank, the geometric data of the escalator and the geometric data of the floating roof tank. Since the second end of the escalator is rotatably connected to the float plate in the floating roof tank, when the float plate moves up and down with the change of the liquid level in the floating roof tank, the inclination data of the escalator relative to the inner wall of the floating roof tank will also change accordingly. In this way, the first height from the float plate to the top of the floating roof tank can be determined by the inclination data of the escalator relative to the inner wall of the floating roof tank and the geometric data of the escalator, and then the liquid level of the floating roof tank can be determined based on the geometric data of the floating roof tank and the first height. This method measures the liquid level height through geometric calculations based on the structural relationship between the escalator and the floating roof tank, which can overcome the problem that the measuring equipment in the traditional measurement scheme is easily affected by environmental factors and improve the reliability of the measurement results.
[0041] The following is a detailed introduction to the embodiments provided in this application in conjunction with the accompanying drawings.
[0042] The liquid level measurement method provided in this application can be Figure 1 The liquid level measurement system shown in FIG. Figure 1As shown, the liquid level measurement system includes a floating roof tank 110 and a detection device 120. The floating roof tank is provided with a ladder 111; the first end of the ladder 111 is rotatably connected to the top of the floating roof tank 110; the second end of the ladder 111 is rotatably connected to a float 112 in the floating roof tank; and the first end of the ladder 111 is also provided with a tilt sensor 113; the tilt sensor 113 is in communication with the detection device 120.
[0043] It should be noted that the float plate 112 in the floating roof tank 110 is capable of floating on the liquid stored in the floating roof tank 110. When the liquid in the floating roof tank 110 increases, the float plate 112 rises accordingly, and when the liquid in the floating roof tank 110 decreases, the float plate 112 descends accordingly. Because the first end of the ladder 111 is pivotally connected to the top of the floating roof tank 110 and the second end of the ladder is pivotally connected to the float plate 112 in the floating roof tank, the inclination angle of the ladder 111 relative to the inner wall of the floating roof tank changes as the float plate 112 moves up and down.
[0044] In some embodiments, as Figure 2 As shown, a guide wheel 114 is provided at the second end of the ladder 111, and a ladder guide rail 115 is provided on the floating plate 112. The second end of the ladder 111 is rotatably connected to the ladder guide rail 115 via the guide wheel 114. When the floating plate 112 rises or falls due to changes in the liquid level, the guide wheel 114 rolls laterally along the guide rail 115, and the second end of the ladder 111 moves accordingly, thereby changing the inclination angle of the ladder 111 relative to the inner wall of the floating roof tank.
[0045] In some embodiments, the detection device 120 is used to obtain the inclination data of the escalator 111 relative to the inner wall of the floating roof tank through the inclination sensor 113; determine the first height based on the inclination data and the geometric data of the escalator 111; the first height is used to indicate the vertical height from the floating plate 112 to the top of the floating roof tank; and determine the liquid level of the floating roof tank 110 based on the geometric data of the floating roof tank 110 and the first height.
[0046] In some embodiments, the detection device 120 can process the inclination data from the inclination sensor 113 to obtain the liquid level of the floating roof tank 110 .
[0047] For example, the detection device 120 may be a remote terminal unit (RTU), a programmable logic controller (PLC), a microcontroller unit (MCU), etc. Alternatively, the detection device 120 may be integrated with a processor or processing unit with computing capabilities, such as a microcontroller unit (MCU), a system on chip (SoC), a digital signal processor (DSP), a field-programmable gate array (FPGA), etc., to measure the liquid level of the floating roof tank 110.
[0048] In some embodiments, the detection device 120 includes a human-machine interface (HMI) for displaying the liquid level of the floating roof tank 110 in real time. The HMI also provides an intuitive interactive interface for the operator, allowing the operator to input reference data of the detection device in the HMI to initialize and calibrate the detection device 120. The reference data includes the geometric data of the floating roof tank 110, the geometric data of the escalator 111, the liquid level of the floating roof tank 110 when the inclination sensor 113 is in the initial position, and the inclination data output by the green pepper sensor 113.
[0049] In some embodiments, the detection device 120 can also transmit the liquid level of the floating roof tank 110 to the station control system. For example, the detection device 120 can be integrated with a communication unit for transmitting the liquid level of the floating roof tank 110 to the station control system, enabling the station control system to centrally monitor and manage the floating roof tank.
[0050] It should be noted that the system architecture described in the embodiments of the present application is intended to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person skilled in the art will know that with the evolution of the system architecture, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0051] See also Figure 3 , is a flow chart of a liquid level measurement method provided in an embodiment of the present application. Figure 3As shown, the liquid level measurement method provided in the present application is applied to the above-mentioned detection equipment, which is used to detect the liquid level height in the floating roof tank. An escalator is provided in the floating roof tank; the first end of the escalator is rotatably connected to the internal top of the floating roof tank, and the second end of the escalator is rotatably connected to the floating plate in the floating roof tank; the method includes the following steps S201 to S203.
[0052] S201. Obtain inclination data of the escalator relative to the inner wall of the floating roof tank.
[0053] In some embodiments, a tilt sensor is provided at the first end of the escalator, and the tilt sensor is in communication with the detection device. Based on this, the detection device can obtain tilt data of the escalator relative to the inner wall of the floating roof tank through the tilt sensor.
[0054] In some embodiments, the inclination sensor is installed parallel to the step skirt of the escalator in the floating roof tank. The real-time output data of the inclination sensor is the inclination angle of the escalator step skirt relative to the horizontal plane. Therefore, it is also necessary to convert the inclination angle of the escalator step skirt relative to the horizontal plane into the inclination data of the escalator relative to the inner wall of the floating roof tank.
[0055] For example, the position of the escalator when the tilt sensor outputs 0° can be set as the reference position. Then, if the escalator's angle changes relative to the reference position, the angle difference between the escalator's tilt data relative to the inner wall of the floating roof tank and the reference tilt data of the escalator at the reference position relative to the inner wall of the floating roof tank becomes the data output by the tilt sensor. The tilt data of the escalator relative to the inner wall of the floating roof tank can then be determined using the reference tilt data of the escalator and the data output by the tilt sensor.
[0056] In some embodiments, the inclination sensor is installed on the axis of the escalator, and the real-time output data of the inclination sensor is the inclination angle of the escalator relative to the horizontal plane. Therefore, it is also necessary to convert the inclination angle of the escalator relative to the horizontal plane into the inclination data of the escalator relative to the inner wall of the floating roof tank.
[0057] For example, in the vertical plane where the escalator is located, a right triangle structure is formed between the escalator, the inner wall of the floating roof tank and the floating plate. Based on this, 90° and the inclination angle of the escalator relative to the horizontal plane can be used as the inclination data of the escalator relative to the inner wall of the floating roof tank.
[0058] It should be noted that the inclination sensor can monitor the angle changes of the escalator in real time, which has the advantage of strong real-time performance when measuring the liquid level of the floating roof tank. In the embodiments of this application, an inclination sensor with a dynamic accuracy of 0.01° can be selected to improve the accuracy of the liquid level measurement results. An explosion-proof inclination sensor can also be selected to prevent the electric sparks or thermal effects generated by the inclination sensor from igniting combustible gases in the surrounding environment, thereby improving the safety and stability of the liquid level measurement system.
[0059] S202: Determine a first height based on the inclination data and the geometric data of the escalator.
[0060] The first height is used to indicate the vertical height from the floating platform to the top of the floating roof tank.
[0061] It can be understood that since a right triangle structure is formed between the escalator, the inner wall of the floating roof tank and the floating plate in the vertical plane where the escalator is located, based on the geometric principles of trigonometric functions, the vertical height from the floating plate to the first end of the escalator can be determined by the escalator length and the inclination data of the escalator relative to the inner wall of the floating roof tank. Since the first end of the escalator is rotatably connected to the internal top of the floating roof tank, the vertical height from the floating plate to the top of the floating roof tank can be determined based on the vertical height from the floating plate to the first end of the escalator.
[0062] In some embodiments, the geometric data of the escalator includes the length of the escalator, such as Figure 4 As shown, the above step S202 can be implemented as the following steps S2021-S2022.
[0063] S2021. Determine the second height using the cosine formula based on the length and inclination data of the escalator.
[0064] The second height is the vertical height from the first end of the escalator to the second end of the escalator.
[0065] Exemplarily, the product of the cosine value of the inclination data and the length of the escalator can be used as the second height, that is, the second height satisfies the following formula.
[0066] H2=cosα×H0
[0067] Wherein, H2 represents the second height, α represents the inclination angle data, and H0 represents the length of the escalator.
[0068] S2022. Determine the first height based on the second height.
[0069] It can be understood that the first end of the escalator can be rotatably connected to the inner top of the floating roof tank via a rotating shaft, and the height of the center of the rotating shaft at the first end of the escalator is consistent with the height of the top of the floating roof tank. Based on this, the vertical height from the first end of the escalator to the second end of the escalator, that is, the second height, can be used as the vertical height from the floating plate to the top of the floating roof tank, that is, the first height.
[0070] In some embodiments, a guide wheel is provided at the second end of the escalator, which is rotatably connected to the float via the guide wheel. Because the guide wheel creates a gap between the second end of the escalator and the float, both the gap created by the guide wheel and the thickness of the float are not negligible in order to improve the accuracy and precision of liquid level measurements.
[0071] Therefore, the height from the top of the floating roof tank to the floating plate includes the vertical height from the first end of the escalator to the second end of the escalator, the height from the second end of the escalator to the upper surface of the floating plate, and the thickness of the floating plate. The height from the second end of the escalator to the upper surface of the floating plate is the height from the center of the guide wheel at the second end of the escalator to the upper surface of the floating plate, i.e., the radius of the guide wheel. Based on this, the height from the top of the floating roof tank to the floating plate can be determined based on the vertical height from the first end of the escalator to the second end of the escalator, the radius of the guide wheel, and the thickness of the floating plate.
[0072] For example, determining the first height based on the second height can be achieved by taking the sum of the second height, the third height, and the fourth height as the first height, wherein the third height is the radius of the guide wheel and the fourth height is the thickness of the floating plate.
[0073] That is, the first height satisfies the following formula.
[0074] H1=H2+H3+H4
[0075] Here, H1 represents the first height, H2 represents the second height, H3 represents the third height, and H4 represents the fourth height.
[0076] In some embodiments, a guide wheel is provided at the second end of the escalator, and an escalator guide rail is also provided on the floating plate; the second end of the escalator is rotatably connected to the escalator guide rail through the guide wheel. When the floating plate rises or falls due to changes in liquid level, the guide wheel will roll laterally along the guide rail, and the second end of the escalator will move accordingly, thereby changing the inclination angle of the escalator relative to the inner wall of the floating roof tank.
[0077] Because the guide wheel and escalator rail create a certain distance between the second end of the escalator and the floating plate, in order to improve the accuracy and precision of the liquid level measurement results, the height between the second end of the escalator and the upper surface of the floating plate caused by the guide wheel and escalator rail, as well as the thickness of the floating plate, must also be considered when determining the second height. Therefore, the height from the top of the floating roof tank to the floating plate includes the vertical height from the first end of the escalator to the second end of the escalator, the height from the second end of the escalator to the upper surface of the floating plate, and the thickness of the floating plate. The height from the second end of the escalator to the upper surface of the floating plate is the sum of the radius of the guide wheel and the thickness of the escalator rail.
[0078] For example, determining the first height based on the second height can be achieved by taking the sum of the second height, the third height, the fourth height, and the fifth height as the first height, wherein the third height is the radius of the guide wheel, the fourth height is the thickness of the floating platform, and the fifth height is the thickness of the escalator guide rail.
[0079] That is, the first height satisfies the following formula.
[0080] H1=H2+H3+H4+H5
[0081] Here, H1 represents a first height, H2 represents a second height, H3 represents a third height, H4 represents a fourth height, and H5 represents a fifth height.
[0082] It's important to note that when the volume of liquid within a floating roof tank changes, the floating roof moves vertically as the liquid level rises and falls, causing the ladder's inclination relative to the tank's inner wall to change. During this process, the first end of the ladder rotates around the center of the shaft, while the second end rotates around the center of the guide pulley. Therefore, changes in the liquid level cause a change in the vertical height between the center of the shaft at the first end of the ladder and the center of the guide pulley at the second end. Based on this, the distance between the center of the shaft at the first end of the ladder and the center of the guide pulley at the second end of the ladder is used as the ladder's length, allowing for an accurate assessment of changes in the liquid level within the floating roof tank.
[0083] S203: Determine the liquid level of the floating roof tank based on the geometric data of the floating roof tank and the first height.
[0084] It can be understood that since the float plate floats above the liquid in the floating roof tank, the height from the top of the floating roof tank to the float plate is the height from the top of the floating roof tank to the liquid level in the floating roof tank. Therefore, the liquid level of the floating roof tank can be determined based on the first height and the height from the top to the bottom of the floating roof tank.
[0085] In some embodiments, the geometric data of the floating roof tank includes the height from the top to the bottom of the floating roof tank. The above step S203 can be implemented as: taking the difference between the height from the top to the bottom of the floating roof tank and the first height as the liquid level of the floating roof tank.
[0086] That is, the liquid level of the floating roof tank satisfies the following formula.
[0087] H=H6-H1
[0088] Wherein, H represents the liquid level of the floating roof tank, H6 represents the height from the top to the bottom of the floating roof tank, and H1 represents the first height.
[0089] It can be seen from the above steps S201-S203 that the liquid level measurement method provided by the present application can obtain the inclination data of the escalator relative to the inner wall of the floating roof tank, and determine the liquid level of the floating roof tank based on the inclination data of the escalator relative to the inner wall of the floating roof tank, the geometric data of the escalator and the geometric data of the floating roof tank. Since the second end of the escalator is rotatably connected to the float plate in the floating roof tank, when the float plate moves up and down with the change of the liquid level in the floating roof tank, the inclination data of the escalator relative to the inner wall of the floating roof tank will also change accordingly. In this way, the first height from the float plate to the top of the floating roof tank can be determined by the inclination data of the escalator relative to the inner wall of the floating roof tank and the geometric data of the escalator, and then the liquid level of the floating roof tank can be determined based on the geometric data of the floating roof tank and the first height. This method measures the liquid level height through geometric calculation based on the structural relationship between the escalator and the floating roof tank, which can overcome the problem that the measuring equipment in the traditional measurement scheme is easily affected by environmental factors and improve the reliability of the measurement results.
[0090] It can be understood that when the inclination sensor is installed parallel to the step skirt of the escalator in the floating roof tank, the inclination data of the escalator relative to the inner wall of the floating roof tank needs to be determined based on the reference inclination data of the escalator and the data output by the inclination sensor. Therefore, it is also necessary to determine the reference inclination data of the escalator, store the reference inclination position of the escalator in the detection equipment, and complete the initialization of the detection equipment.
[0091] In some embodiments, the liquid level measurement method provided herein further includes: determining a reference tilt angle data of the escalator, wherein the reference tilt angle data of the escalator is the tilt angle data of the escalator relative to the inner wall of the floating roof tank when the output of the tilt sensor is 0°.
[0092] Since it is difficult to ensure that the escalator's step skirting is parallel to the horizontal plane when installing the inclination sensor, the escalator's step skirting is approximately parallel to the horizontal plane, and a spirit level is used to assist in the installation of the inclination sensor so that the output of the inclination sensor is 0°. At this time, the inclination data of the escalator compared to the inner wall of the floating roof tank is the baseline inclination data of the escalator.
[0093] Since errors may occur when the reference inclination angle data is directly measured, the reference inclination angle data can be calculated by measuring the reference liquid level of the floating roof tank when the escalator is in the reference position.
[0094] Exemplarily, determining the reference inclination angle data of the escalator may be implemented as the following steps A1-A3.
[0095] A1. Obtain the reference liquid level of the floating roof tank.
[0096] The reference liquid level of the floating roof tank is the height of the liquid in the floating roof tank when the escalator is in the reference position.
[0097] A2. Determine the seventh height based on the reference liquid level of the floating roof tank, the geometric data of the floating roof tank, and the geometric data of the escalator.
[0098] The seventh height is a vertical height from the first end of the escalator at the reference position to the second end of the escalator.
[0099] In some embodiments, a guide wheel is provided at the second end of the escalator, and an escalator guide rail is also provided on the floating plate; the second end of the escalator is rotatably connected to the escalator guide rail via the guide wheel. Therefore, when the escalator is in the reference position, the height from the top of the floating roof tank to the floating plate includes the seventh height, the height from the second end of the escalator to the upper surface of the floating plate, and the thickness of the floating plate. Among them, the height from the second end of the escalator to the upper surface of the floating plate is the sum of the radius of the guide wheel and the thickness of the escalator guide rail. Based on this, the seventh height can be determined based on the height from the top to the bottom of the floating roof tank, the radius of the guide wheel, the thickness of the escalator guide rail, the thickness of the floating plate, and the reference liquid level.
[0100] Exemplarily, the seventh height satisfies the following formula.
[0101] H7=H6-H3-H4-H5-H ′
[0102] Among them, H7 represents the seventh height, H6 represents the height from the top to the bottom of the floating roof tank, H3 represents the radius of the guide wheel, H4 represents the thickness of the floating plate, H5 represents the thickness of the escalator guide rail, H ′ Indicates the reference liquid level.
[0103] A3. Determine the reference inclination angle data based on the seventh height and the escalator length.
[0104] It can be understood that since a right triangle structure is formed between the escalator, the inner wall of the floating roof tank and the floating plate in the vertical plane where the escalator is located, based on the geometric principles of trigonometric functions, the reference inclination data can be determined based on the seventh height and the escalator length.
[0105] In some embodiments, the reference tilt angle data satisfies the following formula.
[0106]
[0107] Among them, α ′ Indicates the reference inclination data, H7 indicates the seventh height, and H0 indicates the escalator length.
[0108] It should be noted that the liquid level measurement method provided in this application can measure the liquid level of a floating roof tank by installing a tilt sensor on the tank ladder and connecting the tilt sensor to a detection device. The tilt sensor installation process does not affect or damage the existing structure of the floating roof tank, thus offering the advantages of simple and convenient installation and maintenance.
[0109] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0110] In the embodiment of the present application, the functional modules of the liquid level measuring device can be divided according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.
[0111] In some embodiments, the present application further provides a liquid level measurement device, which may include one or more functional modules for implementing the liquid level measurement method of the above method embodiment.
[0112] For example, Figure 5 This is a schematic diagram of the composition of a liquid level measuring device provided in an embodiment of the present application. Figure 5 As shown, the liquid level measuring device 300 is used to detect the liquid level height in a floating roof tank. An escalator is provided in the floating roof tank. The first end of the escalator is rotatably connected to the internal top of the floating roof tank. The second end of the escalator is rotatably connected to the floating plate in the floating roof tank. The device includes: an acquisition module 301 and a processing module 302.
[0113] The acquisition module 301 is used to acquire the inclination data of the escalator relative to the inner wall of the floating roof tank.
[0114] The processing module 302 is configured to determine a first height based on the inclination data and the geometric data of the escalator; the first height is used to indicate the vertical height from the float to the top of the floating roof tank; and to determine the liquid level of the floating roof tank based on the geometric data of the floating roof tank and the first height.
[0115] In one possible implementation, the geometric data of the escalator includes the length of the escalator; the processing module 302 is specifically used to determine the second height using the cosine formula based on the length and inclination data of the escalator; the second height is the vertical height from the first end of the escalator to the second end of the escalator; and the first height is determined based on the second height.
[0116] Another possible implementation method is that a guide wheel is provided at the second end of the escalator, and the second end of the escalator is rotatably connected to the floating plate through the guide wheel; the processing module 302 is specifically used to take the sum of the second height, the third height and the fourth height as the first height; the third height is the radius of the guide wheel; and the fourth height is the thickness of the floating plate.
[0117] Another possible implementation method is that an escalator guide rail is provided on the floating platform; the second end of the escalator is rotatably connected to the escalator guide rail through a guide wheel; the processing module 302 is specifically used to take the sum of the second height, the third height, the fourth height and the fifth height as the first height; the fifth height is the thickness of the escalator guide rail.
[0118] In another possible implementation, the geometric data of the floating roof tank includes the height from the top to the bottom of the floating roof tank; the processing module 302 is specifically configured to use the difference between the height from the top to the bottom of the floating roof tank and the first height as the liquid level of the floating roof tank.
[0119] In another possible implementation, a tilt sensor is provided at the first end of the escalator, and the tilt sensor is in communication with the detection device; the acquisition module 301 is specifically configured to acquire tilt data of the escalator relative to the inner wall of the floating roof tank through the tilt sensor.
[0120] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Figure 6 As shown, the electronic device 400 includes: a processor 402 , a communication interface 403 , and a bus 404 . Optionally, the electronic device 400 may further include a memory 401 .
[0121] Processor 402 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 402 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 402 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.
[0122] The communication interface 403 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0123] The memory 401 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0124] As a possible implementation, memory 401 may exist independently of processor 402 and may be connected to processor 402 via bus 404 to store instructions or program codes. When processor 402 calls and executes the instructions or program codes stored in memory 401, the liquid level measurement method provided in the embodiment of the present invention can be implemented.
[0125] In another possible implementation, the memory 401 may also be integrated with the processor 402 .
[0126] The bus 404 may be an extended industry standard architecture (EISA) bus, etc. The bus 404 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0127] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the service calling device can be divided into different functional modules to complete all or part of the functions described above.
[0128] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiment can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be the memory of any of the above-mentioned embodiments. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned service calling device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned service calling device. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned service calling device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned service calling device. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0129] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the liquid level measurement methods provided in the above embodiments.
[0130] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A liquid level measurement method, characterized in that: The method is applied to a detection device for detecting the liquid level in a floating roof tank, wherein the floating roof tank is provided with an escalator; a first end of the escalator is rotatably connected to the top of the floating roof tank; a second end of the escalator is rotatably connected to a floating plate in the floating roof tank; and the method comprises: Acquiring inclination data of the escalator relative to the inner wall of the floating roof tank; Determining a first height based on the inclination data and the geometric data of the escalator; the first height is used to indicate the vertical height from the floating platform to the top of the floating roof tank; The liquid level of the floating roof tank is determined based on the geometric data of the floating roof tank and the first height.
2. The method according to claim 1, characterized in that The geometric data of the escalator includes the length of the escalator; and determining the first height based on the inclination data and the geometric data of the escalator includes: Based on the length of the escalator and the inclination data, a second height is determined using a cosine formula; the second height is a vertical height from the first end of the escalator to the second end of the escalator; The first height is determined based on the second height.
3. The method according to claim 2, characterized in that The second end of the escalator is provided with a guide wheel, and the second end of the escalator is rotatably connected to the floating plate through the guide wheel; and determining the first height according to the second height includes: The sum of the second height, the third height and the fourth height is taken as the first height; the third height is the radius of the guide wheel; and the fourth height is the thickness of the floating plate.
4. The method according to claim 3, characterized in that The floating platform is provided with an escalator guide rail; the second end of the escalator is rotatably connected to the escalator guide rail via the guide wheel; and the determining of the first height according to the second height includes: The sum of the second height, the third height, the fourth height and the fifth height is taken as the first height; the fifth height is the thickness of the escalator guide rail.
5. The method according to claim 1, wherein The geometric data of the floating roof tank includes a height from the top to the bottom of the floating roof tank; and determining the liquid level of the floating roof tank based on the geometric data of the floating roof tank and the first height includes: The difference between the height from the top to the bottom of the floating roof tank and the first height is used as the liquid level of the floating roof tank.
6. The method according to claim 1, wherein The first end of the escalator is provided with an inclination sensor, and the inclination sensor is communicatively connected to the detection device; and obtaining the inclination data of the escalator relative to the inner wall of the floating roof tank includes: The inclination data of the escalator relative to the inner wall of the floating roof tank is obtained through an inclination sensor.
7. A liquid level measurement system, characterized in that: The invention comprises a floating roof tank and a detection device; the floating roof tank is provided with an escalator; the first end of the escalator is rotatably connected to the internal top of the floating roof tank; the second end of the escalator is rotatably connected to the floating plate in the floating roof tank; the first end of the escalator is also provided with an inclination sensor; the inclination sensor is in communication connection with the detection device; The detection device is used to obtain the inclination data of the escalator relative to the inner wall of the floating roof tank through the inclination sensor; Determining a first height based on the inclination data and the geometric data of the escalator; the first height is used to indicate the vertical height from the floating platform to the top of the floating roof tank; The liquid level of the floating roof tank is determined based on the geometric data of the floating roof tank and the first height.
8. An electronic device, characterized in that: The device comprises a processor and a memory, wherein the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the computer device to implement the liquid level measurement method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer is enabled to execute the liquid level measurement method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product includes a computer program. When the computer program is run on an electronic device, the electronic device is enabled to perform the liquid level measurement method according to any one of claims 1 to 6.