A compensation method for detecting water quality

By compensating for temperature, natural light, and turbidity in water samples, the interference of turbidity, temperature, and natural light on water quality testing is resolved, improving testing accuracy and supporting the formulation of scientific water protection and governance policies.

CN114739924BActive Publication Date: 2026-02-13HUNAN UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210363953.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-08
Publication Date
2026-02-13
Estimated Expiration
2042-04-08

AI Technical Summary

Technical Problem

In existing water quality testing technologies, turbidity particles, temperature changes, and natural light factors can cause measurement errors and interference, affecting the accuracy of the test data.

Method used

By performing temperature compensation, natural light compensation, and turbidity compensation on water quality samples, relevant data of the water quality samples are obtained and corrected respectively, eliminating the interference of turbidity, temperature, and natural light, and improving the detection accuracy.

Benefits of technology

This effectively avoids interference from turbidity, temperature, and natural light factors on water quality testing data, improves the accuracy of test results, and provides reliable data support for water protection and management policies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114739924B_ABST
    Figure CN114739924B_ABST
Patent Text Reader

Abstract

The application discloses a compensation method for detecting water quality, comprising the following steps: obtaining related data of a water quality sample; performing temperature compensation on the water quality sample according to the related data of the water quality sample; performing natural light compensation on the water quality sample according to the related data of the water quality sample; performing turbidity compensation on the water quality sample according to the related data of the water quality sample; and comprehensively evaluating the water quality sample according to the related data of the water quality sample after compensation. The related data of the water quality sample is compensated in turbidity, temperature and natural light respectively, so that the turbidity, temperature and natural light factors can be effectively avoided to interfere with the absorbance data of the detected water quality, the water quality detection result is more accurate, and the corresponding protection and management policy can be reasonably formulated.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of water quality detection, in particular to a compensation method for detecting water quality. BACKGROUND

[0002] With the continuous development of science and technology and the continuous change of sustainable development ideas, people gradually pay attention to the protection and governance of ecological environment. The rivers and lakes in the ecological environment are most easily polluted. The rivers and lakes have a certain self-purification ability, but the uncontrolled discharge of domestic wastewater and industrial wastewater leads to water eutrophication, and the continuous deterioration of water quality further leads to the disease and death of aquatic organisms living in it, forming a vicious cycle. Therefore, artificial intervention is needed to detect water quality and take protective and governance measures in advance according to the detection results.

[0003] The traditional water quality detection technology is an offline laboratory chemical analysis method, which has high labor intensity, long test period, complex operation and secondary pollution. In recent years, the spectrophotometric method has been widely used. This method is based on Lambert-Beer's law and uses the absorption degree of a certain wavelength of light to determine the content of the substance. It has the advantages of high sensitivity, simple operation and rapidness.

[0004] At present, the following problems are faced in the measurement process: turbidity particles will affect the measured absorbance data, temperature changes will also cause measurement errors, and natural light will interfere with the water quality detection related data.

[0005] Therefore, it is an urgent problem for those skilled in the art to provide a compensation method for detecting water quality, which can effectively avoid the interference of turbidity, temperature and natural light factors on water quality detection related data. SUMMARY

[0006] The purpose of the present application is to provide a compensation method for detecting water quality, which has clear logic, simple and effective operation, and can effectively avoid the interference of turbidity, temperature and natural light factors on water quality detection absorbance data, making the water quality detection results more accurate and helping to develop appropriate protection and governance policies.

[0007] To achieve the above purpose, the technical scheme provided by the present application is as follows:

[0008] A compensation method for detecting water quality, comprising the following steps:

[0009] Obtaining the related data of the water quality sample;

[0010] Temperature compensation is performed on the water quality sample according to the related data of the water quality sample;

[0011] Natural light compensation is performed on the water quality sample according to the related data of the water quality sample;

[0012] compensate the water quality sample according to the related data of the water quality sample;

[0013] evaluate the water quality sample according to the compensated related data of the water quality sample.

[0014] Preferably, after obtaining the related data of the water quality sample, before compensating the water quality sample, the method further comprises the following steps:

[0015] presetting a reference water sample;

[0016] obtaining voltage values V of each preset wavelength band when the reference water sample is at a preset standard temperature T.

[0017] Preferably, the temperature compensation of the water quality sample according to the related data of the water quality sample comprises the following steps:

[0018] regularly changing the preset standard temperature T to obtain real-time voltage values of each preset wavelength band at multiple temperatures; and fitting the real-time voltage values of each preset wavelength band at the multiple temperatures with the regularly changed temperature to obtain a temperature-voltage curve.

[0019] Preferably, after step B2, the method further comprises the following steps:

[0020] obtaining a real-time temperature T1 of the water quality sample;

[0021] calculating voltage values V1 of each preset wavelength band when the reference water sample is at the real-time temperature T1 according to the temperature-voltage curve;

[0022] obtaining measured voltage values V2 of each preset wavelength band when the water quality sample is at the real-time temperature T1;

[0023] obtaining absorbance data of each preset wavelength band according to the voltage values V1 and the measured voltage values V2 according to Lambert-Beer's law.

[0024] Preferably, after obtaining the voltage values V of each preset wavelength band when the reference water sample is at the preset standard temperature T, the method further comprises the following steps:

[0025] selecting a first constant-current light source and a second constant-current light source from the preset wavelength bands;

[0026] wherein the first constant-current light source and the second constant-current light source are both located in the preset wavelength range;

[0027] The wavelength of the first constant-current light source is less than the wavelength of the second constant-current light source.

[0028] Preferably, the natural light compensation of the water quality sample according to the related data of the water quality sample comprises the following steps:

[0029] a preset reference light source module;

[0030] sequentially driving the first constant current light source, the second constant current light source and the reference light source module to irradiate the water quality sample;

[0031] respectively collecting voltage values v1, v2 and v3 of the first constant current light source, the second constant current light source and the reference light source module in the water quality sample;

[0032] According to the voltage value v1 of the first constant current light source and the voltage value v3 of the reference light source module, the voltage value v1' of the first constant current light source after natural light compensation is obtained.

[0033] According to the voltage value v2 of the second constant current light source and the voltage value v3 of the reference light source module, the voltage value v2' of the second constant current light source after natural light compensation is obtained.

[0034] Preferably, after obtaining the voltage value v1' of the first constant current light source after natural light compensation and the voltage value v2' of the second constant current light source after natural light compensation, the following steps are further included:

[0035] According to the voltage value v1' of the first constant current light source after natural light compensation and the voltage value V1' of the first constant current light source in the reference water sample, the absorbance data of the first constant current light source after natural light compensation is obtained.

[0036] According to the voltage value v2' of the second constant current light source after natural light compensation and the voltage value V2' of the second constant current light source in the reference water sample, the absorbance data of the second constant current light source after natural light compensation is obtained.

[0037] Wherein, the voltage value V of each preset wave band in the reference water sample at a preset standard temperature T includes the voltage value V1' of the first constant current light source in the reference water sample at a preset standard temperature T and the voltage value V2' of the second constant current light source in the reference water sample at a preset standard temperature T.

[0038] Preferably, the turbidity compensation of the water quality sample according to the related data of the water quality sample comprises the following steps:

[0039] Obtain the absorbance data A2 of the second constant current light source in the water quality sample;

[0040] According to a preset calculation formula, the slope k of the turbidity equivalent absorption spectrum is obtained.

[0041] According to the absorbance data A2 of the second constant current light source in the water quality sample, the slope k of the turbidity equivalent absorption spectrum in the water quality sample and the wavelength of the first constant current light source, the turbidity equivalent absorbance data A1 of the first constant current light source in the water quality sample is calculated;

[0042] The measured absorbance data A1' of the first constant current light source in the water quality sample is obtained.

[0043] According to the measured absorbance data A1' of the first constant current light source in the water quality sample and the turbidity equivalent absorbance data A1 of the first constant current light source in the water quality sample, the absorbance data A1" of the first constant current light source after turbidity compensation is obtained.

[0044] Preferably, after selecting the first constant current light source and the second constant current light source from the preset wave bands, the following steps are further included:

[0045] The absorbance data of the second constant current light source under each preset turbidity concentration is obtained.

[0046] The absorbance data of the second constant current light source under each preset turbidity concentration is fitted to obtain the turbidity equivalent absorption spectrum and the corresponding slope k.

[0047] The absorbance data of the second constant current light source under each preset turbidity concentration and the slope of the turbidity equivalent absorption spectrum are calibrated.

[0048] Preferably, the obtained preset calculation formula is: fitting the absorbance data of the second constant current light source under each preset turbidity concentration and the turbidity equivalent absorption spectrum.

[0049] The water quality detection compensation method provided by the application is mainly used for compensating the relevant data of the collected water quality sample, so as to avoid the adverse effects of turbidity, temperature and natural light on the relevant data of the water quality sample, obtain more accurate data of the water quality sample, and provide data support for formulating corresponding policies for water body protection and management. In the actual application process, first, the data in the water quality sample is obtained, then the water quality sample is compensated for turbidity, temperature and natural light according to the corresponding data in the water quality sample and the preset conditions, then the relevant data of the water quality sample after compensation is comprehensively counted, and the water quality sample is evaluated according to the relevant data after compensation to judge the pollution condition of the water quality sample. The relevant data of the water quality sample is compensated for turbidity, temperature and natural light, which effectively avoids the interference of turbidity, temperature and natural light factors on the absorbance data of the detected water quality, makes the water quality detection result more accurate, and helps to reasonably formulate corresponding protection and management policies. BRIEF DESCRIPTION OF DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description only represent some embodiments of the present application, and all other drawings obtained by those of ordinary skill in the art without creative effort based on these drawings also belong to the protection scope of the present application.

[0051] Figure 1 The method flow chart of the compensation method for detecting water quality provided by the present application;

[0052] Figure 2 The method flow chart provided by the present application after step S1, before the water quality sample is compensated;

[0053] Figure 3 The method flow chart of step S2 provided by the present application;

[0054] Figure 4 The method flow chart of step S3 provided by the present application

[0055] Figure 5 The method flow chart of step S4 provided by the present application

[0056] Figure 6 The method flow chart provided by the present application before step D1;

[0057] Figure 7 The 250nm-450nm turbidity absorption spectrum provided by the present application;

[0058] Figure 8 The COD spectrum provided by the present application;

[0059] Figure 9 The corresponding relationship diagram between the slope K and the absorbance at 385nm provided by the present application. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present application will be described clearly and completely with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments only represent some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort belong to the protection scope of the present application.

[0061] The embodiments of the present application are written in a progressive way.

[0062] The embodiment of the present application provides a compensation method for detecting water quality. Mainly solve the technical problems of the prior art, turbidity particles will affect the measured absorbance data, the measurement error caused by temperature change and the interference of natural light on the related data of water quality detection.

[0063] A compensation method for detecting water quality, comprising the following steps:

[0064] S1. Obtain the related data of the water quality sample;

[0065] S2. Compensate the water quality sample according to the related data of the water quality sample;

[0066] S3. Compensate the water quality sample according to the related data of the water quality sample;

[0067] S4. Compensate the water quality sample according to the related data of the water quality sample;

[0068] S5. Evaluate the water quality sample by integrating the compensated related data of the water quality sample.

[0069] In step S1, the related data of the water quality sample is mainly the data affected by turbidity, temperature and natural light during the detection process, which needs to be compensated.

[0070] In steps S2-S4, the data in the water quality sample is compensated for turbidity, temperature and natural light, so that the water quality sample data is free from the interference of turbidity, temperature and natural light, and is more accurate.

[0071] In step S5, the compensated data in the water quality sample is integrated to evaluate the pollution degree of the water quality sample.

[0072] Preferably, after obtaining the related data of the water quality sample, before compensating the water quality sample, the following steps are further included:

[0073] A1. Pre-set a reference water sample;

[0074] A2. Obtain the voltage value V of each preset wave band of the reference water sample at the preset standard temperature T in turn.

[0075] In step A1, the reference water sample needs to be set for water quality sample compensation. The reference water sample is a deionized water sample, that is, a standard water sample without pollution and other interference factors in the laboratory environment.

[0076] In step A2, the voltage value V of each preset wavelength band is obtained by the following specific operation: first, set the photoelectric conversion device to convert the light intensity into a voltage signal. Then, maintain the reference water sample at a preset standard temperature T, and then use light of each preset wavelength band to irradiate the reference water sample in sequence, and detect and obtain the voltage value V of each preset wavelength band. In this embodiment, the preset standard temperature T is 25°, and the preset wavelength band range is between 250 nm and 450 nm.

[0077] Preferably, step S2 comprises the following steps:

[0078] B1. Regularly change the preset standard temperature T to obtain the real-time voltage value of each preset wavelength band at multiple temperatures;

[0079] B2. Fit the real-time voltage value of each preset wavelength band at multiple temperatures with the regularly changed temperature to obtain a temperature-voltage curve.

[0080] In step B1, the temperature is changed in ascending order or descending order from the standard temperature T. The temperature change can be selected in ascending order or descending order, and the range is between 5° and 45° to adapt to the change of the temperature of the water sample in nature. In this embodiment, the temperature is changed in ascending order, and the temperature rises by 1°. That is, starting from 5°, the real-time voltage value at the current temperature is obtained every time the temperature rises by 1°.

[0081] In step B2, a rectangular coordinate system is constructed with temperature as the abscissa and voltage value as the ordinate, and the temperature and real-time voltage value obtained in step B1 are marked in the coordinate system to fit the above data to obtain a temperature-voltage curve. The voltage value corresponding to the temperature has a positive linear relationship with the actual temperature (V = 0.68 + k + 0.00225*T, k is a constant).

[0082] Preferably, after step B2, the following steps are further included:

[0083] B3. Obtain the real-time temperature T1 of the water quality sample;

[0084] B4. According to the temperature-voltage curve, calculate the voltage value V1 of each preset wavelength band when the reference water sample is at the real-time temperature T1;

[0085] B5. Obtain the measured voltage value V2 of each preset wavelength band when the water quality sample is at the real-time temperature T1 in sequence;

[0086] B6. According to Lambert-Beer's law, obtain the absorbance data of each preset wavelength band according to the voltage value V1 and the measured voltage value V2.

[0087] In step B3, the current real-time temperature T1 of the water quality sample is measured by a temperature measuring device.

[0088] In step B4, according to the real-time temperature T1 and the temperature-voltage curve, the voltage value V1 of the reference water sample irradiated by light of the multiple preset wave bands at the real-time temperature T1 can be calculated, and the voltage value V1 at this time is the theoretical voltage value before temperature compensation.

[0089] In step S5, the measured voltage value V2 of the water quality sample irradiated by light of the multiple preset wave bands at the real-time temperature T1 is measured and obtained.

[0090] In step B6, since V1 is the theoretical voltage value of each preset wave band in deionized water at the real-time temperature T1, and V2 is the measured voltage value of each preset wave band in the water quality sample at the real-time temperature T1, the voltage difference between the two can indicate the absorption degree of the water quality sample to the light intensity. That is, according to the difference between V2 and V1, and the Lambert-Beer law, the absorbance data of each preset wave band can be calculated and obtained.

[0091] The Lambert-Beer law is the basic law of spectrophotometry, which describes the relationship between the strength of absorption of a substance to light of a certain wavelength and the concentration and thickness of the absorbing substance.

[0092] Preferably, after obtaining the voltage value V of each preset wave band in the reference water sample at the preset standard temperature T, the method further comprises the following steps:

[0093] Selecting a first constant-current light source and a second constant-current light source from the multiple preset wave bands;

[0094] The first constant-current light source and the second constant-current light source are both located in the preset wavelength range.

[0095] The wavelength of the first constant-current light source is less than the wavelength of the second constant-current light source.

[0096] In actual application, the first constant-current light source and the second constant-current light source are selected from the multiple preset wave bands. The first constant-current light source belongs to the short-wave ultraviolet light band, the second constant-current light source belongs to the visible light band, the first constant-current light source can be selected multiple times in the wavelength range, and the second constant-current light source is selected only once. In this embodiment, the wavelength of the first constant-current light source is 255 nm, and the wavelength of the second constant-current light source is 385 nm.

[0097] Preferably, step S3 comprises the following steps:

[0098] C1. A preset reference light source module;

[0099] C2. The first constant-current light source, the second constant-current light source, and the reference light source module are sequentially driven to irradiate the water quality sample.

[0100] C3. Collecting voltage values v1, v2 and v3 of the first constant current light source, the second constant current light source and the reference light source module in the water quality sample respectively;

[0101] C41. Obtaining the voltage value v1' of the first constant current light source after natural light compensation according to the voltage value v1 of the first constant current light source and the voltage value v3 of the reference light source module;

[0102] C42. Obtaining the voltage value v2' of the second constant current light source after natural light compensation according to the voltage value v2 of the second constant current light source and the voltage value v3 of the reference light source module.

[0103] In step C1, the reference light source module itself does not emit light when the water quality sample is compensated for natural light.

[0104] In step C2, the first constant current light source, the second constant current light source and the reference light source module are driven in turn to irradiate the water quality sample, so as to obtain three voltage values which are consistent with the external environment and do not interfere with each other.

[0105] In step C3, the voltage values v1, v2 and v3 corresponding to the first constant current light source, the second constant current light source and the reference light source module are collected respectively. That is, v1 is the voltage value generated when the first constant current light source irradiates the water quality sample; v2 is the voltage value generated when the second constant current light source irradiates the water quality sample; and v3 is the voltage value generated when natural light irradiates the water quality sample.

[0106] In step C41, the difference between v1 and v3 is the voltage value of the first constant current light source after compensation for excluding the interference of natural light; and the difference between v2 and v3 is the voltage value of the second constant current light source after compensation for excluding the interference of natural light.

[0107] Preferably, after obtaining the voltage value v1' of the first constant current light source after natural light compensation and the voltage value v2' of the second constant current light source after natural light compensation, the following steps are further included:

[0108] C51. Obtaining the absorbance data of the first constant current light source after natural light compensation according to the voltage value v1' of the first constant current light source after natural light compensation and the voltage value V1' of the first constant current light source in the reference water sample;

[0109] C52. Obtaining the absorbance data of the second constant current light source after natural light compensation according to the voltage value v2' of the second constant current light source after natural light compensation and the voltage value V2' of the second constant current light source in the reference water sample;

[0110] The voltage values V of each preset wave band in the reference water sample include the voltage value V1' of the first constant current light source in the reference water sample and the voltage value V2' of the second constant current light source in the reference water sample.

[0111] In actual application, the voltage values V1' and V2' of the reference water sample are obtained by the first constant current light source and the second constant current light source respectively, and the voltage values v1' and v2' of the first constant current light source and the second constant current light source after natural light compensation are obtained. According to Lambert-Beer law, the absorbance data of the first constant current light source and the second constant current light source after natural light compensation are calculated.

[0112] Preferably, the step S4 comprises the following steps:

[0113] D1. obtaining the absorbance data A2 of the second constant current light source in the water sample;

[0114] D2. obtaining the slope k of the turbidity equivalent absorption spectrum according to the preset calculation formula;

[0115] D3. calculating the turbidity equivalent absorbance data A1 of the first constant current light source in the water sample according to the absorbance data A2 of the second constant current light source in the water sample, the slope k of the turbidity equivalent absorption spectrum in the water sample and the wavelength of the first constant current light source;

[0116] D4. obtaining the measured absorbance data A1' of the first constant current light source in the water sample;

[0117] D5. obtaining the absorbance data A1" of the first constant current light source after turbidity compensation according to the measured absorbance data A1' of the first constant current light source in the water sample and the turbidity equivalent absorbance data A1 of the first constant current light source in the water sample.

[0118] In the step D1, the absorbance data A2 of the second constant current light source in the water sample is obtained, which can be obtained by conventional measurement or calculated by temperature compensation or natural light compensation.

[0119] In the step D2, the slope k of the turbidity equivalent absorption spectrum is calculated according to the preset calculation formula.

[0120] In the step D3, the superposition and approximate linear relationship of the absorption spectrum in the wavelength range of 250nm-450nm are known. The turbidity equivalent absorbance data A1 of the first constant current light source is calculated according to the absorbance data A2 of the second constant current light source in the water sample, the slope k of the turbidity equivalent absorption spectrum in the water sample and the wavelength of the first constant current light source. The absorbance data is the theoretical first constant current source corresponding to the absorbance data to be compensated.

[0121] In the step D4, the measured absorbance data A1' of the first constant current light source in the water sample is measured.

[0122] In step D5, according to the superposition of the known absorption spectrum in the wavelength range of 250nm-450nm and the difference between the measured absorbance data A1' of the first constant current light source and the turbidity equivalent absorbance data A1 of the first constant current light source, the true absorbance data of the first constant current light source, i.e. the absorbance data A1" of the first constant current light source after turbidity compensation, is calculated.

[0123] Preferably, after selecting the first constant current light source and the second constant current light source from the preset wavelength bands, the following steps are further included:

[0124] E1. Obtain the absorbance data of the second constant current light source at each preset turbidity concentration;

[0125] E2. Fit the absorbance data of the second constant current light source at each preset turbidity concentration to obtain the turbidity equivalent absorption spectrum and its corresponding slope k;

[0126] E3. Calibrate the absorbance data of the second constant current light source at each preset turbidity concentration and the slope of the turbidity equivalent absorption spectrum.

[0127] It should be noted that the conventional method is to fit the full-band data, because the turbidity absorption spectrum is in the full-band range, and the smaller the wavelength, the higher the corresponding slope. However, the applicant found through experiments that the absorption spectrum in the specific range of 250nm-450nm has good linear fitting relationship and superposition (as shown in Figure 7 ), the linear fitting relationship provides feasibility for the single-band compensation, and the superposition provides support for the direct deduction. The experimental compensation effect (as shown in Figure 8 ) proves the feasibility of the linear fitting + superposition deduction method.

[0128] Figure 8 The uppermost line (60COD+80NTU) represents a mixed solution of 80NTU and 60mg / L COD solution, the solid line below (60COD) is the standard absorption spectrum of 60mg / L COD, and the dashed line (60COD') after compensation represents the absorption spectrum of the mixed solution after compensation, which is almost coincident with the 60COD standard spectrum below, proving the feasibility of the linear fitting + superposition deduction method.

[0129] Accordingly, the applicant found that the greater the turbidity, the greater the slope, thereby establishing the corresponding relationship between the slope K and the absorbance at 385nm, and realizing the single visible band compensation of turbidity. The corresponding relationship (as shown in Figure 9 ).

[0130] Based on this, the applicant designs a formula for calculating the equivalent absorption spectrum and a turbidity compensation method. Steps E1-E3 are the method steps of the formula for calculating the equivalent absorption spectrum slope of turbidity before turbidity compensation by obtaining the absorbance data of a single visible band.

[0131] In step E1, the absorbance data of the second constant current light source under each preset turbidity concentration is obtained. In this embodiment, the preset turbidity concentrations are 120 NTU, 80 NTU, 40 NTU, 20 NTU and 10 NTU.

[0132] In step E2, the visible band absorbance data between 380 nm and 450 nm is fitted to obtain an approximately linear turbidity equivalent absorption spectrum and its corresponding slope k.

[0133] In step E3, a single band is selected as the second constant current light source within the above-mentioned 380 nm-450 nm, and the absorbance data corresponding to the single band is one-to-one corresponding to the slope of the approximately linear turbidity equivalent absorption spectrum, and the calibration is completed.

[0134] Preferably, obtaining the pre-designed calculation formula specifically refers to fitting the absorbance data of the second constant current light source under each preset turbidity concentration with the turbidity equivalent absorption spectrum.

[0135] In actual application process, the single visible band absorbance data A selected in step E3 and the slope k of the turbidity equivalent absorption spectrum are fitted to obtain the corresponding relationship to obtain a formula for calculating the slope of the turbidity equivalent absorption spectrum through the single visible band absorbance data. The formula is applied to step D2.

[0136] In the embodiments provided in the present application, it should be understood that the disclosed method can be implemented by other ways. The above-described device embodiments are only schematic, for example, the division of the modules is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or modules, and can be electrical, mechanical or other forms.

[0137] In addition, each functional module in each embodiment of the present application can be integrated in one processor, or each module can be a separate device, or two or more modules can be integrated in one device; each functional module in each embodiment of the present application can be realized in the form of hardware or in the form of hardware plus software functional units.

[0138] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instructions and related hardware. The foregoing program instructions can be stored in a computer readable storage medium. When the program instructions are executed, the steps of the above-mentioned method embodiments are executed. The foregoing storage medium includes a mobile storage device, a read only memory (ROM), a magnetic disc or an optical disc, and various media capable of storing program codes.

[0139] It should also be noted that the terms "comprising", "containing" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising the element.

[0140] The above describes in detail the compensation method for detecting water quality provided by the present application. The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A compensation method for detecting water quality, characterized by, The method comprises the following steps: obtaining relevant data of a water quality sample; temperature compensation of the water quality sample according to the relevant data of the water quality sample; natural light compensation of the water quality sample according to the relevant data of the water quality sample, through a preset reference light source module and a first constant current light source and a second constant current light source, wherein the first constant current light source and the second constant current light source are both located in a preset wavelength range, the wavelength of the first constant current light source is smaller than the wavelength of the second constant current light source, and the preset wavelength range is specifically 250nm-450nm; turbidity compensation of the water quality sample according to the superposition and approximate linear relationship of the absorption spectrum in the preset wavelength range, specifically comprising: obtaining the absorbance data A2 of the second constant current light source in the water quality sample; obtaining the slope k of the turbidity equivalent absorption spectrum according to a preset calculation formula, wherein the obtaining of the preset calculation formula specifically comprises: fitting the absorbance data of the second constant current light source at each preset turbidity concentration with the turbidity equivalent absorption spectrum; calculating and obtaining the turbidity equivalent absorbance data A1 of the first constant current light source in the water quality sample according to the absorbance data A2 of the second constant current light source in the water quality sample, the slope k of the turbidity equivalent absorption spectrum in the water quality sample, and the wavelength of the first constant current light source; obtaining the measured absorbance data A1' of the first constant current light source in the water quality sample; obtaining the absorbance data A1" of the first constant current light source after turbidity compensation according to the measured absorbance data A1' of the first constant current light source in the water quality sample and the turbidity equivalent absorbance data A1 of the first constant current light source in the water quality sample; comprehensive evaluation of the water quality sample according to the compensated relevant data of the water quality sample.

2. The compensation method for detecting water quality according to claim 1, wherein After obtaining the relevant data of the water quality sample, before compensating the water quality sample, the method further comprises the following steps: presetting a reference water sample; obtaining the voltage values V of each preset wave band when the reference water sample is at a preset standard temperature T.

3. The compensation method for detecting water quality according to claim 2, wherein The temperature compensation of the water quality sample according to the relevant data of the water quality sample comprises the following steps: regularly changing the preset standard temperature T to obtain real-time voltage values of each preset wave band at multiple temperatures; fitting the real-time voltage values of each preset wave band at multiple temperatures with the regularly changed temperature to obtain a temperature-voltage curve.

4. The compensation method for detecting water quality according to claim 3, wherein After obtaining the temperature-voltage curve, the method further comprises the following steps: obtaining the real-time temperature T1 of the water quality sample; calculating and obtaining the voltage values V1 of each preset wave band when the reference water sample is at the real-time temperature T1 according to the temperature-voltage curve; obtaining the measured voltage values V2 of each preset wave band when the water quality sample is at the real-time temperature T1; obtaining the absorbance data of each preset wave band according to the voltage values V1 and the measured voltage values V2 according to the Lambert-Beer law.

5. The compensation method for detecting water quality according to claim 2, wherein, After obtaining the voltage values V of each preset wave band when the reference water sample is at a preset standard temperature T, the method further comprises the following steps: selecting a first constant current light source and a second constant current light source from the preset wave bands.

6. The compensation method for detecting water quality according to claim 5, wherein, The natural light compensation of the water quality sample according to the related data of the water quality sample comprises the following steps: a preset reference light source module; the first constant current light source, the second constant current light source and the reference light source module are driven in sequence to irradiate the water quality sample; voltage values v1, v2 and v3 of the first constant current light source, the second constant current light source and the reference light source module in the water quality sample are collected respectively; a voltage value v1' of the first constant current light source after natural light compensation is obtained according to the voltage value v1 of the first constant current light source and the voltage value v3 of the reference light source module; a voltage value v2' of the second constant current light source after natural light compensation is obtained according to the voltage value v2 of the second constant current light source and the voltage value v3 of the reference light source module.

7. The compensation method for detecting water quality according to claim 6, wherein, After the voltage value v1' of the first constant current light source after natural light compensation and the voltage value v2' of the second constant current light source after natural light compensation are obtained, the following steps are further included: absorbance data of the first constant current light source after natural light compensation is obtained according to the voltage value v1' of the first constant current light source after natural light compensation and the voltage value V1' of the first constant current light source in the reference water sample; absorbance data of the second constant current light source after natural light compensation is obtained according to the voltage value v2' of the second constant current light source after natural light compensation and the voltage value V2' of the second constant current light source in the reference water sample; The voltage values V of each preset wave band in the reference water sample at a preset standard temperature T include the voltage value V1' of the first constant current light source in the reference water sample at the preset standard temperature T and the voltage value V2' of the second constant current light source in the reference water sample at the preset standard temperature T.

8. The compensation method for detecting water quality according to claim 5, wherein, After the first constant current light source and the second constant current light source are selected from the preset wave bands, the following steps are further included: absorbance data of the second constant current light source at each preset turbidity concentration is obtained; the absorbance data of the second constant current light source at each preset turbidity concentration is fitted to obtain a turbidity equivalent absorption spectrum and a corresponding slope k; the absorbance data of the second constant current light source at each preset turbidity concentration and the slope of the turbidity equivalent absorption spectrum are calibrated.

Citation Information

Patent Citations

  • Water quality detecting equipment and water quality detecting method and device thereof

    CN109827902A