Flow rate confirmation method, control method and device, storage medium and water treatment device
By obtaining the flow rate and driving voltage of the instant-hot water dispenser and calculating the flow rate change value, the problems of large error in the instant-hot water dispenser and inaccurate temperature are solved, and the accuracy of quantitative water effluent and temperature control is achieved.
Patent Information
- Application Number
- CN202310918027.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-02-15
AI Technical Summary
In existing instant water dispensers, the change in the flow rate when the water pump drive voltage changes is not considered, resulting in large errors in the calculation of water discharge volume, affecting the accuracy of the quantitative water discharge and water discharge temperature.
By obtaining the flow rate at the first moment and the driving voltage at the second moment, the target flow rate is determined, and the flow rate change value within the preset time is calculated based on the flow rate change rate, and the water quantity is accurately calculated.
It improves the accuracy of water effluent and the stability of water effluent temperature, ensuring the accuracy of quantitative water effluent and temperature control of instant-hot water dispenser.
Smart Images

Figure CN116687210B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application with an application date of February 15, 2022, application number "202210139238.7", and invention name "Control method and device for water treatment device, storage medium and water treatment device", and all its contents are incorporated into this application by reference. Technical Field
[0002] The present invention relates to the field of instant heating technology, and in particular to a flow rate confirmation method, a control method and device, a storage medium, and a water treatment device. Background Art
[0003] In the related art, in instant hot water dispensers, water is pumped to the instant heating device for heating by controlling a water pump.
[0004] In the existing technology, instant hot water dispensers all calculate the actual water output of the water treatment device according to the correspondence between the preset voltage and flow rate of the water supply device. This does not take into account the change in water flow rate when the water pump adjusts the driving voltage, resulting in a large error in the calculated actual water output. Summary of the Invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0006] To this end, a first aspect of the present invention provides a control method for a water treatment device.
[0007] A second aspect of the present invention provides a control device for a water treatment device.
[0008] A third aspect of the present invention provides another control device for a water treatment device.
[0009] A fourth aspect of the present invention provides a readable storage medium.
[0010] A fifth aspect of the present invention provides a water treatment device.
[0011] In view of this, the first aspect of the present invention provides a control method for a water treatment device, the control method comprising: obtaining a first water flow velocity at a first moment; obtaining a driving voltage at a second moment, and determining a target flow velocity at the second moment based on the driving voltage, wherein the first moment and the second moment are separated by a preset time length; determining a flow velocity change value within the preset time length, the flow velocity change value being associated with the preset time length; determining a second water flow velocity at the second moment based on the flow velocity change value and the target flow velocity; and determining the water output within the preset time length based on the first water flow velocity, the second water flow velocity and the preset time length.
[0012] In this technical solution, the water treatment device includes but is not limited to an instant hot water dispenser, which is provided with a water inlet pipe, a water outlet pipe, a water pump, an instant hot water device and a water storage member. The water storage member is used to store water to be treated. The water inlet end of the instant hot water device is connected to the water inlet pipe, the water outlet end of the instant hot water device is connected to the water outlet pipe, the water storage member is connected to the instant hot water device through the water inlet pipe, and the water pump is installed on the water inlet pipe. When the water pump is powered on, the water stored in the water storage member can be pumped to the instant hot water device. The operation of the instant hot water device can heat the cold water, and the heated hot water is output through the water outlet pipe.
[0013] The water flow rate and water output of the water treatment device are related to the operating state of the water supply device. When the driving voltage of the water supply device changes, the water supply device does not instantly discharge water according to the flow rate and water output corresponding to the new driving voltage, but there is a process of flow rate change. Specifically, when the driving voltage of the water supply device increases, the flow rate of the water supply device is in an upward state, and when the driving voltage of the water supply device decreases, the flow rate of the water supply device is in a downward state. Among them, the water supply device can be selected as a water pump, specifically a DC water pump, which is driven by the input driving voltage to drive the DC water pump to operate.
[0014] In existing technologies, water treatment devices calculate their actual water output based on the relationship between the preset voltage and flow rate of the water supply device. This does not account for the rise and fall of the water supply device's flow rate, resulting in significant errors in the calculated actual water output. In the case of an instant hot water dispenser, the calculated water output is correlated with the device's operating power. Inaccurately calculated water output not only prevents the dispenser from dispensing a fixed amount of water, but also affects the accuracy of the dispenser's water outlet temperature.
[0015] The control method of the water treatment device provided by the present invention collects the first water flow velocity before the set time, that is, the first water flow velocity at the first moment, and the driving voltage after the set time, that is, the driving voltage at the second moment, at every set time. The driving voltage is the current voltage value of the water supply device. It can be understood that the driving voltage is the voltage value of the water supply device after adjustment. The target flow rate is determined based on the driving voltage at the second moment and the first corresponding relationship. The target flow rate is the water flow velocity when the water supply device is running stably under the driving voltage, and the first corresponding relationship is the corresponding relationship between the driving voltage of the water supply device and the target flow rate. According to the preset time and the second corresponding relationship, the flow rate change value corresponding to the preset time can be determined. The flow rate change value is calculated based on the flow rate change rate and the preset time, and the flow rate change rate is related to the mechanical characteristics of the water supply device. The second corresponding relationship is associated with the flow rate change rate, and the second corresponding relationship is pre-stored in the local storage area of the water treatment device. By determining the obtained flow rate change value and the target flow rate, a second water flow rate at the second moment can be determined. The second water flow rate is the actual water flow rate after the device has been operated for a set time period at the adjusted drive voltage. Based on the collected first water flow rate, the determined second water flow rate, and the preset time period, the water output within the preset time period can be accurately calculated.
[0016] The present invention determines the target flow rate based on the current driving voltage of the water supply device. Based on the target flow rate and the change in flow rate over a preset time period, the current second water flow rate of the water supply device is accurately calculated. The water output of the water treatment device over the preset time period is then calculated based on the accurate second water flow rate, improving the accuracy of the calculated water output. In the case of an instant hot water dispenser, this not only ensures the accuracy of the quantitative water output but also improves the stability of the outlet water temperature control.
[0017] In addition, the control method of the water treatment device in the above technical solution provided by the present invention may also have the following additional technical features:
[0018] In the above technical solution, the flow rate change value includes a flow rate increase value and a flow rate decrease value. The flow rate change value within the preset time length is determined, including: determining the flow rate change state of the water flow based on the numerical relationship between the target flow rate and the first water flow velocity; based on the flow rate change state being an increase state, determining the flow rate increase value according to the preset time length and the first relationship formula; based on the flow rate change state being a decrease state, determining the flow rate decrease value according to the preset time length and the second relationship formula.
[0019] In this technical solution, when the water supply device operates at the driving voltage at the second moment, the water flow rate of the water supply device may be in an increasing state or a decreasing state. Within the preset time period, the flow rate change value of the water supply device may be an increasing flow rate value or a decreasing flow rate value. Therefore, when calculating the flow rate change value of the water supply device, it is necessary to determine the flow rate change state of the water supply device.
[0020] By comparing the first water flow rate before a preset time period with the target flow rate, if the first water flow rate is detected to be less than or equal to the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be less than or equal to the target water flow rate after the preset time period, it can be determined that the water flow rate is currently in an increasing state. If the first water flow rate is detected to be greater than the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be greater than the target flow rate after the preset time period, it can be determined that the water flow rate is currently in a decreasing state.
[0021] When it is determined that the water flow rate is in an increasing state, the flow rate increase value within the preset time period is calculated according to the first relationship and the preset time period. The first relationship is as follows:
[0022] △v1=f1(t);
[0023] Among them, △v1 is the flow rate increase value, and t is the preset time.
[0024] When it is determined that the water flow rate is in a decreasing state, the flow rate decrease value within the preset time period is calculated according to the first relationship and the preset time period. The first relationship is as follows:
[0025] △v2=f2(t);
[0026] Among them, △v2 is the flow rate drop value, and t is the preset time.
[0027] It is worth noting that after adjusting the driving voltage input to the water supply device, the flow rate change rate of the water flow of the water supply device is different in the rising state and the falling state. Therefore, in the rising state and the falling state of the water flow rate of the water supply device, different first and second relationship formulas are selected to calculate the flow rate increase value and the flow rate decrease value respectively.
[0028] The present invention accurately determines the current state of change in water flow velocity by comparing the first water flow velocity with the target flow velocity. Furthermore, different relationship equations are selected to calculate the flow velocity increase and decrease values according to the varying states of the water flow velocity, thereby improving the accuracy of the calculated flow velocity increase and decrease values.
[0029] In any of the above technical solutions, based on the flow rate change state being an upward state, the second water flow rate at the second moment is determined according to the flow rate change value and the target flow rate, including: calculating the flow rate difference between the first water flow rate and the target flow rate; based on the case where the absolute value of the flow rate difference is less than or equal to the flow rate increase value, using the target flow rate as the second water flow rate; based on the case where the absolute value of the flow rate difference is greater than the flow rate increase value, calculating the sum of the first water flow rate and the flow rate increase value, and using the sum as the second water flow rate.
[0030] In this technical solution, when it is detected that the flow rate of the water supply device is in an increasing state, the flow rate difference between the target flow rate and the first water flow rate is calculated, and the numerical relationship between the flow rate difference and the flow rate increase value is compared, and the second water flow rate is determined based on the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0031] When it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time, so the target flow rate is used as the second water flow rate.
[0032] Specifically, if v A -v′ 实际 ≤△v 1s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow rate rise value, v 实际 is the second water flow rate.
[0033] When it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time length, it is determined that the water flow rate of the water supply device is still in an increasing state after the preset time length, so the sum of the flow rate increase value and the first water flow rate is taken as the second water flow rate.
[0034] Specifically, if v A -v′ 实际 >△v 1s , then the current actual flow rate is v 实际 =v′ 实际 +△v 1s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow rate rise value, v 实际 is the second water flow rate.
[0035] The present invention accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0036] In any of the above technical solutions, the water output within the preset time length is determined based on the first water flow rate, the second water flow rate and the preset time length, including: determining the rising time length for the water flow rate to rise to the target flow rate based on the absolute value of the flow rate difference being less than or equal to the flow rate rise value; determining the water output within the preset time length based on the second water flow rate, the first water flow rate, the preset time length and the rising time length; determining the water output within the preset time length based on the second water flow rate and the first water flow rate based on the absolute value of the flow rate difference being greater than the flow rate rise value.
[0037] In this technical solution, when it is detected that the flow rate of the water supply device is in an increasing state, different methods are selected to calculate the water output of the water treatment device in a preset time period based on the numerical relationship between the flow rate difference and the flow rate increase value.
[0038] If the absolute value of the flow rate difference is detected to be less than or equal to the flow rate increase value within the preset time period, the water flow rate of the water supply device is determined to have reached the target flow rate after the preset time period. If the second water flow rate is the target flow rate, it can be determined that the preset time period includes a phase in which the water flow rate is increasing and a phase in which the water flow rate is maintained at the target flow rate. Based on the inverse function of the first relationship described above and the flow rate increase value, the duration of the rising phase of the water flow rate can be determined.
[0039] Specifically, the first relational expression is Δv1=f1(t), and the inverse function of the first relational expression is t=g1(Δv1), where Δv1 is the flow rate rise value and t is the preset time duration.
[0040] The flow rate rise value is the difference between the target flow rate and the first water flow rate, i.e., the difference between the second water flow rate and the first water flow rate. Based on the preset duration and the rise duration, the duration of the phase in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the rising phase and the water output during the phase in which the water flow rate remains at the target flow rate, and adding the water outputs of these two phases, the water output of the water treatment device within the preset duration can be calculated.
[0041] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0042]
[0043] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g1(v a -v′ 实际 ) is the rise time, v a is the target flow rate, v′ 实际 is the first water flow velocity.
[0044] If the absolute value of the detected flow rate difference is greater than the flow rate increase value within the preset time period, it is determined that the water flow rate of the water supply device is still increasing after the preset time period, that is, the second water flow rate is the sum of the first water flow rate and the flow rate increase value. If the second water flow rate is the sum of the first water flow rate and the flow rate increase value, it can be determined that the preset time period only includes the phase in which the water flow rate is increasing. By calculating the water output during the phase in which the water flow rate is increasing, the water output of the water treatment device within the preset time period can be obtained.
[0045] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0046]
[0047] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0048] The present invention accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate, and when the second water flow rate is the sum of the first water flow rate and the flow rate increase value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0049] In any of the above technical solutions, based on the flow rate change state being a descending state, the second water flow rate at the second moment is determined according to the flow rate change value and the target flow rate, including: calculating the flow rate difference between the first water flow rate and the target flow rate; based on the case where the absolute value of the flow rate difference is less than or equal to the flow rate decrease value, using the target flow rate as the second water flow rate; based on the case where the absolute value of the flow rate difference is greater than the flow rate decrease value, calculating the difference between the first water flow rate and the flow rate decrease value, and using the difference as the second water flow rate.
[0050] In this technical solution, when it is detected that the flow rate of the water supply device is in a decreasing state, the flow rate difference between the target flow rate and the first water flow rate is calculated, and the numerical relationship between the flow rate difference and the flow rate drop value is compared, and the second water flow rate is determined based on the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0051] When it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time, so the target flow rate is used as the second water flow rate.
[0052] Specifically, if v′ 实际 -v A ≤△v 2s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0053] When it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device is still in a decreasing state after the preset time, so the difference between the flow rate drop value and the first water flow rate is taken as the second water flow rate.
[0054] Specifically, if v′ 实际 -v A >△v 2s , then the current actual flow rate is v 实际 =v′ 实际 -△v 2s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0055] The present invention accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0056] In any of the above technical solutions, the water output within the preset time length is determined based on the first water flow rate, the second water flow rate and the preset time length, including: determining the decline time length for the water flow rate to drop to the target flow rate based on the absolute value of the flow rate difference being less than or equal to the flow rate decline value; determining the water output within the preset time length based on the second water flow rate, the first water flow rate, the preset time length and the decline time length; determining the water output within the preset time length based on the second water flow rate and the first water flow rate based on the absolute value of the flow rate difference being greater than the flow rate decline value.
[0057] In this technical solution, when it is detected that the flow rate of the water supply device is in a decreasing state, different methods are selected to calculate the water output of the water treatment device in a preset time period based on the numerical relationship between the flow rate difference and the flow rate decrease value.
[0058] When the absolute value of the flow rate difference is detected to be less than or equal to the flow rate decrease value within a preset time period, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time period. If the second water flow rate is the target flow rate, it can be determined that the preset time period includes a phase in which the water flow rate is decreasing and a phase in which the water flow rate is maintained at the target flow rate. Based on the inverse function of the second relationship described above and the flow rate decrease value, the duration of the water flow rate decrease phase can be determined.
[0059] Specifically, the second relational expression is Δv2=f2(t), and the inverse function of the second relational expression is t=g2(Δv2), where Δv2 is the flow rate drop value and t is the preset time duration.
[0060] The flow rate drop value is the difference between the target flow rate and the first water flow rate, i.e., the difference between the second water flow rate and the first water flow rate. Based on the preset duration and the drop duration, the duration of the phase in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the drop phase and the water output during the phase in which the water flow rate remains at the target flow rate, and adding the water outputs of these two phases, the water output of the water treatment device within the preset duration can be calculated.
[0061] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated by the following formula:
[0062]
[0063] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g2(v′ 实际 -v a ) is the falling time, v a is the target flow rate (second water flow rate), v′实际 is the first water flow velocity.
[0064] If the absolute value of the detected flow rate difference is greater than the flow rate decrease value within the preset time period, it is determined that the water flow rate of the water supply device is still decreasing after the preset time period, that is, the second water flow rate is the difference between the first water flow rate and the flow rate decrease value. If the second water flow rate is the difference between the first water flow rate and the flow rate decrease value, it can be determined that the preset time period only includes the phase in which the water flow rate is decreasing. By calculating the water output during the phase in which the water flow rate is decreasing, the water output of the water treatment device within the preset time period can be obtained.
[0065] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0066]
[0067] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0068] The present invention accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate and the water output when the second water flow rate is the difference between the first water flow rate and the flow rate drop value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0069] In any of the above technical solutions, the control method of the water treatment device further includes: calculating the sum of the water output within multiple preset time periods, and using the sum as the total water output of the water treatment device.
[0070] In this technical solution, the continuous operation time of the water treatment device includes multiple preset time periods. The water output within the set time period is calculated every set time period. By superimposing the water output within multiple preset time periods, the actual total water output of the water treatment device can be obtained.
[0071] It is worth noting that, during the water discharge process of the water treatment device, the duration of water discharge is set to an integer multiple of the preset duration, which can improve the accuracy of the quantitative water discharge of the water treatment device.
[0072] In the present invention, when the continuous operation time of the water treatment device includes multiple preset time periods, the total water output of the water treatment device can be accurately obtained by superimposing and calculating the water outputs corresponding to the multiple preset time periods.
[0073] The second aspect of the present invention provides a control device for a water treatment device, comprising: a first acquisition module for acquiring a first water flow velocity at a first moment; a second acquisition module for acquiring a driving voltage at a second moment, and determining a target flow velocity at the second moment based on the driving voltage, wherein the first moment and the second moment are separated by a preset time length; a determination module for determining a flow velocity change value within a preset time length, wherein the flow velocity change value is associated with the preset time length; the determination module is also used to determine a second water flow velocity at the second moment based on the flow velocity change value and the target flow velocity; the determination module is also used to determine the water output within a preset time length based on the first water flow velocity, the second water flow velocity and the preset time length.
[0074] In this technical solution, the water treatment device includes but is not limited to an instant hot water dispenser, which is provided with a water inlet pipe, a water outlet pipe, a water pump, an instant hot water device and a water storage member. The water storage member is used to store water to be treated. The water inlet end of the instant hot water device is connected to the water inlet pipe, the water outlet end of the instant hot water device is connected to the water outlet pipe, the water storage member is connected to the instant hot water device through the water inlet pipe, and the water pump is installed on the water inlet pipe. When the water pump is powered on, the water stored in the water storage member can be pumped to the instant hot water device. The operation of the instant hot water device can heat the cold water, and the heated hot water is output through the water outlet pipe.
[0075] The water flow rate and water output of the water treatment device are related to the operating state of the water supply device. When the driving voltage of the water supply device changes, the water supply device does not instantly discharge water according to the flow rate and water output corresponding to the new driving voltage, but there is a process of flow rate change. Specifically, when the driving voltage of the water supply device increases, the flow rate of the water supply device is in an upward state, and when the driving voltage of the water supply device decreases, the flow rate of the water supply device is in a downward state. Among them, the water supply device can be selected as a water pump, specifically a DC water pump, which is driven by the input driving voltage to drive the DC water pump to operate.
[0076] In existing technologies, water treatment devices calculate their actual water output based on the relationship between the preset voltage and flow rate of the water supply device. This does not account for the rise and fall of the water supply device's flow rate, resulting in significant errors in the calculated actual water output. In the case of an instant hot water dispenser, the calculated water output is correlated with the device's operating power. Inaccurately calculated water output not only prevents the dispenser from dispensing a fixed amount of water, but also affects the accuracy of the dispenser's water outlet temperature.
[0077] The control method of the water treatment device provided by the present invention collects the first water flow velocity before the set time, that is, the first water flow velocity at the first moment, and the driving voltage after the set time, that is, the driving voltage at the second moment, at every set time. The driving voltage is the current voltage value of the water supply device. It can be understood that the driving voltage is the voltage value of the water supply device after adjustment. The target flow rate is determined based on the driving voltage at the second moment and the first corresponding relationship. The target flow rate is the water flow velocity when the water supply device is running stably under the driving voltage, and the first corresponding relationship is the corresponding relationship between the driving voltage of the water supply device and the target flow rate. According to the preset time and the second corresponding relationship, the flow rate change value corresponding to the preset time can be determined. The flow rate change value is calculated based on the flow rate change rate and the preset time, and the flow rate change rate is related to the mechanical characteristics of the water supply device. The second corresponding relationship is associated with the flow rate change rate, and the second corresponding relationship is pre-stored in the local storage area of the water treatment device. By determining the obtained flow rate change value and the target flow rate, a second water flow rate at the second moment can be determined. The second water flow rate is the actual water flow rate after the device has been operated for a set time period at the adjusted drive voltage. Based on the collected first water flow rate, the determined second water flow rate, and the preset time period, the water output within the preset time period can be accurately calculated.
[0078] The present invention determines the target flow rate based on the current driving voltage of the water supply device. Based on the target flow rate and the change in flow rate over a preset time period, the current second water flow rate of the water supply device is accurately calculated. The water output of the water treatment device over the preset time period is then calculated based on the accurate second water flow rate, improving the accuracy of the calculated water output. In the case of an instant hot water dispenser, this not only ensures the accuracy of the quantitative water output but also improves the stability of the outlet water temperature control.
[0079] The third aspect of the present invention provides a control device for a water treatment device, comprising: a processor for storing programs or instructions; a processor for implementing the steps of the control method for a water treatment device provided in any of the above-mentioned technical solutions when executing the programs or instructions. Therefore, the control device of the water treatment device includes all the beneficial effects of the control method for a water treatment device provided in any of the above-mentioned technical solutions. To avoid repetition, they will not be repeated here.
[0080] The fourth aspect of the present invention provides a readable storage medium having a program or instruction stored thereon. When the program or instruction is executed by a processor, the steps of the control method of the water treatment device provided in any of the above technical solutions are implemented. Therefore, the readable storage medium includes all the beneficial effects of the control method of the water treatment device provided in any of the above technical solutions. To avoid repetition, they will not be repeated here.
[0081] The fifth aspect of the present invention provides a water treatment device, including a control device of the water treatment device provided in any of the above technical solutions, and / or a readable storage medium provided in any of the above technical solutions. Therefore, the water treatment device also includes the control device of the water treatment device provided in any of the above technical solutions, and / or all the beneficial effects of the readable storage medium provided in any of the above technical solutions. To avoid repetition, they will not be repeated here.
[0082] In the above technical solution, the water treatment device further includes: a water supply pipeline; and a water supply device, which is arranged in the water supply pipeline.
[0083] In this technical solution, the water treatment device includes a water storage unit, a water supply pipeline, and a water supply device. The water supply pipeline is connected to the water storage tank, and the water supply device delivers water stored in the water storage unit to the water supply pipeline to achieve water supply. The water supply pipeline is also equipped with a flow sensor, which is installed at the water outlet and / or water inlet of the water supply device. The flow sensor can collect water flow at the water supply device.
[0084] In any of the above technical solutions, the water treatment device further includes: a water storage component connected to the water supply pipeline.
[0085] In this technical solution, a water storage component is provided in the water treatment device, wherein the water treatment device is an instant hot water dispenser, and the water storage component is selected as a water tank, which is connected to the water inlet pipe. Under the action of the water supply device, the water in the water tank is transported to the instant hot module for heating, and the heated water is output to the outside of the water treatment device through the water outlet pipe.
[0086] In any of the above technical solutions, the water treatment device further includes: a heating element, which is arranged in the water supply pipeline.
[0087] In this technical solution, the water treatment device is an instant hot water dispenser, which includes a heating element. The heating element is arranged on the water supply pipeline. After the water supply device sends the water in the water storage element to the water supply pipeline, the water flow will pass through the instant heating element. The instant heating element can generate heat and increase the water temperature in the water supply pipeline in real time, thereby realizing constant temperature water supply.
[0088] In any of the above technical solutions, the water treatment device further includes: a temperature sensor, which is arranged in the water supply pipeline and is used to collect the temperature of the liquid in the water supply pipeline.
[0089] In this technical solution, the water treatment device is further provided with temperature sensors, and the number of temperature sensors can be selected to be at least two. The first temperature sensor is located near the water inlet of the water supply pipe and is used to measure the temperature of the water before being heated by the heater. The second temperature sensor is located near the water outlet of the water supply pipe and is used to measure the temperature of the water after being heated by the heater. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments with reference to the following drawings, in which:
[0091] Figure 1 A flow chart of a method for controlling a water treatment device according to an embodiment of the present invention is shown;
[0092] Figure 2 A second flowchart of a method for controlling a water treatment device according to an embodiment of the present invention is shown;
[0093] Figure 3 One of the schematic diagrams showing the flow rate and the preset time length of the water treatment device according to an embodiment of the present invention;
[0094] Figure 4 A second schematic diagram showing the flow rate and preset time length of a water treatment device according to an embodiment of the present invention;
[0095] Figure 5 A third flowchart of a method for controlling a water treatment device according to an embodiment of the present invention is shown;
[0096] Figure 6 A third schematic diagram showing the flow rate and preset time length of the water treatment device according to an embodiment of the present invention;
[0097] Figure 7 A fourth schematic diagram showing the flow rate and the preset time length of the water treatment device according to an embodiment of the present invention;
[0098] Figure 8 A fifth schematic diagram showing the flow rate and preset time length of a water treatment device according to an embodiment of the present invention;
[0099] Figure 9 A fourth flowchart of a method for controlling a water treatment device according to an embodiment of the present invention is shown;
[0100] Figure 10 It shows one of the structural block diagrams of the control device of the water treatment device according to the embodiment of the present invention;
[0101] Figure 11 The second structural block diagram of the control device of the water treatment device according to the embodiment of the present invention is shown;
[0102] Figure 12 It shows a structural block diagram of a water treatment device according to an embodiment of the present invention;
[0103] Figure 13 It shows one of the structural schematic diagrams of a water treatment device according to an embodiment of the present invention;
[0104] Figure 14It shows a second structural schematic diagram of a water treatment device according to an embodiment of the present invention;
[0105] Figure 15 The third structural diagram of the water treatment device according to the embodiment of the present invention is shown;
[0106] Figure 16 A fourth structural diagram of a water treatment device according to an embodiment of the present invention is shown.
[0107] in, Figures 13 to 16 The corresponding relationship between the reference numerals and component names is as follows:
[0108] 1300 water treatment device, 1302 heating element, 1304 first sensor, 1306 water pump, 1308 second sensor. DETAILED DESCRIPTION
[0109] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.
[0110] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited to the specific embodiments disclosed below.
[0111] Refer to the following Figures 1 to 16 A control method and device for a water treatment device, a storage medium, and a water treatment device according to some embodiments of the present invention are described.
[0112] like Figure 1 As shown, a first embodiment of the present invention provides a control method for a water treatment device, comprising:
[0113] Step 102, obtaining a first water flow velocity at a first moment;
[0114] Step 104, obtaining a driving voltage at a second moment, and determining a target flow rate at the second moment based on the driving voltage;
[0115] Step 106, determining a flow rate change value within a preset time period, where the flow rate change value is associated with the preset time period;
[0116] Step 108, determining a second water flow velocity at a second moment according to the flow velocity change value and the target flow velocity;
[0117] Step 110 : determining the water output within the preset time period according to the first water flow rate, the second water flow rate, and the preset time period.
[0118] The first moment and the second moment are separated by a preset time interval.
[0119] In this embodiment, the water treatment device includes but is not limited to an instant hot water dispenser, which is provided with a water inlet pipe, a water outlet pipe, a water pump, an instant hot water device and a water storage component. The water storage component is used to store water to be treated. The water inlet end of the instant hot water device is connected to the water inlet pipe, the water outlet end of the instant hot water device is connected to the water outlet pipe, the water storage component is connected to the instant hot water device through the water inlet pipe, and the water pump is installed on the water inlet pipe. When the water pump is powered on, the water stored in the water storage component can be pumped to the instant hot water device. The operation of the instant hot water device can heat the cold water, and the heated hot water is output through the water outlet pipe.
[0120] The water flow rate and water output of the water treatment device are related to the operating state of the water supply device. When the driving voltage of the water supply device changes, the water supply device does not instantly discharge water according to the flow rate and water output corresponding to the new driving voltage, but there is a process of flow rate change. Specifically, when the driving voltage of the water supply device increases, the flow rate of the water supply device is in an upward state, and when the driving voltage of the water supply device decreases, the flow rate of the water supply device is in a downward state. Among them, the water supply device can be selected as a water pump, specifically a DC water pump, which is driven by the input driving voltage to drive the DC water pump to operate.
[0121] In existing technologies, water treatment devices calculate their actual water output based on the relationship between the preset voltage and flow rate of the water supply device. This does not account for the rise and fall of the water supply device's flow rate, resulting in significant errors in the calculated actual water output. In the case of an instant hot water dispenser, the calculated water output is correlated with the device's operating power. Inaccurately calculated water output not only prevents the dispenser from dispensing a fixed amount of water, but also affects the accuracy of the dispenser's water outlet temperature.
[0122] The control method of the water treatment device provided in this embodiment collects the first water flow rate before the set time, that is, the first water flow rate at the first moment, and the driving voltage after the set time, that is, the driving voltage at the second moment, every set time. The driving voltage is the current voltage value of the water supply device. It can be understood that the driving voltage is the voltage value of the water supply device after adjustment. The target flow rate is determined based on the driving voltage at the second moment and the first corresponding relationship. Among them, the target flow rate is the water flow rate when the water supply device is running stably under the driving voltage, and the first corresponding relationship is the corresponding relationship between the driving voltage of the water supply device and the target flow rate. According to the preset time and the second corresponding relationship, the flow rate change value corresponding to the preset time can be determined. Among them, the flow rate change value is calculated based on the flow rate change rate and the preset time, and the flow rate change rate is related to the mechanical characteristics of the water supply device. The second corresponding relationship is associated with the flow rate change rate, and the second corresponding relationship is pre-stored in the local storage area of the water treatment device. By determining the obtained flow rate change value and the target flow rate, a second water flow rate at the second moment can be determined. The second water flow rate is the actual water flow rate after the device has been operated for a set time period at the adjusted drive voltage. Based on the collected first water flow rate, the determined second water flow rate, and the preset time period, the water output within the preset time period can be accurately calculated.
[0123] Specifically, the target flow rate is calculated according to the driving voltage using the following formula:
[0124] v = f(P);
[0125] Where P is the driving voltage and v is the target flow rate.
[0126] This embodiment determines the target flow rate based on the current driving voltage of the water supply device. Based on the target flow rate and the change in flow rate over a preset time period, the current second water flow rate of the water supply device is accurately calculated. The water output of the water treatment device over the preset time period is then calculated based on the accurate second water flow rate, improving the accuracy of the calculated water output. In the case of an instant hot water dispenser, this not only ensures the accuracy of the quantitative water output but also improves the stability of the outlet water temperature control.
[0127] The second embodiment of the present invention provides a control method for a water treatment device. Based on the first embodiment, the flow rate change value includes a flow rate increase value and a flow rate decrease value.
[0128] In the process of determining the flow rate change value within the preset time period, first, the flow rate change state of the water flow is determined according to the numerical relationship between the target flow rate and the first water flow rate.
[0129] When the water supply device operates at the driving voltage at the second moment, the water flow rate of the water supply device may be in an increasing state or a decreasing state. Within the preset time period, the flow rate change value of the water supply device may be an increasing flow rate value or a decreasing flow rate value. Therefore, when calculating the flow rate change value of the water supply device, it is necessary to determine the flow rate change state of the water supply device.
[0130] By comparing the first water flow rate before a preset time period with the target flow rate, if the first water flow rate is detected to be less than or equal to the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be less than or equal to the target water flow rate after the preset time period, it can be determined that the water flow rate is currently in an increasing state. If the first water flow rate is detected to be greater than the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be greater than the target flow rate after the preset time period, it can be determined that the water flow rate is currently in a decreasing state.
[0131] Then, based on the flow rate change state being an increasing state, the flow rate increase value is determined according to the preset time length and the first relationship, and based on the flow rate change state being a decreasing state, the flow rate decrease value is determined according to the preset time length and the second relationship.
[0132] It is worth noting that after adjusting the driving voltage input to the water supply device, the flow rate change rate of the water flow of the water supply device is different in the rising state and the falling state. Therefore, in the rising state and the falling state of the water flow rate of the water supply device, different first and second relationship formulas are selected to calculate the flow rate increase value and the flow rate decrease value respectively.
[0133] Specifically, when it is determined that the water flow rate is in an increasing state, the flow rate increase value within the preset time period is calculated according to the first relationship and the preset time period. The first relationship is as follows:
[0134] △v1=f1(t);
[0135] Among them, △v1 is the flow rate increase value, and t is the preset time.
[0136] Based on the flow rate change state being a decreasing state, the flow rate decrease value is determined according to the preset time length and the second relationship.
[0137] Specifically, when it is determined that the water flow rate is in a decreasing state, the flow rate decrease value within the preset time period is calculated according to the first relationship and the preset time period. The first relationship is as follows:
[0138] △v2=f2(t);
[0139] Among them, △v2 is the flow rate drop value, and t is the preset time.
[0140] This embodiment accurately determines the current state of change in water flow rate by comparing the first water flow rate with the target flow rate. Furthermore, different relationship equations are selected to calculate the flow rate increase and decrease values based on the varying states of the water flow rate, thereby improving the accuracy of the calculated flow rate increase and decrease values.
[0141] The third embodiment of the present invention provides a control method for a water treatment device. Based on the second embodiment, the method further comprises:
[0142] When the flow rate change state is in an ascending state, in the process of determining the second water flow rate at the second moment according to the flow rate change and the target flow rate, first, the flow rate difference between the first water flow rate and the target flow rate is calculated; then, the numerical relationship between the absolute value of the flow rate difference and the flow rate rise value is compared, and the second water flow rate is determined according to the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0143] Specifically, if the absolute value of the flow velocity difference is less than or equal to the flow velocity increase value, the target flow velocity is used as the second water flow velocity. If the absolute value of the flow velocity difference is greater than the flow velocity increase value, the sum of the first water flow velocity and the flow velocity increase value is calculated, and the sum is used as the second water flow velocity.
[0144] More specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time period, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time period, so the target flow rate is used as the second water flow rate.
[0145] If v A -v′ 实际 ≤△v 1s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow rate rise value, v 实际 is the second water flow rate.
[0146] More specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time period, it is determined that the water flow rate of the water supply device is still in an increasing state after the preset time period, so the sum of the flow rate increase value and the first water flow rate is taken as the second water flow rate.
[0147] If v A -v′ 实际 >△v 1s , then the current actual flow rate is v 实际 =v′ 实际 +△v1s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow rate rise value, v 实际 is the second water flow rate.
[0148] This embodiment accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0149] The fourth embodiment of the present invention provides a control method for a water treatment device. Based on the third embodiment, the method further comprises:
[0150] When the water flow rate is increasing, the process of determining the water output within the preset time period based on the first and second water flow rates and the preset time period includes first comparing the numerical relationship between the absolute value of the flow rate difference and the flow rate increase value. Then, based on the numerical relationship, different methods are selected to calculate the water output of the water treatment device within the preset time period.
[0151] Specifically, based on the absolute value of the flow rate difference being less than or equal to the flow rate rise value, the water output within the preset time period can be determined by Figure 2 Method implementation.
[0152] like Figure 2 As shown, determine the water output within the preset time, including:
[0153] Step 202, determining the time it takes for the water flow rate to rise to the target flow rate;
[0154] Step 204 : determining the water output within the preset time period according to the second water flow velocity, the first water flow velocity, the preset time period, and the rising time period.
[0155] If the absolute value of the flow rate difference is detected to be less than or equal to the flow rate increase value within the preset time period, the water flow rate of the water supply device is determined to have reached the target flow rate after the preset time period. If the second water flow rate is the target flow rate, it can be determined that the preset time period includes a phase in which the water flow rate is increasing and a phase in which the water flow rate is maintained at the target flow rate. Based on the inverse function of the first relationship described above and the flow rate increase value, the duration of the rising phase of the water flow rate can be determined.
[0156] The flow rate rise value is the difference between the target flow rate and the first water flow rate, i.e., the difference between the second water flow rate and the first water flow rate. Based on the preset duration and the rise duration, the duration of the phase in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the rising phase and the water output during the phase in which the water flow rate remains at the target flow rate, and adding the water outputs of these two phases, the water output of the water treatment device within the preset duration can be calculated.
[0157] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0158]
[0159] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g1(v a -v′ 实际 ) is the rise time, v a is the target flow rate, v′ 实际 is the first water flow velocity.
[0160] like Figure 3 As shown, the vertical axis represents the actual flow rate of the water treatment device, and the horizontal axis represents the operating time of the water treatment device. The flow rate of the water treatment device is set to the preset time t 间隔 a is the starting point of the preset time, b is the end point of the preset time, and the target flow rate v has been increased. a , and maintain the target flow rate v a To the preset time t 间隔 At this time, calculate the water output within the preset time, so that Figure 3 The area of the polygon composed of the trapezoidal shadow and the rectangular shadow shown in .
[0161] Specifically, based on the fact that the absolute value of the flow rate difference is greater than the flow rate increase value, the water output within the preset time period is determined according to the second water flow rate and the first water flow rate.
[0162] More specifically, if the absolute value of the detected flow rate difference is greater than the flow rate increase value within a preset time period, it is determined that the water flow rate of the water supply device is still increasing after the preset time period, that is, the second water flow rate is the sum of the first water flow rate and the flow rate increase value. If the second water flow rate is the sum of the first water flow rate and the flow rate increase value, it can be determined that the preset time period only includes the phase in which the water flow rate is increasing. By calculating the water output during the rising phase of the water flow rate, the water output of the water treatment device within the preset time period can be obtained.
[0163] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0164]
[0165] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0166] like Figure 4 As shown, the vertical axis represents the actual flow rate of the water treatment device, and the horizontal axis represents the operating time of the water treatment device. The flow rate of the water treatment device is 间隔 After that, the flow rate still does not rise to the target flow rate, a is the starting point of the preset time length, and b is the end point of the preset time length. At this time, calculate the water output within the preset time length, so that the water output within the preset time length can be calculated. Figure 4 The area of the trapezoidal shadow shown in .
[0167] This embodiment accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate, and when the second water flow rate is the sum of the first water flow rate and the flow rate increase value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0168] The fifth embodiment of the present invention provides a control method for a water treatment device. Based on the second embodiment, the method further comprises:
[0169] When the flow rate change state is in a declining state, in the process of determining the second water flow rate at the second moment according to the flow rate change and the target flow rate, first, the flow rate difference between the first water flow rate and the target flow rate is calculated; then, the numerical relationship between the absolute value of the flow rate difference and the flow rate drop value is compared, and the second water flow rate is determined according to the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0170] Specifically, if the absolute value of the flow velocity difference is less than or equal to the flow velocity drop value, the target flow velocity is used as the second water flow velocity. If the absolute value of the flow velocity difference is greater than the flow velocity drop value, the difference between the first water flow velocity and the flow velocity drop value is calculated, and the difference is used as the second water flow velocity.
[0171] More specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time, so the target flow rate is used as the second water flow rate.
[0172] If v′ 实际 -v A ≤△v 2s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0173] When it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device is still in a decreasing state after the preset time, so the difference between the flow rate drop value and the first water flow rate is taken as the second water flow rate.
[0174] If v′ 实际 -v A >△v 2s , then the current actual flow rate is v 实际 =v′ 实际 -△v 2s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0175] This embodiment accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0176] The sixth embodiment of the present invention provides a control method for a water treatment device. Based on the fifth embodiment, the method further comprises:
[0177] When the water flow rate is decreasing, the process of determining the water output within the preset time period based on the first and second water flow rates and the preset time period includes first comparing the numerical relationship between the absolute value of the flow rate difference and the flow rate decrease value. Then, based on the numerical relationship, different methods are selected to calculate the water output of the water treatment device within the preset time period.
[0178] Specifically, based on the absolute value of the flow rate difference being less than or equal to the flow rate drop value, the water output within the preset time period can be determined by Figure 5 Method implementation.
[0179] like Figure 5 As shown, determine the water output within the preset time, including:
[0180] Step 502, determining the time it takes for the water flow rate to drop to the target flow rate;
[0181] Step 504: Determine the water output within the preset time period according to the second water flow rate, the first water flow rate, the preset time period, and the falling time period.
[0182] When the absolute value of the flow rate difference is detected to be less than or equal to the flow rate decrease value within a preset time period, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time period. If the second water flow rate is the target flow rate, it can be determined that the preset time period includes a phase in which the water flow rate is decreasing and a phase in which the water flow rate is maintained at the target flow rate. Based on the inverse function of the second relationship described above and the flow rate decrease value, the duration of the water flow rate decrease phase can be determined.
[0183] The flow rate drop value is the difference between the target flow rate and the first water flow rate, i.e., the difference between the second water flow rate and the first water flow rate. Based on the preset duration and the drop duration, the duration of the phase in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the drop phase and the water output during the phase in which the water flow rate remains at the target flow rate, and adding the water outputs of these two phases, the water output of the water treatment device within the preset duration can be calculated.
[0184] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated by the following formula:
[0185]
[0186] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g2(v′ 实际 -v a ) is the falling time, v a is the target flow rate (second water flow rate), v′ 实际 is the first water flow velocity.
[0187] like Figure 6 As shown, the vertical axis represents the actual flow rate of the water treatment device, and the horizontal axis represents the operating time of the water treatment device. The flow rate of the water treatment device is set to the preset time t 间隔Within, it has dropped to the target flow rate v a , and maintain the target flow rate v a To the preset time t 间隔 End, a is the starting point of the preset time, b is the end point of the preset time. At this time, calculate the water output within the preset time, so that Figure 6 The area of the polygon composed of the trapezoidal shadow and the rectangular shadow shown in .
[0188] Specifically, based on the fact that the absolute value of the flow rate difference is greater than the flow rate drop value, the water output within the preset time period is determined according to the second water flow rate and the first water flow rate.
[0189] More specifically, if the absolute value of the detected flow rate difference is greater than the flow rate decrease value within a preset time period, it is determined that the water flow rate of the water supply device is still decreasing after the preset time period. That is, the second water flow rate is the difference between the first water flow rate and the flow rate decrease value. If the second water flow rate is the difference between the first water flow rate and the flow rate decrease value, it can be determined that the preset time period only includes the phase in which the water flow rate is decreasing. By calculating the water output during the phase in which the water flow rate is decreasing, the water output of the water treatment device within the preset time period can be obtained.
[0190] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0191]
[0192] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0193] like Figure 7 As shown, the vertical axis represents the actual flow rate of the water treatment device, and the horizontal axis represents the operating time of the water treatment device. The flow rate of the water treatment device is 间隔 After the flow rate has not dropped to the target flow rate, a is the starting point of the preset time, and b is the end point of the preset time. At this time, calculate the water output within the preset time, so that the water output within the preset time is calculated. Figure 7 The area of the trapezoidal shadow shown in .
[0194] This embodiment accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate and the water output when the second water flow rate is the difference between the first water flow rate and the flow rate drop value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0195] The seventh embodiment of the present invention proposes a control method for a water treatment device. Based on the first to sixth embodiments, the control method for the water treatment device further includes: calculating the sum of the water output within multiple preset time periods, and using the sum as the total water output of the water treatment device.
[0196] In this embodiment, the continuous operation time of the water treatment device includes multiple preset time periods, and the water output within the set time period is calculated every set time period. By superimposing the water output within multiple preset time periods, the actual total water output of the water treatment device can be obtained.
[0197] It is worth noting that, during the water discharge process of the water treatment device, the duration of water discharge is set to an integer multiple of the preset duration, which can improve the accuracy of the quantitative water discharge of the water treatment device.
[0198] Specifically, the water output within multiple preset time periods is added together using the following formula to calculate the total water output:
[0199]
[0200] Among them, V 总 is the total water output, V n The actual amount of water discharged within the preset time period, and k is the current moment.
[0201] It is worth noting that the current moment k is the kth preset duration.
[0202] In this embodiment, when the continuous operation time of the water treatment device includes multiple preset time periods, the total water output of the water treatment device can be accurately obtained by superimposing the water outputs corresponding to the multiple preset time periods.
[0203] like Figure 8 As shown, the shaded part is the total water output after superposition calculation. This embodiment comprehensively considers the acceleration and deceleration characteristics of the water supply device, combines the algorithm of actual flow and target flow, calculates the area of the polygon to count the water output, which is more accurate.
[0204] like Figure 9 As shown, the eighth embodiment of the present invention provides a control method for a water treatment device, comprising:
[0205] Step 902: determine whether the user operation triggers the water supply demand. If the judgment result is yes, execute step 904; if the judgment result is no, end;
[0206] Step 904: Determine whether v a ≥v 实际 ', if the judgment result is yes, execute step 906, otherwise execute step 916;
[0207] Step 906: Determine whether v a -v′ 实际 >△v 1s If the judgment result is yes, execute step 908; if the judgment result is no, execute step 912;
[0208] Step 908, determine v 实际 =v′ 实际 +△v 1s ;
[0209] Step 910, calculating the trapezoid area to obtain the water output in this time period;
[0210] Step 912, determine v 实际 =v a ;
[0211] Step 914, calculating the polygon area to obtain the water output in this time period;
[0212] Step 916, determine whether v′ is satisfied 实际 -v a >△v 2s If the judgment result is yes, execute step 918, otherwise execute step 922;
[0213] Step 918, determine v 实际 =v ′ 实际 -△v 2s ;
[0214] Step 920, calculating the trapezoidal area to obtain the water output in this time period;
[0215] Step 922, determine v 实际 =v a ;
[0216] Step 924: Calculate the polygon area to obtain the water output during this time period.
[0217] Among them, v′ 实际 is the first water flow velocity, v 实际 is the velocity of the second water flow, v a is the target flow rate, △v1s is the flow rate rise value, △v 2s is the flow rate drop value.
[0218] In this embodiment, the user adjusts the driving voltage of the water supply device to trigger the water supply demand, that is, to change the current water flow rate of the water treatment device. If the target flow rate is greater than the first water flow rate before the preset time, the current water flow rate is determined to be in an increasing state; otherwise, the current water flow rate is determined to be in a decreasing state. After determining that the current water flow rate is in an increasing state, the user determines whether the v a -v′ 实际 >△v 1s , so as to judge whether the second water flow rate reaches the target flow rate after the preset time. If it is judged that the second water flow rate reaches the target flow rate, the polygon area is calculated to obtain the water output in this time period. If it is judged that the second water flow rate does not reach the target flow rate, the trapezoid area is calculated to obtain the water output in this time period. When it is determined that the current water flow rate is in a decreasing state, it is judged whether it is full v′ 实际 -v a >△v 2s , so as to judge whether the second water flow rate reaches the target flow rate after the preset time. If it is judged that the second water flow rate reaches the target flow rate, the polygon area is calculated to obtain the water output in this time period. If it is judged that the second water flow rate does not reach the target flow rate, the trapezoid area is calculated to obtain the water output in this time period. Among them, the trapezoid area is as follows Figure 4 and Figure 7 The area of the trapezoidal shadow in . The area of the polygon is Figure 3 and Figure 6 The area of the polygon shadow.
[0219] Specifically, since the water treatment device does not discharge water in the standby state after power on, the actual flow rate v0 is 0, and the time t0 is 0. 间隔 The time is taken as a recording point, the driving voltage Pn is recorded, and the target flow rate v corresponding to this recording point is calculated. A , Pn is the driving voltage of the nth preset time length. Specifically, according to the formula v=f(P), the target flow rate v is calculated A , where v is the target flow rate and P is the driving voltage.
[0220] According to t 间隔 Substitute into the first and second equations in the above embodiment to obtain 间隔 The flow rate increase value △v that can be achieved in the time 1s and flow rate drop △v 2s .
[0221] like Figure 10 As shown, the ninth embodiment of the present invention provides a control device 1000 for a water treatment device, comprising:
[0222] A first acquisition module 1002 is used to acquire a first water flow velocity at a first moment;
[0223] A second acquisition module 1004 is configured to acquire a driving voltage at a second moment, and determine a target flow rate at the second moment based on the driving voltage, wherein the first moment and the second moment are separated by a preset time period;
[0224] A determination module 1006 is configured to determine a flow rate change value within a preset time period, wherein the flow rate change value is associated with the preset time period;
[0225] The determination module 1006 is further configured to determine a second water flow velocity at a second moment according to the flow velocity change value and the target flow velocity;
[0226] The determination module 1006 is further configured to determine the water output within a preset time period based on the first water flow rate, the second water flow rate, and the preset time period.
[0227] In this embodiment, the water treatment device includes but is not limited to an instant hot water dispenser, which is provided with a water inlet pipe, a water outlet pipe, a water pump, an instant hot water device and a water storage component. The water storage component is used to store water to be treated. The water inlet end of the instant hot water device is connected to the water inlet pipe, the water outlet end of the instant hot water device is connected to the water outlet pipe, the water storage component is connected to the instant hot water device through the water inlet pipe, and the water pump is installed on the water inlet pipe. When the water pump is powered on, the water stored in the water storage component can be pumped to the instant hot water device. The operation of the instant hot water device can heat the cold water, and the heated hot water is output through the water outlet pipe.
[0228] The water flow rate and water output of the water treatment device are related to the operating state of the water supply device. When the driving voltage of the water supply device changes, the water supply device does not instantly discharge water according to the flow rate and water output corresponding to the new driving voltage, but there is a process of flow rate change. Specifically, when the driving voltage of the water supply device increases, the flow rate of the water supply device is in an upward state, and when the driving voltage of the water supply device decreases, the flow rate of the water supply device is in a downward state. Among them, the water supply device can be selected as a water pump, specifically a DC water pump, which is driven by the input driving voltage to drive the DC water pump to operate.
[0229] In existing technologies, water treatment devices calculate their actual water output based on the relationship between the preset voltage and flow rate of the water supply device. This does not account for the rise and fall of the water supply device's flow rate, resulting in significant errors in the calculated actual water output. In the case of an instant hot water dispenser, the calculated water output is correlated with the device's operating power. Inaccurately calculated water output not only prevents the dispenser from dispensing a fixed amount of water, but also affects the accuracy of the dispenser's water outlet temperature.
[0230] The control method of the water treatment device provided in this embodiment collects the first water flow rate before the set time, that is, the first water flow rate at the first moment, and the driving voltage after the set time, that is, the driving voltage at the second moment, every set time. The driving voltage is the current voltage value of the water supply device. It can be understood that the driving voltage is the voltage value of the water supply device after adjustment. The target flow rate is determined based on the driving voltage at the second moment and the first corresponding relationship. Among them, the target flow rate is the water flow rate when the water supply device is running stably under the driving voltage, and the first corresponding relationship is the corresponding relationship between the driving voltage of the water supply device and the target flow rate. According to the preset time and the second corresponding relationship, the flow rate change value corresponding to the preset time can be determined. Among them, the flow rate change value is calculated based on the flow rate change rate and the preset time, and the flow rate change rate is related to the mechanical characteristics of the water supply device. The second corresponding relationship is associated with the flow rate change rate, and the second corresponding relationship is pre-stored in the local storage area of the water treatment device. By determining the obtained flow rate change value and the target flow rate, a second water flow rate at the second moment can be determined. The second water flow rate is the actual water flow rate after the device has been operated for a set time period at the adjusted drive voltage. Based on the collected first water flow rate, the determined second water flow rate, and the preset time period, the water output within the preset time period can be accurately calculated.
[0231] Specifically, the target flow rate is calculated according to the driving voltage using the following formula:
[0232] v = f(P);
[0233] Where P is the driving voltage and v is the target flow rate.
[0234] This embodiment determines the target flow rate based on the current driving voltage of the water supply device. Based on the target flow rate and the change in flow rate over a preset time period, the current second water flow rate of the water supply device is accurately calculated. The water output of the water treatment device over the preset time period is then calculated based on the accurate second water flow rate, improving the accuracy of the calculated water output. In the case of an instant hot water dispenser, this not only ensures the accuracy of the quantitative water output but also improves the stability of the outlet water temperature control.
[0235] The tenth embodiment of the present invention provides a control device for a water treatment device. Based on the ninth embodiment, the flow rate change value includes a flow rate increase value and a flow rate decrease value.
[0236] In the process of determining the flow rate change value within the preset time period, the determination module 1006 first determines the flow rate change state of the water flow according to the numerical relationship between the target flow rate and the first water flow rate.
[0237] When the water supply device operates at the driving voltage at the second moment, the water flow rate of the water supply device may be in an increasing state or a decreasing state. Within the preset time period, the flow rate change value of the water supply device may be an increasing flow rate value or a decreasing flow rate value. Therefore, when calculating the flow rate change value of the water supply device, it is necessary to determine the flow rate change state of the water supply device.
[0238] By comparing the first water flow rate before a preset time period with the target flow rate, if the first water flow rate is detected to be less than or equal to the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be less than or equal to the target water flow rate after the preset time period, it can be determined that the water flow rate is currently in an increasing state. If the first water flow rate is detected to be greater than the target flow rate, that is, if the actual water flow rate before the preset time period is determined to be greater than the target flow rate after the preset time period, it can be determined that the water flow rate is currently in a decreasing state.
[0239] Then, based on the flow rate change state being an increasing state, the flow rate increase value is determined according to the preset time length and the first relationship, and based on the flow rate change state being a decreasing state, the flow rate decrease value is determined according to the preset time length and the second relationship.
[0240] It is worth noting that after adjusting the driving voltage input to the water supply device, the flow rate change rate of the water flow of the water supply device is different in the rising state and the falling state. Therefore, in the rising state and the falling state of the water flow rate of the water supply device, different first and second relationship formulas are selected to calculate the flow rate increase value and the flow rate decrease value respectively.
[0241] Specifically, the first calculation module is used to calculate the flow rate increase value within the preset time period according to the first relationship and the preset time period when it is determined that the water flow rate is in an increasing state. The first relationship is as follows:
[0242] △v1=f1(t);
[0243] Among them, △v1 is the flow rate increase value, and t is the preset time.
[0244] The determination module 1006 is further configured to determine a flow rate decrease value according to a preset time period and a second relationship based on the flow rate change state being a decrease state.
[0245] Specifically, when it is determined that the water flow rate is in a decreasing state, the flow rate decrease value within the preset time period is calculated according to the first relationship and the preset time period. The first relationship is as follows:
[0246] △v2=f2(t);
[0247] Among them, △v2 is the flow rate drop value, and t is the preset time.
[0248] This embodiment accurately determines the current state of change in water flow rate by comparing the first water flow rate with the target flow rate. Furthermore, different relationship equations are selected to calculate the flow rate increase and decrease values based on the varying states of the water flow rate, thereby improving the accuracy of the calculated flow rate increase and decrease values.
[0249] The eleventh embodiment of the present invention provides a control device 1000 for a water treatment device. Based on the tenth embodiment, the control device 1000 for a water treatment device further includes a first calculation module and a comparison module.
[0250] When the flow rate change state is in an ascending state, in the process of determining the second water flow rate at the second moment according to the flow rate change and the target flow rate, first, the first calculation module calculates the flow rate difference between the first water flow rate and the target flow rate; then, the comparison module compares the numerical relationship between the absolute value of the flow rate difference and the flow rate rise value, and determines the second water flow rate according to the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0251] Specifically, the determination module 1006 is further configured to, if the absolute value of the flow velocity difference is less than or equal to the flow velocity increase value, use the target flow velocity as the second water flow velocity. If the absolute value of the flow velocity difference is greater than the flow velocity increase value, calculate the sum of the first water flow velocity and the flow velocity increase value, and use the sum as the second water flow velocity.
[0252] More specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time period, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time period, so the target flow rate is used as the second water flow rate.
[0253] If v A -v′ 实际 ≤△v 1s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow rate rise value, v 实际 is the second water flow rate.
[0254] More specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time period, it is determined that the water flow rate of the water supply device is still in an increasing state after the preset time period, so the sum of the flow rate increase value and the first water flow rate is taken as the second water flow rate.
[0255] If v A -v′ 实际 >△v 1s , then the current actual flow rate is v 实际 =v′ 实际 +△v 1s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 1s is the flow velocity rise value, v 实际 is the second water flow rate.
[0256] This embodiment accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0257] The twelfth embodiment of the present invention provides a control device 1000 for a water treatment device. Based on the eleventh embodiment, the present invention further:
[0258] When the water flow rate is increasing, in the process of determining the water output within the preset time period based on the first water flow rate, the second water flow rate, and the preset time period, the comparison module first compares the numerical relationship between the absolute value of the flow rate difference and the flow rate increase value. Then, the determination module 1006 selects different methods to calculate the water output of the water treatment device within the preset time period based on the numerical relationship.
[0259] Specifically, based on the absolute value of the flow rate difference being less than or equal to the flow rate increase value, the determination module 1006 is further configured to determine the time it takes for the water flow rate to increase to the target flow rate;
[0260] The determination module 1006 is further configured to determine the water output within the preset time period according to the second water flow rate, the first water flow rate, the preset time period, and the rising time period.
[0261] If the absolute value of the flow rate difference is detected to be less than or equal to the flow rate increase value within the preset time period, the water flow rate of the water supply device is determined to have reached the target flow rate after the preset time period. If the second water flow rate is the target flow rate, it can be determined that the preset time period includes a phase in which the water flow rate is increasing and a phase in which the water flow rate is maintained at the target flow rate. Based on the inverse function of the first relationship described above and the flow rate increase value, the duration of the rising phase of the water flow rate can be determined.
[0262] The flow rate rise value is the difference between the target flow rate and the first water flow rate, i.e., the difference between the second water flow rate and the first water flow rate. Based on the preset duration and the rise duration, the duration of the phase in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the rising phase and the water output during the phase in which the water flow rate remains at the target flow rate, and adding the water outputs of these two phases, the water output of the water treatment device within the preset duration can be calculated.
[0263] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate increase value within the preset time period, the water output of the water treatment device within the preset time period is calculated using the following formula:
[0264]
[0265] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g1(v a -v′ 实际 ) is the rise time, v a is the target flow rate, v′ 实际 is the first water flow velocity.
[0266] Specifically, the determination module 1006 is further configured to determine the water output within a preset time period according to the second water flow velocity and the first water flow velocity when the absolute value of the flow velocity difference is greater than the flow velocity increase value.
[0267] More specifically, if the absolute value of the detected flow rate difference is greater than the flow rate increase value within a preset time period, it is determined that the water flow rate of the water supply device is still increasing after the preset time period, that is, the second water flow rate is the sum of the first water flow rate and the flow rate increase value. If the second water flow rate is the sum of the first water flow rate and the flow rate increase value, it can be determined that the preset time period only includes the phase in which the water flow rate is increasing. By calculating the water output during the rising phase of the water flow rate, the water output of the water treatment device within the preset time period can be obtained.
[0268] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate increase value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0269]
[0270] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0271] This embodiment accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate increase value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate, and when the second water flow rate is the sum of the first water flow rate and the flow rate increase value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0272] The thirteenth embodiment of the present invention provides a control device 1000 for a water treatment device. Based on the tenth embodiment, the present invention further:
[0273] When the flow rate change state is in a declining state, in the process of determining the second water flow rate at the second moment according to the flow rate change and the target flow rate, first, the first calculation module is also used to calculate the flow rate difference between the first water flow rate and the target flow rate; then, the comparison module is also used to compare the numerical relationship between the absolute value of the flow rate difference and the flow rate drop value, and determine the second water flow rate according to the numerical relationship, wherein the second water flow rate is the actual flow rate after a preset time length.
[0274] Specifically, the determination module 1006 is further configured to, if the absolute value of the flow velocity difference is less than or equal to the flow velocity drop value, use the target flow velocity as the second water flow velocity. The first calculation module is further configured to, if the absolute value of the flow velocity difference is greater than the flow velocity drop value, calculate the difference between the first water flow velocity and the flow velocity drop value, and use the difference as the second water flow velocity.
[0275] More specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time, so the target flow rate is used as the second water flow rate.
[0276] If v′ 实际 -v A ≤△v 2s , then the current actual flow rate is v 实际 =v A Among them, v A is the target flow rate, v′ 实际is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0277] When it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, it is determined that the water flow rate of the water supply device is still in a decreasing state after the preset time, so the difference between the flow rate drop value and the first water flow rate is taken as the second water flow rate.
[0278] If v′ 实际 -v A >△v 2s , then the current actual flow rate is v 实际 =v′ 实际 -△v 2s Among them, v A is the target flow rate, v′ 实际 is the velocity of the first water flow, △v 2s is the velocity drop value, v 实际 is the second water flow rate.
[0279] This embodiment accurately judges whether the second water flow rate reaches the target flow rate based on the absolute value of the flow rate difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value, and accurately calculates the second water flow rate when the second water flow rate does not reach the target flow rate, thereby ensuring the accuracy of the obtained second water flow rate.
[0280] The fourteenth embodiment of the present invention provides a control device 1000 for a water treatment device. Based on the thirteenth embodiment, the present invention further:
[0281] When the water flow rate is decreasing, in the process of determining the water output within the preset time period based on the first water flow rate, the second water flow rate, and the preset time period, the comparison module first compares the numerical relationship between the absolute value of the flow rate difference and the flow rate decrease value. Then, the determination module 1006 selects different methods to calculate the water output of the water treatment device within the preset time period based on the numerical relationship.
[0282] Specifically, based on the absolute value of the flow rate difference being less than or equal to the flow rate drop value, the determination module 1006 is further configured to determine the drop time for the water flow rate to drop to the target flow rate;
[0283] The determination module 1006 is further configured to determine the water output within the preset time period according to the second water flow rate, the first water flow rate, the preset time period, and the falling time period.
[0284] When the absolute value of the flow rate difference is detected to be less than or equal to the flow rate drop value within a preset time period, it is determined that the water flow rate of the water supply device has reached the target flow rate after the preset time period. When the second water flow rate is the target flow rate, it can be determined that the preset time period includes a stage in which the water flow rate is decreasing and a stage in which the water flow rate remains at the target flow rate. Based on the inverse function of the second relationship described above and the flow rate drop value, the drop time period in which the water flow rate is in the drop phase can be determined, wherein the flow rate drop value is the difference between the target flow rate and the first water flow rate, that is, the difference between the second water flow rate and the first water flow rate. Based on the preset time period and the drop time period, the duration of the stage in which the water flow rate remains at the target flow rate can be determined. By calculating the water output during the water flow rate drop phase and the water output during the water flow rate remain at the target flow rate phase, and adding the water output of the above two stages, the water output of the water treatment device within the preset time period can be obtained.
[0285] Specifically, when it is detected that the absolute value of the flow rate difference is less than or equal to the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated by the following formula:
[0286]
[0287] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, g2(v′ 实际 -v a ) is the falling time, v a is the target flow rate (second water flow rate), v′ 实际 is the first water flow velocity.
[0288] Specifically, the determination module 1006 is further configured to determine the water output within a preset time period according to the second water flow velocity and the first water flow velocity when the absolute value of the flow velocity difference is greater than the flow velocity drop value.
[0289] More specifically, if the absolute value of the detected flow rate difference is greater than the flow rate decrease value within a preset time period, it is determined that the water flow rate of the water supply device is still decreasing after the preset time period. That is, the second water flow rate is the difference between the first water flow rate and the flow rate decrease value. If the second water flow rate is the difference between the first water flow rate and the flow rate decrease value, it can be determined that the preset time period only includes the phase in which the water flow rate is decreasing. By calculating the water output during the phase in which the water flow rate is decreasing, the water output of the water treatment device within the preset time period can be obtained.
[0290] Specifically, when it is detected that the absolute value of the flow rate difference is greater than the flow rate drop value within the preset time, the water output of the water treatment device within the preset time is calculated using the following formula:
[0291]
[0292] Among them, V 实际 is the water output within the preset time, t 间隔 is the preset duration, v′ 实际 is the first water flow velocity, v 实际 is the second water flow rate.
[0293] This embodiment accurately determines whether the second water flow rate has reached the target flow rate based on the absolute value of the difference between the first water flow rate and the target flow rate before a preset time, and the numerical relationship between the flow rate drop value. Different calculation methods are used to calculate the water output when the second water flow rate is the target flow rate and the water output when the second water flow rate is the difference between the first water flow rate and the flow rate drop value, further improving the accuracy of the calculated actual water output of the water treatment device.
[0294] The fifteenth embodiment of the present invention proposes a control device 900 for a water treatment device. Based on the ninth to fourteenth embodiments, the control device for the water treatment device further includes a second calculation module.
[0295] The second calculation module is used to calculate the sum of the water output within multiple preset time periods and use the sum as the total water output of the water treatment device.
[0296] In this embodiment, the continuous operation time of the water treatment device includes multiple preset time periods, and the water output within the set time period is calculated every set time period. By superimposing the water output within multiple preset time periods, the actual total water output of the water treatment device can be obtained.
[0297] It is worth noting that, during the water discharge process of the water treatment device, the duration of water discharge is set to an integer multiple of the preset duration, which can improve the accuracy of the quantitative water discharge of the water treatment device.
[0298] Specifically, the water output within multiple preset time periods is added together using the following formula to calculate the total water output:
[0299]
[0300] Among them, V 总 is the total water output, V n The actual amount of water discharged within the preset time period, and k is the current moment.
[0301] It is worth noting that the current moment k is the kth preset duration.
[0302] In this embodiment, when the continuous operation time of the water treatment device includes multiple preset time periods, the total water output of the water treatment device can be accurately obtained by superimposing the water outputs corresponding to the multiple preset time periods.
[0303] like Figure 11 As shown, the sixteenth embodiment of the present invention proposes a control device 1100 for a water treatment device, including: a memory 1102 for storing programs or instructions; a processor 1104 for implementing the steps of the control method for the water treatment device provided in any of the above embodiments when executing the programs or instructions. Therefore, the control device of the water treatment device includes all the beneficial effects of the control method for the water treatment device provided in any of the above embodiments, and to avoid repetition, they will not be repeated here.
[0304] The seventeenth embodiment of the present invention proposes a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by the processor, the steps of the control method of the water treatment device provided in any of the above embodiments are implemented. Therefore, the readable storage medium includes all the beneficial effects of the control method of the water treatment device provided in any of the above embodiments. To avoid repetition, they will not be repeated here.
[0305] like Figure 12 The eighteenth embodiment of the present invention proposes a water treatment device 1200, which includes the control device 1100 of the water treatment device provided in any of the above embodiments, and / or the readable storage medium 1202 provided in any of the above embodiments. Therefore, the water treatment device 1200 also includes the control device of the water treatment device provided in any of the above embodiments, and / or all the beneficial effects of the readable storage medium provided in any of the above embodiments. To avoid repetition, they will not be repeated here.
[0306] Specifically, the water treatment device further includes: a water supply pipeline and a water supply device.
[0307] Among them, the water supply device and flow sensor are installed in the water supply pipeline.
[0308] In an embodiment of the present application, the water treatment device includes a water storage unit, a water supply pipeline, and a water supply device. The water supply pipeline is connected to the water storage tank, and the water supply device delivers water stored in the water storage unit to the water supply pipeline to achieve water supply. A flow sensor is also provided on the water supply pipeline, installed at the water outlet and / or water inlet of the water supply device, and is capable of collecting water flow at the water supply device.
[0309] The water storage member can be a water tank, and the water supply device can be a water pump.
[0310] In some embodiments of the present invention, the water treatment device further includes: a water storage component.
[0311] Wherein, the water storage component is connected to the water supply pipeline.
[0312] In an embodiment of the present application, a water storage component is provided in the water treatment device, wherein the water treatment device is an instant hot water dispenser, and the water storage component is selected as a water tank, which is connected to the water inlet pipe. Under the action of the water supply device, the water in the water tank is transported to the instant hot module for heating, and the heated water is output to the outside of the water treatment device through the water outlet pipe.
[0313] Specifically, the water treatment device further includes a heating element. The heating element is selected as an instant heating element, which is installed on the water supply pipeline and can heat the water in the water supply pipeline. The heating element can be selected as an instant heating pipe.
[0314] In an embodiment of the present application, the water treatment device is an instant hot water dispenser, which includes a heating element. The heating element is arranged on the water supply pipeline. After the water supply device sends the water in the water storage element to the water supply pipeline, the water flow will pass through the instant heating element. The instant heating element can generate heat and increase the water temperature in the water supply pipeline in real time, thereby realizing constant temperature water supply.
[0315] Specifically, the water treatment device further includes a temperature sensor installed on the water supply pipeline, and the temperature sensor can collect the temperature of the liquid in the water supply pipeline.
[0316] In the embodiment of the present application, the water treatment device is further provided with a temperature sensor, and the number of temperature sensors may be at least two. The first temperature sensor is located near the water inlet of the water supply line and is used to measure the temperature of the water before being heated by the heater. The second temperature sensor is located near the water outlet of the water supply line and is used to measure the temperature of the water after being heated by the heater.
[0317] Specifically, Figure 13 FIG1 shows one of the structural schematic diagrams of a water treatment device according to an embodiment of the present invention. Figure 14 FIG2 shows a second structural diagram of a water treatment device according to an embodiment of the present invention. Figure 15 The third structural diagram of the water treatment device according to the embodiment of the present invention is shown. Figure 16 FIG4 shows a fourth structural diagram of a water treatment device according to an embodiment of the present invention. Figure 13 、 Figure 14 、 Figure 15 and Figure 16 As shown, water treatment device 1300 includes a heating element 1302, a first sensor 1304, a water pump 1306, and a second sensor 1308. The water pump 1306 is used to drive the liquid, the heating element 1302 is used to heat the liquid, the first sensor 1204 is used to detect the outlet water temperature of the water treatment device 1300, and the second sensor 1308 is used to detect the inlet water temperature of the water treatment device 1300.
[0318] In addition, the water treatment device 1300 proposed in the present invention also has the following advantages: energy saving; the water treatment device 1300 is heated as needed, and there is no need for long-term hot water storage work such as heating and insulation inside the water treatment device 1300, thereby reducing energy loss. The product volume is reduced and the spatial adaptability is high. No hot water storage is required inside the water treatment device 1300, so the structural design can reduce the product volume. Low cost. Because no related heating detection elements are required inside the water treatment device 1300, the product cost can be reduced. The user can set the outlet water temperature and water output according to needs. The temperature control unit and volume calculation unit inside the water treatment device 1300 quickly and accurately reach the target temperature by heating and adjusting the water flow rate to meet the user's water output needs.
[0319] In a specific embodiment, the first sensor 1304 may be a NTC (Negative Temperature Coefficient Sensor) temperature sensor.
[0320] In a specific embodiment, the second sensor 1308 may be an NTC temperature sensor.
[0321] In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise expressly defined, the orientations or positional relationships indicated by the terms "upper" and "lower" are orientations or positional relationships based on the drawings and are intended only to facilitate the description of the present invention and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limitations on the present invention. The terms "connect," "install," and "fix" should all be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0322] In the description of the present invention, the terms "one embodiment," "some embodiments," "specific embodiments," etc., mean that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0323] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for controlling a water treatment device, characterized in that: The method comprises: Determine whether water discharge demand is triggered; When the water outlet demand is triggered, determining whether the target flow rate is greater than or equal to the first water flow rate; When the target flow rate is greater than or equal to the first water flow rate, determining whether a difference between the target flow rate and the first water flow rate is greater than a flow rate increase value, wherein the flow rate increase value is calculated based on a flow rate change rate and a preset time length when the flow rate change state is in an increasing state; When the difference between the target flow rate and the first water flow rate is greater than the flow rate increase value, determining the second water flow rate to be the sum of the first water flow rate and the flow rate increase value; When the condition that the difference between the target flow rate and the first water flow rate is greater than the flow rate increase value is not satisfied, determining the second water flow rate to be the target flow rate; when the condition that the target flow rate is greater than or equal to the first water flow rate is not satisfied, determining whether the difference between the first water flow rate and the target flow rate is greater than a flow rate decrease value, wherein the flow rate decrease value is calculated based on the flow rate change rate and the preset time length when the flow rate change state is a decrease state; When the difference between the first water flow velocity and the target flow velocity is greater than the flow velocity drop value, determining the second water flow velocity to be the difference between the first water flow velocity and the flow velocity drop value; When the difference between the first water flow rate and the target flow rate is not greater than the flow rate drop value, determining the second water flow rate to be the target flow rate; Determine the rising time for the water flow rate to rise to the target flow rate, and determine the water output within the preset time according to the second water flow rate, the first water flow rate, the preset time and the rising time; or Determine the time it takes for the water flow rate to drop to the target flow rate, and determine the water output within the preset time based on the second water flow rate, the first water flow rate, the preset time and the drop time.
2. The control method of the water treatment device according to claim 1, characterized in that: The method further comprises: determining a flow velocity change state of the water flow according to a numerical relationship between the target flow velocity and the first water flow velocity; Based on the flow velocity change state being an increasing state, determining the flow velocity increase value according to a preset time length and a first relationship; Based on the flow rate change state being a decreasing state, the flow rate decrease value is determined according to the preset time length and the second relationship.
3. The control method of the water treatment device according to claim 2, characterized in that: Before determining whether the target flow rate is greater than or equal to the first water flow rate, the method further includes: Obtaining the first water flow velocity at a first moment; Obtain the driving voltage at the second moment, and determine the target flow rate based on the driving voltage, wherein the target flow rate is the water flow rate when the water supply device operates stably under the driving voltage, and the preset time length is the interval between the first moment and the second moment.
4. The control method of the water treatment device according to claim 1, characterized in that: Also includes: Based on the fact that the difference between the first water flow rate and the target flow rate is greater than the flow rate increase value, the water output within the preset time period is determined according to the second water flow rate and the first water flow rate.
5. The control method of the water treatment device according to claim 1, characterized in that: Also includes: Based on the fact that the difference between the first water flow rate and the target flow rate is greater than the flow rate drop value, the water output within the preset time period is determined according to the second water flow rate and the first water flow rate.
6. The control method for a water treatment device according to any one of claims 1 to 5, characterized in that: Also includes: The sum of the water outputs within the preset time periods is calculated, and the sum is used as the total water output of the water treatment device.
7. A control device for a water treatment device, characterized in that: include: The first judgment module is used to judge whether the water outlet demand is triggered; A second judgment module is used to judge whether the target flow rate is greater than or equal to the first water flow rate when the water outlet demand is triggered; a third judgment module, configured to, when the target flow rate is greater than or equal to the first water flow rate, judge whether a difference between the target flow rate and the first water flow rate is greater than a flow rate increase value, wherein the flow rate increase value is calculated based on a flow rate change rate and a preset time length when the flow rate change state is in an increasing state; a first determining module, configured to determine a second water flow rate as the sum of the first water flow rate and the flow rate increase value when a difference between the target flow rate and the first water flow rate is greater than the flow rate increase value; The first determining module is further configured to determine that the second water flow rate is the target flow rate when the difference between the target flow rate and the first water flow rate is greater than the flow rate increase value; The third judgment module is further configured to, when the target flow rate is not greater than or equal to the first water flow rate, determine whether a difference between the first water flow rate and the target flow rate is greater than a flow rate decrease value, wherein the flow rate decrease value is calculated based on a flow rate change rate and a preset time length when the flow rate change state is a decrease state; a second determining module, configured to determine the second water flow rate as the difference between the first water flow rate and the target flow rate when the difference between the first water flow rate and the target flow rate is greater than the flow rate drop value; The second determining module is further configured to determine that the second water flow rate is the target flow rate when the difference between the first water flow rate and the target flow rate is not greater than the flow rate drop value; a third determining module, configured to determine a rising time for the water flow rate to rise to the target flow rate, and determine a water output within the preset time period according to the second water flow rate, the first water flow rate, the preset time period, and the rising time period; or Used to determine the time it takes for the water flow rate to drop to the target flow rate, and determine the water output within the preset time period based on the second water flow rate, the first water flow rate, the preset time period and the drop time period.
8. A control device for a water treatment device, characterized in that: include: Memory, used to store programs or instructions; A processor, configured to implement the control method according to any one of claims 1 to 6 when executing the program or instruction.
9. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the control method according to any one of claims 1 to 6 is implemented.
10. A water treatment device, characterized in that: include: The control device according to claim 7 or 8; and / or The readable storage medium according to claim 9.
11. The water treatment device according to claim 10, characterized in that: Also includes: water supply pipelines; A water supply device is arranged on the water supply pipeline.
12. The water treatment device according to claim 11, characterized in that Also includes: The water storage component is connected to the water supply pipeline.
13. The water treatment device according to claim 11, characterized in that Also includes: A heating element is arranged in the water supply pipeline.
14. The water treatment device according to claim 11, characterized in that Also includes: The temperature sensor is arranged in the water supply pipeline and is used to collect the temperature of the liquid in the water supply pipeline.
Citation Information
Patent Citations
Water dispensing apparatus and method for controlling the same
CN107405024A