Water pump voltage determination method and device, water treatment equipment and storage medium
Patent Information
- Application Number
- CN202510193369.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-09
AI Technical Summary
Water pumps are prone to overload during operation in water treatment equipment, resulting in increased energy consumption and equipment damage.
By responding to the water withdrawal command, the water pump enters the working state, obtains its operating voltage, and obtains the water flow rate of the water supply pipeline when it is above the voltage threshold, and adjusts the water pump operation voltage to determine the maximum operating voltage.
Accurately determine the maximum operating voltage of the water pump during water withdrawal, avoid overloading, and improve equipment efficiency and reliability.
Smart Images

Figure CN119957480A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of water treatment equipment, and more specifically, to a method and device for determining a water pump voltage in the field of water treatment equipment, water treatment equipment and a storage medium. Background Art
[0002] Instant hot water treatment equipment has a heating device independent of the water tank. When the user takes hot water, the water flow is obtained from the external water source through the water pump, and is transported to the water supply pipe of the water treatment equipment. The heating device installed in the water supply pipe quickly heats the water to the set temperature and then directly discharges the water for the user to drink. In this process, it is inevitable that the water pump will be overloaded during operation. Summary of the invention
[0003] The present application provides a method, device, water treatment equipment and storage medium for determining a water pump voltage. The method can accurately determine the maximum operating voltage of the water pump during water intake.
[0004] In a first aspect, a method for determining a water pump voltage is provided, which is applied to a control component in a water treatment device, wherein the water treatment device comprises a water pump, the water pump is installed in a water supply pipeline of the water treatment device, and the water pump is connected to the control component; the method comprises: in response to a water intake instruction, controlling the water pump to enter a working state, and obtaining a first operating voltage of the water pump; if the first operating voltage is greater than a voltage threshold, obtaining a first water flow rate of the water supply pipeline at the first operating voltage; controlling the water pump to operate at a second operating voltage, and obtaining a second water flow rate of the water supply pipeline at the second operating voltage, the second operating voltage being greater than the first operating voltage; and determining a maximum operating voltage of the water pump during water intake based on the first water flow rate and the second water flow rate.
[0005] In a second aspect, a device for determining a water pump voltage is provided, which is applied to a water treatment device. The water treatment device includes a water pump, which is installed in a water supply pipeline of the water treatment device, and is connected to a control component. The device includes: a response unit, which is used to control the water pump to enter a working state in response to a water intake instruction, and obtain a first operating voltage of the water pump; an acquisition unit, which is used to obtain a first water flow rate of the water supply pipeline under the first operating voltage if the first operating voltage is greater than a voltage threshold; a control unit, which is used to control the water pump to operate at a second operating voltage, and obtain a second water flow rate of the water supply pipeline under the second operating voltage, wherein the second operating voltage is greater than the first operating voltage; and a determination unit, which is used to determine the maximum operating voltage of the water pump during water intake based on the first water flow rate and the second water flow rate.
[0006] In a third aspect, a water treatment device is provided, comprising: a memory for storing executable program code; and a control component for calling and running the executable program code from the memory, so that the water treatment device executes the method in the above-mentioned first aspect or any possible implementation method of the first aspect.
[0007] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0008] In a fifth 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 above-mentioned first aspect or any possible implementation manner of the first aspect.
[0009] The embodiment of the present application proposes a method for determining the voltage of a water pump. When the first operating voltage of the water pump is greater than a voltage threshold, a first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, and a second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application;
[0011] Figure 2 It is a flow chart of a method for determining water pump voltage provided in an embodiment of the present application;
[0012] Figure 3 It is a flow chart of a method for determining water pump voltage provided in an embodiment of the present application;
[0013] Figure 4 It is a flow chart of a method for determining water pump voltage provided in an embodiment of the present application;
[0014] Figure 5 It is a scenario schematic diagram of a method for determining water pump voltage provided in an embodiment of the present application;
[0015] Figure 6 It is a structural schematic diagram of a water pump voltage determination device provided in an embodiment of the present application;
[0016] Figure 7 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0018] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to 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.
[0019] Figure 1 It is a structural schematic diagram of a water treatment device provided in an embodiment of the present application. The water treatment device 1 includes a flow control component 2, a flow sensor 4, and a control component (not shown in the figure). A water pump 31, a heating component 32 (not shown in the figure), a flow sensor 4, and a flow control component 2 are installed in the water supply pipeline of the water treatment device, wherein the flow control component 2 is used to control the start of delivering water from an external water source to the water supply pipeline, the water outlet regulating component 3 is used to adjust the outlet water temperature in the water supply pipeline, and the flow sensor 4 is used to obtain the water flow rate in the water supply pipeline during water intake.
[0020] The water pump 31 generates negative pressure at the water inlet end through its internal mechanical structure, thereby transporting water from the external water source to the water supply pipeline of the water treatment equipment. In addition, the water pump 31 is adjustable, and the control component can adjust the water flow rate of the water treatment equipment by adjusting the operating voltage of the water pump 31.
[0021] The flow sensor 4 is used to detect the flow rate of water in the water supply pipeline. It can obtain the water flow rate in the water supply pipeline through different methods, including:
[0022] Differential pressure method: Calculate water flow by measuring the pressure difference generated when water flows in the water supply pipeline;
[0023] Electromagnetic method: Using Faraday's electromagnetic induction principle, the induced potential generated by water cutting magnetic lines of force is measured to calculate the water flow in the water supply pipeline;
[0024] Ultrasonic method: by transmitting and receiving ultrasonic signals, measuring the time difference of water flow to calculate the water flow in the water supply pipeline;
[0025] Vortex street method: When water flows in a water supply pipe, a vortex is formed behind the water supply pipe. The water flow rate in the water supply pipe is calculated by measuring the frequency of the vortex.
[0026] The heating component 32 is used to heat the water flow in the water supply pipeline. After the water flow in the water supply pipeline is heated by the heating component 32, it is output from the water treatment device through the water outlet 6 for users to drink. The water outlet 6 is located at the end of the water supply pipeline.
[0027] Optionally, the flow control assembly 2 may also include a solenoid valve 21 and a negative pressure valve 22 installed in the water supply pipeline. The solenoid valve 21 is generally composed of an electromagnet, a valve body, a valve core, a seal, etc., wherein the electromagnet is a device that generates a magnetic field, the valve body is the pipe part through which water flows, and the valve core is a moving part controlled by the electromagnet, which is used to open or close the water flow channel. The negative pressure valve 22 is a valve used to control the flow of water under negative pressure to prevent air or external substances from entering the pipeline system.
[0028] Optionally, the water treatment equipment also includes a temperature detection component, which is installed at the water outlet of the water supply pipeline to obtain the outlet water temperature of the outlet. The temperature detection component is connected to the control component to send the collected outlet water temperature to the control component so that the control component adjusts the operation of each component of the water treatment equipment (including the water pump and the heating component) according to the outlet water temperature.
[0029] Optionally, the control component of the water treatment device can be arranged in the accommodating chamber of the water treatment device, and the accommodating chamber can be located at the top of the body of the water treatment device. The control component is connected to the flow sensor, the heating component, and the water pump respectively, and the control component is used to process the relevant calculations and control logic in the water treatment device. For example, the water treatment device can also include physical control buttons, a touch screen, etc., and the control logic such as the start-up and temperature adjustment of the water treatment device can be controlled by the physical control buttons or the virtual buttons of the touch screen.
[0030] The water treatment equipment may also include a network module, which may be used to provide wireless network services or wired network services, such as wireless networks such as wireless local area networks (WLAN), local area networks (LAN), cellular networks, 2G networks, 3G networks, 4G networks, 5G networks, etc. When the network module is in a networked state, users can control the water discharge, water discharge stop or temperature adjustment functions of the water treatment equipment through mobile phones, tablets and other devices, thereby realizing remote control of the water treatment equipment. In addition, the water treatment equipment may also include a power supply, which may be electrically connected to the control component and the network module respectively, and is used to provide power to each component module.
[0031] It should be noted that Figure 1 The structural schematic diagram of the water treatment equipment shown is only an example. The structural schematic diagram of the water treatment equipment described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of water treatment equipment, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0032] like Figure 1 It can be seen from the structural schematic diagram that in the embodiment of the present application, the water source of the water treatment equipment is outside the water treatment equipment, that is, the water treatment equipment does not have a water tank to store drinking water. When the user needs to use the water treatment equipment to take hot water, he can input the water temperature and water volume, and then the water treatment equipment obtains water from its external water source, heats it to the water temperature set by the user, and then directly discharges water. There is no need to pre-heat the water or keep it warm for a long time, and it can be heated up when used.
[0033] In the related art, when the water flow rate in the water supply pipeline is less than the flow threshold, the water flow resistance increases, and the water pump needs to consume more energy to overcome these resistances, thus causing the water pump to be overloaded.
[0034] Based on this, the embodiment of the present application proposes a method for determining the voltage of a water pump. When the first operating voltage of the water pump is greater than the voltage threshold, the first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, and the second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined.
[0035] based on Figure 1 The structure shown is shown below. Figure 2-Figure 5 , the water pump voltage determination method provided in the embodiment of the present application is introduced in detail.
[0036] See also Figure 2 , is a flow chart of a method for determining a water pump voltage according to an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S104.
[0037] S101, in response to a water intake instruction, controlling a water pump to enter a working state and obtaining a first operating voltage of the water pump;
[0038] Specifically, the water intake instruction is an instruction for obtaining water flow treated by the water treatment device. It can be triggered by a hardware / software button on the water treatment device, or by a terminal device (such as a mobile terminal) connected to the water treatment device. When the control component receives the water intake instruction, it controls the water pump to enter the working state.
[0039] When the control component receives the water intake instruction, it obtains the voltage parameter when the water pump enters the working state, and controls the water pump to enter the working state according to the voltage parameter, wherein the voltage parameter is the maximum operating voltage when the water pump enters the working state. Optionally, when the control component receives the water intake instruction, it obtains the water output indicated by the water intake instruction, determines the voltage parameter of the water pump corresponding to the water output indicated by the water intake instruction, and controls the water pump to enter the working state based on the voltage parameter, so as to process (heat) the water flow from the external water source of the water treatment equipment for drinking by the user.
[0040] It can be understood that after the control component receives the water intake instruction, it controls the water outlet regulating component, solenoid valve, negative pressure valve, water pump, heating component, etc. to enter the working state, and transports the water flow in the external water source to the water supply pipeline to heat the water flow in the external water source.
[0041] In one embodiment, after the water pump enters the working state, the control component can obtain the first operating voltage of the water pump through a voltage measuring instrument.
[0042] S102, if the first operating voltage is greater than the voltage threshold, obtaining a first water flow rate of the water supply pipeline under the first operating voltage;
[0043] In one embodiment, when it is determined that the first operating voltage is greater than the voltage threshold, it is determined that the water pump may be overloaded, and thus the maximum operating voltage of the water pump needs to be adjusted to avoid overloading the water pump. The voltage threshold is a voltage value pre-set to determine whether the water pump may be overloaded, which is determined according to the type of water pump of the water treatment equipment. In the embodiment of the present application, the voltage threshold may be 23.5 volts (V).
[0044] Further, after determining that the first operating voltage of the water pump is greater than the voltage threshold, the first water flow rate of the water supply pipeline under the first operating voltage is obtained through the flow sensor installed in the water supply pipeline. It can be understood that the first water flow rate is the water flow rate actually delivered from the external water source to the water supply pipeline after the water pump enters the working state. It can be understood that when there is water flow in the water supply pipeline, the blades of the flow sensor rotate with the flow of water, thereby generating a pulse signal. The flow sensor can send the generated pulse signal to the control component, and then the control component calculates the first water flow rate based on the frequency of the received pulse signal; after the flow sensor generates a pulse signal, it can also calculate the first water flow rate based on the generated pulse signal, and then send the first water flow rate to the control component.
[0045] S103, controlling the water pump to operate at a second operating voltage, obtaining a second water flow rate of the water supply pipeline at the second operating voltage, the second operating voltage being greater than the first operating voltage;
[0046] In one embodiment, when the control component determines that the first operating voltage is greater than the voltage threshold, it obtains the first water flow rate of the water supply pipeline under the first operating voltage, obtains the second operating voltage of the water pump, and obtains the second water flow rate of the water supply pipeline under the second operating voltage.
[0047] Optionally, in the embodiment of the present application, the second operating voltage is proportional to the first operating voltage, for example, the second operating voltage may be equal to n*first operating voltage, where n is greater than 1. Exemplarily, n is 1.05, and when the first operating voltage is 23.6, the second operating voltage is 35.4.
[0048] Optionally, in an embodiment of the present application, after controlling the water pump to operate at the second operating voltage, starting the timer to determine when the operating time of the water pump at the second operating voltage reaches a first time threshold, obtaining the second water flow rate of the water supply pipeline at the second operating voltage. The second water flow rate at the second operating voltage can be obtained when the water pump maintains stable operation at the second operating voltage, thereby avoiding the problem of inaccurate second water flow rate obtained when the operating voltage of the water pump changes. By way of example, in an embodiment of the present application, the first time threshold can be 1 second.
[0049] S104, determining a maximum operating voltage of the water pump during water intake based on the first water flow rate and the second water flow rate.
[0050] In one embodiment, after obtaining a first water flow rate of the water supply pipeline at a first operating voltage of the water pump and a second water flow rate of the water supply pipeline at a second operating voltage of the water pump, the control component further determines the maximum operating voltage of the water pump during water extraction based on the first water flow rate and the second water flow rate.
[0051] In the embodiment of the present application, when the first operating voltage of the water pump is greater than the voltage threshold, the first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, the second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined.
[0052] See also Figure 3 , is a flow chart of a method for determining a water pump voltage according to an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201-S207.
[0053] S201, in response to a water intake instruction, controlling a water pump to enter a working state and obtaining a first operating voltage of the water pump;
[0054] S202, if the first operating voltage is greater than the voltage threshold, obtaining a first water flow rate of the water supply pipeline under the first operating voltage;
[0055] S203, controlling the water pump to operate at a second operating voltage, obtaining a second water flow rate of the water supply pipeline at the second operating voltage, the second operating voltage being greater than the first operating voltage;
[0056] For details, please refer to the description of steps S101-S103 in the above-mentioned embodiment of the specification, which will not be elaborated here.
[0057] S204, determining a flow rate difference between the second water flow rate and the first water flow rate;
[0058] S205, determining a flow rate change rate of the water supply pipeline based on the flow rate difference and the first water flow rate;
[0059] In one embodiment, after obtaining the first water flow rate, after obtaining the first water flow rate and the second water flow rate, the flow difference between the first water flow rate and the second water flow rate is obtained, and then the flow change rate of the water flow in the water supply pipe when the operating voltage of the water pump is adjusted from the first operating voltage to the second operating voltage is determined by the flow difference and the first water flow rate. Wherein the flow change rate v = (second water flow rate n2-first water flow rate n1) / first water flow rate n1;
[0060] Furthermore, the flow change rate includes an increasing change rate and a decreasing change rate, wherein the increasing change rate is the flow change rate when the flow change rate is a positive value, that is, the second water flow rate is greater than or equal to the first water flow rate; the decreasing change rate is the flow change rate when the flow change rate is a negative value, that is, the second water flow rate is less than the first water flow rate.
[0061] Exemplarily, the control component controls the water pump to enter a working state in response to a water intake instruction. If the first operating voltage of the water pump is 23.6V, which is greater than the voltage threshold, the first water flow rate of the water supply pipeline at the first operating voltage of 23.6V is obtained through a flow sensor installed in the water supply pipeline, which is 350 milliliters / minute (ml / min). Then, based on the first operating voltage, the second operating voltage of the water pump is obtained, wherein the second operating voltage is 1.05*the first operating voltage, and the second operating voltage of the water pump is 35.4. The water pump is controlled to operate according to the second operating voltage. If the second water flow rate of the water supply pipeline at the second operating voltage of 35.4V is 400ml / min, the flow change rate v is determined to be 14.3% ((400-350) / 350); if the second water flow rate of the water supply pipeline at the second operating voltage of 35.4V is 320ml / min, the flow change rate v is determined to be -42% ((200-350) / 350).
[0062] S206, determining a rising interval threshold corresponding to the rising change rate, and determining a maximum operating voltage of the water pump based on the rising interval threshold;
[0063] S207, determining a decreasing interval threshold value corresponding to the decreasing change rate, and reducing the maximum operating voltage of the water pump based on the decreasing interval threshold value.
[0064] Furthermore, in an embodiment of the present application, after obtaining the flow change rate of the water supply pipeline when the operating voltage of the water pump rises from a first operating voltage to a second operating voltage, the rising interval threshold or the falling interval threshold corresponding to the flow change rate is determined, and then the maximum operating voltage of the water pump is determined based on the rising interval threshold or the falling interval threshold.
[0065] Optionally, in the embodiment of the present application, determining a rising interval threshold corresponding to the rising change rate, and determining the maximum operating voltage of the water pump based on the rising interval threshold includes:
[0066] S301, if the rising interval threshold is the first rising threshold, determine to increase the maximum operating voltage of the water pump to the first voltage threshold;
[0067] S302, if the rising interval threshold is the second rising threshold, determine to increase the maximum operating voltage of the water pump to the second voltage threshold;
[0068] S303: If the rising interval threshold is the third rising threshold, determine to reduce the maximum operating voltage of the water pump to a third voltage threshold, wherein the first voltage threshold is greater than the second voltage threshold, and the second voltage threshold is greater than the third voltage threshold.
[0069] In the embodiment of the present application, the threshold values of the first rising threshold, the second rising threshold, and the third rising threshold can be set according to the type of the water pump and / or specific usage requirements.
[0070] Optionally, in the embodiment of the present application, the first rising threshold is greater than or equal to 5%, the second rising threshold is greater than or equal to 2% and less than 5%, and the third rising threshold is less than 2%. Thus, the corresponding maximum operating voltage can be determined based on the rising interval threshold corresponding to the rising change rate.
[0071] Optionally, in this embodiment, the first voltage threshold corresponding to the first rising threshold may be less than or equal to 25.85V; the second voltage threshold corresponding to the second rising threshold may be less than or equal to 23.5V; and the third voltage threshold corresponding to the third rising threshold may be less than or equal to 21.15V.
[0072] Exemplarily, if the flow change rate v is determined to be 14.3% (rising change rate), the flow change rate v14.3% is greater than or equal to 5%, the interval corresponding to the flow change rate is determined to be the first rising interval, and then the first voltage threshold corresponding to the first rising interval is determined to be the maximum operating voltage of the water pump.
[0073] It can be understood that in the embodiment of the present application, when the operating voltage of the water pump is adjusted from the first operating voltage to the second operating voltage, if the flow change rate of the water supply pipeline is at the first rising threshold value, it means that the water flow rate in the water supply pipeline increases with the increase of the operating voltage, and the increase is large, and the water supply pipeline meets the larger water flow demand, then the operating voltage of the water pump can be appropriately increased; if the flow change rate of the water supply pipeline is at the second rising threshold value, it means that the water flow rate in the water supply pipeline increases slightly with the increase of the operating voltage, then it is determined that the water supply pipeline meets the current water flow demand of the water pump operation, then it is determined to maintain the current maximum operating voltage; if the flow change rate of the water supply pipeline is at the third rising threshold value, the water flow rate in the water supply pipeline increases less with the increase of the operating voltage, and the water flow rate in the water supply pipeline cannot meet the current maximum operating voltage of the water pump, then the maximum operating voltage of the water pump is reduced, that is, the maximum operating voltage of the water pump is controlled to be the third voltage threshold.
[0074] Further, in the embodiment of the present application, if it is determined that the flow rate change rate has not decreased, a decreasing interval threshold corresponding to the decreasing change rate is determined, and then the maximum operating voltage of the water pump is reduced based on the decreasing interval threshold.
[0075] Optionally, in the embodiment of the present application, there may be one or more decreasing interval thresholds. When there are multiple decreasing interval thresholds, each decreasing interval threshold corresponds to a voltage threshold.
[0076] Optionally, when the descending interval threshold is the first descending threshold, the maximum operating voltage of the water pump corresponding to the first descending threshold is determined to be the fourth voltage threshold, wherein the first descending threshold and the fourth voltage threshold can be determined based on the water pump type or specific usage requirements.
[0077] Exemplarily, the first decreasing threshold is less than or equal to -20%, and the fourth voltage threshold is less than or equal to 18.8V. Referring to the above description, if the flow change rate v is determined to be -42%, which is the decreasing change rate, and the decreasing interval threshold of the decreasing change rate is the first decreasing threshold, the maximum operating voltage corresponding to the first decreasing threshold is determined to be less than or equal to 18.8V.
[0078] It can be understood that in the embodiment of the present application, when the operating voltage of the water pump is adjusted from the first operating voltage to the second operating voltage, if the flow change rate of the water supply pipeline is at the first decreasing threshold value, it means that the water flow rate in the water supply pipeline decreases with the increase of the operating voltage, and the decrease is large, which means that the water flow rate in the water supply pipeline cannot meet the current maximum operating voltage of the water pump, and the maximum operating voltage needs to be reduced to avoid overload of the water pump.
[0079] Further, when it is determined that the flow rate change rate is a decreasing rate of change, and the decreasing interval threshold corresponding to the decreasing rate of change is the first decreasing threshold, the water pump is controlled to operate according to the fourth voltage threshold corresponding to the first decreasing threshold value, until the water extraction end instruction is received or the water output is equal to the water extraction amount indicated by the water extraction instruction, and it is determined that the water extraction is completed, wherein the water extraction end instruction is a user input instruction for controlling the water treatment equipment to end water discharge. When the flow rate change rate is a decreasing rate of change, the water pump is controlled to operate according to the fourth voltage threshold corresponding to the first decreasing threshold value, until the water discharge is completed, and the maximum operating voltage of the water pump is controlled within the fourth voltage threshold, so as to avoid the problem of overload of the water pump during the water discharge process, and there is no need to adjust the maximum operating voltage of the water pump multiple times, thereby reducing computing loss.
[0080] In an embodiment of the present application, the flow change rate of the water supply pipeline is determined by the flow difference between the second water flow rate and the first water flow rate, and then the maximum operating voltage of the water pump during water intake is determined based on the flow change rate. Since the maximum operating voltage of the water pump is determined by the change rate between the water flow rates at different operating voltages, the change of the water flow in the water supply pipeline can be accurately reflected, thereby improving the accuracy of determining the maximum operating voltage of the water pump; and through the rising interval threshold of the rising change rate, the corresponding voltage threshold is determined as the maximum operating voltage of the water pump, and the voltage threshold corresponding to the rising interval threshold can be determined without calculation, thereby improving the accuracy of determining The invention discloses a method for determining the rate at which the maximum operating voltage of the water pump is determined; and through the decreasing interval threshold value of the decreasing change rate, the voltage threshold corresponding to the decreasing interval threshold value is determined as the maximum operating voltage of the water pump. The voltage threshold corresponding to the decreasing interval threshold value can be determined without calculation, thereby improving the rate at which the maximum operating voltage of the water pump is determined; when the flow rate change rate is the decreasing change rate, the water pump is controlled to operate according to the fourth voltage threshold value corresponding to the first decreasing threshold value, wherein the maximum operating voltage is controlled to be within the fourth voltage threshold value, thereby avoiding the problem of overload of the water pump during the water discharge process, and there is no need to adjust the maximum operating voltage of the water pump multiple times, thereby reducing the calculation loss.
[0081] See also Figure 4 , is a flow chart of a method for determining a water pump voltage according to an embodiment of the present application. Figure 4 As shown, the method of the embodiment of the present application may include the following steps S401-S403.
[0082] S401, in response to a water intake instruction, controlling a water pump to enter a working state;
[0083] S402, obtaining a flow rate change rate of water flow in the water supply pipeline within a second time threshold;
[0084] S403: If the flow rate change rate is a decreasing change rate and the flow rate change rate is less than the change rate threshold, it is determined that the maximum operating voltage of the water pump is reduced to the voltage threshold.
[0085] Specifically, the water intake instruction is an instruction for obtaining water flow treated by the water treatment device. It can be triggered by a hardware / software button on the water treatment device, or by a terminal device (such as a mobile terminal) connected to the water treatment device. When the control component receives the water intake instruction, it controls the water pump to enter the working state.
[0086] After the water pump enters the working state, the control component obtains the flow change rate of the water flow in the water supply pipeline within the second time threshold through the flow sensor, and then determines the maximum operating voltage of the water pump through the flow change rate, where the flow change rate v = (second water flow rate n2-first water flow rate n1) / first water flow rate n1.
[0087] Specifically, the second duration threshold may be 5 seconds, the change rate threshold may be -20%, and the voltage threshold may be less than or equal to 18.8V.
[0088] It can be understood that in the embodiment of the present application, when the operating voltage of the water pump is adjusted from the first operating voltage to the second operating voltage, if the flow change rate of the water supply pipeline is at the first decreasing threshold value, it means that the water flow rate in the water supply pipeline decreases with the increase of the operating voltage, and the decrease is large, which means that the water flow rate in the water supply pipeline cannot meet the current maximum operating voltage of the water pump, and the maximum operating voltage needs to be reduced to avoid overload of the water pump.
[0089] Further, if it is determined that the flow rate change rate is a decreasing change rate and is greater than a change rate threshold, it is determined that the water pump maintains the current maximum operating voltage to operate.
[0090] In an embodiment of the present application, by obtaining the flow change rate of the water supply pipeline within the second time length threshold that is less than the change rate threshold, it is determined that the water flow rate in the water supply pipeline is rapidly reduced, and the maximum operating voltage of the water pump is reduced to the voltage threshold, which can effectively avoid excessive load on the water pump.
[0091] The following will be combined Figure 5 A specific example is provided, which is a schematic diagram of a scenario of a method for determining a water pump voltage provided in an embodiment of the present application.
[0092] S1, in response to the water intake instruction, control the water pump to operate at the first operating voltage; S2, obtain the first water flow rate; S3, control the water pump to operate at the second operating voltage; S4, obtain the second water flow rate; S5, obtain the flow rate change rate between the first water flow rate and the second water flow rate; S6, whether the flow rate change rate is an increasing change rate; S7, if the flow rate change rate is an increasing change rate, and the increasing interval threshold corresponding to the increasing change rate is the first increasing threshold, then determine to increase the maximum operating voltage of the water pump to the first voltage threshold; S8, if the flow rate change rate is an increasing change rate, and the increasing interval threshold corresponding to the increasing change rate is the second increasing threshold, then determine to increase the maximum operating voltage of the water pump to the second voltage threshold; S9, if the flow rate change rate is an increasing change rate, and the increasing interval threshold corresponding to the increasing change rate is the third increasing threshold, then determine to reduce the maximum operating voltage of the water pump to the third voltage threshold; S10, if the flow rate change rate is a decreasing change rate, and the decreasing interval threshold corresponding to the decreasing change rate is the first decreasing threshold, then determine to reduce the maximum operating voltage of the water pump to the fourth voltage threshold.
[0093] The embodiment of the present application proposes a method for determining the voltage of a water pump. When the first operating voltage of the water pump is greater than a voltage threshold, a first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, and a second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined.
[0094] based on Figure 1 The structural diagram of Figure 6 , the water pump voltage determination device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 6 The water pump voltage determination device in the present application is used to implement Figure 2-Figure 5 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 2-Figure 5 Specifically, the water pump voltage determination device 1 comprises:
[0095] A response unit 11 is used to control the water pump to enter a working state and obtain a first operating voltage of the water pump in response to a water intake instruction;
[0096] An acquisition unit 12, configured to acquire a first water flow rate of the water supply pipeline under the first operating voltage if the first operating voltage is greater than a voltage threshold;
[0097] A control unit 13, used to control the water pump to operate according to a second operating voltage, and obtain a second water flow rate of the water supply pipeline under the second operating voltage, wherein the second operating voltage is greater than the first operating voltage;
[0098] The determination unit 14 is used to determine the maximum operating voltage of the water pump during the water intake period based on the first water flow rate and the second water flow rate.
[0099] Optionally, the determining unit 14 includes:
[0100] A first determining subunit 141 is used to determine a flow difference between the second water flow and the first water flow;
[0101] A second determining subunit 142, configured to determine a flow rate change rate of the water supply pipeline based on the flow rate difference and the first water flow rate;
[0102] The third determining subunit 143 is used to determine the maximum operating voltage of the water pump during the water intake period based on the flow rate change rate.
[0103] Optionally, the third determining subunit 143 is specifically configured to:
[0104] Determine a rising interval threshold value corresponding to the rising change rate, and determine the maximum operating voltage of the water pump based on the rising interval threshold value; and / or,
[0105] A decreasing interval threshold value corresponding to the decreasing change rate is determined, and the maximum operating voltage of the water pump is reduced based on the decreasing interval threshold value.
[0106] Optionally, the third determining subunit 143 is specifically configured to:
[0107] If the rising interval threshold is the first rising threshold, determining to increase the maximum operating voltage of the water pump to the first voltage threshold;
[0108] If the rising interval threshold is the second rising threshold, determining to increase the maximum operating voltage of the water pump to the second voltage threshold;
[0109] If the rising interval threshold is the third rising threshold, it is determined to reduce the maximum operating voltage of the water pump to a third voltage threshold, wherein the first voltage threshold is greater than the second voltage threshold, and the second voltage threshold is greater than the third voltage threshold.
[0110] Optionally, the third determining subunit 143 is specifically configured to:
[0111] If the decreasing interval threshold is the first decreasing threshold, it is determined that the maximum operating voltage of the water pump is reduced to a fourth voltage threshold.
[0112] Optionally, the third determining subunit 143 is further configured to:
[0113] The water pump is controlled to operate according to the maximum operating voltage being the fourth voltage threshold until water extraction is completed.
[0114] Optionally, the control unit 13 specifically includes:
[0115] The control subunit 131 is configured to obtain a second water flow rate of the water supply pipeline if the operating time of the water pump operating at the second operating voltage reaches a first time threshold.
[0116] Optionally, the device for determining the water pump voltage further comprises:
[0117] A state control unit, used for controlling the water pump to enter a working state in response to a water intake instruction;
[0118] A change rate acquisition unit, used to acquire a flow rate change rate of water flow in the water supply pipeline within a second time threshold;
[0119] The voltage determination unit is used to determine that the maximum operating voltage of the water pump is reduced to a voltage threshold if the flow rate change rate is a decreasing change rate and the flow rate change rate is less than a change rate threshold.
[0120] The embodiment of the present application proposes a method for determining the voltage of a water pump. When the first operating voltage of the water pump is greater than a voltage threshold, a first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, and a second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined.
[0121] See also Figure 7 , which is a schematic diagram of the structure of a water treatment device provided in the embodiment of the present application. Figure 7 As shown, the water treatment device 500 includes a control component 501 and a memory 502. The control component 501 is electrically connected to the memory 502.
[0122] The control component 501 is the control center of the water treatment device 500, and may include one or more processing cores. The control component 501 uses various interfaces and lines to connect the various parts of the entire water treatment device 500, and executes various functions and processes data of the water treatment device 500 by running or calling the computer program stored in the memory 502, and calling the data stored in the memory 502, so as to control the water treatment device 500 as a whole. Optionally, the control component 501 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 control component 501 can integrate one or more combinations of CPU, graphics processing unit (GPU), modem, etc. Among them, the CPU mainly processes the operating system, user pages, and applications, etc.; the GPU is responsible for rendering and drawing the display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the control component 501, and may be implemented separately through a communication chip.
[0123] The memory 502 can be used to store software programs and modules, and the control component 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 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 treatment device 500, etc.
[0124] In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the control component 501 with access to the memory 502.
[0125] In this embodiment, the control component 501 in the water treatment device 500 will load the instructions corresponding to the processes of one or more computer programs into the memory 502 according to the following steps, and the control component 501 will run the computer program stored in the memory 502 to achieve various functions, as follows:
[0126] In response to the water fetching instruction, the water pump is controlled to enter a working state, and a first operating voltage of the water pump is obtained;
[0127] If the first operating voltage is greater than the voltage threshold, obtaining a first water flow rate of the water supply pipeline under the first operating voltage;
[0128] Controlling the water pump to operate at a second operating voltage to obtain a second water flow rate of the water supply pipeline at the second operating voltage, wherein the second operating voltage is greater than the first operating voltage;
[0129] The maximum operating voltage of the water pump during the water intake period is determined based on the first water flow rate and the second water flow rate.
[0130] Optionally, when the control component 501 determines the maximum operating voltage of the water pump during the water intake period based on the first water flow rate and the second water flow rate, the control component 501 specifically performs:
[0131] determining a flow rate difference between a second water flow rate and a first water flow rate;
[0132] determining a flow rate change rate of the water supply pipeline based on the flow rate difference and the first water flow rate;
[0133] The maximum operating voltage of the pump during water withdrawal is determined based on the flow rate change rate.
[0134] Optionally, the flow rate change rate includes an increasing change rate and a decreasing change rate. When the control component 501 determines the maximum operating voltage of the water pump during the water intake period based on the flow rate change rate, the control component 501 specifically performs:
[0135] Determine a rising interval threshold value corresponding to the rising change rate, and determine the maximum operating voltage of the water pump based on the rising interval threshold value; and / or,
[0136] A decreasing interval threshold value corresponding to the decreasing change rate is determined, and the maximum operating voltage of the water pump is reduced based on the decreasing interval threshold value.
[0137] Optionally, when the control component 501 determines the maximum operating voltage of the water pump based on the rising interval threshold, it specifically performs:
[0138] If the rising interval threshold is the first rising threshold, determining to increase the maximum operating voltage of the water pump to the first voltage threshold;
[0139] If the rising interval threshold is the second rising threshold, determining to increase the maximum operating voltage of the water pump to the second voltage threshold;
[0140] If the rising interval threshold is the third rising threshold, it is determined to reduce the maximum operating voltage of the water pump to the third voltage threshold, wherein any value of the first voltage threshold is greater than any value of the second voltage threshold, and any value of the second voltage threshold is greater than any value of the third voltage threshold.
[0141] Optionally, when the control component 501 reduces the maximum operating voltage of the water pump based on the falling interval threshold, it specifically performs:
[0142] If the decreasing interval threshold is the first decreasing threshold, it is determined that the maximum operating voltage of the water pump is reduced to a fourth voltage threshold.
[0143] Optionally, after determining that the maximum operating voltage of the water pump is reduced to the fourth voltage threshold, the control component 501 may further execute:
[0144] The water pump is controlled to operate according to the maximum operating voltage being the fourth voltage threshold until water extraction is completed.
[0145] Optionally, when the control component 501 executes the acquisition of the second water flow rate of the water supply pipeline under the second operating voltage, it specifically executes:
[0146] If the operating time of the water pump operating at the second operating voltage reaches a first time threshold, a second water flow rate of the water supply pipeline is obtained.
[0147] Optionally, the control component 501 may also execute:
[0148] In response to the water taking instruction, controlling the water pump to enter the working state;
[0149] Obtaining a flow rate change rate of water flow in the water supply pipeline within a second time threshold;
[0150] If the flow rate change rate is a decreasing change rate, and the flow rate change rate is less than the change rate threshold, it is determined that the maximum operating voltage of the water pump is reduced to the voltage threshold.
[0151] The embodiment of the present application proposes a method for determining the voltage of a water pump. When the first operating voltage of the water pump is greater than a voltage threshold, a first water flow rate of the water supply pipeline at the first operating voltage is obtained, the water pump is controlled to operate according to the second operating voltage, and a second water flow rate of the water supply pipeline at the second operating voltage is obtained, and then the maximum operating voltage of the water pump during the water intake period is determined by the first water flow rate and the second water flow rate. The maximum operating voltage of the water pump is determined by obtaining the water flow rate of the water supply pipeline at different operating voltages of the water pump. Since the maximum operating voltage of the water pump is determined based on the actual water flow rate at different operating voltages during the water intake period, the maximum operating voltage of the water pump during the water intake period can be accurately determined.
[0152] It should be understood that the device provided in the embodiment of the present application is used to execute the above-mentioned method for determining the water pump voltage, and thus can achieve the same effect as the above-mentioned implementation method.
[0153] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a water treatment device, the processing module may be used to control and manage the actions of the water treatment device. The storage module may be used to support the water treatment device in executing related program codes, etc.
[0154] The processing module may be a control component or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present application. The control component may also be a combination that implements a computing function, such as a combination of one or more microcontroller components, a combination of digital signal processing (DSP) and microcontroller components, etc. The storage module may be a memory.
[0155] In addition, the device provided in the embodiment of the present application can specifically be a chip, a component or a module, and the chip may include a connected control component and a memory; wherein the memory is used to store instructions, and when the control component calls and executes the instructions, the chip can execute a water pump voltage determination method provided in the above embodiment.
[0156] 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 water pump voltage determination method provided in the above embodiment.
[0157] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for determining a water pump voltage provided in the above embodiment.
[0158] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0159] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0160] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0161] 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 method for determining a water pump voltage, characterized in that: A control component used in a water treatment device, wherein the water treatment device comprises a water pump, the water pump is installed in a water supply pipeline of the water treatment device, and the water pump is connected to the control component; The method comprises: In response to the water fetching instruction, controlling the water pump to enter a working state, and obtaining a first operating voltage of the water pump; If the first operating voltage is greater than a voltage threshold, obtaining a first water flow rate of the water supply pipeline under the first operating voltage; Controlling the water pump to operate at a second operating voltage to obtain a second water flow rate of the water supply pipeline at the second operating voltage, wherein the second operating voltage is greater than the first operating voltage; A maximum operating voltage of the water pump during water intake is determined based on the first water flow rate and the second water flow rate.
2. The method according to claim 1, characterized in that The determining the maximum operating voltage of the water pump during water intake based on the first water flow rate and the second water flow rate includes: determining a flow rate difference between the second water flow rate and the first water flow rate; determining a flow rate change rate of the water supply pipeline based on the flow rate difference and the first water flow rate; The maximum operating voltage of the water pump during the water intake period is determined based on the flow rate change rate.
3. The method according to claim 2, characterized in that The flow rate change rate includes an increasing change rate and a decreasing change rate, and determining the maximum operating voltage of the water pump during the water intake period based on the flow rate change rate includes: Determine a rising interval threshold value corresponding to the rising change rate, and determine the maximum operating voltage of the water pump based on the rising interval threshold value; and / or, A decreasing interval threshold value corresponding to the decreasing change rate is determined, and a maximum operating voltage of the water pump is reduced based on the decreasing interval threshold value.
4. The method according to claim 3, characterized in that The determining the maximum operating voltage of the water pump based on the rising interval threshold comprises: If the rising interval threshold is the first rising threshold, determining to increase the maximum operating voltage of the water pump to the first voltage threshold; If the rising interval threshold is the second rising threshold, determining to increase the maximum operating voltage of the water pump to the second voltage threshold; If the rising interval threshold is the third rising threshold, it is determined to reduce the maximum operating voltage of the water pump to the third voltage threshold, wherein any value of the first voltage threshold is greater than any value of the second voltage threshold, and any value of the second voltage threshold is greater than any value of the third voltage threshold.
5. The method according to claim 3, characterized in that: The reducing the maximum operating voltage of the water pump based on the decreasing interval threshold comprises: If the decreasing interval threshold is the first decreasing threshold, it is determined that the maximum operating voltage of the water pump is reduced to a fourth voltage threshold.
6. The method according to claim 5, characterized in that After determining that the maximum operating voltage of the water pump is reduced to a fourth voltage threshold, the method further includes: The water pump is controlled to operate according to the maximum operating voltage being a fourth voltage threshold until water extraction is completed.
7. The method according to any one of claims 1 to 6, characterized in that: The obtaining of a second water flow rate of the water supply pipeline under the second operating voltage includes: If the operating time of the water pump operating at the second operating voltage reaches a first time threshold, a second water flow rate of the water supply pipeline is obtained.
8. The method according to claim 1, characterized in that The method further comprises: In response to a water intake instruction, controlling the water pump to enter a working state; Acquire the flow rate change rate of the water flow rate of the water supply pipeline within a second time threshold; If the flow rate change rate is a decreasing change rate, and the flow rate change rate is less than the change rate threshold, it is determined that the maximum operating voltage of the water pump is reduced to the voltage threshold.
9. A device for determining a water pump voltage, characterized in that: Applied to water treatment equipment, the water treatment equipment comprises a water pump, the water pump is installed in the water supply pipeline of the water treatment equipment, and the water pump is connected to the control component; The device comprises: A response unit, configured to control the water pump to enter a working state and obtain a first operating voltage of the water pump in response to a water intake instruction; an acquisition unit, configured to acquire a first water flow rate of the water supply pipeline under the first operating voltage if the first operating voltage is greater than a voltage threshold; a control unit, configured to control the water pump to operate at a second operating voltage, and obtain a second water flow rate of the water supply pipeline at the second operating voltage, wherein the second operating voltage is greater than the first operating voltage; A determination unit is used to determine the maximum operating voltage of the water pump during water intake based on the first water flow rate and the second water flow rate.
10. A water treatment device, characterized in that: The water treatment equipment comprises: A memory for storing executable program codes; A control component, used for calling and running the executable program code from the memory, so that the water treatment equipment executes the method according to any one of claims 1 to 8.
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.