Water quality testing apparatus, data processing method and testing system
By integrating dissolved oxygen, PH and temperature sensors, and using data processing methods for temperature compensation, it solves the problems of cumbersome and inefficient detection in the existing water quality detection system, achieves fast and accurate detection of multiple parameters, and improves detection efficiency and Credibility.
Patent Information
- Application Number
- PCT/CN2023/095509
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2023-05-22
- Publication Date
- 2024-10-24
AI Technical Summary
Existing water quality detection systems require the independent use of multiple sensor probes and external circuits, resulting in a cumbersome and inefficient detection process, low integration, and lack of effective solutions.
A water quality detection device integrating a dissolved oxygen sensor, a pH sensor and a temperature sensor is designed. Temperature compensation is performed through data processing methods to achieve accurate detection of dissolved oxygen and pH values and improve detection efficiency and accuracy.
It achieves rapid and accurate detection of multiple water quality parameters, reduces system volume and cost, improves detection efficiency and flexibility, and ensures high reliability of measurement data.
Smart Images

Figure CN2023095509_24102024_PF_FP_ABST
Abstract
Description
Water quality detection device, data processing method and detection system Technical Field
[0001] The present invention relates to the field of detection technology, and in particular to a water quality detection device, a data processing method and a detection system. Background Art
[0002] Water quality testing generally includes testing multiple parameters such as dissolved oxygen content, pH value and water temperature. However, the detection system in the existing technology generally requires the independent use of multiple sensor probes to complete the detection of multiple parameters. In actual application, the external circuits used by each sensor probe for receiving signals and data processing are also independent of each other. The degree of integration of various parts in the system is low, resulting in a cumbersome and inefficient detection process.
[0003] There is currently no effective technical solution to the above problems.
[0004] Summary of the Invention
[0005] The purpose of the present invention is to provide a water quality detection device, a data processing method and a detection system, which integrate a dissolved oxygen sensor and a pH sensor as well as temperature detection and compensation functions to achieve the effect of quickly and accurately detecting multiple water quality parameters.
[0006] In a first aspect, the present invention provides a water quality detection device, comprising a substrate, a dissolved oxygen detection module, a pH detection module, and a data output module, wherein the dissolved oxygen detection module, the pH detection module, and the data output module are all disposed on the substrate;
[0007] The dissolved oxygen detection module includes at least one dissolved oxygen sensor and a first temperature sensor;
[0008] The pH detection module includes at least one pH sensor and a second temperature sensor;
[0009] The data output module is connected to the dissolved oxygen detection module and the pH detection module, and is used to receive and output data from the dissolved oxygen detection module and the pH detection module.
[0010] The water quality detection device provided by the present invention integrates a pH sensor, a dissolved oxygen sensor and a temperature sensor into one, can simultaneously detect two water quality parameters, dissolved oxygen content and pH value, and integrates temperature detection and compensation functions. The entire water quality detection device has a high degree of integration, realizes accurate detection, high detection efficiency, small size and low cost.
[0011] Furthermore, the dissolved oxygen sensor includes an electrode layer, which includes a first working electrode, a first reference electrode and a counter electrode that are arranged in sequence and spaced apart, and the area of the counter electrode is larger than the area of the first working electrode and the area of the first reference electrode.
[0012] Increasing the area of the counter electrode can effectively increase the current intensity, making the current signal easier to detect. At the same time, when the area of the counter electrode is much larger than that of the first working electrode, the impedance of the counter electrode can be ignored, making the measurement result more accurate.
[0013] Furthermore, the pH sensor includes a second working electrode, a second reference electrode and a processing circuit, wherein the second working electrode is covered with a silicon nitride film or a silicon dioxide film;
[0014] The processing circuit includes a first thin film transistor and a second thin film transistor, wherein the first thin film transistor and the second thin film transistor are both dual-gate thin film transistors and each include a top gate and a bottom gate;
[0015] The bottom gate of the first thin film transistor is connected to the source of the first thin film transistor, the source of the first thin film transistor is connected to a power supply, the drain of the first thin film transistor is connected to the source of the second thin film transistor, and the drain of the second thin film transistor is grounded;
[0016] The bottom gate of the second thin film transistor serves as an input end and the source of the second thin film transistor serves as an output end; the top gate of the first thin film transistor is used to regulate the operating range of the first thin film transistor according to the input first input voltage; the top gate of the second thin film transistor is used to regulate the operating range of the second thin film transistor according to the input second input voltage.
[0017] The pH sensor is designed based on TFT devices, which has a smaller overall size, faster response speed and low cost.
[0018] Furthermore, the first temperature sensor and the second temperature sensor each include a third thin film transistor and a fourth thin film transistor, and the third thin film transistor and the fourth thin film transistor are both dual-gate thin film transistors and each include a top gate and a bottom gate;
[0019] The source of the third thin film transistor is connected to the source of the fourth thin film transistor, the source of the third thin film transistor is grounded, the bottom gate of the third thin film transistor is connected to the drain of the third thin film transistor, the drain of the third thin film transistor is connected to a first resistor, the first resistor is connected in series with a second resistor, the second resistor is connected to the drain of the fourth thin film transistor, and the drain of the fourth thin film transistor is connected to the bottom gate of the fourth thin film transistor; the first resistor and the second resistor have different resistance values;
[0020] The top gate of the third thin film transistor and the top gate of the fourth thin film transistor are both used to input the same third input voltage to regulate the operating ranges of the third thin film transistor and the fourth thin film transistor.
[0021] The temperature sensor is designed based on TFT devices, which has a smaller overall size, faster response speed and low cost.
[0022] In a second aspect, the present invention provides a data processing method, comprising the following steps:
[0023] S1. Obtaining the first current measurement data of all dissolved oxygen sensors and the first temperature data of the first temperature sensor;
[0024] S2. Based on the first temperature data, the first current measurement data is input into a preset temperature-compensated current model to obtain second current measurement data;
[0025] S3. Obtaining corresponding first dissolved oxygen measurement data according to the second current measurement data;
[0026] S4. Calculate the precise dissolved oxygen value after temperature compensation based on the first dissolved oxygen measurement data;
[0027] S5 obtains the voltage measurement data of all PH sensors and the second temperature data of the second temperature sensor;
[0028] S6. Inputting the voltage measurement data and the second temperature data into a preset temperature-compensated PH calculation model to obtain a first PH measurement data;
[0029] S7. Calculate the precise pH value after temperature compensation based on the first pH measurement data.
[0030] The first current measurement data is first processed by a preset temperature compensation current model to correct the first current measurement data and obtain second current measurement data with higher accuracy, which is beneficial to ensure the accuracy of the first dissolved oxygen measurement data.
[0031] Furthermore, the specific steps in step S4 include:
[0032] S41. Checking the first dissolved oxygen measurement data to remove invalid first dissolved oxygen measurement data and obtain valid first dissolved oxygen measurement data;
[0033] S42. Calculate the precise dissolved oxygen value based on the valid first dissolved oxygen measurement data.
[0034] The effective first dissolved oxygen measurement data is used for calculation to ensure that the calculated dissolved oxygen value has a high degree of credibility.
[0035] Furthermore, the specific steps in step S7 include:
[0036] S71. Checking the first PH measurement data to remove invalid first PH measurement data and obtain valid first PH measurement data;
[0037] S72. Calculate the precise pH value based on the valid first pH measurement data.
[0038] Only the valid first pH measurement data is used for calculation to ensure that the calculated accurate pH value has a high degree of credibility.
[0039] Furthermore, the specific steps in step S42 include:
[0040] S421. Calculate a first weighting factor of the corresponding dissolved oxygen sensor based on the valid first dissolved oxygen measurement data;
[0041] S422. Calculate the precise value of dissolved oxygen based on the first weighting factor.
[0042] Furthermore, the specific steps in step S72 include:
[0043] S721. Calculate a second weighting factor of the corresponding pH sensor based on the valid first pH measurement data;
[0044] S722. Calculate the precise pH value according to the second weighting factor.
[0045] In a third aspect, the present invention provides a detection system, comprising the above-mentioned water quality detection device and a processor, wherein the processor is used to receive data sent by the water quality detection device and to execute the steps in the above-mentioned data processing method.
[0046] As can be seen from the above, the water quality detection device provided by the present invention integrates a dissolved oxygen sensor and a pH sensor into one. Compared with traditional detection systems, the water quality detection device of the present invention is smaller in size, has higher detection efficiency, is more convenient to operate, and is more flexible to use. In addition, correcting the current measurement data of the dissolved oxygen sensor according to temperature data is conducive to ensuring the accuracy of the dissolved oxygen measurement data and achieving the effect of accurate detection. At the same time, the temperature compensation current model and the temperature compensation pH calculation model both refer to the temperature data, which plays a temperature compensation role for the precise dissolved oxygen value and precise pH value obtained by subsequent calculations.
[0047] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the embodiments of the present invention. The purposes and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] FIG1 is a schematic structural diagram of a water quality detection device provided by an embodiment of the present invention.
[0049] FIG2 is a schematic structural diagram of a dissolved oxygen sensor according to an embodiment of the present invention.
[0050] FIG3 is a cross-sectional view of a dissolved oxygen sensor according to an embodiment of the present invention.
[0051] FIG4 is a schematic structural diagram of a pH sensor according to an embodiment of the present invention.
[0052] FIG5 is a circuit diagram of a processing circuit according to an embodiment of the present invention.
[0053] FIG6 is a circuit diagram of a temperature sensor according to an embodiment of the present invention.
[0054] FIG7 is a flow chart of a data processing method provided by an embodiment of the present invention.
[0055] Explanation of reference numbers: 100, dissolved oxygen detection module; 110, dissolved oxygen sensor; 111, electrode layer; 111a, first working electrode; 111b, first reference electrode; 111c, counter electrode; 112, Nafion solid conductive layer; 113, PTFE molecular permeation layer; 120, first temperature sensor; 200, pH detection module; 210, pH sensor; 211, second working electrode; TFT1, first thin film transistor; TFT2, second thin film transistor; Vin, input terminal; Vout, output terminal; Vbias1, first input voltage; Vbias2, second input voltage; TFT3, third thin film transistor; TFT4, fourth thin film transistor; Vbias3, third input voltage; R1, first resistor; R2, second resistor; 212, second reference electrode; 220, second temperature sensor; 300, data output module. DETAILED DESCRIPTION
[0056] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limiting the present invention.
[0057] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like to indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0058] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; mechanical connections, electrical connections, or mutual communication; direct connections or indirect connections through an intermediate medium; and internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0059] In the present invention, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Furthermore, a first feature being "above," "above," and "above" a second feature may include the first feature being directly above or obliquely above the second feature, or may simply mean that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature may include the first feature being directly below or obliquely below the second feature, or may simply mean that the first feature is lower in level than the second feature.
[0060] The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or reference letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but those of ordinary skill in the art will appreciate the application of other processes and / or the use of other materials.
[0061] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0062] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish descriptions and are not to be understood as indicating or implying relative importance.
[0063] Please refer to Figure 1, which is a schematic diagram of the structure of a water quality detection device according to the present invention. The water quality detection device includes a substrate, a dissolved oxygen detection module 100, a pH detection module 200, and a data output module 300. The dissolved oxygen detection module 100, the pH detection module 200, and the data output module 300 are all disposed on the substrate.
[0064] The dissolved oxygen detection module 100 includes at least one dissolved oxygen sensor 110 and a first temperature sensor 120;
[0065] The pH detection module 200 includes at least one pH sensor 210 and a second temperature sensor 220;
[0066] The data output module 300 is connected to the dissolved oxygen detection module 100 and the pH detection module 200 , and is configured to receive and output data from the dissolved oxygen detection module 100 and the pH detection module 200 .
[0067] In this embodiment, the water quality detection device formed by integrating the dissolved oxygen detection module 100 and the pH detection module 200 on the substrate and cooperating with the data output module 300 can simultaneously measure the dissolved oxygen concentration and pH value in the water body. There is no need to use a dissolved oxygen detection probe and a pH detection probe separately. When in use, the dissolved oxygen detection module 100 and the pH detection module 200 only need to be immersed in the water body to obtain relevant parameters. The operation is simple, the detection efficiency is high, the size is small and the cost is low.
[0068] The substrate can be a glass substrate or a flexible substrate; a sealing area and a water entry area are provided on the substrate, and the data output module 300 is located in the sealing area to prevent accidental entry of liquid and damage to components within the data output module 300; while the dissolved oxygen detection module 100 and the pH detection module 200 are provided in the water entry area, and the water entry area is immersed in water when in use.
[0069] In addition, the data output module 300 may be provided with an external interface, which may be subsequently connected to a processor through an FPC binding process to further process the data of the dissolved oxygen detection module 100 and the pH detection module 200.
[0070] In certain embodiments, referring to FIG2 and FIG3 , the dissolved oxygen sensor 110 includes an electrode layer 111 , and the electrode layer 111 includes a first working electrode 111 a , a first reference electrode 111 b , and a counter electrode 111 c , which are sequentially arranged and spaced apart. The area of the counter electrode 111 c is larger than the area of the first working electrode 111 a and the area of the first reference electrode 111 b .
[0071] In this embodiment, a substrate is located beneath electrode layer 111. Dissolved oxygen sensor 110 further includes a Nafion solid conductive layer 112 and a PTFE molecular permeation layer 113. Nafion solid conductive layer 112 overlies electrode layer 111, and PTFE molecular permeation layer 113 overlies Nafion solid conductive layer 112. In the field of dissolved oxygen sensing, the Clarke method is often used to measure the dissolved oxygen concentration of a liquid. The design of dissolved oxygen sensor 110 is based on this principle, which is known in the art and will not be further described herein.
[0072] In addition, increasing the area of the counter electrode 111c can effectively increase the current intensity, making the current signal easier to detect. At the same time, when the area of the counter electrode 111c is much larger than the first working electrode 111a, the impedance of the counter electrode 111c can be ignored, making the measurement result more accurate.
[0073] Furthermore, the geometric configuration of the electrode affects the mass transfer coefficient of the electrode. In a preferred embodiment, the first working electrode 111a, the first reference electrode 111b and the counter electrode 111c can all be configured as strip structures. The mass transfer coefficient of the strip electrode is higher.
[0074] Furthermore, the first working electrode 111 a and the counter electrode 111 c are coated with carbon materials and serve as anodes; the first reference electrode 111 b is coated with silver / silver chloride materials and serves as cathode.
[0075] In actual application, a suitable voltage is applied to the first working electrode 111a, and the current of the first working electrode 111a is read to obtain first current measurement data, thereby obtaining first dissolved oxygen measurement data. Because dissolved oxygen penetrates the electrode layer 111, the degree of dissolved oxygen diffusion is related to the dissolved oxygen concentration. When dissolved oxygen diffuses into the electrode layer 111, an oxidation-reduction reaction occurs at the first working electrode 111a, increasing the electron concentration and thereby changing the current intensity of the first working electrode 111a. Therefore, the dissolved oxygen concentration can be determined by reading the current of the first working electrode 111a.
[0076] In some embodiments, referring to FIG4 and FIG5 , the pH sensor 210 includes a second working electrode 211 , a second reference electrode 212 , and a processing circuit, wherein the second working electrode 211 is covered with a silicon nitride film or a silicon dioxide film;
[0077] The processing circuit includes a first thin film transistor TFT1 and a second thin film transistor TFT2, both of which are double-gate thin film transistors and each include a top gate and a bottom gate;
[0078] The bottom gate of the first thin film transistor TFT1 is connected to the source of the first thin film transistor TFT1, the source of the first thin film transistor TFT1 is connected to a power supply, the drain of the first thin film transistor TFT1 is connected to the source of the second thin film transistor TFT2, and the drain of the second thin film transistor TFT2 is grounded;
[0079] The bottom gate of the second thin-film transistor TFT2 serves as the input terminal Vin and the source of the second thin-film transistor TFT2 serves as the output terminal Vout; the top gate of the first thin-film transistor TFT1 is used to regulate the operating range of the first thin-film transistor TFT1 according to the input first input voltage Vbias1; the top gate of the second thin-film transistor TFT2 is used to regulate the operating range of the second thin-film transistor TFT2 according to the input second input voltage Vbias2.
[0080] The pH sensor 210 in this embodiment is designed based on the principle of pH selective electrodes in the field of pH sensing. This principle is a prior art and its details will not be repeated here.
[0081] In practical applications, the first thin-film transistor TFT1 and the second thin-film transistor TFT2 form a common-source amplifier to amplify the signal, making the voltage signal easier to detect. The first thin-film transistor TFT1 serves as a load transistor, and the second thin-film transistor TFT2 serves as a driver transistor. A potential difference exists between the second working electrode 211 and the second reference electrode 212, thereby generating a voltage signal, i.e., a pH signal. The generated voltage signal is input to the second thin-film transistor TFT2 from the bottom gate, i.e., the input terminal Vin. The control power supply voltage is 3V. The voltage signal is read from the source, i.e., the output terminal Vout, of the second thin-film transistor TFT2 to obtain first voltage measurement data, and thus first pH measurement data. Specifically, the second working electrode 211 and the second reference electrode 212 convert the hydrogen ion concentration into a voltage signal A. The voltage signal A is pre-processed by a processing circuit and then outputs a voltage signal B (pre-processing can effectively improve the signal-to-noise ratio, thereby effectively suppressing interference). Because the relationship between ion concentration and potential difference satisfies the Nernst equation, the pH value can be calculated based on the output voltage signal B.
[0082] Furthermore, the material of the second reference electrode 212 is silver / silver chloride.
[0083] It should be noted that since the second working electrode 211 has an applicable working range, it is necessary to adjust the first input voltage Vbias1 of the top gate of the first thin film transistor TFT1 and the second input voltage Vbias2 of the top gate of the second thin film transistor TFT2 so that the first thin film transistor TFT1 and the second thin film transistor TFT2 adapt to the working range of the second working electrode 211.
[0084] In some embodiments, referring to FIG6 , the first temperature sensor 120 and the second temperature sensor 220 each include a third thin film transistor TFT3 and a fourth thin film transistor TFT4 , and the third thin film transistor TFT3 and the fourth thin film transistor TFT4 are both dual-gate thin film transistors and each include a top gate and a bottom gate.
[0085] The source of the third thin-film transistor TFT3 is connected to the source of the fourth thin-film transistor TFT4, the source of the third thin-film transistor TFT3 is grounded, the bottom gate of the third thin-film transistor TFT3 is connected to the drain of the third thin-film transistor TFT3, the drain of the third thin-film transistor TFT3 is connected to the first resistor R1, the first resistor R1 is connected in series with the second resistor R2, the second resistor R2 is connected to the drain of the fourth thin-film transistor TFT4, and the drain of the fourth thin-film transistor TFT4 is connected to the bottom gate of the fourth thin-film transistor TFT4; the first resistor R1 and the second resistor R2 have different resistance values;
[0086] The top gates of the third thin film transistor TFT3 and the fourth thin film transistor TFT4 are both used to input the same third input voltage Vbias3 to regulate the operating ranges of the third thin film transistor TFT3 and the fourth thin film transistor TFT4.
[0087] In this embodiment, the first temperature sensor 120 and the second temperature sensor 220 are designed based on the temperature sensitivity of the current intensity of the thin film transistor. When the temperature increases, the current intensity increases accordingly, and the increase is linearly related to the temperature after taking the logarithm. Therefore, by forming a differential circuit, different current densities are produced to obtain differential voltages, and the accurate temperature can be obtained based on the differential voltage. This principle is a prior art and its specific content will not be repeated here.
[0088] In actual application, by applying the same voltage bias to the end connected to the first resistor R1 and the second resistor R2, and then reading the voltage difference between the drain of the third thin-film transistor TFT3 and the drain of the fourth thin-film transistor TFT4, a temperature-related voltage signal is obtained, and then temperature data is obtained.
[0089] It should be noted that since the temperature sensor (including the first temperature sensor 120 and the second temperature sensor 220) has an applicable working range, it is necessary to adjust the top gate of the third thin-film transistor TFT3 and the top gate of the fourth thin-film transistor TFT4 to input the same third input voltage Vbias3 so that the third thin-film transistor TFT3 and the fourth thin-film transistor TFT4 adapt to the working range of the temperature sensor.
[0090] It should also be noted that the thin film transistors in the present invention (including the first thin film transistor TFT1, the second thin film transistor TFT2, the third thin film transistor TFT3 and the fourth thin film transistor TFT4) as TFT devices are different from CMOS devices. Specifically, CMOS devices are manufactured based on Si materials, are expensive, have complex manufacturing processes and are large in size, while TFT devices are relatively cheap, have simple manufacturing processes and can be highly integrated, so they are smaller in size. Under the same manufacturing area, more TFT devices can be produced, so the production cost is lower.
[0091] It should be noted that the "dissolved oxygen measurement data" mentioned below specifically refers to the dissolved oxygen concentration; the "pH measurement data" specifically refers to the pH value; the "current measurement data" specifically refers to the current value; the "voltage measurement data" specifically refers to the voltage value; and the "temperature data" specifically refers to the temperature value.
[0092] Please refer to Figure 7, which is a flow chart of a data processing method. The data processing method includes the following steps:
[0093] S1. Obtaining the first current measurement data of all dissolved oxygen sensors and the first temperature data of the first temperature sensor;
[0094] S2. Based on the first temperature data, the first current measurement data is input into a preset temperature-compensated current model to obtain a second current measurement data;
[0095] S3. Obtaining the corresponding first dissolved oxygen measurement data according to the second current measurement data;
[0096] S4. Calculate the precise dissolved oxygen value after temperature compensation based on the first dissolved oxygen measurement data;
[0097] S5 obtains the voltage measurement data of all PH sensors and the second temperature data of the second temperature sensor;
[0098] S6. The voltage measurement data and the second temperature data are input into a preset temperature-compensated PH calculation model to obtain a first PH measurement data;
[0099] S7. Calculate the precise pH value after temperature compensation based on the first pH measurement data.
[0100] In this embodiment, in actual application, the dissolved oxygen sensor outputs a current value. Since the current value actually measured may be affected by factors such as hardware reasons (such as manufacturing materials, degree of corrosion) or human factors (such as operating methods), resulting in a deviation between the measurement result and the actual situation, in order to reduce this deviation, the first current measurement data output by the dissolved oxygen sensor will first be processed by a preset temperature compensation current model to correct the first current measurement data and obtain second current measurement data with higher accuracy. Then, the corresponding first dissolved oxygen measurement data is obtained based on the second current measurement data, which is conducive to ensuring the accuracy of the first dissolved oxygen measurement data.
[0101] In some embodiments, the temperature-compensated current model is obtained by the following steps:
[0102] A1. Obtain multiple sets of first test data, each set of first test data including third current measurement data, fourth current measurement data measured at a specific temperature (e.g., but not limited to, 20°C), and third temperature data. (The third and fourth current measurement data can be obtained by measuring the dissolved oxygen concentration of the water using existing dissolved oxygen measurement equipment, and the third temperature data can be obtained by simultaneously measuring the temperature of the water using existing temperature measurement equipment. Specifically, the temperature of the water is first measured using existing temperature measurement equipment to obtain the third temperature data. The water remains unchanged, and then the dissolved oxygen concentration of the water is measured using existing dissolved oxygen measurement equipment. The current value output by the dissolved oxygen measurement equipment is the third current measurement data. The water remains unchanged, and the temperature of the water is changed from the third temperature to the specific temperature. The dissolved oxygen concentration of the water at the specific temperature is again measured using existing dissolved oxygen measurement equipment. The current value output by the dissolved oxygen measurement equipment is the fourth current measurement data. Thus, a set of first test data is obtained. Similarly, multiple sets of first test data can be obtained by measuring the temperature and dissolved oxygen concentration of different water bodies using the same steps.)
[0103] A2. Calculate multiple first scaling factors based on the first test data;
[0104] A3. Calculate the average of the multiple first scaling factors to obtain the second scaling factor;
[0105] A4. Substitute the second proportional factor into the temperature compensation current model.
[0106] The second proportional factor is calculated from multiple sets of test data and has higher accuracy. Substituting it into the temperature-compensated current model ensures the calculation accuracy of the temperature-compensated current model, thereby correcting the input first current measurement data into more accurate second current measurement data. In addition, the temperature-compensated current model refers to the temperature data to provide temperature compensation for the precise dissolved oxygen value obtained by subsequent calculations.
[0107] Specifically, the first proportional factor is calculated according to the following formula:
[0108] Among them, I CN is the third current measurement data in the Nth group of first test data, I TN is the fourth current test data in the Nth group of first test data, β 1N Calculate the first scale factor for the Nth group of first test data, T 3N is the third temperature data in the Nth group of first test data, T e is the Kelvin temperature corresponding to a specific temperature (eg, 20° C.), M is the total number of first test data, and β2 is the second scaling factor determined by all first scaling factors.
[0109] Furthermore, the obtained temperature compensation current model is specifically as follows:
[0110] Among them, I M is the second current measurement data, I V is the first current measurement data, e is the base of the natural logarithm, and T1 is the first temperature data.
[0111] It should be noted that because the second proportional factor is calculated based on the fourth current measurement data at a specific temperature, in actual applications, after the first current measurement data is input into the temperature-compensated current model, in addition to obtaining second current measurement data with higher accuracy, the first current measurement data measured at the actual temperature will actually be converted into second current measurement data at a specific temperature, generally the second current measurement data at 20°C (but not limited to this). The purpose of converting to the second current measurement data at 20°C is to make the data conform to industry expression standards. In the industry, dissolved oxygen concentration is generally expressed using data at 20°C to facilitate comparison with reference data at 20°C.
[0112] In some embodiments, the temperature-compensated pH calculation model is specifically: v=E0-E x ;
[0113] Among them, E x is the potential of the second working electrode, E0 is the potential of the second reference electrode, R is the gas constant, T2 is the second temperature data, F is the Faraday constant, H is the first pH measurement data, and V is the voltage measurement data.
[0114] The temperature-compensated pH calculation model refers to temperature data and provides temperature compensation for the precise pH value obtained by subsequent calculations.
[0115] It should be noted that the first pH measurement data calculated generally needs to be converted into second pH measurement data at a specific temperature, generally second pH measurement data at 25°C (but not limited to this). Since the pH value is linearly related to temperature, the conversion between pH values at different temperatures can be calculated based on the temperature difference between different temperatures (in actual measurement, the temperature of the water body is not necessarily 25°C, so the second pH measurement data cannot be directly obtained, so it is necessary to convert according to the temperature difference. This is a prior art and will not be repeated here). Then, based on the second pH measurement data, the first pH measurement data or the precise pH value is converted to data at 25°C (this is a prior art and will not be repeated here). The purpose is to make the data conform to the industry's expression specifications. In the industry, pH values are generally expressed using data at 25°C to facilitate comparison with reference data at 25°C.
[0116] In some embodiments, the specific steps in step S4 include:
[0117] S41. Checking the first dissolved oxygen measurement data to remove invalid first dissolved oxygen measurement data and obtain valid first dissolved oxygen measurement data;
[0118] S42. Calculate the precise dissolved oxygen value based on the valid first dissolved oxygen measurement data.
[0119] The specific steps in step S41 include:
[0120] Distinguish invalid first dissolved oxygen measurement data from valid first dissolved oxygen measurement data based on the following conditions: |A i -A j |≤ε1,i≠j;
[0121] Among them, A i is the first dissolved oxygen measurement data of i, A j is the jth first dissolved oxygen measurement data, and ε1 is a preset first reference value.
[0122] When a certain first dissolved oxygen measurement data and a plurality of (for example, two) other first dissolved oxygen measurement data do not meet the above conditions, the first dissolved oxygen measurement data is regarded as invalid first dissolved oxygen measurement data.
[0123] For example, the first dissolved oxygen measurement data includes A1, A2, A3, A4 and A5. If A2 and A3, A2 and A4, A2 and A5 do not meet the above conditions, A2 is regarded as invalid first dissolved oxygen measurement data.
[0124] It should be noted that in actual application, it is required to obtain at least two first dissolved oxygen measurement data. If there are only two first dissolved oxygen measurement data, for example, the first dissolved oxygen measurement data include A1 and A2, and A1 and A2 do not meet the above conditions, then A1 and A2 are both regarded as invalid first dissolved oxygen measurement data, and the user needs to re-obtain the first dissolved oxygen measurement data.
[0125] Invalid first dissolved oxygen measurement data should be discarded, and only valid first dissolved oxygen measurement data should be used for calculation to ensure that the calculated dissolved oxygen accuracy value has a high degree of credibility.
[0126] In some embodiments, the specific steps in step S7 include:
[0127] S71. Checking the first PH measurement data to remove invalid first PH measurement data and obtain valid first PH measurement data;
[0128] S72. Calculate an accurate pH value based on the valid first pH measurement data.
[0129] The specific steps in step S71 include:
[0130] Distinguish invalid first PH measurement data and valid first PH measurement data according to the following conditions: |B i -B j |≤ε2,i≠j;
[0131] Among them, B i is the first PH measurement data of i, B j is the jth first PH measurement data, and ε2 is the preset second reference value.
[0132] When a certain first PH measurement data and a plurality of (for example, two) other first PH measurement data do not satisfy the above conditions, the first PH measurement data is regarded as invalid first PH measurement data.
[0133] For example, the first PH measurement data includes B1, B2, B3, B4 and B5. If B2 and B3, B2 and B4, B2 and B5 do not meet the above conditions, B2 is regarded as invalid first PH measurement data.
[0134] It should be noted that in actual application, it is required to obtain at least two first PH measurement data. If there are only two first PH measurement data, for example, the first PH measurement data include B1 and B2, and B1 and B2 do not meet the above conditions, then B1 and B2 are both regarded as invalid first PH measurement data, and the user needs to re-acquire the first PH measurement data.
[0135] Invalid first pH measurement data should be discarded, and only valid first pH measurement data should be used for calculation to ensure that the calculated accurate pH value has a high degree of credibility.
[0136] In some embodiments, the specific steps in step S42 include:
[0137] S421. Calculate a first weighting factor of the corresponding dissolved oxygen sensor based on the valid first dissolved oxygen measurement data;
[0138] S422. Calculate the precise value of dissolved oxygen based on the first weighting factor.
[0139] The specific steps in step S421 include:
[0140] S4211. Determine a valid dissolved oxygen sensor based on the valid first dissolved oxygen measurement data;
[0141] S4212. Calculate the second dissolved oxygen measurement data corresponding to each valid dissolved oxygen sensor based on the valid first dissolved oxygen measurement data;
[0142] S4213. Calculate the square of the dissolved oxygen deviation from the mean corresponding to each valid dissolved oxygen sensor according to the second dissolved oxygen measurement data;
[0143] S4214. Calculate the first weighting factor corresponding to each valid dissolved oxygen sensor based on the square of the dissolved oxygen deviation from the mean.
[0144] In this embodiment, the acquisition of the first dissolved oxygen measurement data is divided into two cases:
[0145] Case 1: Each dissolved oxygen sensor obtains a plurality of first current measurement data at a preset frequency, that is, a plurality of first dissolved oxygen measurement data can be obtained from each dissolved oxygen sensor;
[0146] For example, the water quality detection device is equipped with two dissolved oxygen sensors, namely dissolved oxygen sensor A and dissolved oxygen sensor B. Two first dissolved oxygen measurement data are obtained from dissolved oxygen sensor A, namely A and B. a1 and A a2 , get two first dissolved oxygen measurement data from dissolved oxygen sensor B, namely A b1 and A b2 , then the second dissolved oxygen measurement data X of dissolved oxygen sensor A A =(A a1 +A a2 ) / 2; the second dissolved oxygen measurement data X of dissolved oxygen sensor B B =(A b1 +A b2 ) / 2; the second dissolved oxygen measurement data X A and the second dissolved oxygen measurement data X B These are collectively referred to as second dissolved oxygen measurement data. Each dissolved oxygen sensor outputs only one second dissolved oxygen measurement data (ie, the second dissolved oxygen measurement data output by each dissolved oxygen sensor is the average value of multiple first dissolved oxygen measurement data actually measured).
[0147] Case 2: Only one first current measurement data is obtained from each dissolved oxygen sensor, that is, only one first dissolved oxygen measurement data can be obtained from each dissolved oxygen sensor, then the second dissolved oxygen measurement data is equal to the first dissolved oxygen measurement data;
[0148] For example, the water quality detection device is equipped with two dissolved oxygen sensors, namely dissolved oxygen sensor A and dissolved oxygen sensor B. The first dissolved oxygen measurement data A is obtained from the dissolved oxygen sensor A. a3 , then the second dissolved oxygen measurement data X of dissolved oxygen sensor A A =A a3 , get the first dissolved oxygen measurement data A from dissolved oxygen sensor B b3, then the second dissolved oxygen measurement data X of dissolved oxygen sensor B B =A b3 .
[0149] For case 1, when executing step S4211, if the valid first dissolved oxygen measurement data only includes A a1 、A a2 and A b1 , then the valid dissolved oxygen sensors include dissolved oxygen sensor A and dissolved oxygen sensor B; if the valid first dissolved oxygen measurement data only includes A a1 and A a2 , since dissolved oxygen sensor B does not have valid first dissolved oxygen measurement data, the only valid dissolved oxygen sensor is dissolved oxygen sensor A. For case 2, step S4211 is performed in the same way. That is, a valid dissolved oxygen sensor refers to a dissolved oxygen sensor that has valid first dissolved oxygen measurement data.
[0150] Furthermore, when executing steps S4212 and S4213, if both dissolved oxygen sensor A and dissolved oxygen sensor B are valid dissolved oxygen sensors, the second dissolved oxygen measurement data includes X A and X B , then first calculate the average value of the second dissolved oxygen measurement data but The square of the mean deviation of dissolved oxygen corresponding to dissolved oxygen sensor A is The square of the mean deviation of dissolved oxygen corresponding to dissolved oxygen sensor B
[0151] Furthermore, in step S4214, it is assumed that there are n valid dissolved oxygen sensors, and the corresponding dissolved oxygen deviation from the mean square is There are n second dissolved oxygen measurement data corresponding to: X a1 ,X a2 ,…,X an (The second dissolved oxygen measurement data are all unbiased estimates of the exact dissolved oxygen value), and the third weighting factor corresponding to each valid dissolved oxygen sensor is set to W a1 ,W a2 ,…,W an , from which the first total mean square error is derived according to the following formula: p≠q,p=1~n,q=1~n;
[0152] in, is the first total mean square error, E(x) represents the expectation, W ap is the pth third weighting factor, W aq is the qth third weighting factor, Y1 is the exact value of dissolved oxygen, X ap is the pth second dissolved oxygen measurement data, Xaq is the qth second dissolved oxygen measurement data.
[0153] Since the second dissolved oxygen measurement data are all unbiased estimates of the exact dissolved oxygen value, we have: E[(Y1-X ap )(Y1-X aq )]=0, p≠q, p=1~n, q=1~n;
[0154] From this, we can get:
[0155] in, is the square of the mean deviation of dissolved oxygen corresponding to the pth effective dissolved oxygen sensor.
[0156] From the derivation process, we can know that the first total mean square error is a multivariate quadratic function of each third weighting factor, so the first total mean square error must have a minimum value. Furthermore, based on the theory of finding the extreme value of a multivariate function (this is common knowledge and will not be repeated here), it can be deduced that when the first total mean square error is minimized, the calculation formula of the first weighting factor is:
[0157] in, is the first weighting factor corresponding to the pth effective dissolved oxygen sensor, is the square of the mean deviation of dissolved oxygen corresponding to the i-th effective dissolved oxygen sensor.
[0158] It should be noted that the third weighting factor is different from the first weighting factor. The first weighting factor is calculated when the first total mean square error is the minimum value.
[0159] Finally, in step S422, the precise value of dissolved oxygen is calculated according to the following formula:
[0160] In some embodiments, the first minimum total mean square error is calculated according to the following formula:
[0161] in, is the first minimum total mean square error.
[0162] The first total mean square error minimum value is compared with a preset third reference value. If the first total mean square error minimum value is greater than the third reference value, it proves that there are problems with multiple dissolved oxygen sensors. In this case, the dissolved oxygen sensors need to be checked one by one to prevent unreliable measurement and calculation results due to hardware problems.
[0163] In some embodiments, the specific steps in step S72 include:
[0164] S721. Calculate the second weighting factor of the corresponding PH sensor according to the valid first PH measurement data;
[0165] S722. Calculate the precise pH value according to the second weighting factor.
[0166] The specific steps in step S721 include:
[0167] S7211. Determine a valid PH sensor based on the valid first PH measurement data;
[0168] S7212. Calculate the third PH measurement data corresponding to each valid PH sensor based on the valid first PH measurement data;
[0169] S7213. According to the third PH measurement data, calculate the square of the PH deviation from the mean corresponding to each valid PH sensor;
[0170] S7214. Calculate the second weighting factor corresponding to each valid pH sensor based on the square of the pH deviation from the mean.
[0171] In this embodiment, the acquisition of the first pH measurement data is divided into two cases:
[0172] Case 3: Each pH sensor obtains a plurality of voltage measurement data at a preset frequency, that is, a plurality of first pH measurement data can be obtained from each pH sensor;
[0173] For example, the water quality detection device is provided with two pH sensors, namely pH sensor C and pH sensor D. Two first pH measurement data are obtained from pH sensor C, namely B and D. c1 and B c2 , get two first pH measurement data from pH sensor D, which are B d1 and B d2 , then the third pH measurement data X of pH sensor C C =(B c1 +B c2 ) / 2; the third pH measurement data X of pH sensor D D =(B d1 +B d2 ) / 2; the third PH measurement data X C and the third PH measurement data X D These are collectively referred to as third pH measurement data, and each pH sensor outputs only one third pH measurement data (ie, the third pH measurement data output by each pH sensor is the average value of multiple first pH measurement data actually measured by the sensor).
[0174] Case 4: Only one voltage measurement data is obtained from each pH sensor, that is, only one first pH measurement data can be obtained from each pH sensor, then the third pH measurement data is equal to the first pH measurement data;
[0175] For example, the water quality detection device is provided with two pH sensors, namely pH sensor C and pH sensor D. The first pH measurement data B is obtained from pH sensor C. c3 , then the third pH measurement data X of pH sensor C C =B c3 , obtain the first pH measurement data B from the pH sensor D d3 , then the third pH measurement data X of pH sensor D D =B d3 .
[0176] For case 3, when executing step S7211, if the valid first PH measurement data only includes B c1 、B c2 and B d1 , then the valid pH sensors include pH sensor C and pH sensor D; if the valid first pH measurement data only includes B c1 and B c2 , since pH sensor D does not have valid first pH measurement data, the only valid pH sensor is pH sensor C. For case 4, step S7211 is performed in the same manner. That is, a valid pH sensor refers to a pH sensor that has valid first pH measurement data.
[0177] Furthermore, when executing steps S7212 and S7213, if both the pH sensor C and the pH sensor D are valid pH sensors, the third pH measurement data includes the third pH measurement data X C and the third PH measurement data X D , then first calculate the average value of the third PH measurement data but Then the pH sensor C corresponds to the square of the pH deviation from the mean The square of the pH deviation from the mean corresponding to pH sensor D
[0178] Furthermore, in step S7214, it is assumed that there are n valid pH sensors, and the corresponding pH deviation square is There are n third PH measurement data corresponding to: X b1 ,X b2 ,…,X bn (The third pH measurement data are all unbiased estimates of the precise pH value), and the fourth weighting factor corresponding to each valid pH sensor is set to Wb1 ,W b2 ,…,W bn , from which the second total mean square error is derived according to the following formula: p≠q,p=1~n,q=1~n;
[0179] in, is the second total mean square error, E(x) represents the expectation, W bp is the pth fourth weighting factor, W bq is the qth fourth weighting factor, Y2 is the exact PH value, X bp is the pth third PH measurement data, X bq is the qth third PH measurement data.
[0180] Since the third pH measurement data are all unbiased estimates of the exact pH value, we have: E[(Y2-X bp )(Y2-X bq )]=0, p≠q, p=1~n, q=1~n;
[0181] From this, we can get:
[0182] in, is the square of the pH deviation from the mean corresponding to the pth valid pH sensor.
[0183] From the derivation process, it can be seen that the second total mean square error is a multivariate quadratic function of each fourth weighting factor, so the second total mean square error must have a minimum value. Furthermore, based on the theory of finding the extreme value of a multivariate function (this is common knowledge and will not be repeated here), it can be deduced that when the second total mean square error is minimized, the calculation formula of the second weighting factor is:
[0184] in, is the second weighting factor corresponding to the pth valid pH sensor, is the square of the pH deviation from the mean corresponding to the i-th valid pH sensor.
[0185] It should be noted that the fourth weighting factor is different from the second weighting factor. The second weighting factor is calculated when the second total mean square error is the minimum.
[0186] Finally, in step S722, the precise pH value is calculated according to the following formula:
[0187] In some embodiments, the second minimum total mean square error is calculated according to the following formula:
[0188] in, is the second minimum total mean square error.
[0189] The second minimum total mean square error value is compared with a preset fourth reference value. If the second minimum total mean square error value is greater than the fourth reference value, it proves that there are problems with multiple pH sensors. In this case, the pH sensors need to be checked one by one to prevent unreliable measurement and calculation results due to hardware problems.
[0190] In some embodiments, the present invention provides a detection system, comprising the water quality monitoring device and a processor in the above embodiment, wherein the processor is used to receive data sent by the water quality detection device and to execute the steps in the data processing method in the above embodiment.
[0191] Furthermore, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0192] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.
[0193] Descriptions with reference to the terms "one embodiment," "certain embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, illustrative uses of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0194] The foregoing description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A water quality detection device, comprising a substrate, It is characterized in that It also comprises a dissolved oxygen detection module (100), a pH detection module (200) and a data output module (300), wherein the dissolved oxygen detection module (100), the pH detection module (200) and the data output module (300) are all arranged on the substrate; The dissolved oxygen detection module (100) comprises at least one dissolved oxygen sensor (110) and a first temperature sensor (120); The pH detection module (200) comprises at least one pH sensor (210) and a second temperature sensor (220); The data output module (300) is connected to the dissolved oxygen detection module (100) and the pH detection module (200), and is used to receive and output data from the dissolved oxygen detection module (100) and the pH detection module (200).
2. The water quality detection device according to claim 1, It is characterized in that The dissolved oxygen sensor (110) comprises an electrode layer (111), wherein the electrode layer (111) comprises a first working electrode (111a), a first reference electrode (111b) and a counter electrode (111c) which are arranged in sequence and at intervals, and the area of the counter electrode (111c) is larger than the area of the first working electrode (111a) and the area of the first reference electrode (111b).
3. The water quality detection device according to claim 1, It is characterized in that The pH sensor (210) comprises a second working electrode (211), a second reference electrode (212) and a processing circuit, wherein the second working electrode (211) is covered with a silicon nitride film or a silicon dioxide film; The processing circuit comprises a first thin film transistor (TFT1) and a second thin film transistor (TFT2), wherein the first thin film transistor (TFT1) and the second thin film transistor (TFT2) are both double-gate thin film transistors and both comprise a top gate and a bottom gate; The bottom gate of the first thin film transistor (TFT1) is connected to the source of the first thin film transistor (TFT1), the source of the first thin film transistor (TFT1) is connected to a power source, and the first thin film transistor (TFT1) is connected to the power source. The drain of the thin film transistor (TFT1) is connected to the source of the second thin film transistor (TFT2), and the drain of the second thin film transistor (TFT2) is grounded; The bottom gate of the second thin film transistor (TFT2) serves as an input terminal (Vin) and the source of the second thin film transistor (TFT2) serves as an output terminal (Vout); The top gate of the first thin film transistor (TFT1) is used to adjust the working range of the first thin film transistor (TFT1) according to the input first input voltage (Vbias1); The top gate of the second thin film transistor (TFT2) is used to adjust the working range of the second thin film transistor (TFT2) according to the input second input voltage (Vbias2).
4. The water quality detection device according to claim 1, It is characterized in that The first temperature sensor (120) and the second temperature sensor (220) both comprise a third thin film transistor (TFT3) and a fourth thin film transistor (TFT4), and both the third thin film transistor (TFT3) and the fourth thin film transistor (TFT4) are double-gate thin film transistors and both comprise a top gate and a bottom gate; The source of the third thin film transistor (TFT3) is connected to the source of the fourth thin film transistor (TFT4), the source of the third thin film transistor (TFT3) is grounded, the bottom gate of the third thin film transistor (TFT3) is connected to the drain of the third thin film transistor (TFT3), the drain of the third thin film transistor (TFT3) is connected to the first resistor (R1), the first resistor (R1) is connected in series with the second resistor (R2), the second resistor (R2) is connected to the drain of the fourth thin film transistor (TFT4), and the drain of the fourth thin film transistor (TFT4) is connected to the bottom gate of the fourth thin film transistor (TFT4); the resistance values of the first resistor (R1) and the second resistor (R2) are different; The top gate of the third thin film transistor (TFT3) and the top gate of the fourth thin film transistor (TFT4) are both used to input the same third input voltage (Vbias3) to regulate the working range of the third thin film transistor (TFT3) and the fourth thin film transistor (TFT4).
5. A data processing method, It is characterized in that The following steps are involved: S1. Obtaining the first current measurement data of all dissolved oxygen sensors and the first temperature data of the first temperature sensor; S2. Based on the first temperature data, the first current measurement data is input into a preset temperature compensation current model to obtain second current measurement data; S3. Obtaining corresponding first dissolved oxygen measurement data according to the second current measurement data; S4. Calculate the precise value of dissolved oxygen after temperature compensation based on the first dissolved oxygen measurement data; S5. Obtaining voltage measurement data of all PH sensors and second temperature data of the second temperature sensor; S6. Inputting the voltage measurement data and the second temperature data into a preset temperature-compensated PH calculation model to obtain first PH measurement data; S7. Calculate the accurate pH value after temperature compensation according to the first pH measurement data.
6. The data processing method according to claim 5, It is characterized in that The specific steps in step S4 include: S41. Checking the first dissolved oxygen measurement data to remove invalid first dissolved oxygen measurement data and obtain valid first dissolved oxygen measurement data; S42. Calculate the precise value of dissolved oxygen based on the valid first dissolved oxygen measurement data.
7. The data processing method according to claim 5, It is characterized in that The specific steps in step S7 include: S71. Checking the first PH measurement data to remove invalid first PH measurement data and obtain valid first PH measurement data; S72. Calculate the precise pH value based on the valid first pH measurement data.
8. The data processing method according to claim 6, It is characterized in that The specific steps in step S42 include: S421. Calculate a first weighting factor of the corresponding dissolved oxygen sensor according to the valid first dissolved oxygen measurement data; S422. Calculate the precise value of dissolved oxygen according to the first weighting factor.
9. The data processing method according to claim 7, It is characterized in that The specific steps in step S72 include: S721. Calculate the second corresponding pH sensor according to the valid first pH measurement data. Weighting factors; S722. Calculate the precise pH value according to the second weighting factor.
10. A detection system, It is characterized in that It comprises the water quality detection device as described in any one of claims 1-4 and a processor, wherein the processor is used to receive data sent by the water quality detection device and to execute the steps in the data processing method as described in any one of claims 5-9.
Citation Information
Patent Citations
All-solid state dissolved oxygen sensor and preparation method thereof
CN101881749A
A pH detecting label based on a printed transistor
CN104792848A
Special water quality multi-parameter sensor for aquaculture
CN105823860A
Dissolved oxygen sensor
JP1997127045A
Dissolved oxygen sensor
JP2010060391A
