A reflective liquid level meter calibration system and method based on the Internet of Things

Through the reflection liquid level gauge calibration system based on the Internet of Things, it automatically detects and corrects the deviation of the liquid level gauge, selects an appropriate calibration strategy, and analyzes the tilt situation, solving the problem of inaccurate measurement data and liquid level measurement data of the reflection liquid level gauge in the existing technology. It solves the problem of surface fluctuation and improves the authenticity and reliability of measurement.

CN117928694BActive Publication Date: 2024-09-20HUAIAN MEASUREMENT & TESTING CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410102266.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2024-09-20
Estimated Expiration
2044-01-24

AI Technical Summary

Technical Problem

The existing reflection type liquid level gauge calibration system is difficult to ensure the accuracy of measurement data, especially when the liquid level fluctuates and the mounting frame deforms, resulting in large measurement errors, and cannot effectively cope with the characteristics of different heights.

Method used

A reflective liquid level gauge calibration system based on the Internet of Things is adopted, including the Internet of Things platform, user terminal, calibration site programmable logic controller, calibrated liquid level gauge, lifting device, rotating clamping device, mounting frame, reflective panel, and Measure the water surface, magnetic scale and standard liquid level gauge. Through initial deviation detection, calibration strategy selection and equivalent standard height analysis, it automatically detects and corrects the initial position deviation of the liquid level gauge, selects the appropriate calibration strategy, and analyzes the tilt situation to Correction data.

Benefits of technology

It achieves accurate measurement data correction of the reflective liquid level gauge, reduces errors caused by liquid level fluctuations and mounting frame deformation, improves the authenticity and reliability of measurement, and ensures the accuracy of measurement data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117928694B
    Figure CN117928694B
Patent Text Reader

Abstract

The present invention discloses a reflective level gauge calibration system and method based on the Internet of Things. The system includes an Internet of Things platform, a user terminal, a calibration field programmable logic controller, a calibrated level gauge, a first lifting device, a second lifting device, a rotary clamping device, a mounting frame, a reflective panel, a measured water surface, a magnetic scale, and a standard level gauge; the first lifting device is used to drive the calibrated level gauge to move up and down; the second lifting device is used to drive the reflective panel to move up and down; the Internet of Things platform includes an initial deviation detection module, a calibration strategy selection module, and an equivalent standard height analysis module. The present invention improves the data accuracy of the calibrated level gauge by analyzing and correcting the angular deviation of the initial position of the calibrated level gauge, selects different calibration strategies based on the height of the level gauge, and can also detect and correct the tilt of the mounting frame, thereby improving the height reliability of the calibration system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of liquid level meter calibration, and in particular to a reflective liquid level meter calibration system and method based on the Internet of Things. Background Art

[0002] Liquid level meters are instruments used to detect the position of liquid surfaces in industrial process measurement and control systems. They are widely used in many industries such as petroleum, chemical industry, production safety, transportation, storage, etc. According to the different working principles of liquid level meters, liquid level meters can be divided into contact liquid level meters and non-contact liquid level meters. Non-contact liquid level meters include ultrasonic liquid level meters, radar liquid level meters, laser liquid level meters, etc., all of which use the reflection principle for liquid level detection, so they are called reflective liquid level meters. Reflective liquid level meters do not contact the measured liquid, and the measuring element is not easily affected by the measured medium, and will not interfere with the measured medium. They can be used in a variety of complex occasions such as high temperature, high viscosity, corrosive, and polluting.

[0003] In order to ensure the measurement accuracy of the reflective level meter, it is necessary to use a calibration device to calibrate it regularly, but the existing reflective level meter calibration system has certain defects. First of all, the existing technology usually fixes the calibrated level meter at one end of the calibration system, and sets the detected object at the other end. However, it is difficult to ensure that the installation axis of the reflective level meter is perpendicular to the detected object during installation, or a certain displacement deviation occurs after the calibrated level meter is repeatedly raised and lowered, that is, the reflective level meter has a certain angle deviation from the vertical direction, resulting in inaccurate measurement data of the calibrated level meter (and the measurement data is greater than the actual liquid level value), resulting in inaccurate error between the reading of the calibrated level meter and the standard liquid level value. In addition, in the actual use of the reflective level meter, the measured object is a water surface or other liquid, and in the existing calibration system, a stable plane is often used as the detected object, which leads to the authenticity of the calibration system is not strong, and it is impossible to understand the actual use and error of the reflective level meter. However, if the water surface is simply used as the object to be measured by the calibration system, the fluctuation and instability of the water surface will lead to large measurement errors at low altitudes. Therefore, the existing technology fails to cope with the different characteristics at different altitudes. In addition, since multiple devices are installed on the mounting frame of the calibration system, the mounting frame will be deformed after long-term use, causing the mounting frame to tilt, resulting in inaccurate standard data.

[0004] For example, the invention patent application document CN106289454A discloses a liquid level measuring ruler and a liquid level meter calibration method using the same. A liquid level measuring ruler includes a steel tape measure, a ruler hammer, a steel tape measure control device, and a human-computer interaction device, which can enable the measurement personnel and the steel tape measure control device to control the ruler lowering speed in time, while avoiding the problem of inaccurate liquid level measurement data caused by factors such as foundation settlement at the bottom of the container, container deformation, and sediment accumulation at the bottom of the container; a liquid level meter calibration method is a fixed liquid level meter calibration method based on the liquid level measuring ruler. At different liquid levels of the same container, the liquid level of the container is measured twice using a fixed liquid level meter and the liquid level measuring ruler, and the error is calculated using an error formula. This document does not require the reference height of the container to be obtained in advance, eliminates the influence of inaccurate reference height on the measurement result, achieves the goal of calibrating the error of the fixed liquid level meter, and greatly improves the measurement work efficiency. However, this document does not solve the problem of how to ensure the accuracy of the measurement data of the calibrated liquid level meter and the liquid level fluctuation.

[0005] For another example, the invention patent application document CN113566931A discloses an intelligent calibration method and system for a pre-gate reflective water level meter based on edge computing. It uses an on-site embedded computer, a high-precision water level calibration platform, a multi-factor sensor combined with thermomechanical coupling theory and machine learning methods, and adopts a regular offline establishment of a measurement error correction model and an online real-time error correction strategy to achieve intelligent calibration of the water level before the gate. The offline calibration first fixes the water level reference surface, and then controls the water level measurement device and the bracket to move up and down at a predetermined height interval on the high-precision screw rod, while measuring the water level value, meteorological parameters and transparency between the water surface and the bracket, and using samples to construct a measurement error correction model. Although the document involves the authenticity of the liquid surface environment, it only roughly proposes to use the error correction model for correction, but how to construct the model, how to set the parameters of the model, and how to process the input and output of the model are not involved in the document, and those skilled in the art cannot solve the problem of liquid level fluctuations based on the model. In addition, the document does not solve the problem of how to ensure the accuracy of the measurement data of the calibrated liquid level meter. Summary of the invention

[0006] Purpose of the invention: In view of the above problems, the present invention proposes a reflective liquid level meter calibration system and method based on the Internet of Things.

[0007] Technical solution:

[0008] In a first aspect, the present invention proposes a reflective level gauge calibration system based on the Internet of Things, comprising an Internet of Things platform, a user terminal, a calibration field programmable logic controller, a calibrated level gauge, a first lifting device, a second lifting device, a rotary clamping device, a mounting frame, a reflective panel, a measured water surface, a magnetic scale, and a standard level gauge;

[0009] The first lifting device is used to drive the calibrated liquid level meter to move up and down;

[0010] The second lifting device is used to drive the reflective panel to move up and down;

[0011] The Internet of Things platform includes an initial deviation detection module, a verification strategy selection module, and an equivalent standard height analysis module;

[0012] Preferably, the rotating clamping device is used to clamp and fix the calibrated liquid level meter, and drive the calibrated liquid level meter to rotate within a preset angle range;

[0013] The initial deviation detection module is used to analyze the direction and size of the vertical angle deviation of the initial position of the calibrated liquid level gauge and calculate the correction angle of the rotating clamping device;

[0014] The verification strategy selection module is used to select different verification strategies according to the height of the verified liquid level meter from the zero position;

[0015] The equivalent standard height analysis module is used to analyze the equivalent standard height according to the first standard data and the second standard data.

[0016] Preferably, the initial deviation detection module is used to control the second lifting device to raise the reflective panel from the measured water surface to the zero position; control the first lifting device to lift the rotary clamping device to the self-test position, the vertical height of the self-test position from the zero position is h0, and obtain the initial measurement data h1 of the calibrated liquid level meter; control the rotary clamping device to rotate counterclockwise by the first preset angle θ1, and obtain the rotation measurement data h2 of the calibrated liquid level meter; calculate the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter according to the vertical height of the self-test position from the zero position h0, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter.

[0017] Preferably, the calibration strategy selection module is used to select the first calibration strategy when it is judged that the height of the calibrated liquid level meter from the zero position is less than or equal to the second calibration height; the reflective panel is used as the measured object in the first calibration strategy; when it is judged that the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, the second calibration strategy is selected; the water surface is used as the measured object in the second calibration strategy.

[0018] Preferably, the equivalent standard height analysis module is used to determine whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold value, if so, the counter is incremented by 1; determine whether the accumulated value of the counter exceeds the counting threshold value, if not, the equivalent standard height is If so, it is determined that the calibration system is tilted, and the equivalent standard height and the tilt angle α are analyzed and calculated. When the tilt angle α exceeds the preset value, a warning message is sent to the user terminal.

[0019] In a second aspect, the present invention further provides a reflective liquid level meter calibration method based on the Internet of Things, the method comprising:

[0020] S1. Install the calibrated level gauge on the rotary clamping device of the calibration system;

[0021] Wherein, the calibrated liquid level meter is a reflective liquid level meter, and the rotating clamping device is used to clamp and fix the calibrated liquid level meter and can drive the calibrated liquid level meter to rotate within a preset angle range;

[0022] S2, automatically detect and correct the vertical angle deviation of the initial position of the calibrated liquid level meter;

[0023] It includes analyzing and calculating the direction and magnitude of the vertical angle deviation of the initial position of the calibrated liquid level meter, and analyzing the correction angle of the rotating clamping device;

[0024] S3. Select different verification strategies according to the height of the verified liquid level meter from the zero position;

[0025] S31, if the height of the calibrated liquid level meter from the zero position is less than or equal to the second calibration height, then enter S4 to execute the first calibration strategy; in the first calibration strategy, the reflective panel is used as the measured object;

[0026] S32, if the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, then enter S5 to execute the second calibration strategy; in the second calibration strategy, the water surface is used as the measured object;

[0027] S4, using the reflective panel as the object to be measured to execute the first verification strategy;

[0028] S5, using the water surface as the measured object to execute the second verification strategy;

[0029] S6. Analyze the equivalent standard height in the second verification strategy.

[0030] Preferably, the S2 includes:

[0031] S21, controlling the second lifting device to raise the reflective panel from the measured water surface to a zero position;

[0032] S22, controlling the first lifting device to lift the rotary clamping device to a self-test position, wherein the vertical height of the self-test position from the zero position is h0, and obtaining initial measurement data h1 of the calibrated liquid level meter;

[0033] S23, controlling the rotating clamping device to rotate counterclockwise by a first preset angle θ1 to obtain the rotation measurement data h2 of the calibrated liquid level meter;

[0034] S24, calculating the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter according to the vertical height h0 of the self-checking position from the zero position, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter;

[0035] S25, calculating a correction angle θ2 of the rotating clamping device according to a vertical angle deviation θ0 of the initial position of the calibrated liquid level gauge at a first preset angle θ1;

[0036] Specifically, if it is determined according to S24 that θ0 is a counterclockwise deviation, then θ2=θ0-θ1; if it is determined according to S24 that θ0 is a clockwise deviation, then θ2=θ1-θ0.

[0037] Preferably, the S4 includes:

[0038] S41, controlling the second lifting device to raise the reflective panel from the measured water surface to the zero position, and controlling the first lifting device to adjust the rotating clamping device to the first calibration height;

[0039] S42, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a second calibration height, and recording the first measurement data of the calibrated liquid level meter at each height;

[0040] S43, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches the first calibration height, and recording the second measurement data of the calibrated liquid level meter at each height;

[0041] S44, comparing the errors among the first measurement data, the second measurement data and the first standard data, so as to calibrate the liquid level meter; the first standard data is the standard data obtained according to the magnetic scale.

[0042] Preferably, the S5 includes:

[0043] S51, controlling the water inlet and outlet valves to adjust the measured water surface to zero, and controlling the first lifting device to adjust the rotating clamping device to a third testing height; the third testing height is greater than the second testing height;

[0044] S52, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a fourth calibration height, and recording the first measurement data of the calibrated liquid level meter at each height;

[0045] S53, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches a third calibration height, and recording the second measurement data of the calibrated liquid level meter at each height;

[0046] S54. Compare the errors between the first measurement data, the second measurement data and the equivalent standard height to calibrate the liquid level gauge; the equivalent standard height is calculated by the first standard data and the second standard data, the first standard data is the standard data obtained according to the magnetic scale, and the second standard data is the standard data obtained according to the standard liquid level gauge.

[0047] Preferably, the S6 includes:

[0048] S61, determining whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold, if so, adding 1 to the counter;

[0049] S62, determine whether the accumulated value of the counter exceeds the counting threshold, if not, the equivalent standard height If yes, go to S63;

[0050] S63, determine whether the calibration system is tilted and analyze the equivalent standard height;

[0051]

[0052] According to formula (3), we can get

[0053] According to

[0054]

[0055] Available

[0056] therefore,

[0057] Among them, α is the tilt angle, x and y are intermediate variables, x is the distance between the standard level gauge position and the intersection of the horizontal plane in the direction of the installation frame extension line, y is the difference between H1 and H0, H1 is the first standard data, H2 is the second standard data, L1 is the distance between the calibrated level gauge and the magnetic scale in the direction of the installation frame, and L2 is the distance between the standard level gauge and the magnetic scale in the direction of the installation frame;

[0058] S64: When the tilt angle α exceeds a preset value, a warning message is sent to the user terminal.

[0059] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the reflective liquid level meter calibration method based on the Internet of Things are implemented.

[0060] Compared with the prior art, the present invention has the following beneficial effects:

[0061] 1. At the beginning of the calibration, the present invention first automatically detects the vertical angle deviation of the initial position of the calibrated liquid level meter, analyzes and calculates the direction and size of the vertical angle deviation of the initial position of the calibrated liquid level meter, and analyzes the correction angle of the rotating clamping device. In this way, the distortion of all measured data caused by the initial position deviation of the calibrated liquid level meter can be avoided, and the clockwise deviation and counterclockwise deviation are fully considered, which is more operational. After the correction, the direction of the calibrated reflective liquid level meter is guaranteed to be vertical, and the accuracy of the measurement data is guaranteed;

[0062] 2. The present invention selects different calibration strategies according to the height of the calibrated liquid level meter from the zero position. If the height is low, a reflective panel is used as the measured object, and if the height is high, the water surface is used as the measured object. This avoids the problem of large errors caused by water surface fluctuations at low heights, and can also more realistically simulate the actual application object at high heights, thereby improving the authenticity of the calibration measurement;

[0063] 3. The present invention can also detect the roll of the calibration system and analyze the equivalent standard height in the second calibration strategy. Since the mounting frame of the calibration system is equipped with a rotating clamping device, a calibrated liquid level meter, a standard liquid level meter and other equipment, long-term use will cause the mounting frame to deform, causing the mounting frame to roll, resulting in inaccurate standard data, and the present invention can solve this problem well. The inclination can be calculated through analysis and calculation, and correction can be performed based on the data of the magnetic scale and the standard liquid level meter to calculate the equivalent standard height, thereby improving the reliability of the calibration system. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A schematic diagram of the structure of a reflective liquid level gauge calibration system based on the Internet of Things provided by an embodiment of the present invention;

[0065] Figure 2 A flow chart of a reflective liquid level meter calibration method based on the Internet of Things provided by an embodiment of the present invention;

[0066] Figure 3 A schematic diagram of the counterclockwise deviation of the vertical angle of the initial position of a calibrated liquid level gauge provided in an embodiment of the present invention;

[0067] Figure 4 A schematic diagram of the clockwise deviation of the vertical angle of the initial position of a calibrated liquid level gauge provided in an embodiment of the present invention;

[0068] Figure 5 A schematic diagram of an equivalent standard height for roll analysis of a mounting frame provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0069] Obviously, many modifications and changes made by those skilled in the art based on the purpose of the present invention belong to the protection scope of the present invention.

[0070] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when an element or component is said to be "connected" to another element or component, it may be directly connected to the other element or component, or there may be an intermediate element or component. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.

[0071] 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0072] Embodiment 1:

[0073] The embodiment of the present invention provides a reflective liquid level meter calibration system based on the Internet of Things. For details, please refer to Figure 1 , Figure 1 A schematic diagram of a reflective level gauge calibration system based on the Internet of Things provided by an embodiment of the present invention, the system comprising: an Internet of Things platform, a user terminal, a calibration field programmable logic controller, a calibrated level gauge, a first lifting device, a second lifting device, a rotary clamping device, a mounting frame, a reflective panel, a measured water surface, a magnetic scale, and a standard level gauge;

[0074] The first lifting device is used to drive the calibrated liquid level meter to move up and down;

[0075] The second lifting device is used to drive the reflective panel to move up and down;

[0076] The Internet of Things platform includes an initial deviation detection module, a verification strategy selection module, and an equivalent standard height analysis module;

[0077] Preferably, the rotating clamping device is used to clamp and fix the calibrated liquid level meter, and drive the calibrated liquid level meter to rotate within a preset angle range;

[0078] The initial deviation detection module is used to analyze the direction and size of the vertical angle deviation of the initial position of the calibrated liquid level gauge and calculate the correction angle of the rotating clamping device;

[0079] The verification strategy selection module is used to select different verification strategies according to the height of the verified liquid level meter from the zero position;

[0080] The equivalent standard height analysis module is used to analyze the equivalent standard height according to the first standard data and the second standard data.

[0081] Preferably, the initial deviation detection module is used to control the second lifting device to raise the reflective panel from the measured water surface to the zero position;

[0082] Control the first lifting device to lift the rotary clamping device to a self-test position, where the vertical height of the self-test position from the zero position is h0, and obtain the initial measurement data h1 of the calibrated liquid level meter;

[0083] Control the rotating clamping device to rotate counterclockwise by a first preset angle θ1 to obtain the rotation measurement data h2 of the calibrated liquid level meter;

[0084] Based on the vertical height h0 of the self-test position from the zero position, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter, the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter is calculated.

[0085] Preferably, the verification strategy selection module is used to select the first verification strategy when it is determined that the height of the verified liquid level meter from the zero position is less than or equal to the second verification height;

[0086] In the first verification strategy, a reflective panel is used as the object to be measured;

[0087] When it is determined that the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, the second calibration strategy is selected;

[0088] The second verification strategy uses the water surface as the object to be measured.

[0089] Preferably, the equivalent standard height analysis module is used to determine whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold, and if so, the counter is incremented by 1;

[0090] Determine whether the accumulated value of the counter exceeds the counting threshold. If not, the equivalent standard height If so, it is determined that the calibration system is tilted, and the equivalent standard height and the tilt angle α are analyzed and calculated. When the tilt angle α exceeds the preset value, a warning message is sent to the user terminal.

[0091] Preferably, the Internet of Things platform further includes a first verification strategy module and a second verification strategy module;

[0092] Preferably, the first calibration strategy module is used to control the second lifting device to raise the reflective panel from the measured water surface to the zero position, and control the first lifting device to adjust the rotary clamping device to the first calibration height; send an ascending instruction to the first lifting device at a preset time interval, and the ascending value is the first preset height displacement, until the rotary clamping device reaches the second calibration height, and record the first measurement data of the calibrated liquid level meter at each height; send a descending instruction to the first lifting device at a preset time interval, and the descending value is the first preset height displacement, until the rotary clamping device reaches the first calibration height, and record the second measurement data of the calibrated liquid level meter at each height; compare the errors between the first measurement data, the second measurement data and the first standard data, so as to calibrate the liquid level meter; the first standard data is the standard data obtained according to the magnetic scale.

[0093] Preferably, the second calibration strategy module is used to control the water inlet and outlet valves to adjust the measured water surface to zero position, and control the first lifting device to adjust the rotating clamping device to a third calibration height; the third calibration height is greater than the second calibration height; an ascending instruction is sent to the first lifting device at a preset time interval, and the ascending value is the first preset height displacement, until the rotating clamping device reaches the fourth calibration height, and the first measurement data of the calibrated liquid level meter is recorded at each height; a descending instruction is sent to the first lifting device at a preset time interval, and the descending value is the first preset height displacement, until the rotating clamping device reaches the third calibration height, and the second measurement data of the calibrated liquid level meter is recorded at each height; compare the errors between the first measurement data, the second measurement data and the equivalent standard height, thereby calibrating the liquid level meter; the equivalent standard height is calculated by the first standard data and the second standard data, the first standard data is the standard data obtained according to the magnetic scale, and the second standard data is the standard data obtained according to the standard liquid level meter.

[0094] Preferably, the calibration system further comprises a data transmission device, and the measurement data of the calibrated liquid level meter, magnetic scale and standard liquid level meter are uploaded to the Internet of Things platform via the data transmission device.

[0095] Embodiment 2:

[0096] The embodiment of the present invention also provides a reflective liquid level meter calibration method based on the Internet of Things. For details, please refer to Figure 2 , Figure 2 A flow chart of a reflective liquid level meter calibration method based on the Internet of Things provided in an embodiment of the present invention, the method comprising the steps of:

[0097] S1. Install the calibrated level gauge on the rotary clamping device of the calibration system;

[0098] Wherein, the calibrated liquid level meter is a reflective liquid level meter, and the rotating clamping device is used to clamp and fix the calibrated liquid level meter and can drive the calibrated liquid level meter to rotate within a preset angle range;

[0099] S2, automatically detect and correct the vertical angle deviation of the initial position of the calibrated liquid level meter;

[0100] It includes analyzing and calculating the direction and magnitude of the vertical angle deviation of the initial position of the calibrated liquid level meter, and analyzing the correction angle of the rotating clamping device;

[0101] S21, controlling the second lifting device to raise the reflective panel from the measured water surface to a zero position;

[0102] Among them, the panel to be tested is lowered below the surface of the water to be tested when not in use, without affecting other operations;

[0103] S22, controlling the first lifting device to lift the rotary clamping device to a self-test position, wherein the vertical height of the self-test position from the zero position is h0, and obtaining initial measurement data h1 of the calibrated liquid level meter;

[0104] S23, controlling the rotating clamping device to rotate counterclockwise by a first preset angle θ1 to obtain the rotation measurement data h2 of the calibrated liquid level meter;

[0105] S24, calculating the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter according to the vertical height h0 of the self-checking position from the zero position, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter;

[0106] Since the acquisition environment of the two measurement data, namely, the temperature, humidity and atmospheric pressure, is the same before and after the rotating clamping device rotates counterclockwise by the first preset angle θ1, and the time interval between the two measurement data is extremely short, it can be considered that the reference error data of the two measurement data are the same, which is Δ;

[0107] Specifically, the angle value and direction of the vertical angle deviation of the initial position of the calibrated liquid level gauge are unknown, and the deviation direction may be clockwise or counterclockwise;

[0108] Please refer to Figure 3 and Figure 4 , Figure 3 A schematic diagram of the counterclockwise deviation of the vertical angle of the initial position of a calibrated liquid level gauge provided in an embodiment of the present invention; Figure 4 A schematic diagram of the clockwise deviation of the vertical angle of the initial position of a calibrated liquid level gauge provided in an embodiment of the present invention;

[0109] If it is counterclockwise, then the analysis can get formula (1), if it is clockwise, then the analysis can get formula (2):

[0110]

[0111]

[0112] The formula (1) and the formula (2) are both binary equations. The binary equations are respectively solved by computer fitting to obtain the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter.

[0113] If the above binary equations are solved directly by a computer, multiple solutions may appear within the real number range. However, when the calibrated level meter is installed on the rotating clamping device of the calibration system in S1, the operator must fix the calibrated level meter as vertically as possible, that is, θ0 will not have a large angle. In fact, according to the results of repeated tests during the implementation of the present invention, it is known that θ0 is usually in the range of 0 to 3°, and the direction may be clockwise or counterclockwise; and for the reflective level meter that is calibrated regularly, the value of its reference error Δ will not be too large. Taking the embodiment of the present invention as an example, when h0=500mm, Δ will usually not exceed 1mm; therefore, those skilled in the art can calculate the reference error Δ according to the conventional technology in the field. After reasonably selecting h0 and θ1, the numerical range of θ0 and Δ can be predicted. After limiting the numerical range of θ0 and Δ, the inappropriate understanding in the solution of the real number set of the above equations can be eliminated, so as to finally solve the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter; and, if θ0 is a counterclockwise deviation, only formula (1) has a solution and formula (2) has no solution; if θ0 is a clockwise deviation, only formula (2) has a solution and formula (1) has no solution; therefore, the deviation direction of θ0 can be judged according to the solutions of formulas (1) and (2); that is, if formula (1) has a solution and formula (2) has no solution, θ0 is a counterclockwise deviation; if formula (2) has a solution and formula (1) has no solution, θ0 is a clockwise deviation;

[0114] S25, calculating a correction angle θ2 of the rotating clamping device according to a vertical angle deviation θ0 of the initial position of the calibrated liquid level gauge at a first preset angle θ1;

[0115] Specifically, if it is determined according to S24 that θ0 is a counterclockwise deviation, then θ2 = θ0 - θ1; ​​if it is determined according to S24 that θ0 is a clockwise deviation, then θ2 = θ1 - θ0;

[0116] S3. Select different verification strategies according to the height of the verified liquid level meter from the zero position;

[0117] S31, if the height of the calibrated liquid level meter from the zero position is less than or equal to the second calibration height, then enter S4 to execute the first calibration strategy; in the first calibration strategy, the reflective panel is used as the measured object;

[0118] S32, if the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, then enter S5 to execute the second calibration strategy; in the second calibration strategy, the water surface is used as the measured object;

[0119] S4, using the reflective panel as the object to be measured to execute the first verification strategy;

[0120] S41, controlling the second lifting device to raise the reflective panel from the measured water surface to the zero position, and controlling the first lifting device to adjust the rotating clamping device to the first calibration height;

[0121] S42, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a second calibration height, and recording the first measurement data of the calibrated liquid level meter at each height;

[0122] S43, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches the first calibration height, and recording the second measurement data of the calibrated liquid level meter at each height;

[0123] S44, comparing the errors of the first measurement data, the second measurement data and the first standard data, thereby calibrating the liquid level meter; the first standard data is the standard data obtained according to the magnetic scale;

[0124] S5, using the water surface as the measured object to execute the second verification strategy;

[0125] S51, controlling the water inlet and outlet valves to adjust the measured water surface to zero, and controlling the first lifting device to adjust the rotating clamping device to a third testing height; the third testing height is greater than the second testing height;

[0126] S52, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a fourth calibration height, and recording the first measurement data of the calibrated liquid level meter at each height;

[0127] S53, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches a third calibration height, and recording the second measurement data of the calibrated liquid level meter at each height;

[0128] S54, comparing the errors of the first measurement data, the second measurement data and the equivalent standard height, thereby calibrating the liquid level gauge; the equivalent standard height is calculated by the first standard data and the second standard data, the first standard data is the standard data obtained according to the magnetic scale, and the second standard data is the standard data obtained according to the standard liquid level gauge;

[0129] S6. Analyze the equivalent standard height in the second verification strategy based on the first standard data and the second standard data; please refer to Figure 5 , Figure 5 A schematic diagram of equivalent standard height for roll analysis of a mounting frame provided in an embodiment of the present invention:

[0130] S61, determining whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold, if so, adding 1 to the counter;

[0131] S62, determine whether the accumulated value of the counter exceeds the counting threshold, if not, the equivalent standard height If yes, go to S63;

[0132] S63, determine whether the calibration system is tilted and analyze the equivalent standard height;

[0133] Since the mounting frame of the calibration system is equipped with a rotating clamping device, a calibrated level gauge, a standard level gauge and other equipment, long-term use will cause the mounting frame to deform, resulting in tilting of the mounting frame, which will cause inaccurate standard data. Therefore, it is necessary to detect this phenomenon and correct the standard data to obtain the equivalent standard height; and when tilting, since it is tilted toward one side of the standard level gauge, the first standard data H1 will be significantly greater than the second standard data H2, so when the accumulated value of the counter exceeds the counting threshold, it is judged that tilting has occurred; if it does not exceed the technical threshold, it means that no tilting has occurred, and the accidental error is eliminated by taking the average value; however, when tilting occurs, the following method is used for analysis and calculation:

[0134]

[0135] According to formula (3), we can get

[0136] According to

[0137]

[0138] Available

[0139] therefore,

[0140] Among them, α is the tilt angle, x and y are intermediate variables, x is the distance between the standard level gauge position and the intersection of the horizontal plane in the direction of the installation frame extension line, y is the difference between H1 and H0, H1 is the first standard data, H2 is the second standard data, L1 is the distance between the calibrated level gauge and the magnetic scale in the direction of the installation frame, and L2 is the distance between the standard level gauge and the magnetic scale in the direction of the installation frame;

[0141] S64: When the tilt angle α exceeds a preset value, a warning message is sent to the user terminal.

[0142] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0143] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0144] Finally, it should be noted that, in this article, relationships such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

Claims

1. A reflective level gauge calibration system based on the Internet of Things, comprising an Internet of Things platform, a user terminal, a calibration site programmable logic controller, a calibrated level gauge, a first lifting device, a second lifting device, a rotary clamping device, a mounting frame, a reflective panel, a measured water surface, a magnetic scale, and a standard level gauge; the first lifting device is used to drive the calibrated level gauge to move up and down; the second lifting device is used to drive the reflective panel to move up and down; the Internet of Things platform comprises an initial deviation detection module, a calibration strategy selection module, and an equivalent standard height analysis module; it is characterized in that, The rotary clamping device is used to clamp and fix the calibrated liquid level meter, and drive the calibrated liquid level meter to rotate within a preset angle range; the initial deviation detection module is used to analyze the direction and size of the vertical angle deviation of the initial position of the calibrated liquid level meter, and calculate the correction angle of the rotary clamping device; the calibration strategy selection module is used to select different calibration strategies according to the height of the calibrated liquid level meter from the zero position; the equivalent standard height analysis module is used to analyze the equivalent standard height according to the first standard data and the second standard data; The calibration strategy selection module is used to select the first calibration strategy when it is judged that the height of the calibrated liquid level meter from the zero position is less than or equal to the second calibration height; in the first calibration strategy, the reflective panel is used as the measured object; when it is judged that the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, the second calibration strategy is selected; in the second calibration strategy, the water surface is used as the measured object.

2. The reflective liquid level meter calibration system based on the Internet of Things according to claim 1 is characterized in that: The initial deviation detection module is used to control the second lifting device to raise the reflective panel from the measured water surface to the zero position; control the first lifting device to lift the rotary clamping device to the self-test position, the vertical height of the self-test position from the zero position is h0, and obtain the initial measurement data h1 of the calibrated liquid level meter; control the rotary clamping device to rotate counterclockwise by the first preset angle θ1, and obtain the rotation measurement data h2 of the calibrated liquid level meter; calculate the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter according to the vertical height of the self-test position from the zero position h0, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter.

3. The reflective liquid level meter calibration system based on the Internet of Things according to claim 2 is characterized in that: The equivalent standard height analysis module is used to determine whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold value, if so, the counter is incremented by 1; determine whether the accumulated value of the counter exceeds the counting threshold value, if not, the equivalent standard height is If so, it is determined that the calibration system is tilted, and the equivalent standard height and the tilt angle α are analyzed and calculated. When the tilt angle α exceeds the preset value, a warning message is sent to the user terminal.

4. A reflective liquid level meter calibration method based on the Internet of Things, applied to the reflective liquid level meter calibration system based on the Internet of Things according to any one of claims 1 to 3, characterized in that: The method includes: S1. Install the calibrated level gauge on the rotary clamping device of the calibration system; Wherein, the calibrated liquid level meter is a reflective liquid level meter, and the rotating clamping device is used to clamp and fix the calibrated liquid level meter and can drive the calibrated liquid level meter to rotate within a preset angle range; S2, automatically detect and correct the vertical angle deviation of the initial position of the calibrated liquid level meter; It includes analyzing and calculating the direction and magnitude of the vertical angle deviation of the initial position of the calibrated liquid level meter, and analyzing the correction angle of the rotating clamping device; S3. Select different verification strategies according to the height of the verified liquid level meter from the zero position; S31, if the height of the calibrated liquid level meter from the zero position is less than or equal to the second calibration height, then enter S4 to execute the first calibration strategy; in the first calibration strategy, the reflective panel is used as the measured object; S32, if the height of the calibrated liquid level meter from the zero position is greater than the second calibration height, then enter S5 to execute the second calibration strategy; in the second calibration strategy, the water surface is used as the measured object; S4, using the reflective panel as the object to be measured to execute the first verification strategy; S5, using the water surface as the measured object to execute the second verification strategy; S6. Analyze the equivalent standard height in the second verification strategy.

5. The method for calibrating a reflective liquid level meter based on the Internet of Things according to claim 4 is characterized in that: The S2 includes: S21, controlling the second lifting device to raise the reflective panel from the measured water surface to a zero position; S22, controlling the first lifting device to lift the rotary clamping device to a self-test position, wherein the vertical height of the self-test position from the zero position is h0, and obtaining initial measurement data h1 of the calibrated liquid level meter; S23, controlling the rotating clamping device to rotate counterclockwise by a first preset angle θ1 to obtain the rotation measurement data h2 of the calibrated liquid level meter; S24, calculating the vertical angle deviation θ0 of the initial position of the calibrated liquid level meter according to the vertical height h0 of the self-checking position from the zero position, the initial measurement data h1 of the calibrated liquid level meter, the first preset angle θ1, the rotation measurement data h2 of the calibrated liquid level meter, and the reference error data Δ of the calibrated liquid level meter; S25, calculating a correction angle θ2 of the rotating clamping device according to a vertical angle deviation θ0 of the initial position of the calibrated liquid level gauge at a first preset angle θ1; Specifically, if it is determined according to S24 that θ0 is a counterclockwise deviation, then θ2=θ0+θ1; if it is determined according to S24 that θ0 is a clockwise deviation, then θ2=θ1-θ0.

6. The method for calibrating a reflective liquid level meter based on the Internet of Things according to claim 5, characterized in that: The S4 includes: S41, controlling the second lifting device to raise the reflective panel from the measured water surface to the zero position, and controlling the first lifting device to adjust the rotating clamping device to the first calibration height; S42, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a second calibration height, and recording the first measurement data of the calibrated liquid level meter at each height; S43, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches the first calibration height, and recording the second measurement data of the calibrated liquid level meter at each height; S44, comparing the errors among the first measurement data, the second measurement data and the first standard data, so as to calibrate the liquid level meter; the first standard data is the standard data obtained according to the magnetic scale.

7. The method for calibrating a reflective liquid level meter based on the Internet of Things according to claim 6, characterized in that: The S5 includes: S51, controlling the water inlet and outlet valves to adjust the measured water surface to zero, and controlling the first lifting device to adjust the rotating clamping device to a third testing height; the third testing height is greater than the second testing height; S52, sending a rising instruction to the first lifting device at a preset time interval, the rising value being a first preset height displacement, until the rotating clamping device reaches a fourth calibration height, and recording the first measurement data of the calibrated liquid level meter at each height; S53, sending a descending instruction to the first lifting device at a preset time interval, the descending value being a first preset height displacement, until the rotating clamping device reaches a third calibration height, and recording the second measurement data of the calibrated liquid level meter at each height; S54. Compare the errors between the first measurement data, the second measurement data and the equivalent standard height to calibrate the liquid level gauge; the equivalent standard height is calculated by the first standard data and the second standard data, the first standard data is the standard data obtained according to the magnetic scale, and the second standard data is the standard data obtained according to the standard liquid level gauge.

8. The method for calibrating a reflective liquid level meter based on the Internet of Things according to claim 7, characterized in that: The S6 includes: S61, determining whether the deviation H1-H2 between the first standard data H1 and the second standard data H2 at the same height exceeds a threshold, if so, adding 1 to the counter; S62, determine whether the accumulated value of the counter exceeds the counting threshold, if not, the equivalent standard height If yes, go to S63; S63, determine whether the calibration system is tilted and analyze the equivalent standard height; According to formula (3), we can get According to Available therefore, Among them, α is the tilt angle, x and y are intermediate variables, x is the distance between the standard level gauge position and the intersection of the horizontal plane in the direction of the installation frame extension line, y is the difference between H1 and H0, H1 is the first standard data, H2 is the second standard data, L1 is the distance between the calibrated level gauge and the magnetic scale in the direction of the installation frame, and L2 is the distance between the standard level gauge and the magnetic scale in the direction of the installation frame; S64: When the tilt angle α exceeds a preset value, a warning message is sent to the user terminal.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the reflective liquid level meter calibration method based on the Internet of Things described in any one of claims 4 to 8 are implemented.