Control method of water purification equipment, water purification equipment and medium
By dynamically adjusting the raw water pressure of the booster water pump, and controlling the motor speed according to the total dissolved solid value of the water in the water purification equipment pipeline, the problem that the reverse osmosis filtration components in the water purification equipment cannot maintain a stable filtration effect, achieving a more efficient filtration effect and extending the equipment life.
Patent Information
- Application Number
- CN202411579604.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-28
AI Technical Summary
The booster water pump in the water purification equipment operates in a fixed mode, making it difficult to adapt to the changes in the demand for raw water pressure of the reverse osmosis filtration components, resulting in the inability to maintain a stable filtration effect.
By obtaining the total dissolved solid value of water in the water purification equipment pipeline, the target control parameters of the motor are determined, and the motor is controlled based on these parameters, so that its rotation speed is positively correlated with the total dissolved solid value, thereby dynamically adjusting the raw water pressure output by the booster water pump.
Ensure that the reverse osmosis filtration components can adapt to changes in the demand for raw water pressure, maintain stable filtration effect, and improve the filtration efficiency and equipment life of water purification equipment.
Smart Images

Figure CN119536385A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water purification equipment, and more specifically, to a control method for water purification equipment, water purification equipment and medium in the technical field of water purification equipment. Background Art
[0002] At present, some water purification equipment integrates reverse osmosis filtration components. The working principle of reverse osmosis filtration components is mainly based on reverse osmosis membrane technology. A certain pressure is applied to the raw water through a booster pump, so that the water molecules in the raw water pass through the reverse osmosis membrane in the reverse osmosis filtration component to become purified water. In the related art, the booster pump of the water purification equipment usually operates in a fixed mode, which is difficult to adapt to the changes in the demand for raw water pressure of the reverse osmosis filtration component, which leads to the inability of the reverse osmosis filtration component to maintain a stable filtration effect. Summary of the invention
[0003] The present application provides a control method for a water purification device, a water purification device and a medium, wherein the method enables the raw water pressure provided by a booster water pump to a reverse osmosis filter component to adapt to the demand of the reverse osmosis filter component for raw water pressure, thereby ensuring that the reverse osmosis filter component maintains a stable filtering effect.
[0004] In a first aspect, a control method for a water purification device is provided, wherein the water purification device includes a reverse osmosis filter assembly and a booster water pump corresponding to the reverse osmosis filter assembly, wherein the booster water pump includes an impeller and a motor driving the impeller; the method includes:
[0005] Obtain the total dissolved solids value of water in the pipeline of the water purification equipment;
[0006] Determine the target control parameters of the motor according to the total dissolved solids value;
[0007] The motor is controlled according to the target control parameter so that the speed of the motor is positively correlated with the total dissolved solids value.
[0008] In a second aspect, a water purification device is provided, the water purification device comprising a memory, a processor, a reverse osmosis filter component and a booster water pump corresponding to the reverse osmosis filter component, the booster water pump comprising an impeller and a motor driving the impeller;
[0009] A memory for storing executable program codes;
[0010] The processor is used to call and run the executable program code from the memory, so that the water purification device executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0011] In a third aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the first aspect or any possible implementation of the first aspect.
[0012] The beneficial effects brought about by the technical solutions provided in some embodiments of the present application include at least: first, the total dissolved solids value of the water in the pipeline of the water purification equipment is obtained, and the total dissolved solids value reflects the water quality of the water in the pipeline of the water purification equipment. The higher the total dissolved solids 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 according to the total dissolved solids value, and the motor is controlled according to the target control parameters so that the speed of the motor is positively correlated with the total dissolved solids value. The faster the speed of the motor, the greater the raw water pressure provided by its driving impeller to the reverse osmosis filter component, and vice versa. In this way, the raw water pressure provided by the booster pump to the reverse osmosis filter component can adapt to the demand of the reverse osmosis filter component for raw water pressure, thereby ensuring that the reverse osmosis filter component maintains a stable filtering effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 It is a structural schematic diagram of a water purification device provided in an embodiment of the present application;
[0015] Figure 2 It is a structural schematic diagram of a water purification device provided in an embodiment of the present application;
[0016] Figure 3 It is a flow chart of a control method of a water purification device provided in an embodiment of the present application;
[0017] Figure 4 It is a schematic diagram of a process for determining a target control parameter based on a control parameter table provided in an embodiment of the present application;
[0018] Figure 5 It is a schematic diagram of a process for determining target control parameters based on a fitting function provided in an embodiment of the present application;
[0019] Figure 6 is a schematic diagram of a flow chart of determining a fitting function provided in an embodiment of the present application;
[0020] Figure 7 It is a schematic diagram of a flow chart of configuring a proportional-integral regulator and performing motor control provided by an embodiment of the present application;
[0021] Figure 8 It is a flow chart of realizing motor control based on a proportional-integral regulator provided in an embodiment of the present application;
[0022] Fig. 9 is an example schematic diagram of a motor control provided in an embodiment of the present application;
[0023] Fig.10 It is a structural schematic diagram of a water purification device provided in an embodiment of the present application.
[0024] Description of Figure Numbers:
[0025]
[0026] DETAILED DESCRIPTION
[0027] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0028] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0029] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying 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 the features.
[0030] The following are detailed descriptions respectively. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0031] See also Figure 1 , Figure 1It is a structural schematic diagram of a water purification device provided in an embodiment of the present application. Among them, the water purification device 100 is mainly composed of a water inlet 130, a booster pump 120, a reverse osmosis filter component 110 and a water outlet 140. The water inlet 130, the booster pump 120, the reverse osmosis filter component 110 and the water outlet 140 are connected and functionally coordinated through the pipeline of the water purification device 100. The water inlet 130 is the entry point for raw water to enter 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 raw water to flow and increase the water pressure. It pressurizes the incoming raw water through mechanical action or electric drive to meet the pressure conditions required for reverse osmosis filtration. The pressurized raw water is then transported to the reverse osmosis filter component 110 through a pipeline.
[0032] The reverse osmosis filter assembly 110 is the core of the water purification device 100, and a reverse osmosis membrane is installed inside it. This is a semi-permeable membrane with selective permeability that allows water molecules to pass through while retaining most solutes and impurities. Under the high pressure provided by the booster pump 120, the water molecules in the raw water pass through the micropores of the reverse osmosis membrane, while harmful substances such as salt, heavy metals, bacteria, and viruses are effectively blocked, thereby achieving water purification. The water treated by the reverse osmosis filter assembly 110 is called purified water. The purified water flows out of the reverse osmosis filter assembly 110 through another section of the pipeline and finally gathers at the water outlet 140 for users to use.
[0033] based on Figure 1 The water purification device 100 shown in the figure may further include a pre-treatment unit 150 and a post-treatment unit 160. Figure 2 , Figure 2 It is a structural schematic diagram of a water purification device provided in an embodiment of the present application.
[0034] like Figure 2 As shown, the pretreatment unit 150 is arranged in the pipeline between the water inlet 130 and the booster pump 120. Its main function is to preliminarily purify the raw water, remove large particles of impurities and odors, so as to reduce the burden of the subsequent reverse osmosis filter component 110 and extend its service life. The pretreatment unit 150 may include components such as a PP cotton filter element and an activated carbon filter element. Among them, the PP cotton filter element is made of polypropylene material and has high efficiency in filtering performance. It can intercept large particles of impurities such as mud, rust, and suspended matter in the raw water. The activated carbon filter element uses its strong adsorption capacity to effectively remove harmful substances such as residual chlorine, odor, and pigments in the raw water, while improving the taste and smell of the water.
[0035] The post-processing unit 160 is arranged in the pipeline between the reverse osmosis filtration component 110 and the water outlet 140. Its main purpose is to further finely process the purified water after reverse osmosis filtration. The post-processing unit 160 may include a composite filter element and a pressure barrel. Among them, the composite filter element is usually composed of a variety of filter materials, which can further remove tiny particles, colloids, organic matter, etc. in the purified water to improve the purity of the water quality. The pressure barrel is used to store purified water and provide stable water pressure and water volume during peak water use, ensuring that users can obtain high-quality purified water at any time.
[0036] After adding the pre-treatment unit 150 and the post-treatment unit 160, the treatment process of the entire water purification device 100 from water inlet to water outlet is as follows: the raw water first enters the water purification device 100 through the water inlet 130, and then undergoes preliminary purification in the pre-treatment unit 150 to remove large particles of impurities and odor. Then, the pre-treated raw water enters the booster pump 120 for pressurization to meet the pressure conditions required for reverse osmosis filtration. The pressurized raw water enters the reverse osmosis filtration component 110, and through the fine filtration of the reverse osmosis membrane, harmful substances such as salt, heavy metals, bacteria, and viruses are removed to achieve deep purification of the water quality to obtain purified water. The purified water then enters the post-treatment unit 160 for further fine processing and storage. Finally, the further treated purified water flows from the post-treatment unit 160 to the water outlet 140, and flows out of the water purification device 100 through the water outlet 140 for use by users.
[0037] Based on the above Figure 1 - Figure 2 During the operation of the water purification equipment 100, the operation mode of the booster pump 120 has a direct impact on the reverse osmosis filtration effect. In the related art, the booster pump 120 of the water purification equipment 100 often operates in a fixed mode, that is, no matter how the water quality of the raw water changes, the output pressure and flow of the booster pump 120 remain relatively constant. However, the pressure requirement of the reverse osmosis filtration component 110 for raw water is not constant, and it will be affected by many factors including the water quality of the raw water. Therefore, it is difficult for the booster pump 120 operating in a fixed mode to adapt to these changes in real time, which in turn causes the reverse osmosis filtration component 110 to be unable to maintain a stable filtration effect.
[0038] In order to solve the above problems, the scheme mainly provided by the embodiment of the present application includes: first, the total dissolved solids value of the water in the pipeline of the water purification equipment is obtained, and the total dissolved solids value reflects the water quality of the water in the pipeline of the water purification equipment. The higher the total dissolved solids 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 according to the total dissolved solids value, and the motor is controlled according to the target control parameters so that the speed of the motor is positively correlated with the total dissolved solids value. The faster the speed of the motor, the greater the raw water pressure provided by its driving impeller to the reverse osmosis filter component, and vice versa. In this way, the raw water pressure provided by the booster pump to the reverse osmosis filter component can adapt to the demand of the reverse osmosis filter component for raw water pressure, thereby ensuring that the reverse osmosis filter component maintains a stable filtering effect.
[0039] based on Figure 1 - Figure 2 The structure of the water purification equipment will be combined with Figure 3 - Fig. 9 , the control method of the water purification equipment provided in the embodiment of the present application is introduced in detail.
[0040] See also Figure 3 , Figure 3 A schematic flow chart of a control method for a water purification device provided in an embodiment of the present application. The water purification device includes a reverse osmosis filtration component and a booster water pump corresponding to the reverse osmosis filtration component, and the booster water pump includes an impeller and a motor driving the impeller; Figure 3 As shown, the method of the embodiment of the present application may include the following steps S101-S103.
[0041] S101, obtaining the total dissolved solids value of water in the pipeline of the water purification equipment.
[0042] 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), where solid matter may include inorganic salts (such as sulfates, chlorides, bicarbonates of calcium, magnesium, sodium, potassium, etc.), organic matter (such as sugars, amino acids, etc.) and other trace elements. The value of total dissolved solids can reflect the purity of water quality. The higher the value of total dissolved solids, the more dissolved solid matter in the water, and the water quality is relatively poor; conversely, the lower the value of total dissolved solids, the better the water quality.
[0043] The pipeline of the water purification equipment refers to the pipeline inside the water purification equipment used to transport and treat water, connecting the water inlet, booster pump, reverse osmosis filter component, water outlet and other components of the water purification equipment.
[0044] Regarding obtaining the total dissolved solids value of water in the pipeline of the water purification equipment, several possible implementation methods are provided below:
[0045] In one possible implementation, a total dissolved solids sensor can be set in the pipeline of the water purification equipment, wherein the total dissolved solids sensor is a sensor that can measure and display the total dissolved solids value in water in real time. It usually works based on the conductivity measurement principle, that is, measuring the effect of dissolved solids in water on current conduction, thereby indirectly calculating the total dissolved solids value. On this basis, by obtaining the total dissolved solids value of the water in the pipeline of the water purification equipment collected by the total dissolved solids sensor, the current water quality status can be understood in real time, providing data support for subsequent motor control.
[0046] In one possible implementation, the water in the pipes of the water purification equipment can be sampled, and the total dissolved solids value of the water sample can be measured using relevant equipment. After the total dissolved solids value of the water in the pipes of the water purification equipment is obtained, the total dissolved solids value of the water in the pipes of the water purification equipment is input into the water purification equipment to enable the water purification equipment to obtain the total dissolved solids value of the water in the pipes of the water purification equipment.
[0047] Regarding obtaining the total dissolved solids value of water in the pipeline of the water purification equipment, the total dissolved solids value of water in the water inlet pipeline of the reverse osmosis filtration component can be obtained. The water inlet pipeline of the reverse osmosis filtration component refers to the pipeline between the reverse osmosis filtration component and the water inlet. In this case, what is actually obtained is the total dissolved solids value of the raw water; the total dissolved solids value of water in the water outlet pipeline of the reverse osmosis filtration component can also be obtained. The water outlet pipeline of the reverse osmosis filtration component refers to the pipeline between the reverse osmosis filtration component and the water outlet. In this case, what is actually obtained is the total dissolved solids value of the purified water. It can be understood that due to the limited filtering performance of the reverse osmosis filtration component, the total dissolved solids value of the purified water indirectly reflects the total dissolved solids value of the raw water to a certain extent. The total dissolved solids value of the purified water is positively correlated with the total dissolved solids value of the raw water, and this correlation is not necessarily linear.
[0048] The higher the total dissolved solids value of the raw water, the higher the concentration of total dissolved solids in the raw water. When the concentration of total dissolved solids in the raw water is high, the reverse osmosis filtration component has a greater demand for 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 reverse osmosis filtration component.
[0049] S102, determining target control parameters of the motor according to the total dissolved solids value.
[0050] 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 water 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 water pump.
[0051] The target control parameter is a specific control parameter determined according to the total dissolved solids value obtained in step S101, and is intended to match the raw water pressure provided by the booster pump with the raw water pressure requirement of the reverse osmosis filtration component to ensure the stability of the filtration effect.
[0052] There is a predetermined mapping relationship between the total dissolved solids value and the control parameters, which is based on experimental data, empirical models or theoretical calculations. Different total dissolved solids values correspond to different control parameters, and this correspondence may be recorded in various forms such as databases, data tables, functional relationships, and configuration files, so that it can be quickly and accurately found and called during actual operation.
[0053] In a possible implementation, a mapping relationship between the total dissolved solids value and the control parameter is recorded based on a control parameter table. In the control parameter table, multiple total dissolved solids value intervals and their corresponding motor control parameter values are listed. After obtaining the current total dissolved solids value, a query statement can be constructed to search the control parameter table for a control parameter that matches the total dissolved solids value, thereby determining the searched control parameter as the target control parameter of the motor.
[0054] In a possible implementation, the mapping relationship between the total dissolved solids value and the control parameter is recorded based on a fitting function. The fitting function is a functional relationship formed by fitting a series of data points by mathematical methods, which can describe the change trend between the total dissolved solids value and the control parameter. After obtaining the current total dissolved solids value, it can be substituted into the fitting function for calculation to obtain the target control parameter of the motor.
[0055] In one possible implementation, a machine learning algorithm can also be used to establish a mapping model between the total dissolved solids value and the control parameters. By training a large amount of sample data, the machine learning algorithm can automatically learn the complex relationship between the total dissolved solids value and the control parameters and generate a prediction model. In actual operation, the target control parameters of the motor can be quickly obtained by simply inputting the current total dissolved solids value into the prediction model.
[0056] It should be noted that, based on the pre-determined mapping relationship between the total dissolved solids value and the control parameter, step S102 can also be implemented in other ways. The above implementation is only an example and does not constitute a limitation on step S102.
[0057] S103, controlling the motor according to the target control parameter so that the rotation speed of the motor is positively correlated with the total dissolved solids value.
[0058] Specifically, the motor speed is positively correlated with the total dissolved solids value, which means that when the total dissolved solids value increases, the motor speed is increased by controlling the motor through the target control parameter; conversely, when the total dissolved solids value decreases, the motor speed is decreased by controlling the motor through the target control parameter. 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 filtration component.
[0059] The motor is controlled according to the target control parameters to increase or decrease the motor speed. Since the motor is used to drive the impeller to rotate, the centrifugal force generated by the impeller rotation allows the raw water to obtain pressure energy, which is then output through the booster pump. Therefore, the booster pump can output a greater raw water pressure when the motor speed is increased to meet the reverse osmosis filtration component's demand for higher raw water pressure at a high total dissolved solids value, ensuring that water molecules can pass through the reverse osmosis membrane smoothly to achieve efficient filtration; the booster pump can output a smaller raw water pressure when the motor speed is reduced to meet the reverse osmosis filtration component's demand for lower raw water pressure at a low total dissolved solids value, avoiding excessive pressure causing energy waste or equipment damage.
[0060] In one possible implementation, the water purification device also includes a three-phase power platform for supplying power to the motor, and the target control parameters may include a target current loop gain parameter and a target speed loop gain parameter. Controlling the motor according to the target control parameters so that the speed of the motor is positively correlated with the total dissolved solids value can be refined as follows: configuring the current loop proportional-integral regulator and the speed loop proportional-integral regulator of the motor respectively according to the target current loop gain parameter and the target speed loop gain parameter. A pulse width modulation signal is generated based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator, and the three-phase power platform is controlled to supply power to the motor through the pulse width modulation signal to accurately adjust the speed of the motor so that it remains positively correlated with the total dissolved solids value.
[0061] In a possible implementation, the target control parameter may include a target speed value and a target torque value. Controlling the motor according to the target control parameter so that the motor speed is positively correlated with the total dissolved solids value can be refined as follows: according to the target speed value and the target torque value, the actual speed and actual torque that the motor should output are calculated by the motor control algorithm (such as a vector control algorithm). Then, by adjusting the power supply frequency and voltage of the motor, the actual speed and actual torque of the motor are matched with the target value, thereby achieving positive correlation control of the motor speed and the total dissolved solids value.
[0062] In a possible implementation, the target control parameters may include a target power value and a target efficiency value. Controlling the motor according to the target control parameters so that the motor speed is positively correlated with the total dissolved solids value can be refined as follows: according to the target power value and the target efficiency value, the motor power control algorithm and the efficiency optimization algorithm are used to calculate the speed corresponding to the optimal power and the optimal efficiency that the motor should output. Then, by adjusting the power supply parameters of the motor (such as frequency, voltage, current, etc.), the motor is operated in a better state, which not only meets the speed requirements of the total dissolved solids value changes, but also ensures that the power and efficiency of the motor reach a better state.
[0063] It should be noted that, on the basis of determining the target control parameter, step S103 may also be implemented in other ways. The above implementation is only an example and does not constitute a limitation on step S103.
[0064] In this embodiment, the total dissolved solids value of the water in the pipeline of the water purification equipment is first obtained, and the total dissolved solids value reflects the water quality of the water in the pipeline of the water purification equipment. The higher the total dissolved solids 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 according to the total dissolved solids value, and the motor is controlled according to the target control parameters so that the speed of the motor is positively correlated with the total dissolved solids value. The faster the speed of the motor, the greater the raw water pressure provided by its driving impeller to the reverse osmosis filter component, and vice versa. In this way, the raw water pressure provided by the booster pump to the reverse osmosis filter component can adapt to the demand of the reverse osmosis filter component for raw water pressure, thereby ensuring that the reverse osmosis filter component maintains a stable filtering effect.
[0065] In one embodiment, the water purification device includes a total dissolved solids sensor disposed in a water inlet pipeline of a reverse osmosis filter assembly; Figure 3 In the illustrated embodiment, step S101 is further refined and may further include the following steps:
[0066] Obtain the total dissolved solids value of the water in the water inlet pipeline of the reverse osmosis filter component collected by the total dissolved solids sensor.
[0067] Specifically, the total dissolved solids sensor is a sensor that can measure and display the total dissolved solids value in water in real time. The total dissolved solids sensor collects the total dissolved solids value based on the conductivity measurement principle. When water flows through the total dissolved solids sensor, the two electrodes inside the total dissolved solids sensor will apply a small voltage, and the dissolved solids in the water will generate current because they can conduct electricity. The total dissolved solids sensor measures the magnitude of this current and combines the known relationship between conductivity and total dissolved solids value to calculate the total dissolved solids value of the water.
[0068] Combination Figure 1 , Figure 3 , the water inlet pipeline of the reverse osmosis filtration component 110 refers to the pipeline between the water inlet 130 and the reverse osmosis filtration component 110. The water in the water inlet pipeline of the reverse osmosis filtration component 110 is raw water, that is, water that has not been treated by reverse osmosis filtration. The process of obtaining the total dissolved solids value of the water in the water inlet pipeline of the reverse osmosis filtration component collected by the total dissolved solids sensor is specifically as follows: the total dissolved solids sensor monitors the water quality in the water inlet pipeline of the reverse osmosis filtration component in real time, collects the total dissolved solids value, and then the total dissolved solids value is obtained by the water purification equipment.
[0069] It is understandable that when the total dissolved solids sensor is set in the water inlet pipeline of the reverse osmosis filtration component, what is obtained is the total dissolved solids value of the raw water. The advantage of obtaining the total dissolved solids value of the raw water is that it directly reflects the impurity content of the raw water, and thus can better reflect the demand of the reverse osmosis filtration component for the raw water pressure. Because the reverse osmosis filtration process needs to overcome the osmotic pressure caused by the dissolved solids in the raw water, the higher the total dissolved solids value, the greater the required filtration pressure is generally. Therefore, by monitoring the total dissolved solids value of the raw water, the working pressure of the reverse osmosis filtration component can be reasonably adjusted to ensure the filtration efficiency while protecting the water purification equipment from damage caused by excessive pressure.
[0070] It should be noted that in other possible implementations, the total dissolved solids sensor is not limited to being installed in the water inlet pipe of the reverse osmosis filter assembly. It can also be installed in other locations of the water purification equipment, such as the water outlet pipe of the reverse osmosis filter assembly, to monitor the water quality at different locations. At the same time, the number of total dissolved solids sensors is not limited to one. According to actual needs, total dissolved solids sensors can be installed at multiple key locations of the water purification equipment to achieve more comprehensive water quality monitoring.
[0071] In this embodiment, a total dissolved solids sensor is introduced into the water purification equipment, and the total dissolved solids value of the raw water in the water inlet pipeline of the reverse osmosis filtration component is monitored in real time, which 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 filtration component, thereby dynamically adjusting the working state of the booster pump to ensure the filtration efficiency while avoiding damage to the equipment due to excessive pressure. In addition, by installing multiple total dissolved solids sensors at different locations, more comprehensive water quality monitoring can be achieved to provide data support for the optimized operation of the water purification equipment.
[0072] See also Figure 4 , Figure 4 A flow chart of determining target control parameters based on a control parameter table is provided in an embodiment of the present application. Figure 4As shown, the method of the embodiment of the present application may include the following steps S201-S203, and steps S201-S203 may be used as Figure 3 The refinement of step S102 in the illustrated embodiment.
[0073] S201, obtaining a control parameter table corresponding to the water purification equipment;
[0074] S202, constructing a query statement according to the total dissolved solids value;
[0075] S203, querying a control parameter table according to the query statement to obtain target control parameters of the motor.
[0076] Specifically, the control parameter table involved in this embodiment records the mapping relationship between the total dissolved solids value and the control parameter. In the control parameter table, multiple total dissolved solids value intervals and their corresponding motor control parameter values are listed, that is, each total dissolved solids value interval in the control parameter table corresponds to a set of specific control parameters.
[0077] First, the water purification device will obtain the current total dissolved solids value. Then, a query statement is constructed based on the total dissolved solids value, which clearly specifies the total dissolved solids value range or specific value to be found. Next, the water purification device will access the control parameter table stored in its internal or external database, execute the query statement, and retrieve the control parameters that match the current total dissolved solids value from the control parameter table. Finally, the retrieved control parameters will be determined as the target control parameters of the motor and applied to the actual control of the motor through the control algorithm or control logic, so as to achieve precise adjustment of the motor speed to adapt to different water quality conditions.
[0078] To facilitate understanding of the present embodiment, an example is provided below in conjunction with Table 1:
[0079] Table 1 Control parameters
[0080]
[0081] Assuming that the current total dissolved solids value is 150ppm, you first need to construct a query statement to find the matching control parameters in the control parameter table. Next, execute the query statement to find the corresponding total dissolved solids range of 101-300 (ppm) in the control parameter table, and obtain the control parameters corresponding to this range as the target control parameters, including: target current loop proportional gain parameter: 0.6; target current loop integral gain parameter: 0.12; target speed loop proportional gain parameter: 1.2; target speed loop integral gain parameter: 0.25.
[0082] Similarly, assuming that the current total dissolved solids value is 400ppm, you first need to construct a query statement to find the matching control parameters in the control parameter table. Next, execute the query statement to find the corresponding total dissolved solids range of 301-500 (ppm) in the control parameter table, and obtain the control parameters corresponding to the range as the target control parameters, including: target current loop proportional gain parameter: 0.7; target current loop integral gain parameter: 0.15; target speed loop proportional gain parameter: 1.5; target speed loop integral gain parameter: 0.3.
[0083] In this embodiment, by recording the mapping relationship between the total dissolved solids value and the control parameters in the control parameter table, the water purification equipment can adjust the control parameters of the motor in real time according to the changes in water quality, ensuring that the reverse osmosis filtration component always works in a good state, effectively reducing the water purification energy consumption and operation and maintenance costs. In addition, the introduction of the control parameter table simplifies the control logic, making the operation of the water purification equipment more efficient and reliable.
[0084] See also Figure 5 , Figure 5 A schematic diagram of a process for determining target control parameters based on a fitting function provided in an embodiment of the present application. Figure 5 As shown, the method of the embodiment of the present application may include the following steps S301-S302, and steps S301-S302 may be used as Figure 3 The refinement of step S102 in the illustrated embodiment.
[0085] S301, obtaining a fitting function corresponding to the water purification equipment;
[0086] S302, performing calculations based on the total dissolved solids value and the fitting function to obtain target control parameters of the motor.
[0087] 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 by mathematical methods, which can describe the change trend between the total dissolved solids value and the control parameter. This function may be linear or nonlinear.
[0088] First, the water purification equipment obtains the current total dissolved solids value, which is measured in real time by a total dissolved solids sensor installed in the water purification equipment pipeline, or input after sampling and measurement by other means. Then, the total dissolved solids value is substituted into a predetermined fitting function, and the corresponding target control parameter is output through mathematical calculation.
[0089] 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). After obtaining the current total dissolved solids value x_current, substitute it into the fitting function f(x), that is, y_target=f(x_current). Through calculation, the target control parameter y_target of the motor can be obtained.
[0090] 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, it is also necessary to perform a threshold judgment process on the target control parameters. For example, if the target control parameters of the motor exceed the preset threshold, it may not be suitable for motor control and needs to be recalculated or abnormal information is pushed.
[0091] In this embodiment, by recording the mapping relationship between the total dissolved solids value and the control parameters through the fitting function, the water purification equipment can adjust the control parameters of the motor in real time according to the changes in water quality, ensuring that the reverse osmosis filtration component always works in a good state, effectively reducing the water purification energy consumption and operation and maintenance costs. In addition, the introduction of the fitting function simplifies the control logic, making the operation of the water purification equipment more efficient and reliable.
[0092] See also Figure 6 , Figure 6 A schematic diagram of a flow chart for determining a fitting function provided in an embodiment of the present application. Figure 6 As shown, the method of the embodiment of the present application may include the following steps S401-S404, and steps S401-S404 may be used as Figure 3 In the illustrated embodiment, it is performed before step S101.
[0093] S401, obtaining a plurality of first sample pairs and a plurality of second sample pairs, wherein the first sample pair includes a first total dissolved solid value sample and a corresponding first motor control parameter sample, and the second sample pair includes a second total dissolved solid value sample and a corresponding second motor control parameter sample, and the first total dissolved solid value sample, the first motor control parameter sample, the second total dissolved solid value sample, and the second motor control parameter sample are all collected when the reverse osmosis filtration component is in a preset state;
[0094] S402, performing fitting processing on a plurality of first sample pairs based on a preset fitting algorithm to obtain a function to be verified;
[0095] S403, verifying the function to be verified based on the multiple second samples to obtain a verification result;
[0096] S404: If the verification result indicates that the verification is passed, the function to be verified is determined as a fitting function corresponding to the water purification device.
[0097] Specifically, the first sample pair involved in this embodiment refers to the sample pair used in the fitting process, and any first sample pair includes the corresponding first total dissolved solid value sample and the corresponding first motor control parameter sample; the second sample pair refers to the sample pair used in the function verification process, and any second sample pair includes the corresponding second total dissolved solid value sample and the corresponding second motor control parameter sample.
[0098] The reverse osmosis filter assembly is in a preset state, which refers to a state in which a stable filtering effect is maintained, and the preset state can be determined based on one or more indicators. For example, when the membrane flux of the reverse osmosis filter assembly is within a preset membrane flux range, it means that the filtering effect of the reverse osmosis filter assembly is relatively good and stable, and then it can be determined that the reverse osmosis filter assembly is in a preset state.
[0099] 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. That is to say, when the total dissolved solids value of the water in the pipeline of the water purification equipment is equal to the first total dissolved solids value sample, the motor can be controlled by using the control parameters corresponding to the first motor control parameter sample, so that the motor speed can reach a suitable level, and the booster water pump can provide a suitable raw water pressure to keep the reverse osmosis filter component in a preset state and maintain a stable filtering effect. Similarly, when the total dissolved solids value of the water in the pipeline of the water purification equipment is equal to the second total dissolved solids value sample, the motor can be controlled by using the control parameters corresponding to the second motor control parameter sample, so that the motor speed can reach a suitable level, and the booster water pump can provide a suitable raw water pressure to keep the reverse osmosis filter component in a preset state and maintain a stable filtering effect.
[0100] After obtaining a plurality of first sample pairs and a plurality of second sample pairs, the specific process of fitting the plurality of first sample pairs based on a preset fitting algorithm to obtain the function to be verified is as follows: first, a suitable fitting algorithm is selected, such as a linear regression algorithm, a polynomial regression algorithm, an exponential regression algorithm, etc. Then, the first total dissolved solid value sample in the first sample pair is used as an input variable, and the first motor control parameter sample is used as an output variable, and mathematical processing is performed using the fitting algorithm to obtain a function to be verified that can describe the relationship between the two.
[0101] Next, the function to be verified is verified based on multiple second samples, and the specific process of obtaining the verification result is: substitute the second total dissolved solid value sample in the second sample pair into the function to be verified, calculate the predicted motor control parameter, and compare the predicted motor control parameter with the second motor control parameter sample in the second sample pair. If the difference between the predicted motor control parameter and the second motor control parameter sample is within an acceptable range (such as the error rate is less than a preset threshold), the function to be verified is considered to be valid, and the verification result indicates that the verification is passed. If the difference between the predicted motor control parameter and the second motor control parameter sample is not within an acceptable range, the function to be verified is considered to be invalid, and the verification result indicates that the verification is not passed.
[0102] 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 control parameters of the motor. At this time, it is necessary to reselect the fitting algorithm or adjust the sample pair, 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 is used to determine the target control parameters of the motor in real time according to the total dissolved solids value.
[0103] In this embodiment, by collecting multiple groups of sample pairs of the reverse osmosis filtration component in a preset state, a mapping relationship between the total dissolved solids value and the control parameters of the motor is constructed using a fitting algorithm and recorded in the form of a fitting function. The fitting function enables the water purification device to dynamically adjust the control parameters of the motor 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 filtration component, thereby maintaining stable filtration efficiency and water quality. In addition, by introducing a verification function process in the process of determining the fitting function, the accuracy and reliability of the fitting function are further ensured.
[0104] See also Figure 7 , Figure 7 A schematic diagram of a flow chart of configuring a proportional-integral regulator and performing motor control provided in an embodiment of the present application, wherein the target control parameters include a target current loop gain parameter and a target speed loop gain parameter. Figure 7 As shown, the method of the embodiment of the present application may include the following steps S501-S502, and steps S501-S502 may be used as Figure 3 The refinement of step S103 in the illustrated embodiment.
[0105] S501, configuring the current loop proportional-integral regulator of the motor according to the target current loop gain parameter, and configuring the speed loop proportional-integral regulator of the motor according to the target speed loop gain parameter;
[0106] S502, controlling the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the rotation speed of the motor is positively correlated with the total dissolved solids value.
[0107] Specifically, the motor involved in this embodiment adopts three-loop control technology, which means that in the control system of the motor, three control loops, namely, current loop, speed loop and position loop (or outer loop, middle loop and inner loop), are set respectively. 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 current of the motor; the speed loop is the middle loop, which is used to control the speed of the motor; and the position loop is the outermost loop, which is used to control the position or angle of the motor.
[0108] Among them, the current loop proportional integral regulator is used to adjust the motor current according to the set target current loop gain parameters to ensure that the motor current can quickly and accurately follow the set value changes. The current loop is the basis of motor control and directly affects the motor's output torque and dynamic response performance.
[0109] Among them, the speed loop proportional integral regulator is used to adjust the motor speed according to the set target speed loop gain parameter, so that the actual speed of the motor can follow the set target speed. The speed loop is an important part of motor control and is directly related to the running stability and accuracy of the motor.
[0110] Configuring the motor's current loop proportional-integral regulator according to the target current loop gain parameter and configuring the motor's speed loop proportional-integral regulator according to the target speed loop gain parameter can actually be achieved by adjusting the proportional (P) and integral (I) parameters inside the regulator. The proportional parameter determines the regulator's response speed to the deviation, while the integral parameter determines the regulator's cumulative effect on the deviation. By setting these two parameters reasonably, the motor's current and speed can be made to follow the set value changes more stably and accurately.
[0111] Therefore, the motor can be controlled based on the current loop proportional integral regulator and the speed loop proportional integral regulator. The motor current and speed can be monitored in real time and compared with the set target value. The motor control signal can be adjusted through the regulator according to the comparison result, thereby achieving precise control of the motor speed and making it positively correlated with the total dissolved solids value. In this way, when the total dissolved solids value changes, the motor speed will also be adjusted accordingly to meet the reverse osmosis filtration component's demand for raw water pressure, ensuring that the filtration effect of the water purification equipment is stable and efficient.
[0112] In this embodiment, the current loop proportional integral regulator and the speed loop proportional integral regulator are used to dynamically adjust the control parameters of the motor according to the total dissolved solids value to ensure that the raw water pressure output by the booster pump matches the filtration requirements. The fast response of the current loop and the stable control of the speed loop jointly improve the dynamic performance and steady-state accuracy of the motor, enabling the motor to quickly adapt to changes in water quality and maintain a good filtration state of the reverse osmosis filtration component.
[0113] See also Figure 8 , Figure 8 A schematic diagram of a flow chart of implementing motor control based on a proportional-integral regulator is provided in an embodiment of the present application, wherein the water purification device also includes a three-phase power platform for supplying power to the motor. Figure 8 As shown, the method of the embodiment of the present application may include the following steps S601-S603, and steps S601-S603 may be used as Figure 7 The refinement of step S502 in the illustrated embodiment.
[0114] S601, obtaining three-phase current sampling data of a three-phase power platform;
[0115] S602, performing data processing based on three-phase current sampling data, a current loop proportional-integral regulator, and a speed loop proportional-integral regulator to obtain a first α-axis reference voltage value and a first β-axis reference voltage value in a two-phase stationary coordinate system;
[0116] S603, 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, so that the motor speed is positively correlated with the total dissolved solids value.
[0117] Specifically, the three-phase power platform involved in this embodiment refers to a device that can receive a pulse width modulation signal and output three-phase alternating current to drive the motor to operate. In a possible implementation, the three-phase power platform is composed of a rectifier, an inverter, a filter, etc., and can convert the input direct current into three-phase alternating current with controllable frequency and voltage for use by the motor.
[0118] In order to control the speed of the motor, it is first necessary to obtain the three-phase current sampling data output by the three-phase power platform. The three-phase current sampling data reflects the actual current state of the motor and is the basis for subsequent data processing and control adjustment.
[0119] After obtaining the three-phase current sampling data, the next step is to perform data processing based on the three-phase current sampling data and the current loop proportional-integral regulator and the speed loop proportional-integral regulator. By adjusting the current error through the current loop and combining the speed error with the speed loop, the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system (or called αβ coordinate system) are obtained.
[0120] 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 speed and current of the motor. 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.
[0121] Furthermore, the voltage and frequency of the three-phase alternating current output by the three-phase power platform can be controlled by the pulse width modulation signal, thereby achieving precise control of the speed and current of the motor.
[0122] In this embodiment, by adjusting the pulse width modulation signal, the electric energy provided by the three-phase power platform to the motor matches the demand of the motor, thereby realizing the speed regulation of the motor. Since the speed of the motor is dynamically adjusted according to the total dissolved solids value, the final control effect is to make the speed of the motor positively correlated with the total dissolved solids value. When the total dissolved solids value increases, the speed of the motor increases accordingly; conversely, when the total dissolved solids value decreases, the speed of the motor decreases accordingly. In this way, it can be ensured that the raw water pressure provided by the booster pump to the reverse osmosis filter component can adapt to the demand of the reverse osmosis filter component for raw water pressure, thereby maintaining a stable filtering effect.
[0123] In one embodiment, Figure 8 In the illustrated embodiment, step S602 is further refined and may further include the following steps:
[0124] Clarke transformation is performed based on the three-phase current sampling data to obtain the current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system;
[0125] Determine the current rotor position and current speed value of the motor based on the current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system, and the predetermined second α-axis reference voltage value and the second β-axis reference voltage value in the two-phase stationary coordinate system;
[0126] Based on the current current value of the α-axis and the β-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 value of the Q-axis and the current current value of the D-axis in the two-phase rotating coordinate system;
[0127] 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, and the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional integral regulator is obtained;
[0128] Input the Q-axis reference current value, the Q-axis current value, the D-axis current value in the two-phase rotating coordinate system, and the predetermined D-axis reference current value in the two-phase rotating coordinate system into the current loop proportional integral regulator for processing, and 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 regulator;
[0129] Based on the Q-axis reference voltage value, 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.
[0130] Specifically, Clarke transformation is first performed based on the three-phase current sampling data. Clarke transformation is a mathematical method for converting the three-phase current from a three-phase stationary coordinate system (abc coordinate system) to a two-phase stationary coordinate system. Through Clarke transformation, the current current value of the α-axis and the current current value of the β-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.
[0131] The second α-axis reference voltage value and the second β-axis reference voltage value in the predetermined two-phase stationary coordinate system are actually the reference voltage values obtained in the previous motor control cycle, which represent the current level that the motor should reach under ideal conditions. The current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system reflect the actual current state of the motor in the two-phase stationary coordinate system. Next, by comparing the difference between the current current value of the α-axis and the current current value of the β-axis (actual value) in the two-phase stationary coordinate system and the second α-axis reference voltage value and the second β-axis reference voltage value (reference value) in the two-phase stationary coordinate system, the dynamic model or empirical formula of the motor can be used to estimate the current rotor position of the motor. At the same time, combined with the electrical and mechanical characteristics of the motor, the current speed of the motor can be further estimated.
[0132] Furthermore, since the definition of the two-phase rotating coordinate system (DQ coordinate system) is 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 current values of the α axis and the β axis in the two-phase stationary coordinate system into the current current values of the Q axis and the D axis in the two-phase rotating coordinate system through Park Transformation on the basis of determining the current rotor position of the motor.
[0133] In motor control, the speed loop and current loop are the key links to achieve precise control. The speed loop is responsible for adjusting the speed of the motor, while the current loop is responsible for adjusting the current of the motor to ensure that the motor can output torque and flux as expected.
[0134] First, 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. The speed loop proportional-integral regulator calculates the Q-axis reference current value in the two-phase rotating coordinate system through the proportional-integral control algorithm according to the difference between the current speed value of the motor and the reference speed value of the motor, and then outputs the Q-axis reference current value in the two-phase rotating coordinate system.
[0135] Subsequently, the Q-axis reference current value, the Q-axis current current value, the D-axis current current value in the two-phase rotating coordinate system, and the predetermined D-axis reference current value in the two-phase rotating coordinate system are input into the current loop proportional integral regulator for processing. The current loop proportional integral regulator uses a proportional integral 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.
[0136] Finally, on the basis of determining the current rotor position of the motor, the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system are converted into the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system through the Inverse Park Transformation. It can be understood that the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system represent the reference voltage values obtained in the current motor control cycle.
[0137] In this embodiment, the three-phase current is accurately converted to a two-phase rotating coordinate system through Clarke transformation and Parker transformation, making the control of current and speed more intuitive and efficient. At the same time, the speed loop proportional integral regulator and the current loop proportional integral regulator are used to dynamically adjust according to the difference between the actual state of the motor and the preset reference value, ensuring a high degree of match between the motor output and the water quality change. In addition, 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 the inverse Parker transformation, which provides a basis for generating an accurate pulse width modulation signal, realizes precise control of the motor speed, and thus improves the overall performance and filtration efficiency of the water purification equipment.
[0138] To facilitate understanding of the above Figure 7 , Figure 8 For detailed implementation schemes, please refer to Fig. 9 , Fig. 9It is an example schematic diagram of a motor control provided by an embodiment of the present application. Among them, 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 transformation unit 904, an angle observation unit 905, a phase-locked loop unit 906, a Parker transformation unit 907, a microcontroller unit 908, a speed loop proportional integral regulator 909, a current loop proportional integral regulator 910, an anti-Parker transformation unit 911, a bus ripple suppression unit 912, and a signal generation unit 913; the current loop proportional integral regulator 910 includes a current loop Q-axis proportional integral regulator 9101 and a current loop D-axis proportional integral regulator 9102.
[0139] First, the three-phase current of the three-phase power platform 800 is input to the operational amplifier unit 901 , which amplifies and filters the three-phase current and then outputs the processed three-phase current to the sampling unit 902 .
[0140] 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, outputs the two-phase current sampling data to the reconstruction unit 903, and outputs the bus voltage data to the bus ripple suppression unit 912.
[0141] 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 transformation unit 904 .
[0142] The Clarke transformation unit 904 performs Clarke transformation based on the three-phase current sampling data to obtain the α-axis current current value and the β-axis current current value in the two-phase stationary coordinate system. Then, the α-axis current current value and the β-axis current current value in the two-phase stationary coordinate system are output to the Parker transformation unit 907 and the angle observation unit 905.
[0143] The angle observation unit 905 determines the current rotor position of the motor 121 using 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 second α-axis reference voltage value and the second β-axis reference voltage value in the two-phase stationary coordinate system, and outputs the current rotor position of the motor 121 to the phase-locked loop unit 906.
[0144] The phase-locked loop unit 906 further determines the current speed value of the motor 121 according to the current rotor position of the motor 121, outputs the current rotor position of the motor 121 to the Parker transformation unit 907 and the inverse Parker transformation unit 911 respectively, and outputs the current speed value of the motor 121 to the speed loop proportional-integral regulator 909.
[0145] The Park transformation unit 907 performs a Park transformation based on the current current value of the α-axis, the current current value of the β-axis in the two-phase stationary coordinate system, and the current rotor position of the motor 121 to obtain the current current value of the Q-axis and the current current value of the D-axis in the two-phase rotating coordinate system, and outputs the current current value of the Q-axis and the current current value of the D-axis in the two-phase rotating coordinate system to the current loop proportional-integral regulator 910.
[0146] The microprocessor unit outputs a predetermined reference speed value of the motor 121 to the speed loop proportional-integral regulator 909 , and outputs a predetermined D-axis reference current value in a two-phase rotating coordinate system to the current loop proportional-integral regulator 910 .
[0147] The speed loop proportional-integral regulator 909 processes the current speed value of the motor 121 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.
[0148] The current loop Q-axis proportional-integral regulator 9101 in the current loop proportional-integral regulator 910 processes the Q-axis reference current value and the Q-axis current 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 proportional-integral regulator 9102 in the current loop proportional-integral regulator 910 processes the D-axis reference current value and the D-axis current 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 proportional-integral regulator 910 outputs the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system to the anti-Parker transformation unit 911.
[0149] The inverse Pike transform unit 911 performs an inverse Pike transform based on the Q-axis reference voltage value, the D-axis reference voltage value in the two-phase rotating coordinate system, and 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, and outputs the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system to the bus ripple suppression unit 912.
[0150] 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 according to the bus voltage data to improve the numerical accuracy, and obtains the compensated first α-axis reference voltage value and the 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 the first β-axis reference voltage value in the two-phase stationary coordinate system to the signal generation unit 913.
[0151] The signal generating unit 913 generates a pulse width modulation signal according to 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 .
[0152] The three-phase power platform 800 supplies power to the motor 121 according to the pulse width modulation signal to adjust the rotation speed of the motor 121 so that the rotation speed of the motor 121 is positively correlated with the total dissolved solids value.
[0153] Under the power supply of the three-phase power platform 800, the motor 121 rotates at a speed that is adapted to the total dissolved solids value and drives the impeller 122 to rotate. In this way, the demand of the reverse osmosis filtration component for raw water pressure can be met, ensuring that the filtration effect of the water purification equipment is stable and efficient.
[0154] It should be noted that Fig. 9 The control module 900 shown belongs to Figure 1 or Figure 2 The part of the water purification device 100 shown in the figure may be a part of the booster pump 120 or may be independent of the booster pump 120; similarly, Fig. 9 The three-phase power platform 800 shown belongs to Figure 1 or Figure 2 The part of the water purification device 100 shown may be a part of the booster pump 120 or may be independent of the booster pump 120 .
[0155] Based on the solution of the above embodiment, the performance improvement brought to the water purification equipment also includes the following aspects:
[0156] Improve energy efficiency: Based on the above Figure 7 , Figure 8 , Fig. 9 As well as the solutions of the related detailed embodiments, the water purification equipment ensures that the raw water pressure output by the booster pump accurately matches the requirements of the reverse osmosis filtration component by real-time monitoring of the total dissolved solids value and dynamically adjusting the control parameters of the motor. This precise control avoids unnecessary energy waste, such as excessive water pressure or flow, thereby significantly improving the energy efficiency of the water purification equipment.
[0157] Reduced noise: 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 the operation of the water purification equipment. In addition, the fast response and stable control characteristics of the proportional integral regulator help maintain the smooth operation of the motor, further reducing the noise level.
[0158] Improve the life of the reverse osmosis filter assembly: Dynamically adjust the motor control parameters to adapt to different water quality conditions, ensuring that the reverse osmosis filter assembly always operates in a good working condition. This helps to reduce the damage to the reverse osmosis filter assembly caused by water quality fluctuations or excessive pressure, thereby extending the service life of the reverse osmosis filter assembly. In addition, by accurately controlling the raw water pressure, it can also reduce the problem of decreased filtration efficiency and membrane contamination caused by insufficient or excessive pressure, further improving the performance and life of the reverse osmosis filter assembly.
[0159] Based on the above Figure 1 - Figure 2 The structure of the water purification equipment will be combined with Fig.10 The water purification device provided in the embodiment of the present application is introduced in detail. It should be noted that: Fig.10 The water purification device 100 is used to implement the present application Figure 3 - Fig. 9 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 3 - Fig. 9 Specifically, the water purification device 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 including an impeller and a motor driving the impeller;
[0160] The processor 180 is electrically connected to the memory 170 .
[0161] The processor 180 is the control center of the water purification device 100 and may include one or more processing cores. The processor 180 uses various interfaces and lines to connect the various parts of the entire water purification device 100, and executes various functions and processes data of the water purification device 100 by running or calling the computer program stored in the memory 170, and calling the data stored in the memory 170, so as to control the water purification device 100 as a whole. Optionally, the processor 180 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 180 can integrate one or more combinations of CPU, graphics processing unit 180 (GPU) and modem. Among them, the CPU mainly processes the operating system, user pages and applications; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 180, but implemented separately through a communication chip.
[0162] The memory 170 can be used to store software programs and modules, and 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 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, a computer program required for at least one function, etc.; the data storage area can store data created according to the use of the water purification device 100, etc.
[0163] In addition, the memory 170 may include a high-speed random access memory 170, and may also include a non-volatile memory 170, such as at least one disk memory 170, a flash memory device, or other volatile solid-state memory 170. Accordingly, the memory 170 may also include a memory 170 controller to provide the processor 180 with access to the memory 170.
[0164] In this embodiment, the processor 180 in the water purification device 100 loads 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 program stored in the memory 170 to implement various functions, as follows:
[0165] Obtaining the total dissolved solids value of water in the pipeline of the water purification device 100;
[0166] Determine the target control parameters of the motor according to the total dissolved solids value;
[0167] The motor is controlled according to the target control parameter so that the speed of the motor is positively correlated with the total dissolved solids value.
[0168] Optionally, when the processor 180 determines the target control parameters of the motor according to the total dissolved solids value, it specifically executes: obtaining the control parameter table corresponding to the water purification equipment 100; constructing a query statement according to the total dissolved solids value; querying the control parameter table according to the query statement to obtain the target control parameters of the motor.
[0169] Optionally, when the processor 180 determines the target control parameters of the motor according to the total dissolved solids value, it specifically executes: obtaining a fitting function corresponding to the water purification device 100; and calculating according to the total dissolved solids value and the fitting function to obtain the target control parameters of the motor.
[0170] Optionally, before executing the acquisition of the total dissolved solids value of water in the pipeline of the water purification equipment 100, the processor 180 specifically executes the following steps: acquiring 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, and 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 filtration component 110 is in a preset state; fitting 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 passed, determining the function to be verified as the fitting function corresponding to the water purification equipment 100.
[0171] Optionally, the target control parameters include a target current loop gain parameter and a target speed loop gain parameter; when the processor 180 controls the motor according to the target control parameters so that the speed of the motor is positively correlated with the total dissolved solids value, it specifically executes: configuring the current loop proportional-integral regulator of the motor according to the target current loop gain parameter, and configuring the speed loop proportional-integral regulator of the motor according to the target speed loop gain parameter; controlling the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the speed of the motor is positively correlated with the total dissolved solids value.
[0172] Optionally, the water purification equipment 100 also includes a three-phase power platform for supplying power to the motor; when the processor 180 controls the motor based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the rotational speed of the motor is positively correlated with the total dissolved solids value, the processor 180 specifically executes: obtaining 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 a first α-axis reference voltage value and a first β-axis reference voltage value in a 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, so that the rotational speed of the motor is positively correlated with the total dissolved solids value.
[0173] Optionally, when the processor 180 performs 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, the processor 180 specifically performs the following: performing Clarke transformation based on the three-phase current sampling data to obtain the α-axis current current value and the β-axis current current value in the two-phase stationary coordinate system; determining the current rotor position and the current speed value of the motor based on the α-axis current current value and the β-axis current current value in the two-phase stationary coordinate system, and a predetermined second α-axis reference voltage value and a second β-axis reference voltage value in the two-phase stationary coordinate system; performing Parker transformation based on the α-axis current current value and the β-axis current current value in the two-phase stationary coordinate system, and the current rotor position of the motor to obtain the Q-axis current current in the two-phase rotating coordinate system. value, and D-axis current current value; 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, and the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional integral regulator is obtained; the Q-axis reference current value in the two-phase rotating coordinate system, the Q-axis current current value, the D-axis current current value, and the predetermined D-axis reference current value in the two-phase rotating coordinate system are input into the current loop proportional integral regulator for processing, and 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 regulator are obtained; based on the Q-axis reference voltage value and the D-axis reference voltage value in the two-phase rotating coordinate system, an inverse Parker transformation is performed, and the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system are obtained.
[0174] Optionally, the water purification equipment 100 includes a total dissolved solids sensor arranged in the water inlet pipe of the reverse osmosis filtration component 110; when the processor 180 executes the acquisition of the total dissolved solids value of water in the pipe of the water purification equipment 100, it specifically executes: acquiring the total dissolved solids value of water in the water inlet pipe of the reverse osmosis filtration component 110 collected by the total dissolved solids sensor.
[0175] Optionally, the water purification device 100 further includes a three-phase power platform for supplying power to the motor and / or a total dissolved solids sensor disposed in the water inlet pipeline of the reverse osmosis filtration assembly 110 .
[0176] The effects that can be achieved by this embodiment can be found in the relevant embodiments of the control method of the above-mentioned water purification equipment, which will not be repeated here.
[0177] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a control method for a water purification device provided in the above embodiment.
[0178] Among them, the water purification equipment and computer-readable storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0179] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A control method for a water purification device, characterized in that: The water purification device comprises a reverse osmosis filter assembly and a booster water pump corresponding to the reverse osmosis filter assembly, wherein the booster water pump comprises an impeller and a motor driving the impeller; the method comprises: Obtaining the total dissolved solids value of water in the pipeline of the water purification equipment; Determining target control parameters of the motor according to the total dissolved solids value; The motor is controlled according to the target control parameter so that the rotation speed of the motor is positively correlated with the total dissolved solids value.
2. The method according to claim 1, characterized in that Determining the target control parameter of the motor according to the total dissolved solids value includes: Obtaining a control parameter table corresponding to the water purification equipment; Constructing a query statement based on the total dissolved solids value; The control parameter table is queried according to the query statement to obtain the target control parameters of the motor.
3. The method according to claim 1, characterized in that Determining the target control parameter of the motor according to the total dissolved solids value includes: Obtaining a fitting function corresponding to the water purification device; Calculation is performed based on the total dissolved solids value and the fitting function to obtain target control parameters of the motor.
4. The method according to claim 3, characterized in that Before obtaining the total dissolved solids value of water in the pipeline of the water purification equipment, the method further includes: Acquire a plurality of first sample pairs and a plurality of second sample pairs, wherein the first sample pair includes a first total dissolved solid value sample and a corresponding first motor control parameter sample, and the second sample pair includes a second total dissolved solid value sample and a corresponding second motor control parameter sample, and the first total dissolved solid value sample, the first motor control parameter sample, the second total dissolved solid value sample, and the second motor control parameter sample are all collected when the reverse osmosis filtration component is in a preset state; Performing fitting processing on the plurality of 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 plurality of second samples to obtain a verification result; If the verification result indicates that the verification is passed, the function to be verified is determined as the fitting function corresponding to the water purification equipment.
5. The method according to claim 1, characterized in that The target control parameters include a target current loop gain parameter and a target speed loop gain parameter; and controlling the motor according to the target control parameters so that the rotation speed of the motor is positively correlated with the total dissolved solids value includes: The current loop proportional-integral regulator of the motor is configured according to the target current loop gain parameter, and the speed loop proportional-integral regulator of the motor is configured according to the target speed loop gain parameter; The motor is controlled based on the current loop proportional-integral regulator and the speed loop proportional-integral regulator so that the rotation speed of the motor is positively correlated with the total dissolved solids value.
6. The method according to claim 5, characterized in that The water purification device further includes a three-phase power platform for supplying power to the motor; the motor is controlled based on the current loop proportional integral regulator and the speed loop proportional integral regulator so that the rotation speed of the motor is positively correlated with the total dissolved solid value, including: Acquiring 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 a first α-axis reference voltage value and a first β-axis reference voltage value in a two-phase stationary coordinate system; A pulse width modulation signal is generated based on the first α-axis reference voltage value and the first β-axis reference voltage value in the two-phase stationary coordinate system, and the three-phase power platform is controlled by the pulse width modulation signal to supply power to the motor so that the rotation speed of the motor is positively correlated with the total dissolved solids value.
7. The method according to claim 6, characterized in that The data processing based on the three-phase current sampling data, the current loop proportional integral regulator, and the speed loop proportional integral regulator is performed to obtain a first α-axis reference voltage value and a first β-axis reference voltage value in a two-phase stationary coordinate system, including: Clarke transformation is performed based on the three-phase current sampling data to obtain the current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system; Determine the current rotor position and current speed value of the motor based on the current current value of the α-axis and the current current value of the β-axis in the two-phase stationary coordinate system, and the predetermined second α-axis reference voltage value and the second β-axis reference voltage value in the two-phase stationary coordinate system; Performing a Park transformation based on the current current value of the α-axis and the β-axis in the two-phase stationary coordinate system and the current rotor position of the motor to obtain the current current value of the Q-axis and the current current value of the D-axis in the two-phase rotating coordinate system; Inputting the current speed value of the motor and the predetermined reference speed value of the motor into the speed loop proportional-integral regulator for processing, and obtaining the Q-axis reference current value in the two-phase rotating coordinate system output by the speed loop proportional-integral regulator; Inputting the Q-axis reference current value, the Q-axis current current value, the D-axis current current value in the two-phase rotating coordinate system, and the predetermined D-axis reference current value in the two-phase rotating coordinate system into the current loop proportional-integral regulator for processing, and obtaining 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 regulator; Based on the Q-axis reference voltage value, the D-axis reference voltage value in the two-phase rotating coordinate system, and the current rotor position of the motor, an inverse Park 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 claim 1, characterized in that The water purification device comprises a total dissolved solids sensor arranged in the water inlet pipeline of the reverse osmosis filtration component; the method of obtaining the total dissolved solids value of water in the pipeline of the water purification device comprises: The total dissolved solids value of water in the water inlet pipeline of the reverse osmosis filtration component collected by the total dissolved solids sensor is obtained.
9. A water purification device, characterized in that: The water purification device includes a memory, a processor, a reverse osmosis filter component, and a booster water pump corresponding to the reverse osmosis filter component, and the booster water pump includes an impeller and a motor driving the impeller; The memory is used to store executable program code; The processor is used to call and run the executable program code from the memory, so that the water purification device executes the method according to any one of claims 1 to 8.
10. The method according to claim 9, characterized in that The water purification device also includes a three-phase power platform for supplying power to the motor and / or a total dissolved solids sensor arranged in the water inlet pipeline of the reverse osmosis filtration component.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Filter element fault diagnosis and classification method, water purifier and filter element fault diagnosis and classification device
CN120681902A
Water purification device control method, water purification device, and medium
WO2026097898A1