Dew formation prevention method and system for ultrasonic liquid level meter

By deploying a heating unit and a temperature monitoring module in the ultrasonic level meter, the probe surface temperature is adjusted in real time, which solves the problem of condensation in traditional ultrasonic level meters in harsh environments and improves measurement accuracy and system stability.

CN118732744APending Publication Date: 2024-10-01HUANENG YUSHE POWER CO LTD

Patent Information

Application Number
CN202410625103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional ultrasonic liquid level meters are prone to condensation on the probe surface in harsh environments, resulting in reduced measurement accuracy or failure. Existing anti-condensation methods have limitations and are difficult to fundamentally solve the problem.

Method used

By deploying a heating unit and a temperature monitoring module, the probe surface temperature is detected in real time, and the heating power is dynamically adjusted according to the calculated dew point, so that the probe surface temperature is higher than the dew point temperature to avoid condensation.

Benefits of technology

It effectively avoids the impact of ambient temperature and humidity on liquid level measurement accuracy, breaks through the limitations of passive isolation or coating, prevents condensation from the root, and improves temperature control accuracy and anti-interference capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732744A_ABST
    Figure CN118732744A_ABST
Patent Text Reader

Abstract

The invention discloses a dew formation prevention method and system for an ultrasonic liquid level meter, and relates to the technical field of industrial automation. The method comprises the steps that a heat tracing unit is connected to the ultrasonic liquid level meter, and a temperature monitoring module is deployed; the dew point of the surface of the ultrasonic liquid level meter probe is calculated according to the detection result of the detection module; and the dew point is compared with the surface temperature of the liquid level meter detected by the detection module, and dynamic temperature control is carried out according to the heating control execution module. By arranging the heating unit and the temperature monitoring module, the surface temperature of the probe is detected in real time, the heating power is dynamically adjusted according to the dew point obtained through calculation, and the surface temperature of the probe is higher than the dew point temperature, so that dew formation is effectively avoided, and the influence of environment temperature and humidity on the liquid level measurement precision is thoroughly solved; the method has important theoretical significance and application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of industrial automation, and in particular to a method and system for preventing condensation of an ultrasonic liquid level meter. Background Art

[0002] In recent years, with the continuous improvement of industrial automation, wireless remote monitoring technology has been widely used in various industries. Among them, ultrasonic level meters have gradually become the mainstream products in the field of liquid level remote monitoring due to their advantages such as no need for direct contact with the medium, wide measurement range, and convenient installation.

[0003] Traditional ultrasonic level meters usually adopt the non-contact measurement principle, using the difference in the propagation characteristics of the speed of sound in different media to measure the time difference between the transmitted wave and the received wave, and then calculate the liquid level of the measured liquid. However, this measurement method is easily affected by the ambient temperature and humidity. Especially in harsh environments, the probe surface is prone to condensation, which reduces the measurement accuracy and even causes failure. In order to solve this problem, the industry has proposed a variety of methods to prevent condensation, such as using a protective cover to isolate the probe from the external environment and applying an anti-condensation coating on the probe surface. However, these methods all have certain limitations, such as the protective cover will increase the measurement error, the coating is prone to aging and falling off, etc., and it is difficult to fundamentally solve the condensation problem.

[0004] Therefore, how to effectively prevent condensation on the ultrasonic level meter probe and ensure the accuracy and reliability of the measurement data has become a key technical problem that needs to be solved urgently. We have invented a method for preventing condensation on ultrasonic level meters. Its innovation lies in deploying a heating unit and a temperature monitoring module to detect the probe surface temperature in real time, and dynamically adjust the heating power according to the calculated dew point, so that the probe surface temperature is higher than the dew point temperature, thereby effectively avoiding condensation and completely solving the influence of ambient temperature and humidity on the accuracy of liquid level measurement. It has important theoretical significance and application value. Summary of the invention

[0005] In view of the problems existing in the existing anti-condensation methods, the present invention is proposed.

[0006] Therefore, the problem to be solved by the present invention is that it is difficult to fundamentally solve the condensation problem.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, an embodiment of the present invention provides a method for preventing condensation of an ultrasonic level meter, which comprises:

[0009] Detecting the probe surface temperature and ambient humidity of the ultrasonic level meter, and calculating the dew point temperature of the probe surface of the ultrasonic level meter according to the temperature and humidity;

[0010] comparing the difference between the dew point temperature and the probe surface temperature, and determining a heating control parameter according to the difference and the ambient humidity;

[0011] The heating unit is controlled according to the heating control parameter to heat the ultrasonic level meter probe so that the probe surface temperature is higher than the safety threshold of the dew point temperature to prevent condensation.

[0012] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, wherein: the dew point temperature is calculated according to the relationship between the dew point temperature, the saturated water vapor pressure and the relative humidity, comprising the following steps:

[0013] Improved semi-empirical formula;

[0014] Use big data fitting to obtain the optimal empirical coefficient;

[0015] The dew point temperature is calculated according to the improved semi-empirical formula.

[0016] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, the dew point also includes judging whether to heat according to the dew point and the relative humidity, as follows:

[0017] When the temperature difference is greater than twice the safe temperature difference threshold, it means that the temperature difference is large and the level meter is in a relatively safe state. There is no need to consider humidity factors and no heating operation is required. The temperature difference is the measured ultrasonic level meter probe surface value minus the dew point value.

[0018] When the temperature difference is greater than the safe temperature difference threshold but less than twice the safe temperature difference threshold, it means that the temperature difference is moderate. Further judgment: when the temperature difference is greater than 0 and the relative humidity is greater than n, medium-power preventive heating is performed; when the relative humidity is greater than m but less than or equal to n, small equal-power heating is performed; when the relative humidity is less than m, no heating is performed; if the temperature difference is less than 0 and the absolute humidity is greater than n, maximum power heating is performed; when the absolute humidity is greater than m and less than n, high-power heating is performed; when the relative humidity efficiency is m, high-power heating is performed;

[0019] When the absolute value of the temperature difference is less than or equal to the safety threshold, it means that the temperature difference is small and the liquid level meter is in a critical state. Further judgment: if the temperature difference is greater than and the relative humidity is greater than n, high-power heating is performed; when the relative humidity is greater than m and less than or equal to n, medium-power heating is performed; when the relative humidity is less than m, low-power preventive heating is performed; if the temperature difference is less than 0 and the relative humidity is greater than m, maximum power heating is performed; when the relative humidity is less than m, high-power heating is performed.

[0020] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, the dynamic temperature control is performed by a silicon controlled rectifier (SCR) voltage regulating circuit;

[0021] The voltage regulating circuit comprises:

[0022] A DC voltage is obtained through a rectification and filtering circuit, and the DC voltage is connected to the anode of the SCR. The cathode of the SCR is connected to one end of the heating tape. The gate of the SCR is connected to the PWM output of the microcontroller to provide a trigger pulse signal. The other end of the heating tape is grounded. An interference suppression circuit is connected in parallel at both ends of the SCR, including an RC slit circuit and a protection diode.

[0023] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, wherein: the dynamic temperature control is regulated according to a control algorithm;

[0024] The control algorithm comprises the following steps:

[0025] Use fractional order instead of classical integral;

[0026] Make temperature and humidity corrections;

[0027] The original actual power is added into the control algorithm to obtain the corrected power value.

[0028] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, the corrected power value is combined with the temperature and humidity correction and the original actual power, as shown in the following formula:

[0029]

[0030] Among them, P out is the controller output, ΔP is the power deviation, K p , K i , K d are proportional, integral and differential coefficients respectively, n is the fractional-order differential integrator parameter, Γ is the Gamma function, D a is the fractional differential operator, α is the fractional differential order, Ψ is the temperature and humidity correction function, T surf is the surface temperature of the level gauge, T dew is the dew point temperature, RH is the relative humidity, P act is the original actual power.

[0031] As a preferred solution of the method for preventing condensation of the ultrasonic level meter of the present invention, wherein: the dynamic adjustment is performed according to the corrected power value,

[0032] When the surface temperature of the level gauge probe is greater than the dew point value, the power value of the heating belt is set to a smaller holding power. When the surface temperature of the level gauge probe is less than the dew point value, the actual power output of the current heating belt is measured in real time, the power deviation is calculated, and substituted into the control algorithm. The control algorithm calculates the adjusted power output.

[0033] If the adjusted power data is greater than the maximum power of the heating belt, the heating belt is driven to heat according to the maximum power, otherwise it is driven to heat according to the adjusted power.

[0034] In a second aspect, an embodiment of the present invention provides a condensation prevention system for an ultrasonic level meter, comprising:

[0035] Anti-condensation system and heating unit;

[0036] The anti-dew condensation system includes a detection module, a dew point calculation module and a heating control execution module;

[0037] The monitoring module is used to install high-precision temperature sensors at key parts of the level meter to monitor the surface temperature of the level meter and the air temperature and humidity in real time;

[0038] The dew point calculation module is used to calculate the current dew point temperature based on the measured temperature and humidity data using a formula or a table lookup method;

[0039] The heating control execution module is used to start the heating control if the surface temperature of the liquid level meter is lower than the set value of the dew point temperature, and adjust the power of the heating belt through the thyristor to maintain its temperature within a safe value range above the dew point temperature;

[0040] The heating unit performs heating according to the heating control parameters of the heating control execution module.

[0041] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, any step of the above-mentioned method for preventing condensation of an ultrasonic liquid level meter is implemented.

[0042] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned method for preventing condensation of an ultrasonic liquid level meter is implemented.

[0043] The beneficial effect of the present invention is that by deploying a heating unit and a temperature monitoring module, the probe surface temperature is detected in real time, and the heating power is dynamically adjusted according to the calculated dew point, so that the probe surface temperature is higher than the dew point temperature, thereby effectively avoiding condensation, and completely solving the influence of ambient temperature and humidity on the accuracy of liquid level measurement, which has important theoretical significance and application value. It breaks through the limitation of the existing technology that can only be passively isolated or coated, and effectively prevents condensation from occurring from the root; through accurate dew point temperature calculation, a safe temperature difference threshold is defined, making temperature control more accurate and effective; and the fractional-order PID control algorithm is adopted to improve the stability and anti-interference ability of temperature control. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0045] Figure 1 The time from the emission to the reception of the signal of the ultrasonic level meter is proportional to the liquid level in the container.

[0046] Figure 2 This is a false echo diagram of the ultrasonic level meter's method for preventing condensation.

[0047] Figure 3 This is a physical experimental diagram of the method for preventing condensation in ultrasonic level gauges. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0050] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0051] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0052] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0053] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0054] Example 1

[0055] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and provides a method for preventing condensation of an ultrasonic level meter, comprising:

[0056] S1: Connect the ultrasonic level meter to the heating unit and deploy the temperature monitoring module.

[0057] Wrap the heating tape around the ultrasonic level meter and connect it to the heating tape power cabinet, and cover the upper part with thermal insulation cotton.

[0058] Among them, the electric heating cable with aluminized heating element is selected, which has high heat generation and can provide high line power output of 180-300W / m. In order to ensure that the heat is evenly distributed along the belt body without hot spots, a parallel heating element design is adopted. The outer sheath is woven with flame-retardant silicone rubber or fluoroplastic, which is waterproof and corrosion-resistant and has a long service life. The outer diameter is less than 10mm, which is convenient for winding and reduces thermal inertia. The overall structure is compact and suitable for the installation of the level meter probe in a limited space.

[0059] The thermal insulation cotton uses nano-aerogel felt with thermal insulation aluminum foil veneer, with a thermal resistance as low as 0.033m2·K / W. The diameter of the aerogel micropores is only 2-50nm, achieving nano-level thermal insulation. For flame retardancy and hydrophobicity, the flame retardancy level reaches A1, non-combustible non-toxic smoke releases super hydrophobic surface, moisture-proof and mildew-proof. The insulation resistance is as high as

[0060] Furthermore, in order to ensure that the electric heating cable can automatically maintain the best condensation prevention conditions according to the temperature and humidity of the surrounding environment, the electric heating cable is equipped with a temperature control switch, which has manual / automatic heating control and temperature calibration functions. High-precision temperature and humidity sensors are installed on the probe surface and the electric heating cable.

[0061] The temperature and humidity sensors on the probe surface are used to detect the temperature and humidity of the ultrasonic level meter probe. When the air temperature outside the probe is higher than the probe surface temperature and the humidity of the external air is also too high, a large amount of dew will condense on the probe surface. When dew condenses on the probe surface, "false echoes" will be generated and the measurement will be affected. The specific manifestations are: 1. The liquid level rises suddenly; 2. The liquid level fluctuates frequently and significantly.

[0062] Furthermore, the analog voltage signal of the sensor interface circuit is collected by the analog-to-digital converter (ADC) and converted into a digital quantity, and transmitted to the CPU. Multiplexing is adopted, and multiple ADCs are connected to multiple temperature sensors to collect and transmit the surface temperature of the ultrasonic level meter, the current ambient temperature, the external ambient humidity, etc. to the CPU.

[0063] S2: Calculate the dew point on the surface of the ultrasonic level meter probe according to the detection result of the detection module.

[0064] According to the sensor measurement value collected by ADC, the dew point temperature of the probe surface is calculated as follows:

[0065] Based on the Magnus formula, the formula calculates the saturated water vapor pressure es at a given temperature T, but does not directly provide a calculation method for the dew point temperature Td. According to the thermodynamic principle, the present invention has the following functional relationship between the dew point temperature Td, the saturated water vapor pressure es and the relative humidity RH:

[0066] Td=f(es,RH)

[0067] Relatively speaking, the Magnus-Tetens approximation formula can calculate Td more accurately:

[0068]

[0069] Among them, A=17.62, B=243.12℃, C=0.0184℃, arctanh is the hyperbolic inverse tangent function.

[0070] In order to include the influence of relative humidity RH into the calculation and improve the scope of application, the above formula is improved to obtain:

[0071]

[0072] The (1-RH) term is introduced to expand the applicable range of the formula from RH=100% to any RH value. However, since it is found in practice that temperature T also has a certain nonlinear effect on dew point temperature, a trigonometric function term is incorporated to correct it:

[0073]

[0074] Among them, D, E, F, G, and H are empirical coefficients, ln is the natural logarithm, cos and sin are cosine and sine functions respectively.

[0075] It should be noted that the numerical fitting method is used to solve these empirical coefficients. First, a large number of data samples of actually measured temperature T, relative humidity RH and corresponding dew point temperature Td are collected, and the collected data are divided into a training set and a test set. The difference between the predicted dew point temperature value and the actual value is measured according to the mean square error (MSE):

[0076]

[0077] Where N is the total number of data samples, Td Predicted is the predicted dew point temperature, Td actual is the actual dew point temperature. Substitute the training set data into the formula and use the numerical optimization algorithm (such as gradient descent, L-BFGS, etc.) minimizezer to minimize the cost function MSE by continuously adjusting the values ​​of the empirical coefficients D, E, F, G, and H. When the cost function converges to a minimum value, the corresponding values ​​of D, E, F, G, and H are the optimal empirical coefficients.

[0078] And, when the ambient temperature T and relative humidity RH are known, es can be calculated by the following formula:

[0079]

[0080] Substituting es into the aforementioned improved Magnus-Tetens formula, the precise dew point temperature Td can be calculated. It is worth mentioning that the improved formula of this solution is applicable to the temperature range of -45°C < T < 60°C, with an error less than 0.35°C.

[0081] Furthermore, define the temperature difference value Δ and the safety temperature difference threshold δ. Define the temperature difference value Δ as the value measured on the surface of the ultrasonic level gauge probe minus the dew point value, and the safety temperature difference threshold is set artificially. Make a preliminary judgment on Δ: Δ > 2δ indicates that the temperature difference is large, the level gauge is in a relatively safe state, there is no need to consider humidity factors, and no heating operation is required.

[0082] When δ < Δ ≤ 2δ, it means the temperature difference is moderate. Further judgment shows that when Δ > 0 and RH > 80%, medium-power preventive heating is executed; when 60% < RH ≤ 80%, low-power equal heating is executed; when RH ≤ 60%, no heating operation is executed. If Δ < 0, when RH > 80%, maximum-power heating is executed; when 60% < RH ≤ 80%, high-power heating is executed; when RH ≤ 60%, medium-power heating is executed.

[0083] When |Δ| ≤ δ, it means the temperature difference is small and the level gauge is in a critical state. Further judgment shows that when Δ > 0 and RH > 80%, high-power heating is executed; when 60% < RH ≤ 80%, medium-power heating is executed; when RH ≤ 60%, low-power preventive heating is executed. If Δ < 0 and RH > 60%, maximum-power heating is executed; when RH ≤ 60%, high-power equal heating is executed.

[0084] Δ < -δ indicates that the temperature of the level gauge has dropped below the dew point temperature, and serious condensation is very likely to occur, so the maximum-power heating operation needs to be executed immediately.

[0085] S3: Compare the dew point with the surface temperature of the level gauge detected by the detection module, and perform dynamic temperature control according to the heating control execution module.

[0086] The temperature control of the heating tape is controlled by a thyristor (SCR). The thyristor is a semi-controlled power electronic device. By controlling the conduction angle, the effective value of the AC circuit can be adjusted. Correspondingly, there is an SCR thyristor voltage regulation circuit, which controls the effective value of the AC circuit by controlling the conduction angle of the SCR, thereby controlling the heating power of the heating tape. Its connection is as follows:

[0087] The AC power supply obtains a DC voltage Vdc through a rectifier filter circuit. Vdc is connected to the anode of the SCR. The cathode of the SCR is connected to one end of the heating tape. The gate of the SCR is connected to the PWM output of the microcontroller to provide a trigger pulse signal. The other end of the heating tape is grounded. A interference suppression circuit including an RC snubber circuit and a protection diode is connected in parallel across the SCR.

[0088] By adjusting the duty cycle of the PWM signal, the conduction time of the SCR can be changed, thereby controlling the effective current passing through the heating tape and achieving power regulation.

[0089] Furthermore, according to the judgment logic of the aforementioned temperature control module, obtain the required heating power set value, measure the actual power output of the current heating tape, calculate the power deviation, and then through the PID control algorithm, adjust the output of the controller according to ΔP.

[0090] Apply the classical PID control algorithm to the heating tape power control, as shown in the following formula:

[0091]

[0092] where, P out is the controller output, ΔP is the power deviation, K p , K i , K d are the proportional, integral and differential coefficients respectively.

[0093] Since the classical integral in the classical PID is sensitive to noise, it is replaced with a fractional-order integral. Similarly, the classical differential has a large amplification effect on high-frequency noise and can be replaced with a fractional-order differential:

[0094]

[0095] where, n is the fractional-order differential integrator parameter, Γ is the Gamma function. When n = 1, it is equivalent to the classical integral; when 0 < n < 1, it has a smoothing filtering effect. D a is the fractional-order differential operator, α is the fractional-order differential order (0 < α < 1). When α = 1, it is equivalent to the classical differential; when 0 < α < 1, it has an inhibitory effect on high-frequency noise.

[0096] Furthermore, in order to make the control output match the actual environmental state, a correction function is introduced:

[0097]

[0098] where, Ψ is the temperature and humidity correction function, T surf is the surface temperature of the liquid level gauge, T dew is the dew point temperature, and RH is the relative humidity. This function can be designed according to the actual situation. For example, when T surf is much higher than T dew , Ψ approaches 1 and no correction is required; when T surf is close to T dew , Ψ gradually increases and the power output is increased.

[0099] Finally, in order to ensure power continuity, the original actual power P act Addition:

[0100]

[0101] Through the above steps, temperature and humidity correction functions are introduced on the basis of the classic PID algorithm, and finally an optimized and improved heating belt power control formula that conforms to this scheme is obtained. It not only has stronger noise suppression ability and control performance, but also can dynamically adjust the control output according to the actual environmental conditions, thereby realizing intelligent control of the heating power of the heating belt.

[0102] It should be noted that K p , K i , K d The coefficients need to be obtained through parameterized experiments. First, the mathematical model equation of the heating system is established to describe the relationship between its input and output. The corresponding differential equation model is established using the principle of heat conduction and the law of conservation of energy. The proportional, integral, and differential coefficients K_p, K_i, and K_d are used as free parameters and substituted into the mathematical expression of the controller. In this way, these parameters can be used to describe the dynamic characteristics of the controller. Specifically, according to the known heat conduction equation:

[0103]

[0104] Among them, ρ is density, c is specific heat capacity, T is temperature, t is time, k is heat transfer coefficient, and q is heat source term.

[0105] For the heating system with heating tape, it is simplified to a one-dimensional case and the control input P is introduced. act That is, the heating power of the heating tape:

[0106]

[0107] Among them, x is the spatial coordinate, x 0 is the position of the heating tape and δ is the Dirac delta function.

[0108] By applying appropriate boundary conditions and initial conditions, the analytical or numerical solution of the system can be obtained, which describes the effect of temperature T(x, t) on heating power P out Response.

[0109] Based on the mathematical model of the heating system established above, the following steps are used to obtain the parameter K of the PID controller: p , K i , K d :

[0110] Discretize the above continuous-time differential equation model to obtain a discrete-time model:

[0111] x(k+1)=Adx(k)+BdP out

[0112] Among them, x(k) is the state variable, P out is the control input (heating power), Ad and Bd are the discretized system matrices;

[0113] Furthermore, an incremental PID controller is used, and the control rate is:

[0114]

[0115] Among them, e(k) is the tracking error, that is, the difference between the set value and the actual output, that is, P out -P act , u(k) is the control input, that is, P out .

[0116] Furthermore, the incremental PID controller is coupled with the controlled object (discrete model) to obtain a closed-loop system model:

[0117]

[0118] Among them, Φ, Γ are system matrices, which depend on Ad, Bd and the sampling period.

[0119] Select a suitable performance indicator J and construct the objective function, that is, minimize j, which is equivalent to minimizing J vs. K p , K i , K d Function:

[0120]

[0121] The optimization algorithm is used to solve the above objective function and obtain the optimal K p , K i , K d The value of P can be calculated based on the coefficient after the obtained value is substituted into the closed-loop system model for verification. out .

[0122] Furthermore, the maximum power P of the heating cable max , the control target is to maintain the surface temperature of the level gauge above 2 degrees of the dew point temperature.

[0123] Get the set power value P set , that is, design a step function, when P surf <P dew +2, P set =P max When P surf >=P dew +2, Pset =P hold (A smaller holding power). Current P surf <=P dew +2, so P set =P max .

[0124] Measure actual power output P act The heating belt controller will measure the actual power output of the current heating belt in real time. Assuming the initial value P act =0W. Calculate the power deviation ΔP, ΔP = P set -P act .

[0125] Furthermore, using the PID parameter K obtained previously p , K i , calculate the control increment ΔU, add the original actual power and temperature and humidity correction to get the specific power size P that needs to be corrected out , when P out Exceeds the maximum power P of the heating cable max When the heating cable is based on the maximum power P max Heating, when P surf When the required temperature is reached, it will switch to P_hold, and the heating cable will switch to low power to keep heating. surf Continue to increase to P dew +4℃ or above, stop heating and wait for P surf decline.

[0126] Repeat the above closed-loop control, the system will continue to monitor P surf , P surf and RH, repeat the above process to achieve dynamic control of the surface temperature of the level gauge.

[0127] Furthermore, this embodiment also provides a condensation prevention system for an ultrasonic level meter, comprising:

[0128] Anti-condensation system and heating unit;

[0129] The anti-dew condensation system includes a detection module, a dew point calculation module and a heating control execution module;

[0130] The monitoring module is used to install high-precision temperature sensors at key parts of the level meter to monitor the surface temperature of the level meter and the air temperature and humidity in real time;

[0131] The dew point calculation module is used to calculate the current dew point temperature based on the measured temperature and humidity data using a formula or a table lookup method;

[0132] The heating control execution module is used to start the heating control if the surface temperature of the liquid level meter is lower than the set value of the dew point temperature, and adjust the power of the heating belt through the thyristor to maintain its temperature within a safe value range above the dew point temperature;

[0133] The heating unit performs heating according to the heating control parameters of the heating control execution module.

[0134] This embodiment also provides a computer device, which is suitable for the method for preventing condensation of an ultrasonic liquid level meter, and includes a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method for preventing condensation of an ultrasonic liquid level meter as proposed in the above embodiment.

[0135] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0136] This embodiment further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for preventing condensation of an ultrasonic liquid level meter as proposed in the above embodiment is implemented.

[0137] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0138] Example 2

[0139] Reference Figure 1 , which is the second embodiment of the present invention, and this embodiment provides a method for preventing condensation of an ultrasonic level meter. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0140] In order to verify the feasibility and effectiveness of the scheme, the present invention conducted the following experiments:

[0141] 1) Prepare an ultrasonic level meter, model LU78, with a measuring range of 0-10m;

[0142] 2) Wrap an aluminum-plated heating element electric heating cable around it, model JCR220V, rated power 220W / m;

[0143] 3) Cover the liquid level meter probe with a piece of nano aerogel felt with a thickness of 50 mm;

[0144] 4) Install 3 dual-channel temperature and humidity sensors, 1 probe surface and 2 environment, model SHT35;

[0145] 5) Install a main control module, integrating AT89C51 microcontroller and A / D converter ADC0809;

[0146] 6) Install a heating cable controller, using fractional-order PID control algorithm and thyristor SCR regulation;

[0147] 7) After connecting all components, place the entire system in a constant temperature and humidity chamber to simulate various environmental conditions;

[0148] 8) Fix the software algorithm, initialize the equipment parameters, and start collecting data;

[0149] In the software algorithm, the ambient temperature T, relative humidity RH and the empirical coefficients of D, E, F, G, and H in formula (8) are set as:

[0150] D = 0.963, E = 17.27, F = 237.7, G = 6.112, H = 0.09035. Δ is 2°C, δ is 1°C.

[0151] PID parameters are obtained through mathematical modeling + optimization algorithm: Kp = 1.5, Ki = 0.5, Kd = 0.2, α = 0.85, n = 0.6. The specific experimental data are as follows:

[0152] Table 1 Experimental data table

[0153]

[0154] It can be seen from the above table that under a variety of different environmental temperature and humidity conditions, compared with traditional equipment, the improved device of the present application can maintain the surface temperature Ts of the liquid level meter probe above the safe value of the dew point temperature Td.

[0155] Comparing No. 1 and No. 2, when T = 25℃, RH = 60%, the traditional equipment has Ts = 11.8℃, which is 0.6℃ lower than Td = 12.4℃, and condensation is very likely to occur; while the improved equipment has Ts = 14.2℃, which is 2.8℃ higher than Td, and is in a safe state.

[0156] The contrast between No. 3 and No. 4 is more obvious, with the temperature difference between Ts and Td reaching 2.4°C, which effectively avoids condensation.

[0157] At serial numbers 5 and 6, although the RH is as high as 80%, the temperature difference Δ is still 1.7°C, which also avoids condensation.

[0158] For serial numbers 7 and 8, T is as low as 15°C, but Ts can also be maintained at a safe value of 9.2°C, which is 2.2°C higher than Td.

[0159] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for preventing condensation of an ultrasonic level meter, characterized in that: include, Detecting the probe surface temperature and ambient humidity of the ultrasonic level meter, and calculating the dew point temperature of the probe surface of the ultrasonic level meter according to the temperature and humidity; comparing the difference between the dew point temperature and the probe surface temperature, and determining a heating control parameter according to the difference and the ambient humidity; The heating unit is controlled according to the heating control parameter to heat the ultrasonic level meter probe so that the probe surface temperature is higher than the safety threshold of the dew point temperature to prevent condensation.

2. The method for preventing condensation of an ultrasonic level meter according to claim 1, characterized in that: The dew point temperature is calculated according to the relationship between the dew point temperature, the saturated water vapor pressure and the relative humidity, and includes the following steps: Improved semi-empirical formula; Use big data fitting to obtain the optimal empirical coefficient; The dew point temperature is calculated according to the improved semi-empirical formula.

3. The method for preventing condensation of an ultrasonic level meter according to claim 2, characterized in that: The dew point also includes determining whether to heat according to the dew point and the relative humidity, as follows: When the temperature difference is greater than twice the safe temperature difference threshold, it means that the temperature difference is large and the level meter is in a relatively safe state. There is no need to consider humidity factors and no heating operation is required. The temperature difference is the measured ultrasonic level meter probe surface value minus the dew point value. When the temperature difference is greater than the safe temperature difference threshold but less than twice the safe temperature difference threshold, it means that the temperature difference is moderate. Further judgment: when the temperature difference is greater than 0 and the relative humidity is greater than n, medium-power preventive heating is performed; when the relative humidity is greater than m but less than or equal to n, small equal-power heating is performed; when the relative humidity is less than m, no heating is performed; if the temperature difference is less than 0 and the absolute humidity is greater than n, maximum power heating is performed; when the absolute humidity is greater than m and less than n, high-power heating is performed; when the relative humidity efficiency is m, high-power heating is performed; When the absolute value of the temperature difference is less than or equal to the safety threshold, it means that the temperature difference is small and the liquid level meter is in a critical state. Further judgment: if the temperature difference is greater than and the relative humidity is greater than n, high-power heating is performed; when the relative humidity is greater than m and less than or equal to n, medium-power heating is performed; when the relative humidity is less than m, low-power preventive heating is performed; if the temperature difference is less than 0 and the relative humidity is greater than m, maximum power heating is performed; when the relative humidity is less than m, high-power heating is performed.

4. The method for preventing condensation of an ultrasonic level meter according to claim 3, characterized in that: The dynamic temperature control is performed by a silicon controlled rectifier (SCR) voltage regulating circuit. The voltage regulating circuit comprises: A DC voltage is obtained through a rectification and filtering circuit, and the DC voltage is connected to the anode of the SCR. The cathode of the SCR is connected to one end of the heating tape. The gate of the SCR is connected to the PWM output of the microcontroller to provide a trigger pulse signal. The other end of the heating tape is grounded. An interference suppression circuit is connected in parallel at both ends of the SCR, including an RC slit circuit and a protection diode.

5. The method for preventing condensation of an ultrasonic level meter according to claim 4, characterized in that: The dynamic temperature control is regulated according to a control algorithm; The control algorithm comprises the following steps: Use fractional order to replace classical integral; Make temperature and humidity corrections; The original actual power is added into the control algorithm to obtain the corrected power value.

6. The method for preventing condensation of an ultrasonic level meter according to claim 5, characterized in that: The corrected power value is combined with the temperature and humidity correction and the original actual power, as shown in the following formula: Among them, P out is the controller output, ΔP is the power deviation, K p , K i , K d are proportional, integral and differential coefficients respectively, n is the fractional-order differential integrator parameter, Γ is the Gamma function, D a is the fractional differential operator, α is the fractional differential order, Ψ is the temperature and humidity correction function, T surf is the surface temperature of the level gauge, T dew is the dew point temperature, RH is the relative humidity, P act is the original actual power.

7. The method for preventing condensation of an ultrasonic level meter according to claim 6, characterized in that: performing the dynamic adjustment according to the corrected power value, When the surface temperature of the level gauge probe is greater than the dew point value, the power value of the heating belt is set to a smaller holding power. When the surface temperature of the level gauge probe is less than the dew point value, the actual power output of the current heating belt is measured in real time, the power deviation is calculated, and substituted into the control algorithm. The control algorithm calculates the adjusted power output. If the adjusted power data is greater than the maximum power of the heating belt, the heating belt is driven to heat according to the maximum power, otherwise it is driven to heat according to the adjusted power.

8. A condensation prevention system for an ultrasonic level gauge, based on the condensation prevention method for an ultrasonic level gauge according to any one of claims 1 to 7, characterized in that: include, Anti-condensation system and heating unit; The anti-dew condensation system includes a detection module, a dew point calculation module and a heating control execution module; The monitoring module is used to install high-precision temperature sensors at key parts of the level meter to monitor the surface temperature of the level meter and the air temperature and humidity in real time; The dew point calculation module is used to calculate the current dew point temperature based on the measured temperature and humidity data using a formula or a table lookup method; The heating control execution module is used to start the heating control if the surface temperature of the liquid level meter is lower than the set value of the dew point temperature, and adjust the power of the heating belt through the thyristor to maintain its temperature within a safe value range above the dew point temperature; The heating unit performs heating according to the heating control parameters of the heating control execution module.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for preventing condensation of an ultrasonic liquid level meter according to any one of claims 1 to 7 are implemented.

10. 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 of the method for preventing condensation of an ultrasonic level meter according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for measuring and controlling assembled air-conditioner dew point

    CN101029881A

  • Improved proportional integral derivative (PID) algorithm for glass heating under vacuum

    CN103207562A

  • Condensation inhibition method and system for equipment and photovoltaic IGBT device cabinet body

    CN105511530A

  • Fresh air machine core body, fresh air machine, fresh air system and fresh air machine condensation preventing method

    CN110500764A

  • Heating furnace temperature fractional order PID control system and method based on artificial bee colony algorithm

    CN114721253A

Cited By

  • Forward scatterometer adaptive temperature control system and control method under complex weather conditions

    CN120722984A

  • Method and system for preventing condensation of ultrasonic liquid level meter

    WO2025241424A1