Water pH monitoring methods, devices, water treatment equipment and storage media
By obtaining the dissolved substance content and temperature values upstream and downstream of the alkaline filter media in the water treatment equipment, and combining this with temperature correction to calculate the water pH value, the problems of high cost and low accuracy in existing technologies are solved, achieving more accurate pH value monitoring and reducing costs.
Patent Information
- Application Number
- CN202411944015.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-12-27
AI Technical Summary
Existing water treatment equipment is costly and inaccurate in monitoring water pH levels, and is easily affected by environmental factors.
By obtaining the dissolved substance content and water temperature values upstream and downstream of the alkaline filter media, and combining temperature correction and correction coefficients, the water pH value can be calculated, avoiding the use of expensive pH meters.
This improves the accuracy of water pH calculation and reduces monitoring costs, ensuring water quality is safe and meets health standards.
Smart Images

Figure CN119534787B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water purification technology, and in particular to a method, device, water treatment equipment, and storage medium for monitoring water pH. Background Technology
[0002] Adding alkaline filter media to water treatment equipment not only enriches the water with beneficial minerals but also significantly alters its pH level, bringing it closer to the ideal pH range for drinking water. This enhances the water's taste and nutritional value. Therefore, accurate monitoring of the pH level after mineralized water treatment is crucial for ensuring water safety, improving user experience, and maintaining stable equipment operation.
[0003] In existing water treatment technologies, monitoring the pH value of water typically relies on specialized pH meters. However, configuring and using a pH meter increases the overall cost of the equipment, and pH meters are susceptible to environmental factors such as temperature and humidity during long-term use. These factors may cause deviations in the pH measurement results, thus affecting the accuracy of water pH monitoring. Summary of the Invention
[0004] Based on this, a method, device, water treatment equipment, and storage medium for monitoring water pH are proposed, aiming to solve the technical problems of high cost and low accuracy in monitoring water pH using existing water treatment equipment.
[0005] The first aspect of this application provides a method for monitoring water quality pH, the method comprising:
[0006] The content values of a first dissolved substance upstream of the alkaline filter media in the water treatment equipment and a second dissolved substance downstream of the alkaline filter media are obtained. The content values of the dissolved substances include the total dissolved solids value or the conductivity.
[0007] The difference in soluble substance content is obtained based on the first soluble substance content value and the second soluble substance content value;
[0008] Obtain the target water flow temperature value in the water treatment equipment;
[0009] The pH value of the water is calculated based on the difference in the content of dissolved substances and the target water flow temperature.
[0010] Optionally, obtaining the target water flow temperature value in the water treatment equipment includes:
[0011] Obtain the real-time water flow temperature value in the water treatment equipment;
[0012] The real-time water flow temperature value is compared with a preset reference temperature range;
[0013] When the real-time water flow temperature value is within the preset reference temperature value range, the real-time water flow temperature value is corrected by a preset correction coefficient to obtain the target water flow temperature value.
[0014] When the real-time water flow temperature value is not within the preset reference temperature value range, the preset correction coefficient is adjusted, and the real-time water flow temperature value is corrected with the adjusted correction coefficient to obtain the target water flow temperature value.
[0015] Optionally, adjusting the preset correction coefficient includes:
[0016] The degree of temperature deviation is obtained based on the real-time water flow temperature value and the preset reference temperature range;
[0017] The preset correction coefficient is adjusted according to the degree of temperature deviation.
[0018] Optionally, adjusting the preset correction coefficient according to the degree of temperature deviation includes:
[0019] The severity of temperature deviation is determined based on the degree of temperature deviation and a preset temperature deviation threshold.
[0020] Determine the water flow velocity value of the alkaline filter media;
[0021] A correction adjustment coefficient is obtained based on the water flow velocity value and the severity of the temperature deviation.
[0022] The preset correction coefficient is adjusted according to the correction adjustment coefficient.
[0023] Optionally, obtaining the target water flow temperature value in the water treatment equipment includes:
[0024] Obtain the first target water flow temperature value upstream of the alkaline filter media and the second target water flow temperature value downstream of the alkaline filter media;
[0025] The calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes:
[0026] The pH value of the water is calculated based on the difference in the content of dissolved substances, the first target water flow temperature, and the second target water flow temperature.
[0027] Optionally, obtaining the target water flow temperature value in the water treatment equipment includes:
[0028] Obtain the first target water flow temperature value upstream of the alkaline filter media and the second target water flow temperature value downstream of the alkaline filter media;
[0029] The calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes:
[0030] The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value;
[0031] The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
[0032] Optionally, the water quality pH monitoring method further includes:
[0033] The water pH value is displayed using a preset display method; and / or
[0034] The water quality pH value is compared with a preset water quality pH threshold range. When the water quality pH value exceeds the preset water quality pH threshold range, an alarm is triggered according to a preset alarm method.
[0035] A second aspect of this application provides a water quality pH monitoring device, the water quality pH monitoring device comprising:
[0036] The first acquisition module is used to acquire the content value of a first dissolved substance upstream of the alkaline filter media in the water treatment equipment and the content value of a second dissolved substance downstream of the alkaline filter media. The content value of the dissolved substance includes the total dissolved solids value or the conductivity.
[0037] The first calculation module is used to obtain the difference in soluble substance content based on the first soluble substance content value and the second soluble substance content value.
[0038] The second acquisition module is used to acquire the target water flow temperature value in the water treatment equipment;
[0039] The second calculation module is used to calculate the water pH value based on the difference in the content of dissolved substances and the target water flow temperature.
[0040] A third aspect of this application provides a water treatment device, the water treatment device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the water quality pH monitoring method.
[0041] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the water quality pH monitoring method.
[0042] This application provides a direct basis for subsequent pH calculation by directly obtaining the content values of the first dissolved substance upstream and the second dissolved substance downstream of the alkaline filter media in the water treatment equipment. The difference in dissolved substance content is calculated based on the second and first dissolved substance content values. This difference represents the change in dissolved substance content during water treatment and can be used to monitor changes in water quality. Since water temperature affects its ionization degree and the activity of dissolved substances, thus affecting pH, this application, by comprehensively considering two key factors—water flow temperature and the difference in dissolved substance content—can more accurately reflect changes in water quality, improving the accuracy and reliability of pH calculation. Furthermore, this application avoids the use of expensive pH meters, reducing the cost of water quality monitoring. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.
[0044] Figure 1 This is a schematic flowchart of the water quality pH monitoring method provided in the embodiments of this application.
[0045] Figure 2 This is a schematic diagram of TDS detection upstream and downstream of the alkaline filter material provided in the embodiments of this application.
[0046] Figure 3 This is a functional block diagram of the water quality pH monitoring device provided in the embodiments of this application.
[0047] Figure 4 This is a schematic diagram of the structure of the water treatment equipment provided in the embodiments of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] The water quality pH monitoring method provided in this application embodiment is mainly applied to water treatment equipment in household or office settings to monitor the pH value of the effluent from the water treatment equipment.
[0050] Water treatment equipment is a device used to improve water quality, remove impurities, or adjust water quality, such as water purifiers and water purification machines. In this embodiment, the water treatment equipment is a water purifier with mineralization function. A water purifier with mineralization function refers to a type of water purification equipment that can deeply purify tap water and add mineral elements needed by the human body, bringing the water quality to a level similar to mineral water standards. After removing harmful substances, the water purifier with mineralization function adds mineral-rich filter media to reintegrate minerals such as calcium, magnesium, iron, and zinc needed by the human body into the water. These minerals exist in an ionic state, making them easier for the human body to absorb.
[0051] Water treatment equipment may include filter cartridges, filters, reverse osmosis devices, etc. The filter cartridges in this embodiment may include one or more alkaline filter media. Alkaline filter media is a filter cartridge or material used for water treatment, whose main function is to convert acidic water into alkaline water, typically by reducing the acidity of water through negative ions, thereby increasing the alkalinity of the water.
[0052] One alkaline filter media corresponds to one alkaline water path. When multiple alkaline filter media are used, the water paths between the multiple alkaline filter media are usually set in parallel to ensure that the water flow can pass through each filter media evenly.
[0053] In this embodiment, the alkaline filter material contains alkaline substances. For multiple alkaline filter materials, the types and dissolution rates of alkaline substances contained in different alkaline filter materials are different. Therefore, the alkalinity of different alkaline filter materials is different, thus achieving different alkaline treatment effects.
[0054] The following example uses two alkaline filter media to illustrate the interaction between them and their effect in water treatment:
[0055] For example, in a filter cartridge assembly, the first alkaline filter media contains weakly acidic minerals, while the second alkaline filter media contains minerals rich in calcium and magnesium. When water flows through the first alkaline filter media, the acidic substances precipitated from it effectively promote the precipitation of calcium and magnesium elements from the subsequent second alkaline filter media. This promoting effect not only improves mineralization efficiency but also ensures that the water, after passing through the entire filter cartridge assembly, is rich in minerals beneficial to the human body.
[0056] For example, in a filter cartridge assembly, the first alkaline filter media contains weakly alkaline minerals, while the second alkaline filter media contains zinc and copper-containing minerals. When water flows through the first alkaline filter media first, the alkaline substances precipitated from the first alkaline filter media inhibit the precipitation of zinc and copper elements from the second alkaline filter media. This inhibitory relationship can control the content of certain minerals in the water.
[0057] For example, in a filter cartridge assembly, the first alkaline filter media contains different amounts of alkaline minerals, while the second alkaline filter media contains different amounts of calcium and magnesium minerals. By adjusting the flow rate of the water channel between the first and second alkaline filter media, the concentration of different mineralized elements can be flexibly adjusted to meet the specific water quality needs of different users.
[0058] In the design of filter cartridges, the arrangement and combination of different filter media are also crucial. For example, a combination of a surface layer of strongly alkaline material (such as brucite) and an inner layer of weakly alkaline material (such as calcite) can be used. This design allows the filter cartridge to quickly release strongly alkaline substances in the initial stage, while the inner layer of weakly alkaline material gradually takes effect over time, thus ensuring that the filter cartridge maintains a moderate alkalinity throughout its entire service life.
[0059] By designing and combining different types of alkaline filter media and their water circuit configurations, precise mineralization of water can be achieved. This not only helps improve the safety and health of water quality but also meets the personalized needs of different users regarding the taste and nutritional value of the water.
[0060] According to the relevant provisions of the "Standards for Drinking Water Quality", the normal pH of drinking water is 6.5 to 8.5. A lower pH can easily corrode metal water pipes, while a higher pH can cause calcium and magnesium ions in the water to precipitate and form scale, which can have adverse effects on human health.
[0061] Given the numerous health benefits of alkaline water and the clear regulations on pH values in the "Standards for Drinking Water Quality," accurate monitoring of the pH value of the water output from water purifiers with mineralization functions is particularly important. This not only concerns the safety and health of users' drinking water but also directly affects the stable operation of the equipment and the user experience.
[0062] To achieve this goal, embodiments of this application propose a method for monitoring water pH in water treatment equipment used in homes or offices. This method aims to ensure that mineralized water is safe and meets health standards when it reaches the user by monitoring the water pH value in real time.
[0063] See Figure 1 The diagram shown is a flowchart of a water quality pH monitoring method provided in an embodiment of this application. The water quality pH monitoring method includes the following steps.
[0064] S11, obtain the content value of the first dissolved substance upstream of the alkaline filter material in the water treatment equipment and the content value of the second dissolved substance downstream of the alkaline filter material.
[0065] In the field of water treatment, the dissolved substance content value is commonly used to measure the total amount of dissolved substances in water. These dissolved substances can include salts, minerals, organic matter, etc. By detecting the dissolved substance content value, the quality of the water and the effectiveness of the water treatment equipment can be assessed. In this embodiment of the application, in order to more accurately monitor the pH of the water in the water treatment equipment, the dissolved substance content value can include either the dissolved substance content value or the conductivity.
[0066] Total dissolved solids (TDS) refers to the total amount of solids dissolved in water, including both inorganic and organic matter. The unit of measurement is milligrams per liter (mg / L = 1 ppm), indicating how many milligrams of total dissolved solids are dissolved in one liter of water. A higher TDS value indicates a greater amount of dissolved matter in the water. Generally, conductivity values can be used to roughly estimate the salinity of a solution; higher conductivity indicates higher salinity, and a higher TDS value. A sensor is an instrument that reflects the degree of water mineralization by measuring the conductivity of water.
[0067] Electrical conductivity is a measure of ion concentration in water, reflecting the ability of dissolved substances in water to conduct electricity. Dissolved substances in water form ions, and these ions can conduct electric current as they move through the water; therefore, conductivity can be used to assess the ion concentration in water. Higher conductivity indicates a higher ion concentration in the water, potentially containing more dissolved substances. In water treatment processes, conductivity can be used to monitor changes in water quality and evaluate the effectiveness of water treatment equipment.
[0068] A first sensor can be installed at an appropriate location on the water treatment equipment, for example, such as... Figure 2 As shown, a sensor 2 is installed upstream of the alkaline filter media in the water treatment equipment to monitor the dissolved substance content (i.e., the first dissolved substance content value) upstream of the alkaline filter media in real time. The first dissolved substance content value is the dissolved substance content value of the water before it flows through the alkaline filter media, which is the dissolved substance content value of the raw water. Similarly, a second sensor can be installed at an appropriate location in the water treatment equipment, for example, as shown... Figure 2 As shown, a detector 3 is installed downstream of the alkaline filter media in the water treatment equipment to monitor the dissolved substance content (i.e., the second dissolved substance content value) downstream of the alkaline filter media in real time. The second dissolved substance content value is the dissolved substance content value after the water flows through the alkaline filter media.
[0069] S12, the difference in the content of soluble substances is obtained based on the first content value of soluble substances and the second content value of soluble substances.
[0070] To obtain the difference in dissolved substance content, the first dissolved substance content value can be subtracted from the second dissolved substance content value.
[0071] Assuming the first sensor is a first TDS sensor, the first TDS sensor detects the content of the first dissolved substance upstream of the alkaline filter media as... TDS 1. The second sensor is a second TDS sensor, which detects the content of the second dissolved substance downstream of the alkaline filter media. The difference in the content of soluble substances It can be represented as: Assuming the first sensor is a first conductivity sensor, and the first conductivity sensor detects the content of the first dissolved substance upstream of the alkaline filter media as conductivity 1, and the second sensor is a second conductivity sensor, and the second conductivity sensor detects the content of the second dissolved substance downstream of the alkaline filter media as conductivity 2, then the difference in dissolved substance content (Δ conductivity) can be expressed as:
[0072] .
[0073] The difference in dissolved substance content indicates the change in the dissolved substance content of water during the treatment process. It can be used to evaluate the performance of water treatment equipment or monitor changes in water quality.
[0074] It should be understood that in water purifiers with mineralization functions, the difference in dissolved substance content is usually not less than 0. This is because mineralization water purifiers, by adding mineral-rich filter media (such as calcium, magnesium, and zinc minerals), reintegrate essential minerals into the water. These minerals exist in the water in ionic or dissolved states, and this process increases the dissolved substance content. Even if purification treatment is performed before mineralization to remove harmful substances and impurities, this reduction primarily affects non-mineral dissolved solids. The minerals added during the mineralization process compensate for or even exceed this reduction, resulting in an overall increase in the dissolved substance content.
[0075] S13, Obtain the target water flow temperature value in the water treatment equipment.
[0076] The temperature of the water flow in water treatment equipment is one of the important factors affecting the pH value of the water. At different temperatures, the degree of ionization of water varies, thus affecting the pH value of the water discharged from the water treatment equipment.
[0077] A temperature sensor can be installed at an appropriate location on the water treatment equipment, for example, such as... Figure 2 As shown, a sensor 1 is installed upstream of the alkaline filter media of the water treatment equipment to monitor and record the water flow temperature in the water treatment equipment in real time.
[0078] In practical applications, the water temperature in water treatment equipment may vary due to various factors. Without temperature correction, the pH values measured at different temperatures may deviate significantly. Therefore, to ensure the accuracy of pH measurements, the real-time water temperature in the water treatment equipment must be corrected to obtain the target water temperature value.
[0079] In an optional implementation, obtaining the target water flow temperature value in the water treatment device includes:
[0080] Obtain the real-time water flow temperature value in the water treatment equipment;
[0081] The real-time water flow temperature value is compared with a preset reference temperature range;
[0082] When the real-time water flow temperature value is within the preset reference temperature value range, the real-time water flow temperature value is corrected by a preset correction coefficient to obtain the target water flow temperature value.
[0083] When the real-time water flow temperature value is not within the preset reference temperature value range, the preset correction coefficient is adjusted, and the real-time water flow temperature value is corrected with the adjusted correction coefficient to obtain the target water flow temperature value.
[0084] The preset reference temperature range is set based on experience and factors such as the performance of the water treatment equipment, the material and characteristics of the filter media, and represents the most suitable water flow temperature range for measuring dissolved substance content. In other words, measuring dissolved substance content within this reference temperature range yields accurate and reliable results.
[0085] The real-time monitored water flow temperature value is compared with a preset reference temperature range, and the correction factor for the temperature value is adjusted based on the comparison result. If the comparison result indicates that the real-time water flow temperature value is within the preset reference temperature range, the correction factor is not adjusted. If the comparison result indicates that the real-time water flow temperature value is outside the preset reference temperature range, the correction factor is adjusted.
[0086] When the real-time water flow temperature value is within the preset reference temperature range, it indicates that the real-time water flow temperature is within a temperature range considered normal or ideal. Within this range, the preset correction coefficient (which can be a normal number derived from previous experiments or experience, or even 0) is considered sufficiently accurate and reliable, and can be directly used to correct the real-time water flow temperature value to obtain the target water flow temperature value. At this point, the effect of temperature on pH measurement can be considered controllable and known, therefore no additional adjustment to the correction coefficient is needed. However, when the real-time water flow temperature value is outside the preset reference temperature range, it indicates that the real-time water flow temperature deviates from the normal or ideal operating temperature range. In this case, the preset correction coefficient may no longer be accurate or reliable, as temperature changes may cause significant changes in electrode potential, solution properties, or other factors affecting pH measurement. Therefore, the preset correction coefficient needs to be adjusted to reflect the actual measurement conditions under the current temperature. The adjusted correction coefficient will be used to correct the real-time water flow temperature value, thereby obtaining a more accurate target water flow temperature value.
[0087] The aforementioned optional implementation significantly improves the accuracy of temperature measurement by comparing the real-time water flow temperature value with a preset reference temperature range and selecting or adjusting the correction coefficient based on the comparison result, thereby ensuring that the final pH value is based on accurate temperature data. When the real-time water flow temperature value is outside the preset reference temperature range, the correction coefficient can be automatically adjusted. This adaptive capability allows the system to maintain the accuracy of measurement results under different temperature conditions, enhancing the system's robustness and adaptability. Furthermore, the automated temperature correction process simplifies the pH measurement operation. Operators can automatically complete these steps without manually adjusting the temperature or correction coefficient, thus improving work efficiency.
[0088] In an optional implementation, adjusting the preset correction coefficient includes:
[0089] The degree of temperature deviation is obtained based on the real-time water flow temperature value and the preset reference temperature range;
[0090] The preset correction coefficient is adjusted according to the degree of temperature deviation.
[0091] By calculating the difference or ratio between the real-time water flow temperature value and the center value (or a specific value, such as the upper or lower limit) of a preset reference temperature range, a numerical value representing the degree of temperature deviation can be obtained. The degree of temperature deviation reflects the magnitude of the difference between the current real-time water flow temperature value and the optimal measurement temperature.
[0092] If the temperature deviation is small, it indicates that the difference between the real-time water flow temperature value and the center value (or a specific value) of the preset reference temperature range is not significant, meaning that the current temperature conditions are close to the optimal measurement temperature. In this case, a fine-tuning of the preset correction coefficient is sufficient. The fine-tuning range can be relatively small because the temperature deviation is small, and its impact on pH measurement is also relatively small. By fine-tuning the correction coefficient, the influence of temperature on the measurement results can be further reduced, improving the accuracy of the measurement.
[0093] If the temperature deviation is significant, it indicates a large difference between the real-time water flow temperature value and the center (or specific) value of the preset reference temperature range, meaning the current temperature conditions are far from the optimal measurement temperature. In this case, a substantial adjustment to the preset correction coefficient is necessary. Because of the significant temperature deviation, the impact on pH measurement will also be relatively large. Therefore, an even larger adjustment to the correction coefficient is needed to compensate for the temperature's influence on the measurement results.
[0094] The above-described optional implementation methods quantify the impact of temperature on the measurement process by calculating the degree of temperature deviation, thus providing a reliable basis for subsequent adjustment of the correction coefficient. By appropriately adjusting the preset correction coefficient according to its magnitude, the accuracy of pH measurement can be further improved. For cases with small temperature deviations, fine-tuning is sufficient; however, for cases with large temperature deviations, a more significant adjustment of the correction coefficient is required. This embodiment adjusts the correction coefficient based on the degree of temperature deviation, enabling the system to maintain the accuracy of measurement results under different temperature conditions, thereby enhancing the system's adaptability and robustness.
[0095] In an optional implementation, adjusting the preset correction coefficient according to the degree of temperature deviation includes:
[0096] The severity of temperature deviation is determined based on the degree of temperature deviation and a preset temperature deviation threshold.
[0097] Determine the water flow velocity value of the alkaline filter media;
[0098] A correction adjustment coefficient is obtained based on the water flow velocity value and the severity of the temperature deviation.
[0099] The preset correction coefficient is adjusted according to the correction adjustment coefficient.
[0100] Water flow velocity refers to the displacement of water per unit time, usually measured in meters per second (m / s). A first water flow velocity sensor or flow meter can be installed upstream of the alkaline filter media to detect the water flow velocity upstream of the media (i.e., the first water flow velocity). The first water flow velocity represents the speed of the water before passing through the alkaline filter media, reflecting the flow state of the water before entering the filter media. A second water flow velocity sensor or flow meter can also be installed downstream of the alkaline filter media to detect the water flow velocity downstream of the media (i.e., the second water flow velocity). The second water flow velocity represents the speed of the water after passing through the alkaline filter media, reflecting the flow state of the water after treatment by the filter media. The water flow velocity value of the alkaline filter media can be either the first or the second water flow velocity.
[0101] The difference or ratio between the degree of temperature deviation and a preset temperature deviation threshold can be calculated to determine the severity of the temperature deviation. The severity of the temperature deviation reflects the magnitude of the difference between the current temperature conditions and the optimal measurement temperature.
[0102] Increased water flow velocity raises the convective heat transfer coefficient, thus affecting the heat exchange efficiency between the water flow and its surroundings (such as pipe walls and other components in water treatment equipment). This heat exchange affects the temperature distribution of the water flow, potentially impacting the accuracy of temperature measurements. Therefore, the influence of water flow velocity on temperature distribution and measurement must be considered when performing temperature correction. By combining the water flow velocity value with the severity of temperature deviation, a correction adjustment factor can be calculated, and the preset correction factor can be adjusted based on this calculated factor.
[0103] The correction adjustment factor can be calculated using the following formula:
[0104] ;
[0105] Where Kf represents the correction adjustment factor. α and β It is a weighting coefficient used to adjust the influence of the water flow velocity value RV and the severity of temperature deviation ΔT / T0 on the correction coefficient. ΔT represents the degree of temperature deviation, and T0 represents the preset temperature deviation threshold.
[0106] This indicates the relative magnitude of the temperature deviation. This value is a dimensionless ratio used to measure the severity of the temperature deviation.
[0107] The influence of water flow velocity and temperature deviation on the correction coefficient is considered. By adjusting the values of α and β, the degree of influence of these two factors on the correction adjustment coefficient can be changed.
[0108] The above-described optional implementation methods, by acquiring water flow velocity values, help to more accurately assess the impact of water flow conditions on temperature measurement, thereby making more reasonable decisions regarding correction factor adjustments. Calculating the severity of temperature deviation helps to more accurately understand the impact of current environmental conditions on the measurement process, providing more targeted guidance for subsequent correction factor adjustments.
[0109] S14, the pH value of the water is calculated based on the difference in the content of dissolved substances and the target water flow temperature.
[0110] The pH value of the water can be calculated based on the difference between the target water flow temperature and the dissolved substance content, according to the first target mapping relationship. The first target mapping relationship is used to characterize the correspondence between the target water flow temperature, the difference in dissolved substance content, and the pH value of the water.
[0111] To obtain the first target mapping relationship, it is necessary to collect water quality sample data from different water sources and water flow temperatures beforehand. Based on the water quality sample data, the possible correlation or functional relationship between the target water flow temperature value, the difference in dissolved substance content, and the pH value is fitted. Then, the fitted correlation or functional relationship is used to calculate the water quality pH value based on the target water flow temperature value and the difference in dissolved substance content.
[0112] Water quality sample data can include target water flow temperature, differences in dissolved substance content, and corresponding pH values. Collecting water quality sample data from different water sources and flow temperatures ensures that the functional relationship fitted based on this data has sufficient generalization ability. Water quality is dynamic and influenced by various factors. By collecting diverse water quality sample data, the model can learn the complex relationships between different water quality characteristics, better adapting to the trends of water quality parameters changing over time and space, thus providing more reliable prediction results.
[0113] The collected water quality sample data are preprocessed, including outlier removal and data smoothing, to improve data quality.
[0114] Appropriate data fitting methods (such as linear regression, multinomial regression, machine learning algorithms, etc.) are used to fit the relationship between the target water flow temperature, the difference in dissolved substance content, and the pH value, thereby finding a mathematical function that best describes the relationship between the two. For example, the target water flow temperature T and the difference in dissolved substance content, for example ( A linear fit was performed between pH value and the equation to obtain the following relationship:
[0115] .
[0116] Where a is the source term constant, b is the amplitude exponent, and c is the temperature correction coefficient. All three are related to the alkalinity of the mineralized filter material and were measured experimentally.
[0117] As temperature increases, the degree of ionization of water increases, resulting in a rise in the number of hydrogen ions and hydroxide ions. This also affects the solubility of dissolved minerals and salts in the water. Some minerals and salts have increased solubility at higher water temperatures and decreased solubility at lower temperatures. Therefore, differences in upstream and downstream water flow temperatures can cause variations in the amount of dissolved minerals and salts in the water, thus affecting the total dissolved solids (TDS) or conductivity values at both ends. In this embodiment, obtaining the target water flow temperature in the water treatment equipment includes obtaining a first target water flow temperature upstream of the alkaline filter media and a second target water flow temperature downstream of the alkaline filter media.
[0118] A first temperature sensor can be installed upstream of the alkaline filter media to detect the real-time water flow temperature upstream of the filter media and correct the upstream real-time water flow temperature to obtain a first target water flow temperature. Similarly, a second temperature sensor can be installed downstream of the alkaline filter media to detect the real-time water flow temperature downstream of the filter media and correct the downstream real-time water flow temperature to obtain a second target water flow temperature.
[0119] In an optional implementation, the calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes:
[0120] The pH value of the water is calculated based on the difference in the content of dissolved substances, the first target water flow temperature, and the second target water flow temperature.
[0121] The pH value of the water can be calculated based on the difference between the first target water flow temperature value, the second target water flow temperature value, and the dissolved substance content, according to the second target mapping relationship. The second target mapping relationship is used to characterize the correspondence between the first target water flow temperature value, the second target water flow temperature value, the difference in dissolved substance content, and the pH value of the water.
[0122] To obtain the second target mapping relationship, it is necessary to collect water quality sample data from different water sources and conditions beforehand. Based on the water quality sample data, the possible correlation or functional relationship between the first target water flow temperature value, the second target water flow temperature value, the difference in dissolved substance content, and the pH value is fitted. Then, using the fitted correlation or functional relationship, the water quality pH value is calculated based on the first target water flow temperature value, the second target water flow temperature value, and the difference in dissolved substance content.
[0123] Water quality sample data can include the first target water flow temperature value, the second target water flow temperature value, the difference in dissolved substance content, and the corresponding pH value. Collecting water quality sample data from different water sources and conditions ensures that the functional relationship fitted based on the water quality sample data has sufficient generalization ability. Water quality conditions are dynamic and influenced by multiple factors. By collecting diverse water quality sample data, the model can learn the complex relationships between different water quality characteristics, better adapting to the trends of water quality parameters changing over time and space, thereby providing more reliable prediction results.
[0124] The collected water quality sample data is preprocessed, including outlier removal and data smoothing, to improve data quality.
[0125] Use appropriate data fitting methods (such as linear regression, multinomial regression, machine learning algorithms, etc.) to fit the relationship between the first target water flow temperature value, the second target water flow temperature value, the difference in dissolved substance content, and the pH value, so as to find a mathematical function that best describes the relationship between the four.
[0126] The above-described optional implementation methods, if only considering the difference in dissolved substance content and the first target water flow temperature, may introduce errors due to neglecting temperature changes. Introducing a second target water flow temperature value can better correct this error and more comprehensively consider the impact of water flow temperature changes on pH throughout the treatment process. This helps to more accurately reflect water quality conditions and improve the precision of calculation results. Furthermore, incorporating a second target water flow temperature value when calculating water pH enables more real-time monitoring and early warning functions. When abnormal changes occur in water flow temperature, problems can be detected promptly, and appropriate measures can be taken to ensure water quality safety.
[0127] In another optional implementation, the calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes:
[0128] The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value;
[0129] The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
[0130] The pH value of the water can be calculated based on the temperature difference and the difference in dissolved substance content of the water flow, according to the third objective mapping relationship. The third objective mapping relationship is used to characterize the correspondence between the temperature difference, the difference in dissolved substance content, and the pH value of the water flow.
[0131] To obtain the third target mapping relationship, it is necessary to collect water quality sample data from different water sources and conditions beforehand. Based on the water quality sample data, the possible correlation or functional relationship between the water flow temperature difference, the difference in dissolved substance content, and the pH value is fitted. Then, the fitted correlation or functional relationship is used to calculate the water quality pH value based on the water flow temperature difference and the difference in dissolved substance content.
[0132] Water quality sample data can include differences in water flow temperature, differences in dissolved substance content, and corresponding pH values. Collecting water quality sample data from different sources and conditions ensures that the functional relationship fitted based on this data has sufficient generalization ability. Water quality is dynamic and influenced by various factors. By collecting diverse water quality sample data, the model can learn the complex relationships between different water quality characteristics, better adapting to the trends of water quality parameters changing over time and space, thus providing more reliable prediction results.
[0133] The collected water quality sample data are preprocessed, including outlier removal and data smoothing, to improve data quality.
[0134] Use appropriate data fitting methods (such as linear regression, multinomial regression, machine learning algorithms, etc.) to fit the relationship between the water flow temperature difference, the difference in dissolved substance content, and the pH value, so as to find a mathematical function that best describes the relationship between the three.
[0135] In summary, the methods for obtaining water pH values in this application include the following three:
[0136] Option 1: Calculate the water pH value based on the difference in dissolved substance content and the first target water flow temperature.
[0137] Option 2: Calculate the water pH value based on the difference in dissolved substance content, the first target water flow temperature value, and the second target water flow temperature value.
[0138] Option 3: Calculate the water pH value based on the difference in dissolved substance content and the difference in water flow temperature (the difference between the first target water flow temperature value and the second target water flow temperature value).
[0139] The first scheme only considers the difference in dissolved substance content and the first target water flow temperature, while ignoring the temperature changes of the water flow during the treatment process, which may affect the accuracy of the pH value. The third scheme, by introducing the water flow temperature difference, more comprehensively considers the temperature changes of the water flow throughout the entire treatment process, thereby improving the accuracy of the pH value calculation.
[0140] While Scheme 2 considers both the first and second target water flow temperatures, it doesn't explicitly utilize the difference between them to directly reflect changes in water flow temperature. Scheme 3, however, explicitly utilizes the water flow temperature difference, which more directly reflects the temperature changes during treatment, thus improving the accuracy of pH calculation. Furthermore, Scheme 2 requires considering both the first and second target water flow temperatures simultaneously and establishing a complex model incorporating two temperature variables to calculate pH. In Scheme 3, since the water flow temperature difference has already been calculated, the calculation process can be simplified; only a model incorporating the water flow temperature difference and the difference in dissolved substance content is needed. Using the water flow temperature difference as an input variable makes the model easier to understand and interpret, as this directly reflects the temperature changes during treatment, and the impact of these changes on pH is obvious.
[0141] In an optional implementation, the method further includes:
[0142] The water pH value is displayed using a preset display method.
[0143] After monitoring the water's pH value, the value is saved in real time for subsequent analysis of the water quality and condition. Simultaneously, the pH value is displayed on the interface at the end of the water circuit, allowing users to intuitively understand whether the water in the water treatment equipment is suitable for drinking.
[0144] The preset display methods can include one or more of the following combinations: color coding, chart display, number display, etc.
[0145] Color coding uses different colors to represent the range of water's pH value. For example, green indicates good water quality (pH close to neutral), yellow indicates fair water quality (pH slightly deviating from neutral), and red indicates poor water quality (pH significantly deviating from neutral). This color coding method visually reflects the water quality status, allowing users to quickly assess it.
[0146] Charts and graphs are used to display the trend of water pH value changes. These charts can clearly show how water pH value changes over time and space, helping users to identify potential problems or patterns.
[0147] Digital displays show the pH value of the water directly on the screen. This method provides accurate data, facilitating quantitative analysis and comparison by users.
[0148] In addition, digital displays can be combined with color coding, charts, colored bars or lights to form a more comprehensive way of displaying information.
[0149] In practical applications, the preset display method can be flexibly adjusted according to user needs, application scenarios, and other factors.
[0150] The above-mentioned optional implementation methods, which visualize the obtained water pH value, can improve user experience and enhance data readability.
[0151] In an optional implementation, the method further includes:
[0152] The water pH value is compared with a preset water pH threshold range;
[0153] When the pH value of the water exceeds the preset pH threshold range, an alarm is triggered according to the preset alarm method.
[0154] The preset pH threshold range is typically determined based on water quality standards, industry standards, or the requirements of specific application scenarios. Optionally, the preset pH threshold range is 6.5 to 8.5.
[0155] The real-time monitored water pH value is compared with the preset water pH threshold range. If the water pH value falls within the preset water pH threshold range, it indicates that the water quality is within the normal or ideal pH range and meets the standards; if the water pH value exceeds the preset water pH threshold range, for example, pH < 6.5 or pH > 8.5, it indicates that the water quality does not meet the standards.
[0156] When the pH value of the water flowing from the water treatment equipment exceeds the preset pH threshold range, users sometimes fail to notice it immediately. Therefore, the water treatment equipment in this embodiment is also equipped with an audible and visual alarm module. This module is electrically connected to the central processing module and is uniformly controlled and executed by the central processing module. Alarm prompts can be issued through sound and / or light. This method of prompting can attract the user's attention and prompt timely measures to resolve the water quality problem. Alarm content: The alarm content should include real-time data of the water pH value, the specific circumstances of exceeding the threshold (such as exceeding the upper or lower limit), potential hazards, and suggested countermeasures. This information helps users or relevant personnel quickly understand the water quality problem and take appropriate measures.
[0157] Alarm notifications can also be sent via SMS or email. Different alarm methods can be selected to suit different application scenarios and user needs.
[0158] The above-mentioned optional implementation method compares the water quality pH value with a preset water quality pH threshold range and takes corresponding alarm measures based on the comparison results. This not only improves the automation and efficiency of water quality monitoring and reduces human intervention and errors, but also ensures that alarms can be issued in a timely manner when the water quality does not meet the standards, thereby effectively preventing potential environmental and health risks.
[0159] The pH monitoring method provided in this application directly acquires the content values of a first dissolved substance upstream and a second dissolved substance downstream of the alkaline filter media in the water treatment equipment, providing a direct basis for subsequent pH value calculation. The difference in dissolved substance content is calculated based on the second and first dissolved substance content values. This difference represents the change in dissolved substance content during water treatment and can be used to monitor changes in water quality. Since water temperature affects its ionization degree and the activity of dissolved substances, thus affecting pH value, this application, by comprehensively considering two key factors—water flow temperature and the difference in dissolved substance content—can more accurately reflect changes in water quality, improving the accuracy and reliability of pH value calculation. Furthermore, this application avoids the use of expensive pH meters, reducing the cost of water quality monitoring.
[0160] By monitoring the pH value of water in real time, problems that may occur during the operation of water treatment equipment can be detected in a timely manner, such as aging of filter media or insufficient chemical reaction. This allows for timely adjustments and optimizations, thereby improving the operating efficiency and service life of the equipment.
[0161] See Figure 3 The diagram shown is a functional block diagram of the water quality pH monitoring device provided in the embodiment of this application.
[0162] In some embodiments, the water pH monitoring device 30 may include multiple functional modules composed of program code segments. The program code of each program segment in the water pH monitoring device 30 may be stored in the memory of the water treatment equipment and executed by at least one processor to perform (see details). Figure 1 (Description) Function of water quality pH monitoring.
[0163] In this embodiment, the water quality pH monitoring device 30 can be divided into multiple functional modules according to its functions. These functional modules may include: a first acquisition module 301, a first calculation module 302, a second acquisition module 303, a second calculation module 304, a pH display module 305, and a water quality alarm module 306. The term "module" in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and perform a fixed function, stored in memory. In this embodiment, the functions of each module will be detailed in subsequent embodiments.
[0164] The first acquisition module 301 is used to acquire the content value of a first dissolved substance upstream of the alkaline filter material in the water treatment equipment and the content value of a second dissolved substance downstream of the alkaline filter material. The content value of the dissolved substance includes the total dissolved solids value or the conductivity.
[0165] The first calculation module 302 is used to obtain the difference in the content of soluble substances based on the first content value of soluble substances and the second content value of soluble substances;
[0166] The second acquisition module 303 is used to acquire the target water flow temperature value in the water treatment equipment;
[0167] The second calculation module 304 is used to calculate the water pH value based on the difference in the content of dissolved substances and the target water flow temperature value.
[0168] The pH display module 305 is used to display the pH value of the water using a preset display method;
[0169] The water quality alarm module 306 is used to compare the water quality pH value with a preset water quality pH threshold range, and when the water quality pH value exceeds the preset water quality pH threshold range, an alarm is triggered according to a preset alarm method.
[0170] In an optional implementation, the second acquisition module 303 acquires the target water flow temperature value in the water treatment device by including:
[0171] Obtain the real-time water flow temperature value in the water treatment equipment;
[0172] The real-time water flow temperature value is compared with a preset reference temperature range;
[0173] When the real-time water flow temperature value is within the preset reference temperature value range, the real-time water flow temperature value is corrected by a preset correction coefficient to obtain the target water flow temperature value.
[0174] When the real-time water flow temperature value is not within the preset reference temperature value range, the preset correction coefficient is adjusted, and the real-time water flow temperature value is corrected with the adjusted correction coefficient to obtain the target water flow temperature value.
[0175] The adjustment of the preset correction coefficient includes:
[0176] The degree of temperature deviation is obtained based on the real-time water flow temperature value and the preset reference temperature range;
[0177] The preset correction coefficient is adjusted according to the degree of temperature deviation.
[0178] The step of adjusting the preset correction coefficient according to the degree of temperature deviation includes:
[0179] The severity of temperature deviation is determined based on the degree of temperature deviation and a preset temperature deviation threshold.
[0180] Determine the water flow velocity value of the alkaline filter media;
[0181] A correction adjustment coefficient is obtained based on the water flow velocity value and the severity of the temperature deviation.
[0182] The preset correction coefficient is adjusted according to the correction adjustment coefficient.
[0183] In an optional implementation, the second acquisition module 303 acquires the target water flow temperature value in the water treatment device by including:
[0184] Obtain the first target water flow temperature value upstream of the alkaline filter material and the second target water flow temperature value downstream of the alkaline filter material.
[0185] In an optional implementation, the second calculation module 304 calculates the water pH value based on the difference in dissolved substance content and the target water flow temperature, including:
[0186] The pH value of the water is calculated based on the difference in the content of dissolved substances, the first target water flow temperature, and the second target water flow temperature.
[0187] In an optional implementation, the second calculation module 304 calculates the water pH value based on the difference in dissolved substance content and the target water flow temperature, including:
[0188] The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value;
[0189] The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
[0190] It should be understood that the various variations and specific embodiments of the water quality pH monitoring method provided in the above embodiments are also applicable to the water quality pH monitoring device in this embodiment. Through the detailed description of the water quality pH monitoring method described above, those skilled in the art can clearly understand the implementation process of the water quality pH monitoring device in this embodiment. For the sake of brevity, it will not be described in detail here.
[0191] The pH monitoring device provided in this application directly acquires the content values of a first dissolved substance upstream and a second dissolved substance downstream of the alkaline filter media in the water treatment equipment, providing a direct basis for subsequent pH value calculation. The difference in dissolved substance content is calculated based on the second and first dissolved substance content values. This difference represents the change in dissolved substance content during water treatment and can be used to monitor changes in water quality. Since water temperature affects its ionization degree and the activity of dissolved substances, thus affecting pH value, this application, by comprehensively considering two key factors—water flow temperature and the difference in dissolved substance content—can more accurately reflect changes in water quality, improving the accuracy and reliability of pH value calculation. Furthermore, this application avoids the use of expensive pH meters, reducing the cost of water quality monitoring.
[0192] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following steps:
[0193] The content values of a first dissolved substance upstream of the alkaline filter media in the water treatment equipment and a second dissolved substance downstream of the alkaline filter media are obtained. The content values of the dissolved substances include the total dissolved solids value or the conductivity.
[0194] The difference in soluble substance content is obtained based on the first soluble substance content value and the second soluble substance content value;
[0195] Obtain the target water flow temperature value in the water treatment equipment;
[0196] The pH value of the water is calculated based on the difference in the content of dissolved substances and the target water flow temperature.
[0197] In an optional implementation, when the computer program is executed by the processor, it implements the acquisition of the target water flow temperature value in the water treatment device, specifically including:
[0198] Obtain the real-time water flow temperature value in the water treatment equipment;
[0199] The real-time water flow temperature value is compared with a preset reference temperature range;
[0200] When the real-time water flow temperature value is within the preset reference temperature value range, the real-time water flow temperature value is corrected by a preset correction coefficient to obtain the target water flow temperature value.
[0201] When the real-time water flow temperature value is not within the preset reference temperature value range, the preset correction coefficient is adjusted, and the real-time water flow temperature value is corrected with the adjusted correction coefficient to obtain the target water flow temperature value.
[0202] In an optional implementation, when the computer program is executed by the processor, it implements the adjustment of the preset correction coefficient, specifically including:
[0203] The degree of temperature deviation is obtained based on the real-time water flow temperature value and the preset reference temperature range;
[0204] The preset correction coefficient is adjusted according to the degree of temperature deviation.
[0205] In an optional implementation, when the computer program is executed by the processor, it implements the adjustment of the preset correction coefficient according to the degree of temperature deviation, specifically including:
[0206] The severity of temperature deviation is determined based on the degree of temperature deviation and a preset temperature deviation threshold.
[0207] Determine the water flow velocity value of the alkaline filter media;
[0208] A correction adjustment coefficient is obtained based on the water flow velocity value and the severity of the temperature deviation.
[0209] The preset correction coefficient is adjusted according to the correction adjustment coefficient.
[0210] In an optional implementation, when the computer program is executed by the processor, it implements the acquisition of the target water flow temperature value in the water treatment device, specifically including:
[0211] Obtain the first target water flow temperature value upstream of the alkaline filter material and the second target water flow temperature value downstream of the alkaline filter material.
[0212] In an optional implementation, when the computer program is executed by the processor, it performs the calculation based on the difference in dissolved substance content and the target water flow temperature to obtain the water pH value, including:
[0213] The pH value of the water is calculated based on the difference in the content of dissolved substances, the first target water flow temperature, and the second target water flow temperature.
[0214] In an optional implementation, when the computer program is executed by the processor, it performs the calculation based on the difference in dissolved substance content and the target water flow temperature to obtain the water pH value, specifically including:
[0215] The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value;
[0216] The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
[0217] In an optional implementation, the computer program, when executed by a processor, further performs the following steps:
[0218] The water pH value is displayed using a preset display method; and / or
[0219] The water quality pH value is compared with a preset water quality pH threshold range. When the water quality pH value exceeds the preset water quality pH threshold range, an alarm is triggered according to a preset alarm method.
[0220] This application provides a direct basis for subsequent pH value calculation by directly obtaining the content values of the first dissolved substance upstream and the second dissolved substance downstream of the alkaline filter media in the water treatment equipment. The difference in dissolved substance content is calculated based on the second and first dissolved substance content values. This difference represents the change in dissolved substance content during water treatment and can be used to monitor changes in water quality. Since water temperature affects its ionization degree and the activity of dissolved substances, thus affecting pH value, this application, by comprehensively considering two key factors—water flow temperature and the difference in dissolved substance content—can more accurately reflect changes in water quality, improving the accuracy and reliability of pH value calculation. Furthermore, this application avoids the use of expensive pH meters, reducing the cost of water quality monitoring.
[0221] See Figure 4 The diagram shown is a structural schematic of a water treatment device provided in an embodiment of this application. In a preferred embodiment of this application, the water treatment device 4 includes a memory 401, at least one processor 402, and at least one communication bus 403.
[0222] Those skilled in the art should understand that Figure 4 The structure of the water treatment device shown does not constitute a limitation of the embodiments of this application. The water treatment device 4 may also include more or fewer other hardware or software, or different component arrangements than shown.
[0223] In some embodiments, the water treatment device 4 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital processors, and embedded devices. The water treatment device 4 may also include a client device, which includes, but is not limited to, any electronic product capable of human-computer interaction with a client via a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smartphone, or digital camera.
[0224] It should be noted that the water treatment device 4 is only an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0225] In some embodiments, the memory 401 stores a computer program that, when executed by the at least one processor 402, implements all or part of the steps in the water quality pH monitoring method described above. The memory 401 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Further, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for a function, etc.
[0226] In some embodiments, the at least one processor 402 is the control core (CrolUnit) of the water treatment device 4, connecting various components of the entire water treatment device 4 via various interfaces and lines. It executes programs or modules stored in the memory 401 and calls data stored in the memory 401 to perform various functions and process data of the water treatment device 4. For example, when the at least one processor 402 executes the computer program stored in the memory, it implements all or part of the steps of the water quality pH monitoring method described in the embodiments of this application; or it implements all or part of the functions of the water quality pH monitoring device. The at least one processor 402 may be composed of integrated circuits, such as a single-packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0227] In some embodiments, the at least one communication bus 403 is configured to enable communication between the memory 401 and the at least one processor 402, etc. Although not shown, the water treatment device 4 may also include a power supply (e.g., a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 402 via a power management device, thereby enabling functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault monitoring circuits, power converters or inverters, power status indicators, and other arbitrary components. The water treatment device 4 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0228] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a water treatment device (which may be a personal computer, a water treatment device, or a network device, etc.) or a processor to execute portions of the methods described in the various embodiments of this application.
[0229] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0230] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
Claims
1. A method for monitoring water pH, characterized in that, The water treatment equipment includes filter cartridges, filters, and reverse osmosis devices. The filter cartridges include one or more alkaline filter media. The water treatment equipment is a water purifier with mineralization function. The water quality pH monitoring method includes: The content values of a first dissolved substance upstream of the alkaline filter media in the water treatment equipment and a second dissolved substance downstream of the alkaline filter media are obtained. The content values of the dissolved substances include the total dissolved solids value or the conductivity. The difference in soluble substance content is obtained based on the first soluble substance content value and the second soluble substance content value; Obtaining the target water flow temperature value in the water treatment equipment includes: obtaining the real-time water flow temperature value in the water treatment equipment; comparing the real-time water flow temperature value with a preset reference temperature range; when the real-time water flow temperature value is not within the preset reference temperature range, determining the degree of temperature deviation based on the real-time water flow temperature value and the preset reference temperature range; determining the severity of temperature deviation based on the degree of temperature deviation and a preset temperature deviation threshold; determining the water flow velocity value of the alkaline filter media; obtaining a correction adjustment coefficient based on the water flow velocity value and the severity of temperature deviation; adjusting the preset correction coefficient based on the correction adjustment coefficient, and correcting the real-time water flow temperature value with the adjusted correction coefficient to obtain the target water flow temperature value, wherein the correction adjustment coefficient is calculated according to the following formula: Kf represents the correction adjustment factor. α and β These are weighting coefficients; RV represents the water flow velocity value; ΔT represents the degree of temperature deviation; and T0 represents the preset temperature deviation threshold. The pH value of the water is calculated based on the difference in the content of dissolved substances and the target water flow temperature. The process of obtaining the target water flow temperature value in the water treatment equipment includes: Obtain the first target water flow temperature value upstream of the alkaline filter media and the second target water flow temperature value downstream of the alkaline filter media; The calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes: The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value; The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
2. The water quality pH monitoring method according to claim 1, characterized in that, The step of obtaining the target water flow temperature value in the water treatment equipment also includes: When the real-time water flow temperature value is within the preset reference temperature range, the real-time water flow temperature value is corrected by a preset correction coefficient to obtain the target water flow temperature value.
3. The water quality pH monitoring method according to claim 1, characterized in that, The process of obtaining the target water flow temperature value in the water treatment equipment includes: Obtain the first target water flow temperature value upstream of the alkaline filter media and the second target water flow temperature value downstream of the alkaline filter media; The calculation of the water pH value based on the difference in dissolved substance content and the target water flow temperature includes: The pH value of the water is calculated based on the difference in the content of dissolved substances, the first target water flow temperature, and the second target water flow temperature.
4. The water quality pH monitoring method according to claim 1, characterized in that, The water quality pH monitoring method also includes: The water pH value is displayed using a preset display method; and / or The water quality pH value is compared with a preset water quality pH threshold range. When the water quality pH value exceeds the preset water quality pH threshold range, an alarm is triggered according to a preset alarm method.
5. A water quality pH monitoring device, characterized in that, The water treatment equipment includes filter cartridges, filters, and reverse osmosis devices. The filter cartridges include one or more alkaline filter media. The water treatment equipment is a water purifier with mineralization function. The water quality pH monitoring device includes: The first acquisition module is used to acquire the content value of a first dissolved substance upstream of the alkaline filter media in the water treatment equipment and the content value of a second dissolved substance downstream of the alkaline filter media. The content value of the dissolved substance includes total dissolved solids or conductivity. The first calculation module is used to obtain the difference in soluble substance content based on the first soluble substance content value and the second soluble substance content value. The second acquisition module is used to acquire the target water flow temperature value in the water treatment equipment, including: acquiring the real-time water flow temperature value in the water treatment equipment; comparing the real-time water flow temperature value with a preset reference temperature range; when the real-time water flow temperature value is not within the preset reference temperature range, obtaining the degree of temperature deviation based on the real-time water flow temperature value and the preset reference temperature range; obtaining the severity of temperature deviation based on the degree of temperature deviation and a preset temperature deviation threshold; determining the water flow velocity value of the alkaline filter material; obtaining a correction adjustment coefficient based on the water flow velocity value and the severity of temperature deviation; adjusting the preset correction coefficient based on the correction adjustment coefficient, and correcting the real-time water flow temperature value with the adjusted correction coefficient to obtain the target water flow temperature value, wherein the correction adjustment coefficient is calculated according to the following formula: Kf represents the correction adjustment factor. α and β These are weighting coefficients; RV represents the water flow velocity value; ΔT represents the degree of temperature deviation; and T0 represents the preset temperature deviation threshold. The second calculation module is used to calculate the water pH value based on the difference in the content of dissolved substances and the target water flow temperature value. The second acquisition module is also used for: Obtain the first target water flow temperature value upstream of the alkaline filter media and the second target water flow temperature value downstream of the alkaline filter media; The second calculation module is specifically used for: The water flow temperature difference is obtained based on the first target water flow temperature value and the second target water flow temperature value; The pH value of the water is calculated based on the difference in the content of dissolved substances and the difference in water flow temperature.
6. A water treatment device, characterized in that, The water treatment device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the water quality pH monitoring method as described in any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the water quality pH monitoring method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Multifunctional water quality and water state detection device
CN109765272A
Non-linear water solubility total solid compensation method and detection device
CN112083133A
Non-intrusive temperature measurement method for pipeline fluid, electronic equipment and storage medium
CN113177298A
Temperature calibration method and device based on micro-fluidic chip, and testing machine
CN118831661A
Water quality PH monitoring method and device, water treatment equipment and storage medium
CN119438520A