Liquid level measurement data processing method and system based on liquid level sensor and liquid level sensor
By building a liquid level measurement optical system and performing data correction processing, the problem of insufficient data correction in the existing liquid level measurement data processing methods is solved, the measurement accuracy and reliability are improved, and maintenance costs are reduced.
Patent Information
- Application Number
- CN202510073853.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-17
AI Technical Summary
The existing liquid level measurement data processing methods lack effective data correction methods, which leads to the measurement results being easily disturbed by environmental factors, affecting measurement accuracy and reliability, and increasing the system operation cost and maintenance difficulty.
By constructing a liquid level measurement optical system, the liquid level measurement data is collected in real time, and the liquid level measurement noise interference data is monitored, and the liquid level measurement noise interference degree evaluation value is obtained. Comprehensive analysis is made to obtain the liquid level measurement data demand correction indicators and perform data correction processing.
It effectively reduces frequent calibration and maintenance of liquid level sensors, improves the accuracy and reliability of liquid level measurement data, and reduces the frequency of system shutdown or alarms.
Smart Images

Figure CN119845388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of liquid level measurement, and in particular to a liquid level measurement data processing method and system based on a liquid level sensor, and a liquid level sensor. Background Art
[0002] Liquid level sensor is a kind of sensor widely used in industry, agriculture, home and other fields. Its main function is to detect the height of liquid, so as to measure and control the liquid level. With the development of science and technology, the accuracy, stability and reliability of liquid level sensors have been greatly improved. However, in practical applications, due to the influence of factors such as environment and equipment, errors may occur in liquid level measurement data. Therefore, it is of great practical significance to study a liquid level measurement data processing method based on liquid level sensor.
[0003] For example, the invention patent with announcement number: CN110794108B is an automatic detection method and device for the state of a liquid monitoring sensor, wherein the method includes: collecting liquid: collecting liquid into a circulation pool, at least one monitoring sensor is arranged in the circulation pool and is located in the liquid; measuring various parameters of the liquid: at least one monitoring sensor corresponds to measuring various parameters in the liquid; detecting the state of the sensor: at least one monitoring sensor tests the parameter of the liquid at the first liquid level as a first measurement value, at least one monitoring sensor tests the parameter of the liquid at the second liquid level as a second measurement value, the first measurement value is compared with the second measurement value or the first measurement value is compared with the standard value of the standard medium, and the state of at least one sensor is judged according to the comparison result. Emptying and cleaning: emptying the liquid in the circulation pool and cleaning the circulation pool.
[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, one end of the sensor body is fixedly connected to a connecting wire harness, the other end of the connecting wire harness is fixedly connected to a connecting head, the connecting head and the opposite side of the vertical connection are fixedly connected to a protection component, the other end of the sensor body is fixedly connected to a receiving head and a transmitting head, the receiving head and the transmitting head are located on both sides of the other end of the sensor body, and the other end of the sensor body is fixedly connected to a lens.
[0005] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems: the current liquid level measurement data processing method often lacks effective data correction means, resulting in the measurement results being easily disturbed by environmental factors, affecting the measurement accuracy and reliability. This leads to the need for frequent calibration and maintenance of the liquid level sensor, increasing the system operation cost and maintenance difficulty. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention provides a liquid level measurement data processing method and system based on a liquid level sensor, and a liquid level sensor, which can effectively solve the problems involved in the above-mentioned background technology.
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: The first aspect of the present invention provides a method for processing liquid level measurement data based on a liquid level sensor, including: S1. Deploying the liquid level sensor according to preset optical elements 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 liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference degree assessment value, obtain the target medium characteristic data, conduct comprehensive analysis to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index.
[0009] S3. Based on the corrected liquid level measurement data and the evaluation value of the liquid level measurement noise interference degree, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter, and based on the liquid level measurement data correction effect parameter, the corrected liquid level measurement data is evaluated and fed back.
[0010] As a further method, the processing obtains the liquid level measurement noise interference degree evaluation value, and the specific analysis process is: the liquid level measurement noise interference data includes: measurement environment data and liquid level sensor operation data.
[0011] The measured environmental data include: the temperature change rate and humidity change rate of each environmental monitoring point within a preset measurement period, the particle concentration of each environmental monitoring point at each monitoring time point, and the electromagnetic interference intensity.
[0012] The operating data of the liquid level sensor includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement period.
[0013] The critical temperature change rate, critical humidity change rate, critical particle concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage and allowable deviation voltage are extracted from the liquid level sensor database.
[0014] According to the liquid level measurement noise interference data, a liquid level measurement noise interference degree evaluation value is obtained through processing. The liquid level measurement noise interference degree evaluation value is used to quantitatively evaluate the influence of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, and provide a basis for correcting the liquid level measurement data.
[0015] As a further method, the comprehensive analysis obtains the liquid level measurement data required correction index, and the specific analysis process is: the target medium characteristic data includes the transmittance, viscosity and turbidity of the target medium.
[0016] The critical transmittance, critical viscosity and critical turbidity are extracted from the liquid level sensor database.
[0017] According to the target medium characteristic data and the liquid level measurement noise interference degree evaluation value, a liquid level measurement data demand correction index is obtained through comprehensive analysis. The liquid level measurement data demand correction index is used to quantitatively evaluate the degree of liquid level measurement data demand correction, and provide a basis for correcting the liquid level measurement data.
[0018] As a further method, the liquid level measurement data is corrected according to the liquid level measurement data demand correction index. The specific process is: extracting the liquid level measurement data demand correction index threshold from the liquid level sensor database, comparing the liquid level measurement data demand correction index with the liquid level measurement data demand correction index threshold; if the liquid level measurement data demand correction index is lower than the liquid level measurement data demand correction index threshold, there is no need to correct the liquid level measurement data.
[0019] If the liquid level measurement data demand correction index is higher than or equal to the liquid level measurement data demand correction index threshold, the liquid level measurement data demand correction index is subtracted from the liquid level measurement data demand correction index threshold to obtain the correction index difference, and the liquid level measurement data is corrected according to the correction index difference to obtain the corrected liquid level measurement data.
[0020] As a further method, the liquid level measurement data is corrected according to the correction index difference. The specific process is: extracting a mapping set between the correction index difference and the correction index difference parameter from the liquid level sensor database, inputting the real-time correction index difference, and obtaining the corresponding correction index difference parameter according to 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 liquid level measurement data correction effect parameter, and the specific analysis process is: extracting the allowable deviation liquid level measurement value from the liquid level sensor database.
[0023] The liquid level measurement value of each liquid level sensor corresponding to each monitoring time point is extracted from the corrected liquid level measurement data. According to the liquid level measurement value of each liquid level sensor corresponding to each monitoring time point and the liquid level measurement noise interference degree evaluation value, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data, and provide a basis for evaluating and feedback on the corrected liquid level measurement data.
[0024] As a further method, the liquid level measurement data after correction processing is evaluated and fed back according to the liquid level measurement data correction effect parameter. The specific process is: extracting the liquid level measurement data correction effect reference index from the liquid level sensor database, comparing the liquid level measurement data correction effect parameter 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 early warning feedback is given for the unqualified data correction.
[0025] As a further method, the liquid level measurement noise interference degree evaluation value, the specific numerical expression is:
[0026]
[0027]
[0028] In the formula, μS represents the evaluation value of the noise interference degree of liquid level measurement, e represents the natural constant, It represents the temperature change rate of the sth environmental monitoring point within the preset measurement period. It represents the humidity change rate of the sth environmental monitoring point within the preset measurement period. represents the particle concentration of the s-th environmental monitoring point at the i-th monitoring time point, i represents the number of each monitoring time point, i=1,2,3,...,t, t represents the total number of monitoring time points, s represents the number of each environmental monitoring point, s=1,2,3,...,g, g represents the total number of environmental monitoring points, represents the electromagnetic interference intensity of the s-th environmental monitoring point at the ith monitoring time point, Y represents the sensor voltage within the preset measurement period, represents the vibration frequency of the rth electronic component in the preset measurement period, r represents the number of each electronic component, r = 1, 2, 3, ..., h, h represents the total number of electronic components, represents the critical temperature change rate, represents the critical humidity change rate, represents the critical particle concentration, Indicates the critical electromagnetic interference intensity, Indicates the critical vibration frequency of electronic components, Y 0 represents the rated voltage of the sensor, 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 feedback platform.
[0030] The liquid level measurement data acquisition module is used to deploy the liquid level sensor according to the preset optical elements and optical layout, build the liquid level measurement optical system, and collect the liquid level measurement data in real time according to 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 degree evaluation value, and obtain the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index.
[0032] The data evaluation and feedback platform is used to obtain the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference degree evaluation value, and to evaluate and feedback 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 liquid level measurement data processing, 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 light beam to facilitate detection.
[0035] The optical receiver is used to receive the reflected optical signal and convert the optical 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 light path.
[0038] The signal processing circuit is used to process the electrical signal converted by the receiver, and includes: an amplifier, a filter and an A / D converter function.
[0039] The microprocessor is used to process digital signals and calculate the liquid level.
[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) The present invention provides a liquid level measurement data processing method, system and liquid level sensor based on a liquid level sensor, analyzes and obtains liquid level measurement data correction effect parameters, and can provide a basis for liquid level measurement data correction. Through effective data correction, the frequent calibration and maintenance of the liquid level sensor can be reduced, and unnecessary system shutdowns or alarms caused by measurement noise can be reduced. It can also ensure that the liquid level measurement data is more accurate and reliable, and enhance users' trust in the system.
[0044] (2) The present invention obtains a system noise interference degree evaluation value by comprehensively analyzing the temperature change rate, humidity change rate, particulate matter concentration, electromagnetic interference intensity, electronic component vibration frequency and sensor voltage, which can guide the optimization of the system's anti-noise interference capability, make the sensor suitable for a wider range of environments and conditions, and improve the consistency and repeatability of measurements, thereby reducing random errors and systematic errors.
[0045] (3) The present invention obtains the liquid level measurement data demand correction index by comprehensively analyzing the transmittance, viscosity, turbidity and liquid level measurement noise interference evaluation value of the target medium, which can be used to correct the measurement data in real time or after the fact. The performance of the sensor under different environmental conditions can also be evaluated, so as to select a sensor that is more suitable for a specific application scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0047] Figure 1 It is a schematic diagram of the method flow of the present invention.
[0048] Figure 2 It is a schematic diagram of system module connection of the present invention.
[0049] Figure 3 Schematic diagram of the liquid level sensor of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work 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 method for processing liquid level measurement data based on a liquid level sensor, comprising: S1. deploying a liquid level sensor according to preset optical elements 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 a specific embodiment, the steps of deploying the liquid level sensor are: R1. Emitter layout: determine the relative position of the light source and the lens so as to emit a suitable light beam.
[0053] R2. Receiver layout: Determine the position of the photosensitive element so that it can receive the reflected or transmitted light signal.
[0054] R3. Light 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 of constructing a liquid level measurement optical system are as follows: U1. According to the design drawings, install the light source, lens, reflector and photosensitive element to the corresponding positions.
[0056] U2. Adjust the position of the lens and reflector to ensure the beam is accurately aligned.
[0057] U3. Fix all optical components to ensure the stability of the system.
[0058] U4. Calibrate the system at different known liquid levels to establish the relationship between the optical signal and the liquid level.
[0059] S2. Monitor the liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference degree assessment value, obtain the target medium characteristic data, conduct comprehensive analysis to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index.
[0060] Specifically, the processing obtains the liquid level measurement noise interference degree evaluation value, and the specific analysis process is: the liquid level measurement noise interference data includes: measurement environment data and liquid level sensor operation data.
[0061] The measured environmental data include: the temperature change rate and humidity change rate of each environmental monitoring point within a preset measurement period, the particle concentration of each environmental monitoring point at each monitoring time point, and the electromagnetic interference intensity.
[0062] The operating data of the liquid level sensor includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement period.
[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 should be explained that a temperature sensor is used to monitor the temperature of each environmental monitoring point at each moment in real time and calculate the temperature change rate, which is (current temperature - temperature at the previous moment) / time interval. A humidity sensor (such as a capacitive humidity sensor) can be used to monitor the humidity of each environmental monitoring point at each moment in real time and calculate the humidity change rate, which is (current humidity - humidity at the previous moment) / time interval. A particle sensor (such as a laser scattering or photoresistance particle sensor) can be used to monitor the particle concentration. An electromagnetic field intensity meter or an electromagnetic interference detection instrument can be used to measure the electromagnetic interference intensity. The sensor voltage can be monitored in real time through a voltage monitoring module or a built-in voltage detection circuit. A vibration sensor (such as an accelerometer) can be attached to key electronic components. The vibration frequency is obtained by analyzing the vibration signal with a signal analyzer or a spectrum analyzer.
[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. Among them, random noise refers to random fluctuations caused by thermal noise and shot noise of electronic components. System noise refers to noise caused by internal factors of the sensor system, such as power supply fluctuations, mechanical vibrations, etc. Environmental noise refers to noise caused by external environmental factors, such as temperature changes, humidity, dust changes, etc.
[0066] The critical temperature change rate, critical humidity change rate, critical particle concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage and allowable deviation voltage are extracted from the liquid level sensor database.
[0067] According to the liquid level measurement noise interference data, a liquid level measurement noise interference degree evaluation value is obtained through processing. The liquid level measurement noise interference degree evaluation value is used to quantitatively evaluate the influence of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, and provide a basis for correcting the liquid level measurement data.
[0068] In a specific embodiment, the numerical expression of the liquid level measurement noise interference degree evaluation value is:
[0069]
[0070] In the formula, μS represents the evaluation value of the noise interference degree of liquid level measurement, e represents the natural constant, It represents the temperature change rate of the sth environmental monitoring point within the preset measurement period. It represents the humidity change rate of the sth environmental monitoring point within the preset measurement period. represents the particle concentration of the s-th environmental monitoring point at the i-th monitoring time point, i represents the number of each monitoring time point, i=1,2,3,...,t, t represents the total number of monitoring time points, s represents the number of each environmental monitoring point, s=1,2,3,...,g, g represents the total number of environmental monitoring points, represents the electromagnetic interference intensity of the s-th environmental monitoring point at the ith monitoring time point, Y represents the sensor voltage within the preset measurement period, represents the vibration frequency of the rth electronic component in the preset measurement period, r represents the number of each electronic component, r = 1, 2, 3, ..., h, h represents the total number of electronic components, represents the critical temperature change rate, represents the critical humidity change rate, represents the critical particle concentration, Indicates the critical electromagnetic interference intensity, Indicates the critical vibration frequency of electronic components, Y 0 represents the rated voltage of the sensor, and ΔY represents the allowable deviation voltage.
[0071] It needs to be explained that when the temperature change rate and humidity change rate are greater, the particle concentration is higher, the electromagnetic interference intensity is greater, the absolute difference between the sensor voltage and the rated voltage is greater, and the vibration frequency of the electronic components is greater, the corresponding liquid level measurement noise interference degree assessment value will be greater, indicating that the impact of environmental abnormalities and sensor abnormalities on noise during the liquid level measurement process is greater.
[0072] It should be explained that temperature changes are often associated with humidity changes. An increase in temperature may cause the evaporation of water in the air, thereby reducing humidity; and vice versa. Temperature changes may affect air flow and the diffusion of particles, thereby affecting particle concentration. It may also affect the performance of electronic components, which may affect the generation and intensity of electromagnetic interference. It may also cause voltage drift in the sensor circuit. Temperature changes may also affect the expansion and contraction of mechanical parts, which may affect the vibration frequency. High humidity may promote the condensation of particles, thereby increasing the particle concentration. Humidity changes may affect the dielectric constant of the air, which may affect the propagation of electromagnetic waves and the interference intensity. Particles may absorb or scatter electromagnetic waves, affecting the propagation of electromagnetic interference. Electromagnetic interference may introduce noise in the sensor circuit and affect voltage stability. Electromagnetic interference may affect the working state of some electronic components, thereby indirectly affecting the vibration frequency. Sensor voltage fluctuations may cause the working state of electronic components to change, thereby affecting the vibration frequency.
[0073] It should be explained that this embodiment obtains the system noise interference degree evaluation value by comprehensively analyzing the temperature change rate, humidity change rate, particulate matter concentration, electromagnetic interference intensity, electronic component vibration frequency and sensor voltage, which can guide the optimization of the system's anti-interference ability to noise. By improving the anti-interference ability to noise, the sensor can be applied to a wider range of environments and conditions. Reducing noise can improve the consistency and repeatability of measurements, reduce random errors and systematic errors, and enhance users' trust in the measurement system. Maintaining high-precision measurements in a noisy environment can improve the reliability of the system. It can also reduce sensor failures and maintenance requirements caused by noise.
[0074] Furthermore, a comprehensive analysis is performed to obtain a correction index for the liquid level measurement data requirement, and the specific analysis process is as follows: the target medium characteristic data includes the transmittance, viscosity and turbidity of the target medium.
[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 specification provided by the medium supplier, or a spectrophotometer can be used to measure the transmittance of the target medium, a viscometer can be used to measure the viscosity of the target medium, and a turbidity meter can be used to measure the turbidity of the target medium.
[0076] The critical transmittance, critical viscosity and critical turbidity are extracted from the liquid level sensor database.
[0077] According to the target medium characteristic data and the liquid level measurement noise interference degree evaluation value, a liquid level measurement data demand correction index is obtained through comprehensive analysis. The liquid level measurement data demand correction index is used to quantitatively evaluate the degree of liquid level measurement data demand correction, and provide a basis for correcting the liquid level measurement data.
[0078] In a specific embodiment, the numerical expression of the liquid level measurement data demand correction index is:
[0079]
[0080] In the formula, μX represents the correction index of liquid level measurement data demand, e represents the natural constant, α G represents the transmittance of the target medium, α N Indicates the viscosity of the target medium, α Z Indicates the turbidity of the target medium, Δα G represents the critical transmittance, Δα N represents the critical viscosity, Δα Z represents the critical turbidity, μS represents the evaluation value of the noise interference degree of liquid level measurement, The characteristic factor that represents the influence of the preset liquid level measurement noise interference degree evaluation value on the liquid level measurement accuracy.
[0081] It needs to be explained that when the transmittance of the target medium is lower, the viscosity and turbidity of the target medium are higher, and the liquid level measurement noise interference degree evaluation value is greater, the corresponding liquid level measurement data correction requirement index is greater, indicating that the degree of correction required for the liquid level measurement data is greater.
[0082] It should be explained that in this embodiment The influence characteristic factor of the preset liquid level measurement noise interference degree evaluation value on the liquid level measurement accuracy is represented. The value of the influence characteristic factor represents the influence degree of the liquid level measurement noise interference degree evaluation value on the liquid level measurement accuracy. When used, the influence characteristic factor can be directly obtained from the liquid level sensor database. The value of the influence characteristic factor is preset in the liquid level sensor database. The liquid level measurement noise interference degree evaluation value and the influence characteristic factor preset in the liquid level sensor database form a mapping set. The real-time liquid level measurement noise interference degree evaluation value is input into the mapping set to obtain the corresponding influence characteristic factor on the liquid level measurement accuracy. The mapping relationship can be one-to-one or many-to-one. The value range of the influence characteristic factor is between 0 and 1, indicating the degree from no influence to maximum influence.
[0083] It needs to be explained 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 of a liquid to flow. High-viscosity liquids may contain more suspended matter or high-molecular-weight substances, which may increase turbidity and indirectly reduce transmittance. Liquids with high viscosity may have a more difficult time keeping suspended particles evenly distributed, which may lead to increased turbidity. Low transmittance and high turbidity will cause light or sound wave signals to attenuate as they propagate in the medium, thereby reducing the signal-to-noise ratio. Turbidity and suspended particles can cause signal scattering, making the received signal unstable and increasing noise. Viscosity affects the fluidity and dynamic response of the medium, which may cause measurement delays or nonlinearities, thereby increasing noise.
[0084] It should be explained that this embodiment obtains the liquid level measurement data demand correction index by comprehensively analyzing the transmittance, viscosity, turbidity and liquid level measurement noise interference degree evaluation value of the target medium, which can be used to correct the measurement data in real time or afterwards. By analyzing the transmittance, viscosity, turbidity and liquid level measurement noise interference degree evaluation value of the target medium, the performance of the sensor under different environmental conditions can also be evaluated, so as to select a sensor that is more suitable for a specific application scenario. When the measurement data is 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. It can also help to conduct a cost-benefit analysis and select the most cost-effective sensor and maintenance strategy.
[0085] Furthermore, the liquid level measurement data is corrected according to the liquid level measurement data demand correction index. The specific process is: extracting the liquid level measurement data demand correction index threshold from the liquid level sensor database, comparing the liquid level measurement data demand correction index with the liquid level measurement data demand correction index threshold; if the liquid level measurement data demand correction index is lower than the liquid level measurement data demand correction index threshold, there is no need to correct the liquid level measurement data.
[0086] If the liquid level measurement data demand correction index is higher than or equal to the liquid level measurement data demand correction index threshold, the liquid level measurement data demand correction index is subtracted from the liquid level measurement data demand correction index threshold to obtain the correction index difference, and the liquid level measurement data is corrected according to the correction index difference to obtain the corrected liquid level measurement data.
[0087] Specifically, the liquid level measurement data is corrected according to the correction index difference. The specific process is: extracting a mapping set between the correction index difference and the correction index difference parameter from the liquid level sensor database, inputting the real-time correction index difference, and obtaining the corresponding correction index difference parameter according to 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 explained that the mapping relationship of the mapping set in this embodiment 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 degree, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter, and based on the liquid level measurement data correction effect parameter, the corrected liquid level measurement data is evaluated and fed back.
[0091] Specifically, a comprehensive analysis is performed to obtain liquid level measurement data correction effect parameters, and the specific analysis process is: extracting the allowable deviation liquid level measurement value 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 rated liquid level height difference between the current monitoring time point and the adjacent monitoring time point.
[0093] The liquid level measurement value of each liquid level sensor corresponding to each monitoring time point is extracted from the corrected liquid level measurement data. According to the liquid level measurement value of each liquid level sensor corresponding to each monitoring time point and the liquid level measurement noise interference degree evaluation value, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data, and provide a basis for evaluating and feedback on the corrected liquid level measurement data.
[0094] In a specific embodiment, the numerical expression of the liquid level measurement data correction effect parameter is:
[0095]
[0096] In the formula, μG represents the correction effect parameter of liquid level measurement data, e represents the natural constant, and δ in represents the liquid level measurement value of the nth liquid level sensor corresponding to the i-th monitoring time point, i represents the number of each monitoring time point, δ (i-1)n represents the liquid level measurement value of the nth liquid level sensor corresponding to the i-1th 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, μS represents the evaluation value of the liquid level measurement noise interference degree, The characteristic factor that represents the influence of the preset liquid level measurement noise interference degree evaluation value on the liquid level measurement accuracy.
[0097] It needs to be explained that when the absolute difference in the liquid level measurement value between the current monitoring time point and the adjacent monitoring time point is greater, the fluctuation of the liquid level measurement value of each liquid level sensor is greater, and the liquid level measurement noise interference degree evaluation value is 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 should be explained that the measurement noise evaluation value can reflect the measurement accuracy of the sensor. If the noise level is high, then the level measurement value may fluctuate around the true level, resulting in reduced accuracy. Level measurement noise may be affected by environmental factors such as temperature changes, vibrations, electromagnetic interference, etc. At times when environmental conditions are unstable, the noise evaluation value may increase, and accordingly, the reliability of the level measurement value may decrease. Aging, contamination or damage to the sensor may cause the noise evaluation value to increase. In this case, the level measurement value may deviate from the true value, and the sensor needs to be calibrated or maintained.
[0099] It should be explained that, in this embodiment, by analyzing the corrected liquid level measurement value and the liquid level measurement noise interference degree evaluation value, the correction effect can be intuitively seen. If the corrected liquid level measurement value is more stable and accurate under the same noise influence, then it can be considered that the correction method is effective. Analysis of the corrected data can also verify the accuracy of the correction algorithm or model adopted. If the corrected data is closer to the expected true value, this shows that the correction algorithm is reliable. It is also possible to identify the limitations of the correction method under specific conditions. 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 degree evaluation value, which can provide a basis for the correction of the liquid level measurement data. Through effective data correction, the frequent calibration and maintenance of the sensor can be reduced, ensuring that the liquid level measurement data is more accurate and reliable, and reducing unnecessary system shutdowns or alarms caused by measurement noise. It can also provide users with more stable and reliable liquid level monitoring data, enhancing users' trust in the system.
[0101] Furthermore, the corrected liquid level measurement data is evaluated and fed back according to the liquid level measurement data correction effect parameter. The specific process is: extracting the liquid level measurement data correction effect reference index from the liquid level sensor database, comparing the liquid level measurement data correction effect parameter 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 early warning feedback is given for the unqualified data correction.
[0102] In a specific embodiment, the process of providing early warning feedback for correction of unqualified data is as follows: first, for the identified unqualified data, the system generates early warning information. The early warning information may include the following: the specific time point of the unqualified data, the number or position of the liquid level sensor, and the specific value of the correction effect parameter.
[0103] Then, the warning information is notified to the relevant personnel. An email containing the warning information can be sent to a designated mailbox. The warning information can also be sent to the mobile phone of the relevant personnel through the SMS service. The alarm can also be sounded in the control room through the sound and light alarm device.
[0104] Secondly, it is necessary to record warning information in the system log to facilitate subsequent analysis and tracing.
[0105] Furthermore, initiating the unqualified data processing process may include: recalibrating or checking the liquid level sensor; analyzing the causes of the unqualified data: such as sensor failure, environmental factors, etc.; adjusting the data correction algorithm or parameters; and arranging on-site inspection or maintenance.
[0106] Finally, according to the results of early warning feedback, the liquid level measurement data correction process is improved, and the reference index of liquid level measurement data correction effect is updated to adapt to the actual situation, improve the robustness and reliability of the system, and reduce 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 feedback platform and a liquid level sensor database.
[0108] The liquid level measurement data acquisition module is used to deploy the liquid level sensor according to the preset optical elements and optical layout, build the liquid level measurement optical system, and collect the liquid level measurement data in real time according to 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 degree evaluation value, and obtain the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index.
[0110] The data evaluation and feedback platform is used to obtain the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference degree evaluation value, and to evaluate and feedback the corrected liquid level measurement data based on the liquid level measurement data correction effect parameters.
[0111] In a specific embodiment, the liquid level sensor database is used to store relevant parameters in the process of evaluating the correction effect of the liquid level measurement data, including critical transmittance, critical viscosity and critical turbidity, liquid level measurement data demand correction index threshold and liquid level measurement data correction effect reference index and the data extracted from the liquid level sensor database in the above embodiment. The liquid level sensor transmits the data directly to the database via wired (such as RS-485, Ethernet) or wireless (such as Wi-Fi, Bluetooth, RFID, GSM / 3G / 4G). Data can also be collected from the liquid level sensor using a data acquisition system or a programmable logic controller and then stored in a database. Data can then be obtained directly from the sensor or data acquisition system through a real-time data stream interface (such as MQTT, OPC UA). Data can also be obtained from a database or middleware service through an interface call such as RESTfulAPI or SOAPAPI.
[0112] Reference Figure 3 As shown, the third aspect of the present invention provides a liquid level sensor for liquid level measurement data processing, including: 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 light beam to facilitate detection.
[0114] The optical receiver is used to receive the reflected optical signal and convert the optical 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 light path.
[0117] It should be explained that the lens can improve the directivity and concentration of the light beam, reduce scattering, and improve measurement accuracy. A suitable light source can be selected, such as a laser diode, LED, etc. A convex lens or a concave lens can be selected as needed to focus or diverge the light. A photodiode, a phototransistor, or other photoelectric sensor can be selected as a light signal receiver.
[0118] The signal processing circuit is used to process the electrical signal converted by the receiver, and includes: an amplifier, a filter and an A / D converter function.
[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.
[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 contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all 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, construct the liquid level measurement optical system, and collect the liquid level measurement data in real time according to the liquid level measurement optical system; S2. Monitor the liquid level measurement noise interference data, process it to obtain the liquid level measurement noise interference degree evaluation value, obtain the target medium characteristic data, conduct comprehensive analysis to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index; S3. Based on the corrected liquid level measurement data and the evaluation value of the liquid level measurement noise interference degree, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter, and based on the liquid level measurement data correction effect parameter, the corrected liquid level measurement data is evaluated and fed back.
2. The method for processing liquid level measurement data based on a liquid level sensor according to claim 1, characterized in that: The processing obtains the evaluation value of the noise interference degree of the liquid level measurement, and 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 include: the temperature change rate and humidity change rate of each environmental monitoring point within a preset measurement period, the particle concentration and electromagnetic interference intensity of each environmental monitoring point at each monitoring time point; The liquid level sensor operation data includes the sensor voltage and the vibration frequency of each electronic component within a preset measurement period; Extract the critical temperature change rate, critical humidity change rate, critical particle concentration, critical electromagnetic interference intensity, critical vibration frequency of electronic components, sensor rated voltage and allowable deviation voltage from the liquid level sensor database; According to the liquid level measurement noise interference data, a liquid level measurement noise interference degree evaluation value is obtained through processing. The liquid level measurement noise interference degree evaluation value is used to quantitatively evaluate the influence of environmental anomalies and sensor anomalies on noise generation during the liquid level measurement process, and provide a basis for correcting the liquid level measurement data.
3. The method for processing liquid level measurement data based on a liquid level sensor according to claim 2, characterized in that: The comprehensive analysis obtains the liquid level measurement data demand correction index, and the specific analysis process is as follows: The target medium characteristic data includes the light transmittance, viscosity and turbidity of the target medium; The critical transmittance, critical viscosity and critical turbidity are extracted from the liquid level sensor database; According to the target medium characteristic data and the liquid level measurement noise interference degree evaluation value, a liquid level measurement data demand correction index is obtained through comprehensive analysis. The liquid level measurement data demand correction index is used to quantitatively evaluate the degree of liquid level measurement data demand correction, and provide a basis for correcting the liquid level measurement data.
4. The method for processing liquid level measurement data based on a liquid level sensor according to claim 3, characterized in that: The liquid level measurement data is corrected according to the correction index required for the liquid level measurement data, and the specific process is as follows: Extracting a liquid level measurement data demand correction index threshold from a liquid level sensor database, comparing the liquid level measurement data demand correction index with the liquid level measurement data demand correction index threshold, and if the liquid level measurement data demand correction index is lower than the liquid level measurement data demand correction index threshold, then there is no need to correct the liquid level measurement data; If the liquid level measurement data demand correction index is higher than or equal to the liquid level measurement data demand correction index threshold, the liquid level measurement data demand correction index is subtracted from the liquid level measurement data demand correction index threshold to obtain the correction index difference, and the liquid level measurement data is corrected according to the correction index difference to obtain the corrected liquid level measurement data.
5. The method for processing liquid level measurement data based on a liquid level sensor according to claim 4, characterized in that: The liquid level measurement data is corrected according to the correction index difference, and the specific process is as follows: A mapping set between a correction index difference and a correction index difference parameter is extracted from a liquid level sensor database, a real-time correction index difference is input, and a corresponding correction index difference parameter is obtained according to 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 method for processing liquid level measurement data based on a liquid level sensor according to claim 1, characterized in that: The comprehensive analysis obtains the liquid level measurement data correction effect parameter, and the specific analysis process is as follows: Extract the allowable deviation liquid level measurement value from the liquid level sensor database; The liquid level measurement value of each liquid level sensor corresponding to each monitoring time point is extracted from the corrected liquid level measurement data. According to the liquid level measurement value of each liquid level sensor corresponding to each monitoring time point and the liquid level measurement noise interference degree evaluation value, a comprehensive analysis is performed to obtain the liquid level measurement data correction effect parameter. The liquid level measurement data correction effect parameter is used to quantitatively evaluate the effect of correcting the liquid level measurement data, and provide a basis for evaluating and feedback on the corrected liquid level measurement data.
7. The method for processing liquid level measurement data based on a liquid level sensor according to claim 6, characterized in that: The process of evaluating and feeding back the corrected liquid level measurement data according to the liquid level measurement data correction effect parameter is as follows: A reference index of the liquid level measurement data correction effect is extracted from the liquid level sensor database, and 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 the unqualified data correction.
8. The method for processing liquid level measurement data based on a liquid level sensor according to claim 3, characterized in that: The liquid level measurement noise interference degree evaluation value is specifically expressed as: In the formula, μS represents the evaluation value of the noise interference degree of liquid level measurement, e represents the natural constant, It represents the temperature change rate of the sth environmental monitoring point within the preset measurement period. It represents the humidity change rate of the sth environmental monitoring point within the preset measurement period. represents the particle concentration of the s-th environmental monitoring point at the i-th monitoring time point, i represents the number of each monitoring time point, i=1,2,3,...,t, t represents the total number of monitoring time points, s represents the number of each environmental monitoring point, s=1,2,3,...,g, g represents the total number of environmental monitoring points, represents the electromagnetic interference intensity of the s-th environmental monitoring point at the ith monitoring time point, Y represents the sensor voltage within the preset measurement period, represents the vibration frequency of the rth electronic component in the preset measurement period, r represents the number of each electronic component, r = 1, 2, 3, ..., h, h represents the total number of electronic components, represents the critical temperature change rate, represents the critical humidity change rate, represents the critical particle concentration, Indicates the critical electromagnetic interference intensity, Indicates the critical vibration frequency of electronic components, Y 0 represents the rated voltage of the sensor, and ΔY represents the allowable deviation voltage.
9. A system using a liquid level measurement data processing method based on a liquid level sensor as claimed in any one of claims 1 to 8, characterized in that: Including: liquid level measurement data acquisition module, liquid level measurement data processing module and data evaluation feedback platform; The liquid level measurement data acquisition module is used to deploy the liquid level sensor according to the preset optical elements and optical layout, build the liquid level measurement optical system, and collect the liquid level measurement data in real time according to 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 degree evaluation value, obtain the target medium characteristic data, comprehensively analyze it to obtain the liquid level measurement data demand correction index, and correct the liquid level measurement data according to the liquid level measurement data demand correction index; The data evaluation and feedback platform is used to obtain the liquid level measurement data correction effect parameters based on the corrected liquid level measurement data and the liquid level measurement noise interference degree evaluation value, and to evaluate and feedback the corrected liquid level measurement data based on the liquid level measurement data correction effect parameters.
10. A liquid level sensor using a liquid level measurement data processing method based on a liquid level sensor as claimed in any one of claims 1 to 8, 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 light beam to facilitate detection; The optical receiver is used to receive the reflected optical signal and convert the optical 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 light path; The signal processing circuit is used to process the electrical signal converted by the receiver, including: 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.
Citation Information
Patent Citations
A method and device for automatically detecting the state of a liquid monitoring sensor
CN110794108B
Photoelectric liquid level sensor with circuit protection structure
CN118533266A
Float laser liquid-level measuring device
CN101074889A
Liquid measurement systems, apparatus, and methods optimized with temperature sensing
CN106537126A
Liquid waveguide based liquid level detection method
CN110361073A
Cited By
Flow measurement method and system for water quality safety control
CN120101892A