Water quality detection device and method for simultaneously detecting COD and total phosphorus

By combining RGB colorimetry and photoelectrocatalytic oxidation technology, simultaneous detection of COD and total phosphorus is achieved, solving the problem of low efficiency in separate detection in existing technologies, reducing costs and energy consumption, and improving portability.

CN120651626BActive Publication Date: 2026-11-27ZHEJIANG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510806994.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2026-11-27
Estimated Expiration
2045-06-17

AI Technical Summary

Technical Problem

In existing technologies, COD and total phosphorus are mostly detected separately, which is inefficient. Furthermore, existing combined detection methods still require two detection processes, resulting in high equipment costs and poor portability.

Method used

The method combines RGB colorimetry with photoelectrocatalytic oxidation technology. The total phosphorus is converted into orthophosphate through a three-electrode digestion module, and the COD and total phosphorus concentrations are detected by RGB colorimetry, simplifying the detection process to a single step.

Benefits of technology

It enables simultaneous detection of COD and total phosphorus, reducing detection costs, improving portability, avoiding secondary pollution, and the digestion process is gentle and does not require high temperature and high pressure, thus reducing energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120651626B_ABST
    Figure CN120651626B_ABST
Patent Text Reader

Abstract

The application discloses a water quality detection device and method for simultaneously detecting COD and total phosphorus, and belongs to the technical field of water quality detection. The device mainly comprises a sampling module, a cleaning liquid storage tank, a digestion module, a chromogenic module, a colorimetric module, a waste liquid storage tank, an electrode voltage control and current detection module, a control module, a display and operation module, and an MCU. The digestion module oxidizes reducing substances in the water sample by using electrodes and converts total phosphorus into orthophosphate. The chromogenic module makes the orthophosphate develop color. The colorimetric module detects the RGB value of the developed water sample. The MCU stores a calculation model, calculates the COD concentration according to the digestion time and electrode current, and calculates the total phosphorus concentration according to the RGB value of the water sample. The detection process is as follows: starting the cleaning device; the water sample fills the digestion module to perform digestion and calculate the COD; the water sample flows into the chromogenic module to add a chromogenic agent; the water sample fills the colorimetric module to measure the RGB value and calculate the total phosphorus concentration; and finally, the cleaning device is cleaned again. The device realizes automatic and continuous detection and cleaning of the COD and the total phosphorus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of water quality testing technology, specifically relating to a water quality testing device and method for simultaneously detecting COD and total phosphorus. Background Technology

[0002] Water is the source of life and a vital resource for all living things on Earth. Water quality testing, as a fundamental aspect of water resource management and protection, is of paramount importance. COD (Chemical Oxygen Demand) and total phosphorus are commonly used parameters in water quality testing. COD refers to the amount of oxygen consumed to oxidize reducing substances in one liter of water sample under certain conditions. It reflects the degree of pollution by reducing substances in the water. This indicator is also one of the comprehensive indicators of the relative content of organic matter. Total phosphorus is the result measured after digesting the water sample to convert various forms of phosphorus into orthophosphate, and is measured in milligrams of phosphorus per liter of water sample. Total phosphorus is an important indicator reflecting eutrophication of water bodies.

[0003] Currently, the main methods for COD detection include chemical methods, optical methods, and advanced oxidation methods. Chemical methods involve using strong oxidants such as potassium permanganate and potassium dichromate to digest water samples under specific conditions (usually high temperature and pressure), and then detecting the amount of oxidant consumed through titration or spectrophotometry. Chemical methods offer good accuracy and stability, but suffer from drawbacks such as long detection times, high operational difficulty, secondary pollution caused by reagent consumption, and high energy consumption due to the high temperature and pressure requirements of the reaction. Improving chemical methods by combining them with continuous flow analysis can reduce detection time and operational difficulty, but secondary pollution and high energy consumption still exist. Optical methods, such as ultraviolet-visible spectroscopy and fluorescence emission spectroscopy, offer advantages such as extremely fast detection speed, ease of continuous online detection, no need for chemical reagents, and no secondary pollution. However, they are affected by water turbidity and color, and their spectral characteristics vary depending on the composition of different water bodies, resulting in poor generalization ability. Advanced oxidation methods mainly include photocatalytic oxidation, electrocatalytic oxidation, and photoelectrochemical oxidation. All three do not require the addition of oxidants, reducing secondary pollution. Photocatalysis is green and energy-efficient, but it's not ideal for calculating the equivalent oxygen consumption of the oxidation process. While COD can be calculated by adding a strong oxidant and then measuring its consumption, this introduces the oxidant again, leading to secondary pollution. Electrocatalysis is very convenient for calculating COD, requiring only the measurement of the oxidation process current; however, it consumes significantly more energy than photocatalysis. Photoelectrocatalysis, on the other hand, combines the advantages of both photocatalysis and electrocatalysis, reducing energy consumption while still allowing for convenient COD measurement.

[0004] The methods for detecting total phosphorus can be divided into two categories based on whether or not a digestion pretreatment step is involved.

[0005] The first category involves methods with digestion pretreatment. Various pretreatment methods are used to convert total phosphorus into orthophosphate, and then the orthophosphate concentration is measured and converted back to total phosphorus concentration. The national standard HJ636-2012 adopts this type of method. Pretreatment methods mainly include: chemical digestion, ultrasonic / UV / microwave-assisted digestion, UV digestion, electrode digestion, and advanced oxidation digestion. Methods for detecting orthophosphate mainly include: spectrophotometry, chromatography, and electrode detection. The advantages of this type of method are high accuracy and versatility, but it involves a pretreatment step, making it relatively more complex.

[0006] The second category involves methods that do not require digestion pretreatment and directly detect the concentration of total phosphorus. These methods mainly include electrode detection and spectroscopic methods. The advantages of these methods are that they do not require chemical reagents, the detection process is simple and fast, and they can achieve online real-time detection. However, in electrode detection, impurities in the water often adhere to or corrode the electrodes, requiring regular electrode maintenance or replacement. In spectroscopic methods, the physicochemical properties of the water sample, such as turbidity, pH value, and composition, all affect the absorption spectrum, usually requiring compensation for different water samples to broaden its applicability.

[0007] Furthermore, current methods for detecting total phosphorus in COD mostly involve separate detections, with fewer methods for combined detection of COD and total phosphorus. CN201110123476 proposes a combined colorimetric determination method for total phosphorus and chemical oxygen demand (COD). This method utilizes Fenton's reagent to digest total phosphorus and COD, and uses a malachite green-ammonium molybdate colorimetric reagent to determine the total phosphorus concentration. Based on the competition mechanism between malachite green and COD, COD is determined by measuring the remaining amount of malachite green. The advantage is the use of the same digestion reagent, reducing the number of reagent types, and the use of a single detection device to measure both parameters. However, due to the different colorimetric reagents and differences in the detection procedures, two separate detection processes are still required to detect total phosphorus and COD; it is not a true single-detection method for both parameters. Xie Yingke et al. proposed a method for online determination of COD and total phosphorus in water quality based on Fenton's reagent and a micro-spectrum. This method combines ultrasound assistance with Fenton's reagent digestion of COD and total phosphorus, using malachite green and ammonium molybdate as colorimetric reagents for COD and total phosphorus detection, respectively. The determination of COD and total phosphorus is then achieved using a micro-spectrum. Similar to the previous method, the advantage lies in using the same digestion reagents and the same detection device, but it still requires two separate colorimetric and detection processes.

[0008] Therefore, current COD total phosphorus detection methods mostly involve separate testing, which is inefficient. In total phosphorus detection, after digestion, instruments such as spectrophotometers, mass spectrometers, and chromatographs are used to determine the concentration of orthophosphate ions, which are costly and not very portable. Summary of the Invention

[0009] To address the aforementioned shortcomings, this invention proposes a water quality testing device and method for simultaneously detecting COD and total phosphorus, thereby improving detection efficiency. This invention uses RGB colorimetry instead of a spectrophotometer, mass spectrometer, and chromatograph, reducing costs and improving portability.

[0010] The present invention adopts the following technical solution:

[0011] In a first aspect, the present invention provides a water quality testing device for simultaneously detecting COD and total phosphorus, comprising:

[0012] The sampling module is used to collect water samples for testing.

[0013] A cleaning fluid storage tank, which stores cleaning fluid for cleaning various modules and connecting pipelines in the water quality testing device;

[0014] The digestion module has its inlet connected to the sampling module and the cleaning solution storage tank via branch pipelines. A pump is installed on the main pipeline, and independent valves are installed on the branch pipelines. The digestion module converts the total phosphorus in the water sample into orthophosphate by oxidizing various reducing substances in the water sample with electrodes.

[0015] The colorimetric module has its inlet and outlet connected to the digestion module and the colorimetric module, respectively, and its inlet and outlet are equipped with independent valves. This module is used to make the orthophosphate in the digested water sample colorimetric.

[0016] The colorimetric module is used to detect the RGB value of the water sample after color development. The colorimetric module has independent valves at the inlet and outlet.

[0017] The waste liquid storage tank is connected to the outlet of the colorimetric module and is used to store waste liquid. When the cleaning liquid storage tank is started, the cleaning liquid flows through the digestion module, the color development module and the colorimetric module in sequence.

[0018] The electrode voltage control and current detection module is used to provide the working voltage of the digestion module, detect the electrode current, and record the digestion time;

[0019] The control module is used to control various valves, pumps, and light sources;

[0020] The display and operation module is used to control the opening and closing of the device and display the test results.

[0021] The MCU connects to the colorimetric module, electrode voltage control and current detection module, control module, and display and operation module. It is used to calculate COD concentration based on digestion time and electrode current, calculate total phosphorus concentration based on the RGB values ​​of the water sample, and display the calculation results through the display and operation module. It also receives operation instructions from the display and operation module and sends control instructions to the control module.

[0022] As a preferred embodiment of the present invention, the MCU stores a COD concentration calculation model and a total phosphorus concentration calculation model.

[0023] The COD concentration calculation model is as follows:

[0024]

[0025] Where t0 is the digestion start time, t1 is the digestion end time, I0 is the base current, I1 is the digestion current, and k COD For the fitting parameters, c COD COD concentration;

[0026] The total phosphorus concentration calculation model is as follows:

[0027] c TP =k R c TP,R +k G c TP,G +k B c TP,B

[0028]

[0029] Among them, c TP c is the total phosphorus concentration. TP,R c TP,G c TP,B The total phosphorus concentrations (k) are calculated based on the R, G, and B channels, respectively. R k G k B The fitting parameters are R, G, and B, which are the values ​​of the R, G, and B channels, respectively. R a G a B b R b G b B These are the fitting parameters.

[0030] As a preferred embodiment of the present invention, the digestion module includes a digestion tank, electrodes located within the digestion tank, and an ultraviolet light source whose illumination range covers the anode surface of the electrodes. The inlet and outlet of the digestion tank serve as the inlet and outlet of the digestion module.

[0031] As a preferred embodiment of the present invention, the ultraviolet light source is an ultraviolet lamp with a wavelength of less than 385 nm.

[0032] As a preferred embodiment of the present invention, the electrode is a three-electrode system.

[0033] As a preferred embodiment of the present invention, the color development module includes a color development tank, a color developer storage tank, a second pump, and a color development valve. The second pump and the color development valve are located on the connecting pipeline between the color developer storage tank and the color development tank. The inlet and outlet of the color development tank serve as the inlet and outlet of the color development module.

[0034] As a preferred embodiment of the present invention, the colorimetric module includes a colorimetric cell, a light source, and a color sensor. The light source is a visible light source, and the color sensor is installed on the outer wall of the transparent colorimetric cell to test the RGB values ​​of the water sample in the colorimetric cell.

[0035] As a preferred embodiment of the present invention, the visible light source is a white LED lamp.

[0036] Secondly, this invention proposes a detection method for a water quality testing device that simultaneously detects COD and total phosphorus, comprising the following steps:

[0037] S1, start the cleaning solution storage tank, cleaning and digestion module, color development module and colorimetric module;

[0038] S2, control the water sample flow until the digestion module is full, then turn off pump number one;

[0039] S3, apply voltage to the electrodes in the digestion module, record the digestion start time, digestion end time and digestion current, and transmit the data to the MCU to calculate the COD concentration;

[0040] S4: Control the water sample flow until it fills the color development module, then turn off pump number one; during the process of the water sample flowing into the color development module, an excess of color developer is automatically added;

[0041] S5 controls the water sample to flow in until it fills the colorimetric module, tests the RGB value of the water sample, and transmits it to the MCU to calculate the total phosphorus concentration;

[0042] S6, start the cleaning solution storage tank, clean and digest module, color development module and colorimetric module, and the test ends.

[0043] Furthermore, before testing the COD and total phosphorus in the water sample, the fitting parameters in the COD concentration calculation model and the total phosphorus concentration calculation model are calibrated using standard water samples.

[0044] The beneficial effects of this invention are:

[0045] (1) Two parameters, COD and total phosphorus, were tested at once.

[0046] (2) Compared with the national standard method, the digestion process does not require the addition of chemical reagents, avoids secondary pollution, and the digestion conditions are mild, without the need for high temperature and high pressure, thus reducing energy consumption.

[0047] (3) The RGB colorimetric method reduces the detection cost. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of a water quality testing device that can simultaneously detect COD and total phosphorus. Detailed Implementation

[0049] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, but the specific embodiments of the present invention are not limited thereto.

[0050] This invention employs a photoelectrocatalytic oxidation digestion method. The principle is as follows: when photons with energy exceeding the semiconductor's bandgap irradiate the semiconductor material, valence band electrons transition to the conduction band, generating photogenerated holes and electrons. The strong oxidizing power of photogenerated holes and the reducing power of photogenerated electrons cause a series of photocatalytic reactions to occur in the semiconductor photocatalyst. However, the activated electrons and holes are easily annihilated when they meet inside or on the surface of the semiconductor, resulting in low photocatalytic oxidation efficiency. Furthermore, the photocatalytic oxidation reaction makes it difficult to measure the equivalent oxygen consumption during the reaction. Photoelectrocatalytic oxidation, based on photocatalysis, uses an applied voltage to drive photogenerated electrons into an auxiliary electrode, reducing the simple recombination of photogenerated electrons and holes and improving oxidation efficiency. The reactants involved in the digestion process can be quantified by measuring the current, which greatly facilitates COD measurement.

[0051] The mechanism of photoelectrocatalysis can be expressed by the following equation:

[0052] Anode reaction:

[0053] TiO2 + hv → TiO2(e) - )+TiO2(h + (1)

[0054] TiO2(h + )+OH - →TiO2+·OH (2)

[0055] TiO2(h + + reducing agent → product (3)

[0056] ·OH + reducing agent → product (4)

[0057] Where TiO2 is titanium dioxide, hv is ultraviolet light, and formula (1) represents that under ultraviolet light irradiation, the electrons in TiO2 (e) - The electron transitions from the valence band to the conduction band and becomes a free electron, leaving a hole in place. TiO2(h) + );OH -·OH is a hydroxide ion in water, and ·OH is a hydroxyl radical, which is a highly reactive oxidizing substance. The reducing substances in formulas (3) and (4) are mainly organic matter in water, and also include other reducing ions. The products are mainly CO2, water and the products of the oxidation of various reducing ions.

[0058] Cathode reaction:

[0059] 4e - +O2+4H + →2H2O (5)

[0060] 2e - +2H + →H2 (6)

[0061] Reducing substances in water, including phosphorus in various forms, are oxidized by holes and hydroxyl radicals (·OH) at the anode, thereby achieving the purpose of elimination.

[0062] Generally, the larger the positive value of the semiconductor's valence band, the stronger its oxidizing ability of holes, while the smaller the negative value of the conduction band, the stronger its reducing ability of electrons. TiO2 has a relatively high positive valence band value, indicating that the holes generated by TiO2 have a stronger oxidizing ability, making it suitable for the strong oxidant requirements in the digestion of COD and total phosphorus. Therefore, TiO2 is chosen as the anode material, while the cathode acts as a conductor and can be an inert electrode such as a platinum electrode or a graphite electrode. Ag / AgCl is used as the reference electrode, forming a three-electrode system. The three-electrode system facilitates the control of electrode voltage and current detection.

[0063] Since the essence of a redox reaction is the transfer of electrons, the amount of electricity passing through the electrodes during the reaction can be converted into an equivalent amount of oxygen consumption, thus calculating COD. The amount of electricity can be calculated by integrating the current, thereby yielding the COD concentration c. COD The calculation formula is:

[0064]

[0065] Where t0 is the digestion start time, t1 is the digestion end time (i.e., the time when the digestion current no longer changes), I0 is the base current (i.e., the current when the current no longer changes), I1 is the electrode current, and k COD These are parameters to be determined.

[0066] Using the least squares method to fit k in equation (6) COD .make:

[0067] y = c COD (7)

[0068]

[0069] By performing n measurements using COD standard solutions of different concentrations, n sets of measurement data [y1, y2, ... y] are obtained. n ],[x1,x2,…x n ], then we have:

[0070]

[0071] The digestion process described above completes the calculation of COD concentration and converts various forms of phosphorus into orthophosphate. The total phosphorus concentration can then be calculated by measuring the orthophosphate concentration. Currently, spectrophotometers, mass spectrometers, and chromatographs are commonly used to determine the concentration of orthophosphate ions, but these instruments are expensive and lack portability. This invention uses the RGB colorimetric method to replace the aforementioned spectrophotometers and other instruments, thereby reducing costs and improving portability.

[0072] First, orthophosphate undergoes a colorimetric reaction to produce a colored solution. The colorimetric method for orthophosphate is the ammonium molybdate method. The principle is as follows: In an acidic medium, orthophosphate reacts with ammonium molybdate to form phosphomolybdic heteropolyacid in the presence of antimony salt. This phosphomolybdic acid is immediately reduced by ascorbic acid to form a blue complex. The chemical equation is:

[0073]

[0074] The RGB colorimetric method works as follows: In a dark room, ensuring no ambient light interference, a light source shines perpendicularly onto the blue solution in the cuvette. The emitted light is partially absorbed by the solution and then enters the color sensor to obtain the RGB values. The concentration is then calculated based on the RGB values. The principle is as follows:

[0075] The total absorbance of light as it travels from the light source to the RGB sensor is:

[0076]

[0077] Among them, A total I0(λ) represents the total absorbance of light with wavelength λ as it travels from the light source to the sensor, I0(λ) represents the original light intensity at the light source, and I1(λ) represents the light intensity at the sensor. m (λ) represents the absorbance of the analyte, A o (λ) represents the absorbance excluding the analyte. Here, we assume I0(λ), A o (λ) remains unchanged.

[0078] According to the Lambert-Beer law:

[0079] A m (λ)=K m (λ)lc TP (12)

[0080] Among them, K m (λ) is the molar absorptivity of the analyte at wavelength λ, l is the thickness of the absorption layer, and c TP The concentration of the substance to be measured is given.

[0081] When light signals shine onto the RGB sensor, they are converted into signals for the three RGB channels:

[0082] P i =α i ∫I1(λ)K i (λ)dλ, i=1,2,3 (13)

[0083] Among them, P i This refers to the value of one of the RGB channels, where i = 1, 2, and 3 represent R, G, and B respectively, and α... i For channel P i The gain, K i (λ) represents the channel P at wavelength λ. i Spectral response.

[0084] By combining equations (11-13), we can obtain:

[0085]

[0086] Since the integral form of the model is difficult to fit, it is approximated by a discretized form:

[0087]

[0088] Where, Δλ i Let be the wavelength range corresponding to the i-th segment. The above formula can be transformed into the following form:

[0089]

[0090] Where, n R n G n B a Ri b Ri a Gi b Gi a Bi b Bi This is a parameter to be determined. In this invention, to simplify the model complexity, n is taken as... R =n G =n B =1.

[0091] This yielded the relationship between the R, G, and B channel components and the total phosphorus concentration c. TP The models between them can be calculated as follows:

[0092]

[0093] Where c TP,R c TP,G c TP,B These are the total phosphorus concentrations calculated from the R, G, and B channels, respectively. The least squares method is used to fit equation (17), taking the R channel fitting as an example; the other two are similar. Let y = c TP,R x = [lnR, 1] T Through experiments, a set of data was obtained, Y = [y1, y2, ... y]. n [x1, x2, ... x] represents a set of known total phosphorus concentrations, where X = [x1, x2, ... x2]. n The result is obtained by converting the measured R-channel components, therefore:

[0094]

[0095] Similarly, b can be calculated. G lna G b B lna B .

[0096] The total phosphorus concentration c, calculated from the information of the three RGB channels, was obtained using the above formula. TP,R c TP,G c TP,B The results of the three-channel calculations are combined to obtain the final total phosphorus concentration c. TP Calculation formula:

[0097] c TP =k R c TP,R +k G c TP,G +k B c TP,B (19)

[0098] Where k R k G k B These are parameters to be determined.

[0099] Because equation (19) has collinearity of independent variables, i.e., c TP,R c TP,G c TP,B There is a strong linear relationship, and it is difficult to overcome the collinearity problem using conventional methods such as least squares. Therefore, this invention uses partial least squares to fit equation (19), for example, by using the plsregress function in the MATLAB function package.

[0100] like Figure 1 As shown, the present invention provides a water quality testing device, comprising:

[0101] Sampling module 1 is used to collect water samples to be tested;

[0102] Cleaning fluid storage tank 2, which stores cleaning fluid for cleaning various modules and connecting pipelines in the water quality testing device;

[0103] Digestion module 6 is used to oxidize various reducing substances in the water sample. In this process, total phosphorus is converted into orthophosphate.

[0104] Color development module 8 is used to develop the color of orthophosphate;

[0105] Colorimetric module 10 is used to detect orthophosphate concentration;

[0106] Waste liquid storage tank 12 is used to store waste liquid;

[0107] The electrode voltage control and current detection module 14 is used to provide the working voltage to the digestion module 6, detect the electrode current, and record the digestion time.

[0108] Control module 16 is used to control valves, pumps, and lights;

[0109] Display and operation module 13 is used to control the opening and closing of the device and display the test results;

[0110] The MCU15 connects to a colorimetric module, an electrode voltage control and current detection module, a control module, and a display and operation module. It is used to calculate the COD concentration based on the digestion time and electrode current, and to calculate the total phosphorus concentration based on the RGB values ​​of the water sample. The calculation results are displayed through the display and operation module. It also receives operation instructions from the display and operation module and sends control instructions to the control module.

[0111] In one specific embodiment of the present invention, the digestion module 6 includes: an ultraviolet lamp 61, a digestion cell 62, and an electrode 63. The ultraviolet lamp 61 is an ultraviolet light source with a wavelength less than 385 nm; the electrode 63 is a three-electrode system, wherein the anode is a titanium dioxide thin-film electrode, the cathode is an inert electrode (selected as a platinum electrode or a graphite electrode), and the reference electrode is selected as an Ag / AgCl electrode. The illumination range of the ultraviolet light source needs to cover the anode surface in the three-electrode system.

[0112] The color development module 8 includes: a color developer storage tank 81 and a color development pool 84.

[0113] The colorimetric module 10 includes: a light source 101, a colorimetric cell 102, and a color detection module 103. The light source 101 is a visible light source with stable light intensity and spectrum, and can be a white LED. The color detection module (103) can be a color sensor or a camera.

[0114] The flow path connection of the device is as follows: the outlet of sampling module 1 is connected to valve 3; the outlet of cleaning solution storage tank 2 is connected to valve 4; the outlets of the two valves are connected to the inlet of pump 5 via a three-way pipe; the outlet of pump 5 is connected to the inlet of digestion tank 62; the outlet of digestion tank 62 is connected to the inlet of valve 7; the outlet of valve 7 is connected to the inlet of colorimetric tank 84; the outlet of colorimetric tank 84 is connected to the inlet of valve 9; the outlet of valve 9 is connected to the inlet of colorimetric tank 102; the outlet of colorimetric tank 102 is connected to the inlet of valve 11; the outlet of valve 11 is connected to waste liquid storage tank 12; the outlet of colorimetric reagent storage tank 81 is connected to the inlet of valve 82; the outlet of valve 82 is connected to the inlet of pump 83; the outlet of pump 83 is connected to the inlet of colorimetric tank 84.

[0115] The signal connections of the device are as follows: Valve 3, Valve 4, Pump 5, UV lamp 61, Valve 7, Valve 82, Pump 83, Valve 9, Light source 101, and Valve 11 are connected to the control module 16; Electrode 63 is connected to the electrode voltage control and current detection module 14; Color detection module 103, Electrode voltage control and current detection module 14, Control module 16, and Display and operation module 13 are connected to the MCU 15.

[0116] A detection method for the above-mentioned water quality testing device is provided, comprising the following steps:

[0117] S1. Close valves 3 and 82, open valves 4, 7, 9, and 11, and start pump 5 to activate the cleaning device;

[0118] S2. Turn off pump 5, turn off 4, open valve 3, turn on pump 5 until digestion tank 62 is full of water sample to be tested, turn off pump 5, close valves 3 and 7, turn on ultraviolet lamp 61 and electrode 63 to apply voltage, and digest water sample for a period of time;

[0119] S3. Calculate the COD concentration based on the digestion current;

[0120] S4. Open valves 3, 7, and 82, and start pumps 5 and 83 for a period of time. Then, turn off pumps 5 and 83, close valves 7 and 9, and allow the color to develop for a period of time.

[0121] S5. Open valves 7 and 9, turn on pump 5 for a period of time, turn off pump 5, close valves 9 and 11, turn on light source 101, and color detection module 103 performs colorimetric detection;

[0122] S6. Calculate the total phosphorus concentration based on the measured RGB values;

[0123] S7. Open valves 9, 11, and 4, close valve 3, and start pump 5 to clean the device.

[0124] In step S3, the COD concentration c COD The calculation formula is:

[0125]

[0126] Where t0 is the digestion start time, t1 is the digestion end time (i.e., the time when the digestion current no longer changes), I0 is the base current (i.e., the current when the current no longer changes), I1 is the digestion current, and k CoD These are the fitting parameters.

[0127] Total phosphorus concentration c TP The calculation formula is:

[0128] c TP =k R c TP,R +k G c TP,G +k B c TP,B

[0129]

[0130]

[0131] Among them, c TP The total phosphorus concentration is given by R, G, and B, which are the three color components obtained by the sensor, and c is the total phosphorus concentration. TP,R c TP,G c TP,B The total phosphorus concentrations (k) are calculated based on the R, G, and B channels, respectively. R k G k B n R n G n B a BR a G a B b R b G b B These are the fitting parameters.

[0132] The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the embodiments described above. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.

Claims

1. A water quality testing device for simultaneously detecting COD and total phosphorus, characterized in that, include: The sampling module is used to collect water samples for testing. A cleaning fluid storage tank, which stores cleaning fluid for cleaning various modules and connecting pipelines in the water quality testing device; The digestion module has its inlet connected to the sampling module and the cleaning solution storage tank via branch pipelines. A pump is installed on the main pipeline, and independent valves are installed on the branch pipelines. The digestion module converts the total phosphorus in the water sample into orthophosphate by oxidizing various reducing substances in the water sample with electrodes. The colorimetric module has its inlet and outlet connected to the digestion module and the colorimetric module, respectively, and its inlet and outlet are equipped with independent valves. This module is used to make the orthophosphate in the digested water sample colorimetric. The colorimetric module is used to detect the RGB value of the water sample after color development. The colorimetric module has independent valves at the inlet and outlet. The waste liquid storage tank is connected to the outlet of the colorimetric module and is used to store waste liquid. When the cleaning liquid storage tank is started, the cleaning liquid flows through the digestion module, the color development module and the colorimetric module in sequence. The electrode voltage control and current detection module is used to provide the working voltage of the digestion module, detect the electrode current, and record the digestion time; The control module is used to control various valves, pumps, and light sources; The display and operation module is used to control the opening and closing of the device and display the test results. The MCU connects to the colorimetric module, electrode voltage control and current detection module, control module, and display and operation module. It is used to calculate COD concentration based on digestion time and electrode current, calculate total phosphorus concentration based on the RGB values ​​of the water sample, and display the calculation results through the display and operation module. It also receives operation instructions from the display and operation module and sends control instructions to the control module. The MCU stores COD concentration calculation models and total phosphorus concentration calculation models. The COD concentration calculation model is as follows: ; in, To eliminate the start time, The end time of resolution, For the base current, To dissipate the current, For the fitting parameters, COD concentration; The total phosphorus concentration calculation model is as follows: ; ; in, This represents the total phosphorus concentration. These are the total phosphorus concentrations calculated using the R, G, and B channels, respectively. For the fitting parameters, These are the values ​​for the R, G, and B channels, respectively. These are the fitting parameters.

2. The water quality testing device for simultaneously detecting COD and total phosphorus according to claim 1, characterized in that, The digestion module includes a digestion tank, electrodes located within the digestion tank, and an ultraviolet light source whose illumination range covers the anode surface of the electrodes. The inlet and outlet of the digestion tank serve as the inlet and outlet of the digestion module.

3. A water quality testing device for simultaneously detecting COD and total phosphorus according to claim 2, characterized in that, The ultraviolet light source is an ultraviolet lamp with a wavelength of less than 385 nm.

4. A water quality testing device for simultaneously detecting COD and total phosphorus according to claim 2, characterized in that, The electrode is a three-electrode system.

5. A water quality testing device for simultaneously detecting COD and total phosphorus according to claim 1, characterized in that, The color development module includes a color development tank, a color developer storage tank, a second pump, and a color development valve. The second pump and the color development valve are located on the connecting pipeline between the color developer storage tank and the color development tank. The inlet and outlet of the color development tank serve as the inlet and outlet of the color development module.

6. A water quality testing device for simultaneously detecting COD and total phosphorus according to claim 1, characterized in that, The colorimetric module includes a colorimetric cell, a light source, and a color sensor. The light source is a visible light source, and the color sensor is installed on the outer wall of the transparent colorimetric cell to test the RGB values ​​of the water sample in the colorimetric cell.

7. A water quality testing device for simultaneously detecting COD and total phosphorus according to claim 6, characterized in that, The visible light source is a white LED lamp.

8. A detection method based on the water quality detection device for simultaneously detecting COD and total phosphorus as described in claim 1, characterized in that, Includes the following steps: S1, start the cleaning solution storage tank, cleaning and digestion module, color development module and colorimetric module; S2, control the water sample flow until the digestion module is full, then turn off pump number one; S3, apply voltage to the electrodes in the digestion module, record the digestion start time, digestion end time and digestion current, and transmit the data to the MCU to calculate the COD concentration; S4: Control the water sample flow until it fills the color development module, then turn off pump number one; during the process of the water sample flowing into the color development module, an excess of color developer is automatically added; S5 controls the water sample to flow in until it fills the colorimetric module, tests the RGB value of the water sample, and transmits it to the MCU to calculate the total phosphorus concentration; S6, start the cleaning solution storage tank, clean and digest module, color development module and colorimetric module, and the test ends.

9. The detection method of a water quality detection device for simultaneously detecting COD and total phosphorus according to claim 8, characterized in that, Before testing the COD and total phosphorus in a water sample, the fitting parameters in the COD concentration calculation model and the total phosphorus concentration calculation model are calibrated using standard water samples.

Citation Information

Patent Citations

  • A combined colorimetric method for the determination of total phosphorus and chemical oxygen demand (COD)

    CN102288599A

  • Method for quick determination of total phosphorus based on nano TiO2 cooperative photocatalysis digestion

    CN101876639A

  • Fish biogenic amine content detection method based on storable gas sensor

    CN107300553A