Liquid quality control method and device and liquid output equipment
By obtaining the total dissolved solid value of the liquid output device and the total dissolved solid value of the stock liquid, determining the target removal degree and generating flow information, the problem of fixed removal method of the liquid output device is solved, flexible liquid quality control and convenient liquid utilization are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202410021671.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2025-07-08
AI Technical Summary
The removal method of existing liquid output devices is fixed, resulting in limitations in the target liquid and affecting the convenience of use.
By obtaining the total dissolved solid value in the liquid quality control instruction and the total dissolved solid value of the stock liquid, the target removal degree is determined, and based on this, the flow information is generated to mix the liquid, so as to achieve flexible removal of preset substances.
It improves the flexibility and convenience of liquid quality control, saves liquid utilization, and improves user experience.
Smart Images

Figure CN120276503A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of liquid output devices, and in particular, to a liquid quality control method, apparatus, and liquid output device. Background Art
[0002] With the development of technology, users can obtain target liquids more conveniently and efficiently through liquid output devices. In related technologies, excess substances in the original liquid can be removed to obtain the target liquid. However, the removal method provided by a liquid output device is often fixed, so the target liquid provided by the liquid output device has limitations, which affects the usability of the liquid output device. Summary of the Invention
[0003] To solve at least one of the above-mentioned technical problems, this application provides a liquid quality control method, apparatus, and liquid output device:
[0004] According to a first aspect of the present application, there is provided a liquid quality control method applied to a liquid output device, the method comprising:
[0005] Obtaining a liquid quality control instruction carrying a first total dissolved solids value for the output liquid;
[0006] Obtaining a second total dissolved solids value of the stock liquid in the liquid output device;
[0007] In the case where there is a difference between the first total dissolved solids value and the second total dissolved solids value, determining a target removal degree for the liquid to be input based on comparison information, the comparison information indicating a comparison result between the first total dissolved solids value and the total dissolved solids value corresponding to the removal degree extreme value, the removal degree extreme value being provided by the liquid output device and being for a preset substance;
[0008] Generating flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the flow information including a first flow rate of the input liquid after removal processing and a second flow rate of the stock liquid to be used.
[0009] According to a second aspect of the present application, there is provided a liquid quality control apparatus configured in a liquid output device, the apparatus comprising:
[0010] A first acquisition module for acquiring a liquid quality control instruction carrying a first total dissolved solids value for the output liquid;
[0011] A second acquisition module for acquiring a second total dissolved solids value of the stock liquid in the liquid output device;
[0012] Removal degree determination module: configured to determine a target removal degree corresponding to the liquid to be input based on comparison information when there is a difference between the first total dissolved solid value and the second total dissolved solid value, where the comparison information indicates a comparison result between the first total dissolved solid value and the total dissolved solid value corresponding to the extreme removal degree, and the extreme removal degree is provided by the liquid output device and is for a preset substance;
[0013] Flow information generation module: configured to generate flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solid value, the second total dissolved solid value, and the target removal degree, where the flow information includes a first flow rate of the input liquid after removal treatment and a second flow rate of the stock liquid to be used.
[0014] According to a third aspect of the present application, there is provided a liquid output device, which includes a water tank, a first liquid path structure, a first driving device, a removal device, a second liquid path structure, a second driving device, and the liquid quality control device as described in the second aspect;
[0015] The water tank: for storing the stock liquid;
[0016] The first liquid path structure: for connecting the water outlet of the water tank to the liquid mixing node of the liquid output device;
[0017] The first driving device: for driving the stock liquid to flow from the water tank through the first liquid path structure to the liquid mixing node;
[0018] The removal device: for performing removal treatment on the liquid to be input for the preset substance;
[0019] The second liquid path structure: for connecting the liquid output end of the removal device to the liquid mixing node;
[0020] The second driving device: for driving the liquid processed by the removal device to flow from the removal device through the second liquid path structure to the liquid mixing node.
[0021] According to a fourth aspect of the present application, there is provided a computer-readable storage medium, in which at least one instruction or at least one program segment is stored, and the at least one instruction or at least one program segment is loaded and executed by a processor to implement the liquid quality control as described in the first aspect.
[0022] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application.
[0023] Implementing the present application has the following beneficial effects:
[0024] The present application provides a more adaptable liquid quality control solution. The present application obtains a liquid quality control instruction carrying a first total dissolved solids value for the output liquid, and obtains a second total dissolved solids value of the stock liquid in the liquid output device; then, in the case where there is a difference between the first total dissolved solids value and the second total dissolved solids value, determines a target removal degree corresponding to the liquid to be input based on the comparison information; furthermore, generates flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree. The present application uses the total dissolved solids value as a measurement index to mix the stock liquid and the newly input liquid to obtain a target liquid, which is beneficial to obtaining target liquids with different total dissolved solids values, is beneficial to making the removal degrees for preset substances more diverse, and thus improves the flexibility of liquid quality control. The utilization of the stock liquid creates a liquid utilization scenario, which is beneficial to saving liquid. The liquid output device adopting this liquid quality control solution can also effectively improve its own use convenience, and thus enhance the user experience.
[0025] According to the following detailed description of the exemplary embodiments with reference to the accompanying drawings, other features and aspects of the present application will become clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above-mentioned objects, technical solutions, and beneficial effects of the present invention can be clearly obtained through the following detailed description of the specific embodiments that can implement the present invention, in combination with the description of the accompanying drawings.
[0027] The same reference numerals and symbols in the drawings and the specification are used to represent the same or equivalent elements.
[0028] Figure 1 is a schematic flowchart of a liquid quality control method provided by the present application;
[0029] Figure 2 is a schematic flowchart of generating flow information provided by the present application;
[0030] Figure 3 is a schematic flowchart of obtaining flow regulation information provided by the present application;
[0031] Figure 4 is a schematic diagram of the composition of a liquid quality control device provided by the present application;
[0032] Figure 5 is a schematic diagram of the architecture of a liquid output device provided by the present application;
[0033] Figure 6 is also a schematic flowchart of the flow control logic provided by the present application. Detailed Implementation Manner
[0034] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order different from those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or server including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0036] The various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the drawings denote elements having the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings do not have to be drawn to scale unless otherwise specified.
[0037] The special term "exemplary" here means "serving as an example, embodiment or illustration". Any embodiment described as "exemplary" here does not have to be construed as being superior to or better than other embodiments.
[0038] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.
[0039] In addition, in order to better illustrate the present application, numerous specific details are given in the following detailed implementation manner. Those skilled in the art should understand that the present application can also be implemented without some specific details. In some instances, methods, means, elements and circuits well-known to those skilled in the art are not described in detail so as to highlight the gist of the present application.
[0040] Figure 1 A flowchart showing a liquid quality control method according to an embodiment of the present application is as follows Figure 1 As shown, the method includes:
[0041] S101: Obtain a liquid quality control instruction, where the liquid quality control instruction carries a first total dissolved solids value for the output liquid;
[0042] In the embodiments of the present application, the liquid quality control method provided by the embodiments of the present application is applied to a liquid output device, and the liquid output device can be used to provide a target liquid. The liquid quality control instruction can be generated by a user's trigger. The liquid output device can provide a button indicating liquid quality control, and the user performs a trigger operation on the button (such as pressing the button, rotating the button, etc.) to generate a liquid quality control instruction. The liquid quality control instruction can be generated by a user's trigger. The target client (such as a mobile phone, a PC, etc.) is directly or indirectly connected to the liquid output device through a wired or wireless communication method. The user interface of the target client can provide an interactive control indicating liquid quality control, and the user performs a trigger operation on the interactive control to generate a liquid quality control instruction.
[0043] The liquid quality control instruction is intended to give the conditions that the target liquid should meet, so as to instruct the liquid output device to provide such a target liquid. The liquid output device can remove excess substances from the input liquid. The excess substances can be soluble substances. Here, a preset substance is used as the excess substance, and the preset substance can be determined according to actual needs.
[0044] The condition given by the liquid quality control instruction is the first total dissolved solids value for the output liquid, that is, the total dissolved solids value of the target liquid should match the first total dissolved solids value. Generally speaking, the total dissolved solids value of the target liquid can be the same as or close to the first total dissolved solids value (that is, the difference is less than the difference threshold).
[0045] In the embodiments of the present application, the total dissolved solids value is used as a measurement index, and the total dissolved solids value is obtained from total dissolved solids (TDS). Total dissolved solids, also known as total dissolved solids, has a measurement unit of milligrams per liter (mg / L), which indicates how many milligrams of dissolved solids are dissolved in 1 liter of water. The higher the TDS value, the more dissolved substances are contained in the water. Total dissolved solids refers to the total amount of all solutes in water, including the contents of both inorganic and organic substances. The embodiments of the present application use the total dissolved solids value as a measurement index, providing a scenario for the utilization of stock liquid. For example, 1) The stock liquid can be the remaining liquid of the previous target liquid, and the stock liquid can continue to participate in the composition of the current target liquid. This can avoid waste of the previous target liquid, eliminating the need to consider how to handle such remaining liquid and saving costs. 2) The stock liquid can be a specific liquid specially prepared by the liquid output device, such as the input liquid without removal of excess substances. The existence of the stock liquid makes it possible to obtain the target liquid in a timely manner (such as in the case where the first total dissolved solids value is equal to the second total dissolved solids value).
[0046] In addition, the subsequent utilization of the stock liquid is separated from the input liquid before the removal treatment and is mixed with the input liquid after the removal treatment, which can better manage and maintain the stock liquid and the newly input liquid, and can also reduce the failure of the removal device caused by the removal treatment of the stock liquid (such as more liquid being used in the removal device, with faster wear and more prone to failure).
[0047] It can be understood that the liquid output device mainly removes preset substances. The substances measured by the total dissolved solids value include the preset substances and other substances. Generally speaking, the greater the removal degree of the preset substances, the fewer the preset substances, and the lower the total dissolved solids value; the smaller the removal degree of the preset substances, the more the preset substances, and the higher the total dissolved solids value. The user can set the total dissolved solids value through a liquid quality control instruction, and the liquid output device adapts to the total dissolved solids value by performing removal treatment on the liquid for the preset substances.
[0048] S102: Obtain the second total dissolved solids value of the stock liquid in the liquid output device;
[0049] In the embodiments of the present application, the stock liquid can be the remaining liquid of the historical target liquid, such as the remaining liquid of the previous target liquid. The stock liquid can also be a specific liquid specially prepared by the liquid output device, such as the input liquid without removal of excess substances. The second total dissolved solids value is used to characterize the total dissolved solids value of the stock liquid. The second total dissolved solids value can be obtained by measuring the stock liquid with a TDS sensor.
[0050] In practical applications, the stock liquid may further include the liquid additionally added by the user, and this liquid may be the historical target liquid that has been output (the remaining liquid with respect to the above-mentioned historical target liquid).
[0051] S103: When there is a difference between the first total dissolved solids value and the second total dissolved solids value, determine the target removal degree corresponding to the liquid to be input based on the comparison information, where the comparison information indicates the comparison result between the first total dissolved solids value and the total dissolved solids value corresponding to the extreme removal degree, and the extreme removal degree is provided by the liquid output device and is for a preset substance;
[0052] In the embodiments of the present application, if the first total dissolved solids value is equal to the second total dissolved solids value, it indicates that the stock liquid meets the conditions that the target liquid should meet, and the stock liquid can be used as the current target liquid. In practical applications, for the case where the stock liquid is a specific liquid specially prepared by the liquid output device, although the stock liquid may be the input liquid without removing excess substances, the liquid output device still filters such a liquid, such as primary filtration using a PP cotton as the filter element.
[0053] If the first total dissolved solids value is not equal to the second total dissolved solids value, it indicates that the stock liquid does not meet the conditions that the target liquid should meet, and the stock liquid cannot be used as the current target liquid. The stock liquid needs to be mixed with the input liquid after the removal treatment to form the current target liquid. At this time, the second total dissolved solids value of the stock liquid is fixed, and the total dissolved solids value of the liquid to be input needs to be adjusted so that the total dissolved solids value of the output liquid adapts to the first total dissolved solids value. The adjustment of the total dissolved solids value of the liquid to be input can be achieved by selecting the removal degree for the preset substance.
[0054] It can be understood that the greater the removal degree for the preset substance, the less the preset substance in the newly input liquid, the lower the total dissolved solids value of the newly input liquid, which results in more wastewater and greater loss to the removal device; the smaller the removal degree for the preset substance, the more the preset substance in the newly input liquid, the higher the total dissolved solids value of the newly input liquid, which results in less wastewater and less loss to the removal device. Since the extreme removal degree provided by the liquid output device is fixed, the corresponding total dissolved solids value can be deduced through the extreme removal degree. At this time, it can be considered that the substance measured by the total dissolved solids value is the preset substance, and the removal degree = 1 - (the total dissolved solids value of the liquid 输入 - the total dissolved solids value of the liquid 输出 / the total dissolved solids value of the liquid 输入Total Dissolved Solids value × 100%. The comparison information can illustrate the magnitude relationship between the first Total Dissolved Solids value and the Total Dissolved Solids value corresponding to the extreme removal degree, such as greater than, less than, or equal to. The first Total Dissolved Solids value should be within the first value range formed by the Total Dissolved Solids value of the input liquid after the removal treatment and the second Total Dissolved Solids value. The Total Dissolved Solids value of the input liquid after the removal treatment should take a value within the second value range, and the second value range is formed by the Total Dissolved Solids values corresponding to two extreme removal degrees (maximum value, minimum value). The determination of the target removal degree can consider making the best use of the stock liquid and minimizing the generation of wastewater.
[0055] In one embodiment, the extreme removal degree indicates a minimum value, and the minimum value corresponds to a third Total Dissolved Solids value. Determining the target removal degree corresponding to the liquid to be input based on the comparison information may include the following steps: First, when the comparison information indicates that the first Total Dissolved Solids value is greater than the third Total Dissolved Solids value, determine the minimum value as the target removal degree; then, when the comparison information indicates that the first Total Dissolved Solids value is less than or equal to the third Total Dissolved Solids value, determine the maximum value as the target removal degree, where the maximum value indicates the removal degree of the preset substance provided by the liquid output device.
[0056] When the stock liquid is a specific liquid specially prepared by the liquid output device, such as the input liquid without the removal of excess substances, the first Total Dissolved Solids value is generally less than the second Total Dissolved Solids value. Here, taking the Total Dissolved Solids value corresponding to the minimum value as the reference basis, compared with taking the Total Dissolved Solids values corresponding to both the minimum value and the maximum value as the reference basis, the calculation amount is smaller and the calculation efficiency is faster. The Total Dissolved Solids value corresponding to the minimum value is the upper limit of the second value range (corresponding to the above-mentioned third Total Dissolved Solids value). When the first Total Dissolved Solids value is greater than the third Total Dissolved Solids value, it indicates that the first Total Dissolved Solids value is between the second Total Dissolved Solids value and the third Total Dissolved Solids value. Using the minimum value as the target removal degree can reduce the wastewater generated by subsequent removal treatment and also reduce the loss of the removal device. When the first Total Dissolved Solids value is less than or equal to the third Total Dissolved Solids value, using the maximum value as the target removal degree is beneficial to ensuring that the first Total Dissolved Solids value is between the second Total Dissolved Solids value and the fifth Total Dissolved Solids value (the Total Dissolved Solids value corresponding to the maximum value) to achieve the adaptation of the Total Dissolved Solids value of the output liquid to the first Total Dissolved Solids value.
[0057] S104: Generate flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first Total Dissolved Solids value, the second Total Dissolved Solids value, and the target removal degree. The flow information includes the first flow rate of the input liquid after the removal treatment and the second flow rate of the stock liquid to be used.
[0058] In the embodiment of the present application, the preset flow rate of the output liquid refers to the flow rate of the target liquid this time, and the measurement units adopted can be L / min, mL / min, etc. Currently, it is known that the flow rate of the target liquid this time, the first total dissolved solids value of the target liquid this time, the target liquid this time is composed of the stock liquid and the input liquid after the removal treatment, the second total dissolved solids value of the stock liquid, and the target removal degree adopted for the removal treatment. On this basis, considerations can be made from the dimensions of the flow rate and the total dissolved solids value to determine the first flow rate of the input liquid after the removal treatment and the second flow rate of the stock liquid to be used. The flow rate information including the first flow rate and the second flow rate will be used to guide the liquid mixing, that is, to guide the input liquid after the removal treatment to participate in the liquid mixing at the first flow rate and the stock liquid at the second flow rate, so as to obtain the target liquid this time.
[0059] In one embodiment, as Figure 2 shown, generating the flow rate information for guiding the liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree includes:
[0060] S201: Establish the flow rate relationship between the input liquid after the removal treatment and the stock liquid to be used with the preset flow rate as a constraint;
[0061] S202: Establish the total dissolved solids relationship between the input liquid after the removal treatment and the stock liquid to be used with the first total dissolved solids value as a constraint, based on the second total dissolved solids value and the target removal degree;
[0062] S203: Obtain the first flow rate and the second flow rate based on the flow rate relationship and the total dissolved solids relationship to obtain the flow rate information.
[0063] If TDS_Object represents the first total dissolved solids value, TDS_ZLS represents the second total dissolved solids value, TDS_NL represents the total dissolved solids value corresponding to the target removal degree, and Flow_Object represents the preset flow rate. Assuming the first flow rate is X and the second flow rate is Y, then: the flow rate relationship established with the preset flow rate as a constraint is: X + Y = Flow_Object; the total dissolved solids relationship established with the first total dissolved solids value as a constraint is: (TDS_NL * X + TDS_ZLS * Y) / (X + Y) = Flow_Object. The establishment and application of the two constraint relationships are beneficial to ensuring the accuracy of the flow rate information and also providing a basis for backtracking problems when abnormalities occur.
[0064] In one embodiment, as Figure 3As shown, after generating the flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the method further includes:
[0065] S301: During the process of liquid mixing according to the flow information, obtain the fourth total dissolved solids value of the currently output liquid;
[0066] S302: Determine the difference in total dissolved solids value between the fourth total dissolved solids value and the first total dissolved solids value;
[0067] S303: Process the difference in total dissolved solids value using a preset control algorithm to obtain flow adjustment information, where the flow adjustment information is used to adjust the flow rates of the input liquid after the removal process and the stock liquid to be used. The preset control algorithm is used to provide preset proportional parameters, preset integral parameters, and preset differential parameters for participating in data processing.
[0068] Using a preset control algorithm to update the flow rates of the input liquid after the removal process and the stock liquid to be used, that is, to update the above-mentioned first flow rate and second flow rate, thus improving the adaptability and flexibility of flow rate configuration. Under the condition of ensuring the supply of the target liquid according to the preset flow rate, it can effectively cope with the actual supply situation of the liquids to be mixed in the liquid output device.
[0069] It can be understood that the first total dissolved solids value is the ideal total dissolved solids value of the output liquid, and the fourth total dissolved solids value is the actual total dissolved solids value of the output liquid. There is inevitably a difference between the two. If TDS_Object represents the first total dissolved solids value and TDS3 represents the fourth total dissolved solids value, TDS_Object - TDS3 can represent the difference in total dissolved solids value.
[0070] The preset control algorithm can be a PID control (proportional-integral-derivative control) algorithm. By processing the difference in total dissolved solids value using the preset control algorithm, the difference in total dissolved solids value can be linearly combined in proportion (corresponding to the preset proportional parameter), integration (corresponding to the preset integral parameter), and differentiation (corresponding to the preset differential parameter) to form a flow adjustment value, that is, the above-mentioned flow adjustment information. Since the flow adjustment information is used to adjust the flow rates of the input liquid after the removal process and the stock liquid to be used, that is, to adjust the above-mentioned first flow rate and second flow rate. And the first flow rate and the second flow rate are affected by the preset flow rate. When the flow adjustment value acts positively on one flow rate, it also acts negatively on the other flow rate. For example, based on the flow adjustment value, increase (or decrease) the first flow rate, and based on the flow adjustment value, decrease (or increase) the second flow rate.
[0071] Further, the process of using a preset control algorithm to process the total dissolved solids value difference to obtain flow rate adjustment information may include the following steps: 1) determining a target proportional value based on the preset proportional parameter, the total dissolved solids value difference, and at least one historical total dissolved solids value difference, where the historical total dissolved solids value difference is determined based on the total dissolved solids value of the historical output liquid and the total dissolved solids value of the historical input liquid during the liquid mixing process; 2) determining a target integral value based on the preset integral parameter and the total dissolved solids value difference; 3) determining a target differential value based on the preset integral parameter, the total dissolved solids value difference, and the at least one historical total dissolved solids value difference; 4) obtaining the flow rate adjustment information based on the target proportional value, the target integral value, and the target differential value.
[0072] The following formula can be used to represent how to obtain the flow rate adjustment information: ΔU(t) = kp * [e(t) - e(t - 1)] + ki * e(t) + kd * [e(t) - 2e(t - 1) + e(t - 2)]. ΔU(t) represents the flow rate adjustment information, t represents the current time, t - 1 represents the historical time closest to the current time, and t - 2 represents the historical time next closest to the current time. e(t) represents the total dissolved solids value difference, and e(t - 1) and e(t - 2) represent the historical total dissolved solids values. kp represents the preset proportional parameter, ki represents the preset integral parameter, and kd represents the preset differential parameter.
[0073] In practical applications, kp, ki, and kd can be set based on historical feedback. Using the PID control algorithm to obtain the flow rate adjustment information and then update the first flow rate and the second flow rate can effectively improve the adaptability, flexibility, and reliability of obtaining the output liquid through flow rate configuration. When the relevant parameters are determined, using the PID control algorithm can improve the speed of obtaining the flow rate adjustment information, and thus improve the update efficiency for the first flow rate and the second flow rate. It should be noted that the steps of determining the target proportional value, the target integral value, and the target differential value can be executed in parallel.
[0074] In one embodiment, after generating the flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the method may further include the following steps: First, during the process of liquid mixing according to the flow information, obtain a flow adjustment instruction for the output liquid, where the flow adjustment instruction carries a target flow rate to be increased or decreased; then, determine the flow rate ratio information of the input liquid after the removal process and the stock liquid to be used based on the flow information; furthermore, divide the target flow rate based on the flow rate ratio information to obtain a first adjustment amount for the input liquid after the removal process and a second adjustment amount for the stock liquid to be used.
[0075] Allocating the target flow rate to be increased or decreased according to the flow rate ratio information can adjust the flow rate of the output liquid without changing the total dissolved solids value of the current output liquid. This can enrich the target liquid supply scenarios of the liquid output device and meet the finer-grained usage requirements under a fixed total dissolved solids value of the output liquid.
[0076] For example, through the first flow rate and the second flow rate given by the flow information, obtain a flow rate ratio information of 3:1. If the flow adjustment instruction indicates that the target flow rate to be increased is 20 mL / min, after allocation, the input liquid after the removal process can be increased by 15 mL / min (corresponding to the above first adjustment amount), and the stock liquid to be used can be increased by 5 mL / min (corresponding to the above second adjustment amount).
[0077] As can be seen from the technical solutions provided by the embodiments of the present application above, the embodiments of the present application provide a more adaptable liquid quality control solution. The present application obtains a liquid quality control instruction carrying the first total dissolved solids value for the output liquid and obtains the second total dissolved solids value of the stock liquid in the liquid output device; then, in the case where there is a difference between the first total dissolved solids value and the second total dissolved solids value, determine the target removal degree corresponding to the liquid to be input based on the comparison information; furthermore, generate flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree. The embodiments of the present application use the total dissolved solids value as a measurement index to mix the stock liquid and the newly input liquid to obtain the target liquid, which is beneficial to obtaining target liquids with different total dissolved solids values, making the removal degree for the preset substance more diverse, and thus improving the flexibility of liquid quality control. The utilization of the stock liquid creates a liquid utilization scenario, which is beneficial to saving liquid.
[0078] The embodiments of the present application provide a liquid quality control device, such as Figure 4As shown, the liquid quality control device 40 is disposed in a liquid output device, and the liquid quality control device 40 includes:
[0079] A first acquisition module 401: configured to acquire a liquid quality control instruction, where the liquid quality control instruction carries a first total dissolved solids value for the output liquid;
[0080] A second acquisition module 402: configured to acquire a second total dissolved solids value of the stock liquid in the liquid output device;
[0081] A removal degree determination module 403: configured to, when there is a difference between the first total dissolved solids value and the second total dissolved solids value, determine a target removal degree corresponding to the liquid to be input based on comparison information, where the comparison information indicates a comparison result between the first total dissolved solids value and the total dissolved solids value corresponding to the removal degree extreme value, the removal degree extreme value is provided by the liquid output device, and the removal degree extreme value is for a preset substance;
[0082] A flow rate information generation module 404: configured to generate flow rate information for guiding liquid mixing based on a preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, where the flow rate information includes a first flow rate of the input liquid after removal processing and a second flow rate of the stock liquid to be used.
[0083] It should be noted that the device embodiment here and the above method embodiment are based on the same inventive concept.
[0084] An embodiment of the present application provides a liquid output device, which includes a water tank, a first liquid path structure, a first driving device, a removal device, a second liquid path structure, a second driving device, and the liquid quality control device provided in the above device embodiment. The water tank is used to store the stock liquid. The first liquid path structure is used to connect the water outlet of the water tank to the liquid mixing node of the liquid output device. The first driving device is used to drive the stock liquid to flow from the water tank through the first liquid path structure to the liquid mixing node. The removal device is used to perform removal processing on the liquid to be input for a preset substance. The second liquid path structure is used to connect the liquid output end of the removal device to the liquid mixing node. The second driving device is used to drive the liquid processed by the removal device to flow from the removal device through the second liquid path structure to the liquid mixing node. The liquid output device is configured with a liquid quality control device, and the liquid quality control device adopts the above liquid quality control solution, which is beneficial to the liquid output device to improve its own use convenience, thereby enhancing the user experience.
[0085] As Figure 5 shown, TDS1-3 are three sensors for monitoring the TDS of the liquid. The liquid mixing node of the liquid output device can correspond to Figure 5The location of TDS3 in the first liquid path structure can correspond to Figure 5 the water path controlled by the DC pump in the first liquid path structure: the water outlet of the water tank - the location of TDS3. The first driving device can correspond to this DC pump. The removal device can correspond to Figure 5 the nanofiltration in the first liquid path structure. The removal device can use a nanofiltration membrane as the filter element to remove preset substances. The degree of removal can be adjusted by adjusting the nanofiltration membrane, specifically through Figure 5 the adjustable valve in the first liquid path structure. The second driving device can correspond to Figure 5 the booster pump in the second liquid path structure. The second liquid path structure is the water path controlled by this booster pump: the liquid output end of the removal device - the location of TDS3. It should be noted that Figure 5 the paths in the second liquid path structure are only examples, and there can be more levels of filtration and removal paths in actual applications.
[0086] In one embodiment, the device further includes: a third liquid path structure. The third liquid path structure is used to connect the liquid output end of the removal device and the water inlet of the water tank. The third liquid path structure can correspond to Figure 5 the water path where the solenoid valve 2 is located in the third liquid path structure: the liquid output end of the removal device - the water inlet of the water tank. Such a setting of the third liquid path structure provides a source of stored liquid.
[0087] In one embodiment, the device is a water purifier, the preset substance is salt, and the removal device uses an adjustable nanofiltration membrane for desalination. The target liquid provided by this water purifier can be for drinking or non-drinking purposes.
[0088] Next, taking the water purifier that provides drinking water as an example, its composition and use will be introduced in detail.
[0089] The water purifier provided by the embodiment of the present application uses an adjustable nanofiltration membrane for desalination. The desalination rate of the water purifier can be flexibly adjusted according to user needs, so as to better adapt to the water quality hardness differences in different regions. One adjustable nanofiltration membrane can be used, which has a small cost and a small occupied volume. Compared with the reverse osmosis membrane, the nanofiltration membrane not only has a better desalination effect but also can retain some mineral ions, which is healthier.
[0090] As Figure 5 shown, the water purifier includes three filter elements, namely PP cotton, nanofiltration membrane, and post-activated carbon. The PP cotton can be used to roughly filter the incoming water (such as tap water). The post-activated carbon can be used to filter the mixed water to obtain the outlet water. TDS1 and TDS2 are respectively placed before and after the removal device where the nanofiltration membrane is located. TDS1 can monitor the water quality of the incoming water before the removal treatment, and TDS2 can monitor the water quality of the incoming water after the removal treatment. TDS3 can monitor the water quality of the mixed water.
[0091] The stored liquid in the water tank can be water with a low desalination rate. The stored liquid in the water tank can also be the roughly filtered water obtained by coarsely filtering the influent water through a PP cotton filter. The roughly filtered water reaches the water tank through the removal device and then through the water path where the solenoid valve 2 is located. At this time, the adjustable valve is closed, no wastewater is generated, and the water quality monitored by TDS1 and TDS2 is basically the same. To make the roughly filtered water reach the water tank, solenoid valve 1 is closed and solenoid valve 2 is opened. At the same time, the booster pump can even be prevented from being opened. On the one hand, the pressure of the influent water can penetrate the nanofiltration membrane to successfully replenish the water tank; on the other hand, the energy required to start the booster pump can also be saved. In addition, a liquid level detection sensor is installed on the side of the water tank to confirm whether the water tank is full and prevent overflow during water replenishment of the water tank. During the water replenishment process, as the liquid level in the water tank rises and reaches a certain height, the liquid level detection sensor is triggered, indicating that the water in the water tank is full.
[0092] In the water mixing process, after setting the target TDS of the effluent (corresponding to the above-mentioned first total dissolved solids value), the desalination rate requirement can be roughly determined. Given the TDS of the replenishing water in the water tank, the effluent flow rate of the water tank (corresponding to the above-mentioned second flow rate) can be adjusted by adjusting the voltage of the DC pump. The water desalinated by the nanofiltration membrane can adjust the desalination rate through the adjustable valve. The effluent flow rate of the removal device (corresponding to the above-mentioned first flow rate) can be adjusted by adjusting the voltage of the booster pump. The effluent flow rate of the water tank, the desalination rate of the nanofiltration membrane (corresponding to the above-mentioned target removal degree), and the effluent flow rate of the removal device can be calculated based on the target TDS of the effluent. Among them, when adjusting the desalination rate through the adjustable valve, the ratio of purified water to wastewater also needs to be considered. The adjustable valve has an adjustment range. Generally, the larger the opening of the adjustable valve, the more wastewater and the less purified water, which is relatively wasteful of water; while the smaller the opening of the adjustable valve, the less wastewater and the more purified water, but the outlet pressure of the booster pump will be greater, which is likely to exceed the pressure limit of the nanofiltration membrane, and then the nanofiltration membrane is easily damaged. The desalination rate of the nanofiltration membrane generally can be maintained at 50% - 95%.
[0093] Specifically, 1) Set the target TDS of the effluent: TDS_Object, and match it according to the effluent TDS of the water tank (corresponding to the above-mentioned second total dissolved solids value) and the effluent TDS range of the removal device. Set the conventional flow rate (corresponding to the above-mentioned preset flow rate) to a certain value. This value can be the effluent flow rate of the removal device when the opening of the adjustable valve is the largest and the booster pump is fully open, such as 2000 mL / min. Among them, the effluent TDS of the water tank can take TDS_ZLS = 200.
[0094] 2) If the TDS_Object is greater than the maximum effluent TDS_NL_MAX of the nanofiltration membrane, the effluent flow rate of the water tank and the effluent flow rate of the removal device can be adjusted so that the water quality monitored by TDS3 meets the TDS_Object. At this time, the desalination rate of the nanofiltration membrane adopts the minimum desalination rate corresponding to TDS_NL_MAX (corresponding to the above minimum value). TDS_NL_MAX can be measured in advance according to the equipment water circuit, that is, set the minimum desalination rate, that is, the minimum adjustable valve opening and the maximum net water to wastewater ratio.
[0095] If TDS_NL_MAX = 60 and TDS_Object = 80, then the desalination rate of the nanofiltration membrane adopts the minimum desalination rate corresponding to TDS_NL_MAX. Assuming that the effluent flow rate of the removal device is X and the effluent flow rate of the water tank is Y, then: X + Y = 2000; (60*X + 200*Y) / (X + Y) = 80.
[0096] 3) If the TDS_Object is less than the maximum effluent TDS_NL_MAX of the nanofiltration membrane, the effluent flow rate of the water tank and the effluent flow rate of the removal device can be adjusted so that the water quality monitored by TDS3 meets the TDS_Object. At this time, the desalination rate of the nanofiltration membrane adopts the maximum desalination rate corresponding to the minimum effluent TDS_NL_MIN of the nanofiltration membrane (corresponding to the above maximum value). TDS_NL_MIN can be measured in advance according to the equipment water circuit, that is, set the maximum desalination rate, that is, the maximum adjustable valve opening and the minimum net water to wastewater ratio.
[0097] If TDS_NL_MAX = 60, TDS_NL_MIN = 20, and TDS_Object = 40, then the desalination rate of the nanofiltration membrane adopts the maximum desalination rate corresponding to TDS_NL_MIN. Assuming that the effluent flow rate of the removal device is X and the effluent flow rate of the water tank is Y, then: X + Y = 2000; (20*X + 200*Y) / (X + Y) = 40.
[0098] 4) After completing the calculation of the two flow rates and the determination of the adjustable valve opening, the mixed water water circuit can be started, that is, turn on the booster pump, adjustable valve opening, solenoid valve 1, and DC pump, and turn off solenoid valve 2. Among them, the dual-pump PID control of the booster pump and the DC pump is started. Start the flow meter (see Figure 5 ) for detection to confirm that the final effluent flow rate remains unchanged.
[0099] 5) The dual-pump PID control can adopt incremental PID control, and the specific details can refer to the relevant descriptions in the foregoing steps S301 - S303. Generally, when ΔU(t) is positive, the water outlet flow rate of the water tank controlled by the DC pump is increased, and the water outlet flow rate of the removal device controlled by the booster pump is decreased; when ΔU(t) is negative, the water outlet flow rate of the water tank controlled by the DC pump is decreased, and the water outlet flow rate of the removal device controlled by the booster pump is increased. The value of ΔU(t) represents the numerical value of the increased or decreased water outlet flow rate.
[0100] 6) In order to keep the final water outlet flow rate unchanged, the actual flow deviation can be fed back based on the data detected by the flow meter, △F = Flow_Object – Flow_sensor, where △F is the actual flow deviation, Flow_Object is the normal flow rate, and Flow_sensor is the flow meter data. When △F is positive, it indicates that the flow rate needs to be increased; when △F is negative, it indicates that the flow rate needs to be decreased. When △F is non-zero, the above-mentioned flow adjustment instruction can be generated. For the response process of this instruction, please refer to the foregoing and will not be elaborated here.
[0101] 7) After the TDS and flow rate are stable, the data can be recorded as the adjustment data for the next time, so that the current state can be quickly reached. For the above 4) - 7) here, please refer to Figure 6 。
[0102] In the embodiments of the present application, by mixing the water with an unadjustable desalination rate in the mixing water tank and the water outlet of the removal device with an instantaneously adjustable desalination rate, it is possible to provide the final water outlet with an adjustable desalination rate in a large scale, quickly, and at low cost. When the water tank is replenished, the ion concentration is basically that of tap water, compensating for the adjustable concentration range of the nanofiltration membrane. By controlling the three parameters of the water outlet flow rate of the water tank, the desalination rate of the nanofiltration membrane (corresponding to the above-mentioned target removal degree), and the water outlet flow rate of the removal device, the desalination rate of the final water outlet can be quickly adjusted and can be quickly reproduced next time.
[0103] The embodiments of the present application also provide a computer-readable storage medium, in which at least one instruction or at least one program segment is stored, and the at least one instruction or at least one program segment is loaded and executed by a processor to implement the above method. The computer-readable storage medium can be a non-volatile computer-readable storage medium.
[0104] The above embodiments only represent several implementation manners of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several deformations and improvements can still be made, and these all belong to the protection scope of the present invention.
Claims
1. A liquid mass control method, characterized in that, Applied to a liquid output device, the method includes: Obtaining a liquid quality control instruction carrying a first total dissolved solids value for the output liquid; Obtaining a second total dissolved solids value of the stock liquid in the liquid output device; In the case where there is a difference between the first total dissolved solids value and the second total dissolved solids value, determining a target removal degree corresponding to the liquid to be input based on comparison information, the comparison information indicating a comparison result between the first total dissolved solids value and the total dissolved solids value corresponding to the removal degree extreme value, the removal degree extreme value being provided by the liquid output device and being for a preset substance; Generating flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the flow information including a first flow rate of the input liquid after removal treatment and a second flow rate of the stock liquid to be used.
2. The method according to claim 1, characterized in that The removal degree extreme value indicates a minimum value corresponding to a third total dissolved solids value. Determining the target removal degree corresponding to the liquid to be input based on the comparison information includes: In the case where the comparison information indicates that the first total dissolved solids value is greater than the third total dissolved solids value, determining the minimum value as the target removal degree; In the case where the comparison information indicates that the first total dissolved solids value is less than or equal to the third total dissolved solids value, determining the maximum value as the target removal degree, the maximum value indicating the removal degree for the preset substance provided by the liquid output device.
3. The method according to claim 1 or 2, characterized in that, Generating the flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree includes: Establishing a flow rate relationship between the input liquid after removal treatment and the stock liquid to be used with the preset flow rate as a constraint; Establishing a total dissolved solids relationship between the input liquid after removal treatment and the stock liquid to be used based on the second total dissolved solids value and the target removal degree with the first total dissolved solids value as a constraint; Obtaining the first flow rate and the second flow rate based on the flow rate relationship and the total dissolved solids relationship to obtain the flow information.
4. The method according to claim 1, wherein After generating the flow information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the method further includes: During the process of mixing liquids according to the flow information, obtaining a fourth total dissolved solids value of the currently output liquid; Determining the difference in total dissolved solids value between the fourth total dissolved solids value and the first total dissolved solids value; Processing the difference in total dissolved solids value using a preset control algorithm to obtain flow rate adjustment information for adjusting the flow rates of the input liquid after removal treatment and the stock liquid to be used, the preset control algorithm being used to provide preset proportional parameters, preset integral parameters, and preset differential parameters for participating in data processing.
5. The method according to claim 4, wherein Processing the total dissolved solids value difference by using a preset control algorithm to obtain flow rate adjustment information includes: Determining a target proportional value based on the preset proportional parameter, the total dissolved solids value difference, and at least one historical total dissolved solids value difference, where the historical total dissolved solids value difference is determined based on the total dissolved solids value of the historical output liquid and the total dissolved solids value of the historical input liquid during the liquid mixing process; Determining a target integral value based on the preset integral parameter and the total dissolved solids value difference; Determining a target differential value based on the preset integral parameter, the total dissolved solids value difference, and the at least one historical total dissolved solids value difference; Obtaining the flow rate adjustment information based on the target proportional value, the target integral value, and the target differential value.
6. The method according to claim 1, wherein After generating the flow rate information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, the method further includes: During the process of liquid mixing according to the flow rate information, obtaining a flow rate adjustment instruction for the output liquid, where the flow rate adjustment instruction carries a target flow rate to be increased or decreased; Determining the flow rate ratio information of the input liquid after the removal process and the stock liquid to be used based on the flow rate information; Dividing the target flow rate based on the flow rate ratio information to obtain a first adjustment amount for the input liquid after the removal process and a second adjustment amount for the stock liquid to be used.
7. A liquid mass control device, characterized in that, Configured in a liquid output device, the device includes: A first acquisition module: for acquiring a liquid quality control instruction, where the liquid quality control instruction carries a first total dissolved solids value for the output liquid; A second acquisition module: for acquiring a second total dissolved solids value of the stock liquid in the liquid output device; A removal degree determination module: for, when there is a difference between the first total dissolved solids value and the second total dissolved solids value, determining a target removal degree corresponding to the liquid to be input based on comparison information, where the comparison information indicates the comparison result between the first total dissolved solids value and the total dissolved solids value corresponding to the removal degree extreme value, and the removal degree extreme value is provided by the liquid output device and is for a preset substance; A flow rate information generation module: for generating flow rate information for guiding liquid mixing based on the preset flow rate of the output liquid, the first total dissolved solids value, the second total dissolved solids value, and the target removal degree, where the flow rate information includes a first flow rate of the input liquid after the removal process and a second flow rate of the stock liquid to be used.
8. A liquid output device, characterized in that, The device includes a water tank, a first liquid path structure, a first driving device, a removal device, a second liquid path structure, a second driving device, and the liquid quality control device as described in claim 7; The water tank: for storing the stock liquid; The first liquid path structure: for connecting the water outlet of the water tank to the liquid mixing node of the liquid output device; The first driving device: for driving the stock liquid to flow from the water tank through the first liquid path structure to the liquid mixing node; The removal device: for performing removal processing on the to-be-input liquid with respect to the preset substance; The second liquid path structure: for connecting the liquid output end of the removal device to the liquid mixing node; The second driving device: for driving the liquid processed by the removal device to flow from the removal device through the second liquid path structure to the liquid mixing node.
9. The device according to claim 8, characterized in that, The device further includes: A third liquid path structure: for connecting the liquid output end of the removal device to the water inlet of the water tank.
10. The device according to claim 8 or 9, characterized in that, The device is a water purifier, the preset substance is salt, and the removal device uses an adjustable nanofiltration membrane for desalination.