A liquid level measurement data processing method and system based on a liquid level sensor and the liquid level sensor
By constructing a liquid level measurement optical system and a data correction method, the technical problems existing in the liquid level measurement data processing of the prior art are solved, the accuracy and reliability of liquid measurement data are realized, and the effective data correction effect of liquid measurement data is achieved, thus solving the technical problems existing in the prior art and improving the accuracy and reliability of liquid level measurement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG SHENLAITE SCI & TECH
- Filing Date
- 2025-01-17
- Publication Date
- 2026-05-29
AI Technical Summary
Existing liquid level measurement data processing methods lack effective data correction means, making the measurement results susceptible to interference from environmental factors, affecting measurement accuracy and reliability, and increasing system operating costs and maintenance difficulty.
By constructing a liquid level measurement optical system, data is collected in real time, noise interference is monitored, target medium characteristic data is obtained, liquid level measurement data correction indicators are obtained through comprehensive analysis, and the data is corrected based on these indicators to evaluate the correction effect.
It reduces the frequency of calibration and maintenance of the liquid level sensor, ensures the accuracy and reliability of measurement data, improves the system's resistance to noise interference, is suitable for a wider range of environmental conditions, and reduces random and systematic errors.
Smart Images

Figure CN119845388B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of liquid level measurement technology, specifically to a liquid level measurement data processing method, system, and liquid level sensor based on a liquid level sensor. Background Technology
[0002] Liquid level sensors are widely used in industry, agriculture, and households. Their main function is to detect the height of liquids, thereby achieving liquid level measurement and control. With technological advancements, liquid level sensors have greatly improved in terms of accuracy, stability, and reliability. However, in practical applications, errors may occur in liquid level measurement data due to environmental and equipment factors. Therefore, researching a liquid level measurement data processing method based on liquid level sensors has significant practical implications.
[0003] For example, the invention patent with publication number CN110794108B is an automatic detection method and device for the status of a liquid monitoring sensor. The method includes: collecting liquid: collecting liquid into a flow-through tank, with at least one monitoring sensor disposed within the flow-through tank and located within the liquid; measuring various parameters of the liquid: at least one monitoring sensor measures various parameters within the liquid; detecting the status of the sensor: at least one monitoring sensor measures parameters when the liquid is at a first liquid level as a first measured value, and at least one monitoring sensor measures parameters when the liquid is at a second liquid level as a second measured value; comparing the first and second measured values, or comparing the first measured value with a standard value of a standard medium, and determining the status of at least one sensor based on the comparison result; emptying and cleaning: emptying the liquid from the flow-through tank and cleaning the flow-through tank.
[0004] For example, the invention patent with publication number CN118533266A is a photoelectric liquid level sensor with a line protection structure, including a sensor body, a connecting wire harness fixedly connected to one end of the sensor body, a connector fixedly connected to the other end of the connecting wire harness, protective components fixedly connected to the connector and the opposite side of the vertical connection, a receiving head and a transmitting head fixedly connected to the other end of the sensor body, the receiving head and the transmitting head being located on both sides of the other end of the sensor body, and a lens fixedly connected to the other end of the sensor body.
[0005] However, in the process of implementing the inventive technical solutions in the embodiments of this application, it was found that the above-mentioned technology has at least the following technical problems: Current liquid level measurement data processing methods often lack effective data correction means, making the measurement results susceptible to interference from environmental factors, affecting measurement accuracy and reliability. This leads to the need for frequent calibration and maintenance of the liquid level sensor, increasing system operating costs and maintenance difficulty. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention provides a liquid level measurement data processing method, system, and liquid level sensor based on a liquid level sensor, which can effectively solve the problems mentioned in the background technology.
[0007] To achieve the above objectives, the present invention provides the following technical solution: The first aspect of the present invention provides a liquid level measurement data processing method based on a liquid level sensor, comprising: S1. Deploying a liquid level sensor according to a preset optical element and optical layout, constructing a liquid level measurement optical system, and collecting liquid level measurement data in real time according to the liquid level measurement optical system.
[0008] S2. Monitor the noise interference data of liquid level measurement, process it to obtain the evaluation value of the noise interference level of liquid level measurement, obtain the characteristic data of the target medium, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index.
[0009] S3. Based on the corrected liquid level measurement data and the evaluation value of the liquid level measurement noise interference level, a comprehensive analysis is conducted to obtain the liquid level measurement data correction effect parameter, and the corrected liquid level measurement data is evaluated and fed back based on the liquid level measurement data correction effect parameter.
[0010] As a further method, the processing obtains an evaluation value of the level measurement noise interference level. The specific analysis process is as follows: the level measurement noise interference data includes: measurement environment data and level sensor operation data.
[0011] The measured environmental data includes: the rate of temperature change, the rate of humidity change, the particulate matter concentration, and the electromagnetic interference intensity at each environmental monitoring point within a preset measurement period.
[0012] The liquid level sensor's operating data includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement cycle.
[0013] The critical temperature change rate, critical humidity change rate, critical particulate matter concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage, and permissible deviation voltage were extracted from the liquid level sensor database.
[0014] Based on the liquid level measurement noise interference data, a liquid level measurement noise interference level assessment value is obtained. This assessment value is used to quantitatively evaluate the impact of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, providing a basis for correcting the liquid level measurement data.
[0015] As a further method, the comprehensive analysis obtains the liquid level measurement data requirement correction index. The specific analysis process is as follows: the target medium characteristic data includes the light transmittance, viscosity and turbidity of the target medium.
[0016] Critical transmittance, critical viscosity, and critical turbidity were extracted from the liquid level sensor database.
[0017] Based on the target medium characteristic data and the evaluation value of the level measurement noise interference level, a level measurement data demand correction index is obtained through comprehensive analysis. The level measurement data demand correction index is used to quantitatively evaluate the degree of level measurement data demand correction and to provide a basis for correcting the level measurement data.
[0018] As a further method, the process of correcting the liquid level measurement data according to the liquid level measurement data requirement correction index is as follows: extract the liquid level measurement data requirement correction index threshold from the liquid level sensor database, compare the liquid level measurement data requirement correction index with the liquid level measurement data requirement correction index threshold, and if the liquid level measurement data requirement correction index is lower than the liquid level measurement data requirement correction index threshold, then there is no need to correct the liquid level measurement data.
[0019] If the required correction index for liquid level measurement data is higher than or equal to the required correction index threshold for liquid level measurement data, then the difference between the required correction index for liquid level measurement data and the required correction index threshold for liquid level measurement data is calculated to obtain the correction index difference value. The liquid level measurement data is then corrected based on the correction index difference value to obtain the corrected liquid level measurement data.
[0020] As a further method, the process of correcting the liquid level measurement data based on the correction index difference is as follows: extract the mapping set between the correction index difference and the correction index difference parameter from the liquid level sensor database, input the real-time correction index difference, and obtain the corresponding correction index difference parameter based on the mapping set.
[0021] The correction index difference parameter is added to the liquid level measurement data to obtain the corrected liquid level measurement data.
[0022] As a further method, the comprehensive analysis obtains the correction effect parameter of the liquid level measurement data. The specific analysis process is as follows: extract the allowable deviation liquid level measurement value from the liquid level sensor database.
[0023] The liquid level measurement values of each liquid level sensor at each monitoring time point are extracted from the corrected liquid level measurement data. Based on the liquid level measurement values of each liquid level sensor at each monitoring time point and the liquid level measurement noise interference level evaluation value, a liquid level measurement data correction effect parameter is obtained through comprehensive analysis. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data and provides a basis for evaluating and providing feedback on the corrected liquid level measurement data.
[0024] As a further method, the evaluation and feedback of the corrected liquid level measurement data based on the correction effect parameter of the liquid level measurement data is carried out as follows: the correction effect reference index of the liquid level measurement data is extracted from the liquid level sensor database, the correction effect parameter of the liquid level measurement data is compared with the correction effect reference index of the liquid level measurement data, if the correction effect parameter of the liquid level measurement data is higher than or equal to the correction effect reference index of the liquid level measurement data, the data correction effect is evaluated as qualified, and the corrected liquid level measurement data is displayed and output; if the correction effect parameter of the liquid level measurement data is lower than the correction effect reference index of the liquid level measurement data, the data correction effect is evaluated as unqualified, and an early warning feedback is given for the unqualified data correction.
[0025] As a further method, the specific numerical expression for the liquid level measurement noise interference level assessment value is as follows:
[0026]
[0027]
[0028] In the formula, μS represents the assessment value of the noise interference level of liquid level measurement, and e represents the natural constant. This represents the rate of temperature change at the s-th environmental monitoring point within a preset measurement period. This represents the rate of humidity change at the s-th environmental monitoring point within a preset measurement period. Let represent the particulate matter concentration at the s-th environmental monitoring station at the ith monitoring time point, where i represents the number of each monitoring time point (i = 1, 2, 3, ..., t), t represents the total number of monitoring time points, and s represents the number of each environmental monitoring station (s = 1, 2, 3, ..., g), where g represents the total number of environmental monitoring stations. Y represents the electromagnetic interference intensity at the s-th environmental monitoring point at the ith monitoring time point, and Y represents the sensor voltage within the preset measurement period. This represents the vibration frequency of the r-th electronic component within a preset measurement period, where r represents the number of each electronic component, r = 1, 2, 3, ..., h, and h represents the total number of electronic components. This represents the rate of change of the critical temperature. This represents the critical rate of change in humidity. Indicates the critical particulate matter concentration. Indicates the critical electromagnetic interference intensity. Y represents the critical vibration frequency of an electronic component. 0 ΔY represents the sensor's rated voltage, and ΔY represents the allowable deviation voltage.
[0029] A second aspect of the present invention provides a liquid level measurement data processing system based on a liquid level sensor, comprising: a liquid level measurement data acquisition module, a liquid level measurement data processing module, and a data evaluation and feedback platform.
[0030] The liquid level measurement data acquisition module is used to deploy liquid level sensors according to preset optical elements and optical layout, construct a liquid level measurement optical system, and acquire liquid level measurement data in real time based on the liquid level measurement optical system.
[0031] The liquid level measurement data processing module is used to monitor the liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference level assessment value, acquire the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index.
[0032] The data evaluation and feedback platform is used to comprehensively analyze the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference level evaluation value, and to evaluate and provide feedback on the corrected liquid level measurement data based on the liquid level measurement data correction effect parameters.
[0033] A third aspect of the present invention provides a liquid level sensor for processing liquid level measurement data, comprising: a light source, an optical receiver, a lens, a reflector, a signal processing circuit, a microprocessor, a display, and a housing.
[0034] The light source is used to provide a stable and predictable beam of light for detection.
[0035] The optical receiver is used to receive the reflected light signal and convert the light signal into an electrical signal for subsequent circuit processing.
[0036] The lens is used to focus the light beam.
[0037] The reflector is used to change the optical path.
[0038] The signal processing circuit is used to process the electrical signal converted by the receiver, and includes amplifier, filter and A / D converter functions.
[0039] The microprocessor is used to process digital signals and calculate the liquid level height.
[0040] The display is used to output the processed liquid level information to an external device.
[0041] The housing is used to protect the internal electronic components from the influence of the external environment.
[0042] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:
[0043] (1) This invention provides a liquid level measurement data processing method, system, and liquid level sensor based on a liquid level sensor. It analyzes and obtains parameters for the correction effect of liquid level measurement data, which can provide a basis for liquid level measurement data correction. Effective data correction can reduce the frequency of calibration and maintenance of the liquid level sensor, and reduce unnecessary system downtime or alarms caused by measurement noise. It can also ensure that the liquid level measurement data is more accurate and reliable, enhancing user trust in the system.
[0044] (2) By comprehensively analyzing the temperature change rate, humidity change rate, particulate matter concentration, electromagnetic interference intensity, electronic component vibration frequency and sensor voltage, the present invention obtains the evaluation value of the system noise interference level, which can guide the optimization of the system's anti-noise interference capability, make the sensor applicable to a wider range of environments and conditions, improve the consistency and repeatability of measurements, and reduce random errors and systematic errors.
[0045] (3) This invention obtains a liquid level measurement data correction index by comprehensively analyzing the transmittance, viscosity, turbidity, and noise interference level of the target medium. This index can be used to correct measurement data in real time or after the fact. It can also evaluate the performance of the sensor under different environmental conditions, thereby selecting a sensor that is more suitable for a specific application scenario. Attached Figure Description
[0046] The present invention will be further described with reference to the accompanying drawings, but the embodiments in the drawings do not constitute any limitation on the present invention. For those skilled in the art, other drawings can be obtained based on the following drawings without creative effort.
[0047] Figure 1 This is a schematic diagram of the method flow of the present invention.
[0048] Figure 2 This is a schematic diagram of the system module connections of the present invention.
[0049] Figure 3 This is a schematic diagram of the liquid level sensor of the present invention. Detailed Implementation
[0050] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0051] Reference Figure 1 As shown, the first aspect of the present invention provides a liquid level measurement data processing method based on a liquid level sensor, comprising: S1. deploying a liquid level sensor according to a preset optical element and optical layout, constructing a liquid level measurement optical system, and collecting liquid level measurement data in real time according to the liquid level measurement optical system.
[0052] In one specific embodiment, the steps for deploying the liquid level sensor are as follows: R1. Emitter layout: Determine the relative positions of the light source and the lens in order to emit a suitable light beam.
[0053] R2. Receiver layout: Determine the position of the photosensitive element so that it can receive reflected or transmitted light signals.
[0054] R3. Optical path design: Design the path of the light beam to ensure that the light beam can correctly illuminate the liquid surface and reflect back to the photosensitive element.
[0055] In a specific embodiment, the steps for constructing the liquid level measurement optical system are as follows: U1. Install the light source, lens, reflector and photosensitive element into the corresponding positions according to the design drawings.
[0056] U2. Adjust the position of the lens and reflector to ensure the beam is precisely aligned.
[0057] U3. Secure all optical components to ensure system stability.
[0058] U4. Calibrate the system at different known liquid levels and establish the relationship between the optical signal and the liquid level.
[0059] S2. Monitor the noise interference data of liquid level measurement, process it to obtain the evaluation value of the noise interference level of liquid level measurement, obtain the characteristic data of the target medium, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index.
[0060] Specifically, the processing yields an assessment value for the level measurement noise interference level. The specific analysis process is as follows: the level measurement noise interference data includes: measurement environment data and level sensor operation data.
[0061] The measured environmental data includes: the rate of temperature change, the rate of humidity change, the particulate matter concentration, and the electromagnetic interference intensity at each environmental monitoring point within a preset measurement period.
[0062] The liquid level sensor's operating data includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement cycle.
[0063] It should be explained that the electronic components in this embodiment include: a light source, an optical receiver, a lens, and a reflector.
[0064] It needs to be explained that temperature sensors can be used to monitor the temperature at each environmental monitoring point in real time and calculate the rate of temperature change: Rate of temperature change = (Current temperature - Previous temperature) / Time interval. Humidity sensors (such as capacitive humidity sensors) can be used to monitor the humidity at each environmental monitoring point in real time and calculate the rate of humidity change: Humidity change = (Current humidity - Previous humidity) / Time interval. Particulate matter sensors (such as laser scattering or photoresist particulate matter sensors) can be used to monitor and obtain particulate matter concentration. Electromagnetic field strength meters or electromagnetic interference detection instruments can be used to measure and obtain electromagnetic interference intensity. Sensor voltage can be monitored in real time through voltage monitoring modules or built-in voltage detection circuits. Vibration sensors (such as accelerometers) can be attached to key electronic components. Vibration signals can be analyzed using signal analyzers or spectrum analyzers to obtain vibration frequency.
[0065] It should be added that the noise involved in the liquid level measurement process includes, but is not limited to, random noise, system noise, and environmental noise. Random noise refers to random fluctuations caused by thermal noise and shot noise from electronic components. System noise refers to factors caused by internal factors of the sensor system, such as power supply fluctuations and mechanical vibrations. Environmental noise refers to factors caused by external environmental factors, such as temperature changes, humidity changes, and dust changes.
[0066] The critical temperature change rate, critical humidity change rate, critical particulate matter concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage, and permissible deviation voltage were extracted from the liquid level sensor database.
[0067] Based on the liquid level measurement noise interference data, a liquid level measurement noise interference level assessment value is obtained. This assessment value is used to quantitatively evaluate the impact of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, providing a basis for correcting the liquid level measurement data.
[0068] In one specific embodiment, the numerical expression for the liquid level measurement noise interference level assessment value is:
[0069]
[0070] In the formula, μS represents the assessment value of the noise interference level of liquid level measurement, and e represents the natural constant. This represents the rate of temperature change at the s-th environmental monitoring point within a preset measurement period. This represents the rate of humidity change at the s-th environmental monitoring point within a preset measurement period. Let represent the particulate matter concentration at the s-th environmental monitoring station at the ith monitoring time point, where i represents the number of each monitoring time point (i = 1, 2, 3, ..., t), t represents the total number of monitoring time points, and s represents the number of each environmental monitoring station (s = 1, 2, 3, ..., g), where g represents the total number of environmental monitoring stations. Y represents the electromagnetic interference intensity at the s-th environmental monitoring point at the ith monitoring time point, and Y represents the sensor voltage within the preset measurement period. This represents the vibration frequency of the r-th electronic component within a preset measurement period, where r represents the number of each electronic component, r = 1, 2, 3, ..., h, and h represents the total number of electronic components. This represents the rate of change of the critical temperature. This represents the critical rate of change in humidity. Indicates the critical particulate matter concentration. Indicates the critical electromagnetic interference intensity. Y represents the critical vibration frequency of an electronic component. 0 ΔY represents the sensor's rated voltage, and ΔY represents the allowable deviation voltage.
[0071] It should be explained that the greater the rate of temperature change and humidity change, the higher the particulate matter concentration, the greater the electromagnetic interference intensity, the greater the absolute difference between the sensor voltage and the rated voltage, and the greater the vibration frequency of the electronic components, the greater the corresponding evaluation value of the noise interference level of liquid level measurement. This indicates that the impact of environmental anomalies and sensor anomalies on noise generation during liquid level measurement is higher.
[0072] It's important to explain that temperature changes are generally associated with humidity changes. Increased temperature can cause moisture in the air to evaporate, thus reducing humidity; conversely, decreased temperature can reduce humidity. Temperature changes can affect airflow and particulate matter dispersion, thus affecting particulate matter concentration. They can also affect the performance of electronic components, potentially influencing the generation and intensity of electromagnetic interference (EMI). They can also cause voltage drift in sensor circuits. Temperature changes can also affect the expansion and contraction of mechanical parts, thus affecting vibration frequency. High humidity can promote particulate matter condensation, increasing particulate matter concentration. Humidity changes can affect the dielectric constant of air, thus affecting the propagation of electromagnetic waves and the intensity of interference. Particulate matter may absorb or scatter electromagnetic waves, affecting the propagation of EMI. EMI can introduce noise into sensor circuits, affecting voltage stability. EMI can affect the operating state of certain electronic components, indirectly affecting vibration frequency. Sensor voltage fluctuations can cause changes in the operating state of electronic components, thus affecting vibration frequency.
[0073] It should be explained that this embodiment obtains a system noise interference assessment value by comprehensively analyzing the temperature change rate, humidity change rate, particulate matter concentration, electromagnetic interference intensity, electronic component vibration frequency, and sensor voltage. This assessment can guide the optimization of the system's noise immunity, and improving noise immunity allows the sensor to be used in a wider range of environments and conditions. Reducing noise can improve measurement consistency and repeatability, reduce random and systematic errors, and enhance user confidence in the measurement system. Maintaining high-precision measurements in noisy environments can improve system reliability. It can also reduce sensor failures and maintenance needs caused by noise.
[0074] Furthermore, a comprehensive analysis yields the required correction index for liquid level measurement data. The specific analysis process involves the target medium's characteristic data, including its transmittance, viscosity, and turbidity.
[0075] It should be explained that the transmittance, viscosity, and turbidity of the target medium can be obtained from the material safety data sheet or technical specifications provided by the medium supplier. Alternatively, a spectrophotometer can be used to measure the transmittance of the target medium, a viscometer to measure the viscosity of the target medium, and a turbidity meter to measure the turbidity of the target medium.
[0076] Critical transmittance, critical viscosity, and critical turbidity were extracted from the liquid level sensor database.
[0077] Based on the target medium characteristic data and the evaluation value of the level measurement noise interference level, a level measurement data demand correction index is obtained through comprehensive analysis. The level measurement data demand correction index is used to quantitatively evaluate the degree of level measurement data demand correction and to provide a basis for correcting the level measurement data.
[0078] In one specific embodiment, the numerical expression for the liquid level measurement data correction index is:
[0079]
[0080] In the formula, μX represents the liquid level measurement data requirement correction index, e represents the natural constant, and α G α represents the transmittance of the target medium. N α represents the viscosity of the target medium. Z Δα represents the turbidity of the target medium. G Δα represents the critical transmittance. N Represents the critical viscosity, Δα Z The value represents the critical turbidity, and μS represents the assessment value of the noise interference level in the liquid level measurement. This represents the characteristic factor indicating the impact of the preset liquid level measurement noise interference level assessment value on the liquid level measurement accuracy.
[0081] It should be explained that when the transmittance of the target medium is lower, the viscosity and turbidity of the target medium are higher, and the evaluation value of the noise interference of the liquid level measurement is larger, the corresponding liquid level measurement data correction index will be larger, indicating that the liquid level measurement data needs to be corrected to a greater extent.
[0082] It should be explained that in this embodiment... This refers to a characteristic factor representing the impact of a preset assessment value for the level measurement noise interference level on the accuracy of the level measurement. The value of this characteristic factor indicates the degree of influence of the assessment value on the accuracy of the level measurement noise interference level. In use, this characteristic factor can be directly obtained from the level sensor database. The database contains preset values for this characteristic factor, and a mapping set is formed between the assessment value for the level measurement noise interference level and the preset characteristic factor in the database. By inputting the real-time assessment value for the level measurement noise interference level into this mapping set, the corresponding characteristic factor affecting the accuracy of the level measurement can be obtained. This mapping relationship can be one-to-one or many-to-one. The value range of this characteristic factor is between 0 and 1, representing the degree from no influence to maximum influence.
[0083] It's important to explain that transmittance refers to the ability of light to pass through a medium, while turbidity refers to the degree of light scattering and absorption caused by suspended particles in the medium. Low transmittance usually means high turbidity because suspended particles block or scatter light. Viscosity is a measure of the resistance to liquid flow. High-viscosity liquids may contain more suspended matter or high molecular weight substances, which can increase turbidity and indirectly reduce transmittance. High-viscosity liquids may also have more difficulty maintaining a uniform distribution of suspended particles, potentially leading to increased turbidity. Low transmittance and high turbidity cause light or sound signals to attenuate as they propagate through the medium, thus reducing the signal-to-noise ratio. Turbidity and suspended particles cause signal scattering, making the received signal unstable and increasing noise. Viscosity affects the fluidity and dynamic response of the medium, potentially causing measurement delays or nonlinearities, thereby increasing noise.
[0084] It should be explained that this embodiment derives a liquid level measurement data correction index by comprehensively analyzing the transmittance, viscosity, turbidity, and liquid level measurement noise interference level of the target medium. This index can be used for real-time or post-event correction of measurement data. Analyzing the transmittance, viscosity, turbidity, and liquid level measurement noise interference level of the target medium also allows for the evaluation of sensor performance under different environmental conditions, thereby enabling the selection of a sensor more suitable for specific application scenarios. When measurement data becomes abnormal, it can also help diagnose the problem. For example, if the liquid level reading suddenly becomes unstable, it may be due to an increase in turbidity. Furthermore, it can aid in cost-benefit analysis, selecting the most cost-effective sensor and maintenance strategy.
[0085] Furthermore, the liquid level measurement data is corrected according to the liquid level measurement data correction index. The specific process is as follows: the liquid level measurement data correction index threshold is extracted from the liquid level sensor database, and the liquid level measurement data correction index is compared with the liquid level measurement data correction index threshold. If the liquid level measurement data correction index is lower than the liquid level measurement data correction index threshold, then no correction is required for the liquid level measurement data.
[0086] If the required correction index for liquid level measurement data is higher than or equal to the required correction index threshold for liquid level measurement data, then the difference between the required correction index for liquid level measurement data and the required correction index threshold for liquid level measurement data is calculated to obtain the correction index difference value. The liquid level measurement data is then corrected based on the correction index difference value to obtain the corrected liquid level measurement data.
[0087] Specifically, the liquid level measurement data is corrected based on the correction index difference. The specific process is as follows: extract the mapping set between the correction index difference and the correction index difference parameter from the liquid level sensor database, input the real-time correction index difference, and obtain the corresponding correction index difference parameter based on the mapping set.
[0088] The correction index difference parameter is added to the liquid level measurement data to obtain the corrected liquid level measurement data.
[0089] It should be noted that in this embodiment, the mapping relationship of the mapping set is a one-to-one relationship.
[0090] S3. Based on the corrected liquid level measurement data and the evaluation value of the liquid level measurement noise interference level, a comprehensive analysis is conducted to obtain the liquid level measurement data correction effect parameter, and the corrected liquid level measurement data is evaluated and fed back based on the liquid level measurement data correction effect parameter.
[0091] Specifically, the parameters for correcting the liquid level measurement data are obtained through comprehensive analysis. The specific analysis process is as follows: the allowable deviation liquid level measurement value is extracted from the liquid level sensor database.
[0092] It should be explained that, in this embodiment, the allowable deviation liquid level measurement value refers to the difference in rated liquid level height between the current monitoring time point and the adjacent monitoring time point.
[0093] The liquid level measurement values of each liquid level sensor at each monitoring time point are extracted from the corrected liquid level measurement data. Based on the liquid level measurement values of each liquid level sensor at each monitoring time point and the liquid level measurement noise interference level evaluation value, a liquid level measurement data correction effect parameter is obtained through comprehensive analysis. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data and provides a basis for evaluating and providing feedback on the corrected liquid level measurement data.
[0094] In one specific embodiment, the numerical expression for the liquid level measurement data correction effect parameter is:
[0095]
[0096] In the formula, μG represents the correction effect parameter for liquid level measurement data, e represents the natural constant, and δ in This represents the liquid level measurement value of the nth liquid level sensor corresponding to the i-th monitoring time point, where i represents the number of each monitoring time point, and δ (i-1)n This represents the liquid level measurement value of the nth liquid level sensor corresponding to the (i-1)th monitoring time point, Δδ represents the allowable deviation liquid level measurement value, i represents the number of each monitoring time point, i = 1, 2, 3, ..., t, t represents the total number of monitoring time points, n represents the number of each liquid level sensor, n = 1, 2, 3, ..., m, m represents the total number of liquid level sensors, and μS represents the liquid level measurement noise interference assessment value. This represents the characteristic factor indicating the impact of the preset liquid level measurement noise interference level assessment value on the liquid level measurement accuracy.
[0097] It should be explained that when the absolute difference between the liquid level measurement value and the adjacent monitoring time point is larger, the fluctuation of the liquid level measurement value of each liquid level sensor is greater, and the evaluation value of the liquid level measurement noise interference is also greater, the corresponding liquid level measurement data correction effect parameter is smaller, indicating that the effect of correcting the liquid level measurement data is worse.
[0098] It's important to explain that the noise assessment value reflects the sensor's measurement accuracy. High noise levels can cause the measured level to fluctuate near the actual level, leading to reduced accuracy. Level measurement noise can be affected by environmental factors such as temperature changes, vibration, and electromagnetic interference. At times of unstable environmental conditions, the noise assessment value may increase, consequently reducing the reliability of the level measurement. Sensor aging, contamination, or damage can also increase the noise assessment value. In such cases, the measured level may deviate from the true value, requiring sensor calibration or maintenance.
[0099] It should be explained that this embodiment allows for a direct visualization of the correction effect by analyzing the corrected liquid level measurement value and the evaluation value of the liquid level measurement noise interference level. If, under the same noise influence, the corrected liquid level measurement value is more stable and accurate, then the correction method can be considered effective. Analyzing the corrected data can also verify the accuracy of the adopted correction algorithm or model. If the corrected data is closer to the expected true value, this indicates that the correction algorithm is reliable. Limitations of the correction method under specific conditions can also be identified. For example, some correction methods may not work well at low or high liquid levels.
[0100] It should be explained that this embodiment obtains the liquid level measurement data correction effect parameter by analyzing the corrected liquid level measurement value and the liquid level measurement noise interference level evaluation value, which can provide a basis for liquid level measurement data correction. Effective data correction can reduce the frequency of sensor calibration and maintenance, ensuring more accurate and reliable liquid level measurement data and reducing unnecessary system downtime or alarms caused by measurement noise. It can also provide users with more stable and reliable liquid level monitoring data, enhancing user trust in the system.
[0101] Furthermore, the corrected liquid level measurement data is evaluated and feedback is provided based on the correction effect parameter of the liquid level measurement data. The specific process is as follows: the correction effect reference index of the liquid level measurement data is extracted from the liquid level sensor database, and the correction effect parameter of the liquid level measurement data is compared with the correction effect reference index. If the correction effect parameter of the liquid level measurement data is higher than or equal to the correction effect reference index, the data correction effect is evaluated as qualified, and the corrected liquid level measurement data is displayed and output. If the correction effect parameter of the liquid level measurement data is lower than the correction effect reference index, the data correction effect is evaluated as unqualified, and an early warning feedback is provided for the unqualified data correction.
[0102] In one specific embodiment, the process of providing early warning feedback for correcting non-compliant data is as follows: First, for the identified non-compliant data, the system generates early warning information. The early warning information may include the following: the specific time point of the non-compliant data, the liquid level sensor number or location, and the specific value of the correction effect parameter.
[0103] Then, the warning information can be sent to relevant personnel, either by sending an email containing the warning information to a designated email address, or by sending the warning information to the relevant personnel's mobile phones via SMS. An alarm can also be issued from the control room using an audible and visual alarm system.
[0104] Secondly, warning information needs to be recorded in the system logs to facilitate subsequent analysis and tracing.
[0105] Furthermore, initiating the non-compliant data processing procedure may include: recalibrating or inspecting the level sensor; analyzing the cause of the non-compliant data, such as sensor failure or environmental factors; adjusting the data correction algorithm or parameters; and arranging on-site inspection or maintenance.
[0106] Finally, based on the feedback from the early warning system, the liquid level measurement data correction process was improved, and the reference indicators for the correction effect were updated to adapt to actual conditions. This improved the robustness and reliability of the system and reduced the occurrence of unqualified data.
[0107] Reference Figure 2 As shown, the second aspect of the present invention provides a liquid level measurement data processing system based on a liquid level sensor, comprising: a liquid level measurement data acquisition module, a liquid level measurement data processing module, a data evaluation and feedback platform, and a liquid level sensor database.
[0108] The liquid level measurement data acquisition module is used to deploy liquid level sensors according to preset optical elements and optical layout, construct a liquid level measurement optical system, and acquire liquid level measurement data in real time based on the liquid level measurement optical system.
[0109] The liquid level measurement data processing module is used to monitor the liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference level assessment value, acquire the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index.
[0110] The data evaluation and feedback platform is used to comprehensively analyze the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference level evaluation value, and to evaluate and provide feedback on the corrected liquid level measurement data based on the liquid level measurement data correction effect parameters.
[0111] In one specific embodiment, the liquid level sensor database is used to store relevant parameters for evaluating the correction effect of liquid level measurement data, including critical transmittance, critical viscosity, critical turbidity, liquid level measurement data correction index thresholds, and liquid level measurement data correction effect reference indicators, as well as data extracted from the liquid level sensor database in the above embodiment. The liquid level sensor transmits data directly to the database via wired (e.g., RS-485, Ethernet) or wireless (e.g., Wi-Fi, Bluetooth, RFID, GSM / 3G / 4G) methods. Alternatively, a data acquisition system or programmable logic controller can be used to collect data from the liquid level sensor and then store it in the database. Data can then be obtained directly from the sensor or data acquisition system via a real-time data stream interface (e.g., MQTT, OPC UA). Data can also be obtained from the database or middleware services via RESTful API or SOAP API calls.
[0112] Reference Figure 3 As shown, a third aspect of the present invention provides a liquid level sensor for processing liquid level measurement data, comprising: a light source, an optical receiver, a lens, a reflector, a signal processing circuit, a microprocessor, a display, and a housing.
[0113] The light source is used to provide a stable and predictable beam of light for detection.
[0114] The optical receiver is used to receive the reflected light signal and convert the light signal into an electrical signal for subsequent circuit processing.
[0115] The lens is used to focus the light beam.
[0116] The reflector is used to change the optical path.
[0117] It should be explained that lenses can improve the directivity and focus of light beams, reduce scattering, and improve measurement accuracy. Suitable light sources can be selected, such as laser diodes or LEDs. Convex or concave lenses can be chosen as needed to focus or diverge light. Photodiodes, phototransistors, or other photoelectric sensors can be selected as the light signal receiver.
[0118] The signal processing circuit is used to process the electrical signal converted by the receiver, and includes amplifier, filter and A / D converter functions.
[0119] It should be added that the amplifier can enhance weak electrical signals, the filter can remove noise and interference to ensure signal clarity, and the A / D converter is used to convert analog signals into digital signals for easy processing by a microprocessor.
[0120] The microprocessor is used to process digital signals and calculate the liquid level height.
[0121] The display is used to output the processed liquid level information to an external device.
[0122] The housing is used to protect the internal electronic components from the influence of the external environment.
[0123] The above description is merely an example and illustration of the structure of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the structure of the invention or exceed the scope defined in the claims, all of which should fall within the protection scope of the present invention.
Claims
1. A method for processing liquid level measurement data based on a liquid level sensor, characterized in that, include: S1. Deploy the liquid level sensor according to the preset optical elements and optical layout to construct the liquid level measurement optical system, and collect liquid level measurement data in real time according to the liquid level measurement optical system; S2. Monitor the noise interference data of liquid level measurement, process it to obtain the evaluation value of the noise interference level of liquid level measurement, obtain the characteristic data of the target medium, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index; The specific numerical expression for the evaluation value of the noise interference level of the liquid level measurement is as follows: ; In the formula, This represents the assessment value for the degree of noise interference in liquid level measurement, where e represents the natural constant. This represents the rate of temperature change at the s-th environmental monitoring point within a preset measurement period. This represents the rate of humidity change at the s-th environmental monitoring point within a preset measurement period. This represents the particulate matter concentration at the s-th environmental monitoring point at the ith monitoring time point, where i represents the number of each monitoring time point. t represents the total number of monitoring time points, and s represents the number of each environmental monitoring point. , This indicates the total number of environmental monitoring stations. This represents the electromagnetic interference intensity at the s-th environmental monitoring point at the ith monitoring time point. This indicates the sensor voltage within a preset measurement period. This represents the vibration frequency of the r-th electronic component within a preset measurement period, where r represents the number of each electronic component. h represents the total number of electronic components. This represents the rate of change of the critical temperature. This represents the critical rate of change in humidity. Indicates the critical particulate matter concentration. Indicates the critical electromagnetic interference intensity. Indicates the critical vibration frequency of an electronic component. Indicates the sensor's rated voltage. Indicates the allowable deviation voltage; The numerical expression for the liquid level measurement data correction index is: ; In the formula, This represents the required correction index for liquid level measurement data, where e represents the natural constant. Indicates the transmittance of the target medium. Indicates the viscosity of the target medium. Indicates the turbidity of the target medium. Indicates the critical transmittance. Indicates the critical viscosity. Indicates critical turbidity. This indicates the assessment value for the degree of noise interference in liquid level measurement. This represents the characteristic factor indicating the impact of the preset liquid level measurement noise interference level assessment value on the liquid level measurement accuracy; S3. Based on the corrected liquid level measurement data and the evaluation value of the liquid level measurement noise interference level, a comprehensive analysis is conducted to obtain the liquid level measurement data correction effect parameter, and the corrected liquid level measurement data is evaluated and fed back based on the liquid level measurement data correction effect parameter. The numerical expression for the parameter of the liquid level measurement data correction effect is: ; In the formula, This parameter represents the correction effect on liquid level measurement data, where e represents the natural constant. This represents the liquid level measurement value of the nth liquid level sensor corresponding to the i-th monitoring time point, where i represents the number of each monitoring time point. This represents the liquid level measurement value of the nth liquid level sensor corresponding to the (i-1)th monitoring time point. This represents the allowable deviation of the measured liquid level, where i represents the number of each monitoring time point. t represents the total number of monitoring time points, and n represents the number of each liquid level sensor. m represents the total number of liquid level sensors. This indicates the assessment value for the degree of noise interference in liquid level measurement. This represents the characteristic factor indicating the impact of the preset liquid level measurement noise interference level assessment value on the accuracy of liquid level measurement.
2. The liquid level measurement data processing method based on a liquid level sensor according to claim 1, characterized in that: The processing yields an assessment value for the noise interference level of the liquid level measurement. The specific analysis process is as follows: The liquid level measurement noise interference data includes: measurement environment data and liquid level sensor operation data; The measured environmental data includes: the rate of temperature change, the rate of humidity change, the particulate matter concentration, and the electromagnetic interference intensity at each environmental monitoring point within a preset measurement period; The liquid level sensor's operating data includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement cycle; The critical temperature change rate, critical humidity change rate, critical particulate matter concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage, and permissible deviation voltage were extracted from the liquid level sensor database. Based on the liquid level measurement noise interference data, a liquid level measurement noise interference level assessment value is obtained. This assessment value is used to quantitatively evaluate the impact of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, providing a basis for correcting the liquid level measurement data.
3. The liquid level measurement data processing method based on a liquid level sensor according to claim 2, characterized in that: The comprehensive analysis yields the required correction index for liquid level measurement data. The specific analysis process is as follows: The target medium characteristic data includes the target medium's transmittance, viscosity, and turbidity; Critical transmittance, critical viscosity, and critical turbidity were extracted from the liquid level sensor database. Based on the target medium characteristic data and the evaluation value of the level measurement noise interference level, a level measurement data demand correction index is obtained through comprehensive analysis. The level measurement data demand correction index is used to quantitatively evaluate the degree of level measurement data demand correction and to provide a basis for correcting the level measurement data.
4. The liquid level measurement data processing method based on a liquid level sensor according to claim 3, characterized in that: The specific process of correcting the liquid level measurement data according to the required correction index is as follows: The threshold value of the liquid level measurement data correction index is extracted from the liquid level sensor database. The liquid level measurement data correction index is compared with the threshold value. If the liquid level measurement data correction index is lower than the threshold value, then no correction is required for the liquid level measurement data. If the required correction index for liquid level measurement data is higher than or equal to the required correction index threshold for liquid level measurement data, then the difference between the required correction index for liquid level measurement data and the required correction index threshold for liquid level measurement data is calculated to obtain the correction index difference value. The liquid level measurement data is then corrected based on the correction index difference value to obtain the corrected liquid level measurement data.
5. The liquid level measurement data processing method based on a liquid level sensor according to claim 4, characterized in that: The specific process of correcting the liquid level measurement data based on the difference in correction index is as follows: Extract the mapping set between the correction index difference and the correction index difference parameter from the liquid level sensor database, input the real-time correction index difference, and obtain the corresponding correction index difference parameter based on the mapping set; The correction index difference parameter is added to the liquid level measurement data to obtain the corrected liquid level measurement data.
6. The liquid level measurement data processing method based on a liquid level sensor according to claim 1, characterized in that: The comprehensive analysis yields parameters for the correction effect of the liquid level measurement data. The specific analysis process is as follows: Extract the permissible deviation liquid level measurement value from the liquid level sensor database; The liquid level measurement values of each liquid level sensor at each monitoring time point are extracted from the corrected liquid level measurement data. Based on the liquid level measurement values of each liquid level sensor at each monitoring time point and the liquid level measurement noise interference level evaluation value, a liquid level measurement data correction effect parameter is obtained through comprehensive analysis. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data and provides a basis for evaluating and providing feedback on the corrected liquid level measurement data.
7. The liquid level measurement data processing method based on a liquid level sensor according to claim 6, characterized in that: The process of evaluating and providing feedback on the corrected liquid level measurement data based on the correction effect parameter is as follows: The liquid level measurement data correction effect reference index is extracted from the liquid level sensor database. The liquid level measurement data correction effect parameter is compared with the liquid level measurement data correction effect reference index. If the liquid level measurement data correction effect parameter is higher than or equal to the liquid level measurement data correction effect reference index, the data correction effect is evaluated as qualified, and the corrected liquid level measurement data is displayed and output. If the liquid level measurement data correction effect parameter is lower than the liquid level measurement data correction effect reference index, the data correction effect is evaluated as unqualified, and an early warning feedback is given for unqualified data correction.
8. A system applying the liquid level sensor-based liquid level measurement data processing method as described in any one of claims 1-7, characterized in that: Includes: a liquid level measurement data acquisition module, a liquid level measurement data processing module, and a data evaluation and feedback platform; The liquid level measurement data acquisition module is used to deploy liquid level sensors according to preset optical elements and optical layout, construct a liquid level measurement optical system, and acquire liquid level measurement data in real time based on the liquid level measurement optical system; The liquid level measurement data processing module is used to monitor the liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference level assessment value, acquire the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data requirement correction index, and correct the liquid level measurement data according to the liquid level measurement data requirement correction index. The data evaluation and feedback platform is used to comprehensively analyze the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference level evaluation value, and to evaluate and provide feedback on the corrected liquid level measurement data based on the liquid level measurement data correction effect parameters.
9. A liquid level sensor employing the liquid level measurement data processing method based on a liquid level sensor as described in any one of claims 1-7, characterized in that: include: Light source, optical receiver, lens, reflector, signal processing circuit, microprocessor, display and housing; The light source is used to provide a stable and predictable beam of light for detection. The optical receiver is used to receive the reflected light signal and convert the light signal into an electrical signal for subsequent circuit processing. The lens is used to focus the light beam; The reflector is used to change the optical path; The signal processing circuit is used to process the electrical signal converted by the receiver, and includes: amplifier, filter and A / D converter functions; The microprocessor is used to process digital signals and calculate the liquid level height; The display is used to output the processed liquid level information to an external device; The housing is used to protect the internal electronic components from the influence of the external environment.