Water purification device control method, water purification device, and medium

By obtaining the total dissolved solids value in the water purification equipment and dynamically adjusting the motor speed to adapt to the pressure requirements of the reverse osmosis filter components, the problem of unstable filtration effect caused by the fixed mode of the booster pump is solved, achieving stable filtration and energy consumption optimization.

WO2026097898A1PCT designated stage Publication Date: 2026-05-15WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
Filing Date
2025-06-30
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

The booster pump in the reverse osmosis filtration component of the water purification equipment operates in a fixed mode, which makes it difficult to adapt to changes in the raw water pressure, resulting in unstable filtration effect.

Method used

By obtaining the total dissolved solids (TDS) value of the water in the water purification equipment pipeline, the target control parameters of the motor are determined based on the TDS value. The motor speed is controlled to be positively correlated with the TDS value. Using the proportional-integral regulators of the current loop and speed loop, as well as the three-phase power platform, the raw water pressure of the booster pump is dynamically adjusted to meet the needs of the reverse osmosis filter components.

Benefits of technology

To ensure that the reverse osmosis filtration components maintain a stable filtration effect, reduce energy consumption and maintenance costs, and improve the operating efficiency and reliability of water purification equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105642_15052026_PF_FP_ABST
    Figure CN2025105642_15052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a water purification device control method, a water purification device, and a medium. The water purification device comprises a reverse osmosis filter assembly and a booster water pump corresponding to the reverse osmosis filter assembly. The booster water pump comprises an impeller and a motor for driving the impeller. The method comprises: acquiring a total dissolved solids value of water in pipes of the water purification device; determining a target control parameter of the motor on the basis of the total dissolved solids value; and controlling the motor on the basis of the target control parameter, such that the rotational speed of the motor is positively correlated with the total dissolved solids value.
Need to check novelty before this filing date? Find Prior Art

Description

Control methods for water purification equipment, water purification equipment and media

[0001] This application claims priority to Chinese patent application No. 202411579604.6, filed on November 5, 2024, entitled "Control Method, Water Purification Equipment and Medium for Water Purification Equipment", the contents of which are to be understood as incorporated herein by reference. Technical Field

[0002] This application relates to the field of water purification equipment technology, and in particular to a control method, water purification equipment and medium for a water purification equipment. Background Technology

[0003] Currently, some water purification equipment integrates reverse osmosis filtration components. The working principle of these components is primarily based on reverse osmosis membrane technology. A booster pump applies pressure to the raw water, forcing water molecules in the raw water to pass through the reverse osmosis membrane within the filter assembly, thus purifying the water. However, in these technologies, the booster pumps in water purification equipment typically operate in a fixed mode, making it difficult to adapt to changes in the raw water pressure required by the reverse osmosis filtration component. This results in the reverse osmosis filtration component being unable to maintain a stable filtration effect. Summary of the Invention

[0004] This application provides a control method, a water purification device, and a medium for a water purification device, which enables the pressure of the raw water supplied by the booster pump to the reverse osmosis filter component to meet the pressure requirements of the reverse osmosis filter component, thereby ensuring that the reverse osmosis filter component maintains a stable filtration effect.

[0005] In a first aspect, a control method for a water purification device is provided. The water purification device includes a reverse osmosis filtration component and a booster pump corresponding to the reverse osmosis filtration component. The booster pump includes an impeller and a motor that drives the impeller. The method includes:

[0006] Obtain the total dissolved solids value of water in the pipeline of the water purification equipment;

[0007] The target control parameters for the motor are determined based on the total dissolved solids value.

[0008] The motor is controlled according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value.

[0009] The above method first obtains the total dissolved solids (TDS) value of the water in the pipeline of the water purification equipment. The TDS value reflects the water quality in the pipeline. A higher TDS value requires a higher raw water pressure from the reverse osmosis (RO) filter assembly, and vice versa. Then, the target control parameters for the motor are determined based on the TDS value, and the motor is controlled according to these parameters to ensure a positive correlation between the motor speed and the TDS value. A faster motor speed results in a higher raw water pressure supplied to the RO filter assembly by its impeller, and vice versa. This ensures that the raw water pressure supplied by the booster pump to the RO filter assembly meets the pressure requirements of the RO filter assembly, thereby ensuring a stable filtration effect.

[0010] In conjunction with the first aspect, in some possible implementations, the target control parameters of the motor are determined based on the total dissolved solids value, including:

[0011] Obtain the control parameter table corresponding to the water purification equipment;

[0012] Construct a query based on the total dissolved solids value;

[0013] The target control parameters for the motor are obtained by querying the control parameter table using the query statement.

[0014] By using the above solution, and recording the mapping relationship between total dissolved solids (TDS) and control parameters through a control parameter table, the water purification equipment can adjust the motor's control parameters in real time according to changes in water quality. This ensures that the reverse osmosis filtration components always operate at their best, effectively reducing water purification energy consumption and maintenance costs. Furthermore, the introduction of the control parameter table simplifies the control logic, making the water purification equipment operate more efficiently and reliably.

[0015] Combining the first aspect and the above implementation methods, in some possible implementation methods, the target control parameters of the motor are determined based on the total dissolved solids value, including:

[0016] Obtain the fitting function corresponding to the water purification equipment;

[0017] The target control parameters of the motor are obtained by calculating the total dissolved solids value and the fitted function.

[0018] By employing the above method, and recording the mapping relationship between the total dissolved solids (TDS) value and control parameters through a fitting function, the water purification equipment can adjust the motor's control parameters in real time according to changes in water quality. This ensures that the reverse osmosis filtration components always operate at their best, effectively reducing water purification energy consumption and maintenance costs. Furthermore, the introduction of the fitting function simplifies the control logic, making the water purification equipment operate more efficiently and reliably.

[0019] In combination with the first aspect and the above implementation methods, in some possible implementation methods, before obtaining the total dissolved solids value of water in the pipeline of the water purification equipment, the method further includes:

[0020] Multiple first sample pairs and multiple second sample pairs are acquired. The first sample pair includes a first total dissolved solids value sample and a corresponding first motor control parameter sample. The second sample pair includes a second total dissolved solids value sample and a corresponding second motor control parameter sample. The first total dissolved solids value sample, the first motor control parameter sample, the second total dissolved solids value sample, and the second motor control parameter sample are all collected when the reverse osmosis filter component is in a preset state.

[0021] The function to be verified is obtained by fitting multiple first sample pairs based on a preset fitting algorithm.

[0022] The function to be verified is validated based on multiple second samples, and the verification results are obtained.

[0023] If the verification result indicates that the verification is successful, then the function to be verified is determined as the fitting function corresponding to the water purification equipment.

[0024] Using the above method, multiple sample pairs of reverse osmosis filter components under preset conditions were collected. A fitting algorithm was used to construct the mapping relationship between the total dissolved solids value and the motor control parameters, which was then recorded as a fitting function. This fitting function allows the water purification equipment to dynamically adjust the motor control parameters according to changes in water quality, ensuring that the raw water pressure output by the booster pump always meets the requirements of the reverse osmosis filter components, thereby maintaining stable filtration efficiency and water quality. Furthermore, by introducing a verification function process in determining the fitting function, the accuracy and reliability of the fitting function were further ensured.

[0025] Combining the first aspect and the above implementation methods, in some possible implementation methods, the target control parameters include the target current loop gain parameter and the target velocity loop gain parameter.

[0026] By introducing target current loop gain parameters and target speed loop gain parameters, precise control of the motor speed can be achieved through the above scheme. Specifically, the target current loop gain parameter directly adjusts the motor's current response characteristics, ensuring the speed and stability of the motor's torque output; the target speed loop gain parameter adjusts the motor's speed response characteristics, enabling the motor speed to accurately follow changes in the total dissolved solids (TDS) value. The synergistic effect of these two parameters allows the raw water pressure output by the booster pump to dynamically match the pressure requirements of the reverse osmosis filter components under different water quality conditions. This ensures stable filtration performance while avoiding energy waste or equipment damage caused by fixed control parameters, thus improving the overall energy efficiency and reliability of the water purification equipment.

[0027] Combining the first aspect and the above implementation methods, in some possible implementation methods, the motor is controlled according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value, including:

[0028] Configure the motor's current loop proportional-integral regulator based on the target current loop gain parameters, and configure the motor's speed loop proportional-integral regulator based on the target speed loop gain parameters;

[0029] The motor is controlled using a current loop proportional-integral (PI) controller and a speed loop proportional-integral (PI) controller to ensure that the motor speed is positively correlated with the total dissolved solids value.

[0030] The above scheme utilizes a current loop proportional-integral (PI) controller and a speed loop PI controller to dynamically adjust the motor's control parameters based on the total dissolved solids (TDS) value, ensuring that the raw water pressure output by the booster pump matches the filtration requirements. The rapid response of the current loop and the stable control of the speed loop jointly improve the motor's dynamic performance and steady-state accuracy, enabling the motor to quickly adapt to changes in water quality and maintain the reverse osmosis filter assembly in good filtration condition.

[0031] In combination with the first aspect and the above-described implementations, in some possible implementations, the water purification device also includes a three-phase power platform configured to supply power to the motor.

[0032] The above solution, by introducing a three-phase power platform to supply power to the motor, provides a stable and efficient power supply. Specifically, the three-phase power platform converts the input power into three-phase AC power suitable for motor operation. Its inherent balance characteristics and efficient energy conversion characteristics ensure stable motor operation under different load conditions. Simultaneously, the three-phase power platform has a high power factor and low harmonic distortion, and is easy to integrate with the control system of water purification equipment, providing reliable power assurance for dynamically adjusting the motor speed based on the total dissolved solids (TDS) value.

[0033] Combining the first aspect and the above implementation methods, in some possible implementations, the motor is controlled based on a current loop proportional-integral (PI) controller and a speed loop PI controller to make the motor speed positively correlated with the total dissolved solids value, including:

[0034] Acquire three-phase current sampling data from the three-phase power platform;

[0035] Data processing is performed based on three-phase current sampling data, current loop proportional-integral regulator, and speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

[0036] Based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system, a pulse width modulation signal is generated. The three-phase power platform is controlled to supply power to the motor through the pulse width modulation signal so that the motor speed is positively correlated with the total dissolved solids value.

[0037] The above scheme, by adjusting the pulse width modulation signal, ensures that the electrical energy supplied by the three-phase power platform to the motor matches the motor's needs, thereby achieving motor speed regulation. Since the motor speed is dynamically adjusted based on the total dissolved solids (TDS) value, the final control effect is a positive correlation between the motor speed and the TDS value. When the TDS value increases, the motor speed increases accordingly; conversely, when the TDS value decreases, the motor speed decreases accordingly. This ensures that the raw water pressure supplied by the booster pump to the reverse osmosis filter assembly meets the filter assembly's requirements, thus maintaining a stable filtration effect.

[0038] Combining the first aspect and the above implementation methods, in some possible implementation methods, data processing is performed based on three-phase current sampling data, a current loop proportional-integral regulator, and a speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in a two-phase stationary coordinate system, including:

[0039] Based on the three-phase current sampling data, the current value of the α-axis and the current value of the β-axis in the two-phase stationary coordinate system are obtained by performing Clarke transformation.

[0040] Based on the current α-axis current value and β-axis current value in the two-phase stationary coordinate system, as well as the pre-determined second α-axis reference voltage value and second β-axis reference voltage value in the two-phase stationary coordinate system, the current rotor position and current speed of the motor are determined.

[0041] Based on the current current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system, and the current rotor position of the motor, Park transformation is performed to obtain the current current values ​​of the Q-axis and D-axis in the two-phase rotating coordinate system.

[0042] The current speed value of the motor and the predetermined reference speed value of the motor are input into the speed loop proportional-integral controller for processing, so as to obtain the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional-integral controller.

[0043] The reference current value of the Q-axis, the current current value of the Q-axis, the current current value of the D-axis in the two-phase rotating coordinate system, and the predetermined reference current value of the D-axis in the two-phase rotating coordinate system are input to the current loop proportional-integral regulator for processing, so as to obtain the reference voltage value of the Q-axis and the reference voltage value of the D-axis in the two-phase rotating coordinate system output by the current loop proportional-integral regulator.

[0044] Based on the Q-axis reference voltage value and D-axis reference voltage value in the two-phase rotating coordinate system, and the current rotor position of the motor, an inverse Parker transformation is performed to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

[0045] The above scheme, employing Clark and Parker transforms, precisely converts the three-phase current to a two-phase rotating coordinate system, making current and speed control more intuitive and efficient. Simultaneously, by utilizing speed and current loop proportional-integral (PI) controllers, dynamic adjustments are made based on the difference between the motor's actual state and preset reference values, ensuring a high degree of matching between motor output and water quality changes. Furthermore, by comparing the current current value with the reference voltage value, the motor rotor position and speed are estimated in real time, further improving the accuracy and reliability of control. Finally, the reference voltage value in the two-phase stationary coordinate system is obtained through inverse Parker transform, providing a foundation for generating precise pulse width modulation signals, achieving accurate control of motor speed, thereby improving the overall performance and filtration efficiency of the water purification equipment.

[0046] In combination with the first aspect and the above-described implementations, in some possible implementations, the water purification device includes a total dissolved solids sensor disposed in the inlet pipe of the reverse osmosis filter assembly.

[0047] By installing a total dissolved solids (TSS) sensor in the inlet pipe of the reverse osmosis (RO) filter assembly, the water quality entering the RO filter assembly can be monitored in real time. Specifically, the TSS value detected by the sensor accurately reflects the concentration of impurities in the inlet water, providing precise input parameters for dynamically adjusting the motor speed of the booster pump based on the TSS value. Since the inlet water quality directly affects the working pressure requirements of the RO filter assembly, this arrangement allows the water purification equipment to adjust its operating parameters promptly based on real-time changes in the inlet water quality. This ensures filtration effectiveness while optimizing energy consumption and avoiding the risk of membrane element clogging or damage due to sudden changes in water quality.

[0048] Combining the first aspect and the above-mentioned implementation methods, in some possible implementation methods, obtaining the total dissolved solids value of water in the pipeline of the water purification equipment includes:

[0049] Obtain the total dissolved solids value of water in the inlet pipe of the reverse osmosis filter assembly, collected by the total dissolved solids sensor.

[0050] By introducing a total dissolved solids (TDS) sensor into the water purification equipment and monitoring the TDS value of the raw water in the inlet pipe of the reverse osmosis filter component in real time, the performance and reliability of the water purification equipment can be significantly improved. By directly obtaining the impurity content of the raw water, the water purification equipment can more accurately determine the raw water pressure required by the reverse osmosis filter component, thereby dynamically adjusting the working status of the booster pump to ensure filtration efficiency while avoiding damage to the equipment from excessive pressure. Furthermore, by installing multiple TDS sensors in different locations, more comprehensive water quality monitoring can be achieved, providing data support for the optimized operation of the water purification equipment.

[0051] In a second aspect, a water purification device is provided, which includes a memory, a processor, a reverse osmosis filter assembly, and a booster pump corresponding to the reverse osmosis filter assembly. The booster pump includes an impeller and a motor that drives the impeller.

[0052] The memory is configured to store executable program code;

[0053] The processor is configured to call and run executable program code from memory, causing the water purification device to perform the methods described in the first aspect or any possible implementation thereof.

[0054] Thirdly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments 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.

[0056] Figure 1 is a structural schematic diagram of a water purification device provided in an embodiment of this application;

[0057] Figure 2 is a structural schematic diagram of a water purification device provided in an embodiment of this application;

[0058] Figure 3 is a flowchart illustrating a control method for a water purification device provided in an embodiment of this application;

[0059] Figure 4 is a schematic diagram of a process for determining target control parameters based on a control parameter table according to an embodiment of this application;

[0060] Figure 5 is a flowchart illustrating a method for determining target control parameters based on a fitting function, as provided in an embodiment of this application.

[0061] Figure 6 is a schematic flowchart of a method for determining a fitting function according to an embodiment of this application;

[0062] Figure 7 is a schematic diagram of a process for configuring a proportional-integral regulator and controlling a motor according to an embodiment of this application;

[0063] Figure 8 is a schematic diagram of a motor control based on a proportional-integral regulator according to an embodiment of this application;

[0064] Figure 9 is a schematic diagram illustrating an example of motor control provided in an embodiment of this application;

[0065] Figure 10 is a structural schematic diagram of a water purification device provided in an embodiment of this application.

[0066] Explanation of icon numbers: Detailed Implementation

[0067] To make the features and advantages of this application more apparent and understandable, the technical solutions in 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, and 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.

[0068] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0069] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0070] The following will provide a detailed description of each example. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0071] Please refer to Figure 1, which is a schematic diagram of a water purification device provided in an embodiment of this application. The water purification device 100 mainly consists of an inlet 130, a booster pump 120, a reverse osmosis filter assembly 110, and an outlet 140. The inlet 130, booster pump 120, reverse osmosis filter assembly 110, and outlet 140 are connected and functionally coordinated through the pipeline of the water purification device 100. The inlet 130 serves as the entry point for raw water into the water purification device 100 and is connected to the booster pump 120 through a pipeline. The booster pump 120 is a key component that drives the flow of raw water and increases water pressure. It pressurizes the incoming raw water through mechanical action or electric drive to meet the pressure requirements for reverse osmosis filtration. The pressurized raw water is then transported to the reverse osmosis filter assembly 110 through the pipeline.

[0072] The reverse osmosis filter module 110 is the core of the water purification equipment 100. It contains a reverse osmosis membrane, a selectively permeable semi-permeable membrane that allows water molecules to pass through while retaining most solutes and impurities. Under the high pressure provided by the booster pump 120, water molecules in the raw water pass through the micropores of the reverse osmosis membrane, while harmful substances such as salts, heavy metals, bacteria, and viruses are effectively blocked, thus purifying the water. The water treated by the reverse osmosis filter module 110 is called purified water. The purified water flows out of the reverse osmosis filter module 110 through another pipeline and finally collects at the outlet 140 for user use.

[0073] Based on the water purification device 100 shown in Figure 1, a pretreatment unit 150 and a posttreatment unit 160 can be further added to the water purification device 100. Please refer to Figure 2, which is a structural schematic diagram of a water purification device provided in an embodiment of this application.

[0074] As shown in Figure 2, the pretreatment unit 150 is located in the pipeline between the inlet 130 and the booster pump 120. Its main function is to pre-purify the raw water, removing large particulate impurities and odors to reduce the burden on the subsequent reverse osmosis filter assembly 110 and extend its service life. The pretreatment unit 150 may include components such as PP cotton filter cartridges and activated carbon filter cartridges. The PP cotton filter cartridge is made of polypropylene material and has high-efficiency filtration performance, capable of intercepting large particulate impurities such as silt, rust, and suspended solids in the raw water. The activated carbon filter cartridge utilizes its strong adsorption capacity to effectively remove harmful substances such as residual chlorine, odors, and pigments from the raw water, while improving the taste and odor of the water.

[0075] The post-treatment unit 160 is located in the pipeline between the reverse osmosis filter assembly 110 and the outlet 140. Its main purpose is to further refine the purified water after reverse osmosis filtration. The post-treatment unit 160 may include a composite filter cartridge and a pressure tank. The composite filter cartridge is typically composed of a combination of various filter materials, which can further remove small particles, colloids, organic matter, etc., from the purified water, improving the purity of the water. The pressure tank is used to store the purified water and provide stable water pressure and flow during peak water usage periods, ensuring that users can obtain high-quality purified water at any time.

[0076] With the addition of pretreatment unit 150 and posttreatment unit 160, the entire water purification system 100 processes water from inlet to outlet as follows: Raw water first enters the water purification system 100 through inlet 130, and then undergoes preliminary purification in pretreatment unit 150 to remove large particulate impurities and odors. Next, the pretreated raw water enters booster pump 120 for pressurization to meet the pressure requirements of reverse osmosis filtration. The pressurized raw water then enters reverse osmosis filter assembly 110, where it undergoes fine filtration through the reverse osmosis membrane to remove harmful substances such as salt, heavy metals, bacteria, and viruses, achieving deep purification to obtain purified water. The purified water then enters posttreatment unit 160 for further fine treatment and storage. Finally, the further treated purified water flows from posttreatment unit 160 to outlet 140 and exits the water purification system 100 for user use.

[0077] Based on Figures 1 and 2 above, the operating mode of the booster pump 120 directly affects the reverse osmosis filtration effect during the operation of the water purification equipment 100. In related technologies, the booster pump 120 of the water purification equipment 100 often operates in a fixed mode, meaning that regardless of changes in the raw water quality, the output pressure and flow rate of the booster pump 120 remain relatively constant. However, the pressure requirement of the reverse osmosis filter assembly 110 for the raw water is not constant; it is affected by various factors, including the raw water quality. Therefore, the booster pump 120, operating in a fixed mode, cannot adapt to these changes in real time, thus causing the reverse osmosis filter assembly 110 to fail to maintain a stable filtration effect.

[0078] To address the aforementioned issues, the main solution provided in this application includes: First, obtaining the total dissolved solids (TDS) value of the water in the pipeline of the water purification equipment. The TDS value reflects the water quality in the pipeline. A higher TDS value requires a higher raw water pressure from the reverse osmosis filter assembly, and vice versa. Then, determining the target control parameters for the motor based on the TDS value, and controlling the motor according to these parameters to ensure a positive correlation between the motor speed and the TDS value. A faster motor speed results in a higher raw water pressure supplied to the reverse osmosis filter assembly by its impeller, and vice versa. This ensures that the raw water pressure supplied by the booster pump to the reverse osmosis filter assembly meets the assembly's requirements, thereby ensuring a stable filtration effect.

[0079] Based on the structure of the water purification equipment shown in Figures 1-2, the control method of the water purification equipment provided in the embodiments of this application will be described in detail below with reference to Figures 3-9.

[0080] Please refer to Figure 3, which is a flowchart illustrating a control method for a water purification device according to an embodiment of this application. The water purification device includes a reverse osmosis filter assembly and a corresponding booster pump. The booster pump includes an impeller and a motor that drives the impeller. As shown in Figure 3, the method of this embodiment may include the following steps S101-S103.

[0081] S101, obtain the total dissolved solids value of water in the pipeline of the water purification equipment.

[0082] Specifically, Total Dissolved Solids (TDS) refers to the total amount of solid matter dissolved in water, usually expressed in milligrams per liter (mg / L) or parts per million (ppm). Solid matter may include inorganic salts (such as sulfates, chlorides, and bicarbonates of calcium, magnesium, sodium, and potassium), organic matter (such as sugars and amino acids), and other trace elements. A higher TDS value reflects the purity of the water; a higher TDS value indicates more dissolved solid matter and relatively poorer water quality; conversely, a lower TDS value indicates relatively better water quality.

[0083] The piping of a water purification system refers to the internal piping used to transport and treat water, connecting the water inlet, booster pump, reverse osmosis filter components, outlet, and other parts of the water purification system.

[0084] Regarding obtaining the total dissolved solids (TDS) value of water in the pipelines of a water purification device, the following are several possible methods:

[0085] In one possible implementation, a total dissolved solids (TDS) sensor can be installed in the piping of the water purification equipment. This TDS sensor is capable of measuring and displaying the total dissolved solids (TDS) value in water in real time. It typically operates on the principle of conductivity measurement, measuring the effect of dissolved solids on current conduction to indirectly calculate the TDS value. Based on this, by acquiring the TDS value of the water in the water purification equipment's piping collected by the TDS sensor, the current water quality can be understood in real time, providing data support for subsequent motor control.

[0086] In one possible implementation, water in the pipeline of the water purification equipment can be sampled, and the total dissolved solids (TDS) value of the water sample can be determined using relevant equipment. After obtaining the TDS value of the water in the pipeline of the water purification equipment, the TDS value of the water in the pipeline of the water purification equipment can be input into the water purification equipment to realize the acquisition of the TDS value of the water in the pipeline of the water purification equipment.

[0087] Regarding obtaining the total dissolved solids (TDS) value of water in the pipelines of a water purification system, one can obtain the TDS value of water in the inlet pipeline of the reverse osmosis (RO) filter module. The inlet pipeline of the RO filter module refers to the pipeline between the RO filter module and the inlet. In this case, the obtained value is actually the TDS value of the raw water. Alternatively, one can obtain the TDS value of water in the outlet pipeline of the RO filter module. The outlet pipeline of the RO filter module refers to the pipeline between the RO filter module and the outlet. In this case, the obtained value is actually the TDS value of the purified water. It is understandable that, due to the limited filtration performance of the RO filter module, the TDS value of the purified water indirectly reflects the TDS value of the raw water to some extent. The TDS value of the purified water and the TDS value of the raw water are positively correlated, but this correlation is not necessarily linear.

[0088] A higher total dissolved solids (TDS) value in the raw water indicates a higher concentration of TDS. When the TDS concentration in the raw water is high, the reverse osmosis (RO) filter module requires a higher raw water pressure. It should be noted that the raw water pressure here refers to the water pressure in the pipeline between the booster pump and the RO filter module.

[0089] S102, Determine the target control parameters of the motor based on the total dissolved solids value.

[0090] Specifically, the control parameters involved in this embodiment refer to parameters that can affect the speed of the motor and thus adjust the raw water pressure output by the booster pump. Changes in the control parameters will directly affect the operating state of the motor, thereby changing the working performance and output pressure of the booster pump.

[0091] The target control parameter is a specific control parameter determined based on the total dissolved solids value obtained in step S101. It aims to match the raw water pressure provided by the booster pump with the raw water pressure requirements of the reverse osmosis filter components, thereby ensuring stable filtration performance.

[0092] There is a predetermined mapping relationship between total dissolved solids (TDS) values ​​and control parameters. This mapping relationship is derived from experimental data, empirical models, or theoretical calculations. Different TDS values ​​correspond to different control parameters. This mapping relationship may be recorded in various forms such as databases, data tables, functional expressions, and configuration files to enable quick and accurate retrieval and retrieval during actual operation.

[0093] In one possible implementation, a mapping relationship between total dissolved solids (TDS) values ​​and control parameters is recorded based on a control parameter table. The control parameter table lists multiple TDS ranges and their corresponding motor control parameter values. Once the current TDS value is obtained, a query can be constructed to search the control parameter table for the control parameter that matches that TDS value, thus identifying the found control parameter as the target control parameter for the motor.

[0094] In one possible implementation, a fitting function is used to record the mapping relationship between the total dissolved solids (TDS) value and the control parameters. The fitting function is a functional relationship derived by fitting a series of data points using mathematical methods; it describes the changing trend between the TDS value and the control parameters. Once the current TDS value is obtained, it can be substituted into the fitting function for calculation to obtain the target control parameters for the motor.

[0095] In one possible implementation, machine learning algorithms can be used to establish a mapping model between the total dissolved solids (TDS) value and control parameters. By training with a large amount of sample data, the machine learning algorithm can automatically learn the complex relationship between the TDS value and control parameters and generate a predictive model. In actual operation, the target control parameters of the motor can be quickly obtained by simply inputting the current TDS value into the predictive model.

[0096] It should be noted that, based on the pre-determined mapping relationship between the total dissolved solids value and the control parameters, step S102 can also be implemented in other ways. The above implementation methods are only examples and do not constitute a limitation on step S102.

[0097] S103, control the motor according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value.

[0098] Specifically, the positive correlation between motor speed and total dissolved solids (TDS) means that when TDS increases, the motor speed is increased by controlling the motor through target parameters; conversely, when TDS decreases, the motor speed is decreased by controlling the motor through target parameters. This positive correlation ensures that the raw water pressure output by the booster pump can meet the raw water pressure requirements of the reverse osmosis filter components.

[0099] The motor is controlled according to target control parameters to increase or decrease its speed. Since the motor is configured to drive the impeller, the centrifugal force generated by the impeller's rotation gives the raw water pressure energy, which is then output through the booster pump. Therefore, the booster pump can output higher raw water pressure when the motor speed is increased to meet the higher raw water pressure requirements of the reverse osmosis filtration components at high total dissolved solids (TDS) values, ensuring that water molecules can pass smoothly through the reverse osmosis membrane for efficient filtration. Conversely, the booster pump can output lower raw water pressure when the motor speed is decreased to meet the lower raw water pressure requirements of the reverse osmosis filtration components at low TDS values, avoiding energy waste or equipment damage caused by excessive pressure.

[0100] In one possible implementation, the water purification device also includes a three-phase power platform configured to supply power to a motor. Target control parameters may include target current loop gain parameters and target speed loop gain parameters. Controlling the motor according to the target control parameters to ensure a positive correlation between the motor speed and the total dissolved solids (TDS) value can be refined as follows: configuring a current loop proportional-integral (PI) regulator and a speed loop proportional-integral (PI) regulator for the motor based on the target current loop gain parameters and the target speed loop gain parameters, respectively. A pulse-width modulation (PWM) signal is generated based on the current loop PWM regulator and the speed loop PWM regulator. This PWM signal is used to control the three-phase power platform to supply power to the motor, thereby precisely adjusting the motor speed to maintain a positive correlation with the TDS value.

[0101] In one possible implementation, the target control parameters may include a target speed value and a target torque value. Controlling the motor according to these target control parameters to ensure a positive correlation between the motor speed and the total dissolved solids (TDS) value can be refined as follows: Based on the target speed and torque values, the actual output speed and torque of the motor are calculated using a motor control algorithm (such as a vector control algorithm). Then, by adjusting the motor's power supply frequency and voltage, the actual speed and torque are matched to the target values, thereby achieving positive correlation control between the motor speed and the TDS value.

[0102] In one possible implementation, the target control parameters may include a target power value and a target efficiency value. Controlling the motor according to these target parameters to ensure a positive correlation between the motor speed and the total dissolved solids (TDS) value can be refined as follows: Based on the target power and efficiency values, a power control algorithm and an efficiency optimization algorithm are used to calculate the optimal power and speed corresponding to the optimal efficiency output by the motor. Then, by adjusting the motor's power supply parameters (such as frequency, voltage, and current), the motor operates in a better state, satisfying the speed requirements of TDS changes while ensuring optimal power and efficiency.

[0103] It should be noted that, based on the determination of the target control parameters, step S103 can also be implemented in other ways. The above implementation methods are only examples and do not constitute a limitation on step S103.

[0104] In this embodiment, the total dissolved solids (TDS) value of the water in the pipeline of the water purification equipment is first obtained. The TDS value reflects the water quality in the pipeline of the water purification equipment. The higher the TDS value, the greater the raw water pressure required by the reverse osmosis filter component, and vice versa. Subsequently, the target control parameters of the motor are determined based on the TDS value, and the motor is controlled according to the target control parameters so that the motor speed is positively correlated with the TDS value. The faster the motor speed, the greater the raw water pressure that its driving impeller provides to the reverse osmosis filter component, and vice versa. This ensures that the raw water pressure provided by the booster pump to the reverse osmosis filter component can meet the raw water pressure requirements of the reverse osmosis filter component, thereby ensuring that the reverse osmosis filter component maintains a stable filtration effect.

[0105] In one embodiment, the water purification device includes a total dissolved solids sensor disposed in the inlet pipe of the reverse osmosis filtration assembly; further refining step S101 in the embodiment shown in FIG3, it may also include the following steps:

[0106] Obtain the total dissolved solids value of water in the inlet pipe of the reverse osmosis filter assembly, collected by the total dissolved solids sensor.

[0107] Specifically, a total dissolved solids (TDS) sensor is a sensor capable of measuring and displaying the total dissolved solids (TDS) value in water in real time. The TDS sensor collects TDS values ​​based on the principle of conductivity measurement. When water flows through the TDS sensor, a small voltage is applied to two electrodes inside the sensor. The dissolved solids in the water conduct electricity, generating a current. By measuring the magnitude of this current and combining it with the known relationship between conductivity and TDS, the TDS sensor calculates the total dissolved solids value of the water.

[0108] Referring to Figures 1 and 3, the inlet pipe of the reverse osmosis filter assembly 110 refers to the pipe between the inlet 130 and the reverse osmosis filter assembly 110. The water in the inlet pipe of the reverse osmosis filter assembly 110 is raw water, that is, water that has not undergone reverse osmosis filtration treatment. The process of obtaining the total dissolved solids value of the water in the inlet pipe of the reverse osmosis filter assembly collected by the total dissolved solids sensor is as follows: the total dissolved solids sensor monitors the water quality in the inlet pipe of the reverse osmosis filter assembly in real time, collects the total dissolved solids value, and then the water purification equipment obtains the total dissolved solids value.

[0109] Understandably, when the total dissolved solids (TDS) sensor is installed in the inlet pipe of the reverse osmosis (RO) filter assembly, it acquires the TDS value of the raw water. The advantage of obtaining the TDS value of the raw water is that it directly reflects the impurity content of the raw water, thus better reflecting the pressure requirements of the RO filter assembly. Because the RO filtration process needs to overcome the osmotic pressure caused by dissolved solids in the raw water, a higher TDS value generally requires a higher filtration pressure. Therefore, by monitoring the TDS value of the raw water, the operating pressure of the RO filter assembly can be adjusted appropriately, ensuring filtration efficiency while protecting the water purification equipment from damage caused by excessive pressure.

[0110] It should be noted that, in other possible implementations, the total dissolved solids (TDS) sensor is not limited to being installed in the inlet pipe of the reverse osmosis filter assembly. It can also be installed in other locations on the water purification equipment, such as the outlet pipe of the reverse osmosis filter assembly, to monitor water quality at different locations. Furthermore, the number of TDS sensors is not limited to one. Depending on actual needs, TDS sensors can be installed in multiple key locations on the water purification equipment to achieve more comprehensive water quality monitoring.

[0111] In this embodiment, introducing a total dissolved solids (TDS) sensor into the water purification equipment and monitoring the TDS value of the raw water in the inlet pipe of the reverse osmosis filter component in real time can significantly improve the performance and reliability of the water purification equipment. By directly obtaining the impurity content of the raw water, the water purification equipment can more accurately determine the raw water pressure required by the reverse osmosis filter component, thereby dynamically adjusting the working state of the booster pump to ensure filtration efficiency while avoiding damage to the equipment due to excessive pressure. Furthermore, by installing multiple TDS sensors in different locations, more comprehensive water quality monitoring can be achieved, providing data support for the optimized operation of the water purification equipment.

[0112] Please refer to Figure 4, which is a flowchart illustrating a method for determining target control parameters based on a control parameter table according to an embodiment of this application. As shown in Figure 4, the method of this embodiment may include the following steps S201-S203, which can be considered a refinement of step S102 in the embodiment shown in Figure 3.

[0113] S201, Obtain the control parameter table corresponding to the water purification equipment;

[0114] S202, Construct a query statement based on the total dissolved solids value;

[0115] S203: Query the control parameter table according to the query statement to obtain the target control parameters of the motor.

[0116] Specifically, the control parameter table involved in this embodiment records the mapping relationship between the total dissolved solids value and the control parameters. The control parameter table lists multiple ranges of total dissolved solids values ​​and their corresponding motor control parameter values. In other words, each range of total dissolved solids values ​​in the control parameter table corresponds to a specific set of control parameters.

[0117] First, the water purification equipment obtains the current total dissolved solids (TDS) value. Then, based on this TDS value, it constructs a query statement that explicitly specifies the range or specific value of TDS to be searched. Next, the equipment accesses a control parameter table stored in its internal or external database, executes the query, and retrieves the control parameters that match the current TDS value. Finally, the retrieved control parameters are determined as the target control parameters for the motor and applied to the actual motor control through control algorithms or logic, thereby achieving precise adjustment of the motor speed to adapt to different water quality conditions.

[0118] To facilitate understanding of the solution in this embodiment, an example will be provided below in conjunction with Table 1:

[0119] Table 1 Control Parameter Table

[0120] Assuming the current total dissolved solids (TDS) value is 150 ppm, the first step is to construct a query to find matching control parameters in the control parameter table. Next, the query is executed to locate the corresponding TDS range of 101-300 ppm in the control parameter table, and the corresponding control parameters are obtained as the target control parameters, including: target current loop proportional gain parameter: 0.6; target current loop integral gain parameter: 0.12; target velocity loop proportional gain parameter: 1.2; target velocity loop integral gain parameter: 0.25.

[0121] Similarly, assuming the current total dissolved solids (TDS) value is 400 ppm, a query statement needs to be constructed first to find matching control parameters in the control parameter table. Next, the query statement is executed to find the corresponding TDS range of 301-500 ppm in the control parameter table, and the control parameters corresponding to this range are obtained as target control parameters, including: target current loop proportional gain parameter: 0.7; target current loop integral gain parameter: 0.15; target velocity loop proportional gain parameter: 1.5; target velocity loop integral gain parameter: 0.3.

[0122] In this embodiment, a control parameter table records the mapping relationship between the total dissolved solids value and control parameters. This allows the water purification equipment to adjust the motor's control parameters in real time according to changes in water quality, ensuring the reverse osmosis filter components always operate at their best, effectively reducing water purification energy consumption and maintenance costs. Furthermore, the introduction of the control parameter table simplifies the control logic, making the water purification equipment operate more efficiently and reliably.

[0123] Please refer to Figure 5, which is a flowchart illustrating a method for determining target control parameters based on a fitting function according to an embodiment of this application. As shown in Figure 5, the method of this embodiment may include the following steps S301-S302, which can be considered a refinement of step S102 in the embodiment shown in Figure 3.

[0124] S301, Obtain the fitting function corresponding to the water purification equipment;

[0125] S302, the target control parameters of the motor are obtained by calculating based on the total dissolved solids value and the fitting function.

[0126] Specifically, the fitting function involved in this embodiment records the mapping relationship between the total dissolved solids value and the control parameter. The fitting function is a functional relationship formed by fitting a series of data points using mathematical methods; it can describe the changing trend between the total dissolved solids value and the control parameter. This function may be linear or non-linear.

[0127] First, the water purification equipment obtains the current total dissolved solids (TDS) value. This TDS value is measured in real time by a TDS sensor installed in the equipment's piping, or it is input after sampling and measurement through other methods. Then, this TDS value is substituted into a pre-determined fitting function, and the corresponding target control parameters are output through mathematical calculation.

[0128] For example, suppose the fitting function is y = f(x), where x represents the total dissolved solids value and y represents the target control parameter of the motor (which can be a combination of one or more control parameters). Once the current total dissolved solids value x_current is obtained, it is substituted into the fitting function f(x), i.e., y_target = f(x_current). Through calculation, the target control parameter y_target of the motor can be obtained.

[0129] It should be noted that, unlike the control parameter table, the target control parameters of the motor calculated based on the total dissolved solids value and the fitting function may have extreme values. Therefore, a threshold judgment process is required for the target control parameters. For example, if the target control parameters of the motor exceed the preset threshold, they may not be applicable to motor control and need to be recalculated or an anomaly information needs to be pushed.

[0130] In this embodiment, a fitting function is used to record the mapping relationship between the total dissolved solids value and the control parameters. This allows the water purification equipment to adjust the motor's control parameters in real time according to changes in water quality, ensuring that the reverse osmosis filter components always operate at their best, effectively reducing water purification energy consumption and maintenance costs. Furthermore, the introduction of the fitting function simplifies the control logic, making the water purification equipment more efficient and reliable in operation.

[0131] Please refer to Figure 6, which is a flowchart illustrating the determination of a fitting function according to an embodiment of this application. As shown in Figure 6, the method of this embodiment may include the following steps S401-S404, which may be performed before step S101 in the embodiment shown in Figure 3.

[0132] S401, acquire multiple first sample pairs and multiple second sample pairs, wherein the first sample pair includes a first total dissolved solids value sample and a corresponding first motor control parameter sample, and the second sample pair includes a second total dissolved solids value sample and a corresponding second motor control parameter sample. The first total dissolved solids value sample, the first motor control parameter sample, the second total dissolved solids value sample, and the second motor control parameter sample are all collected when the reverse osmosis filter component is in a preset state.

[0133] S402, Based on the preset fitting algorithm, multiple first sample pairs are fitted to obtain the function to be verified;

[0134] S403, the function to be verified is verified based on multiple second samples, and the verification result is obtained;

[0135] S404, if the verification result indicates that the verification is successful, then the function to be verified is determined as the fitting function corresponding to the water purification equipment.

[0136] Specifically, the first sample pair involved in this embodiment refers to the sample pair used in the fitting process. Any first sample pair includes a corresponding first total dissolved solids value sample and a corresponding first motor control parameter sample. The second sample pair refers to the sample pair used in the function verification process. Any second sample pair includes a corresponding second total dissolved solids value sample and a corresponding second motor control parameter sample.

[0137] The preset state of a reverse osmosis filter module refers to the state in which it maintains a stable filtration effect. The preset state can be determined based on one or more indicators. For example, when the membrane flux of the reverse osmosis filter module is within a preset membrane flux range, it indicates that the filtration effect of the reverse osmosis filter module is relatively good and stable, so the reverse osmosis filter module can be determined to be in the preset state at this time.

[0138] The first total dissolved solids (TDS) value sample, the first motor control parameter sample, the second TDS value sample, and the second motor control parameter sample were all collected when the reverse osmosis filter assembly was in a preset state. In other words, when the TDS value of the water in the water purification equipment's pipeline is equal to the first TDS value sample, controlling the motor using the control parameters corresponding to the first motor control parameter sample allows the motor speed to reach an appropriate level. The booster pump can then provide suitable raw water pressure to keep the reverse osmosis filter assembly in its preset state and maintain a stable filtration effect. Similarly, when the TDS value of the water in the water purification equipment's pipeline is equal to the second TDS value sample, controlling the motor using the control parameters corresponding to the second motor control parameter sample allows the motor speed to reach an appropriate level. The booster pump can then provide suitable raw water pressure to keep the reverse osmosis filter assembly in its preset state and maintain a stable filtration effect.

[0139] After obtaining multiple first sample pairs and multiple second sample pairs, the first sample pairs are fitted using a preset fitting algorithm to obtain the function to be verified. The specific process is as follows: First, a suitable fitting algorithm is selected, such as linear regression, multinomial regression, or exponential regression. Then, the first total dissolved solids value sample from the first sample pair is used as the input variable, and the first motor control parameter sample is used as the output variable. Mathematical processing is performed using the fitting algorithm to obtain a function to be verified that can describe the relationship between the two.

[0140] Next, the function to be verified is validated based on multiple second samples. The specific process for obtaining the verification result is as follows: The second total dissolved solids value sample from the second sample pair is substituted into the function to be verified to calculate the predicted motor control parameters. The predicted motor control parameters are then compared with the second motor control parameter samples from the second sample pair. If the difference between the predicted motor control parameters and the second motor control parameter samples is within an acceptable range (e.g., the error rate is less than a preset threshold), the function to be verified is considered valid, and the verification result indicates that the verification has passed. If the difference between the predicted motor control parameters and the second motor control parameter samples is not within an acceptable range, the function to be verified is considered invalid, and the verification result indicates that the verification has failed.

[0141] Finally, if the verification result indicates that the verification failed, it means that the function to be verified may not accurately describe the relationship between the total dissolved solids value and the motor control parameters. In this case, it is necessary to reselect the fitting algorithm or adjust the sample pairs, and then repeat the above fitting and verification process. If the verification result indicates that the verification passed, the function to be verified is determined as the fitting function corresponding to the water purification equipment, which will be used to determine the target control parameters of the motor in real time based on the total dissolved solids value.

[0142] In this embodiment, multiple sample pairs of the reverse osmosis filter assembly under preset conditions are collected. A fitting algorithm is used to construct the mapping relationship between the total dissolved solids value and the motor control parameters, and this relationship is recorded as a fitting function. This fitting function allows the water purification equipment to dynamically adjust the motor control parameters according to changes in water quality, ensuring that the raw water pressure output by the booster pump always meets the requirements of the reverse osmosis filter assembly, thereby maintaining stable filtration efficiency and water quality. Furthermore, by introducing a verification function process in determining the fitting function, the accuracy and reliability of the fitting function are further ensured.

[0143] Please refer to Figure 7, which is a schematic flowchart of configuring a proportional-integral regulator and performing motor control according to an embodiment of this application. The target control parameters include the target current loop gain parameter and the target speed loop gain parameter. As shown in Figure 7, the method of this embodiment may include the following steps S501-S502, which can be considered as a refinement of step S103 in the embodiment shown in Figure 3.

[0144] S501, configure the motor's current loop proportional-integral regulator according to the target current loop gain parameters, and configure the motor's speed loop proportional-integral regulator according to the target speed loop gain parameters;

[0145] S502 controls the motor based on a current loop proportional-integral regulator and a speed loop proportional-integral regulator so that the motor speed is positively correlated with the total dissolved solids value.

[0146] Specifically, the motor involved in this embodiment adopts three-loop control technology. Three-loop control technology refers to setting up three control loops in the motor control system: current loop, speed loop, and position loop (or outer loop, middle loop, and inner loop). This embodiment mainly focuses on the current loop and speed loop. Among them, the current loop is the innermost loop, which is used to directly control the motor current; the speed loop is the middle loop, which is used to control the motor speed; and the position loop is the outermost loop, which is used to control the position or angle of the motor.

[0147] The proportional-integral (PI) controller in the current loop is configured to adjust the motor current based on the set target current loop gain parameter, ensuring that the motor current can quickly and accurately follow changes in the set value. The current loop is the foundation of motor control and directly affects the motor's output torque and dynamic response performance.

[0148] The speed loop proportional-integral controller is configured to adjust the motor speed according to the set target speed loop gain parameters, so that the actual motor speed can follow the set target speed. The speed loop is a crucial part of motor control, directly affecting the motor's operational stability and accuracy.

[0149] Configure the motor's current loop proportional-integral (PI) regulator based on the target current loop gain parameters, and configure the motor's speed loop PI regulator based on the target speed loop gain parameters. This can actually be achieved by adjusting the proportional (P) and integral (I) parameters within the regulators. The proportional parameter determines the regulator's response speed to deviations, while the integral parameter determines the regulator's cumulative effect on deviations. By properly setting these two parameters, the motor's current and speed can more stably and accurately follow changes in the setpoint.

[0150] Therefore, the motor can be controlled based on a current loop proportional-integral (PI) controller and a speed loop PI controller. By monitoring the motor's current and speed in real time and comparing them with set target values, the motor control signal is adjusted through the controllers based on the comparison results. This achieves precise control of the motor speed, making it positively correlated with the total dissolved solids (TDS) value. In this way, when the TDS value changes, the motor speed will adjust accordingly to meet the raw water pressure requirements of the reverse osmosis filtration components, ensuring stable and efficient filtration of the water purification equipment.

[0151] In this embodiment, a current loop proportional-integral (PI) controller and a speed loop PI controller are used to dynamically adjust the motor's control parameters based on the total dissolved solids (TDS) value, ensuring that the raw water pressure output by the booster pump matches the filtration requirements. The rapid response of the current loop and the stable control of the speed loop together improve the motor's dynamic performance and steady-state accuracy, enabling the motor to quickly adapt to changes in water quality and maintain the reverse osmosis filtration assembly in good filtration condition.

[0152] Please refer to Figure 8, which is a schematic flowchart of a motor control based on a proportional-integral regulator according to an embodiment of this application. The water purification equipment also includes a three-phase power platform configured to supply power to the motor. As shown in Figure 8, the method of this embodiment may include the following steps S601-S603, which can be considered a refinement of step S502 in the embodiment shown in Figure 7.

[0153] S601, acquire three-phase current sampling data of the three-phase power platform;

[0154] S602 processes data based on three-phase current sampling data, current loop proportional-integral regulator, and speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

[0155] S603 generates a pulse width modulation signal based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system. The pulse width modulation signal controls the three-phase power platform to supply power to the motor so that the motor speed is positively correlated with the total dissolved solids value.

[0156] Specifically, the three-phase power platform involved in this embodiment refers to a device capable of receiving pulse width modulation signals and outputting three-phase alternating current to drive a motor. In one possible implementation, the three-phase power platform consists of a rectifier, an inverter, a filter, etc., and is capable of converting the input DC power into three-phase alternating current with controllable frequency and voltage to supply the motor.

[0157] To control the motor speed, it is first necessary to acquire the three-phase current sampling data output by the three-phase power platform. The three-phase current sampling data reflects the current actual current state of the motor and is the basis for subsequent data processing and control adjustment.

[0158] After acquiring the three-phase current sampling data, the next step is to process the data based on the three-phase current sampling data, the current loop proportional-integral regulator, and the speed loop proportional-integral regulator. By adjusting the current error through the current loop and adjusting the speed error through the speed loop, the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system (or αβ coordinate system) are obtained.

[0159] Specifically, the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system reflect the desired voltage state of the motor in the two-phase stationary coordinate system, and are key parameters for controlling the motor speed and current. Based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system, a corresponding pulse width modulation signal can be generated by adjusting the duty cycle.

[0160] Furthermore, the voltage and frequency of the three-phase AC power output from the three-phase power platform can be controlled by pulse width modulation signals, thereby achieving precise control of the motor speed and current.

[0161] In this embodiment, by adjusting the pulse width modulation signal, the electrical energy supplied by the three-phase power platform to the motor is matched with the motor's demand, thereby achieving motor speed regulation. Since the motor speed is dynamically adjusted based on the total dissolved solids (TDS) value, the final control effect is that the motor speed is positively correlated with the TDS value. When the TDS value increases, the motor speed increases accordingly; conversely, when the TDS value decreases, the motor speed decreases accordingly. This ensures that the raw water pressure supplied by the booster pump to the reverse osmosis filter assembly can meet the pressure requirements of the reverse osmosis filter assembly, thus maintaining a stable filtration effect.

[0162] In one embodiment, step S602 in the embodiment shown in FIG8 can be further refined to include the following steps:

[0163] Based on the three-phase current sampling data, the current value of the α-axis and the current value of the β-axis in the two-phase stationary coordinate system are obtained by performing Clarke transformation.

[0164] Based on the current α-axis current value and β-axis current value in the two-phase stationary coordinate system, as well as the pre-determined second α-axis reference voltage value and second β-axis reference voltage value in the two-phase stationary coordinate system, the current rotor position and current speed of the motor are determined.

[0165] Based on the current current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system, and the current rotor position of the motor, Park transformation is performed to obtain the current current values ​​of the Q-axis and D-axis in the two-phase rotating coordinate system.

[0166] The current speed value of the motor and the predetermined reference speed value of the motor are input into the speed loop proportional-integral controller for processing, so as to obtain the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional-integral controller.

[0167] The reference current value of the Q-axis, the current current value of the Q-axis, the current current value of the D-axis in the two-phase rotating coordinate system, and the predetermined reference current value of the D-axis in the two-phase rotating coordinate system are input to the current loop proportional-integral regulator for processing, so as to obtain the reference voltage value of the Q-axis and the reference voltage value of the D-axis in the two-phase rotating coordinate system output by the current loop proportional-integral regulator.

[0168] Based on the Q-axis reference voltage value and D-axis reference voltage value in the two-phase rotating coordinate system, and the current rotor position of the motor, an inverse Parker transformation is performed to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

[0169] Specifically, the first step is to perform a Clarke transform based on the three-phase current sampling data. The Clarke transform is a mathematical method that transforms three-phase current from a three-phase stationary coordinate system (abc coordinate system) to a two-phase stationary coordinate system. Through the Clarke transform, the current current values ​​on the α-axis and β-axis in the two-phase stationary coordinate system can be obtained. These two values ​​reflect the actual current state of the motor in the two-phase stationary coordinate system.

[0170] The predetermined reference voltage values ​​for the second α-axis and second β-axis in the two-phase stationary coordinate system are actually reference voltage values ​​obtained in the previous motor control cycle, representing the current level that the motor should reach under ideal conditions. The current current values ​​for the α-axis and β-axis in the two-phase stationary coordinate system reflect the actual current state of the motor in that system. Next, by comparing the differences between the actual current values ​​(α-axis and β-axis) and the reference voltage values ​​(α-axis and β-axis) in the two-phase stationary coordinate system, the current rotor position of the motor can be estimated using the motor's dynamic model or empirical formulas. Furthermore, by combining the motor's electrical and mechanical characteristics, the current speed of the motor can be further estimated.

[0171] Furthermore, since the two-phase rotating coordinate system (DQ coordinate system) is defined relative to the rotor, where the D-axis (direct axis) is aligned with the rotor flux direction of the motor, and the Q-axis (quadrature axis) is perpendicular to the D-axis, it is necessary to convert the current α-axis and β-axis current values ​​in the two-phase stationary coordinate system into the current Q-axis and D-axis current values ​​in the two-phase rotating coordinate system based on the current rotor position of the motor.

[0172] In motor control, the speed loop and current loop are key components for achieving precise control. The speed loop is responsible for regulating the motor speed, while the current loop is responsible for regulating the motor current to ensure that the motor can output torque and magnetic flux as expected.

[0173] First, the current speed of the motor and the predetermined reference speed of the motor are input into the speed loop proportional-integral controller. The speed loop proportional-integral controller will calculate the Q-axis reference current value in the two-phase rotating coordinate system based on the difference between the current speed of the motor and the reference speed of the motor, and then output the Q-axis reference current value in the two-phase rotating coordinate system.

[0174] Subsequently, the Q-axis reference current value, the current Q-axis current value, the current D-axis current value in the two-phase rotating coordinate system, and the pre-determined D-axis reference current value in the two-phase rotating coordinate system are input to the current loop proportional-integral (PI) controller for processing. The current loop PI controller uses a proportional-integral (PI) control algorithm to calculate the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system based on these input values, and then outputs the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system.

[0175] Finally, based on the current rotor position of the motor, the Q-axis and D-axis reference voltage values ​​in the two-phase rotating coordinate system are converted into the first α-axis and first β-axis reference voltage values ​​in the two-phase stationary coordinate system through an inverse Park transformation. It can be understood that the first α-axis and first β-axis reference voltage values ​​in the two-phase stationary coordinate system represent the reference voltage values ​​obtained in the current motor control cycle.

[0176] In this embodiment, the three-phase current is precisely converted to a two-phase rotating coordinate system using Clarke and Parker transforms, making current and speed control more intuitive and efficient. Simultaneously, by utilizing speed loop proportional-integral (PI) and current loop PI controllers, dynamic adjustments are made based on the difference between the motor's actual state and preset reference values, ensuring a high degree of matching between motor output and water quality changes. Furthermore, by comparing the current current value with the reference voltage value, the motor rotor position and speed are estimated in real time, further improving the accuracy and reliability of the control. Finally, the reference voltage value in the two-phase stationary coordinate system is obtained through inverse Parker transform, providing a basis for generating precise pulse width modulation signals, achieving precise control of the motor speed, thereby improving the overall performance and filtration efficiency of the water purification equipment.

[0177] To facilitate understanding of the solutions in Figures 7 and 8 and related detailed embodiments, please refer to Figure 9, which is a schematic diagram illustrating an example of motor control provided in an embodiment of this application. The components involved include a motor 121, an impeller 122, a three-phase power platform 800, and a control module 900. The control module 900 includes an operational amplifier unit 901, a sampling unit 902, a reconstruction unit 903, a Clarke transform unit 904, an angle observation unit 905, a phase-locked loop unit 906, a Parker transform unit 907, a microcontroller unit 908, a speed loop proportional-integral (PI) regulator 909, a current loop PI regulator 910, an inverse Parker transform unit 911, a bus ripple suppression unit 912, and a signal generation unit 913. The current loop PI regulator 910 includes a current loop Q-axis PI regulator 9101 and a current loop D-axis PI regulator 9102.

[0178] First, the three-phase current of the three-phase power platform 800 is input to the operational amplifier unit 901. The operational amplifier unit 901 amplifies and filters the three-phase current, and then outputs the processed three-phase current to the sampling unit 902.

[0179] The sampling unit 902 can be an analog-to-digital converter (ADC). The sampling unit 902 samples the three-phase current to obtain two-phase current sampling data and bus voltage data. The two-phase current sampling data is output to the reconstruction unit 903, and the bus voltage data is output to the bus ripple suppression unit 912.

[0180] The reconstruction unit 903 reconstructs the two-phase current sampling data to obtain three-phase current sampling data, and further outputs the three-phase current sampling data to the Clarke transform unit 904.

[0181] The Clarke transform unit 904 performs a Clarke transform based on the three-phase current sampling data to obtain the current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system. Then, the current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system are output to the Parker transform unit 907 and the angle observation unit 905.

[0182] The angle observation unit 905 uses the current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system, as well as the predetermined reference voltage value of the second α-axis and the reference voltage value of the second β-axis in the two-phase stationary coordinate system, to determine the current rotor position of the motor 121, and outputs the current rotor position of the motor 121 to the phase-locked loop unit 906.

[0183] The phase-locked loop unit 906 further determines the current speed value of the motor 121 based on the current rotor position of the motor 121, outputs the current rotor position of the motor 121 to the Parker converter unit 907 and the inverse Parker converter unit 911 respectively, and outputs the current speed value of the motor 121 to the speed loop proportional-integral regulator 909.

[0184] The Parker transformation unit 907 performs a Parker transformation based on the current current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system and the current rotor position of the motor 121 to obtain the current current values ​​of the Q-axis and D-axis in the two-phase rotating coordinate system. The current current values ​​of the Q-axis and D-axis in the two-phase rotating coordinate system are then output to the current loop proportional-integral regulator 910.

[0185] The microprocessor unit outputs the predetermined reference speed value of the motor 121 to the speed loop proportional-integral regulator 909, and outputs the predetermined D-axis reference current value in the two-phase rotating coordinate system to the current loop proportional-integral regulator 910.

[0186] The speed loop proportional-integral regulator 909 processes the current speed value and the reference speed value of the motor 121 to obtain the Q-axis reference current value in the two-phase rotating coordinate system, and outputs the Q-axis reference current value in the two-phase rotating coordinate system to the current loop proportional-integral regulator 910.

[0187] The current loop proportional-integral (PI) controller 9101 in the current loop Q-axis PI controller 9101 processes the Q-axis reference current value and the current Q-axis current value in the two-phase rotating coordinate system to obtain the Q-axis reference voltage value in the two-phase rotating coordinate system. The current loop D-axis PI controller 9102 in the current loop PI controller 910 processes the D-axis reference current value and the current D-axis current value in the two-phase rotating coordinate system to obtain the D-axis reference voltage value in the two-phase rotating coordinate system. The current loop PI controller 910 outputs the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system to the inverse Parker transform unit 911.

[0188] The inverse Parker transformation unit 911 performs an inverse Parker transformation based on the Q-axis reference voltage value and D-axis reference voltage value in the two-phase rotating coordinate system, as well as the current rotor position of the motor 121, to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system. The first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system are then output to the bus ripple suppression unit 912.

[0189] The bus ripple suppression unit 912 processes and compensates the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system based on the bus voltage data to improve the numerical accuracy, obtaining the compensated first α-axis reference voltage value and first β-axis reference voltage value in the two-phase stationary coordinate system. The bus ripple suppression unit 912 outputs the compensated first α-axis reference voltage value and first β-axis reference voltage value in the two-phase stationary coordinate system to the signal generation unit 913.

[0190] The signal generation unit 913 generates a pulse width modulation signal based on the first α-axis reference voltage value and the first β-axis reference voltage value in the compensated two-phase stationary coordinate system, and outputs the pulse width modulation signal to the three-phase power platform 800.

[0191] The three-phase power platform 800 supplies power to the motor 121 according to the pulse width modulation signal to adjust the speed of the motor 121 so that the speed of the motor 121 is positively correlated with the total dissolved solids value.

[0192] Powered by a three-phase power platform 800, motor 121 rotates at a speed adapted to the total dissolved solids (TDS) value, driving impeller 122 to rotate. This satisfies the raw water pressure requirements of the reverse osmosis filtration assembly, ensuring stable and efficient filtration of the water purification equipment.

[0193] It should be noted that the control module 900 shown in Figure 9 is part of the water purification device 100 shown in Figure 1 or Figure 2, or specifically part of the booster pump 120, or independent of the booster pump 120; similarly, the three-phase power platform 800 shown in Figure 9 is part of the water purification device 100 shown in Figure 1 or Figure 2, or specifically part of the booster pump 120, or independent of the booster pump 120.

[0194] Based on the solutions described above, the performance improvements to the water purification equipment also include the following aspects:

[0195] Improved Energy Efficiency: Based on the solutions described in Figures 7, 8, and 9, and the related detailed embodiments, the water purification equipment ensures a precise match between the raw water pressure output by the booster pump and the requirements of the reverse osmosis filter components by real-time monitoring of the total dissolved solids value and dynamic adjustment of the motor control parameters. This precise control avoids unnecessary energy waste, such as excessively high water pressure or flow rate, thereby significantly improving the energy efficiency of the water purification equipment.

[0196] Noise Reduction: By precisely controlling the motor speed, the water purification equipment can reduce vibration and mechanical shock during motor operation, thereby reducing the noise generated during operation. Furthermore, the fast response and stable control characteristics of the proportional-integral controller help maintain smooth motor operation, further reducing noise levels.

[0197] Extending the lifespan of reverse osmosis (RO) filter components: Dynamically adjusting motor control parameters to adapt to varying water quality conditions ensures the RO filter components always operate at their optimal performance. This helps reduce damage to the RO filter components caused by water quality fluctuations or excessive pressure, thereby extending their lifespan. Furthermore, precise control of the raw water pressure can reduce filtration efficiency degradation and membrane fouling caused by insufficient or excessive pressure, further enhancing the performance and lifespan of the RO filter components.

[0198] Based on the structure of the water purification equipment shown in Figures 1-2, the water purification equipment provided in the embodiments of this application will be described in detail below with reference to Figure 10. It should be noted that the water purification equipment 100 in Figure 10 is configured to execute the method shown in the embodiments of Figures 3-9 of this application. For ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the embodiments shown in Figures 3-9 of this application. Specifically, the water purification equipment 100 may include a memory 170, a processor 180, a reverse osmosis filter assembly 110, and a booster pump 120 corresponding to the reverse osmosis filter assembly 110. The booster pump 120 includes an impeller and a motor driving the impeller.

[0199] The processor 180 is electrically connected to the memory 170.

[0200] The processor 180 is the control center of the water purification device 100 and may include one or more processing cores. The processor 180 connects to various parts of the water purification device 100 using various interfaces and lines. By running or calling computer programs stored in the memory 170, and by calling data stored in the memory 170, it executes various functions and processes data of the water purification device 100, thereby providing overall control of the water purification device 100. Optionally, the processor 180 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 180 may integrate one or more of the following: CPU, Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user page, and applications; the GPU is configured to handle the rendering and drawing of displayed content; and the modem is configured to handle wireless communication. It is understood that the modem may also not be integrated into the processor 180 and may be implemented separately using a communication chip.

[0201] The memory 170 can be configured to store software programs and modules. The processor 180 executes various functional applications and data processing by running the computer programs and modules stored in the memory 170. The memory 170 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function, etc.; the data storage area may store data created based on the use of the water purification device 100, etc.

[0202] Furthermore, memory 170 may include high-speed random access memory 170, and may also include non-volatile memory 170, such as at least one disk storage device 170, flash memory device, or other volatile solid-state memory 170. Accordingly, memory 170 may also include memory 170 controller to provide processor 180 with access to memory 170.

[0203] In this embodiment, the processor 180 in the water purification device 100 loads the instructions corresponding to the processes of one or more computer programs into the memory 170 according to the following steps, and the processor 180 runs the computer programs stored in the memory 170 to realize various functions, as follows:

[0204] Obtain the total dissolved solids value of the water in the pipeline of water purification equipment 100;

[0205] The target control parameters for the motor are determined based on the total dissolved solids value.

[0206] The motor is controlled according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value.

[0207] Optionally, when the processor 180 determines the target control parameters of the motor based on the total dissolved solids value, it specifically performs the following steps: obtaining the control parameter table corresponding to the water purification device 100; constructing a query statement based on the total dissolved solids value; and querying the control parameter table based on the query statement to obtain the target control parameters of the motor.

[0208] Optionally, when the processor 180 determines the target control parameters of the motor based on the total dissolved solids value, it specifically performs the following: obtaining the fitting function corresponding to the water purification device 100; and calculating the target control parameters of the motor based on the total dissolved solids value and the fitting function.

[0209] Optionally, before acquiring the total dissolved solids (TDS) value of water in the pipeline of the water purification device 100, the processor 180 specifically performs the following steps: acquiring multiple first sample pairs and multiple second sample pairs, wherein the first sample pair includes a first TDS value sample and a corresponding first motor control parameter sample, and the second sample pair includes a second TDS value sample and a corresponding second motor control parameter sample, wherein the first TDS value sample, the first motor control parameter sample, the second TDS value sample, and the second motor control parameter sample are all collected when the reverse osmosis filter component 110 is in a preset state; performing fitting processing on the multiple first sample pairs based on a preset fitting algorithm to obtain a function to be verified; verifying the function to be verified based on the multiple second samples to obtain a verification result; if the verification result indicates that the verification is successful, then the function to be verified is determined as the fitting function corresponding to the water purification device 100.

[0210] Optionally, the target control parameters include target current loop gain parameters and target speed loop gain parameters. When the processor 180 executes the control of the motor according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value, it specifically performs the following: configuring the motor's current loop proportional-integral regulator according to the target current loop gain parameters, configuring the motor's speed loop proportional-integral regulator according to the target speed loop gain parameters; and controlling the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the motor speed is positively correlated with the total dissolved solids value.

[0211] Optionally, the water purification device 100 also includes a three-phase power platform configured to supply power to the motor; when the processor 180 executes the control of the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator to make the motor speed positively correlated with the total dissolved solids value, it specifically performs the following: acquiring three-phase current sampling data of the three-phase power platform; performing data processing based on the three-phase current sampling data, the current loop proportional-integral regulator, and the speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system; generating a pulse width modulation signal based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system, and controlling the three-phase power platform to supply power to the motor through the pulse width modulation signal to make the motor speed positively correlated with the total dissolved solids value.

[0212] Optionally, when the processor 180 performs data processing based on three-phase current sampling data, a current loop proportional-integral regulator, and a speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in a two-phase stationary coordinate system, it specifically performs the following: performing a Clarke transform based on the three-phase current sampling data to obtain the current α-axis current value and the current β-axis current value in the two-phase stationary coordinate system; determining the current rotor position and current speed of the motor based on the current α-axis current value and the current β-axis current value in the two-phase stationary coordinate system, as well as the pre-determined second α-axis reference voltage value and the second β-axis reference voltage value in the two-phase stationary coordinate system; and performing a Parker transform based on the current α-axis current value and the current β-axis current value in the two-phase stationary coordinate system, and the current rotor position of the motor, to obtain the current Q-axis current value in a two-phase rotating coordinate system. The current speed of the motor and the current reference speed of the motor are input into the speed loop proportional-integral controller for processing to obtain the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional-integral controller. The Q-axis reference current value, the current current value of the Q-axis, the current current value of the D-axis, and the current reference current value of the D-axis in the two-phase rotating coordinate system are input into the current loop proportional-integral controller for processing to obtain the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system output by the current loop proportional-integral controller. Based on the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system, and the current rotor position of the motor, an inverse Parker transformation is performed to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

[0213] Optionally, the water purification device 100 includes a total dissolved solids sensor installed in the inlet pipe of the reverse osmosis filter assembly 110; when the processor 180 executes the process of obtaining the total dissolved solids value of water in the pipe of the water purification device 100, it specifically performs the following: obtaining the total dissolved solids value of water in the inlet pipe of the reverse osmosis filter assembly 110 collected by the total dissolved solids sensor.

[0214] Optionally, the water purification device 100 also includes a three-phase power platform configured to supply power to a motor and / or a total dissolved solids sensor located in the inlet line of the reverse osmosis filter assembly 110.

[0215] The effects achievable in this embodiment can be found in the relevant embodiments of the control method for the water purification equipment described above, and will not be repeated here.

[0216] This application also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the control method for a water purification device provided in the above embodiments.

[0217] In this embodiment, both the water purification device and the computer-readable storage medium are configured to execute the corresponding methods provided above. Therefore, the effects they can achieve can be referred to the effects in the corresponding methods provided above, and will not be repeated here.

[0218] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for a water purification device, wherein, The water purification equipment includes a reverse osmosis filtration assembly and a corresponding booster pump for the reverse osmosis filtration assembly. The booster pump includes an impeller and a motor that drives the impeller. The method includes: Obtain the total dissolved solids value of the water in the pipeline of the water purification equipment; The target control parameters of the motor are determined based on the total dissolved solids value. The motor is controlled according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value.

2. The method according to claim 1, wherein, Determining the target control parameters of the motor based on the total dissolved solids value includes: Obtain the control parameter table corresponding to the water purification equipment; Construct a query statement based on the total dissolved solids value; The target control parameters of the motor are obtained by querying the control parameter table according to the query statement.

3. The method according to claim 1, wherein, Determining the target control parameters of the motor based on the total dissolved solids value includes: Obtain the fitting function corresponding to the water purification equipment; The target control parameters of the motor are obtained by calculating based on the total dissolved solids value and the fitting function.

4. The method according to claim 3, wherein, Before obtaining the total dissolved solids value of the water in the pipeline of the water purification equipment, the method further includes: Multiple first sample pairs and multiple second sample pairs are acquired. The first sample pair includes a first total dissolved solids value sample and a corresponding first motor control parameter sample. The second sample pair includes a second total dissolved solids value sample and a corresponding second motor control parameter sample. The first total dissolved solids value sample, the first motor control parameter sample, the second total dissolved solids value sample, and the second motor control parameter sample are all collected when the reverse osmosis filter component is in a preset state. The first sample pairs are fitted using a preset fitting algorithm to obtain the function to be verified. The function to be verified is verified based on multiple second samples to obtain verification results; If the verification result indicates that the verification is successful, then the function to be verified is determined as the fitting function corresponding to the water purification device.

5. The method according to any one of claims 1 to 4, wherein, The target control parameters include target current loop gain parameters and target speed loop gain parameters; controlling the motor according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value includes: Configure the motor's current loop proportional-integral regulator according to the target current loop gain parameters, and configure the motor's speed loop proportional-integral regulator according to the target speed loop gain parameters; The motor is controlled based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the motor speed is positively correlated with the total dissolved solids value.

6. The method according to claim 5, wherein, The water purification equipment also includes a three-phase power platform configured to supply power to the motor; the control of the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator to make the motor speed positively correlated with the total dissolved solids value includes: Acquire the three-phase current sampling data of the three-phase power platform; Based on the three-phase current sampling data, the current loop proportional-integral regulator, and the speed loop proportional-integral regulator, data processing is performed to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system. Based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system, a pulse width modulation signal is generated. The three-phase power platform is controlled to supply power to the motor through the pulse width modulation signal so that the speed of the motor is positively correlated with the total dissolved solids value.

7. The method according to claim 6, wherein, The data processing based on the three-phase current sampling data, the current loop proportional-integral regulator, and the speed loop proportional-integral regulator to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system includes: Based on the three-phase current sampling data, a Clarke transform is performed to obtain the current α-axis current value and the current β-axis current value in the two-phase stationary coordinate system. Based on the current α-axis current value and β-axis current value in the two-phase stationary coordinate system, and the predetermined second α-axis reference voltage value and second β-axis reference voltage value in the two-phase stationary coordinate system, the current rotor position and current speed of the motor are determined. Based on the current current values ​​of the α-axis and β-axis in the two-phase stationary coordinate system, and the current rotor position of the motor, Parker transformation is performed to obtain the current current values ​​of the Q-axis and D-axis in the two-phase rotating coordinate system. The current speed value of the motor and the predetermined reference speed value of the motor are input into the speed loop proportional-integral regulator for processing to obtain the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional-integral regulator. The reference current value of the Q-axis, the current current value of the Q-axis, the current current value of the D-axis in the two-phase rotating coordinate system, and the predetermined reference current value of the D-axis in the two-phase rotating coordinate system are input to the current loop proportional-integral regulator for processing, so as to obtain the reference voltage value of the Q-axis and the reference voltage value of the D-axis in the two-phase rotating coordinate system output by the current loop proportional-integral regulator. Based on the Q-axis reference voltage value and D-axis reference voltage value in the two-phase rotating coordinate system, and the current rotor position of the motor, an inverse Parker transformation is performed to obtain the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system.

8. The method according to any one of claims 1 to 7, wherein, The water purification device includes a total dissolved solids sensor installed in the inlet pipe of the reverse osmosis filtration assembly; obtaining the total dissolved solids value of the water in the pipe of the water purification device includes: The total dissolved solids value of water in the inlet pipe of the reverse osmosis filter assembly is obtained from the total dissolved solids sensor.

9. A water purification device, wherein, The water purification equipment includes a memory, a processor, a reverse osmosis filter assembly, and a booster pump corresponding to the reverse osmosis filter assembly. The booster pump includes an impeller and a motor that drives the impeller. The memory is configured to store executable program code; The processor is configured to call and run the executable program code from the memory, causing the water purification device to perform the method as described in any one of claims 1 to 8.

10. The method according to claim 9, wherein, The water purification equipment also includes a three-phase power platform configured to supply power to the motor and / or a total dissolved solids sensor located in the inlet pipe of the reverse osmosis filtration assembly.

11. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer program code that, when executed, implements the method as described in any one of claims 1 to 8.