Water flow based electric water heater control method, system, device and storage medium
By installing a water flow power generation monitoring module at each water inlet of the gas water heater, the water flow and temperature are monitored in real time, solving the problem of inaccurate temperature control in gas water heaters, achieving precise temperature control at the water inlet, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NINGBO FOTILE KITCHEN WARE CO LTD
- Filing Date
- 2023-05-15
- Publication Date
- 2026-06-26
AI Technical Summary
Existing gas water heaters cannot automatically and accurately control the temperature, resulting in the water temperature at the water inlet not matching the user's set temperature, leading to a poor user experience.
A water flow power generation monitoring module, including a flow sensor and a temperature sensor, is installed at each water inlet. It uses water flow to generate electricity, monitors water flow and water temperature in real time, and controls the outlet water temperature according to the set temperature.
It achieves precise matching between the water temperature at the water inlet and the user-set temperature, thus improving the user experience.
Smart Images

Figure CN116558125B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of household appliance technology, and in particular to a water heater control method, system, device and storage medium based on water flow power generation. Background Technology
[0002] Currently, there is information isolation between the water inlet (e.g., faucet) connected to the gas water heater and its main control board. This means the gas water heater doesn't know where hot water is being used, thus preventing it from automatically setting or precisely controlling the temperature, causing inconvenience for users. For example, if a user's shower water temperature is typically 45 degrees Celsius and the kitchen water temperature is typically 35 degrees Celsius, the user must first change the set temperature to 45 degrees Celsius via the gas water heater's display panel, remote control, or mobile app before showering. This undoubtedly increases the complexity of use and reduces the user experience. Furthermore, because different users have different water pipe lengths, the hot water flowing from the gas water heater's outlet loses heat as it passes through the pipes, causing a deviation between the water temperature at the inlet and the user's desired temperature (the user-set temperature), resulting in inconvenience and frustration in actual use. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to overcome the defects in the prior art where the water temperature at the water inlet does not match the user-set temperature due to information isolation between the water inlet and the main control board, resulting in a poor user experience. The present invention provides a water heater control method, system, device and storage medium based on water flow power generation.
[0004] The present invention solves the above-mentioned technical problems through the following technical solution:
[0005] This invention provides a water heater control method based on water flow power generation. The water heater includes several water flow power generation monitoring modules. The outlet of the water heater is connected to the hot water inlet of several water outlets. Each water outlet has a water flow power generation monitoring module installed at its hot water inlet. Each water flow power generation monitoring module includes a flow sensor, a temperature sensor, and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and the temperature sensor. The flow sensor is used to collect the water flow rate of the water outlet, and the temperature sensor is used to collect the water temperature of the water outlet.
[0006] The water heater control method includes:
[0007] When the hot water start-up conditions are met, the target water inlet in use is determined; wherein the water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold.
[0008] Obtain the set outlet water temperature corresponding to the target water inlet;
[0009] The outlet water temperature is controlled based on the set outlet water temperature as the target outlet water temperature.
[0010] Preferably, the water heater also includes an inlet flow sensor;
[0011] The inlet flow sensor is used to collect the inlet flow rate of the water heater;
[0012] The hot water activation conditions include flow rate conditions;
[0013] The flow conditions include the presence of a water flow rate at any of the water inlets that is greater than the first start-up flow rate threshold and the inlet flow rate that is greater than a preset second start-up flow rate threshold.
[0014] Preferably, the hot water start-up conditions also include a duration condition;
[0015] The duration condition includes a duration that satisfies the traffic condition that is greater than a preset duration threshold.
[0016] Preferably, the water heater also includes an outlet temperature sensor;
[0017] The outlet temperature sensor is used to collect the outlet water temperature of the water heater;
[0018] The water heater control method also includes:
[0019] When the first difference between the outlet water temperature and the set outlet water temperature of the target water inlet is within a preset range, if the second difference between the set outlet water temperature and the water temperature of the target water inlet is less than or equal to a preset first threshold, it indicates that the outlet water temperature has reached the target outlet water temperature; if the second difference is greater than the first threshold, the target outlet water temperature is re-determined to control the outlet water temperature.
[0020] Preferably, the step of redetermining the target outlet water temperature includes:
[0021] When the second difference is greater than or equal to the second threshold, the target water temperature is the sum of the set water temperature and the first preset increment value.
[0022] Wherein, the second threshold is greater than the first threshold.
[0023] Preferably, the step of redetermining the target outlet water temperature further includes:
[0024] When the second difference is less than the second threshold, the target water temperature is the sum of the set water temperature and the second preset increment value.
[0025] Wherein, the second preset increment value is greater than the first preset increment value.
[0026] Preferably, the water heater control method further includes:
[0027] In response to a user's command to set the outlet water temperature, if the water heater is in standby mode and the standby time is greater than the standby time threshold when the command is received, then the water heater enters the outlet water temperature setting mode to set the set outlet water temperature for each outlet.
[0028] The present invention also provides a water heater control system based on water flow power generation. The water heater includes several water flow power generation monitoring modules. The outlet of the water heater is connected to the hot water inlet of several water outlets. Each water outlet has a water flow power generation monitoring module installed at its hot water inlet. Each water flow power generation monitoring module includes a flow sensor, a temperature sensor, and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and the temperature sensor. The flow sensor is used to collect the water flow rate of the water outlet, and the temperature sensor is used to collect the water temperature of the water outlet.
[0029] The water heater control system includes:
[0030] The target water inlet determination module is used to determine the target water inlet in use when the hot water start-up conditions are met; wherein the water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold.
[0031] The acquisition module is used to acquire the set outlet water temperature corresponding to the target water inlet;
[0032] The target outlet water temperature determination module is used to control the outlet water temperature based on the set outlet water temperature as the target outlet water temperature.
[0033] Preferably, the water heater also includes an inlet flow sensor;
[0034] The inlet flow sensor is used to collect the inlet flow rate of the water heater;
[0035] The hot water activation conditions include flow rate conditions;
[0036] The flow conditions include the presence of a water flow rate at any of the water inlets that is greater than the first start-up flow rate threshold and the inlet flow rate that is greater than a preset second start-up flow rate threshold.
[0037] Preferably, the hot water start-up conditions also include a duration condition;
[0038] The duration condition includes a duration that satisfies the traffic condition that is greater than a preset duration threshold.
[0039] Preferably, the water heater also includes an outlet temperature sensor;
[0040] The outlet temperature sensor is used to collect the outlet water temperature of the water heater;
[0041] The target outlet water temperature determination module is further configured to, when the first difference between the outlet water temperature and the set outlet water temperature of the target water inlet is within a preset range, indicate that the outlet water temperature has reached the target outlet water temperature if the second difference between the set outlet water temperature and the water temperature of the target water inlet is less than or equal to a preset first threshold; and if the second difference is greater than the first threshold, redetermine the target outlet water temperature to control the outlet water temperature.
[0042] Preferably, the target outlet water temperature determination module is further configured to use the sum of the set outlet water temperature and the first preset increment value as the target outlet water temperature when the second difference is greater than or equal to the second threshold.
[0043] Wherein, the second threshold is greater than the first threshold.
[0044] Preferably, the target outlet water temperature determination module is further configured to use the sum of the set outlet water temperature and the second preset increment value as the target outlet water temperature when the second difference is less than the second threshold.
[0045] Wherein, the second preset increment value is greater than the first preset increment value.
[0046] Preferably, the water heater control system further includes:
[0047] The user instruction response module is used to respond to the user's water outlet setting water temperature setting instruction. If the water heater is in standby mode and the standby time is greater than the standby time threshold when the water outlet setting water temperature setting instruction is obtained, then the water outlet setting water temperature setting mode is entered to set the set water temperature for each water outlet.
[0048] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned water flow-based power generation water heater control method.
[0049] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the aforementioned water flow-based power generation water heater control method.
[0050] The positive and progressive effects of this invention are as follows: By installing a water flow power generation monitoring module at each water inlet to monitor the water flow and water temperature at the water inlet, and since the water flow power generation monitoring module uses water flow to generate electricity, it can only collect water flow and water temperature when water is being used at the water inlet. The collected water flow will definitely not be zero. When the hot water start-up conditions are met, the target water inlet that is using water is identified. Then, the water temperature is controlled with the set water temperature corresponding to the target water inlet as the target water temperature. This avoids the information isolation between the water inlet and its main control board, and enables the water temperature at the water inlet to match the user-set water temperature, achieving precise temperature control and improving the user experience. Attached Figure Description
[0051] Figure 1 This is a schematic diagram of the structure of a water heater example in the water flow-based power generation control method of Embodiment 1 of the present invention.
[0052] Figure 2 This is a flowchart of a water heater control method based on water flow power generation, according to Embodiment 1 of the present invention.
[0053] Figure 3 This is a schematic diagram of the water heater control system based on water flow power generation according to Embodiment 2 of the present invention.
[0054] Figure 4 This is a schematic diagram of the structure of the water heater according to Embodiment 3 of the present invention. Detailed Implementation
[0055] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.
[0056] Example 1
[0057] This embodiment provides a water heater control method based on water flow power generation.
[0058] Reference Figure 1 Water heater A includes several water flow power generation monitoring modules 1. The outlet of water heater A is connected to the hot water inlet of several water outlets, and one water flow power generation monitoring module 1 is installed at the hot water inlet of each water outlet. Generally, each household has fewer than 5 water outlets for hot water.
[0059] Each water flow power generation monitoring module 1 includes a flow sensor, a temperature sensor, and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and temperature sensor. The flow sensor is used to collect the water flow rate at the water inlet, and the temperature sensor is used to collect the water temperature at the water inlet. The water flow power generation module can directly power the flow sensor and temperature sensor, i.e., it can be directly connected to the flow sensor and temperature sensor to provide power; or it can indirectly power the flow sensor and temperature sensor, i.e., it can provide power through other components in the water flow power generation monitoring module 1. For example, the water flow power generation module, flow sensor, and temperature sensor can all be directly connected to other components (e.g., a controller), with the water flow power generation module powering the other components, and the other components then powering the flow sensor and temperature sensor.
[0060] Each water flow power generation monitoring module 1 may also include a wireless communication module (e.g., a radio frequency module) and a controller. The controller can communicate wirelessly with the main controller of the water heater through the wireless communication module to transmit the water flow and water temperature at the water inlet.
[0061] Each hydropower generation monitoring module 1 may also include a voltage regulator module, which can regulate the voltage of the hydropower generation module to supply power to the controller, flow sensor and temperature sensor.
[0062] Reference Figure 2 Water heater control methods include:
[0063] S11. When the hot water start-up conditions are met, determine the target water inlet that is in use. Wherein, the water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold.
[0064] S12. Obtain the set water temperature corresponding to the target water inlet.
[0065] S13. Control the outlet water temperature with the set outlet water temperature as the target outlet water temperature.
[0066] The system acquires real-time water flow and temperature data from each water inlet monitored by the hydroelectric power generation monitoring module. Since the monitoring module uses water flow to generate electricity, water flow and temperature data can only be collected when water is being used at the inlet, ensuring that the collected water flow is not zero. Furthermore, the ability to collect water flow and temperature data indicates the presence of a certain amount of water flow at the inlet.
[0067] The first start-up flow threshold is used to distinguish whether the water inlet is using water or the water level is fluctuating, in order to prevent false start-up caused by water fluctuations.
[0068] The initial startup traffic threshold can be set according to actual needs.
[0069] This embodiment monitors the water flow and temperature at each water inlet using a water flow power generation monitoring module. Since the water flow power generation monitoring module uses water flow to generate electricity, it can only collect water flow and temperature data when water is being used at the water inlet. The collected water flow will always be non-zero. When the hot water start-up conditions are met, the target water inlet in use is identified, and the outlet water temperature is controlled based on the set outlet water temperature corresponding to the target water inlet. This avoids information isolation between the water inlet and its main control board, ensuring that the water temperature at the water inlet matches the user-set outlet water temperature, achieving precise temperature control and improving the user experience.
[0070] In specific implementation, refer to Figure 1 The water heater also includes an inlet flow sensor 2.
[0071] The inlet flow sensor 2 is used to collect the inlet flow rate of the water heater.
[0072] Hot water start-up conditions include flow rate conditions.
[0073] The flow conditions include the presence of a water flow rate at any water inlet that is greater than the first start-up flow rate threshold and the inlet flow rate that is greater than the preset second start-up flow rate threshold.
[0074] The first and second start-up flow thresholds can be used together to distinguish whether the water inlet is using water or the water is fluctuating, so as to make the judgment on whether the water inlet is using water more accurate.
[0075] The first startup flow threshold and the second startup flow threshold can be equal or unequal.
[0076] You can set the first startup traffic threshold and the second startup traffic threshold according to your actual needs.
[0077] With a properly set initial flow threshold, generally only one water inlet will be designated as the target water inlet. If the flow rates of two or more water inlets are both greater than the initial flow threshold, the water inlet with the highest flow rate can be designated as the target water inlet, or the water inlet with the longest continuous water usage duration can be designated as the target water inlet.
[0078] In practice, the conditions for starting hot water also include the duration condition.
[0079] The duration condition includes the duration of the traffic conditions being met being greater than a preset duration threshold.
[0080] The duration condition is used to further prevent false starts caused by water fluctuations.
[0081] You can set the duration threshold according to actual needs, such as 2 seconds.
[0082] In specific implementation, refer to Figure 1 The water heater also includes an outlet temperature sensor 3.
[0083] The outlet temperature sensor 3 is used to collect the outlet water temperature of the water heater.
[0084] Water heater control methods also include:
[0085] When the first difference between the outlet water temperature and the target outlet water temperature is within a preset range, if the second difference between the set outlet water temperature and the target outlet water temperature is less than or equal to the preset first threshold, it means that the outlet water temperature has reached the target outlet water temperature; if the second difference is greater than the first threshold, the target outlet water temperature is redefined to control the outlet water temperature.
[0086] If the second difference is greater than the first threshold, it indicates that the hot water loses a lot of heat in the pipes. In order to achieve the user's desired outlet water temperature, the target outlet water temperature needs to be adjusted appropriately.
[0087] You can set a preset range and a first threshold according to actual needs.
[0088] For example, the preset range can be set to -1 to 1, and the first difference is within the preset range, that is, the absolute value of the first difference is less than or equal to 1.
[0089] For example, the first threshold can be set to 3.
[0090] In practice, the target outlet water temperature will be redefined, including:
[0091] When the second difference is greater than or equal to the second threshold, the target outlet water temperature is the sum of the set outlet water temperature and the first preset increment value.
[0092] The second threshold is greater than the first threshold and the first preset increment value.
[0093] A second threshold can be set according to actual needs.
[0094] For example, when the first threshold is set to 3, the second threshold can be set to 4. The first preset increment value can be set to 2.
[0095] In practice, re-determining the target outlet water temperature also includes:
[0096] When the second difference is less than the second threshold, the target outlet water temperature is the sum of the set outlet water temperature and the second preset increment value.
[0097] The second preset increment value is greater than the first preset increment value.
[0098] If the second difference is greater than or equal to the second threshold, it means that the actual water temperature is too different from the user's expected water temperature, and the target water temperature needs to be slightly increased to prevent the user from being scalded.
[0099] A second preset increment value can be set according to actual needs.
[0100] For example, when the first preset increment value is set to 2, the second preset increment value can be set to 3.
[0101] In practice, the water heater control method also includes:
[0102] In response to the user's command to set the outlet water temperature, if the water heater is in standby mode and the standby time is longer than the standby time threshold when the command is received, it will enter the outlet water temperature setting mode to set the set outlet water temperature for each outlet.
[0103] The user can obtain the water outlet temperature setting command through the water heater's buttons. For example, when the water heater has been in standby mode for more than 3 minutes (to prevent accidental entry into this mode), the power button can be pressed and held. The user can also set the set water outlet temperature for each water outlet in the water outlet temperature setting mode. For example, a short press of the power button selects the water outlet, and the plus and minus buttons set the water temperature.
[0104] The water heater's display panel can show information such as the water outlet's set water temperature mode and the set water temperature.
[0105] Example 2
[0106] This embodiment provides a water heater control system based on water flow power generation.
[0107] The water heater includes several water flow power generation monitoring modules. The water outlet of the water heater is connected to the hot water inlet of several water outlets. A water flow power generation monitoring module is installed at the hot water inlet of each water outlet. Each water flow power generation monitoring module includes a flow sensor, a temperature sensor and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and temperature sensor. The flow sensor is used to collect the water flow rate of the water outlet, and the temperature sensor is used to collect the water temperature of the water outlet.
[0108] Reference Figure 3 The water heater control system includes:
[0109] The target water inlet determination module 21 is used to determine the target water inlet in use when the hot water start-up conditions are met. The water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold.
[0110] The acquisition module 22 is used to acquire the set water outlet temperature corresponding to the target water inlet.
[0111] The target outlet water temperature determination module 23 is used to control the outlet water temperature with the set outlet water temperature as the target outlet water temperature.
[0112] In practice, the water heater also includes an inlet flow sensor.
[0113] The inlet flow sensor is used to collect the inlet water flow rate of the water heater.
[0114] Hot water start-up conditions include flow rate conditions.
[0115] The flow conditions include the presence of a water flow rate at any water inlet that is greater than the first start-up flow rate threshold and the inlet flow rate that is greater than the preset second start-up flow rate threshold.
[0116] In practice, the conditions for starting hot water also include the duration condition.
[0117] The duration condition includes the duration of the traffic conditions being met being greater than a preset duration threshold.
[0118] In practice, the water heater also includes an outlet temperature sensor.
[0119] The outlet temperature sensor is used to collect the outlet water temperature of the water heater.
[0120] The target outlet water temperature determination module 23 is further configured to, when the first difference between the outlet water temperature and the set outlet water temperature of the target water inlet is within a preset range, indicate that the outlet water temperature has reached the target outlet water temperature if the second difference between the set outlet water temperature and the target water inlet water temperature is less than or equal to a preset first threshold. If the second difference is greater than the first threshold, the target outlet water temperature is redefined to control the outlet water temperature.
[0121] In specific implementation, the target outlet water temperature determination module 23 is also used to set the sum of the outlet water temperature and the first preset increment value as the target outlet water temperature when the second difference is greater than or equal to the second threshold.
[0122] The second threshold is greater than the first threshold.
[0123] In specific implementation, the target outlet water temperature determination module 23 is also used to set the sum of the outlet water temperature and the second preset increment value as the target outlet water temperature when the second difference is less than the second threshold.
[0124] The second preset increment value is greater than the first preset increment value.
[0125] In practice, the water heater control system also includes:
[0126] The user instruction response module 24 is used to respond to the user's water outlet setting water temperature setting instruction. If the water heater is in standby mode and the standby time is greater than the standby time threshold when the water outlet setting water temperature setting instruction is obtained, it enters the water outlet setting water temperature setting mode to set the set water temperature for each water outlet.
[0127] This embodiment monitors the water flow and temperature at each water inlet using a water flow power generation monitoring module. Since the water flow power generation monitoring module uses water flow to generate electricity, it can only collect water flow and temperature data when water is being used at the water inlet. The collected water flow will always be non-zero. When the hot water start-up conditions are met, the target water inlet in use is identified, and the outlet water temperature is controlled based on the set outlet water temperature corresponding to the target water inlet. This avoids information isolation between the water inlet and its main control board, ensuring that the water temperature at the water inlet matches the user-set outlet water temperature, achieving precise temperature control and improving the user experience.
[0128] It should be noted that the principles and technical effects of each module of the water flow-based power generation water heater control system in this embodiment can be referred to the corresponding part of Embodiment 1, and will not be repeated here.
[0129] Example 3
[0130] Figure 4 This is a schematic diagram of an electronic device provided in Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the water flow-based power generation control method for a water heater in Embodiment 1. Figure 4 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0131] The electronic device 30 may be in the form of a general-purpose computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).
[0132] Bus 33 includes a data bus, an address bus, and a control bus.
[0133] The memory 32 may include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.
[0134] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0135] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the water flow-based power generation control method for water heaters in Embodiment 1 of the present invention.
[0136] Electronic device 30 can also communicate with one or more external devices 34 (e.g., buttons, pointing devices, etc.). This communication can be performed via input / output (I / O) interface 35. Furthermore, the model-generated electronic device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 36. As shown in the figure, network adapter 36 communicates with other modules of the model-generated electronic device 30 via bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0137] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module; conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules for embodiment.
[0138] Example 4
[0139] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the water flow-based power generation control method for a water heater in Embodiment 1.
[0140] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0141] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on a terminal device, is used to cause the terminal device to execute the water flow-based power generation control method of Embodiment 1.
[0142] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0143] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A water heater control method based on water flow power generation, characterized in that, The water heater includes several water flow power generation monitoring modules. The outlet of the water heater is connected to the hot water inlet of several water outlets. Each water outlet has a water flow power generation monitoring module installed at its hot water inlet. Each water flow power generation monitoring module includes a flow sensor, a temperature sensor, and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and the temperature sensor. The flow sensor is used to collect the water flow rate of the water outlet, and the temperature sensor is used to collect the water temperature of the water outlet. The water heater control method includes: When the hot water start-up conditions are met, the target water inlet in use is determined; wherein the water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold. Obtain the set outlet water temperature corresponding to the target water inlet; The outlet water temperature is controlled based on the set outlet water temperature as the target outlet water temperature; The water heater also includes an outlet temperature sensor; The outlet temperature sensor is used to collect the outlet water temperature of the water heater; The water heater control method also includes: When the first difference between the set water temperature and the target water outlet temperature is within a preset range, if the second difference between the set water temperature and the target water outlet temperature is less than or equal to a preset first threshold, it indicates that the water temperature has reached the target water temperature; if the second difference is greater than the first threshold, the target water temperature is redefined to control the water temperature. The process of redetermining the target outlet water temperature includes: When the second difference is greater than or equal to the second threshold, the sum of the set water temperature and the first preset increment value is taken as the target water temperature, so as to slightly increase the target water temperature to prevent the user from being scalded. Wherein, the second threshold is greater than the first threshold; The process of redetermining the target outlet water temperature further includes: When the second difference is less than the second threshold, the target water temperature is the sum of the set water temperature and the second preset increment value. Wherein, the second preset increment value is greater than the first preset increment value.
2. The water heater control method based on water flow power generation as described in claim 1, characterized in that, The water heater also includes an inlet flow sensor; The inlet flow sensor is used to collect the inlet flow rate of the water heater; The hot water activation conditions include flow rate conditions; The flow conditions include the presence of a water flow rate at any of the water inlets that is greater than the first start-up flow rate threshold and the inlet flow rate that is greater than a preset second start-up flow rate threshold.
3. The water heater control method based on water flow power generation as described in claim 2, characterized in that, The hot water activation conditions also include a duration condition; The duration condition includes a duration that satisfies the traffic condition that is greater than a preset duration threshold.
4. The water heater control method based on water flow power generation as described in claim 1, characterized in that, The water heater control method also includes: In response to a user's command to set the outlet water temperature, if the water heater is in standby mode and the standby time is greater than the standby time threshold when the command is received, then the water heater enters the outlet water temperature setting mode to set the set outlet water temperature for each outlet.
5. A water heater control system based on water flow power generation, characterized in that, The water heater includes several water flow power generation monitoring modules. The outlet of the water heater is connected to the hot water inlet of several water outlets. Each water outlet has a water flow power generation monitoring module installed at its hot water inlet. Each water flow power generation monitoring module includes a flow sensor, a temperature sensor, and a water flow power generation module. The water flow power generation module is used to generate electricity using water flow and to power the flow sensor and the temperature sensor. The flow sensor is used to collect the water flow rate of the water outlet, and the temperature sensor is used to collect the water temperature of the water outlet. The water heater control system includes: The target water inlet determination module is used to determine the target water inlet in use when the hot water start-up conditions are met; wherein the water flow rate of the target water inlet is greater than a preset first start-up flow rate threshold. The acquisition module is used to acquire the set outlet water temperature corresponding to the target water inlet; The target outlet water temperature determination module is used to control the outlet water temperature based on the set outlet water temperature as the target outlet water temperature. The water heater also includes an outlet temperature sensor; The outlet temperature sensor is used to collect the outlet water temperature of the water heater; The target outlet water temperature determination module is further configured to, when the first difference between the outlet water temperature and the set outlet water temperature of the target water inlet is within a preset range, indicate that the outlet water temperature has reached the target outlet water temperature if the second difference between the set outlet water temperature and the water temperature of the target water inlet is less than or equal to a preset first threshold; and if the second difference is greater than the first threshold, redetermine the target outlet water temperature to control the outlet water temperature. The target water temperature determination module is also used to determine the target water temperature by the sum of the set water temperature and the first preset increment value when the second difference is greater than or equal to the second threshold, so as to slightly increase the target water temperature to prevent the user from being scalded. Wherein, the second threshold is greater than the first threshold; The target outlet water temperature determination module is further configured to, when the second difference is less than the second threshold, use the sum of the set outlet water temperature and the second preset increment value as the target outlet water temperature; Wherein, the second preset increment value is greater than the first preset increment value.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the water flow-based power generation control method for a water heater as described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the water flow-based power generation control method for water heaters as described in any one of claims 1 to 4.