Anti-interference intelligent liquid level transmitter system

By employing dual anti-interference processing of acceleration compensation algorithm and dynamic filtering algorithm, combined with temperature compensation, the problem that traditional static filtering algorithm cannot adapt to dynamic vibration environment is solved, thus achieving accuracy and stability in liquid level measurement.

CN120991989APending Publication Date: 2025-11-21HUANENG (SHANGHAI) POWER MAINTENANCE LLC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510988338.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-17
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

In existing technologies, traditional static filtering algorithms cannot adapt to dynamically changing vibration environments in real time, causing liquid level measurements to deviate from the true value. In particular, they are difficult to effectively eliminate inertial liquid column pressure interference in scenarios with strong vibration.

Method used

The system employs a dual anti-interference processing approach combining acceleration compensation and dynamic filtering algorithms. By combining a three-dimensional accelerometer and a pressure sensor, it eliminates measurement errors caused by mechanical vibration and medium turbulence in real time, and incorporates an ambient temperature sensor for temperature drift compensation.

Benefits of technology

It effectively suppresses measurement errors caused by mechanical vibration and medium turbulence, ensuring the accuracy and stability of liquid level measurement and adapting to real-time changes under complex working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120991989A_ABST
    Figure CN120991989A_ABST
Patent Text Reader

Abstract

The invention relates to an anti-interference intelligent liquid level transmitter system which comprises a measuring unit used for acquiring an original liquid level signal; the anti-interference processing unit is in signal connection with the measuring unit and is used for executing anti-interference algorithm processing on the original liquid level signal, and the anti-interference algorithm processing includes adopting an acceleration compensation algorithm and a dynamic filtering algorithm to eliminate measuring errors caused by mechanical vibration and medium flow; and the output unit is in signal connection with the anti-interference processing unit and is used for outputting the standardized liquid level signal. The problem that a traditional static filtering algorithm cannot adapt to a dynamically changing vibration environment in real time is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of transmitter technology, and in particular to an anti-interference intelligent liquid level transmitter system. Background Technology

[0002] Level transmitters are key equipment in industrial automation, widely used in industries such as chemical, petroleum, and water treatment to monitor the liquid level in containers in real time. Their working principle is typically based on pressure sensing technology, calculating the liquid level by measuring the hydrostatic pressure. Currently, common level measurement technologies include float-type, ultrasonic, radar-type, and pressure-type transmitters. Among these, pressure-type level transmitters are widely used due to their simple structure, low cost, and ease of installation and maintenance. In existing technologies, to address interference issues, some devices employ static filtering algorithms (such as low-pass filtering) or simple temperature compensation mechanisms to suppress the effects of noise and temperature drift. For example, some level transmitters reduce vibration interference through hardware isolation or software filtering, or integrate temperature compensation circuits into the pressure sensor to correct thermal drift errors. However, existing technologies still have significant shortcomings. Traditional static filtering algorithms cannot adapt to dynamically changing vibration environments in real time. When the equipment is installed in environments with strong vibrations (such as near pump stations or pipelines), fixed-parameter filtering methods are insufficient to effectively eliminate inertial liquid column pressure interference caused by vibration, leading to measurements deviating from the true liquid level. Existing technologies have the following drawbacks: traditional static filtering algorithms cannot adapt to dynamically changing vibration environments in real time. When equipment is installed in environments with strong vibrations (such as near pump stations or pipelines), fixed-parameter filtering methods are difficult to effectively eliminate the interference of inertial liquid column pressure caused by vibration, resulting in measured values ​​deviating from the true liquid level. Summary of the Invention

[0003] (I) Purpose of the Invention

[0004] The purpose of this invention is to provide an anti-interference intelligent liquid level transmitter system. This invention effectively suppresses measurement errors caused by mechanical vibration and medium turbulence through dual anti-interference processing of acceleration compensation algorithm and dynamic filtering algorithm, and solves the problem that traditional static filtering algorithm cannot adapt to dynamically changing vibration environment in real time.

[0005] (II) Technical Solution

[0006] To address the above problems, the present invention provides an anti-interference intelligent liquid level transmitter system, comprising:

[0007] The measuring unit is used to acquire the raw liquid level signal;

[0008] An anti-interference processing unit, connected to the measurement unit, is used to perform anti-interference algorithm processing on the original liquid level signal, including using an acceleration compensation algorithm and a dynamic filtering algorithm to eliminate measurement errors caused by mechanical vibration and medium flow.

[0009] The output unit is connected to the anti-interference processing unit and is used to output a standardized liquid level signal.

[0010] Preferably, the measuring unit includes a stainless steel housing, a pressure sensor, and a three-dimensional accelerometer, wherein the pressure sensor and the three-dimensional accelerometer are electrically connected and encapsulated within the stainless steel housing.

[0011] Preferably, the anti-interference processing unit performs the following operations through the embedded microprocessor:

[0012] Read the data from the three-dimensional accelerometer and calculate the installation tilt compensation.

[0013] By combining the installation tilt compensation amount, an acceleration compensation algorithm is used to eliminate the interference of mechanical vibration on the pressure signal, and the compensated pressure value is obtained.

[0014] By combining the installation tilt compensation amount, a dynamic filtering algorithm is used to suppress signal fluctuations caused by medium turbulence, and the filtered liquid level value is obtained.

[0015] Preferably, the system further includes an ambient temperature sensor, which is signal-connected to the anti-interference processing unit to eliminate the drift effect of temperature on the pressure sensor and obtain a temperature drift compensation value.

[0016] Preferably, the formula for calculating the compensated pressure value is as follows:

[0017]

[0018] Among them, P comp The pressure value after compensation, P raw The original pressure value is given, ρ is the density of the medium, and g is the density of the medium. eff To install tilt compensation, a x ,a y These are the acceleration components along the X and Y axes, respectively, h x ,h y ,h z These represent the three-dimensional offsets, g, from the sensor mounting position to the container reference point. eff = g·cosθ, where θ is the installation tilt angle, and g is the gravitational acceleration. The sensor includes a pressure sensor and a three-dimensional acceleration sensor.

[0019] Preferably, the formula for calculating the filtered liquid level value is as follows:

[0020]

[0021] in, Let L be the filtered liquid level value at time t. t The value of the liquid level at time t is the original liquid level after installation tilt compensation. Let t be the filtered liquid level value at time t-1, and α be the dynamic weighting coefficient.

[0022] Preferably, the formula for calculating the temperature drift compensation value is as follows:

[0023] P cal =P comp ·[1+β·(TT ref )];

[0024] Among them, P cal Here, β is the temperature drift compensation value, β is the inherent temperature coefficient of the pressure sensor, and T is the real-time temperature. ref For reference temperature, P comp This is the pressure value after acceleration compensation from the pressure sensor.

[0025] Preferably, the formula for calculating α is as follows:

[0026]

[0027] ΔL t =L t -L t-1 ;

[0028] Among them, L t-1 ΔL represents the original liquid level at time t-1 after installation tilt compensation. t denoted as the rate of change of liquid level between adjacent time points, and k is the turbulence sensitivity adjustment factor.

[0029] Preferably, the turbulence sensitivity adjustment factor k is calculated using the following formula:

[0030]

[0031] Where w1 and w2 are training weights, b is the bias term, and σ 2 Let V be the historical liquid level fluctuation variance, E be the acceleration spectrum energy, and f be a linear combination function based on the historical liquid level fluctuation variance and the acceleration spectrum energy.

[0032] Preferably, the output unit is further configured to convert the standardized liquid level signal into a 4-20mA+HART dual-mode output.

[0033] (III) Beneficial Effects

[0034] The above-mentioned technical solution of the present invention has the following beneficial technical effects: The present invention provides an anti-interference intelligent liquid level transmitter system, which includes a measurement unit, an anti-interference processing unit and an output unit. The anti-interference processing unit is used to perform anti-interference algorithm processing on the original liquid level signal. Through dual anti-interference processing of acceleration compensation algorithm and dynamic filtering algorithm, the measurement error caused by mechanical vibration and medium turbulence is effectively suppressed. The acceleration compensation algorithm, combined with the corresponding sensor data obtained in the measurement unit, can accurately eliminate the inertial liquid column pressure interference caused by vibration, thus solving the problem that the traditional static filtering algorithm cannot adapt to the dynamically changing vibration environment in real time. Attached Figure Description

[0035] Figure 1 This is a schematic diagram of an anti-interference intelligent liquid level transmitter system according to the present invention;

[0036] Figure 2 This is a schematic diagram of the overall structure of a specific embodiment of the present invention;

[0037] Figure 3 This is a schematic diagram of the measurement unit structure according to a specific embodiment of the present invention. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments and the accompanying drawings. It should be understood that these descriptions are merely exemplary and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.

[0039] like Figures 1-3 As shown, the present invention provides an anti-interference intelligent liquid level transmitter system, comprising:

[0040] Measurement unit 1 is used to acquire raw liquid level signals. Measurement unit 1 includes a stainless steel housing 11, a pressure sensor 13, and a three-dimensional accelerometer 12. The pressure sensor 13 and the three-dimensional accelerometer 12 are electrically connected and encapsulated within the stainless steel housing 11. The interior of the stainless steel housing 11 is filled with insulating gel, covering the pressure sensor 13 and the three-dimensional accelerometer 12, to balance mechanical stress and block corrosive media.

[0041] Anti-interference processing unit 2, signal-connected to the measurement unit 1, is used to perform anti-interference algorithm processing on the original liquid level signal, including using acceleration compensation algorithm and dynamic filtering algorithm to eliminate measurement errors caused by mechanical vibration and medium flow. The anti-interference processing unit 2 includes an embedded microprocessor, which performs the following operations:

[0042] S1, Read the data from the three-dimensional acceleration sensor 13 and calculate the installation tilt compensation amount;

[0043] S2, combined with the aforementioned installation tilt compensation, uses an acceleration compensation algorithm to eliminate the interference of mechanical vibration on the pressure signal, obtaining the compensated pressure value; this is mainly based on the pre-stored sensor spatial offset parameter (h). x h y h z The original pressure value is calculated by subtracting the inertial liquid column pressure component caused by container vibration from the original pressure value, taking the medium density ρ and the density ρ. The formula for calculating the compensated pressure value is as follows:

[0044]

[0045] Among them, P comp The pressure value after compensation, P raw The original pressure value is given, ρ is the density of the medium, and g is the density of the medium. eff To install tilt compensation, a x ,a y These are the acceleration components along the X and Y axes, respectively, h x ,h y ,h z These represent the three-dimensional offsets, g, from the sensor mounting position to the container reference point. eff = g·cosθ, where θ is the installation tilt angle and g is the gravitational acceleration. The sensor includes a pressure sensor and a three-dimensional acceleration sensor.

[0046] S3, Combining the installation tilt angle compensation, a dynamic filtering algorithm is used to suppress signal fluctuations caused by medium turbulence, resulting in a filtered liquid level value. In this step, an adaptive weighted moving average algorithm is employed. The filtering intensity is dynamically adjusted by analyzing the liquid level change rate in real time. When severe fluctuations caused by turbulence are detected, the filtering weight α is automatically increased, significantly smoothing random interference. The formula for calculating the filtered liquid level value is as follows:

[0047]

[0048] in, Let L be the filtered liquid level value at time t. t The value of the liquid level at time t is the original liquid level after installation tilt compensation. Let be the filtered liquid level value at time t-1, and α be the dynamic weighting coefficient. The formula for calculating α is as follows:

[0049]

[0050] ΔL t =L t -L t-1 (4)

[0051] Among them, L t-1 ΔL represents the original liquid level at time t-1 after installation tilt compensation. t Let k be the rate of change of liquid level between adjacent time points, and k be a turbulence sensitivity adjustment factor. The turbulence sensitivity adjustment factor k is dynamically optimized through a machine learning model, which uses the historical liquid level fluctuation variance σ as the basis for the optimization. 2 Taking the acceleration spectrum energy E as input, the calculation formula for the turbulence sensitivity adjustment factor k is as follows:

[0052]

[0053] Where w1 and w2 are training weights, b is the bias term, and σ 2 Let V be the historical liquid level fluctuation variance, E be the acceleration spectrum energy, and f be a linear combination function based on the historical liquid level fluctuation variance and the acceleration spectrum energy.

[0054] Preferably, the embedded microprocessor is further configured to perform installation fault-tolerant compensation, dynamically correcting the pressure-level conversion formula based on the tilt angle θ calculated in real time by the three-dimensional accelerometer:

[0055]

[0056] Where H is the final liquid level height, and θ is the real-time angle between the equipment axis and the direction of gravity. a z Let ΔH be the acceleration component along the Z-axis. cal These are the parameters for container geometry calibration.

[0057] Output unit 3, connected to the anti-interference processing unit, is used to output a standardized liquid level signal. This output unit also converts the standardized liquid level signal into a 4-20mA+HART dual-mode output. The output unit supports 4-20mA+HART protocol dual-mode output and has a built-in RS485 interface for uploading real-time acceleration data and filtering parameters. Finally, output unit 3 converts the processed standard liquid level signal into a 4-20mA+HART dual-mode output, while simultaneously uploading vibration spectrum and temperature compensation data via the RS485 interface.

[0058] Preferably, the system further includes an ambient temperature sensor 15, which is signal-connected to the anti-interference processing unit and used to eliminate the drift effect of temperature on the pressure sensor, thereby obtaining a temperature drift compensation value. The calculation formula for the temperature drift compensation value is as follows:

[0059] P cal =P comp ·[1+β·(TT ref (7)

[0060] Among them, P cal This is the temperature drift compensation value, β is the inherent temperature coefficient of the pressure sensor, and T is the real-time temperature. ref For reference temperature, P comp This is the pressure value after acceleration compensation from the pressure sensor.

[0061] Based on the above steps, the working principle of this invention is explained as follows: First, the measuring unit 1 acquires the original liquid level and static pressure signal in real time through the pressure sensor inside the stainless steel housing. Simultaneously, the three-dimensional acceleration sensor synchronously monitors the vibration acceleration components (α, β, γ) of the device along the X / Y / Z axes. x ,a y ,a z ), Ambient temperature sensor 4 detects the internal temperature (T) of the equipment, and constructs a complete signal input matrix.

[0062] Secondly, the embedded microprocessor in anti-interference processing unit 2 performs triple anti-interference processing: tilt angle compensation and vibration suppression: The real-time tilt angle θ between the equipment axis and the direction of gravity is calculated based on acceleration data. If θ exceeds a threshold (e.g., due to non-vertical installation), the liquid level height formula is dynamically corrected (see Formula 6). Simultaneously, mechanical vibration interference is eliminated through an acceleration compensation algorithm. Using pre-stored sensor spatial offset (h) x ,h y And the medium density ρ, minus the inertial liquid column pressure component.

[0063] Temperature drift compensation: Based on temperature sensor data, correct the thermal drift of the pressure sensor (see Equation 7);

[0064] Dynamic turbulence filtering: Adaptive weighted moving average filtering is used to suppress medium turbulence. The weighting coefficient α is dynamically adjusted based on the liquid level change rate; the calculation is shown in Formula 3. The turbulence sensitivity factor k is optimized in real time through a machine learning model (input: historical liquid level fluctuation variance σ). 2 The acceleration spectrum energy (E) is calculated using formula (5).

[0065] Finally, output unit 3 converts the processed standardized liquid level signal into a 4-20mA+HART dual-mode output, and simultaneously uploads vibration spectrum, temperature data, and dynamically optimized filtering parameters through the RS485 interface for users to monitor the system status in real time.

[0066] The following is combined with Figure 2 and Figure 3 The present invention will be described in detail with reference to specific embodiments.

[0067] The measuring unit 1 acquires the liquid level and static pressure signal in real time through the pressure sensor 13 sealed in the stainless steel shell 11, and at the same time, the coaxially integrated three-dimensional accelerometer 12 continuously monitors the X / Y / Z three-axis vibration acceleration data. The measuring unit 1 includes a stainless steel shell 11, a pressure sensor 13 and a three-dimensional accelerometer 12. The pressure sensor 13 and the three-dimensional accelerometer 12 are electrically connected and encapsulated in the same stainless steel shell 11. The pressure sensor is used to detect the liquid level and static pressure, and the three-dimensional accelerometer is used to acquire the vibration acceleration data in the X / Y / Z axes in real time.

[0068] The embedded microprocessor in anti-interference processing unit 2 first calculates the installation tilt angle based on acceleration data, obtains the real-time angle θ between the device axis and the direction of gravity through vector decomposition, and then performs dual anti-interference processing:

[0069] Acceleration compensation: based on pre-stored sensor spatial offset parameters (h) x h y h z ) and medium density ρ, subtract the inertial liquid column pressure component caused by container vibration from the original pressure value;

[0070] Dynamic filtering: An adaptive weighted moving average algorithm is adopted. The filtering intensity is dynamically adjusted by analyzing the liquid level change rate in real time. When severe fluctuations caused by turbulence are detected, the filtering weight α is automatically increased to significantly smooth random interference. Finally, the output unit 3 converts the processed standard liquid level signal into a 4-20mA+HART dual-mode output, and simultaneously uploads vibration spectrum and temperature compensation data through the RS485 interface. The anti-interference processing unit 2 contains an embedded microprocessor, which is configured to perform the following operations:

[0071] 1) Calculate the installation tilt compensation amount based on the acceleration sensor data;

[0072] 2) The interference of mechanical vibration on the pressure signal is eliminated through an acceleration compensation algorithm;

[0073] 3) Suppress signal fluctuations caused by medium turbulence through dynamic filtering algorithms;

[0074] Specifically, the stainless steel housing 11 of the measuring unit 1 is hermetically sealed by welding. The pressure sensor 13 and the three-dimensional accelerometer 12 are electrically interconnected through internal lead bonding, and their collaborative working mechanism is as follows:

[0075] Vibration sensing: The three-dimensional accelerometer 12 continuously monitors the motion acceleration of the equipment in the X / Y / Z axes and constructs the container vibration state vector in real time; Pressure acquisition: The pressure sensor 13 detects the original liquid level static pressure signal, and its output value includes the interference component caused by the inertial motion of the liquid;

[0076] The embedded microprocessor in anti-interference processing unit 2 executes the following steps sequentially: Step 1) Tilt angle compensation: Based on the spatial pointing of the acceleration vector, the real-time tilt angle θ of the device is calculated. When a non-vertical installation state is detected, the tilt angle compensation coefficient is automatically activated to correct the liquid column pressure model; Step 2) Vibration suppression: Vibration interference is eliminated through a physical compensation model. Where the spatial offset h x ,h y ,h z The mechanical structure parameters are preset in the OTP (One-Time Programmable) memory; in step 3), turbulence suppression is achieved by using a two-stage adaptive filter. When the liquid level changes gradually, a conventional low-pass filter is used to retain the effective signal. When a violent fluctuation is detected, the filter automatically switches to an adaptive weighted moving average model, which suppresses high-frequency noise by dynamically adjusting the weight coefficients. The acceleration compensation algorithm is implemented using the same formula as formula (1). The dynamic filtering algorithm uses an adaptive weighted moving average model, which is the same as formula (2).

[0077] Specifically, during equipment operation, the acceleration compensation algorithm converts mechanical vibration interference into calculable inertial force error through three-dimensional offset parameters. When the container vibrates, the original pressure value detected by the pressure sensor includes the actual liquid level static pressure and the additional pressure generated by the liquid inertial motion. The X / Y axis acceleration components collected in real time by the acceleration sensor are combined with the preset three-dimensional offset parameters, according to formula (1). The additional pressure component is dynamically subtracted. The offset parameter is pre-stored in the memory through laser calibration before leaving the factory, and the medium density is input by the user configuration interface. The dynamic filtering algorithm optimizes the signal to address the interference of medium turbulence. The system continuously monitors the liquid level change rate of adjacent sampling periods, according to formula (3). Weighting coefficients are generated in real time. When a sudden signal caused by turbulence is detected, the weight of the current sampled value is automatically reduced using an adaptive weighted moving average model (Formula 2). High-frequency noise energy is dispersed across a continuous time window, and the turbulence sensitivity adjustment factor is configurable within the range of 0.1-10 based on the medium characteristics. Acceleration compensation first eliminates the pressure signal offset caused by vibration, followed by dynamic filtering to smooth and optimize the compensated signal, ultimately outputting an anti-interference liquid level value.

[0078] In addition, this system also includes an ambient temperature sensor 15, which is connected to the anti-interference processing unit 2 for real-time compensation of the drift effect of temperature on the pressure sensor (13). The compensation formula is given in calculation formula (7): P cal =P comp ·[1+β·(TT ref )).

[0079] Specifically, the ambient temperature sensor 15 monitors the internal temperature changes of the equipment in real time. Its output signal is received by the anti-interference processing unit and the temperature drift compensation mechanism is activated. The compensation formula establishes a quantitative relationship between the pressure sensor output value and the temperature through the built-in temperature coefficient parameter. When the real-time temperature deviates from the reference temperature, the system automatically calculates the temperature drift correction amount.

[0080] After completing acceleration compensation, the embedded microprocessor immediately applies the temperature compensation formula to the intermediate pressure value and performs the pressure value calculation after temperature compensation. The temperature coefficient is stored in non-volatile memory through the sensor's factory calibration. The reference temperature is set to the ambient reference temperature during user calibration. The compensation mechanism automatically loads parameters when the device starts up and continuously corrects the pressure signal online to ensure the output stability of the pressure detection module from sub-zero degrees Celsius to high-temperature operating conditions. The temperature compensation result, together with vibration compensation and turbulence filtering, forms a triple anti-interference guarantee. Finally, the standard liquid level signal is transmitted to the control system through the output unit.

[0081] Output unit 3 supports dual-mode output via 4-20mA + HART protocol and has a built-in RS485 interface for uploading real-time acceleration data and filtering parameters; the turbulence sensitivity adjustment factor k is dynamically optimized through a machine learning model, which uses the historical liquid level fluctuation variance σ 2 The acceleration spectrum energy E is taken as input, see formula (5):

[0082] Specifically, while transmitting the standard liquid level signal, output unit 3 continuously uploads historical liquid level fluctuation variance data and the original vibration spectrum collected by acceleration sensor 12 via its built-in RS485 interface. The embedded microprocessor of the anti-interference processing unit performs turbulence sensitivity factor optimization every 10 minutes: first, it calculates the variance of the historical liquid level data to reflect the recent intensity of medium fluctuations; simultaneously, it extracts the energy integral value of the 5-100Hz frequency band in the acceleration spectrum through fast Fourier transform to characterize the level of mechanical vibration interference. The machine learning model calls the weight parameters and bias terms pre-stored in flash memory in real time, inputting the variance data and spectral energy into the following linear regression equation (see Equation 5): An optimized turbulence sensitivity adjustment factor k is generated. This factor is immediately updated to the weight calculation module of the dynamic filtering algorithm, enabling the adaptive weighted moving average model to automatically adjust the filtering intensity according to the current vibration-turbulence coupling state. When the spectral energy increases significantly, the model automatically increases the weight of the w2 term to strengthen vibration interference suppression; when the liquid level variance increases, the weight of the w1 term is increased to enhance the turbulence filtering effect. The optimized k value is synchronously written to the HART protocol diagnostic field of the output unit for users to monitor the system's adaptive state.

[0083] Based on the tilt angle θ calculated in real time by the three-dimensional accelerometer 12, the dynamic correction formula for the pressure-level conversion is shown in calculation formula (6): Specifically, the three-dimensional accelerometer collects real-time triaxial acceleration data of the equipment, and the embedded microprocessor calculates the real-time angle θ between the equipment's axis and the direction of gravity through vector decomposition. This tilt angle value is dynamically applied to pressure-level conversion correction: when the system detects that the θ value exceeds a preset threshold, the tilt angle compensation module is automatically activated, correcting the traditional liquid level height calculation formula H=P / (ρ·g) to... The pressure input value Pcomp is a clean pressure signal that has undergone temperature and vibration compensation. The container geometry calibration parameter ΔHcal is obtained through the reference point calibration during the initial installation of the equipment and is pre-stored in non-volatile memory. During continuous measurement, the microprocessor updates the θ angle and recalculates the liquid level value every 200 milliseconds. When a sudden change in tilt angle is detected due to external impact, an anti-interference filtering algorithm is immediately activated to smooth the θ angle change curve, avoiding jumps in the output liquid level value. The compensation mechanism ensures that the true liquid level height can still be accurately resolved through gravity component correction and geometric reference offset calibration even under tilted installation conditions.

[0084] This invention provides an anti-interference intelligent liquid level transmitter system. It synchronously acquires raw liquid level signals and triaxial vibration data through a pressure sensor and a three-dimensional accelerometer encased in a stainless steel housing within the measurement unit. Utilizing an acceleration compensation algorithm in the anti-interference processing unit, it subtracts the inertial liquid column pressure caused by vibration from the raw pressure value based on parameters such as medium density and sensor three-dimensional offset. Furthermore, through an adaptive weighted moving average model of a dynamic filtering algorithm, it dynamically adjusts the filtering weights according to the liquid level change rate. Combined with a machine learning model, it optimizes the turbulence sensitivity factor using historical liquid level fluctuation variance and acceleration spectrum energy, achieving dual suppression of mechanical vibration and medium turbulence interference. Simultaneously, through… An ambient temperature sensor compensates for the temperature drift of the pressure sensor in real time and dynamically corrects the liquid level calculation deviation when the equipment is installed at an angle based on three-dimensional acceleration data. Finally, the output unit outputs a standardized liquid level signal in dual-mode (4-20mA + HART protocol), significantly improving the accuracy and stability of liquid level monitoring under complex operating conditions. It also possesses intelligent optimization capabilities to adapt to environmental changes. The specific advantages of this invention are as follows: 1) This invention effectively suppresses measurement errors caused by mechanical vibration and medium turbulence through dual anti-interference processing of acceleration compensation algorithm and dynamic filtering algorithm. The acceleration compensation algorithm, combined with three-dimensional acceleration sensor data, accurately eliminates inertial liquid column pressure interference caused by vibration. 2) This invention integrates an ambient temperature sensor to monitor internal temperature changes in real time and dynamically corrects the drift effect of temperature on the pressure sensor through a compensation formula. The compensation mechanism is based on pre-stored temperature coefficients and reference temperature parameters, ensuring the output stability of the pressure detection module within the range of sub-zero to high-temperature operating conditions. Temperature compensation, vibration compensation, and turbulence filtering form a triple anti-interference guarantee, significantly enhancing the long-term stability of the system in complex environments. (iii) This invention uses a three-dimensional accelerometer to calculate the device tilt angle θ in real time, dynamically corrects the pressure-level conversion formula, and ensures accurate resolution of the true liquid level height even when the device is installed at an angle through geometric calibration parameters and gravity component compensation. When the tilt angle changes abruptly, a filtering algorithm is automatically activated to smooth the output curve and prevent jumps in liquid level values.

[0085] It should be understood that the specific embodiments described above are merely illustrative or explanatory of the principles of the invention and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of the invention should be included within the protection scope of the invention. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries. The invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The apparatus for the functions specified in one or more boxes. The steps in the method of the embodiments of the present invention can be adjusted, combined, and deleted in order according to actual needs. The units in the system of the embodiments of the present invention can be combined, divided, and deleted according to actual needs.

Claims

1. An anti-interference intelligent liquid level transmitter system, characterized in that, include: The measuring unit is used to acquire the raw liquid level signal; An anti-interference processing unit, connected to the measurement unit, is used to perform anti-interference algorithm processing on the original liquid level signal, including using an acceleration compensation algorithm and a dynamic filtering algorithm to eliminate measurement errors caused by mechanical vibration and medium flow. The output unit is connected to the anti-interference processing unit and is used to output a standardized liquid level signal.

2. The anti-interference intelligent level transmitter system according to claim 1, characterized in that, The measurement unit includes a stainless steel housing, a pressure sensor, and a three-dimensional acceleration sensor. The pressure sensor and the three-dimensional acceleration sensor are electrically connected and encapsulated within the stainless steel housing.

3. The anti-interference intelligent level transmitter system according to claim 2, characterized in that, The anti-interference processing unit includes an embedded microprocessor, and the anti-interference processing unit performs the following operations through the embedded microprocessor: Read the data from the three-dimensional accelerometer and calculate the installation tilt compensation. By combining the installation tilt compensation amount, an acceleration compensation algorithm is used to eliminate the interference of mechanical vibration on the pressure signal, and the compensated pressure value is obtained. By combining the installation tilt compensation amount, a dynamic filtering algorithm is used to suppress signal fluctuations caused by medium turbulence, and the filtered liquid level value is obtained.

4. The anti-interference intelligent level transmitter system according to claim 3, characterized in that, The system also includes an ambient temperature sensor, which is signal-connected to the anti-interference processing unit to eliminate the drift effect of temperature on the pressure sensor and obtain a temperature drift compensation value.

5. The anti-interference intelligent liquid level transmitter system according to claim 4, characterized in that, The formula for calculating the compensated pressure value is as follows: Among them, P comp The pressure value after compensation, P raw The original pressure value is given, ρ is the density of the medium, and g is the density of the medium. eff To install tilt compensation, a x ,a y These are the acceleration components along the X and Y axes, respectively, h x ,h y ,h z These are the three-dimensional offsets from the sensor installation position to the container reference point, and the sensor includes a pressure sensor and a three-dimensional acceleration sensor.

6. The anti-interference intelligent level transmitter system according to claim 5, characterized in that, The formula for calculating the filtered liquid level value is as follows: in, Let L be the filtered liquid level value at time t. t The original liquid level value at time t after installation tilt compensation. Let t be the filtered liquid level value at time t-1, and α be the dynamic weighting coefficient.

7. The anti-interference intelligent liquid level transmitter system according to claim 5, characterized in that, The formula for calculating the temperature drift compensation value is as follows: P cal =P comp ·[1+β·(T-T ref )]; Among them, P cal This is the temperature drift compensation value, β is the inherent temperature coefficient of the pressure sensor, and T is the real-time temperature. ref For reference temperature, P comp This is the pressure value after acceleration compensation from the pressure sensor.

8. The anti-interference intelligent liquid level transmitter system according to claim 6, characterized in that, The formula for calculating α is as follows: ΔL t =L t -L t-1 ; Among them, L t-1 ΔL represents the original liquid level at time t-1 after installation tilt compensation. t denoted as the rate of change of liquid level between adjacent time points, and k is the turbulence sensitivity adjustment factor.

9. The anti-interference intelligent liquid level transmitter system according to claim 8, characterized in that, The formula for calculating the turbulence sensitivity adjustment factor k is as follows: Where w1 and w2 are training weights, b is the bias term, and σ 2 Let V be the historical liquid level fluctuation variance, E be the acceleration spectrum energy, and f be a linear combination function based on the historical liquid level fluctuation variance and the acceleration spectrum energy.

10. The anti-interference intelligent level transmitter system according to claim 1, characterized in that, The output unit is also used to convert the standardized liquid level signal into a 4-20mA+HART dual-mode output.

Citation Information

Cited By

  • Liquid level measurement method and device, electronic equipment and storage medium

    CN121230842A

  • LNG (Liquefied Natural Gas) liquid level metering method for automatic control system of LNG filling station

    CN121275092A