CN110553405B - Control method, device and equipment of water heater and storage medium - Google Patents

Control method, device and equipment of water heater and storage medium Download PDF

Info

Publication number
CN110553405B
CN110553405B CN201910765927.7A CN201910765927A CN110553405B CN 110553405 B CN110553405 B CN 110553405B CN 201910765927 A CN201910765927 A CN 201910765927A CN 110553405 B CN110553405 B CN 110553405B
Authority
CN
China
Prior art keywords
hot water
time
water
data
data set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910765927.7A
Other languages
Chinese (zh)
Other versions
CN110553405A (en
Inventor
卢宇聪
曹红风
李卓文
林锐勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Wanhe Thermal Energy Technology Co Ltd
Original Assignee
Guangdong Wanhe Thermal Energy Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Wanhe Thermal Energy Technology Co Ltd filed Critical Guangdong Wanhe Thermal Energy Technology Co Ltd
Priority to CN201910765927.7A priority Critical patent/CN110553405B/en
Publication of CN110553405A publication Critical patent/CN110553405A/en
Application granted granted Critical
Publication of CN110553405B publication Critical patent/CN110553405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters

Abstract

The invention discloses a self-learning control method, a device, equipment and a storage medium of a water heater, wherein the water heater is controlled to enter a self-learning mode after being electrified and started; detecting the time length of single hot water usage and corresponding hot water data of each day according to a preset time period, and establishing a hot water time data set and a historical hot water usage data set; the hot water data includes: preheating time from the hot water temperature to the set water temperature by using the hot water starting time, the water flow when using the hot water, and the hot water temperature in the circulating water channel of the water heater; according to the historical hot water data set, the starting time of the standby hot water time and the corresponding hot water data of the next day are determined, so that the optimal starting time of the hot water time, the preheating time, the water flow rate of the hot water and the set temperature are predicted, the water in the water channel of the water heater is automatically and circularly preheated, the intelligent preheating of the water heater for each day in the circulating water channel is realized, and the comfort level and the experience feeling of outputting the hot water by the user through the water heater are improved.

Description

Control method, device and equipment of water heater and storage medium
Technical Field
The invention relates to the technical field of control of water heaters, in particular to a control method, a control device, control equipment and a storage medium of a water heater.
Background
The water heater is the basic living facility configuration in the vast residents, and the gas water heater is the water heater which is most widely used by the vast residents and keeps rapid development in recent years. At present, the existing gas water heaters are all instant heating type water heaters, namely, the water heater is started to adjust the water temperature only when a user uses the gas water heater. In addition, the conventional water heater is basically installed outdoors, and in ordinary life, if hot water is needed, the water heater needs to be started in advance to heat, and then the water heater needs to wait for a certain time to use the hot water. However, due to different habits of different people in the household, the temperature and the time for using hot water are different, and when everyone uses hot water, the user needs to manually adjust the water temperature of the water heater again and wait for the water heater to heat, so that the comfort and the experience of the water heater are deteriorated.
Disclosure of Invention
The invention aims to provide a control method, a control device, control equipment and a storage medium of a water heater, which can realize automatic and intelligent regulation of the water temperature of the water heater, thereby improving the comfort level and the experience feeling of the water heater.
In order to solve the above technical problem, an embodiment of the present invention provides a control method for a water heater, including:
controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater;
detecting the first single hot water consumption time of the water heater every day and hot water data corresponding to the first single hot water consumption time according to a preset time period; wherein the hot water data comprises: preheating time from the hot water temperature to a set water temperature by using the hot water starting time, the water flow when using hot water, and the hot water temperature in a circulating water path of a water heater;
establishing a hot water time data set according to the first single hot water use duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data;
detecting the second single hot water consumption time of the water heater in each day in the current time period and the corresponding hot water data;
establishing a historical hot water consumption data set according to the hot water time data set, the second single hot water consumption time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time;
according to the historical hot water data set, determining the standby hot water time of the next day and hot water data corresponding to the standby hot water time;
and when the current time reaches the set time before the standby hot water time, according to the hot water data corresponding to the standby hot water time, automatically circularly preheating the water in the circulating water channel of the water heater by using the circulating water pump so as to adjust the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
Compared with the background art, the control method of the water heater provided by the embodiment of the invention has the following beneficial effects:
after the water heater is powered on and started, the water heater is controlled to enter a self-learning mode, then a historical hot water consumption data set is obtained according to the periodic collection of the hot water consumption time and the corresponding water outlet temperature of the water heater in a period of time, the corresponding water flow when the hot water is consumed, the corresponding preheating time when the water in a circulating water path of the water heater reaches the required hot water temperature and the like, and according to the historical hot water data set, determining the standby hot water time of the next day, the corresponding set temperature of the standby hot water time, the corresponding water flow when using hot water, the corresponding preheating time when the water in the circulating water channel of the water heater reaches the required hot water temperature, and the like, and when the set time before the standby hot water time is reached, automatically circularly preheating the water in a circulating water channel of the water heater by using a circulating water pump according to the corresponding preheating time value, the corresponding water outlet temperature and the corresponding water flow rate during the use of the hot water in the standby hot water time in advance. Adjusting the current outlet water temperature of the water heater to a set temperature corresponding to the standby hot water moment; the water heater is according to historical hot water data set for use, definite hot water moment for use to carry out automatically regulated to the leaving water temperature of next day, realize the intelligent temperature regulation of water heater, for current gas heater, need not to carry out the operation of preheating in advance the manual work before using, adjust different temperatures in advance automatically at different time points, saved the time of waiting for the water heater heating, improve the comfort level and the experience of water heater and feel.
In one embodiment, the hot water time data set is established according to the first single hot water use duration and the corresponding hot water data; wherein, the hot water time data set includes a first single hot water use duration which is longer than a preset duration and corresponding hot water data, and specifically includes:
judging whether the time length of the first single hot water use of the ith time of the day is longer than the preset time length;
if not, eliminating the time length of the first single hot water use at the ith time and the corresponding hot water data;
if yes, storing the time length of the first single hot water use of the ith time of the day and the corresponding hot water data to obtain a hot water time data set.
In one embodiment, the historical hot water use data set is established according to the hot water time data set, the second single hot water use time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time specifically comprise:
judging whether the water heater is in a hot water using state within a preset error time range corresponding to a hot water using starting moment in the hot water time data set every day in the current time period according to the hot water time data set;
if not, re-detecting the first single hot water using duration of the water heater in the next time period and the corresponding hot water data;
if so, acquiring the second single hot water use time length within the preset error time range of the hot water use starting time and the corresponding hot water data, counting the second single hot water use time length within the preset error time range of the hot water use starting time, and recording the second single hot water use time length as the hot water use times;
when the hot water using times are smaller than a preset first time threshold value, re-detecting the first single hot water using time length of the water heater in the next day time period;
when the hot water using times are larger than the first time threshold value, establishing a historical hot water using data set according to a second single hot water using time length within a preset error time range of the hot water using starting time and corresponding hot water data; wherein, one time period corresponds to one historical hot water data set.
In one embodiment, the method further comprises:
sequencing and storing the historical hot water data sets according to the time sequence for establishing the historical hot water data sets;
calculating the accumulated times of establishing the historical hot water data set;
when the accumulated times are larger than a preset second time threshold value, deleting the historical hot water data set positioned at the first sorting position, and inserting the newly established historical hot water data set into the last sorting position and storing the data set;
and when the accumulated times are smaller than a preset second time threshold value, inserting the newly established historical hot water data set into the last sequencing bit and storing.
In one embodiment, the determining, according to the historical hot water consumption data set, the standby hot water time of the next day and the hot water data corresponding to the standby hot water time specifically include:
setting the standby hot water time of the next day as the hot water using starting time of the historical hot water using data set;
and setting the water flow rate of hot water for the standby hot water time of the next day, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature according to the water flow rate of hot water for each hot water use starting time in the historical hot water data set, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature.
In one embodiment, when the current time reaches the set time before the standby hot water time, according to the hot water data corresponding to the standby hot water time, the automatic circulation preheating is performed on water in a circulation water path of the water heater by using a circulation water pump, so as to adjust the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time, specifically including:
when the current time reaches the set time before the standby hot water time, detecting the current water outlet temperature of the water heater;
and when the current outlet water temperature is lower than the set temperature corresponding to the standby hot water moment, controlling the water in the circulating water path of the water heater to enter a heating mode so as to regulate the water and outlet water temperature in the circulating water path of the water heater to the set temperature corresponding to the standby hot water moment through water pump circulation.
In one embodiment, the method further comprises:
acquiring water flow sensed by a water flow sensor arranged at a water outlet pipeline of the water heater;
when the water flow is larger than a preset flow threshold value, determining that the water heater is in a hot water using state, recording the current hot water using time, and acquiring the outlet water temperature sensed by a temperature sensor arranged at the outlet pipe of the water heater.
The embodiment of the invention also provides a control device of the water heater, which comprises:
the self-learning mode starting module is used for controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater;
the first hot water detection module is used for detecting the first single hot water consumption time of the water heater every day and hot water data corresponding to the first single hot water consumption time according to a preset time period; wherein the hot water data comprises: preheating time from the hot water temperature to a set water temperature by using the hot water starting time, the water flow when using hot water, and the hot water temperature in a circulating water path of a water heater;
the time data set establishing module is used for establishing a hot water time data set according to the first single hot water using duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data;
the second hot water detection module is used for detecting the second single hot water using time length of each day of the water heater in the current time period and the corresponding hot water data;
the historical hot water data set establishing module is used for establishing a historical hot water data set according to the hot water time data set, the second single hot water use time length of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time;
the hot water data prediction module is used for determining the standby hot water time of the next day and the hot water data corresponding to the standby hot water time according to the historical hot water data set;
and the hot water utilization regulation and control module is used for utilizing a circulating water pump to automatically circulate and preheat water in a circulating water path of the water heater according to hot water data corresponding to the standby hot water time when the current time reaches the set time before the standby hot water time so as to regulate the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
The embodiment of the invention also provides a control device of a water heater, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the control method of the water heater.
The embodiment of the invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the control method of the water heater as described in any one of the above.
Drawings
FIG. 1 is a flow chart of a control method for a water heater according to an embodiment of the present invention;
FIG. 2 is a flow chart of a self-learning mode control method for a water heater according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a control device for a water heater according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a control device of a water heater provided by the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart illustrating a control method of a water heater according to an embodiment of the present invention; the control method of the water heater is executed by control equipment of the water heater and comprises the following steps:
s11: and controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater.
It should be noted that the water heater according to the embodiment of the present invention includes, but is not limited to, a gas water heater provided with a circulating water circuit, and an electric water heater provided with a water storage device. According to the operation mode of the water heater, a plurality of working modes are set, such as a self-learning mode, a heating mode, a heat preservation mode, a standby mode and the like, and the control equipment of the water heater controls and executes various working modes. After the water heater is powered on and started, the water heater is controlled to enter a self-learning mode, and the steps of S12-17 are executed. By setting a self-learning mode, after the water heater is started, hot water using habits (hot water using time points, water temperature and water flow of the user and preheating time confirmed by the length of a circulating water channel of the water heater) of the user are automatically learned and calculated to memorize data.
S12: detecting the first single hot water consumption time of the water heater every day and corresponding hot water data according to a preset time period; wherein the hot water data comprises: the preheating time from the hot water temperature to the set water temperature is selected from the starting time of using hot water, the water flow when using hot water, and the hot water temperature in a circulating water channel of the water heater.
In the embodiment of the invention, the hot water consumption of the water heater is timed by the timer to detect the first single hot water consumption time length to judge whether the first single hot water consumption time length is temporary hot water consumption of the user, for example, when the first single hot water consumption time length is detected to be less than the preset time length, the data is removed, and the step S12 is returned to continuously detect the single hot water consumption time length of the user; and when the first single hot water use duration is detected to be longer than the preset duration, storing the data and the corresponding data in the data to a local memory of the water heater, and entering step S14 to judge the hot water use habit of the user according to the time data set stored in step S13, wherein the time data set comprises a plurality of data of which the hot water use durations are longer than the preset duration and recorded in all time periods of a day. It should be noted that, in the embodiment of the present invention, the preset time period is not specifically limited, and a user may set the preset time period according to actual needs, or may confirm, for example, 5s or 10s according to the preheating time determined by the length of the circulating water path; the preheating time can be determined according to the length of the circulating water path, so that the requirement of a user can be met.
S13: establishing a hot water time data set according to the first single hot water use duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data.
In the embodiment of the present invention, in N +1 days after the hot water time data set is established, within the same time as or within the time offset by Y from the hot water use start time a in the time data set, that is, within the error time range of (a-Y, a + Y), if hot water for the water heater is detected, the process proceeds to step S16, and if no hot water for the water heater is detected, the process returns to step S12. The N +1 day may be a week or a month, and may be determined according to the requirement of the storage or the manufacturer of the water heater. Through periodically establishing the historical hot water data set, the hot water using habit of a user is periodically corrected, the precision of the preheating time of the water heater is improved, the energy efficiency is saved, and the comfort level and the experience feeling of the water heater are improved.
S14: and detecting the second single hot water using time length of each day of the water heater in the current time period and the corresponding hot water data.
S15: establishing a historical hot water consumption data set according to the hot water time data set, the second single hot water consumption time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: and the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting moment.
S16: according to the historical hot water data set, determining the standby hot water time of the next day and hot water data corresponding to the standby hot water time;
s17: and when the current time reaches the set time before the standby hot water time, according to the hot water data corresponding to the standby hot water time, automatically circularly preheating the water in the circulating water channel of the water heater by using the circulating water pump so as to adjust the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
In the present invention, the set time is not particularly limited, and may be, for example, 10 minutes or 15 minutes. Wherein the set time is greater than a minimum time interval between second single hot water use durations in the historical hot water data set. For example, through the steps S11-16, the standby hot water time of the next day is determined to be 8 o 'clock, 1 o' clock and 19 o 'clock, and the current outlet water temperature of the water heater is detected in real time 15 minutes before the current time reaches 8 o' clock (before the user uses hot water); and when the current outlet water temperature is lower than the outlet water temperature corresponding to the 8-point historical hot water data set, controlling the water pump to start, entering a heating mode to enable the outlet water temperature to reach the temperature required by the time set by the user, and then entering a standby mode to wait for the user to use hot water.
In the embodiment of the invention, after the water heater is powered on and started, the water heater is controlled to enter a self-learning mode, then a historical hot water data set is obtained according to the hot water using time and the corresponding water outlet temperature of the water heater within a period of time which are periodically collected, the standby hot water time of the next day and the set temperature corresponding to the standby hot water time are determined according to the historical hot water using data set, and the current water outlet temperature of the water heater is adjusted to the set temperature corresponding to the standby hot water time when the set time before the standby hot water time is reached; the water heater determines the standby hot water time of the next day according to the historical hot water data set, and automatically adjusts the outlet water temperature of the next day, so that the intelligent water temperature adjustment of the water heater is realized.
In one embodiment, S13: establishing a hot water time data set according to the first single hot water consumption duration and the corresponding hot water data; wherein, the hot water time data set includes a first single hot water use duration which is longer than a preset duration and corresponding hot water data, and specifically includes:
judging whether the time length of the first single hot water use of the ith time of the day is longer than the preset time length;
if not, eliminating the time length of the first single hot water use at the ith time and the corresponding hot water data;
if yes, storing the time length of the first single hot water use of the ith time of the day and the corresponding hot water data to obtain a hot water time data set.
In an alternative embodiment, S15: establishing a historical hot water consumption data set according to the hot water time data set, the second single hot water consumption time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time specifically comprise:
judging whether the water heater is in a hot water using state within a preset error time range corresponding to a hot water using starting moment in the hot water time data set every day in the current time period according to the hot water time data set;
if not, re-detecting the first single hot water using duration of the water heater in the next time period and the corresponding hot water data;
if so, acquiring the second single hot water use time length within the preset error time range of the hot water use starting time and the corresponding hot water data, counting the second single hot water use time length within the preset error time range of the hot water use starting time, and recording the second single hot water use time length as the hot water use times;
when the hot water using times are smaller than a preset first time threshold value, re-detecting the first single hot water using time length of the water heater in the next day time period;
when the hot water using times are larger than the first time threshold value, establishing a historical hot water using data set according to a second single hot water using time length within a preset error time range of the hot water using starting time and corresponding hot water data; wherein, one time period corresponds to one historical hot water data set.
For example, if the hot water consumption time within N +1 days is longer than N times, the historical hot water consumption data set corresponding to the N +1 days is established, and if the time is shorter than N times, the historical hot water consumption data set returns to step S12 for re-detection and calculation.
In an optional embodiment, the method further comprises:
sequencing and storing the historical hot water data sets according to the time sequence for establishing the historical hot water data sets;
calculating the accumulated times of establishing the historical hot water data set;
when the accumulated times are larger than a preset second time threshold value, deleting the historical hot water data set positioned at the first sorting position, and inserting the newly established historical hot water data set into the last sorting position and storing the data set;
and when the accumulated times are smaller than a preset second time threshold value, inserting the newly established historical hot water data set into the last sequencing bit and storing.
For example, historical hot water data sets can be stored in an array mode according to the time sequence, when the number of the stored historical data sets exceeds the size of the array, data stored for the longest time are removed, the latest data are stored, and the problem that the operation efficiency of the water heater is affected due to the fact that the stored data are too large is avoided.
In an optional embodiment, the determining, according to the historical hot water consumption data set, the standby hot water time of the next day and the hot water data corresponding to the standby hot water time specifically include:
setting the standby hot water time of the next day as the hot water using starting time of the historical hot water using data set;
and setting the water flow rate of hot water for the standby hot water time of the next day, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature according to the water flow rate of hot water for each hot water use starting time in the historical hot water data set, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature.
In an optional embodiment, when the current time reaches the set time before the standby hot water time, according to the hot water data corresponding to the standby hot water time, the automatic circulation preheating is performed on water in a circulation water path of the water heater by using a circulation water pump, so as to adjust the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time, specifically including:
when the current time reaches the set time before the standby hot water time, detecting the current water outlet temperature of the water heater;
and when the current outlet water temperature is lower than the set temperature corresponding to the standby hot water moment, controlling the water in the circulating water path of the water heater to enter a heating mode so as to regulate the water and outlet water temperature in the circulating water path of the water heater to the set temperature corresponding to the standby hot water moment through water pump circulation.
In an optional embodiment, the method further comprises:
acquiring water flow sensed by a water flow sensor arranged at a water outlet pipeline of the water heater;
when the water flow is larger than a preset flow threshold value, determining that the water heater is in a hot water using state, recording the current hot water using time, and acquiring the outlet water temperature sensed by a temperature sensor arranged at the outlet pipe of the water heater.
For convenience of understanding, as shown in fig. 2, the following describes the flow of the self-learning mode control of the water heater in detail:
and S1, starting a self-learning mode.
After the water heater is powered on, a self-learning mode of the water heater is started, and after the water heater enters the self-learning mode, hot water using habits of a user are calculated by collecting hot water using data, so that the data are memorized.
S2, whether the hot water used by the user exceeds X minutes.
For example, the time length of hot water consumption of each user is detected, the time is short, the user can temporarily consume hot water, the record is not recorded, and the user stays at the step to continuously detect the hot water consumption time; and (4) detecting that the hot water using time is more than a certain time X minutes to judge the habit of the user to use hot water. If the hot water is used for more than a certain time, such as X minutes, S3 is entered.
S3, the user hot water time data set a is recorded.
The data in data set a generally refers to a plurality of hot water usage periods greater than X minutes recorded during all time periods of the day.
And S4, judging whether the user uses hot water or not within the same time of N +1 days and the time Y with the vertical deviation.
If the hot water is available, the step enters S5, and if the hot water is unavailable, the step returns to S2 to detect and calculate again;
s5, is the hot water consumption data of the user in the same time and the time Y deviated from the upper and lower times on the N +1 days?
If the number of times is more than n, the step is entered into S6, and if the number of times is less than n, the step is returned to the step S2 for re-detection calculation;
s6, recording the historical hot water data set b.
The data in the data set b are the user hot water data a in the same time and the up-down deviation time Y in N +1 days, namely the personal habit hot water data.
The time for the user to use hot water in the data set b needs to be separated by more than 15 minutes, the 15 minutes is a time constant for the water heater to heat in advance, and the time constant can be set according to the requirement. And N +1 day, which can be one week or one month, according to the storage of the water heater or the requirement of a manufacturer.
S7, whether the number of times of recording the data set b is more than M times.
If the number of times is less than M, the process proceeds directly to S9. And if the number of times is more than M, entering the next step. Where M refers to the maximum value of the recorded multi-person data.
S8, the (M +1) -M times historical hot water data set b is cleared.
The data set b of M times is the maximum number of times the water heater records. And when the times of the data set b are more than M, automatically eliminating the data stored for the longest time, and storing the latest data.
And S9, updating the data.
The last updated data b is updated from the early morning of day N +1,
and S10, when the user uses hot water, the time point of the needed hot water is advanced by 15 minutes, namely 15 minutes before the user uses the hot water, the outlet water temperature is monitored in real time, if the outlet water temperature is lower than the hot water temperature within the specified time, the circulating water pump is started, the water heater works, the outlet water temperature of the water in the circulating water path reaches the temperature needed by the time set by the user, and the user waits for the hot water used by the user.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
through utilizing memory and clock function, and include the water heater of self-learning mode, the user only needs to carry out the life conventionality action such as shower or laundry and washing vegetables according to the custom at ordinary times, to the study memory with the hot water custom through the water heater, confirm the standby hot water time of next day, and carry out automatically regulated to the leaving water temperature of next day and corresponding data, realize the intelligent temperature regulation of water heater, for current gas heater, need not to carry out the preheating operation in advance before the use, adjust to different temperatures in advance automatically at different time points, the time of waiting for the water heater heating has been saved, different people's in the family custom can be different according to the time, the water heater heats different hot water temperatures with the time, improve the comfort level and the experience of water heater and feel.
Referring to fig. 3, a second embodiment of the present invention further provides a control device for a water heater, including:
the self-learning mode starting module 1 is used for controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater;
the first hot water detection module 2 is used for detecting the first single hot water consumption time of the water heater every day and hot water data corresponding to the first single hot water consumption time according to a preset time period; wherein the hot water data comprises: preheating time from the hot water temperature to a set water temperature by using the hot water starting time, the water flow when using hot water, and the hot water temperature in a circulating water path of a water heater;
the time data set establishing module 3 is used for establishing a hot water time data set according to the first single hot water using duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data;
the second hot water detection module 4 is used for detecting the second single hot water consumption time of the water heater in each day in the current time period and the corresponding hot water data;
a historical hot water data set establishing module 5, configured to establish a historical hot water data set according to the hot water time data set, the second single hot water usage duration of each day in the current time period, and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time;
the hot water data prediction module 6 is used for determining the standby hot water time of the next day and the hot water data corresponding to the standby hot water time according to the historical hot water data set;
and the hot water utilization regulation and control module 7 is used for automatically circularly preheating water in a circulating water path of the water heater by using a circulating water pump according to hot water data corresponding to the standby hot water time when the current time reaches the set time before the standby hot water time so as to regulate the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
In an alternative embodiment, the temporal data set creation module 3 comprises:
the time length judging unit is used for judging whether the time length of the first single hot water use of the ith time of the day is greater than the preset time length;
the data removing unit is used for removing the time length of the ith first single hot water use and the corresponding hot water data if the ith first single hot water use time length is not the same as the ith first single hot water use time length;
and the first data storage unit is used for storing the ith first single hot water use time length of the current day and the corresponding hot water data if the time length of the current day is greater than the preset first single hot water use time length, so as to obtain a hot water time data set.
In an alternative embodiment, the historical hot water data set creation module 5 comprises:
the hot water utilization judging unit is used for judging whether the water heater is in a hot water utilization state within a preset error time range corresponding to a hot water utilization starting moment in the hot water time data set every day in the current time period according to the hot water time data set;
the hot water using detection unit is used for re-detecting the first single hot water using duration of the water heater in the next time period and the corresponding hot water data if the water heater is not used for the first single hot water using duration;
the hot water consumption data acquisition unit is used for acquiring the second single hot water consumption duration and the corresponding hot water consumption data within the preset error time range of the hot water consumption starting moment if the preset error time range is true;
a counting unit for counting the second single hot water consumption time within the preset error time range of the hot water consumption starting time and recording the time as the hot water consumption times
The hot water using detection unit is further used for detecting the first single hot water using time length of the water heater in the next day time period again when the hot water using times is smaller than a preset first time threshold;
the second data storage unit is used for establishing a historical hot water consumption data set according to a second single hot water consumption time length within a preset error time range of the hot water consumption starting time and corresponding hot water data when the hot water consumption times are larger than the first time threshold value; wherein, one time period corresponds to one historical hot water data set.
In an alternative embodiment, the apparatus further comprises:
the data storage module is used for sequencing and storing the historical hot water data sets according to the time sequence for establishing the historical hot water data sets;
the counting module is used for calculating the accumulated times of establishing the historical hot water data set;
the data updating module is used for deleting the historical hot water data set positioned at the head of the sequencing when the accumulated times is greater than a preset second time threshold value, and inserting the newly established historical hot water data set to the last sequencing position and storing the data set;
and the data updating module is also used for inserting the newly established historical hot water data set into the last sequencing bit and storing the newly established historical hot water data set when the accumulated times is smaller than a preset second time threshold.
In an alternative embodiment, the hot water consumption data prediction module 6 comprises:
a hot water using time setting unit for setting the standby hot water time of the next day as the hot water using starting time of the historical hot water using data set;
and a hot water data setting unit for setting the water flow rate of hot water use, the hot water temperature in the water heater circulation water path, and the preheating time from the hot water temperature to a set water temperature corresponding to each hot water use start time in the historical hot water data set, and setting the water flow rate of hot water use, the hot water temperature in the water heater circulation water path, and the preheating time from the hot water temperature to the set water temperature corresponding to the standby hot water time of the next day.
In an alternative embodiment, the hot water usage regulation module 7 comprises:
the water temperature detection module is used for detecting the current water outlet temperature of the water heater when the current time reaches the set time before the standby hot water time;
and the heating control module is used for controlling the water in the circulating water path of the water heater to enter a heating mode when the current outlet water temperature is lower than the set temperature corresponding to the standby hot water time, so that the water in the circulating water path of the water heater and the outlet water temperature are adjusted to the set temperature corresponding to the standby hot water time through the circulation of the water pump.
In one embodiment, the apparatus further comprises:
the water flow detection module is used for acquiring water flow sensed by a water flow sensor arranged at a water outlet pipeline of the water heater;
and the hot water using state determining module is used for determining that the water heater is in a hot water using state and recording the current hot water using time when the water flow is larger than a preset flow threshold value, and acquiring the outlet water temperature sensed by a temperature sensor arranged at the outlet pipe of the water heater.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 4, a schematic diagram of a control device of a water heater according to a third embodiment of the present invention is shown. As shown in fig. 4, the control apparatus of the water heater includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being used to enable connectivity communications between these components. The user interface 13 may optionally include a USB interface, and other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 151, which contains various system programs for implementing various basic services and for processing hardware-based tasks;
and (5) a procedure 152.
Specifically, the processor 11 is configured to call the program 152 stored in the memory 15 to execute the control method of the water heater according to the above embodiment, for example, step S11 shown in fig. 1. Alternatively, the processor may, when executing the computer program, implement the functions of the modules/units in the above-mentioned device embodiments, such as the self-learning mode activation module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the control device of the water heater.
The control device of the water heater can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing devices. The control device of the water heater can include, but is not limited to, a processor and a memory. It will be understood by those skilled in the art that the schematic is merely an example of a control device for a water heater and does not constitute a limitation of a control device for a water heater, and may include more or fewer components than those shown, or some components in combination, or different components.
The Processor 11 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 11 is a control center of the control device of the water heater, and various interfaces and lines are used to connect various parts of the control device of the whole water heater.
The memory 15 may be used to store the computer programs and/or modules, and the processor 11 implements various functions of the control device of the water heater by running or executing the computer programs and/or modules stored in the memory and calling up data stored in the memory. The memory 15 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module/unit integrated with the control device of the water heater can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The fourth embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the control method of the water heater according to any one of the first embodiment.
The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.

Claims (10)

1. A method of controlling a water heater, comprising:
controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater;
detecting the first single hot water consumption time of the water heater every day and hot water data corresponding to the first single hot water consumption time according to a preset time period; wherein the hot water data comprises: preheating time from the hot water temperature to a set water temperature by using the hot water starting time, the water flow when using hot water, and the hot water temperature in a circulating water path of a water heater;
establishing a hot water time data set according to the first single hot water use duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data;
detecting the second single hot water consumption time of the water heater in each day in the current time period and the corresponding hot water data;
establishing a historical hot water consumption data set according to the hot water time data set, the second single hot water consumption time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time;
according to the historical hot water data set, determining the standby hot water time of the next day and hot water data corresponding to the standby hot water time;
and when the current time reaches the set time before the standby hot water time, according to the hot water data corresponding to the standby hot water time, automatically circularly preheating the water in the circulating water channel of the water heater by using the circulating water pump so as to adjust the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
2. The control method of the water heater according to claim 1, wherein a hot water time data set is established according to the first single hot water use duration and the corresponding hot water data; wherein, the hot water time data set includes a first single hot water use duration which is longer than a preset duration and corresponding hot water data, and specifically includes:
judging whether the time length of the first single hot water use of the ith time of the day is longer than the preset time length;
if not, eliminating the time length of the first single hot water use at the ith time and the corresponding hot water data;
if yes, storing the time length of the first single hot water use of the ith time of the day and the corresponding hot water data to obtain a hot water time data set.
3. The control method of the water heater according to claim 1, wherein a historical hot water use data set is established according to the hot water time data set, the second single hot water use time of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time specifically comprise:
judging whether the water heater is in a hot water using state within a preset error time range corresponding to a hot water using starting moment in the hot water time data set every day in the current time period according to the hot water time data set;
if not, re-detecting the first single hot water using duration of the water heater in the next time period and the corresponding hot water data;
if so, acquiring the second single hot water use time length within the preset error time range of the hot water use starting time and the corresponding hot water data, counting the second single hot water use time length within the preset error time range of the hot water use starting time, and recording the second single hot water use time length as the hot water use times;
when the hot water using times are smaller than a preset first time threshold value, re-detecting the first single hot water using time length of the water heater in the next day time period;
when the hot water using times are larger than the first time threshold value, establishing a historical hot water using data set according to a second single hot water using time length within a preset error time range of the hot water using starting time and corresponding hot water data; wherein, one time period corresponds to one historical hot water data set.
4. The method of controlling a water heater of claim 3, further comprising:
sequencing and storing the historical hot water data sets according to the time sequence for establishing the historical hot water data sets;
calculating the accumulated times of establishing the historical hot water data set;
when the accumulated times are larger than a preset second time threshold value, deleting the historical hot water data set positioned at the first sorting position, and inserting the newly established historical hot water data set into the last sorting position and storing the data set;
and when the accumulated times are smaller than a preset second time threshold value, inserting the newly established historical hot water data set into the last sequencing bit and storing.
5. The method for controlling a water heater according to claim 1, wherein the determining the standby hot water time of the next day and the hot water data corresponding to the standby hot water time according to the historical hot water data set specifically comprises:
setting the standby hot water time of the next day as the hot water using starting time of the historical hot water using data set;
and setting the water flow rate of hot water for the standby hot water time of the next day, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature according to the water flow rate of hot water for each hot water use starting time in the historical hot water data set, the hot water temperature in the circulating water channel of the water heater and the preheating time from the hot water temperature to the set water temperature.
6. The method for controlling a water heater according to claim 1, wherein when the current time reaches a set time before the standby hot water time, according to hot water data corresponding to the standby hot water time, automatically and circularly preheating water in a circulating water path of the water heater by using a circulating water pump so as to adjust the current outlet water temperature of the water heater to a set water temperature corresponding to the standby hot water time, specifically comprising:
when the current time reaches the set time before the standby hot water time, detecting the current water outlet temperature of the water heater;
and when the current outlet water temperature is lower than the set temperature corresponding to the standby hot water moment, controlling the water in the circulating water path of the water heater to enter a heating mode so as to regulate the water and outlet water temperature in the circulating water path of the water heater to the set temperature corresponding to the standby hot water moment through water pump circulation.
7. The method of controlling a water heater as set forth in claim 1, further comprising:
acquiring water flow sensed by a water flow sensor arranged at a water outlet pipeline of the water heater;
when the water flow is larger than a preset flow threshold value, determining that the water heater is in a hot water using state, recording the current hot water using time, and acquiring the outlet water temperature sensed by a temperature sensor arranged at the outlet pipe of the water heater.
8. A control device for a water heater, comprising:
the self-learning mode starting module is used for controlling the water heater to enter a self-learning mode according to a starting instruction of the water heater;
the first hot water detection module is used for detecting the first single hot water consumption time of the water heater every day and hot water data corresponding to the first single hot water consumption time according to a preset time period; wherein the hot water data comprises: preheating time from the hot water temperature to a set water temperature by using the hot water starting time, the water flow when using hot water, and the hot water temperature in a circulating water path of a water heater;
the time data set establishing module is used for establishing a hot water time data set according to the first single hot water using duration and the corresponding hot water data; the hot water time data set comprises a first single-time hot water using time length which is longer than a preset time length and corresponding hot water data;
the second hot water detection module is used for detecting the second single hot water using time length of each day of the water heater in the current time period and the corresponding hot water data;
the historical hot water data set establishing module is used for establishing a historical hot water data set according to the hot water time data set, the second single hot water use time length of each day in the current time period and the corresponding hot water data; wherein the historical hot water data set comprises: the second single hot water using time and the corresponding hot water data within the preset error time range corresponding to the hot water using starting time;
the hot water data prediction module is used for determining the standby hot water time of the next day and the hot water data corresponding to the standby hot water time according to the historical hot water data set;
and the hot water utilization regulation and control module is used for utilizing a circulating water pump to automatically circulate and preheat water in a circulating water path of the water heater according to hot water data corresponding to the standby hot water time when the current time reaches the set time before the standby hot water time so as to regulate the current outlet water temperature of the water heater to the set water temperature corresponding to the standby hot water time.
9. A control device for a water heater, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the control method for the water heater according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of controlling a water heater according to any one of claims 1 to 7.
CN201910765927.7A 2019-08-19 2019-08-19 Control method, device and equipment of water heater and storage medium Active CN110553405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910765927.7A CN110553405B (en) 2019-08-19 2019-08-19 Control method, device and equipment of water heater and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910765927.7A CN110553405B (en) 2019-08-19 2019-08-19 Control method, device and equipment of water heater and storage medium

Publications (2)

Publication Number Publication Date
CN110553405A CN110553405A (en) 2019-12-10
CN110553405B true CN110553405B (en) 2020-12-11

Family

ID=68737579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910765927.7A Active CN110553405B (en) 2019-08-19 2019-08-19 Control method, device and equipment of water heater and storage medium

Country Status (1)

Country Link
CN (1) CN110553405B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110411034B (en) * 2018-09-27 2022-01-11 深圳市磐石科技工程技术有限公司 Intelligent hot water outlet method and system based on Internet of things
CN113669911B (en) * 2020-05-15 2023-03-21 青岛经济技术开发区海尔热水器有限公司 Heating control method, device, equipment and storage medium
CN112833554A (en) * 2020-05-26 2021-05-25 青岛经济技术开发区海尔热水器有限公司 Water use prediction model establishing method, water heater control method and storage medium
CN111981685A (en) * 2020-07-21 2020-11-24 深圳朴坂科技有限公司 Refrigeration type hot water unit using natural energy to generate electricity
CN112050472B (en) * 2020-08-24 2022-05-13 芜湖美的厨卫电器制造有限公司 Water temperature control method and device for water heater and storage medium
CN112781250B (en) * 2020-10-30 2022-03-22 青岛经济技术开发区海尔热水器有限公司 Control method of water heater and server
CN112880201B (en) * 2021-01-28 2022-03-18 珠海格力电器股份有限公司 Water heater parameter adjusting method, device, equipment and storage medium
CN112944689B (en) * 2021-03-06 2022-04-29 浙江大元泵业股份有限公司 Circulating water pump control method capable of memorizing use habits of users
CN113669912A (en) * 2021-07-22 2021-11-19 青岛海尔科技有限公司 Water heater heating method and system
CN114459158B (en) * 2021-12-31 2024-01-09 威乐(中国)水泵系统有限公司 Household heat supply control method, system, electronic equipment and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016189416A1 (en) * 2015-05-27 2016-12-01 Stellenbosch University System and method for determining a customised heating schedule for a water heater
CN107917535B (en) * 2016-10-10 2020-07-17 青岛经济技术开发区海尔热水器有限公司 Method for predicting bathing habits and water heater
CN108286810B (en) * 2017-01-09 2020-08-07 芜湖美的厨卫电器制造有限公司 Water heater and control method thereof
CN109282499B (en) * 2017-07-21 2021-09-07 青岛经济技术开发区海尔热水器有限公司 Method for predicting water consumption behavior of user for water heater and water heater
CN107655212B (en) * 2017-09-29 2020-12-15 深圳和而泰智能控制股份有限公司 Heat treatment method and apparatus
CN108171550B (en) * 2017-12-29 2020-11-27 芜湖美的厨卫电器制造有限公司 Behavior data analysis method and device and storage medium
CN108716774A (en) * 2018-05-25 2018-10-30 珠海格力电器股份有限公司 A kind of intelligent backwater method, water recovery apparatus and water heater
CN109654742B (en) * 2018-11-09 2020-12-04 国网江苏省电力有限公司电力科学研究院 Electric water heater load optimization and control method capable of self-learning user behaviors

Also Published As

Publication number Publication date
CN110553405A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN110553405B (en) Control method, device and equipment of water heater and storage medium
CN103363670B (en) Air-source water heater and control method thereof and device
CN109425120B (en) Water heater control method and device and water heater
CN110398069B (en) Water heater, control method thereof and computer-readable storage medium
CN107917535B (en) Method for predicting bathing habits and water heater
CN108171550B (en) Behavior data analysis method and device and storage medium
CN106500341A (en) A kind of control method of intelligent water heater and system
CN113639468B (en) Method and device for controlling water heater and water heater
CN108006988A (en) Water heater control method, device and computer-readable recording medium
CN108917245B (en) Defrosting control method and device for water heater and computer readable storage medium
CN108415306B (en) Control method and device of cooking equipment
CN106642301B (en) Heating method and equipment
CN108613389B (en) Water consumption analysis method and system for water heater and computer equipment
CN113091244A (en) Control method and device for household appliance and equipment
CN114183928B (en) Water heater, control method of water heater and related equipment
CN112594937B (en) Control method and device of water heater, electronic equipment and storage medium
CN110912222B (en) Multi-path power supply control method, device and system and readable medium
CN110398067B (en) Water heater, control method thereof and computer-readable storage medium
CN105425594A (en) Energy distribution method, energy distributor and terminal
CN110514688B (en) Boiling point detection method, device and storage medium
CN113669911B (en) Heating control method, device, equipment and storage medium
CN108916982B (en) Intelligent water drainage control method and device and terminal equipment
CN111442537A (en) Bathing state determination method and device, water heater and storage medium
CN114963553A (en) Water heater and control method and device thereof
CN112925425A (en) Device control method, mobile terminal, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant