A dynamic liquid level monitoring method and device based on optical ranging technology
By using optical ranging technology and intelligent algorithms on liquid storage tanks, combined with Newton's second law and motion environment data, the problem of liquid level measurement being affected by vehicle operation is solved, and the high accuracy and reliability of dynamic liquid level measurement is achieved.
Patent Information
- Application Number
- CN202411588365.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The liquid level of the liquid storage tank is affected by the vehicle operating conditions and road conditions, resulting in low accuracy and reliability of liquid level measurement.
Using a dynamic liquid level monitoring method based on optical distance measurement technology, optical distance measurement instruments are arranged on the liquid storage tank, combined with Newton's second law and intelligent algorithm, the liquid level elevation is calculated in real time, and the correction parameters are dynamically adjusted according to the motion environment data.
The liquid level measurement accuracy and reliability in dynamic situations are achieved, ensuring accurate judgment of the capacity of the liquid storage tank, and reducing the adverse effects of liquid level transportation.
Smart Images

Figure CN119085793B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of liquid level monitoring, and in particular to a dynamic liquid level monitoring method and device based on optical distance measurement technology. Background Art
[0002] Liquid level measurement is crucial in industries such as petroleum, chemical industry, and environmental protection. The traditional liquid level measurement method mainly uses sensor equipment to detect the liquid level height in the storage tank, but this method does not consider the impact of vehicle operating conditions and road conditions on the actual detection value of the sensor equipment, and does not correct the liquid level error caused by different degrees of longitudinal and lateral swaying of the storage tank, resulting in low accuracy of the calculation results, affecting the accurate judgment of the storage tank capacity, and bringing adverse effects on liquid level transportation. Summary of the invention
[0003] In view of this, the present invention provides a dynamic liquid level monitoring method and device based on optical ranging technology to solve the problem that the liquid level of a liquid storage tank will sway to varying degrees due to the vehicle operating conditions and road conditions, thereby affecting the measurement accuracy and reliability of the liquid level of the liquid storage tank.
[0004] In a first aspect, the present invention provides a dynamic liquid level monitoring method based on optical ranging technology, wherein two optical ranging instruments are symmetrically arranged along the diameter of a liquid storage tank, the distance between the two optical ranging instruments is the radius of the storage tank, and the distance between each optical ranging instrument and the storage tank wall is half the radius of the storage tank, the method comprising:
[0005] Acquiring optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface;
[0006] According to Newton's second law, the real-time liquid level elevation is calculated by combining the real-time optical distance measurement data, the motion environment data and the correction parameters, and the correction parameters are dynamically adjusted according to the optical distance measurement history data and the motion environment history data.
[0007] The present invention provides a dynamic liquid level monitoring method based on optical ranging technology, which calculates the liquid level in real time through an intelligent algorithm and compensates for the liquid level in combination with motion environment monitoring, thereby ensuring accurate measurement in dynamic conditions.
[0008] In an optional implementation, the real-time liquid level elevation is calculated based on Newton's second law in combination with real-time optical ranging data, motion environment data and correction parameters, including:
[0009] According to Newton's second law, the tangent function of the angle is obtained by combining the force on the liquid surface, the mass of the liquid and the acceleration. The angle is the angle formed by the real liquid surface and the static liquid surface.
[0010] Calculating the height difference between the real liquid level and the static liquid level according to the tangent function, the radius of the storage tank and the correction parameter;
[0011] The real-time liquid level elevation is calculated based on the liquid level elevation when the liquid surface is stationary and the height difference.
[0012] In an optional implementation, the tangent function is as follows:
[0013]
[0014] in, is the angle between the real liquid surface and the static liquid surface, is the force on the liquid surface in motion, m is the mass of liquid, a is the acceleration, g is the acceleration due to gravity.
[0015] In an optional implementation, the calculating the height difference between the real liquid surface and the static liquid surface according to the tangent function, the radius of the storage tank and the correction parameter includes:
[0016] The first height difference between the real liquid surface and the static liquid surface is calculated according to the tangent function, the radius of the storage tank and the correction parameter;
[0017] The second height difference between the real liquid surface and the static liquid surface is calculated according to the tangent function, the radius of the storage tank and the correction parameter.
[0018] In an optional implementation, the first height difference between the real liquid level and the static liquid level is calculated by the following formula:
[0019]
[0020] in, is the first height difference, To correct the parameters, is the radius of the storage tank.
[0021] In an optional implementation, the second height difference between the real liquid level and the static liquid level is calculated by the following formula:
[0022]
[0023] in, is the second height difference.
[0024] In an optional implementation, the dynamic adjustment according to the optical ranging historical data and the motion environment historical data includes:
[0025] Acquire multiple sets of historical data, each set of historical data includes optical ranging data and motion environment data;
[0026] For each set of historical data, the historical correction coefficient is calculated based on the liquid level elevation when the liquid surface is stationary, the actual liquid level elevation and the acceleration;
[0027] Add multiple sets of historical correction coefficients and calculate the average value to obtain the real-time correction parameters.
[0028] In an optional embodiment,
[0029]
[0030] in, is the historical correction factor, is the liquid level elevation when the liquid surface is stationary in the historical data, is the actual liquid level elevation in the historical data, n=1,2,3,…i,… .
[0031] In a second aspect, the present invention provides a dynamic liquid level monitoring device based on optical ranging technology, the device comprising:
[0032] An acquisition module, used for acquiring optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface;
[0033] The calculation module is used to calculate the real-time liquid level elevation according to Newton's second law, combining real-time optical ranging data, motion environment data and correction parameters, and the correction parameters are dynamically adjusted according to the optical ranging historical data and the motion environment historical data.
[0034] The present invention provides a dynamic liquid level monitoring device based on optical ranging technology, which calculates the liquid level in real time through an intelligent algorithm and compensates for the liquid level in combination with motion environment monitoring, thereby ensuring accurate measurement in dynamic conditions.
[0035] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the dynamic liquid level monitoring method based on optical ranging technology of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the dynamic liquid level monitoring method based on optical ranging technology according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 is a schematic plan view of a liquid storage tank in a static state according to an embodiment of the present invention;
[0039] Figure 2 is a schematic plan view of a liquid storage tank in a moving state according to an embodiment of the present invention;
[0040] Figure 3 is a schematic flow chart of a dynamic liquid level monitoring method based on optical ranging technology according to an embodiment of the present invention;
[0041] Figure 4 is a structural block diagram of a dynamic liquid level monitoring device based on optical ranging technology according to an embodiment of the present invention;
[0042] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0044] The present invention provides a dynamic liquid level monitoring method based on optical ranging technology, which is applicable to liquid storage tanks such as oil tanks and liquefied gas tanks. To achieve liquid level measurement, two optical ranging instruments are symmetrically arranged along the diameter of the liquid storage tank. The distance between the two optical ranging instruments is the radius of the storage tank, and the distance between each optical ranging instrument and the storage tank wall is half of the radius of the storage tank. Figure 1 The figure shows a plan view of a liquid storage tank in a static state, with an optical distance measuring instrument arranged on the top of the tank. , is the distance between the optical distance measuring device and the liquid surface in a static state, L is the distance between the two optical distance measuring instruments, i.e. the radius of the storage tank. Figure 2 The figure shows a plan view of a liquid storage tank in motion. , It is the distance between the optical distance measuring device and the liquid surface in motion.
[0045] Although the optical distance measuring device can measure the distance between the optical distance measuring device in motion and the liquid surface, due to the certain distance between the optical distance measuring instrument and the storage tank wall, when the liquid in the storage tank fluctuates, the true liquid level elevation cannot be obtained. To solve the above problem, an embodiment of the present invention provides a dynamic liquid level monitoring method based on optical distance measuring technology.
[0046] According to an embodiment of the present invention, an embodiment of a dynamic liquid level monitoring method based on optical ranging technology is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0047] In this embodiment, a dynamic liquid level monitoring method based on optical ranging technology is provided. Figure 3 is a flow chart of a dynamic liquid level monitoring method based on optical ranging technology according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0048] Step S1, acquiring optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface.
[0049] Specifically, high-precision optical ranging technology is used to measure the distance to the liquid surface in real time using laser or infrared sensors to obtain liquid level data. Based on optical ranging technology, sub-millimeter measurement accuracy can be achieved, which is suitable for various types of liquid storage facilities.
[0050] The optical distance measurement data includes: the distance between the two optical distance measurement devices and the liquid surface , , , The motion environment data includes: the distance between the two optical distance measuring instruments L , the distance between each optical distance measuring instrument and the tank wall , acceleration a , liquid quality m In addition, the acquired optical distance measurement data includes optical distance measurement real-time data and optical distance measurement historical data. The acquired motion environment data includes motion environment real-time data and motion environment historical data.
[0051] Step S2, according to Newton's second law, combined with real-time optical distance measurement data, motion environment data and correction parameters, calculate the real-time liquid level elevation, and the correction parameters are dynamically adjusted according to the optical distance measurement historical data and the motion environment historical data.
[0052] Specifically, according to Newton's second law, combined with parameters such as liquid acceleration and the distance between two optical ranging instruments, the correction parameters are continuously adjusted to quickly predict the dynamic changes of the liquid, thereby calculating the true liquid level elevation. Since the liquid surface is wavy, the acceleration and the angle often do not correspond, so correction parameters need to be added for correction. Among them, the initial value of the correction parameter is 1, and it is subsequently dynamically adjusted according to the historical data of optical ranging and the historical data of the motion environment.
[0053] The present invention provides a dynamic liquid level monitoring method based on optical ranging technology, including: obtaining optical ranging data and motion environment data, the optical ranging data including the distance between two optical ranging devices and the liquid surface; according to Newton's second law, combining real-time optical ranging data, motion environment data and correction parameters, calculating the real-time liquid level elevation, and the correction parameters are dynamically adjusted according to the optical ranging historical data and the motion environment historical data. The liquid level is calculated in real time by an intelligent algorithm, and the liquid level is compensated in combination with motion environment monitoring to ensure accurate measurement in dynamic conditions. The shortcomings of traditional methods are solved, and it has broad application prospects and market value.
[0054] In an optional implementation, step S2 includes:
[0055] Step S21, according to Newton's second law, combined with the force on the liquid surface, the mass of the liquid and the acceleration, the tangent function of the angle is obtained, and the angle is the angle formed by the real liquid surface and the static liquid surface.
[0056] Specifically, Figure 2 As shown, It is the force on the liquid surface in motion, perpendicular to the liquid surface.
[0057] (1)
[0058] (2)
[0059] From equation (1) and equation (2), we can get:
[0060] (3)
[0061] but
[0062] (4)
[0063] in, is the angle between the real liquid surface and the static liquid surface,m is the mass of liquid, a is the acceleration, g is the acceleration due to gravity.
[0064] Step S22, calculating the height difference between the actual liquid level and the static liquid level according to the tangent function, the radius of the storage tank and the correction parameter.
[0065] Specifically, step S22 includes:
[0066] Step S221, calculating a first height difference between the actual liquid level and the static liquid level according to the tangent function, the radius of the storage tank and the correction parameter.
[0067] In the embodiment of the present invention, the first height difference between the real liquid level and the static liquid level is calculated by the following formula:
[0068] (5)
[0069] in, is the first height difference, To correct the parameters, is the radius of the storage tank.
[0070] Step S222, calculating the second height difference between the actual liquid level and the static liquid level according to the tangent function, the radius of the storage tank and the correction parameter.
[0071] In the embodiment of the present invention, Figure 1 As shown, according to Newton's second law:
[0072] (6)
[0073] in, is the force on the liquid surface in a static state.
[0074] when When it is zero,
[0075] (7)
[0076] When the vehicle accelerates Driving, the change in liquid level is ,at this time:
[0077] (8)
[0078] (9)
[0079] From equation (8) and equation (9), we can get:
[0080] (10)
[0081] (11)
[0082] From equation (4) and equation (11), we can get:
[0083] (12)
[0084] (13)
[0085] Add correction parameters , we can get:
[0086] (14)
[0087] in, is the second height difference.
[0088] Step S23, calculating the real-time liquid level elevation based on the liquid level elevation and the height difference when the liquid surface is stationary.
[0089] Specifically, the real-time liquid level elevation can be obtained according to the existing calculation formula, which will not be described in detail here.
[0090] In an optional implementation, the dynamic adjustment according to the optical ranging historical data and the motion environment historical data includes the following steps:
[0091] Step S24, obtaining multiple groups of historical data, each group of historical data includes optical ranging data and motion environment data.
[0092] Specifically, the optical distance measurement data in each set of historical data includes: the liquid level elevation when the liquid surface is stationary and the actual liquid level elevation. The motion environment data in each set of historical data includes: acceleration.
[0093] Step S25, for each set of historical data, a historical correction coefficient is calculated based on the liquid level elevation when the liquid surface is stationary, the actual liquid level elevation and the acceleration.
[0094] Specifically, from equations (8), (9) and (11), we can get:
[0095] (15)
[0096] From formula (15), we can get:
[0097] (16)
[0098] in, is the historical correction factor, is the liquid level elevation when the liquid level fluctuates in the historical data, It is the liquid level elevation when the liquid surface is stationary in the historical data.
[0099] Step S26, adding multiple groups of historical correction coefficients and calculating the average value to obtain real-time correction parameters.
[0100] Specifically, the calculation formula is as follows:
[0101] (17)
[0102] in, is the historical correction factor, is the liquid level elevation when the liquid surface is stationary in the historical data, is the liquid level elevation when the liquid level fluctuates in the historical data, n=1,2,3,…i,… .
[0103] In this embodiment, a dynamic liquid level monitoring device based on optical ranging technology is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0104] This embodiment provides a dynamic liquid level monitoring device based on optical ranging technology, such as Figure 4 As shown, including:
[0105] The acquisition module 41 is used to acquire optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface.
[0106] The calculation module 42 is used to calculate the real-time liquid level elevation according to Newton's second law, combining the real-time optical distance measurement data, the motion environment data and the correction parameters, and the correction parameters are dynamically adjusted according to the optical distance measurement historical data and the motion environment historical data.
[0107] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0108] The dynamic liquid level monitoring device based on optical ranging technology in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0109] The embodiment of the present invention also provides a computer device having the above Figure 4 The dynamic liquid level monitoring device based on optical ranging technology is shown.
[0110] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0111] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0112] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0113] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0114] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0115] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0116] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0117] This embodiment provides a dynamic liquid level monitoring device, the overall structure of which includes: a host housing and a display screen. The host housing is a rectangular housing, which contains all the main components and displays the liquid level reading of the liquid storage tank on the top. The display screen is installed in front of the host housing to display the liquid level data and status information in real time.
[0118] Furthermore, the main components include: an optical ranging unit, a motion environment monitoring unit, a microprocessor, a power supply device, and a data output interface.
[0119] The optical distance measuring unit includes: an optical distance measuring device and a reflector. The reflector is installed as required. The optical distance measuring device can use a laser sensor, which is installed on the top of the host and points to the liquid surface for distance measurement. The reflector is fixed on the liquid surface to enhance the distance measurement accuracy. High-precision optical distance measurement technology is used to measure the distance to the liquid surface in real time using a laser or infrared sensor to obtain liquid level data. Based on optical distance measurement technology, sub-millimeter measurement accuracy can be achieved, which is suitable for various types of liquid storage facilities.
[0120] The motion environment monitoring unit can use an acceleration sensor, which is connected to the bottom of the host to monitor the motion state of the facility and measure acceleration. It integrates acceleration sensors, gyroscopes and other sensors to monitor the motion state of the storage facility in real time to provide environmental parameters for liquid level measurement.
[0121] The microprocessor is installed inside the host and is responsible for data processing and intelligent algorithm calculation. It is equipped with a high-performance processor to receive data from the optical distance measurement unit and the motion environment monitoring unit. Through intelligent algorithms and motion environment monitoring, it can compensate for external interference factors in real time, ensure accurate measurement in dynamic situations, and has strong anti-interference capabilities.
[0122] The power supply is used to ensure the normal operation of the entire device.
[0123] The data output interface includes: wireless communication module and alarm indicator light. The wireless communication module can use Wi-Fi or Bluetooth, which is connected to external devices to achieve data transmission. The alarm indicator light is installed in the front of the device to display abnormal liquid level or fault information. It has data transmission and alarm functions, and can be integrated with industrial automation systems to achieve remote monitoring and management.
[0124] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A dynamic liquid level monitoring method based on optical ranging technology, characterized in that: Two optical distance measuring instruments are symmetrically arranged along the diameter of the liquid storage tank, the distance between the two optical distance measuring instruments is the radius of the storage tank, and the distance between each optical distance measuring instrument and the storage tank wall is half of the radius of the storage tank. The method comprises: Acquiring optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface; According to Newton's second law, the real-time liquid level elevation is calculated by combining the real-time optical distance measurement data, the motion environment data and the correction parameters, and the correction parameters are dynamically adjusted according to the optical distance measurement historical data and the motion environment historical data; Dynamically adjust based on historical data of optical ranging and motion environment, including: Acquire multiple sets of historical data, each set of historical data includes optical ranging data and motion environment data; For each set of historical data, the historical correction coefficient is calculated based on the liquid level elevation when the liquid surface is stationary, the actual liquid level elevation and the acceleration; Add multiple sets of historical correction coefficients and calculate the average value to obtain the real-time correction parameters; in, is the historical correction factor, is the liquid level elevation when the liquid surface is stationary in the historical data, is the actual liquid level elevation in the historical data, n=1,2,3,…i,… , a is the acceleration, g is the acceleration due to gravity, To correct the parameters, is the radius of the storage tank.
2. The dynamic liquid level monitoring method based on optical ranging technology according to claim 1 is characterized in that: The method of calculating the real-time liquid level elevation based on Newton's second law, combining real-time optical distance measurement data, motion environment data and correction parameters, includes: According to Newton's second law, the tangent function of the angle is obtained by combining the force on the liquid surface, the mass of the liquid and the acceleration. The angle is the angle formed by the real liquid surface and the static liquid surface. Calculating the height difference between the real liquid level and the static liquid level according to the tangent function, the radius of the storage tank and the correction parameter; The real-time liquid level elevation is calculated based on the liquid level elevation when the liquid surface is stationary and the height difference.
3. The dynamic liquid level monitoring method based on optical ranging technology according to claim 2 is characterized in that: The tangent function is as follows: in, is the angle between the real liquid surface and the static liquid surface, is the force on the liquid surface in motion, m is the mass of liquid.
4. The dynamic liquid level monitoring method based on optical ranging technology according to claim 2 is characterized in that: The step of calculating the height difference between the real liquid surface and the static liquid surface according to the tangent function, the radius of the storage tank and the correction parameter comprises: The first height difference between the real liquid surface and the static liquid surface is calculated according to the tangent function, the radius of the storage tank and the correction parameter; The second height difference between the real liquid surface and the static liquid surface is calculated according to the tangent function, the radius of the storage tank and the correction parameter.
5. The dynamic liquid level monitoring method based on optical ranging technology according to claim 4 is characterized in that: The first height difference between the real liquid surface and the static liquid surface is calculated by the following formula: in, is the first height difference.
6. The dynamic liquid level monitoring method based on optical ranging technology according to claim 4 is characterized in that: The second height difference between the real liquid surface and the static liquid surface is calculated by the following formula: in, is the second height difference.
7. A dynamic liquid level monitoring device based on optical ranging technology, characterized in that: Two optical distance measuring instruments are symmetrically arranged along the diameter of the liquid storage tank, the distance between the two optical distance measuring instruments is the radius of the storage tank, and the distance between each optical distance measuring instrument and the storage tank wall is half of the radius of the storage tank. The device comprises: An acquisition module, used for acquiring optical distance measurement data and motion environment data, wherein the optical distance measurement data includes the distance between two optical distance measurement devices and the liquid surface; A calculation module, for calculating the real-time liquid level elevation according to Newton's second law, combining the real-time optical distance measurement data, the motion environment data and the correction parameter, wherein the correction parameter is dynamically adjusted according to the optical distance measurement history data and the motion environment history data; Dynamically adjust based on historical data of optical ranging and motion environment, including: Acquire multiple sets of historical data, each set of historical data includes optical ranging data and motion environment data; For each set of historical data, the historical correction coefficient is calculated based on the liquid level elevation when the liquid surface is stationary, the actual liquid level elevation and the acceleration; Add multiple sets of historical correction coefficients and calculate the average value to obtain the real-time correction parameters; in, is the historical correction factor, is the liquid level elevation when the liquid surface is stationary in the historical data, is the actual liquid level elevation in the historical data, n=1,2,3,…i,… , a is the acceleration, g is the acceleration due to gravity, To correct the parameters, is the radius of the storage tank.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the dynamic liquid level monitoring method based on optical ranging technology as described in any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the dynamic liquid level monitoring method based on optical ranging technology according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for measuring liquid level in container
CN114199343A