CN110398068B - Water heater and data acquisition method and computer-readable storage medium thereof - Google Patents

Water heater and data acquisition method and computer-readable storage medium thereof Download PDF

Info

Publication number
CN110398068B
CN110398068B CN201910608473.2A CN201910608473A CN110398068B CN 110398068 B CN110398068 B CN 110398068B CN 201910608473 A CN201910608473 A CN 201910608473A CN 110398068 B CN110398068 B CN 110398068B
Authority
CN
China
Prior art keywords
water
water heater
temperature
data acquisition
heater
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
CN201910608473.2A
Other languages
Chinese (zh)
Other versions
CN110398068A (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.)
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Original Assignee
Wuhu Midea Kitchen and Bath Appliances Manufacturing 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 Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority to CN201910608473.2A priority Critical patent/CN110398068B/en
Publication of CN110398068A publication Critical patent/CN110398068A/en
Priority to PCT/CN2019/129851 priority patent/WO2021004037A1/en
Application granted granted Critical
Publication of CN110398068B publication Critical patent/CN110398068B/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
    • F24H9/2014Arrangement or mounting of control or safety devices for water heaters using electrical energy supply
    • F24H9/2021Storage heaters

Abstract

The invention discloses a data acquisition method of a water heater, wherein a temperature sensor is arranged in an inner container of the water heater, and the data acquisition method of the water heater comprises the following steps: acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in a detection period; and acquiring water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction. The invention also discloses a water heater and a computer readable storage medium. The water heater can accurately acquire the water consumption parameters when a user uses the water heater.

Description

Water heater and data acquisition method and computer-readable storage medium thereof
Technical Field
The invention relates to the technical field of water heaters, in particular to a water heater, a data acquisition method thereof and a computer-readable storage medium.
Background
Along with the development of the technology, the intelligent degree of the water heater is also continuously improved. The water heater is provided with an intelligent automatic control function. The intelligent power of the water heater is realized by depending on the water consumption data of the user in the water consumption process.
In an exemplary technique, the water heater uses data collected by the sensor directly as water usage data. During the use of the water heater, there is a very short time that the user uses the water heater, for example, measuring the temperature of the water. Even though the water heater is opened by a user but the water heater does not really use water, the water heater stores the water using parameters under the conditions, so that the actual condition of the water used by the user cannot be really reflected by the numerical value recorded by the sensor, the data acquisition is deviated, the intelligent function of the water heater is inaccurate, and the data acquired by the water heater is inaccurate.
Disclosure of Invention
The invention mainly aims to provide a water heater, a data acquisition method thereof and a computer-readable storage medium, and aims to solve the problem that data acquired by the water heater is inaccurate.
In order to achieve the above object, the present invention provides a data acquisition method for a water heater, wherein a temperature sensor is arranged in an inner container of the water heater, and the data acquisition method for the water heater comprises the following steps:
acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in a detection period;
and acquiring water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction.
In order to achieve the above object, the present invention further provides a water heater, wherein a temperature sensor is disposed in an inner container of the water heater, the water heater further includes a memory, a processor, and a data acquisition program of the water heater, the data acquisition program of the water heater is stored in the memory and can be run on the processor, the temperature sensor is connected to the processor, and the data acquisition program of the water heater realizes the steps of the data acquisition method of the water heater when executed by the processor.
To achieve the above object, the present invention further provides a computer-readable storage medium storing a data acquisition program of a water heater, which when executed by a processor, implements the steps of the data acquisition method of the water heater as described above.
According to the water heater and the data acquisition method and the computer readable storage medium thereof provided by the invention, the water heater acquires the water temperature acquired by the temperature sensor, determines the temperature reduction of the water temperature in the detection period, and acquires the water consumption parameter of the water heater if the temperature reduction corresponding to a plurality of continuous detection periods is greater than the target reduction; the water heater can judge that the user uses the water heater when detecting that the temperature reduction corresponding to a plurality of continuous detection periods is smaller than the target reduction, so that the water heater can accurately acquire water use parameters when the user uses the water heater.
Drawings
FIG. 1 is a schematic diagram of a hardware structure of a water heater according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a data acquisition method for a water heater according to the present invention;
FIG. 3 is a schematic view of the structure of the water heater of the present invention;
FIG. 4 is a schematic diagram of temperature curves detected by various temperature sensors when the water heater discharges water;
FIG. 5 is a schematic flow chart illustrating a second embodiment of a data collection method for a water heater according to the present invention;
FIG. 6 is a schematic flow chart illustrating a data collection method for a water heater according to a third embodiment of the present invention;
FIG. 7 is another schematic view of the water heater of the present invention;
FIG. 8 is a schematic flow chart diagram illustrating a fourth embodiment of a data collection method for a water heater according to the present invention;
FIG. 9 is a schematic flow chart diagram illustrating a fifth embodiment of a data collection method for a water heater according to the present invention;
FIG. 10 is a schematic view of another embodiment of the water heater of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in a detection period; and acquiring water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction.
The water heater can judge that the user uses the water heater when detecting that the temperature reduction corresponding to a plurality of continuous detection periods is smaller than the target reduction, so that the water heater can accurately acquire water use parameters when the user uses the water heater.
As one implementation, the water heater may be as shown in fig. 1.
The embodiment of the invention relates to a water heater, which comprises: the processor 101, such as a CPU, a memory 102, a communication bus 103, and a temperature sensor 104, the temperature sensor 104 being disposed within the liner of the water heater. Wherein, the communication bus 103 is used for realizing the connection communication between the components, and the temperature sensor 104 is connected with the processor 101.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, the memory 103, which is a kind of computer storage medium, may include therein a data acquisition program of the water heater; and the processor 101 may be configured to call the data acquisition program of the water heater stored in the memory 102 and perform the following operations:
acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in a detection period;
and acquiring water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction.
Based on the hardware architecture of the water heater, the embodiment of the data acquisition method of the water heater is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the data acquisition method of the water heater of the present invention, which includes the following steps:
step S10, acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in the detection period;
in this embodiment, the water heater may be an electric water heater. The inner container of the water heater is stored with hot water, and a temperature sensor is arranged in the inner container. Corresponding temperature sensors can be arranged at different positions of the inner container to detect the water temperatures of the inner container at different positions, for example, corresponding temperature sensors can be arranged at the bottom, the middle and the top of the inner container respectively to detect the water temperature at the bottom of the inner container, the water temperature at the middle of the inner container and the water temperature at the top of the inner container. Referring to fig. 3, fig. 3 is a schematic structural diagram of the water heater in this embodiment, where the height of the liner of the water heater is H, the liner from the bottom wall of the liner to 1/4H away from the bottom wall is defined as the bottom of the liner, the liner from the top wall of the liner to 1/4H away from the top wall is defined as the top wall of the liner, the rest portions are defined as the middle portion of the liner, and the bottom of the liner, the middle portion of the liner, and the top of the liner are provided with corresponding temperature sensors and heating devices. The definitions of the bottom of the inner container, the top of the inner container and the middle of the inner container can be correspondingly adjusted according to the actual size of the inner container.
The water heater is provided with a detection period, and the duration of the detection period can be any suitable value. The water heater can acquire the water temperature collected by the temperature sensor in real time, so that the temperature reduction amount of the water temperature in the detection period is determined.
And step S20, collecting water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction.
The water heater calculates the temperature reduction amount corresponding to each detection period, each detection period is continuous in time, and if the temperature reduction amount corresponding to the continuous detection periods is larger than the target reduction amount, the water heater can judge that the water heater is in a water discharging state, namely that a user is using the water heater. At the moment, the water heater can acquire the water consumption parameters of the water heater. The water usage parameter may be at least one of an inlet water temperature, an outlet water temperature, a hot water flow rate, a user's water usage, and a user's bathing temperature of the water heater. The water heater can determine the continuous number of the detection periods for judging that the water heater is in the water discharging state according to the duration of the detection periods. For example, when the duration of the detection period is long, the temperature decrease amounts corresponding to two continuous detection periods are both greater than the target decrease amount, and the water heater can be judged to be in the water discharge state; and when the time of the detection period is short, the temperature reduction amount corresponding to three or more detection periods is larger than the target reduction amount, and the water heater can be judged to be in the water discharge state.
The longer the detection cycle that the water heater set up, the higher the precision of judging whether the water heater is in the state of draining, but the detection cycle length can make the water data of using that the water heater gathered inaccurate, for example, the detection cycle length can make the user use a period of time after, the user just can be judged to the water heater and use the water heater for the water heater can not gather the user's of previous period of time water consumption. When the detection period set by the water heater is shorter, the water heater needs to judge whether the temperature reduction amounts corresponding to more continuous detection periods are all larger than the target reduction amount, so that the water heater needs to use a large amount of resources for judgment. Therefore, the water heater is accurate in acquired water consumption parameters and less in resource used for judgment by setting the duration of the detection period.
In this embodiment, the water temperature that the water heater detected through temperature sensor can be accurate judge whether the user really uses the water heater to accurate collection water heater's water parameters.
It should be noted that the target reduction amount is determined according to the position where the temperature sensor is located. Specifically, if the water temperature acquired by the water heater is the water temperature acquired by the temperature sensor at the bottom of the inner container, the preset reduction corresponding to the temperature sensor at the bottom of the inner container is used as a target reduction; if the water temperature acquired by the water heater is the water temperature acquired by the temperature sensor at the top of the inner container, taking the preset reduction corresponding to the temperature sensor at the top of the inner container as a target reduction; the higher the position of the temperature sensor in the inner container obtained by the water heater is, namely the closer the temperature sensor is to the water outlet of the inner container, the smaller the target reduction amount is.
In this embodiment, the working principle of the water heater is as follows: the hot water output of the water heater is that cold water is input from a water inlet pipe at the bottom of the inner container, and hot water at the top of the inner container is extruded out at the same time; because the density of the cold water is different from that of the hot water, the temperature in the liner is changed from low to high in sequence in a layered manner; when the inner container discharges hot water, the temperature of the water at the bottom of the inner container is firstly changed until the temperature of the bottom of the inner container is the same as that of the water inlet, and then the cold water is diffused from the bottom of the inner container to the top of the inner container in sequence. Because the flow rates of cold water entering the inner container are different, the temperature change speeds of all layers of the inner container are different. Referring to fig. 4, fig. 4 is a schematic diagram of temperature curves detected by each temperature sensor when the water heater discharges water, wherein 1 is a water temperature curve detected by the temperature sensor at the bottom of the inner container, 2 is a water temperature curve detected by the temperature sensor at the middle of the inner container, 3 is a water temperature curve detected at the top of the inner container, 4 is a water outlet temperature curve, 5 is a water inlet temperature curve, Δ T is a detection period, and Δ T is a temperature decrease amount of the water temperature detected by the bottom temperature sensor in a detection period. From the water temperature curves in fig. 4, it can be seen that the target decrease of the detection period corresponding to the bottom temperature sensor is the largest, the target decrease of the detection period corresponding to the middle temperature sensor is the next largest, and the target decrease of the detection period corresponding to the top temperature sensor is the smallest.
When the water heater collects the water consumption parameters, the current detection period is determined, the detection period corresponds to a time period, the detection period and the water consumption parameters are stored in a correlation mode, namely the time period and the water consumption parameters are stored in a correlation mode, and therefore the water heater analyzes the water consumption habits of users according to the time period and the water consumption parameters, and the intelligent function of the water heater is achieved.
In the technical scheme provided by the embodiment, the water heater acquires the water temperature collected by the temperature sensor, determines the temperature reduction of the water temperature in the detection period, and collects the water consumption parameters of the water heater if the temperature reduction corresponding to a plurality of continuous detection periods is greater than the target reduction; the water heater can judge that the user uses the water heater when detecting that the temperature reduction corresponding to a plurality of continuous detection periods is smaller than the target reduction, so that the water heater can accurately acquire water use parameters when the user uses the water heater.
Referring to fig. 5, fig. 5 is a second embodiment of the data acquisition method of the water heater according to the present invention, and based on the above embodiment, the step S20 includes:
step S21, determining that the temperature decrease amounts corresponding to a plurality of consecutive detection periods are all greater than a target decrease amount, and taking the current water temperature at the bottom of the inner container as the inlet water temperature.
In this embodiment, the temperature sensor includes a bottom temperature sensor disposed at the bottom of the inner container. The water heater can calculate the temperature reduction amount of the bottom of the inner container corresponding to the detection period through the bottom water temperature acquired by the bottom temperature sensor. When the temperature reduction at the bottom of the inner container is smaller than the preset reduction, the hot water at the bottom of the inner container is pushed to the top of the inner container by cold water, and the water temperature collected by the bottom temperature sensor is the water inlet temperature. The predetermined reduction may be any number of combinations, for example, the predetermined reduction is zero. If the temperature reduction of the bottom of the inner container is larger than or equal to the preset reduction, the fact that more hot water is reserved at the bottom of the inner container and the hot water is mixed with cold water entering the inner container is indicated, and at the moment, the water temperature collected by the bottom temperature sensor cannot be used as the water inlet temperature of the water heater.
In the technical scheme that this embodiment provided, the water heater acquires the temperature decrement of the inner bag bottom in the detection cycle, if the temperature decrement of inner bag bottom is less than when predetermineeing the decrement, then can judge that the water of the overwhelming majority of inner bag bottom is the suitable cold water in getting into, this moment, regard the temperature that is located the temperature sensor current collection of bottom as the temperature of intaking for the collection temperature that the water heater can be accurate.
Referring to fig. 6, fig. 6 is a third embodiment of the data collecting method of the water heater according to the present invention, and based on the first embodiment, the step S20 includes:
and step S22, when the preset water discharging time of the water heater is determined, taking the current water temperature at the bottom of the inner container as the water inlet temperature.
In this embodiment, the temperature sensor includes a bottom temperature sensor disposed at the bottom of the inner container. The water heater starts timing when determining that the user uses the water heater. When the timing time reaches the preset time, the water at the bottom of the inner container of the water heater can be judged to be cold water entering the inner container, and at the moment, the water temperature currently collected by the bottom temperature sensor is used as the water inlet temperature.
The water heater can correct the preset duration. Specifically, referring to fig. 7, fig. 7 is another schematic structural diagram of the water heater, a flowmeter is disposed in the water inlet pipe of the water heater to determine the flow rate of cold water entering the inner container through the flowmeter, the capacity of the inner container is constant, the water heater calculates the volume of hot water located below the temperature sensor according to the capacity of the inner container and the position of the bottom temperature sensor, and then the time length from the cold water entering the inner container to the bottom temperature sensor can be calculated according to the flow rate of the cold water and the volume of the hot water, and the time length can be a preset time length. Furthermore, the temperature sensor has certain temperature fluctuation from the high temperature of the induction hot water to the low temperature of the induction cold water, so that the fluctuation time length can be prolonged, namely the temperature sensor can stably detect the temperature of the cold water through the fluctuation time length, and the fluctuation time length plus the time length from the cold water entering the inner container to the first temperature sensor is the preset time length.
In the technical scheme provided by the embodiment, after the water is discharged for the preset time, the water temperature currently acquired by the temperature sensor is used as the water inlet temperature, so that the water heater does not need to judge whether the water at the bottom of the water heater is cold water according to the temperature reduction of the detection period, and the calculation resources of the water heater are saved.
In one embodiment, the temperature sensor comprises a bottom temperature sensor disposed at the top of the liner. When the water heater discharges water, the water temperature collected by the top temperature sensor is the outlet water temperature of the water heater.
Referring to fig. 8, fig. 8 is a fourth embodiment of the data collecting method of a water heater according to the present invention, and based on any one of the first to third embodiments, the step S20 includes:
step S23, determining the capacity of the inner container, the water inlet temperature of the water heater and the water temperature reduction rate in the water heater when determining that the temperature reduction corresponding to a plurality of continuous detection periods is larger than a target reduction;
and step S24, determining the hot water flow of the water heater according to the capacity, the inlet water temperature and the water temperature reduction rate.
In this embodiment, the water usage parameter includes hot water flow rate. The hot water is water with a temperature greater than a preset temperature, and the preset temperature can be any suitable value, for example, the body surface temperature of a person can be set to the preset temperature, that is, the water with the temperature greater than the body surface temperature of the person can be regarded as the hot water.
The water heater can calculate the hot water flow according to the capacity of the inner container, the water inlet temperature and the water temperature reduction rate in the water heater. Specifically, when the temperature of inlet water entering the inner container of the water heater is lower, the speed of the temperature reduction of outlet water at the top of the water heater in unit time is higher, so that the flow of hot water is reduced along with the increase of water discharging time; the volume of the inner container of the water heater determines the quantity of hot water stored in the water heater, and when the volume of the inner container is larger, the hot water flow is larger; when the water temperature in the water heater is higher in reduction rate, the outlet water temperature at the top of the inner container of the water heater is higher in reduction, so that the hot water flow is reduced along with the increase of the water discharging time. And testing the correlation data among the capacity of the inner container, the water inlet temperature, the water temperature reduction rate and the hot water flow rate due to the influence of the capacity of the inner container, the water inlet temperature and the water temperature reduction rate on the hot water flow rate, analyzing the obtained correlation data to obtain a mapping relation among the capacity of the inner container, the water inlet temperature, the water temperature reduction rate and the hot water flow rate, and storing the mapping relation in the water heater. The hot water flow is calculated by the water heater after the water heater obtains the mapping relation among the capacity of the inner container, the inlet water temperature, the water temperature reduction rate and the storage.
It should be noted that, the water heater can be provided with a temperature sensor and a flowmeter at the water outlet pipe of the inner container, and when the water temperature detected by the temperature sensor is higher than the preset temperature, the flow collected by the flowmeter is obtained, and the flow is the hot water flow.
In the technical scheme that this embodiment provided, the water heater confirms the capacity of inner bag, the temperature of intaking and the temperature rate of decline of water heater to gather the hot water flow of water heater, the water heater need not to set up the flowmeter, and the data acquisition cost of water heater is lower.
Referring to fig. 9, fig. 9 is a fifth embodiment of the data collecting method of a water heater according to the present invention, and based on any one of the first to fourth embodiments, the step S20 includes:
step S25, determining the water inlet temperature, the water outlet temperature, the hot water flow and the water outlet duration of the water heater when determining that the temperature reduction corresponding to a plurality of continuous detection periods is larger than a target reduction;
and step S26, determining the water consumption of the water heater according to the water inlet temperature, the water outlet temperature, the hot water flow and the water outlet duration.
The water heater can collect the water consumption of a user. When the user finishes using the water heater, the water heater can determine the water outlet duration of the water heater, and the water outlet duration is the duration of using the water heater by the user. When the water heater detects that the water temperature at the top of the inner container rises, the user can be judged to finish using the water heater.
The water heater obtains the water outlet temperature, the water inlet temperature and the hot water flow, and then the water consumption of a user is calculated according to the water outlet temperature, the water inlet temperature, the hot water flow and the water consumption duration. For example, the water heater can calculate the water consumption of the user according to a pre-stored formula, wherein the pre-stored formula specifically comprises: the water consumption of a user is (outlet water temperature-inlet water temperature) multiplied by the water consumption time length multiplied by the hot water flow.
In an embodiment, the water usage parameter comprises a bathing temperature of the user. Referring to fig. 10, fig. 10 is another schematic structural diagram of a water heater, a water outlet pipe of the water heater is provided with an electronic thermostatic valve and a temperature sensor, and the water heater obtains a bathing temperature of a user through the electronic thermostatic valve and the temperature sensor.
In one embodiment, the target reduction is determined based on the capacity of the liner, the inlet water temperature, and the inlet water flow rate. Specifically, the hot water output of the water heater is that cold water is input from a water inlet pipe at the bottom of the inner container, and hot water at the top of the inner container is extruded out at the same time; because the density of the cold water is different from that of the hot water, the water temperature of the liner is sequentially changed from low to high in a layered manner, when the liner discharges the hot water, the water temperature at the bottom in the liner is firstly changed until the temperature at the bottom of the liner is the same as the temperature of the inlet water, and then the cold water is sequentially diffused from the bottom of the liner to the top of the liner. Because the flow rates of cold water entering the inner container are different, the temperature change speeds of all layers of the inner container are different. Therefore, the target reduction amount can be determined from the inflow water temperature and the inflow water flow rate. Further, the larger the capacity of the inner container is, the more the water inside the inner container is, and therefore, the capacity of the inner container needs to be taken into consideration. The water heater can determine the temperature reduction of the water heater in the water discharging state according to the relation among the capacity of the inner container, the water inlet temperature and the water inlet flow, so that the temperature reduction is set to be a target reduction, and whether the water heater is in the water discharging state or not is accurately judged.
In one embodiment, the water heater can also collect the middle water temperature so as to control the operation of the corresponding heating device of the water heater through the middle water temperature. Specifically, the water heater includes a bottom heating device and a middle heating device. The water temperature at the middle part of the inner container can be compared with the set temperature of the water heater, if the water temperature at the middle part of the inner container is lower than or equal to the set temperature, the water temperature at the top of the water heater can be lower than the set temperature, and accordingly, the heating device at the bottom of the inner container is controlled to operate. Heating devices are arranged at the top and the bottom of the water heater, but the higher the temperature of the water, the lower the density of the water, namely the water with the high temperature is positioned at the top of the water heater. If the heating device on the top of the inner container is controlled to operate, the hot water on the top has lower density, so that the heating rate of the water in the middle is lower. Therefore, the water heater controls the operation of the heating device at the bottom of the inner container, so that the heating device heats the water at the bottom of the inner container, and the water heated at the bottom floats upwards, so that the cold water at the bottom of the middle part and the top of the inner container is deposited to the bottom and the middle part, namely the water at each part in the inner container is heated by the heating device at the bottom of the water heater. When the water temperature in the middle of the inner container is higher than the set temperature, the water temperature at the top of the inner container is higher, the temperature requirement of a user on hot water can be met, and the operation of the heating devices at the bottom and the top is not required to be controlled. The water heater determines the set temperature of the water heater according to the habit water consumption corresponding to the user in the current time period, compares the middle water temperature of the liner with the set temperature, and starts the heating device at the bottom of the liner to heat the whole water of the liner when the middle water temperature is less than or equal to the set temperature.
When the water temperature in the middle of the inner container is higher than the set temperature, the water heater further judges whether the water heater is in a water discharging state. If the water heater is in a water discharging state, the water heater outputs hot water, and the hot water is output by the water heater, so that cold water inevitably enters the inner container. In order to ensure that the water heater can stably output the water heater, the water heater can control the heating device at the top of the inner container to operate. The water temperature in the middle of the inner container is higher than the set temperature, which indicates that the water temperature at the top of the inner container is also higher than the set temperature, and the hot water output by the water heater at the moment can meet the requirement of a user on the water temperature. However, as the hot water of the water heater is continuously output, the temperature of the output hot water is gradually reduced. Because the heating rate of the bottom heating device to the water on the top of the inner container is less than the heating rate of the top heating device to the top of the inner container, the operation of the top heating device can be controlled, the temperature of the hot water output by the water heater is higher, and the hot water meeting the temperature requirement of a user can be output by the water heater.
In one embodiment, the water heater liner is provided with a plurality of heating devices. At the initial stage of water discharge of the water heater, the water temperature at the top is reduced to a small extent, if the heating device operates, the water temperature at the top is increased, and the heating device is cut off by the temperature limiter, so that the water heater stops operating, namely, the heat input to the top of the inner container is gradually reduced along with the continuous water discharge time increase of the water heater. In the initial stage of water discharge of the water heater, the temperature rise of the top water by the bottom heating device at the bottom of the inner container and the middle heating device in the middle of the inner container is limited, and the heat input to the top of the inner container is less, so that the water heater controls the top heating device with the maximum temperature rise rate to operate on the top water in the initial stage of water discharge so as to output more heat at the top of the inner container to the maximum extent. In contrast, when water outlet of the water heater is detected, determining a first target heating device according to the heating rate of each heating device to the water at the top of the liner, wherein the first target heating device at least comprises a heating device with the largest heating rate to the water at the top of the liner; and controlling the first target heating device to operate. The water heater is internally provided with a safe temperature, and when the water temperature at the top is lower than the safe temperature and the difference value between the water temperature at the top and the safe temperature is larger, a first target heating device consisting of a top heating device and a middle heating device which have larger heating rate to the water at the top can be controlled to operate; and when the temperature of the top water is lower than the safe temperature and the difference value between the temperature of the top water and the safe temperature is smaller, controlling the first target heating device consisting of the top heating device and the lower heating device with smaller heating rate to the top water to operate.
The safe temperature may be less than a corresponding limit temperature of the temperature limiter. After the first target heating device operates, the water heater acquires the current top water temperature of the inner container in real time, when the current top water temperature is higher than the safe temperature, the top water temperature is indicated to be too high, and if the first target heating device continues to operate, the temperature limiter can cut off the operation of the heating device.
In this regard, the water heater determines a second target heating device that heats the top water at a rate that is less than the rate at which the first target heating device heats the top water. When the first target heating means includes one of the middle heating means and the bottom heating means and the top heating means, the second target heating means includes the top heating means, or the second target heating means includes the middle heating means and the bottom heating means.
And after the second target heating device is determined, controlling the first target heating device to stop running, and controlling the second target heating device to run.
Furthermore, after the second target heating device operates for a period of time, if the current water temperature at the top is higher than the safe temperature, the water temperature at the top is indicated to be too high, and if the second target heating device continues to operate, the temperature limiter can cut off the operation of the heating device. In this regard, the water heater determines a third target heating device, the rate of temperature rise of the top water by the third target heating device being less than the rate of temperature rise of the top water by the second target heating device. The second target heating means may comprise a top heating means, or the second target heating means may comprise a middle heating means and a bottom heating means, and the third target heating means may comprise said bottom heating means. And after the third target heating device is determined, controlling the second target heating device to stop running, and controlling the second target heating device to run.
And by analogy, after the target heating device is switched to operate for a period of time, the current top water temperature is higher than the safe temperature, the current target heating device is switched to the next target heating device by the water heater, and the voiceprint rate of the next target heating device to the top water is smaller than the heating rate of the current target heating device to the water.
After the first target heating device is operated, the water heater can calculate the heat output by the water heater in unit time. The heat output in unit time is (water outlet temperature-water inlet temperature) flow rate specific heat capacity in unit time, wherein the flow rate refers to the flow rate of a water outlet pipe of the water heater, the water inlet temperature can be detected according to a temperature sensor at the bottom of the inner container, the water outlet temperature can be detected according to a temperature sensor at the top of the inner container, and the specific heat capacity is the specific heat capacity of water.
The water heater calculates the amount of heat generated by the first target heating means per unit time. Specifically, the heat generated per unit time is the heating rate, the capacity of the top of the inner container is the specific heat capacity, and the coefficient per unit time, and the first target heating device heats the water at the middle part and the bottom part, so that the heat contributed to the top part by the first target heating device is less than the actual heat, that is, the coefficient is less than 1. When the heat generated by the first target heating device in unit time is equal to or less than the heat output by the water heater in unit time, the variation amplitude of the water temperature at the top part is small, at this time, the first target heating device can be controlled to continuously operate, when the heat generated by the first target heating device in unit time is greater than the heat output by the water heater in unit time, the water temperature at the top part tends to rise, if the duration time that the heat generated by the first target heating device in unit time is greater than the heat output by the water heater in unit time reaches the target time length, the water temperature at the top part is over-high, at this time, the first target heating device needs to be switched to the second target heating device.
In one embodiment, the water heater analyzes the water consumption law of the user by combining the water consumption parameters associated with each time period, and further realizes the intelligent function of the water heater according to the water consumption law. Specifically, the water heater determines a water demand corresponding to a current time period, wherein the water demand is determined according to water use reliability; determining a target set temperature of the water heater according to the water demand; and controlling the heating device of the water heater to operate according to the target set temperature.
Specifically, the water heater is provided with a data acquisition cycle, the time length of the data acquisition cycle can be one week, two weeks, three weeks and the like, when the water heater detects water outlet, namely when a user uses the water heater, water consumption parameters of the water heater can be acquired, the water consumption parameters comprise the hot water amount of the water heater used by the user, and the water heater and the time periods are stored in a related mode, so that a database of the water consumption parameters and the time periods corresponding to the data acquisition cycle is established. The water heater can determine the water demand of a user in any time period according to the database corresponding to the data acquisition cycle, wherein the time period refers to a certain time period of a day.
The water heater acquires each time period in the data acquisition cycle, wherein the dates of the time periods are different, for example, the data acquisition cycle is 7 days, and then the time periods [9:00 and 10:00] are 7 in total. The water heater determines the time period associated with the water usage parameter and counts the number of time periods, which may be considered the number of times the user has used water during that time period. The water heater calculates the ratio of the water consumption times to the total amount of the time periods, defines the ratio as the water consumption reliability, and determines the intervals where the water consumption reliability is located, and each interval corresponds to one water consumption. For example, the water heater divides the water usage reliability into a plurality of reliability intervals, for example, [ 100%, 85% ], (85%, 70% ], (75%, 55% ], (55%, 40% ], and (40%, 0% ] five intervals, each of the reliability intervals corresponds to a water usage class, e.g., [ 100%, 85% ] corresponds to a water usage class of 1 grade, (85%, 70% ] corresponds to a water usage class of 2 grade, (75%, 55% ] corresponds to a water usage class of 3 grade, (55%, 40% ] corresponds to a water usage class of 4 grade, (40%, 0% ] corresponds to a water usage class of 5 grade, it is understood that the higher the water usage reliability is, the lower the water usage class is, each water usage class has a corresponding water usage amount, the water heater, after determining the water usage reliability, determines the reliability interval in which the water usage reliability is located, and further determines the water usage class based on the reliability intervals, therefore, the water consumption corresponding to the water consumption grade is used as the water consumption demand.
When the water level is 1 level or 2 level, the water heater can accurately determine the target water consumption of the user in the time period. In contrast, the water heater divides the water consumption associated with each first time period into different water volume intervals, and takes the upper limit value of the water volume interval containing the most water consumption as the water consumption corresponding to the water reliability level 1 and the water reliability level 2.
When the water consumption level of the user in the first time period is 3 grades, the water consumption of the user in the time period is accurately determined by the water heater. In this regard, the maximum water usage of the user during the first time period may be used as the water usage corresponding to the water usage level 3.
When the water consumption level of the user in the first time period is 4 grades, the water consumption of the user in the time period cannot be accurately determined by the water heater. And adding the preset water quantity to the water quantity corresponding to the water consumption grade 3, wherein the preset water quantity is the redundant quantity, and the water consumption corresponding to the water consumption grade 4 is obtained.
And when the water consumption level is 5, the water heater basically cannot determine the water consumption of the user in the first time period, but the user still has the possibility of water consumption, and therefore the water consumption corresponding to the water consumption level 5 can be obtained by adding the water consumption of the user corresponding to the water consumption level 4 to the preset water consumption.
The water heater can determine the water consumption demand of the user in the current time period according to the water consumption level.
After the water heater determines the water demand, the target set temperature of the water heater can be determined according to the water demand, namely after the water heater controls the heating device to operate through the target set temperature, the hot water provided by the water heater in the current time period is larger than or equal to the water demand of the user in the current time period. The water heater stores the mapping relation between the set temperature and the water demand, so that the set temperature can be determined according to the water demand.
It should be noted that, in general, the water heater sets the inlet water temperature to be lower, and the inlet water temperature is regarded as a constant, so that the set temperature can be determined according to the water demand. However, in practical situations, the inlet water temperature of the water heater may be high, and if the water heater is at a set temperature determined according to the water demand, the amount of hot water that can be actually output by the water heater is greater than or far greater than the water demand of the user, which causes energy waste of the water heater.
The water heater is provided with a plurality of water discharging modes, wherein the water discharging modes comprise a water discharging non-heating mode, a water discharging heating mode, a capacity increasing mode and the like. The water heater has corresponding maximum hot water output in different discharge modes. Specifically, the water heater divides the water inlet temperature into N sections at 5-40 ℃, the water outlet temperature into N sections at 35-45 ℃, the set temperature is 35-80 ℃, the N sections are divided, and when the water outlet temperature is 35-45 ℃, hot water is output by the water heater; the water heater sets different inlet water temperatures and set temperatures in different heating modes, and acquires the output quantity of the outlet water temperature at 35-45 ℃, wherein the output quantity is the maximum hot water output quantity corresponding to the water discharging mode. The water heater constructs a mapping relation table according to the data relation among the maximum hot water output quantity, the water inlet temperature, the set temperature and the water discharging mode, and the maximum hot water output quantity can be found in the mapping relation table only according to the water discharging mode, the water inlet temperature and the set temperature. It should be noted that the set temperature used by the water heater to determine the maximum hot water output amount refers to a current set temperature corresponding to a current time period of the water heater.
After the maximum hot water output quantity corresponding to each water discharging mode is determined, the water using demand and the maximum hot water output quantity are compared, and the water discharging mode corresponding to the maximum hot water output quantity larger than the water using demand is used as a target water discharging mode. And the water heater searches a set temperature in a mapping relation table according to the target water discharge mode, the maximum hot water output quantity corresponding to the target water discharge mode and the water inlet temperature, wherein the set temperature is the target set temperature.
The water discharging modes with the maximum hot water output quantity larger than the water demand of the user can be used as target water discharging modes, but when the difference value between the maximum hot water output quantity and the water demand is larger, the situation that the water heater provides more hot water and wastes more energy is shown. In contrast, the water heater firstly judges whether the water discharge mode with the smaller maximum hot water output is the target water discharge mode or not, and then judges whether the water discharge mode with the larger maximum hot water output is the target water discharge mode or not, so that the hot water provided by the water heater for users is not excessive.
And if so, taking the water discharging non-heating mode as a target water discharging mode.
If the maximum hot water output quantity corresponding to the water discharging non-heating mode is less than or equal to the water demand of the user, the water heater judges whether the maximum hot water output quantity corresponding to the water discharging heating mode is greater than the water demand, the maximum hot water output quantity corresponding to the water discharging heating mode is greater than the maximum hot water output quantity corresponding to the water discharging non-heating mode, and if the maximum hot water output quantity corresponding to the water discharging heating mode is greater than the water demand, the water discharging heating mode is taken as the target water discharging mode.
If the maximum hot water output corresponding to the water discharging heating mode is less than or equal to the water demand of a user, the water heater takes the capacity increasing mode as the target water discharging mode, the maximum hot water output corresponding to the capacity increasing mode is the maximum of the three water discharging modes, the capacity increasing mode refers to that the water heater collects other means to increase the hot water output, for example, the water heater is internally provided with a standby heating device, and the standby heating device is started when the water heater enters the capacity increasing mode.
When the water heater is in a water discharging state, namely the water heater is used by a user, a part of hot water is output by the water heater, and at the moment, the set temperature of the hot water needs to be determined again, so that the residual output hot water quantity of the water heater and the output hot water quantity are equal to or slightly larger than the water using demand of the user.
When the water heater is in a water discharging state, the output quantity of hot water in the water heater is detected in real time, the output quantity of the hot water is the quantity of the outputted hot water, the difference value between the water demand quantity and the outputted hot water quantity of the water heater is calculated, the difference value is the residual water consumption quantity, the water heater collects the water inlet temperature detected by a temperature sensor arranged at the bottom of the liner, the temperature is set according to the water inlet temperature, the residual water consumption quantity and the difference value of a target water discharging mode determined before the water heater in a mapping relation table, the set temperature is the current set temperature of the water heater, and the water heater controls the heating device according to the current set temperature, so that the energy waste of the water heater is less.
In one embodiment, the water heater analyzes the water consumption law of the user by combining the water consumption parameters associated with each time period, and further realizes the intelligent function of the water heater according to the water consumption law. For example, a water heater acquires a first water consumption parameter corresponding to a user in a first time period, wherein the first water consumption parameter comprises a first water amount and a first water temperature; determining a target advanced heating time length corresponding to the first time period of the water heater according to the first water parameter and the heating power of the water heater; and controlling the heating device of the water heater to operate according to the target advanced heating time length.
Specifically, the first water parameter includes a first water amount, and the first water parameter may also include a first water temperature, where the first water temperature is a temperature of hot water required by the user in the first time period, and the first water temperature may be determined according to a water usage habit temperature of the user in the first time period.
Specifically, the first water temperature can be regarded as hot water, that is, the first water temperature can be regarded as the temperature of the hot water, and the first water temperature can be 35-45 ℃. After the first water parameter is determined, the target set temperature of the water heater can be determined according to the first water parameter, namely after the water heater controls the heating device to operate through the target set temperature, the hot water provided by the water heater in the first time period is larger than or equal to the hot water amount of the user in the current time period. The water heater stores a mapping relation among the set temperature, the first water quantity and the first water temperature, so that the set temperature can be determined according to the first water quantity and the first water temperature. It should be noted that, in general, the water heater sets the inlet water temperature to be lower, and the inlet water temperature is regarded as a constant, so that the set temperature can be determined only according to the water consumption and the water temperature. However, in actual situations, the water inlet temperature of the water heater may be high, and if the water heater determines the set temperature according to the water consumption, the amount of hot water that can be actually output by the water heater is larger than the water consumption of a user, or is much larger than the water consumption of the user, which causes energy waste of the water heater.
Because the water heater is heated in advance, the water heater can be regarded as not entering water, and the water heater obtains the water temperature in the liner, and the water temperature can be the average water temperature in the liner. The bottom and the top of the inner container are provided with temperature sensors, the average value of the water temperatures detected by the two temperature sensors is the water temperature of the inner container, of course, the inner container can also be provided with a plurality of temperature sensors, and the average water temperature corresponding to the water temperatures collected by the plurality of temperature sensors is the water temperature of the inner container.
When the target set temperature, the heating rate of the heating device to water and the water temperature of the inner container are determined, the advance heating time of the water heater can be calculated, and the advance heating time can be set as the target advance heating time.
After the target advanced heating time length is calculated by the water heater, the water heater can obtain the starting time point of the heating device according to the starting time point of the first time period and the target advanced heating time length, and then the heating device is controlled to operate when the current time point reaches the starting time point. It should be noted that, a plurality of heating devices, for example, 2 or 3 heating devices, may be set in the water heater, and when the water heater is operated in advance, the water heater needs to control the operation of each heating device.
The water heater determines the heating advance time length corresponding to a first time period and a second time period, wherein the second time period is positioned after the first time period and is adjacent to the first time period in terms of time.
And the water heater calculates a third water consumption parameter corresponding to the first water consumption and the second time period, wherein the third water consumption parameter comprises the total water consumption of the first time period and the second time period or comprises the total water consumption and the water consumption temperature, the water consumption temperature is the water consumption temperature of the user in the first time period and the second time period, and the target advanced heating time corresponding to the first time period is determined according to the third water consumption parameter, so that the water heater can provide sufficient hot water for the user in both the first time period and the second time period.
And when the first interval duration is less than the second advanced heating duration, the user water usage in the second time period does not influence the user water usage in the first time period, and at the moment, the advanced heating duration corresponding to the first time period is taken as the target advanced heating duration.
When the first interval duration is longer than the advanced heating duration corresponding to the second time period, the water heater determines the target heating duration of the first time period according to the first water consumption parameter and the second water consumption parameter, that is, the target advanced heating duration of the second time period is actually the sum of the first interval duration and the target advanced heating duration corresponding to the first time period, and at this time, the target advanced heating duration of the second time period does not need to be repeatedly determined. In this regard, when the water heater determines the target advanced heating time period of the first time period, it is necessary to determine whether the water heater simultaneously determines the target advanced heating time period corresponding to a third time period before the first time period, the third time period being adjacent in time to the first time period. And if the second interval duration is longer than the first advanced heating duration, the water heater can be judged not to determine the target advanced heating duration of the first time period in advance, and the target advanced heating duration of the first time period needs to be determined. When the second interval duration is less than or equal to the first advanced heating duration, it can be determined that the water heater determines the target advanced heating duration of the first time period in advance, and the water heater can determine the target advanced heating duration corresponding to the first time period according to the target advanced heating duration of the third time period, that is, the target advanced heating duration of the third time period plus the second interval duration is the target advanced heating duration of the first time period.
In one embodiment, the water heater analyzes the water consumption law of the user by combining the water consumption parameters associated with each time period, and further realizes the intelligent function of the water heater according to the water consumption law. For example, the water heater determines the water use reliability corresponding to a user in a first time period, and determines a target water consumption according to the water use reliability; determining target operation parameters corresponding to the water heater according to the target water consumption; and controlling the water heater to operate according to the target operation parameter in the first time period, and/or controlling the water heater to operate before the first time period according to the target operation parameter.
Specifically, the water heater may determine a water usage reliability of the user over a time period, the water usage reliability indicating a probability that the user uses the water heater over the time period, the higher the water usage reliability, the greater the probability that the user uses the water heater over the time period. The water use reliability corresponding to the first time period can be determined according to the water use times of the user in the first time period, and the water use reliability is higher when the water use times are higher when the number of the first time periods on different dates is fixed. After the water use reliability is determined, the reliability interval where the water use reliability is located is determined, and then the water use grade is determined according to the reliability interval, so that the water use quantity corresponding to the water use grade is used as the target water use quantity.
The water heater is provided with a data acquisition period, and the duration of the data acquisition period can be the latest week, two weeks, three weeks or the like. The water heater determines the total number of the same first time periods on different dates in the data acquisition cycle, for example, when the time length of the data acquisition cycle is one week, then the data acquisition cycle has 7 first time periods from 9 am to 10 am, that is, the total number of the first time periods is 7. When the water heater detects that a user uses the water heater, the time period of using the water heater is related to the water consumption of the user, so that the number of the first time periods with water consumption is determined after the water heater obtains a plurality of first time periods.
The water heater may determine the water usage reliability based on the number of first time periods with water usage and the total number of first time periods. For example, the mapping relationship among the number of the first time periods, the total number of the first time periods, and the water usage reliability is stored in the water heater, and after the total number of the first time periods and the number of the first time periods with water are determined, the water usage reliability of the water heater can be determined according to the mapping relationship, the total number of the first time periods, and the number of the first time periods with water. The water heater calculates a first ratio between the number of first time periods having water usage and the total number of the first time periods, the first ratio being indicative of the frequency of water usage by the user during the first time period, the greater the first ratio, the higher the frequency of water usage by the user during the first time period. In this regard, the first ratio may be directly used as the water usage reliability to characterize the reliability of the user's water usage during the time period.
The water heater is divided into a plurality of time periods in one day, and after a user uses the water heater in a certain time period, the probability that the user uses hot water in the next time period is influenced. For example, if the user takes a bath at 8 pm to 9 pm and goes to sleep, then the probability of the user using water decreases from 9 pm to 10 pm, from 10 pm to 11 pm, and from 11 pm to 12 pm, so that the influence of the user using water in the time period before 9 pm to 10 pm needs to be considered when calculating 9 pm to 10 pm.
For this, the water heater determines a second time period earlier than the first time period, the date of the second time period is different from that of the first time period, the second time period comprises one or more sub-time periods, for example, when the first time period is 1:00am-2:00am, the second time period is 0:00am-1:00am, the second time period only contains one sub-time period, and the sub-time period is 0:00am-1:00 am; the first time period is 3:00am-4:00am, then the second time period is 0:00am-3:00am, and the second time period includes three sub-time periods, 0:00am-1:00am, 1:00am-2:00am, 2:00am-3:00am, respectively.
The water heater calculates the total number of the sub-time periods in the data acquisition cycle and the number of the sub-time periods with water consumption, so that a second ratio is obtained according to the number of the sub-time periods with water consumption and the total number of the sub-time periods, and if the second time period comprises a plurality of sub-time periods, a plurality of second ratios exist.
And after the second ratio is obtained, setting corresponding weights for each sub-time period and the first time period. Since the influence of the earlier sub-period on the first period is smaller, the earlier sub-period has a smaller weight, i.e., the first period has the largest weight. And the water heater performs weighted calculation on each second ratio and the first ratio to obtain a target ratio, wherein the target ratio is the water use reliability of the user in the first time period.
The user has more historical water consumption times for the water heater in a certain time period, has less historical water consumption times for the water heater in another time period, and records the water consumption times of the user in one time period as the historical book consumption times, for example, the user has a difference in a certain week, so the water heater has no water consumption parameter of the week. At this time, when the water heater is used for calculating the water use reliability, the water use reliability of the user in the time period is inaccurate due to the difference of the user, that is, the water use reliability of the user in the time period is lower than the actual water use reliability.
In this regard, the water heater is provided with a plurality of data acquisition cycles, and the time lengths of the data acquisition cycles are different, for example, the time length is one week, the time length is two weeks, the time length is three weeks, and the like. The last day of the data acquisition cycle is the same day, and it can be understood that the data acquired in the data acquisition cycle is updated along with the lapse of time, for example, the data acquisition cycle has a time length of one week, if the date of the first time period is 6 months and 8 days, the day with the earliest time of the data acquisition cycle is 6 months and 1 #, and the schedule of the first time period is changed to 6 months and 9 #, the day with the earliest time of the data acquisition cycle is updated to 6 months and 2 #, that is, the water heater replaces the water consumption parameter acquired in 6 months and 9 # with the water consumption parameter acquired in 6 months and 1 #.
The water heater calculates the total number of the first time periods in each type of data acquisition period and the number of the first time periods with water, and the third ratio corresponding to the data acquisition period is obtained by dividing the number of the first time periods with water by the total number of the first time periods. Therefore, the water heater calculates to obtain a plurality of third ratios, and then the maximum third ratio is used as the water use reliability corresponding to the user in the first time period.
In one embodiment, the water heater analyzes the water consumption law of the user by combining the water consumption parameters associated with each time period, and further realizes the intelligent function of the water heater according to the water consumption law. For example, the water heater obtains a first total number of first time periods within a current data acquisition cycle, wherein each of the first time periods belongs to a different date; dividing the first total number of the first time period into a plurality of calculation sets according to different preset interval days; calculating a first water reliability of each calculation set; determining whether the current data acquisition cycle is valid according to the first water reliability of the plurality of calculation sets.
Specifically, the water heater can collect water consumption parameters of a user using the water heater and perform self-learning according to the water consumption parameters, so that the use law of the user on the water heater is analyzed, the use law is the water consumption law of the user, and the water consumption law means that the user needs to use water in a certain time period or does not need to use water in a certain time period.
If the fluctuation is large, it can indicate that the user does not have the water usage law in the time period, i.e. the data collection cycle is invalid in the time period.
Specifically, the water heater needs to first judge whether a certain time period in the data acquisition period is valid, if so, the water consumption fluctuation of the user in the time period is small, the data acquisition period is a user habit period, namely, the user has a water consumption rule in the time period; if the water consumption is invalid, the water consumption fluctuation of the user in the time period is large, and the water consumption law of the user in the time period is not good. Specifically, taking the time length of the data acquisition cycle as 7 days as an example, the water heater acquires first time periods of different dates in the data acquisition cycle, and the first total number of the first time periods is 7.
The water heater further takes different preset interval days K, wherein K is 1 day, 2 days, 3 days, 4 days, 5 days and 6 days … N-1 day, N is the number of days of the data acquisition cycle, namely the data acquisition cycle comprises N first time periods, in the embodiment, the water heater can take more than two preset interval days from 1 day, 2 days, 3 days, 4 days, 5 days and 6 days … N-1 days to obtain a corresponding number of calculation sets, for example, if the number of the preset interval days is 3, there are 3 calculation sets. And calculating the interval duration between the first time periods adjacent to the time in the set as preset interval days. For example, the data acquisition cycle is 7 days, the preset interval days are 1 day and 2 days respectively, then the calculation set corresponding to the preset interval days being 1 day includes 7 first time periods, and the calculation set corresponding to the preset interval days being 2 days includes 4 first time periods of 1, 3, 5, and 7. The more preset interval days are adopted, the higher the accuracy of whether the data acquisition period is effective or not is. In addition, the number of the first time periods in each calculation set can be limited, the number of the first time periods in the calculation sets is greater than or equal to a preset number, the situation that the number of samples in the calculation sets is too small to cause a large error is avoided, and the preset number can be any suitable number.
After the calculation sets are determined, the first water reliability of each calculation set is calculated, specifically, the second total number of the first time periods in the calculation sets and the number of the first time periods with water are determined, and the ratio obtained by dividing the number of the first time periods with water by the second total number is the first water reliability.
After determining the first water reliability corresponding to each calculation set, the water heater determines the maximum first water reliability to serve as a target water reliability, then sequentially calculates first difference values between the target water reliability and each other first water reliability, and takes the first difference values larger than a preset difference value as target difference values, so as to determine the number of the target difference values; the water heater calculates a first ratio of the number of the target difference values to the total number of the first difference values, if the first ratio is larger than a first preset threshold value, the first preset threshold value can be any suitable value, for example, 70%, the water use fluctuation of the user is in an acceptable range, namely, the fluctuation is normal, at this moment, the data acquisition period is judged to be effective, and the data acquisition period is a user habit period; if the first ratio is smaller than or equal to the first preset threshold, it indicates that the water consumption of the user is abnormal, and the data acquisition cycle is invalid, that is, the user has no water consumption regularity in the first time period of the data acquisition cycle.
It should be noted that a plurality of data acquisition cycles can be set in the water heater, the time length of each data acquisition cycle is different, and when the current data acquisition cycle is determined to be invalid, the next data acquisition cycle is used as the current data acquisition cycle until the valid data acquisition cycle is determined. Of course, if all data collection cycles are invalid, it indicates that the user has no water usage pattern for the first time period.
The water heater can calculate the range and the average value of the first water reliability of each calculation set, so that whether the water fluctuation of the user in the first time period is normal or not is determined according to the range and the average value, namely whether the data acquisition period is effective or not is judged.
Specifically, the maximum first water reliability and the minimum water reliability are extracted from the water heater to calculate a second difference, and then an average value corresponding to each first water reliability is calculated. The water heater then calculates a second ratio between the second difference and the average value, and determines whether the second ratio is less than or equal to a second preset threshold, where the second preset threshold may be any suitable value, such as 150%. When the second ratio is smaller than or equal to a second preset threshold, the water fluctuation of the user in the first time period can be judged to be normal, namely the data acquisition cycle is effective; and if the second ratio is larger than a second preset threshold value, the data acquisition period is invalid.
In one embodiment, the water heater analyzes the water consumption law of the user by combining the water consumption parameters associated with each time period, and further realizes the intelligent function of the water heater according to the water consumption law. For example, when the water heater determines that a user does not need water in a first time period, the water use reliability and the water inlet temperature corresponding to the first time period are obtained; and determining the target set temperature of the water heater according to the water use reliability and the inlet water temperature.
Specifically, the water heater determines a current water usage level corresponding to the water usage reliability, wherein the higher the water usage reliability is, the lower the current water usage level is; determining a temperature increment value according to the current water consumption level, wherein the lower the current water consumption level is, the smaller the temperature increment value is; and determining the target set temperature of the water heater according to the temperature increment value and the inlet water temperature.
If the current water consumption level is level 1, the accuracy that the user does not use the water heater in the first time period is very high, so that the target set temperature can be set to be the water inlet temperature, and the water inlet temperature is the historical water inlet temperature stored in the first time period by the water heater. If the current water consumption level is level 2, the accuracy that the user does not use the water heater is high, and at the moment, the target setting is set to be the inlet water temperature + the temperature increment value m. By analogy, when the current water consumption level is higher, the accuracy of judging that the water heater is not used by a user in a first time period by the water heater is lower, the target set temperature is higher, and the target set temperature can be determined by the following formula: the target set temperature is the intake water temperature + K temperature increment value, where K is 0, 1,2,3 …, the water reliability level determines the size of K, when the water reliability level is 1 level, K is 0, when the water reliability level is 2 levels, K is 1, and so on.
After the target set temperature of the water heater is determined, the first target operation parameter of the water heater can be determined according to the target set temperature of the water heater.
The invention also provides a water heater, wherein a temperature sensor is arranged on the inner container of the water heater, the water heater further comprises a memory, a processor and a data acquisition program of the water heater, the data acquisition program of the water heater is stored in the memory and can run on the processor, the temperature sensor is connected with the processor, and the data acquisition program of the water heater realizes the steps of the data acquisition method of the water heater in the embodiment when being executed by the processor.
The present invention also provides a computer-readable storage medium storing a data acquisition program of a water heater, which when executed by a processor implements the steps of the data acquisition method of the water heater according to the above embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The data acquisition method of the water heater is characterized in that a temperature sensor is arranged in an inner container of the water heater, and comprises the following steps:
acquiring the water temperature collected by the temperature sensor to determine the temperature reduction amount of the water temperature in a detection period;
collecting water consumption parameters of the water heater when the temperature reduction corresponding to a plurality of continuous detection periods is determined to be larger than a target reduction;
acquiring the total number of first time periods in a current data acquisition cycle, wherein each first time period belongs to different dates;
dividing the total number of the first time period into a plurality of calculation sets according to different preset interval days;
determining whether the current data acquisition cycle is valid according to the water use reliability of a plurality of calculation sets;
when the current data acquisition cycle is effective, determining the target number of target time periods associated with the water consumption parameters in the data acquisition cycle and the total number of the target time periods in the data acquisition cycle;
determining a ratio of the target number to the total number;
and determining the water demand of the target time period corresponding to the ratio.
2. The data acquisition method for a water heater according to claim 1, wherein the water usage parameter comprises an inlet water temperature, and the step of acquiring the water usage parameter for the water heater comprises:
and determining that the temperature reduction amount of the bottom of the inner container corresponding to the detection period is smaller than a preset reduction amount, and taking the current water temperature at the bottom of the inner container as the inlet water temperature.
3. The data acquisition method for a water heater according to claim 1, wherein the water usage parameter comprises an inlet water temperature, and the step of acquiring the water usage parameter for the water heater comprises:
and when the preset water discharging time of the water heater is determined, taking the current water temperature at the bottom of the inner container as the water inlet temperature.
4. The data acquisition method for a water heater according to claim 1, wherein the water usage parameter comprises a hot water flow rate, and the step of acquiring the water usage parameter for the water heater comprises:
determining the capacity of the inner container, the water inlet temperature of the water heater and the water temperature reduction rate in the water heater;
and determining the hot water flow of the water heater according to the capacity, the inlet water temperature and the water temperature reduction rate.
5. The data acquisition method for a water heater according to claim 1, wherein the water usage parameter comprises water usage, and the step of acquiring the water usage parameter for the water heater comprises:
determining the water inlet temperature, the water outlet temperature, the hot water flow and the water outlet duration of the water heater;
and determining the water consumption of the water heater according to the water inlet temperature, the water outlet temperature, the hot water flow and the water outlet duration.
6. The data acquisition method for the water heater according to any one of claims 1 to 5, wherein the target reduction amount is determined according to the capacity of the liner, the temperature of the inlet water, and the flow rate of the inlet water.
7. The data collection method for a water heater according to any one of claims 1 to 5, wherein the target decrease amount is determined by the water heater based on a position of the temperature sensor in the inner container.
8. The data acquisition method for a water heater according to any one of claims 1 to 5, wherein the step of acquiring the water consumption parameter of the water heater is followed by the steps of:
and associating and storing the detection period of the water use parameter with the water use parameter.
9. A water heater is characterized in that a temperature sensor is arranged in an inner container of the water heater, the water heater further comprises a memory, a processor and a data acquisition program of the water heater, the data acquisition program of the water heater is stored in the memory and can run on the processor, the temperature sensor is connected with the processor, and when the data acquisition program of the water heater is executed by the processor, the steps of the data acquisition method of the water heater according to any one of claims 1 to 8 are realized.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a data acquisition program of a water heater, which when executed by a processor implements the steps of the data acquisition method of the water heater according to any one of claims 1 to 8.
CN201910608473.2A 2019-07-05 2019-07-05 Water heater and data acquisition method and computer-readable storage medium thereof Active CN110398068B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910608473.2A CN110398068B (en) 2019-07-05 2019-07-05 Water heater and data acquisition method and computer-readable storage medium thereof
PCT/CN2019/129851 WO2021004037A1 (en) 2019-07-05 2019-12-30 Water heater, data acquisition method therefor, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910608473.2A CN110398068B (en) 2019-07-05 2019-07-05 Water heater and data acquisition method and computer-readable storage medium thereof

Publications (2)

Publication Number Publication Date
CN110398068A CN110398068A (en) 2019-11-01
CN110398068B true CN110398068B (en) 2022-03-18

Family

ID=68323978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910608473.2A Active CN110398068B (en) 2019-07-05 2019-07-05 Water heater and data acquisition method and computer-readable storage medium thereof

Country Status (2)

Country Link
CN (1) CN110398068B (en)
WO (1) WO2021004037A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110398068B (en) * 2019-07-05 2022-03-18 芜湖美的厨卫电器制造有限公司 Water heater and data acquisition method and computer-readable storage medium thereof
CN112902458B (en) * 2019-12-03 2022-07-12 美的集团股份有限公司 Water consumption determination method and device, water heater and electronic equipment
CN111503901B (en) * 2020-04-27 2021-06-04 广东万家乐燃气具有限公司 Water quantity and power double-regulation electric water heater and control method thereof
CN112728766B (en) * 2020-12-31 2022-03-25 浙江中广电器股份有限公司 Water storage type water heater, controller and control method thereof
CN113067891B (en) * 2021-04-08 2022-10-18 深圳市中瓴智慧科技有限公司 Intelligent construction site data acquisition method and device, computer equipment and storage medium thereof
CN113175756B (en) * 2021-05-25 2022-07-05 华帝股份有限公司 Water temperature detection method and equipment
CN114640905B (en) * 2022-05-23 2022-09-16 广东冠星陶瓷企业有限公司 Ceramic production cloud data processing control system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104976775A (en) * 2014-04-14 2015-10-14 海尔集团公司 Water storage type electric water heater with bathing water usage amount function and method for obtaining water usage amount
CN108613389A (en) * 2018-05-02 2018-10-02 芜湖美的厨卫电器制造有限公司 The water using analysis method and system and computer equipment of water heater
CN108931060A (en) * 2017-05-22 2018-12-04 李海磊 A kind of intelligent water heater power-economizing method based on cloud computing

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU719740B2 (en) * 1996-03-29 2000-05-18 Waterfurnace International, Inc. Microprocessor control for a heat pump water heater
CN2708177Y (en) * 2003-05-18 2005-07-06 夏利群 Boiler fault-signal recorder
KR101021293B1 (en) * 2008-10-02 2011-03-11 한국전력공사 Combustion Gas Properties Auto-Calculation System And Method for Oxygen Fuel Boiler
KR20120073002A (en) * 2010-12-24 2012-07-04 한국남부발전 주식회사 Apparatus for monitoring temperature of boiler tube
CN103486723B (en) * 2013-09-24 2016-06-29 芜湖美的厨卫电器制造有限公司 There is electric heater and the method for purifying water of water purification function
CN104110878B (en) * 2013-12-23 2017-12-19 芜湖美的厨卫电器制造有限公司 Electric heater and its control method with ECO functional modes
CN104729097B (en) * 2013-12-24 2018-04-20 珠海格力电器股份有限公司 A kind of hot-water heating system and its display control method, device
CN104390360B (en) * 2014-10-29 2017-05-31 广东万家乐燃气具有限公司 A kind of intelligent multiple-energy-source hot-water heating system control method based on big data
CN104713241B (en) * 2015-02-05 2017-09-29 芜湖美的厨卫电器制造有限公司 Water heater and its control method, control device
CN105352195B (en) * 2015-11-24 2018-04-13 珠海格力电器股份有限公司 Control water heater electrically heated method, apparatus, water heater and Teat pump boiler
BR102015031526A2 (en) * 2015-12-16 2018-03-20 Instituto Federal Sul-Rio-Grandense WASTE WATER USE SYSTEM WITH PASS GAS HEATERS
CN105698397B (en) * 2016-03-25 2018-09-11 芜湖美的厨卫电器制造有限公司 Electric heater and its method for heating and controlling
CN106123305B (en) * 2016-07-29 2019-02-01 芜湖美的厨卫电器制造有限公司 The method for heating and controlling and electric heater of electric heater
CN106352542B (en) * 2016-11-04 2019-03-01 中国石油大学(华东) A kind of prediction technique of storage-type electric water heater residue bathing time
CN108286810B (en) * 2017-01-09 2020-08-07 芜湖美的厨卫电器制造有限公司 Water heater and control method thereof
CN107449156B (en) * 2017-08-10 2020-07-31 广州机智云物联网科技有限公司 Water consumption condition monitoring method for electric water heater and electronic equipment
CN110398068B (en) * 2019-07-05 2022-03-18 芜湖美的厨卫电器制造有限公司 Water heater and data acquisition method and computer-readable storage medium thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104976775A (en) * 2014-04-14 2015-10-14 海尔集团公司 Water storage type electric water heater with bathing water usage amount function and method for obtaining water usage amount
CN108931060A (en) * 2017-05-22 2018-12-04 李海磊 A kind of intelligent water heater power-economizing method based on cloud computing
CN108613389A (en) * 2018-05-02 2018-10-02 芜湖美的厨卫电器制造有限公司 The water using analysis method and system and computer equipment of water heater

Also Published As

Publication number Publication date
WO2021004037A1 (en) 2021-01-14
CN110398068A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN110398068B (en) Water heater and data acquisition method and computer-readable storage medium thereof
CN110398070B (en) Water heater, control method thereof and computer-readable storage medium
CN110398065B (en) Water heater, heating control method thereof and computer-readable storage medium
CN110398069B (en) Water heater, control method thereof and computer-readable storage medium
KR101267932B1 (en) Flowmeter and its program
CN104035458B (en) A kind of intelligent temperature control method, Apparatus and system
CN106225246A (en) Air-source water heater and method for heating and controlling thereof and device
CN109282502B (en) Method for forecasting remaining bath time of water storage type water heater
CN106839468A (en) A kind of solar water heater runoff investigation method and system
CN110398066A (en) Water heater and its control method and computer readable storage medium
CN108204680A (en) Calculate method, the electric heater of electric heater residue bathing time
CN110398067B (en) Water heater, control method thereof and computer-readable storage medium
CN110398063B (en) Water heater, control method thereof and computer-readable storage medium
CN107917535A (en) A kind of method and water heater for predicting bathing custom
JP5240803B2 (en) Timer detection device, abnormality detection device, and abnormality detection system
CN108195067A (en) For calculating method, the electric heater of electric heater residue bathing time
CN104460469B (en) A kind of environmental sensor and a kind of measurement of ambient parameter and Forecasting Methodology
EP3995755A1 (en) Water heater and heating control method therefor, and computer-readable storage medium
CN110857821A (en) Control method of electric water heater and electric water heater
JP2002071421A (en) Integrator of gas flow rate, gas meter, handy terminal, gas control center and gas control system
WO2021004034A1 (en) Water heater and control method therefor, and computer-readable storage medium
CN110398064B (en) Water heater, heating control method thereof and computer-readable storage medium
CN113566439A (en) Temperature adjusting method and equipment for hotel water
CN114294824A (en) Water use habit analysis method and device, terminal equipment and storage medium
CN114794885A (en) Instant heating water dispenser and outlet water temperature control method, device and storage medium thereof

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