A liquid level flow rate transmitter with attitude compensation and use method thereof
By building the analog quantity acquisition module, main control chip and attitude sensor in the liquid level transmitter, the impact of water flow on the liquid level transmitter is solved, and the problem of existing liquid level transmitters need to increase external counterweight in dynamic water flow is achieved, achieving lower cost and higher accuracy of liquid level and flow velocity measurement.
Patent Information
- Application Number
- CN202211689986.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-12-27
AI Technical Summary
When facing dynamic water flow, existing liquid level transmitters need to add external counterweight to maintain a vertical state, resulting in high cost and low cost performance. At the same time, insufficient counterweight will lead to liquid level measurement errors when the water flow is increased.
Design a level flow rate transmitter with attitude compensation, built-in analog quantity acquisition module, main control chip, power supply, calculation module and communication module. The water flow angle and acceleration are calculated through attitude sensor, gyroscope and accelerometer, correct the liquid level value, qualitative water flow velocity, and avoid increasing external counterweight.
It realizes the vertical state of the liquid level transmitter without external counterweight under dynamic water flow conditions, reducing costs, improving measurement accuracy and cost-effectiveness.
Smart Images

Figure CN116164823B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of transmitters, and in particular to a posture-compensated liquid level and flow rate transmitter and a use method thereof. Background Art
[0002] The quantity and quality of surface water and groundwater change over time and space. This dynamic change is the result of the combined effects of various natural and human factors. Through the monitoring of water resources, we can timely understand the dynamic changes in water volume and grasp its changing laws, thus providing a scientific basis for the development, utilization and protection of water resources. The quantity and quality monitoring of water resources is implemented through the dynamic monitoring network of water resources. For surface water resources, the water volume can be determined by water level observation and flow test; for groundwater resources, the changes in the flow of observation holes or springs can be monitored.
[0003] Scientific and reasonable protection of water resources requires the investment of advanced technology and equipment. Usually, open waters and dynamic waters, such as rivers, reservoirs, etc., use immersion level transmitters for level monitoring. In order to prevent the level transmitter from swinging due to dynamic water flow, it is usually necessary to add external counterweights to the immersion level transmitter to offset the force of the water flow under the action of gravity so that the transmitter can maintain a vertical direction. When the water flow rate increases, the counterweight is not enough to keep the level transmitter vertical. At this time, due to the force of the water flow, the level transmitter tilts in the direction of the water flow, and the measured liquid level is smaller than the actual liquid level, resulting in errors. If a flow meter with precision instruments is used for water flow measurement, although the flow rate can be measured more accurately, it has the disadvantages of high cost and low cost performance. Summary of the invention
[0004] The object of the present invention is to provide a posture-compensated liquid level flow rate transmitter and a method of use, so as to overcome the disadvantages of the prior art that an external counterweight needs to be added to the immersion liquid level transmitter, which results in high cost and low cost-performance ratio.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A liquid level flow rate transmitter with attitude compensation, including an analog quantity acquisition module, a main control chip, a power supply, a calculation module and a communication module built into the liquid level transmitter;
[0007] The power supply is used to supply power to other modules and chips;
[0008] The analog quantity acquisition module is used to collect the water flow level value;
[0009] The main control chip is used for data processing;
[0010] The calculation module is used to calculate the water flow angle and acceleration value;
[0011] The communication module is used for communicating and interacting with external devices.
[0012] Preferably, the analog quantity acquisition module includes a liquid level sensor and an analog-to-digital conversion chip.
[0013] Preferably, the liquid level sensor outputs an mv signal.
[0014] Preferably, the computing module comprises a posture sensor, a gyroscope and an accelerometer.
[0015] Preferably, the attitude sensor, gyroscope and accelerometer are respectively connected to the main control chip, and the angle and acceleration are transmitted to the main control chip through a digital interface.
[0016] Preferably, the gyroscope tests the angle change of the liquid level transmitter caused by the water flow impact, the accelerometer measures the gravity acceleration component of the liquid level transmitter caused by the water flow impact, the angle change is calculated by inverse trigonometric function, and the filtering algorithm is used to fuse and calculate the angle data of the gyroscope and acceleration to obtain the attitude angle.
[0017] Preferably, the communication module adopts an RS485 conversion chip.
[0018] Preferably, the accelerometer tests the acceleration value of the water flow, obtains the velocity by integrating the acceleration, and then obtains the displacement change by integrating the velocity. The liquid level transmitter is three-dimensional in the water flow and moves in multiple dimensions, with x and y forming the horizontal plane and z as the vertical direction to form a three-dimensional space. The error generated by the force of the water flow is more in the vertical direction. The axis is double-integrated in time to obtain the change in liquid level height, and then the height change is compensated to the value collected by the liquid level sensor.
[0019] A method for using a posture-compensated liquid level and flow rate transmitter, based on the above-mentioned posture-compensated liquid level and flow rate transmitter, first turns on the power supply, collects the liquid level value of the water flow through the analog quantity acquisition module, and transmits the liquid level value of the water flow to the main control chip, and at the same time, the calculation module calculates the angle and acceleration value of the water flow, and transmits them to the main control chip. The main control chip calculates the angle and acceleration value, obtains the change in the liquid level value and corrects the collected liquid level value to obtain an accurate liquid level value. The main control chip then calculates the angle and acceleration to obtain the change in the angle posture of the transmitter, qualifies the water flow velocity, and then transmits it to an external device through the communication module.
[0020] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a liquid level flow rate transmitter with attitude compensation and a method of use. By building an analog quantity acquisition module, a main control chip, a power supply, a computing module and a communication module into the liquid level transmitter, when the water flow changes and the liquid level transmitter cannot maintain a vertical state, the computing module calculates the angle change from the vertical state to the inclined state, the swing position change, and the water flow impact, thereby correcting the output of the liquid level transmitter to compensate for the impact of the water flow on the liquid level transmitter. In addition, the water flow rate can be qualitatively obtained through the computing module, and there is no need to add external counterweights to the immersion liquid level transmitter, so the cost is low and the cost performance is high.
[0021] At the same time, the present invention provides a method for using a posture-compensated liquid level flow rate transmitter, which is simple and convenient to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a topological structure diagram of a liquid level and flow rate transmitter with attitude compensation of the present invention;
[0023] Figure 2 The invention discloses a liquid level flow velocity transmitter with attitude compensation, a water flow velocity determination, and an accelerometer angle calculation principle;
[0024] Figure 3 It is a practical application diagram of the present invention. DETAILED DESCRIPTION
[0025] The present invention is further described in detail below in conjunction with specific embodiments, which are intended to explain the present invention rather than to limit it.
[0026] like Figure 1 As shown, the present invention provides a liquid level flow rate transmitter with attitude compensation, including an analog quantity acquisition module, a main control chip, a power supply, a computing module and a communication module built into the liquid level transmitter, the analog quantity acquisition module includes a liquid level sensor and an analog-to-digital conversion chip, the computing module includes an attitude sensor, a gyroscope and an accelerometer, the attitude sensor, the gyroscope and the accelerometer are respectively connected to the main control chip, and the angle and acceleration are transmitted to the main control chip through a digital interface.
[0027] A method for using a posture-compensated liquid level flow rate transmitter is provided. First, the power is turned on, the liquid level value of the water flow is collected through an analog quantity acquisition module, and the liquid level value of the water flow is transmitted to a main control chip. At the same time, the calculation module calculates the angle and acceleration value of the water flow, and transmits them to the main control chip. The main control chip calculates the angle and acceleration value, obtains the change in the liquid level value, and corrects the collected liquid level value to obtain an accurate liquid level value. The main control chip then calculates the angle and acceleration to obtain the change in the angle posture of the transmitter, qualifies the water flow velocity, and then transmits it to an external device through a communication module.
[0028] The input is that the liquid level transmitter measures the liquid level value through the liquid level sensor and outputs the MV signal. The MV signal is output to the ADC analog-to-digital conversion chip, which amplifies and converts the MV signal and transmits the liquid level value to the main control chip through the digital interface. The gyroscope and accelerometer calculate the continuous angle change and continuous acceleration change, and transmit the angle and acceleration to the main control chip through the digital interface. The main control chip calculates the angle and acceleration values to obtain the change in the attitude of the liquid level transmitter relative to the initial state, and qualitatively corresponds the attitude to the water flow size (stationary, slow, medium speed, fast), and then corrects the liquid level value of the liquid level sensor to obtain the accurate liquid level value. The main control chip realizes communication interaction with external devices through the RS485 interface chip.
[0029] Liquid level measurement:
[0030] The liquid level sensor adopts pressure mode. After the liquid level transmitter is put into water, the relationship between the immersion depth and pressure is converted into the liquid level height.
[0031] The liquid level transmitter measures the liquid level. The input is that the liquid level transmitter measures the liquid level value through the liquid level sensor and outputs the MV signal. The MV signal is output to the ADC analog-to-digital conversion chip, which amplifies and converts the MV signal and transmits the liquid level value to the main control chip through the digital interface. The gyroscope and accelerometer calculate the continuous angle change and continuous acceleration change, and transmit the angle and acceleration to the main control chip through the digital interface. The main control chip calculates the angle and acceleration values to obtain the change in the attitude of the liquid level transmitter relative to the initial state, and qualitatively corresponds the attitude to the water flow size (stationary, slow, medium speed, fast), and then corrects the liquid level value of the liquid level sensor to obtain the accurate liquid level value. The main control chip realizes communication interaction with external devices through the RS485 interface chip.
[0032] Attitude compensated level and flow rate measurement:
[0033] Attitude and level error compensation, the accelerometer can test the acceleration value of the movement, obtain the velocity by integrating the acceleration, and then obtain the displacement change by integrating the velocity. The level transmitter is three-dimensional in the water flow, with multi-dimensional movement, with x and y forming the horizontal plane and z as the vertical direction to form a three-dimensional space. The error generated by the force of the water flow is more in the vertical direction, and the focus is on calculating the attitude change of the probe z-axis. The double time integration of the axis can obtain the liquid level height change, and then the height change is compensated to the liquid level sensor acquisition value.
[0034] Qualitative analysis of water flow velocity determination: x and y form a horizontal plane, z is the vertical direction, the accelerometer can collect accelerations in the three directions of x, y, and z. If one of the x, y, and z axes is parallel to the vertical direction, the acceleration is the gravity acceleration g. Taking the z axis as an example, if the posture changes and forms an angle with the vertical direction, the gravity acceleration g and the measurable z-axis acceleration a are known at this time. The angle between the z axis and the vertical direction can be calculated through inverse trigonometric functions ( Figure 2 ), and the angle between x and y can be calculated in the same way. The gyroscope can collect the angle changes in the three directions of x, y, and z, and filter the angle calculated by the inverse trigonometric function of the acceleration to obtain the spatial attitude angle of the overall liquid level transmitter. Through the calibration system, or the relationship between water flow and angle, the water flow rate can be qualitatively output.
[0035] The errors of flow velocity and liquid level caused by water flow can be obtained through gyroscope and accelerometer respectively.
[0036] Although the embodiments of the present invention are described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments and application fields, and the above-mentioned specific embodiments are only illustrative and instructive, rather than restrictive. Under the guidance of the specification, a person skilled in the art can also make many forms without departing from the scope of protection of the claims of the present invention, all of which belong to the scope of protection of the present invention.
Claims
1. A liquid level and flow rate transmitter with attitude compensation, It is characterized in that Including the analog quantity acquisition module, main control chip, power supply, calculation module and communication module built into the liquid level transmitter; The power supply is used to supply power to other modules and chips; The analog quantity acquisition module is used to collect the water flow level value; The main control chip is used for data processing; The calculation module is used to calculate the water flow angle and acceleration value; The communication module is used to communicate and interact with external devices; The computing module includes attitude sensor, gyroscope and accelerometer; The gyroscope tests the angle change of the liquid level transmitter caused by the water flow impact. The accelerometer measures the gravity acceleration component of the liquid level transmitter in the vertical direction caused by the water flow impact, calculates the angle change through the inverse trigonometric function, and uses the filtering algorithm to fuse and calculate the angle data of the gyroscope and the acceleration to obtain the attitude angle.
2. A liquid level flow rate transmitter with attitude compensation according to claim 1, It is characterized in that The analog quantity acquisition module includes a liquid level sensor and an analog-to-digital conversion chip.
3. The liquid level and flow rate transmitter with attitude compensation according to claim 2, It is characterized in that The liquid level sensor outputs an mv signal.
4. The liquid level and flow rate transmitter with attitude compensation according to claim 1, It is characterized in that The attitude sensor, gyroscope and accelerometer are respectively connected to the main control chip, and the angle and acceleration are transmitted to the main control chip through the digital interface.
5. The liquid level and flow rate transmitter with attitude compensation according to claim 1, It is characterized in that The communication module adopts RS485 conversion chip.
6. The liquid level and flow rate transmitter with attitude compensation according to claim 1, It is characterized in that The accelerometer tests the acceleration value of the water flow, obtains the velocity by integrating the acceleration, and then obtains the displacement change by integrating the velocity. The liquid level transmitter is three-dimensional in the water flow and moves in multiple dimensions, with x and y forming the horizontal plane and z as the vertical direction to form a three-dimensional space. The error generated by the force of the water flow is more in the vertical direction. The axis is double-integrated in time to obtain the change in liquid level height, and then the height change is compensated to the value collected by the liquid level sensor.
7. A method for using a posture-compensated liquid level and flow rate transmitter, based on the posture-compensated liquid level and flow rate transmitter according to any one of claims 1 to 6, It is characterized in that First, turn on the power, collect the liquid level value of the water flow through the analog acquisition module, and transmit the liquid level value of the water flow to the main control chip. At the same time, the calculation module calculates the angle and acceleration value of the water flow, and transmits them to the main control chip. The main control chip calculates the angle and acceleration value, obtains the change in the liquid level value and corrects the collected liquid level value to obtain an accurate liquid level value. The main control chip then calculates the angle and acceleration to obtain the change in the angle posture of the transmitter, qualitatively determines the water flow velocity, and then transmits it to the external device through the communication module.
Citation Information
Patent Citations
System and method for calibrating oil quantity and liquid level of oil tank in inclined state
CN114894279A