Method and system for measuring COD (Chemical Oxygen Demand) in water by spectrum method

Through spectral measurement method, the integration processing and ternary regression formula are used to solve the problem of poor accuracy of COD measurement in traditional optical methods, and a higher accuracy COD measurement is achieved.

CN118914117AInactive Publication Date: 2024-11-08HANGZHOU KAIMISI IOT SENSING TECH CO LTD

Patent Information

Application Number
CN202411398058.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional optical methods are susceptible to interference from other substances in the water quality when measuring COD, resulting in poor measurement accuracy.

Method used

By using spectral measurement method, by accepting the original band data in the water sample, extracting the effective band for integration processing, and selecting the corresponding ternary regression formula based on the COD prediction value, adjusting the proportion of different bands to obtain more accurate COD measurements. value.

Benefits of technology

It improves the accuracy of COD measurement, eliminates interference from useless bands, ensures that effective data participates in computing, and improves computing speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914117A_ABST
    Figure CN118914117A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of COD (Chemical Oxygen Demand) monitoring, particularly provides a method and a system for measuring COD in water by using a spectrum method, and aims to solve the problem of poor accuracy of measuring COD in water by using an optical method in the prior art. The method comprises the following steps: receiving data of an original wave band in a water sample irradiated by a light source generator to obtain an absorbance spectrum; extracting data of an effective wave band in the absorbance spectrum, and carrying out integration processing; inputting the value after integral processing into a COD prediction model to obtain a COD prediction value; effective wave bands are divided into wave bands of 200 to 220 nm, wave bands of 220 to 240 nm and wave bands of 240 to 300 nm; respectively carrying out integration processing on the data of the three wave bands; and selecting a corresponding ternary regression formula in the COD prediction model according to the COD predicted value, and inputting the values subjected to integral processing corresponding to the three divided wave bands into the ternary regression formula to obtain a COD measured value. The precision of the COD concentration in the water sample measured by the device and the method is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of COD monitoring, and in particular relates to a method and a system for measuring COD in water using a spectral method. Background Art

[0002] The traditional optical method for measuring COD (chemical oxygen demand) generally uses a single wavelength of 254nm light, and then measures the absorbance of the single wavelength of 254nm light in the water and the absorbance of the single wavelength of 254nm light in the standard solution, and calculates the difference between the two to be the COD concentration in the water. However, this method is easily interfered by other substances in the water, resulting in a gap between the COD value measured in the water and the actual COD value. Summary of the invention

[0003] The present invention provides a method and system for measuring COD in water using a spectral method, aiming to solve the problem of poor accuracy in measuring COD in water using an optical method in the prior art.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: In a first aspect, the present invention provides a method for measuring COD in water by spectroscopy, comprising the following steps: S100, receiving data of the original waveband in the water sample irradiated by the light source generator, and obtaining an absorbance spectrum; S200, extracting data of the effective band in the absorbance spectrum, and integrating the data of the effective band to obtain a value of the effective band data after integration processing; S300, inputting the value after the effective band data integration process into the COD prediction model to obtain the COD prediction value in the water sample; S400, dividing the data of the effective band into a 200-220 nm band, a 220-240 nm band and a 240-300 nm band; performing integration processing on the data of the three bands respectively; S500. Select the corresponding ternary regression formula in the COD prediction model according to the COD prediction value, and input the integral processed values ​​corresponding to the 200-220nm band, the 220-240nm band and the 240-300nm band into the ternary regression formula to obtain the measured value of COD in the water sample.

[0005] Further solution: in the step S500, different ranges of the COD prediction values ​​correspond to different ternary regression formulas; When the COD prediction value is within the range of 0-100 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 1.21557*ABS1 + 0.844387*ABS2 + 0.1571947*ABS3; When the COD prediction value is within the range of 100-200 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.87514*ABS1 + 1.05105*ABS2 + 0.435482*ABS3; When the COD prediction value is within the range of 200-500 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.334221*ABS1 + 0.95147*ABS2 + 0.84328*ABS3; Among them, the * represents multiplication; the ABS1 represents the value after the data of the 200~220nm band is integrated; the ABS2 represents the value after the data of the 220~240nm band is integrated; and the ABS3 represents the value after the data of the 240~300nm band is integrated.

[0006] Based on the above scheme, the corresponding ternary regression formula is selected according to the COD prediction value in different ranges, so that the proportions of the three parts of 200~220nm band, 220~240nm band and 240~300nm band in the COD prediction model can be adjusted according to the COD prediction value, so as to obtain a more accurate COD measurement value in the water sample.

[0007] Further solution: In step S300, the formula used by the COD prediction model is: COD predicted value = 0.005971*exp(0.08912* C)+2.639* C -12.76; Wherein, the * represents multiplication; the C represents the value after the effective band data is integrated; and the exp() represents an exponential function with e as the base.

[0008] Further solution: In step S200 and step S400, the integral processing adopts the formula:

[0009] Wherein, C' represents the value after integration processing; x represents the wavelength, f(x) represents the light intensity of wavelength x, a represents the left limit of the band; and b represents the right limit of the band.

[0010] Based on the above scheme, in step S200, the integration processing of the data of the effective band can not only ensure that the data of the effective band participates in the calculation, but also make the linearity of the COD prediction model good, thereby improving the linear calculation of the COD prediction model.

[0011] Further solution: In step S100, the light source generator is a xenon lamp.

[0012] Based on the above solution, the xenon lamp has high brightness, long life, and is energy-saving and environmentally friendly; therefore, choosing a xenon lamp as the light source generator is the best solution.

[0013] A further solution: in the step S100, a micro-fiber spectrometer is used to receive the data of the original waveband in the water sample.

[0014] A further solution: in step S100, the original wavelength range is 100-800 nm.

[0015] Based on the above scheme, since the wavelength of visible light is between 380 and 750 nm, in order to avoid ignoring other invisible light (such as ultraviolet light) emitted by the light source generator, this scheme chooses to receive data in the wavelength band of 100 to 800 nm in the water sample.

[0016] A further solution: in step S200, the effective wavelength range is 200-300 nm.

[0017] Based on the above scheme, the light in the 200~300nm band can be absorbed by the COD in the water sample. Therefore, the 200~300nm band is selected as the effective band data in this scheme.

[0018] In a second aspect, the present invention provides a measurement system for measuring COD in water by spectroscopy, comprising: A receiving module receives data of the original waveband in the water sample irradiated by the light source generator to obtain an absorbance spectrum; A processing module is provided for integrating the data of the effective band in the absorbance spectrum to obtain the value of the effective band data after integration processing; and the effective band is divided into a 200-220nm band, a 220-240nm band and a 240-300nm band, and the data of the 200-220nm band, the data of the 220-240nm band and the data of the 240-300nm band are integrated respectively; The COD measurement module includes a COD prediction model; the COD prediction value of the water sample is obtained according to the value after the integration processing of the effective band data, and the corresponding ternary regression formula in the COD prediction model is selected according to the COD prediction value, and the values ​​of the integration processing of the data in the 200-220nm band, the data in the 220-240nm band and the data in the 240-300nm band are input into the ternary regression formula to obtain the COD measurement value of the water sample.

[0019] The beneficial effects of the present invention are: In the present invention, the effective band data in the absorbance spectrum is selected for integration processing, which can not only eliminate the interference of other useless bands, but also ensure that the data of the effective band participates in the calculation, so that the COD prediction model has good linearity; the value after the effective band data is integrated is input into the COD prediction model to obtain the COD prediction value in the water sample; then the effective band is divided into three bands of 200~220nm, 220~240nm and 240~300nm, and the data of the three bands are respectively integrated. ; Finally, according to the COD prediction value, the corresponding ternary regression formula is selected in the COD prediction model, and the values ​​after the integration processing of the three bands of 200~220nm, 220~240nm and 240~300nm are input into the selected ternary regression formula, which not only improves the calculation speed, but also can adjust the proportion of the three parts of 200~220nm band, 220~240nm band and 240~300nm band in the COD prediction model according to the COD prediction value, so as to obtain a more accurate COD concentration in the water sample. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a schematic flow chart of a method for measuring COD in water by spectroscopy in the present invention; Figure 2 It is a structural schematic diagram of a measurement system for measuring COD in water using a spectral method in the present invention; Figure 3 It is a schematic diagram of the absorbance spectrum obtained in the test of the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work belong to the protection scope of the present invention. Embodiment 1

[0023] like Figure 1 As shown, this embodiment provides a method for measuring COD in water by spectroscopy, comprising the following steps: S100, irradiating a water sample with a light source generator, and collecting data of an original band in the water sample to obtain an absorbance spectrum; S200, extracting data of the effective band in the absorbance spectrum, and integrating the data of the effective band to obtain a value of the effective band data after integration processing; S300, inputting the value after the effective band data integration process into the COD prediction model to obtain the COD prediction value in the water sample; S400, dividing the data of the effective band into a 200-220 nm band, a 220-240 nm band and a 240-300 nm band; performing integration processing on the data of the three bands respectively; S500. Select the corresponding ternary regression formula in the COD prediction model according to the COD prediction value, and input the integral processed values ​​corresponding to the 200-220nm band, the 220-240nm band and the 240-300nm band into the ternary regression formula to obtain the measured value of COD in the water sample.

[0024] A more specific example of the above solution is: In the step S100, the light source generator is a xenon lamp, the xenon lamp irradiates the water sample, and a micro-fiber spectrometer is used to receive data of the original waveband in the water sample.

[0025] The original waveband in the water sample refers to the absorbance spectrum received by the micro-fiber spectrometer after the water sample is illuminated by the xenon lamp, and the waveband data on the absorbance spectrum is the original waveband in the water sample. The original waveband can range from 100 to 800 nm.

[0026] Among them, in the step S100, the method of using the xenon lamp to irradiate the water sample and receiving the data of the original band in the water sample through the micro-fiber spectrometer follows the Lambert-Beer law. The Lambert-Beer law states that when a beam of parallel monochromatic light passes through a solution containing a light-absorbing substance, the absorbance of the solution is proportional to the product of the concentration of the light-absorbing substance and the distance traveled by the parallel monochromatic light in the solution, and the formula is:

[0027] Wherein, A represents the absorbance of the solution; ε represents the molar absorption coefficient of the absorbing substance, in L / mol·cm; l represents the thickness of the solution, in cm; c represents the concentration, in mol / L; I o Represents the parallel monochromatic light intensity; t Indicates the intensity of transmitted light.

[0028] In the step S200, a band of 200 to 300 nm in the absorbance spectrum, i.e., an effective band, is selected, and data of the effective band is integrated; The formula used in the integration process is:

[0029] Wherein, C' represents the value after integration processing; x represents the wavelength, f(x) represents the light intensity of wavelength x, a represents the left limit of the band; and b represents the right limit of the band.

[0030] Next, use the integral processing formula The specific formula for integrating the effective band is:

[0031] Wherein, C represents the value after the data integration processing of the effective band (200-300 nm band); x represents the wavelength, f(x) represents the light intensity of wavelength x, a=200 nm; and b=300 nm.

[0032] In step S300, the formula used by the COD prediction model is: COD predicted value = 0.005971*exp(0.08912* C)+2.639* C -12.76; Wherein, the * represents multiplication; the C represents the value after the effective band data is integrated; and the exp() represents an exponential function with e as the base.

[0033] In the step S400, integration processing is performed on the 200-220 nm band, the 220-240 nm band, and the 240-300 nm band respectively.

[0034] Specifically, the formula used for the integration process in the 200-220 nm band is:

[0035] Wherein, C1 represents the value after the integration processing of the data in the 200-220nm band; x represents the wavelength, f(x) represents the light intensity of wavelength x, a1 represents 200nm; and b1 represents 220nm.

[0036] Specifically, the formula used for the integration process in the 220-240 nm band is:

[0037] Among them, C2 represents the value after the integration processing of the data in the 220~240nm band; x represents the wavelength, f(x) represents the light intensity of wavelength x, a2 represents 220nm; and b2 represents 240nm.

[0038] Specifically, the formula used for the integration process in the 240-300 nm band is:

[0039] Among them, C3 represents the value after integration processing of 240~300nm band data; x represents wavelength, f(x) represents the light intensity of wavelength x, a3 represents 240nm; and b3 represents 300nm.

[0040] In the step S500, the corresponding ternary regression formula in the COD prediction model is selected according to the COD prediction value in the step S300. It should be noted that different ranges of the COD prediction values ​​correspond to different ternary regression formulas; When the COD prediction value is within the range of 0-100 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 1.21557*ABS1 + 0.844387*ABS2 + 0.1571947*ABS3; When the COD prediction value is within the range of 100-200 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.87514*ABS1 + 1.05105*ABS2 + 0.435482*ABS3; When the COD prediction value is within the range of 200-500 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.334221*ABS1 + 0.95147*ABS2 + 0.84328*ABS3; Among them, the * represents multiplication; the ABS1 represents the value after the data of the 200~220nm band is integrated (C1); the ABS2 represents the value after the data of the 220~240nm band is integrated (C2); and the ABS3 represents the value after the data of the 240~300nm band is integrated (C3). Embodiment 2

[0041] like Figure 2 As shown, this embodiment provides a measurement system for measuring COD in water using a spectral method, comprising: A receiving module receives data of the original waveband in the water sample irradiated by the light source generator to obtain an absorbance spectrum; A processing module is provided for integrating the data of the effective band in the absorbance spectrum to obtain the value of the effective band data after integration processing; and the effective band is divided into a 200-220nm band, a 220-240nm band and a 240-300nm band, and the data of the 200-220nm band, the data of the 220-240nm band and the data of the 240-300nm band are integrated respectively; The COD measurement module includes a COD prediction model; the COD prediction value of the water sample is obtained according to the value after the integration processing of the effective band data, and the corresponding ternary regression formula in the COD prediction model is selected according to the COD prediction value, and the values ​​of the integration processing of the data in the 200-220nm band, the data in the 220-240nm band and the data in the 240-300nm band are input into the ternary regression formula to obtain the COD measurement value of the water sample.

[0042] The present invention will be further described below in conjunction with an experiment: Test content: Set up a control group: a standard solution with a known COD concentration of 200 mg / L. Set up a test group: prepare five standard solutions of the control group with different concentrations (20 mg / mL, 40 mg / mL, 80 mg / mL, 250 mg / mL and 500 mg / mL), and measure the COD concentration in the standard solution in the control group by a method for measuring COD in water by spectroscopy in the present invention.

[0043] Step 1: Use a xenon lamp to irradiate the standard solution, and use the micro-fiber spectrometer to receive the data of the 100-800nm ​​band in the standard solution to obtain Figure 3 The absorbance spectrum shown; where Figure 3 The blue curve in the figure represents the absorbance of the standard solution with a concentration of 500 mg / mL collected at different bands (or wavelengths); the yellow curve represents the absorbance of the standard solution with a concentration of 250 mg / mL collected at different bands (or wavelengths); the purple curve represents the absorbance of the standard solution with a concentration of 80 mg / mL collected at different bands (or wavelengths); the yellow-green curve represents the absorbance of the standard solution with a concentration of 40 mg / mL collected at different bands (or wavelengths); the green curve represents the absorbance of the standard solution with a concentration of 20 mg / mL collected at different bands (or wavelengths). Figure 3 The horizontal axis is the wavelength, and the unit is nm; Figure 3 The ordinate in the figure is absorbance. It should be noted that absorbance has no unit.

[0044] Step 2: Extract the absorbance spectrum ( Figure 3 ), and integrating the data of the 200-300 nm band; The formula used for integration is: ; Wherein, C represents the value after data integration processing of the effective band (200~300nm); x represents the wavelength, and f(x) represents the light intensity of wavelength x; after calculation, the obtained C is 28.81.

[0045] Step 3: Input the C=28.81 value in step 2 into the COD prediction model, COD prediction value=0.005971*exp(0.08912* C)+2.639* C-12.76 formula, COD predicted value = 0.005971 * exp (0.08912 * 28.81) + 2.639 * 28.81 - 12.76 = 218.50, that is, the COD predicted value (COD predicted concentration) in the standard solution is 218.50 mg / L.

[0046] Step 4: Divide the 200-300 nm band into a 200-220 nm band, a 220-240 nm band, and a 240-300 nm band; perform integration processing on the three segments of data respectively; The formula used for integration processing in the 200-220 nm band is: ; After calculation, C1 is 63.19; The formula used for integration processing in the 220-240 nm band is: ; After calculation, C2 is 96.14; The formula used for integration processing in the 240-300 nm band is: ; After calculation, C3 is 98.25.

[0047] Step 5: According to the COD prediction value of 218.50 mg / L in step 3, the ternary regression formula is selected as COD = 0.334221*ABS1 + 0.95147*ABS2 + 0.84328*ABS3; wherein, the ABS1 represents the value after the data of the 200-220nm band is integrated (C1); the ABS2 represents the value after the data of the 220-240nm band is integrated (C2); the ABS3 represents the value after the data of the 240-300nm band is integrated (C3); substitute the C1, C2 and C3 into the meta-regression formula as COD = 0.334221*ABS1 + 0.95147*ABS2 + 0.84328*ABS3; COD = 0.334221*63.19 + 0.95147*96.14 + 0.84328*98.25=199.13, that is, the measured COD concentration of the standard solution is 199.13 mg / L.

[0048] It can be seen from the experiment that the COD concentration of the standard solution in the control group is 200 mg / L. The COD concentration of the standard solution measured by the present invention is 199.13 mg / L, which is very close to 200 mg / L. It can be seen that the present invention can achieve high-precision measurement, and the present invention has high accuracy and high practicality.

[0049] The present invention is not limited to the above-mentioned optional implementation modes. Anyone can derive other various forms of products under the inspiration of the present invention. However, no matter what changes are made in the shape or structure, all technical solutions that fall within the scope of the present invention are within the protection scope of the present invention.

Claims

1. A method for measuring COD in water by spectroscopy, characterized in that: The following steps are involved: S100, receiving data of the original waveband in the water sample irradiated by the light source generator, and obtaining an absorbance spectrum; S200, extracting data of the effective band in the absorbance spectrum, and integrating the data of the effective band to obtain a value of the effective band data after integration processing; S300, inputting the value after the effective band data integration process into the COD prediction model to obtain the COD prediction value in the water sample; S400, dividing the data of the effective band into a 200-220 nm band, a 220-240 nm band and a 240-300 nm band; performing integration processing on the data of the three bands respectively; S500. Select the corresponding ternary regression formula in the COD prediction model according to the COD prediction value, and input the integral processed values ​​corresponding to the 200-220nm band, the 220-240nm band and the 240-300nm band into the ternary regression formula to obtain the measured value of COD in the water sample.

2. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In the step S500, different ranges of the COD prediction values ​​correspond to different ternary regression formulas; When the COD prediction value is within the range of 0-100 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 1.21557*ABS1 + 0.844387*ABS2 + 0.1571947*ABS3; When the COD prediction value is within the range of 100-200 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.87514*ABS1 + 1.05105*ABS2 + 0.435482*ABS3; When the COD prediction value is within the range of 200-500 mg / L, the ternary regression formula in the COD prediction model is selected as COD = 0.334221*ABS1 + 0.95147*ABS2 + 0.84328*ABS3; Among them, the * represents multiplication; the ABS1 represents the value after the data of the 200~220nm band is integrated; the ABS2 represents the value after the data of the 220~240nm band is integrated; and the ABS3 represents the value after the data of the 240~300nm band is integrated.

3. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In step S300, the formula used by the COD prediction model is: COD predicted value = 0.005971*exp(0.08912*C)+2.639*C-12.76; Wherein, the * represents multiplication; the C represents the value after the effective band data is integrated; and the exp() represents an exponential function with e as the base.

4. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In step S200 and step S400, the integral processing adopts the formula: ; Wherein, C' represents the value after integration processing; x represents the wavelength, f(x) represents the light intensity of wavelength x, a represents the left limit of the band; and b represents the right limit of the band.

5. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In the step S100, the light source generator is a xenon lamp.

6. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In the step S100, a micro optical fiber spectrometer is used to receive data of the original waveband in the water sample.

7. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In the step S100, the original wavelength range is 100-800 nm.

8. The method for measuring COD in water by spectroscopy according to claim 1, characterized in that: In the step S200, the effective wavelength range is 200-300 nm.

9. A system for measuring COD in water by spectroscopy, characterized in that: include: A receiving module receives data of the original waveband in the water sample irradiated by the light source generator to obtain an absorbance spectrum; A processing module is provided for integrating the data of the effective band in the absorbance spectrum to obtain the value of the effective band data after integration processing; and the effective band is divided into a 200-220nm band, a 220-240nm band and a 240-300nm band, and the data of the 200-220nm band, the data of the 220-240nm band and the data of the 240-300nm band are integrated respectively; The COD measurement module includes a COD prediction model; the COD prediction value of the water sample is obtained according to the value after the integration processing of the effective band data, and the corresponding ternary regression formula in the COD prediction model is selected according to the COD prediction value, and the values ​​of the integration processing of the data in the 200-220nm band, the data in the 220-240nm band and the data in the 240-300nm band are input into the ternary regression formula to obtain the COD measurement value of the water sample.

Citation Information

Patent Citations

  • Method for detecting chemical oxygen demand

    CN101329252A

  • Method for detecting chemical oxygen demand in water sample

    CN116793979A

  • Method for detecting COD (Chemical Oxygen Demand) content of river water

    CN117874442A

  • Ultraviolet multi-spectrum on-line water quality COD rapid survey instrument

    CN2859515Y

  • Method for monitoring water with observation satellite images

    KR1020140062756A

Cited By

  • Water quality detection method, device and equipment and storage medium

    CN122409550A