Sludge influence compensation method and system for ion selective sensor
By calculating and correcting the impact of sludge on the sensor in the ion selection sensor installation chamber, the data drift caused by sludge is solved, and the accuracy and reliability of water quality monitoring are improved.
Patent Information
- Application Number
- CN202410485106.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-11-22
AI Technical Summary
When ion selection sensor monitors sewage, data drift or abnormalities caused by sludge deposition affects the accuracy of measurement and cannot reflect changes in water quality in real time.
By obtaining the amount of sludge covered on the sensor installation compartment and its impact on the ion selection sensor, the formula is used to correct it, calculate and remove the impact of sludge on the monitoring value, and obtain the corrected monitoring value.
It improves the accuracy of water quality monitoring, makes the measured value closer to the real value, reduces data drift and abnormal phenomena, and enhances the reliability of monitoring results.
Smart Images

Figure CN119001040A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of water quality monitoring, and in particular relates to a method and a system for compensating for sludge influence on monitoring data of an ion selective sensor. Background Art
[0002] The development of water quality monitoring technology has gone through several stages. The earliest water quality monitoring mainly relied on manual sampling and simple physical and chemical analysis. This method is not only inefficient, but also unable to reflect water quality changes in real time. With the development of science and technology, automatic monitoring technology has gradually replaced traditional manual monitoring. Automatic monitoring technology can monitor water quality in real time, provide more accurate data, and can monitor water quality for a long time. In recent years, with the rise of technologies such as the Internet of Things and big data, intelligent water quality monitoring has become a new development trend.
[0003] Water quality monitoring technology can be classified according to different classification standards. According to the monitoring method, it can be divided into online monitoring and offline monitoring; according to the monitoring parameters, it can be divided into physical parameter monitoring, chemical parameter monitoring and biological parameter monitoring; according to the monitoring object, it can be divided into wastewater monitoring, surface water monitoring and groundwater monitoring, etc.
[0004] Different water quality monitoring technologies are suitable for different application scenarios. Online monitoring technology is suitable for long-term continuous monitoring, such as water quality monitoring of large water bodies such as rivers and lakes; offline monitoring technology is suitable for monitoring for specific purposes, such as the investigation of pollution sources. Physical parameter monitoring is mainly used to detect intuitive indicators such as temperature and color of water bodies; chemical parameter monitoring is used to detect chemical indicators such as dissolved oxygen and ammonia nitrogen; biological parameter monitoring is used to detect microbial indicators such as bacteria and viruses.
[0005] Water quality sensor data drift or anomaly refers to the phenomenon that the sensor measurement results gradually deviate from the true value over a period of time. There are many factors that cause data drift or anomaly, including electrode contamination, that is, the sensor's electrodes may be contaminated, such as biological attachment, salt precipitation, sediment, etc. These pollutants may affect the measurement accuracy of the sensor, causing data drift or anomaly.
[0006] Ion selective sensor is a commonly used water quality monitoring sensor. When the ion selective sensor is placed in sewage for monitoring, sludge will be deposited on the sensor installation cabin. The monitoring data of the ion selective sensor is affected by the sludge, resulting in the final monitoring result not being consistent with the actual situation. Summary of the invention In view of this, the present invention provides a method and system for compensating for sludge influence on an ion selective sensor, which are used to eliminate the influence of sludge covering the sensor installation cabin on the ion selective sensor. In order to solve the above technical problems, the technical solution of the present invention is to adopt a sludge effect compensation method for an ion selective sensor, comprising: Get the unit impact value C of the ion selective sensor affected by the unit sludge amount m0 au ; Get the amount of sludge M currently covered by the sensor installation cabin sum ; The amount of sludge currently covered by the sensor M sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum ; The influence value of the sludge covering the current sensor installation cabin on the ion selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
[0007] As an improvement, the method for obtaining the unit impact value of the ion selective sensor being affected by the sludge per unit sludge amount includes: The unit amount of sludge covered on the sensor installation cabin is taken as a culture medium for microbial maturation culture, so that the sludge contains the maximum number of microorganisms N; The sludge is placed in pure water and stirred to form a sludge solution, and the sludge solution is measured using an ion selective sensor to obtain a unit impact value C affected by a unit sludge amount. au , the difference between the volume of the pure water and the volume of the sensor installation cabin is within a threshold range. As a further improvement, the method of measuring the sludge solution using an ion selective sensor to obtain the unit impact value affected by the unit sludge amount includes: The ion selective sensor is used to measure the sludge solution n times to obtain n monitoring values; Using the formula:
[0008] Calculate the impact value of ion selective sensor affected by sludge; where C au is the impact value, C i is the monitoring value, n is the number of monitoring values, and i is the sequence number of the monitoring value.
[0009] As another further improvement, the method for obtaining the amount of sludge currently covered by the sensor installation cabin includes using the formula:
[0010] Calculate the amount of sludge currently covered by the sensor installation cabin; where Msum is the amount of sludge currently covered by the sensor installation cabin, M t0 is the amount of sludge covering the sensor installation chamber over time, M max The maximum amount of sludge that can be covered by the sensor installation chamber.
[0011] As an improvement, the amount of sludge covered on the sensor installation chamber over time is obtained by using the formula:
[0012] Calculate the amount of sludge covering the sensor installation cabin over time; where M t0 is the amount of sludge covering the sensor installation chamber over time, t now is the current time, t0 is the time when the sensor installation cabin maintenance is completed, v w is the water velocity, c sl is the sludge concentration in water, u sl is the viscous fluid property of sludge, s t is the surface area of the sensor installation cabin, v0 is the set standard flow rate, k is the influence coefficient of the relative standard flow rate on the adhesion characteristics, ∫ is the integral symbol, and d is the differential symbol.
[0013] As an improvement, the method for obtaining the viscous fluid properties of the sludge includes using the formula:
[0014] Calculate the viscous fluid properties of sludge; where u sl is the viscous fluid characteristic of sludge, Ksl is the correlation coefficient of sludge concentration, E is the viscous flow activation energy, T is the absolute temperature, and K is the Boltzmann constant.
[0015] As an improvement, the method for obtaining the sludge concentration in the water includes: Take water samples with different turbidity and obtain the sludge concentration in the water samples through experimental methods; Establish the functional relationship between turbidity and sludge concentration; Measuring the turbidity of the water sample to be tested by a turbidity sensor; The turbidity is converted to sludge concentration through the functional relationship between turbidity and sludge concentration.
[0016] As an improvement, the method for obtaining the influence value of the sludge covering the current sensor installation cabin on the ion selective sensor includes using the formula:
[0017] Calculate the effect of sludge on the ion selective sensor; where ΔC sum is the impact value, M sumis the current amount of sludge covering the sludge, m0 is the unit sludge amount, C au is the unit impact value.
[0018] As an improvement, the method for correcting the monitoring value of the ion selective sensor by using the influence value of the sludge covered by the current sensor installation cabin on the ion selective sensor includes using the formula:
[0019] Correct the monitoring value of the ion selective sensor; among them, C w is the corrected monitoring value, C v is the monitoring value, ΔC sum is the influence of sludge on the ion selective sensor, and k is the correction coefficient.
[0020] The present invention also provides an ion selective sensor sludge impact compensation system, comprising: The unit impact value acquisition module is used to obtain the unit impact value C of the ion selective sensor affected by the sludge of the unit sludge amount m0. au ; The sludge volume acquisition module is used to obtain the sludge volume M currently covered by the sensor installation cabin sum ; The impact value acquisition module is used to measure the amount of sludge M currently covered by the sensor. sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum ; Compensation module for using the influence of the sludge covering the current sensor installation chamber on the ion-selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
[0021] The present invention is beneficial in that: The present invention first obtains the unit impact value brought by the unit sludge amount on the ion selective sensor measurement, then calculates the sludge amount currently covered by the sensor installation cabin, and then calculates the impact value currently affected by the sludge through a ratio relationship, and then removes the impact value from the measured value, thereby correcting the measured value to obtain a corrected measured value, so that the measured value is closer to the true value, thereby improving the accuracy of water quality monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Flowchart of the present invention.
[0023] Figure 2 It is a structural principle diagram of the present invention. DETAILED DESCRIPTION In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods.
[0024] like Figure 1 As shown, the present invention provides a method for compensating the sludge effect on an ion selective sensor, which is used to eliminate the effect of the sludge covering the sensor installation cabin on the ion selective sensor, and the specific steps include: S1 obtains the unit impact value C of the ion selective sensor affected by the unit sludge amount m0 au .
[0025] When the installation chamber of the ion selective sensor is placed in the water area to be tested for water quality monitoring, the sludge in the water will gradually cover the installation chamber of the sensor. The sludge will affect the monitoring results of the ion selective sensor, so the monitoring data needs to be corrected.
[0026] The purpose of this step is to obtain the impact of unit sludge volume on the ion selective sensor monitoring value, which is defined as the unit impact value C au The specific steps include: S11 takes a unit amount of sludge covered on the sensor installation cabin for maturation; The so-called unit sludge volume is actually a random sample. Since it will be measured by ratio in the later stage, it can be used as a benchmark for calculation. That is, the random sampled sludge volume is used as the unit sludge volume, and the ratio of the impact value is converted by the multiple relationship between the actual sludge volume and the unit sludge volume in the later calculation.
[0027] After the sludge is obtained from the sensor installation cabin, the sludge is matured. The purpose of the maturation is to eliminate the impact of the sampling process on the sludge sample and restore the real state of the sample in the sensor cabin as much as possible through experimental means.
[0028] S12: putting the sludge into pure water and stirring to form a sludge solution, and using an ion selective sensor to measure the sludge solution to obtain a unit impact value C affected by the unit sludge amount. au , the difference between the volume of the pure water and the volume of the sensor installation cabin is within a threshold range.
[0029] Put a unit amount of sludge into a beaker filled with pure water to form a sludge solution, and then place the ion selective sensor into the beaker. The placement method is consistent with the actual water quality monitoring. In order to further restore the usage scenario, the volume of pure water and the volume of the sensor installation chamber should be as consistent as possible, and the difference should not exceed the threshold range.
[0030] After a period of rest, for example, 30 minutes, the ion selective sensor collects data for a period of time, for example, 30 minutes. During this period, the ion selective sensor measures the sludge solution n times to obtain n monitoring values. .
[0031] Using the formula:
[0032] Calculate the unit impact value of the ion selective sensor affected by the unit sludge volume; where C au is the unit impact value, C i is the monitoring value, n is the number of monitoring values, and i is the sequence number of the monitoring value.
[0033] Of course, those skilled in the art may also perform data screening according to actual conditions, or may choose other methods for measurement, which will not be elaborated here.
[0034] S2 obtains the amount of sludge M currently covered by the sensor installation cabin sum .
[0035] In actual use, the sludge covering the sensor installation cabin gradually increases over time, and when it increases to a maximum value, it stops increasing. Since the sludge covering the sensor installation cabin changes dynamically, and the sludge can only be removed and weighed during maintenance, it is not very realistic to obtain the sludge amount by on-site weighing. Therefore, the present invention also provides a method for obtaining the current amount of sludge covering the sensor installation cabin, which specifically includes using the formula:
[0036] Calculate the amount of sludge currently covered by the sensor installation cabin; where M sum is the amount of sludge currently covered by the sensor installation cabin, M t0 is the amount of sludge covering the sensor installation chamber over time, M max The maximum amount of sludge that can be covered by the sensor installation chamber; More specifically, the amount of sludge covering the sensor installation chamber over time is obtained using the formula:
[0037] Calculate the amount of sludge covering the sensor installation cabin over time; where M t0 is the amount of sludge covering the sensor installation chamber over time, t now is the current time, t0 is the time when the sensor installation cabin maintenance is completed, v w is the water velocity, c sl is the sludge concentration in water, u sl is the viscous fluid property of sludge, s tis the surface area of the sensor installation cabin, v0 is the set standard flow rate, which defaults to 1m / s, k is the influence coefficient of the relative standard flow rate on the adhesion characteristics, which defaults to 1, ∫ is the integral symbol, and d is the differential symbol.
[0038] The method for obtaining the viscous fluid characteristics of the sludge in the above formula includes using the formula:
[0039] Calculate the viscous fluid properties of sludge; where u sl is the viscous fluid property of sludge, Ksl is the correlation coefficient of sludge concentration, E is the viscous flow activation energy, which represents the energy required for molecules to move from one position to another, and the value is related to temperature, molecular structure and chain length (kJ / mol); T is the absolute temperature, K is the Boltzmann constant (8.314J*10 -3 / (mol*K)).
[0040] The method for obtaining the sludge concentration in the water includes: S21 takes water samples of different turbidity and obtains the sludge concentration in the water samples through experimental methods.
[0041] The so-called experimental method in the present invention can be as follows: 1. Instruments: Constant temperature drying oven, crucible (30ml), filter paper (D=9cm), desiccator, analytical balance.
[0042] (ii) Steps: 1. Place the crucible and filter paper in an oven at 105-110°C until constant weight is reached. Take them out and cool them in a desiccator for 0.5 h. Weigh them with an analytical balance and record the weight W1.
[0043] 2. Take about 20 ml of sludge-containing water sample and filter it using a suction bottle.
[0044] 3. Place the filtered sludge together with the filter paper and crucible in an oven at 105-110°C until constant weight is reached. Take it out and cool it in a dryer for 0.5h. Weigh it with an analytical balance and record the weight W2. Then put it in a muffle furnace with the temperature set at about 550°C. When it is burned to constant weight, take it out and cool it in a dryer. Weigh it with an analytical balance and record the weight W3.
[0045] (III) Obtaining sludge concentration: Sludge concentration = 1000(W3-W2) / 0.02(mg / L).
[0046] In this step, water samples with different turbidity are taken , using the sludge concentration measurement method, the sludge concentration is obtained by the above experimental method .
[0047] S22 establishes the functional relationship between turbidity and sludge concentration; The functional relationship between the above turbidity and sludge concentration can be obtained by data fitting.
[0048] in, is the sludge concentration; is turbidity; There are many ways to fit data, such as polynomial fitting, Gaussian fitting, linear regression fitting, specified function fitting (logarithmic, exponential and composite functions, etc.), etc. The functional relationship obtained by the present invention using polynomial fitting as an example is:
[0049] Here, a, b, and c are common fitting values, and those skilled in the art can select them according to actual water quality conditions.
[0050] S23 measures the turbidity of the water sample to be tested through a turbidity sensor; S24 converts turbidity into sludge concentration through the functional relationship between turbidity and sludge concentration.
[0051] Since the sludge concentration cannot be measured by sensors, and it would be too cumbersome to use experimental methods every time, the present invention establishes a functional relationship between turbidity and sludge concentration. It is only necessary to measure the turbidity of water with a turbidity sensor and convert it into sludge concentration through the functional relationship, thereby providing convenience and efficiency in use.
[0052] S3 The amount of sludge currently covered by the sensor M sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum .
[0053] Specifically, the method for obtaining the influence value of the amount of sludge currently covered by the sensor installation cabin on the ion selective sensor includes using the formula:
[0054] Calculate the effect of sludge on the ion selective sensor; where ΔC sum is the impact value, M sum is the current amount of sludge covering the sludge, m0 is the unit sludge amount, C au is the unit impact value.
[0055] After obtaining the unit impact value of the unit sludge amount on the monitoring data and the current covered sludge amount, the impact value of the current covered sludge amount on the monitoring data can be calculated through the ratio relationship.
[0056] S4 uses the influence value of the sludge covered by the current sensor installation cabin on the ion selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
[0057] After obtaining the impact value of the current amount of sludge covering the sensor installation cabin on the monitoring data, the monitoring value is corrected by the impact value, specifically using the formula:
[0058] Correct the monitoring value of the ion selective sensor; among them, C w is the corrected monitoring value, C v is the monitoring value, ΔC sum is the influence value of sludge on the ion selective sensor, k is the correction coefficient, which is adjusted by technicians in this field according to actual conditions and is 1 by default.
[0059] In addition, if Figure 2 As shown, the present invention also provides an ion selective sensor sludge impact compensation system, comprising: The unit impact value acquisition module is used to obtain the unit impact value C of the ion selective sensor affected by the sludge of the unit sludge amount m0. au ; The sludge volume acquisition module is used to obtain the sludge volume M currently covered by the sensor installation cabin sum ; The impact value acquisition module is used to measure the amount of sludge M currently covered by the sensor. sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum ; Compensation module for using the influence of the sludge covering the current sensor installation chamber on the ion-selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
[0060] The above are only preferred embodiments of the present invention. It should be noted that the above preferred embodiments should not be regarded as limiting the present invention, and the protection scope of the present invention should be based on the scope defined by the claims. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the spirit and scope of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A method for compensating for sludge effects on ion selective sensors, characterized in that include: Get the unit impact value C of the ion selective sensor affected by the unit sludge amount m0 au ; Get the amount of sludge M currently covered by the sensor installation cabin sum ; The amount of sludge currently covered by the sensor M sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum ; The influence value of the sludge covering the current sensor installation cabin on the ion selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
2. The method for compensating sludge effect of an ion selective sensor according to claim 1, characterized in that: Methods for obtaining a unit influence value of the ion selective sensor being influenced by a unit amount of sludge include: Take the unit amount of sludge covered on the sensor installation cabin for maturation; The sludge is placed in pure water and stirred to form a sludge solution, and the sludge solution is measured using an ion selective sensor to obtain a unit impact value C affected by a unit sludge amount. au , the difference between the volume of the pure water and the volume of the sensor installation cabin is within a threshold range.
3. The method for compensating sludge effect of an ion selective sensor according to claim 2, characterized in that: The method of measuring the sludge solution using an ion selective sensor to obtain a unit impact value affected by a unit sludge amount includes: The ion selective sensor is used to measure the sludge solution n times to obtain n monitoring values; Using the formula: Calculate the unit impact value of the ion selective sensor affected by the unit sludge volume; where C au is the unit impact value, C i is the monitoring value, n is the number of monitoring values, and i is the sequence number of the monitoring value.
4. The method for compensating sludge effect of an ion selective sensor according to claim 1, characterized in that: The method for obtaining the amount of sludge currently covered by the sensor installation cabin includes using the formula: Calculate the amount of sludge currently covered by the sensor installation cabin; where M sum is the amount of sludge currently covered by the sensor installation cabin, M t0 is the amount of sludge covering the sensor installation chamber over time, M max The maximum amount of sludge that can be covered by the sensor installation chamber.
5. The method for compensating sludge effect of an ion selective sensor according to claim 4, characterized in that: The amount of sludge covering the sensor chamber over time is obtained using the formula: Calculate the amount of sludge covering the sensor installation cabin over time; where M t0 is the amount of sludge covering the sensor installation chamber over time, t now is the current time, t0 is the time when the sensor installation cabin maintenance is completed, v w is the water velocity, c sl is the sludge concentration in water, u sl is the viscous fluid property of sludge, s t is the surface area of the sensor installation cabin, v0 is the set standard flow rate, k is the influence coefficient of the relative standard flow rate on the adhesion characteristics, ∫ is the integral symbol, and d is the differential symbol.
6. The method for compensating sludge effect of an ion selective sensor according to claim 5, characterized in that: The method of obtaining the viscous fluid properties of sludge includes using the formula: Calculate the viscous fluid properties of sludge; where u sl is the viscous fluid characteristic of sludge, Ksl is the correlation coefficient of sludge concentration, E is the viscous flow activation energy, T is the absolute temperature, and K is the Boltzmann constant.
7. The method for compensating sludge effect of an ion selective sensor according to claim 5, characterized in that: The method for obtaining the sludge concentration in the water comprises: Take water samples with different turbidity and obtain the sludge concentration in the water samples through experimental methods; Establish the functional relationship between turbidity and sludge concentration; Measuring the turbidity of the water sample to be tested by a turbidity sensor; The turbidity is converted to sludge concentration through the functional relationship between turbidity and sludge concentration.
8. The method for compensating sludge effect of an ion selective sensor according to claim 1, characterized in that: The method for obtaining the influence value of the sludge currently covering the sensor installation chamber on the ion selective sensor includes using the formula: Calculate the effect of sludge on the ion selective sensor; where ΔC sum is the impact value, M sum is the current amount of sludge covering the sludge, m0 is the unit sludge amount, C au is the unit impact value.
9. The method for compensating sludge effect of an ion selective sensor according to claim 1, characterized in that: The method for correcting the monitoring value of the ion selective sensor by using the influence value of the sludge covered by the current sensor installation cabin on the ion selective sensor includes using the formula: Correct the monitoring value of the ion selective sensor; among them, C w is the corrected monitoring value, C v is the monitoring value, ΔC sum is the influence of sludge on the ion selective sensor, and k is the correction coefficient.
10. An ion selective sensor sludge effect compensation system, characterized in that include: The unit impact value acquisition module is used to obtain the unit impact value C of the ion selective sensor affected by the sludge of the unit sludge amount m0. au ; The sludge volume acquisition module is used to obtain the sludge volume M currently covered by the sensor installation cabin sum ; The impact value acquisition module is used to measure the amount of sludge M currently covered by the sensor. sum , unit sludge volume m0 and unit impact value C au Calculate the impact value ΔC of the sludge covering the current sensor installation cabin on the ion selective sensor sum ; Compensation module for using the influence of the sludge covering the current sensor installation chamber on the ion-selective sensor ΔC sum The monitoring value C of the ion selective sensor v Make corrections to obtain the corrected monitoring value C w .
