Water ion detection method and system, storage medium, electronic equipment and computer program product

By using electrochemical and temperature detection modules to quickly determine the concentration and assessment index of water ions, the problem of complexity and inconvenience of traditional water quality testing methods is solved, enabling rapid and portable water quality assessment.

CN122042784APending Publication Date: 2026-05-15SHENZHEN ANGEL DRINKING WATER IND GRP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN ANGEL DRINKING WATER IND GRP
Filing Date
2024-11-13
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Traditional water quality testing methods rely on chemical reagents and complex laboratory procedures, which are time-consuming, expensive, bulky, and inconvenient to carry.

Method used

By collecting potential and temperature data from the water body to be tested, the concentration and evaluation index of water ions are determined using an electrochemical detection module and a temperature detection module, and rapid detection is performed using an electrochemical sensor and an NTC sensor.

Benefits of technology

It requires no complex chemical treatment, has a rapid response, reduces detection time, enables online detection of water ion concentration, provides water quality assessment indices, and supports portable detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122042784A_ABST
    Figure CN122042784A_ABST
Patent Text Reader

Abstract

The invention discloses a water ion detection method and system, a storage medium, electronic equipment and a computer program product. The water quality ion detection method comprises the following steps: acquiring respective potential data of at least two water quality ions in a to-be-detected water body and temperature data of the to-be-detected water body; according to the potential data and the temperature data, determining respective concentrations of ions of at least two water qualities; and respectively determining the respective water quality evaluation indexes of the at least two water quality ions according to the respective concentrations of the at least two water quality ions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water quality testing technology, specifically to a method, system, storage medium, electronic device, and computer program product for detecting ions in water. Background Technology

[0002] The concentrations of calcium and magnesium ions in water are important indicators affecting water quality. For example, water quality testing methods that assess water quality by detecting the concentrations of calcium and magnesium ions are widely used in drinking water treatment, industrial water treatment, and environmental monitoring.

[0003] However, the inventors discovered that traditional water quality testing methods typically rely on chemical reagents and complex laboratory procedures, requiring sophisticated chemical treatments and lengthy testing times. For example, testing the water body requires multiple steps such as filtration, centrifugation, acidification, or alkalization. Furthermore, the testing equipment used for water quality analysis (e.g., spectrometers, chromatographs) is expensive, bulky, and heavy, making it inconvenient to carry. Summary of the Invention

[0004] According to one aspect of this application, a method for detecting water ions is provided. The method includes: collecting potential data of at least two water ions in a test water body and temperature data of the test water body; determining the concentration of each of the at least two water ions based on the potential data and temperature data; and determining a water quality assessment index for each of the at least two water ions based on their respective concentrations.

[0005] According to some embodiments of this application, after the above steps of determining the water quality assessment index of each of the at least two water quality ions based on their respective concentrations, the detection method further includes: determining the comprehensive assessment index of the water body to be tested based on the water quality assessment index of each of the at least two water quality ions.

[0006] According to some embodiments of this application, the step of determining the concentration of at least two water quality ions based on potential data and temperature data includes: determining the compensation potential data of at least two water quality ions based on temperature data; and determining the concentration of at least two water quality ions based on the compensation potential data, potential data, and temperature data.

[0007] According to some embodiments of this application, the above-mentioned determination of the water quality assessment index of at least two water quality ions based on their respective concentrations includes: standardizing the concentrations based on the respective concentrations of at least two water quality ions and the preset standardization coefficients corresponding to the ions to obtain the water quality assessment index of at least two water quality ions.

[0008] According to some embodiments of this application, the step of determining the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of at least two water quality ions includes: determining the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of at least two water quality ions and a preset coefficient corresponding to the water quality ions.

[0009] According to some embodiments of this application, at least two types of water ions include at least calcium ions and magnesium ions. The preset normalized treatment coefficient for calcium ions ranges from 0 to 3; the preset normalized treatment coefficient for magnesium ions ranges from 0 to 1; where α is the preset normalized treatment coefficient for calcium ions and β is the preset normalized treatment coefficient for magnesium ions.

[0010] According to another aspect of this application, a water quality ion detection system is provided. The detection system includes an electrochemical detection module, a temperature detection module, a processing module, and a display module. The electrochemical detection module collects the potential data of at least two water quality ions in the water to be tested. The temperature detection module collects the temperature data of the water to be tested. The processing module is electrically connected to the electrochemical detection module and the temperature detection module, and determines the concentrations of at least two water quality ions based on the potential and temperature data, and determines the water quality assessment index of each of the at least two water quality ions based on their respective concentrations. The display module is electrically connected to the processing module and displays the water quality assessment index.

[0011] According to some embodiments of this application, the processing module further determines a comprehensive evaluation index of the water body to be tested based on the respective water quality evaluation indices of at least two water quality ions. The display module also displays the comprehensive evaluation index of the water body to be tested.

[0012] According to some embodiments of this application, the processing module further determines the compensation potential data of at least two types of water ions based on the temperature data; the processing module determines the concentration of at least two types of water ions based on the compensation potential data, the potential data, and the temperature data.

[0013] According to some embodiments of this application, the processing module standardizes the concentrations based on the concentrations of at least two water quality ions and preset standardized processing coefficients corresponding to the at least two ions, so as to obtain the water quality assessment indexes of the two water quality ions.

[0014] According to some embodiments of this application, the processing module also determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of the at least two water quality ions and the preset coefficients corresponding to the at least two water quality ions.

[0015] According to some embodiments of this application, at least two types of water ions include at least calcium ions and magnesium ions. The preset normalized treatment coefficient for calcium ions ranges from 0 to 3; the preset normalized treatment coefficient for magnesium ions ranges from 0 to 1; where α is the preset normalized treatment coefficient for calcium ions and β is the preset normalized treatment coefficient for magnesium ions.

[0016] According to another aspect of this application, this application also provides a non-volatile computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is capable of implementing the water ion detection method described above.

[0017] According to another aspect of this application, this application also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, enable the one or more processors to implement the water ion detection method described above.

[0018] According to another aspect of this application, this application also provides a computer program product, including: a computer program stored on a computer-readable storage medium; the computer program includes program instructions that, when executed by a computer, cause the computer to perform the water ion detection method as described above.

[0019] The detection method provided in this application can collect the potential data of at least two water quality ions in the water body to be tested through an electrochemical detection module, collect the temperature data of the water body to be tested through a temperature detection module, and determine the concentration of at least two water quality ions through the potential data and temperature data. Then, the water quality assessment index can be determined based on the concentration of at least two water quality ions.

[0020] The detection method provided in this application can detect the concentration of water ions in the test water body without complex chemical treatment. Furthermore, the electrochemical detection module and temperature detection module have high sensitivity and rapid response, reducing detection time and enabling online detection of water ion concentration. The detection method provided in this application also determines the water quality assessment index of at least two water ions based on their respective concentrations, thereby enabling effective assessment of the water quality of the test water body. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A schematic flowchart of a water ion detection method 1000 according to an embodiment of this application is shown.

[0023] Figure 2 This diagram illustrates another flow chart of a water ion detection method 1000 according to an embodiment of this application.

[0024] Figure 3 A flowchart illustrating step S120 according to an embodiment of this application is shown;

[0025] Figure 4 A flowchart illustrating step S130 according to an embodiment of this application is shown;

[0026] Figure 5 A flowchart illustrating step S140 according to an embodiment of this application is shown;

[0027] Figure 6 A schematic diagram of a water ion detection system according to an embodiment of this application is shown;

[0028] Figure 7 This diagram shows another structural schematic of a water ion detection system according to an embodiment of the present application.

[0029] Figure label:

[0030] Detection system 200.

[0031] Electrochemical detection module 201; temperature detection module 202; processing module 203; display module 204; alarm module 205; communication module 206. Detailed Implementation

[0032] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this application will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.

[0033] The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of these specific details, or other methods, components, materials, devices, etc. In these cases, well-known structures, methods, devices, implementations, materials, or operations will not be shown or described in detail.

[0034] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0035] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order.

[0036] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0037] According to one aspect of this application, this application provides a method for detecting ions in water. See also... Figure 1 The detection method 1000 includes steps S110-S130. This detection method 1000 can be executed by a detection system with computing capabilities.

[0038] In step S110, the detection system collects the potential data of at least two types of water ions in the water body to be tested and the temperature data of the water body to be tested.

[0039] According to the example embodiment, water quality ions are various inorganic and organic ions present in water bodies, which have a significant impact on the chemical properties of water and its environmental influence. The potential data of water quality ions can be the electrode potential of a specific ion in an aqueous solution, also known as redox potential or electrochemical potential. At least two types of water quality ions may include a first water quality ion and a second water quality ion.

[0040] For example, in step S110, the detection system can collect the potential data of the first water quality ion and the second water quality ion in the water body to be tested through the electrochemical detection module, and the detection system can collect the temperature data of the water body to be tested through the temperature detection module.

[0041] For example, the electrochemical detection module can be an electrochemical sensor. The electrochemical sensor includes a working electrode and a reference electrode. The electrochemical sensor generates electrical signals (e.g., current, voltage, or resistance) through oxidation or reduction reactions occurring on the surface of the working electrode. The material of the working electrode is configured to correspond to the type of a first or second water quality ion.

[0042] For example, the temperature detection module can be a negative temperature coefficient thermistor (NTC sensor). The NTC sensor can determine the corresponding temperature data by measuring the change in the resistance value of the NTC thermistor.

[0043] For example, a detection system based on an electrochemical sensor can determine the potential data of a first water quality ion by collecting the potential difference between the first working electrode and the reference electrode. Similarly, a detection system based on an electrochemical sensor can determine the potential data of a second water quality ion by collecting the potential difference between the second working electrode and the reference electrode.

[0044] For example, the first water ion can be calcium ions, and the second water ion can be magnesium ions. Therefore, the first working electrode can be a calcium working electrode, the second working electrode can be a magnesium working electrode, and the reference electrode can be an Ag / AgCl electrode.

[0045] For example, in step S110, the detection system collects:

[0046] The temperature data of the water body to be tested is T1 = 25℃.

[0047] The potential data measured by the first working electrode is E1 = E Ca = -0.01V.

[0048] The potential data measured by the second working electrode is E2 = E Mg = -0.061V.

[0049] Where T1 is the temperature data of the water body to be tested; E1 is the potential data measured by the first working electrode; E Ca E1 represents the potential data measured at the calcium working electrode; E2 represents the potential data measured at the second working electrode; E Mg The potential data is measured for the magnesium working electrode.

[0050] In step S120, the detection system determines the concentration of at least two types of water ions based on the potential data and temperature data.

[0051] According to the example embodiment, the detection system can determine the potential data of water ions using the following formula:

[0052] E actual =EE ref ;

[0053] Among them, E actualThis represents the potential data of the working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the working electrode; E represents the potential data measured at the working electrode. ref This is the potential data for the reference electrode.

[0054] For example, the detection system can determine the potential data of at least two water ions using the following formula:

[0055] E 1,actual =E1-E ref ;

[0056] E 2,actual =E2-E ref ;

[0057] Among them, E 1,actual E1 represents the potential data of the first working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the first working electrode; E2 represents the potential data measured at the first working electrode. 2,actual E1 represents the potential data of the second working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the second working electrode; E2 represents the potential data measured at the second working electrode; E ref This is the potential data for the reference electrode.

[0058] According to an example embodiment, the detection system can determine the concentrations of at least two water ions based on the Nikolai-Nicolov-Eisen equation.

[0059] The Nikolai Nikolov-Eisen equation is:

[0060]

[0061] Where E is the actual potential data of the working electrode; E 0 Here are the potential data for the standard electrode; R is the gas constant, with a value of 8.314 J / (mol·K); T is the absolute temperature (in K) of the water body being tested (T1); z is the charge number of the ions, with a value of 96485 C / mol; F is the Faraday constant, with a value of 96485 C / mol; C is the concentration of water ions in the water body being tested. T1 is the temperature data of the water body being tested; the detection system can determine T through unit conversion.

[0062] For example, the detection system determines the concentration of the first water quality ion and the concentration of the second water quality ion according to the following formula:

[0063]

[0064] in, C1 represents the potential data of the standard electrode of the first working electrode; C2 represents the concentration of the first water quality ion. C1 represents the potential data of the standard electrode of the second working electrode; C2 represents the concentration of the second water quality ion.

[0065] For example, in step S120, the detection system can determine the concentration of the first water quality ion (calcium ion) and the concentration of the second water quality ion (magnesium ion) according to the following formula:

[0066]

[0067] in, The potential data for the standard electrode of the calcium working electrode, i.e. [C a 2+ [This represents the concentration of calcium ions;] The potential data for the standard electrode of the magnesium working electrode, i.e. [M g 2+ [ ] represents the concentration of magnesium ions.

[0068] The detection system is known. E ref =0.197V. Therefore, the detection system determines that:

[0069]

[0070] In step S130, the detection system determines the water quality assessment index of each of the at least two water quality ions based on their respective concentrations.

[0071] According to an example embodiment, a water quality assessment index can be an indicator used to evaluate the water quality of a test water body based on the concentration of water ions. For example, the detection system can determine the water quality assessment index for each water ion by standardizing the concentration of each water ion.

[0072] Through the above embodiments, the detection method provided in this application can collect the potential data of at least two water quality ions in the water body to be tested through the electrochemical detection module, collect the temperature data of the water body to be tested through the temperature detection module, and determine the concentration of at least two water quality ions through the potential data and temperature data, and then determine their respective water quality assessment index based on the concentration of at least two water quality ions.

[0073] The detection method provided in this application can detect the concentration of water ions in the test water body without complex chemical treatment. Furthermore, the electrochemical detection module and temperature detection module have high sensitivity and rapid response, reducing detection time and enabling online detection of water ion concentration. The detection method provided in this application also determines the water quality assessment index of at least two water ions based on their respective concentrations, thereby enabling effective assessment of the water quality of the test water body.

[0074] Optionally, see Figure 2 The detection method 1000 may also include step S140.

[0075] In step S140, the detection system determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation indices of at least two water quality ions.

[0076] According to the example embodiment, the comprehensive evaluation index can be an indicator used to evaluate the water quality of the tested water body based on the concentrations of at least two water quality ions. The comprehensive evaluation index can be the Water Quality Index (WQI).

[0077] For example, the detection system can calculate the comprehensive evaluation index by proportionally calculating the water quality assessment index for each type of water ion.

[0078] According to the above embodiments, the detection method provided in this application determines the comprehensive evaluation index of the water body to be tested by using the water quality evaluation indices of at least two water quality ions, thereby enabling a comprehensive evaluation of the water quality of the water body to be tested.

[0079] Optionally, see Figure 3 Step S120 includes steps S121 and S122.

[0080] In step S121, the detection system determines the compensation potential data for at least two types of water ions based on the temperature data.

[0081] According to the example embodiment, temperature causes a potential drift in the potential data of water ions. In step S121, the detection system can calculate the compensated potential data of water ions according to the following formula:

[0082] ΔE=λ×(T1-T ref );

[0083] Where ΔE is the compensated potential data for water ions; λ is the temperature compensation coefficient; T1 is the temperature data of the water body to be measured; T ref The reference temperature can be set to 25℃.

[0084] For example, the effect coefficient of temperature on the potential data of divalent water ion selective electrodes is typically close to 0.3 mV / ℃. This means that for every 1℃ increase in temperature, the potential data of the working electrode for calcium or magnesium ions increases by approximately 0.3 mV, i.e., the temperature compensation coefficient λ1 of the working electrode is 0.3.

[0085] Temperature also affects the drift of the potential data of the reference electrode (Ag / AgCl). The effect of temperature on the potential data of the silver chloride selective electrode is typically close to -0.7 mV / ℃. This means that for every 1℃ increase in temperature, the potential of the reference electrode will decrease by approximately 0.7 mV, i.e., the temperature compensation coefficient λ2 of the reference electrode (Ag / AgCl) is -0.7.

[0086] In step S122, the detection system determines the concentrations of at least two types of water ions based on the compensation potential data, potential data, and temperature data.

[0087] According to an example embodiment, the detection system can calculate the actual potential data of the reference electrode according to the following formula:

[0088] E 实,ref =E ref -ΔE ref ;

[0089] Among them, E 实,ref The potential data is after temperature compensation for the reference electrode; E ref The potential data for the reference electrode; ΔE ref This is the compensation potential data for the reference electrode.

[0090] The detection system can calculate the actual potential data of the working electrode according to the following formula:

[0091] E 实 =E 测 -ΔE1;

[0092] Among them, E 实 The potential data is after temperature compensation for the working electrode; E 测 ΔE1 represents the measured potential data of the working electrode before temperature compensation; ΔE2 represents the compensated potential data of the working electrode.

[0093] The detection system can calculate the potential data of water ions using the following formula:

[0094] E actual =E 实 -E 实,ref =E 测 -ΔE1-E ref +ΔE ref ;

[0095] Among them, Eactual This is the potential data of the working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the working electrode.

[0096] According to the example embodiment, the detection system can determine the concentrations of at least two water ions based on the Nikola Nikolov-Eisen equation. The Nikola Nikolov-Eisen equation has been described in detail in step S120 and will not be repeated here.

[0097] For example, the detection system determines the concentration of the first water quality ion and the concentration of the second water quality ion according to the following formula:

[0098]

[0099] Among them, E 1,测 The potential data measured at the first working electrode before temperature compensation; E 2,测 This is the potential data measured at the second working electrode before temperature compensation.

[0100] Through the above embodiments, this application performs temperature compensation calculations on potential data using temperature data, which can calibrate the collected potential data and thereby improve the accuracy of water ion concentration.

[0101] Optionally, see Figure 4 Step S130 includes step S131.

[0102] In step S131, the detection system standardizes the concentrations based on the concentrations of at least two water ions and the preset standardization coefficients corresponding to the at least two ions, so as to obtain the water quality assessment index of each of the at least two water ions.

[0103] According to the example embodiment, the preset standardized treatment coefficient is the ratio between the concentration of water ions and the water quality assessment index. The preset standardized treatment coefficient can be customized according to user needs.

[0104] According to an example embodiment, the detection system can determine the water quality assessment index of water ions based on the following formula:

[0105]

[0106] Among them, MC norm is the water quality assessment index; k is the preset standardized treatment coefficient for water ions; C is the concentration of water ions.

[0107] For example, the detection system determines the water quality assessment index of the first water quality ion and the water quality assessment index of the second water quality ion according to the following formula:

[0108]

[0109] Among them, MC 1,norm The first water quality assessment index; k1 is the preset standardized treatment coefficient for the first water quality ion; C1 is the concentration of the first water quality ion; MC 2,norm is the second water quality assessment index; k2 is the preset standardized treatment coefficient of the second water quality ions; C1 is the concentration of the second water quality ions.

[0110] Optionally, at least two water ions include calcium ions and magnesium ions. That is, the first water ion is calcium ions and the second water ion is magnesium ions.

[0111] The range of the preset standardized treatment coefficient for calcium ions can be: 0 < α ≤ 3 mmol / L;

[0112] The range of the preset normalization treatment coefficient for magnesium ions can be: 0 < β ≤ 1 mmol / L;

[0113] Where α is the preset normalization factor for calcium ions and β is the preset normalization factor for magnesium ions.

[0114] For example, in step S131, with α = 3 mmol / L and β = 1 mmol / L, the detection system standardizes the concentrations of calcium ions and magnesium ions to determine:

[0115]

[0116]

[0117] Among them, MC Ca,norm MC is a water quality assessment index for calcium ions. Mg,norm This is a water quality assessment index for magnesium ions.

[0118] Optionally, see Figure 5 Step S140 includes step S141.

[0119] In step S141, the detection system determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of the at least two water quality ions and the preset coefficients corresponding to the at least two water quality ions.

[0120] According to the example embodiment, the preset coefficient is the ratio of the comprehensive evaluation index to the water quality evaluation index of water ions. The preset coefficient can be customized according to user needs.

[0121] According to the example embodiment, the detection system can determine the comprehensive evaluation index based on the following formula:

[0122] WQI=ω1×MC 1,norm +ω2×MC 2,norm;

[0123] ω1+ω2=1;

[0124] Wherein, WQI is the comprehensive evaluation index, ω1 is the preset coefficient for the first water quality ion; MC 1,norm The first water quality ion is the water quality assessment index; ω2 is the preset coefficient for the second water quality ion; MC 2,norm The second ion is the water quality assessment index.

[0125] According to the example embodiment, the preset coefficients of the first water quality ion and the second water quality ion can be determined based on the concentration ratio of the first water quality ion and the second water quality ion in the water body to be tested. The preset coefficients of the first water quality ion and the second water quality ion can be preset according to user needs (e.g., taste), and this application does not impose any restrictions.

[0126] For example, when ω1 is 0.6 and ω2 = 0.4, the detection system can determine the comprehensive evaluation index of the water body to be tested in step S141 as follows:

[0127] WQI=ω1×MC Ca,norm +ω2×MC Mg,norm =0.6×0.37+0.4×0.0392=0.23768.

[0128] After step S141, the detection system also determines the water quality of the water body to be tested based on the comprehensive evaluation index of the water body. If the comprehensive evaluation index exceeds the preset comprehensive evaluation index threshold, the detection system issues an alarm message to remind the user to replace the filter cartridge or maintain the filtration equipment.

[0129] According to the example embodiment, the preset comprehensive evaluation index threshold is the alarm value of a preset comprehensive water quality evaluation parameter. The preset comprehensive evaluation index threshold can be preset according to user needs (e.g., taste), and this application does not impose any restrictions.

[0130] For example, the detection system presets a comprehensive evaluation index threshold of 0.3. If the comprehensive evaluation index exceeds 0.3, the detection system issues an alarm.

[0131] According to another aspect of this application, this application provides a water ion detection system 200. See also Figure 6 The detection system 200 includes an electrochemical detection module 201, a temperature detection module 202, a processing module 203, and a display module 204.

[0132] According to an example embodiment, the electrochemical detection module 201 collects the potential data of at least two types of water ions in the water to be tested.

[0133] According to the example embodiment, water quality ions are various inorganic and organic ions present in water bodies, which have a significant impact on the chemical properties of water and its environmental influence. The potential data of water quality ions can be the electrode potential of a specific ion in an aqueous solution, also known as redox potential or electrochemical potential. At least two types of water quality ions may include a first water quality ion and a second water quality ion.

[0134] For example, the electrochemical detection module 201 collects the potential data of the first water quality ion and the second water quality ion in the water body to be tested.

[0135] For example, the electrochemical detection module 201 can be an electrochemical sensor. The electrochemical sensor includes a working electrode and a reference electrode. The electrochemical sensor generates electrical signals (e.g., current, voltage, or resistance) through oxidation or reduction reactions occurring on the surface of the working electrode. The material of the working electrode is configured to correspond to either a first water ion or a second water ion.

[0136] For example, the electrochemical detection module 201 (such as an electrochemical sensor) can determine the potential data of the first water quality ion by collecting the potential difference between the first working electrode and the reference electrode. The electrochemical detection module 201 (such as an electrochemical sensor) can determine the potential data of the second water quality ion by collecting the potential difference between the second working electrode and the reference electrode.

[0137] For example, the first water ion can be calcium ions, and the second water ion can be magnesium ions. Therefore, the first working electrode can be a calcium working electrode, and the second working electrode can be a magnesium working electrode. The reference electrode can be an Ag / AgCl electrode.

[0138] According to the example embodiment, the temperature detection module 202 collects the temperature data of the water body to be tested.

[0139] For example, the temperature detection module 202 can be a negative temperature coefficient thermistor (NTC sensor). The NTC sensor can determine the corresponding temperature data by measuring the change in the resistance value of the NTC thermistor.

[0140] According to the example embodiment, the electrochemical detection module 201 and the temperature detection module 202 can be set at the outlet of the water body to be tested.

[0141] According to the example embodiment, the processing module 203 is electrically connected to the electrochemical detection module 201 and the temperature detection module 202. Based on the potential data and temperature data, the processing module 203 determines the concentrations of at least two types of water ions.

[0142] According to the example embodiment, the processing module 203 can determine the potential data of water ions using the following formula:

[0143] E actual =EE ref ;

[0144] Among them, E actual The potential data of the working electrode relative to the standard hydrogen electrode (SHE) is the actual potential data of the working electrode; E is the potential data measured at the working electrode; E ref This is the potential data for the reference electrode.

[0145] For example, the processing module 203 can determine the potential data of at least two types of water ions using the following formula:

[0146] E 1,actual =E1-E ref ;

[0147] E 2,actual =E2-E ref ;

[0148] Among them, E 1,actual E1 represents the potential data of the first working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the first working electrode; E2 represents the potential data measured at the first working electrode. 2,actual E1 represents the potential data of the second working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the second working electrode; E2 represents the potential data measured at the second working electrode; E ref This is the potential data for the reference electrode.

[0149] According to an example embodiment, the processing module 203 can determine the concentrations of at least two types of water ions based on the Nikolai-Nicolov-Eisen equation.

[0150] The Nikolai Nikolov-Eisen equation is:

[0151]

[0152] Where E is the actual potential data of the working electrode; E 0Here are the potential data for the standard electrode; R is the gas constant, with a value of 8.314 J / (mol·K); T is the absolute temperature (in K) of the water body to be tested, T1; z is the charge number of the ions, with a value of 96485 C / mol; F is the Faraday constant, with a value of 96485 C / mol; C is the concentration of water ions in the water body to be tested. T1 is the temperature data of the water body to be tested, and the processing module 203 can determine T through unit conversion.

[0153] For example, processing module 203 determines the concentration of the first water quality ion and the concentration of the second water quality ion according to the following formula:

[0154]

[0155] in, C1 represents the potential data of the standard electrode of the first working electrode; C2 represents the concentration of the first water quality ion. C1 represents the potential data of the standard electrode of the second working electrode; C2 represents the concentration of the second water quality ion.

[0156] For example, the processing module 203 can determine the concentration of the first water quality ion (calcium ion) and the concentration of the second water quality ion (magnesium ion) according to the following formula:

[0157]

[0158] in, The potential data for the standard electrode of the calcium working electrode, i.e. [C a 2+ [This represents the concentration of calcium ions;] The potential data for the standard electrode of the magnesium working electrode, i.e. [M g 2+ [ ] represents the concentration of magnesium ions.

[0159] According to an example embodiment, the processing module 203 determines the water quality assessment index for each of the at least two water quality ions based on their respective concentrations. The water quality assessment index can be an indicator used to evaluate the water quality of the water body under test based on the concentration of the water quality ions.

[0160] For example, the processing module 203 can determine the water quality assessment index for each water quality ion by standardizing the concentration of each water quality ion.

[0161] According to the example embodiment, the display module 204 is electrically connected to the processing module 203 and displays the water quality assessment index.

[0162] Through the above embodiments, this application collects the potential data of at least two water quality ions in the water body to be tested through an electrochemical detection module, collects the temperature data of the water body to be tested through a temperature detection module, determines the concentration of at least two water quality ions through the potential data and temperature data, and then determines the water quality assessment index of at least two water quality ions based on their respective concentrations.

[0163] This application enables the detection of water ion concentrations in the test water without complex chemical treatment. Furthermore, the electrochemical detection module and temperature detection module possess high sensitivity and rapid response, reducing detection time and enabling online detection of water ion concentrations.

[0164] This application determines the water quality assessment index of at least two water quality ions by measuring their respective concentrations, thereby enabling an effective assessment of the water quality of the water body to be tested.

[0165] This application displays the water quality assessment index of the water body to be tested in real time through a display module, and can remind users of the water quality status of the water body to be tested in real time.

[0166] Optionally, the processing module 203 also determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation indices of at least two water quality ions.

[0167] According to the example embodiment, the comprehensive evaluation index can be an indicator used to evaluate the water quality of the tested water body based on the concentrations of at least two water quality ions. The comprehensive evaluation index can be the Water Quality Index (WQI).

[0168] For example, the processing module 203 can calculate the comprehensive evaluation index by proportionally calculating the water quality assessment index of each water ion.

[0169] According to the above embodiments, this application determines the comprehensive evaluation index of the water body to be tested by using the water quality evaluation index of at least two water quality ions, thereby enabling a comprehensive evaluation of the water quality of the water body to be tested.

[0170] Optionally, the processing module 203 also determines the compensation potential data for at least two types of water ions based on the temperature data.

[0171] According to the example embodiment, temperature causes a potential drift in the potential data of water ions. Processing module 203 can calculate the compensated potential data of water ions according to the following formula:

[0172] ΔE=λ×(T1-T ref );

[0173] Where ΔE is the compensated potential data for water ions; λ is the temperature compensation coefficient; T1 is the temperature data of the water body to be measured; T ref The reference temperature can be set to 25℃.

[0174] For example, the effect coefficient of temperature on the potential data of divalent water ion selective electrodes is typically close to 0.3 mV / ℃. This means that for every 1℃ increase in temperature, the potential data of the working electrode for calcium or magnesium ions increases by approximately 0.3 mV, i.e., the temperature compensation coefficient λ1 of the working electrode is 0.3.

[0175] Temperature also affects the drift of the potential data of the reference electrode (Ag / AgCl). The effect of temperature on the potential data of the silver chloride selective electrode is typically close to -0.7 mV / ℃. This means that for every 1℃ increase in temperature, the potential of the reference electrode will decrease by approximately 0.7 mV, i.e., the temperature compensation coefficient λ2 of the reference electrode (Ag / AgCl) is -0.7.

[0176] According to the example embodiment, the processing module 203 determines the concentrations of at least two types of water ions based on the compensation potential data, potential data, and temperature data. The processing module 203 can calculate the actual potential data of the reference electrode according to the following formula:

[0177] E 实,ref =E ref -ΔE ref ;

[0178] Among them, E 实,ref The potential data is after temperature compensation for the reference electrode; E ref The potential data for the reference electrode; ΔE ref This is the compensation potential data for the reference electrode.

[0179] Processing module 203 can calculate the actual potential data of the working electrode according to the following formula:

[0180] E 实 =E 测 -ΔE1;

[0181] Among them, E 实 The potential data is after temperature compensation for the working electrode; E 测 ΔE1 represents the measured potential data of the working electrode before temperature compensation; ΔE2 represents the compensated potential data of the working electrode.

[0182] The processing module 203 can calculate the potential data of water ions according to the following formula:

[0183] E actual =E 实 -E 实,ref =E 测-ΔE1-E ref +ΔE ref;

[0184] Among them, E actual This is the potential data of the working electrode relative to the standard hydrogen electrode (SHE), which is the actual potential data of the working electrode.

[0185] According to an example embodiment, the processing module 203 can determine the concentrations of at least two types of water ions based on the Nikola Nikolov-Eisen equation.

[0186] For example, processing module 203 determines the concentration of the first water quality ion and the concentration of the second water quality ion according to the following formula:

[0187]

[0188] Among them, E 1,测 The potential data measured at the first working electrode before temperature compensation; E 2,测 This is the potential data measured at the second working electrode before temperature compensation.

[0189] Through the above embodiments, this application performs temperature compensation calculations on potential data using temperature data, which can calibrate the collected potential data and thereby improve the accuracy of water ion concentration.

[0190] Optionally, the processing module 203 further standardizes the concentrations based on the concentrations of at least two water quality ions and the preset standardized processing coefficients corresponding to the at least two water quality ions, so as to obtain the water quality assessment indexes of the at least two water quality ions.

[0191] The processing module 203 standardizes the concentrations of at least two water quality ions based on their respective concentrations and the preset standardization coefficients corresponding to the ions, in order to obtain the water quality assessment indexes of at least two water quality ions.

[0192] According to the example embodiment, the preset standardized treatment coefficient is the ratio between the concentration of water ions and the water quality assessment index. The preset standardized treatment coefficient can be customized according to user needs.

[0193] According to an example embodiment, the processing module 203 can determine the water quality assessment index of water ions based on the following formula:

[0194]

[0195] Among them, MC norm is the water quality assessment index; k is the preset standardized treatment coefficient for water ions; C is the concentration of water ions.

[0196] For example, the processing module 203 determines the water quality assessment index of the first water quality ion and the water quality assessment index of the second water quality ion according to the following formula:

[0197]

[0198] Among them, MC 1,norm The first water quality assessment index; k1 is the preset standardized treatment coefficient for the first water quality ion; C1 is the concentration of the first water quality ion; MC 2,norm is the second water quality assessment index; k2 is the preset standardized treatment coefficient of the second water quality ions; C1 is the concentration of the second water quality ions.

[0199] Optionally, at least two water ions include calcium ions and magnesium ions. That is, the first water ion is calcium ions and the second water ion is magnesium ions.

[0200] The range of the preset standardized treatment coefficient for calcium ions can be: 0 < α ≤ 3 mmol / L;

[0201] The range of the preset normalization treatment coefficient for magnesium ions can be: 0 < β ≤ 1 mmol / L;

[0202] Where α is the preset normalization factor for calcium ions and β is the preset normalization factor for magnesium ions.

[0203] Optionally, the processing module 203 determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of the at least two water quality ions and the preset coefficients corresponding to the at least two water quality ions.

[0204] According to the example embodiment, the preset coefficient is the ratio of the comprehensive evaluation index to the water quality evaluation index of water ions. The preset coefficient can be customized according to user needs.

[0205] According to the example embodiment, the processing module 203 can determine the comprehensive evaluation index according to the following formula:

[0206] WQI=ω1×MC 1,norm +ω2×MC 2,norm ;

[0207] ω1+ω2=1;

[0208] Wherein, WQI is the comprehensive evaluation index, ω1 is the preset coefficient for the first water quality ion; MC 1,norm The first water quality ion is the water quality assessment index; ω2 is the preset coefficient for the second water quality ion; MC 2,norm The second ion is the water quality assessment index.

[0209] According to the example embodiment, the preset coefficients of the first water quality ion and the second water quality ion can be determined based on the concentration ratio of the first water quality ion and the second water quality ion in the water body to be tested. The preset coefficients of the first water quality ion and the second water quality ion can be preset according to user needs (e.g., taste), and this application does not impose any restrictions.

[0210] According to the example embodiment, the display module 204 can also display the comprehensive evaluation index in real time, thereby reminding the user of the overall water quality of the water body to be tested in real time.

[0211] Optionally, see Figure 7 The detection system 200 also includes an alarm module 205 and a communication module 206.

[0212] According to the example embodiment, the alarm module 205 is electrically connected to the processing module 203 and the display module 204. The processing module 203 also determines the water quality of the water body under test based on its comprehensive evaluation index. If the comprehensive evaluation index exceeds a preset threshold, the processing module 203 sends an alarm command to the alarm module 205. The alarm module 205 then issues an alarm message based on the alarm command. The alarm message can be displayed on the display module 204 to remind the user to replace the filter cartridge or maintain the filtration equipment.

[0213] According to the example embodiment, the preset comprehensive evaluation index threshold is a high value or alarm value of a preset comprehensive water quality evaluation parameter. The preset comprehensive evaluation index threshold can be preset according to user needs (e.g., taste), and this application does not impose any restrictions.

[0214] For example, the processing module 203 presets the comprehensive evaluation index threshold to 0.3. When the comprehensive evaluation index exceeds 0.3, the processing module 203 sends an alarm command to the alarm module 205. The alarm module 205 then issues an alarm message based on the alarm command.

[0215] According to the example embodiment, the communication module 206 is electrically connected to the processing module 203 and the alarm module 205. The communication module 206 can send (e.g., via WIFI connection) the concentration data of at least two water quality ions in the water body to be tested, the water quality assessment index of at least two water quality ions, and the comprehensive assessment index to an external server (e.g., a cloud platform), enabling big data analysis and historical data comparison, and providing users with detailed water quality reports.

[0216] After the alarm module 205 issues an alarm message, the communication module 206 can also send the alarm message (e.g., via WIFI connection) to an external server (e.g., a cloud platform) so that users can understand the water quality status in a timely manner through remote monitoring.

[0217] According to another aspect of this application, this application also provides a non-volatile computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is capable of implementing the water ion detection method described above.

[0218] According to another aspect of this application, this application also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, enable the one or more processors to implement the water ion detection method described above.

[0219] According to another aspect of this application, this application also provides a computer program product, including: a computer program stored on a computer-readable storage medium; the computer program includes program instructions that, when executed by a computer, cause the computer to perform the water ion detection method as described above.

[0220] Finally, it should be noted that the above description is merely a preferred embodiment of this application and is not intended to limit this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions of the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for detecting ions in water, characterized in that, The detection method includes: Collect the potential data of at least two types of water ions in the water body to be tested and the temperature data of the water body to be tested; Based on the potential data and the temperature data, the concentrations of the at least two types of water ions are determined; The water quality assessment index of each of the at least two water ions is determined based on their respective concentrations.

2. The detection method according to claim 1, characterized in that, After determining the water quality assessment index of each of the at least two water ions based on their respective concentrations, the detection method further includes: The comprehensive evaluation index of the water body to be tested is determined based on the water quality evaluation index of each of the at least two water quality ions.

3. The detection method according to claim 2, characterized in that, Determining the concentrations of the at least two types of water ions based on the potential data and the temperature data includes: Based on the temperature data, the compensation potential data for each of the at least two types of water quality ions is determined; Based on the compensation potential data, the potential data, and the temperature data, the concentrations of the at least two types of water ions are determined.

4. The detection method according to claim 3, characterized in that, The determination of the water quality assessment index for each of the at least two water ions based on their respective concentrations includes: The concentrations are standardized based on the concentrations of the at least two water quality ions and the preset standardized processing coefficients corresponding to the at least two water quality ions, so as to obtain the water quality assessment index of each of the at least two water quality ions.

5. The detection method according to claim 4, characterized in that, The determination of the comprehensive evaluation index of the water body to be tested based on the water quality evaluation indices of the at least two water quality ions includes: The comprehensive evaluation index of the water body to be tested is determined based on the water quality evaluation index of each of the at least two water quality ions and the preset coefficients corresponding to the at least two water quality ions.

6. The detection method according to claim 4, characterized in that, The at least two water quality ions include at least calcium ions and magnesium ions; The range of the preset normalization coefficient for calcium ions is: 0 < α ≤ 3; The range of the preset normalization coefficient for magnesium ions is: 0 < β ≤ 1; Wherein, α is the preset normalization factor for calcium ions, and β is the preset normalization factor for magnesium ions.

7. A water ion detection system, characterized in that, The detection system includes: The electrochemical detection module collects the potential data of at least two types of water ions in the water body to be tested. The temperature detection module collects the temperature data of the water body to be tested; The processing module is electrically connected to the electrochemical detection module and the temperature detection module. Based on the potential data and the temperature data, it determines the concentration of each of the at least two water quality ions and determines the water quality assessment index of each of the at least two water quality ions based on their respective concentrations. The display module is electrically connected to the processing module and displays the water quality assessment index.

8. The detection system according to claim 7, characterized in that, The processing module also determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of the at least two water quality ions. The display module also displays the comprehensive evaluation index of the water body to be tested.

9. The detection system according to claim 8, characterized in that, The processing module also determines the compensation potential data for each of the at least two types of water ions based on the temperature data; The processing module determines the concentration of each of the at least two types of water ions based on the compensation potential data, the potential data, and the temperature data.

10. The detection system according to claim 9, characterized in that, The processing module standardizes the concentrations based on the concentrations of the at least two water ions and the preset standardization coefficients corresponding to the at least two water ions, so as to obtain the water quality assessment index of each of the at least two water ions.

11. The detection system according to claim 10, characterized in that, The processing module also determines the comprehensive evaluation index of the water body to be tested based on the water quality evaluation index of each of the at least two water quality ions and the preset coefficients corresponding to the at least two water quality ions.

12. The detection system according to claim 10, characterized in that, The at least two water quality ions include at least calcium ions and magnesium ions; The range of the preset normalization coefficient for calcium ions is: 0 < α ≤ 3; The range of the preset normalization coefficient for magnesium ions is: 0 < β ≤ 1; Wherein, α is the preset normalization factor for calcium ions, and β is the preset normalization factor for magnesium ions.

13. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the water ion detection method as described in any one of claims 1-6.

14. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the water ion detection method as described in any one of claims 1-6.

15. A computer program product, characterized in that, The method includes a computer program stored on a computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the water ion detection method as described in any one of claims 1-6.