CN111174438B - Water heater, control method thereof and computer-readable storage medium - Google Patents

Water heater, control method thereof and computer-readable storage medium Download PDF

Info

Publication number
CN111174438B
CN111174438B CN201811350402.9A CN201811350402A CN111174438B CN 111174438 B CN111174438 B CN 111174438B CN 201811350402 A CN201811350402 A CN 201811350402A CN 111174438 B CN111174438 B CN 111174438B
Authority
CN
China
Prior art keywords
water heater
flow
heating
water
determining
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
CN201811350402.9A
Other languages
Chinese (zh)
Other versions
CN111174438A (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 Smart Kitchen Appliance 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 CN201811350402.9A priority Critical patent/CN111174438B/en
Publication of CN111174438A publication Critical patent/CN111174438A/en
Application granted granted Critical
Publication of CN111174438B publication Critical patent/CN111174438B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Instantaneous Water Boilers, Portable Hot-Water Supply Apparatuses, And Control Of Portable Hot-Water Supply Apparatuses (AREA)

Abstract

The invention discloses a control method of a water heater, which is applied to the water heater, wherein a water outlet pipeline of the water heater is provided with a flow sensor, and the control method of the water heater comprises the following steps: after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses generated by the flow sensor at present at fixed time; determining a first flow rate of the outlet conduit according to the number of pulses and a second flow rate of the outlet conduit according to the pulse width; and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, controlling a heating device of the water heater to reduce the output heating energy. The invention also discloses a water heater and a computer readable storage medium. The invention avoids the situation that a user is scalded when the user closes the hot water of the water heater.

Description

Water heater, control method thereof and computer-readable storage medium
Technical Field
The invention relates to the technical field of household appliances, in particular to a water heater, a control method thereof and a computer readable storage medium.
Background
With the improvement of living standard of people, the water heater has become an indispensable household appliance for every family.
In the prior art, manufacturers design an instant heating water heater, so that when a user uses a hot water function of the water heater, that is, after the user opens a valve of a water outlet pipeline of the water heater, water is output from the water outlet pipeline, at the moment, a flow sensor starts to generate pulses, a heating component of the water heater is started or a heating energy pipeline of the water heater is communicated, so that water entering the water heater is heated.
When a user closes a valve of a water outlet pipeline of the water heater, the water heater generally shuts off water firstly, and then cuts off heating energy. However, the water is not cut off at a time when the water is shut off, and the water is gradually reduced until the water amount is zero, that is, the water amount is reduced, but the power of the heating element of the water heater is not reduced or the output of the heating energy is not reduced, so that the temperature of the water flowing out of the water heater is higher than the temperature set by the user, and thus the water heater is shut off and heated, and when the temperature of the water is seriously raised, the water delivered by the water heater scalds the user.
Disclosure of Invention
The invention mainly aims to provide a water heater, a control method thereof and a computer readable storage medium, and aims to solve the problem that water delivered by the water heater scalds users.
In order to achieve the above object, the present invention provides a control method of a water heater, the control method of the water heater is applied to a water heater, a water outlet pipe of the water heater is provided with a flow sensor, and the control method of the water heater includes the following steps:
after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses generated by the flow sensor at present at fixed time;
determining a first flow rate of the outlet conduit according to the number of pulses and a second flow rate of the outlet conduit according to the pulse width;
and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, controlling a heating device of the water heater to reduce the output heating energy.
In one embodiment, the step of reducing the amount of heat exchange of the water heater to the water comprises:
controlling a heating component of the water heater to stop heating;
or closing the valve of the conveying pipeline for conveying the heating energy source.
In one embodiment, the step of controlling the heating device of the water heater to reduce the output heating energy comprises:
reducing the heating power of the heating part;
or, the valve opening of the delivery pipe delivering the heating energy source is reduced.
In one embodiment, the step of reducing the heating power of the heating component or reducing the valve opening of the conveying pipeline for conveying the heating energy source comprises:
determining a power adjustment value of the heating component according to the flow difference value, and reducing the power of the heating component according to the power adjustment value;
or determining a valve opening adjusting value of a conveying pipeline for conveying heating energy according to the flow difference value, and reducing the valve opening of the conveying pipeline according to the valve opening adjusting value.
In an embodiment, after the step of determining the second flow rate of the outlet conduit according to the pulse width, the method further includes:
when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold, judging whether the flow difference value is smaller than or equal to a second preset threshold, wherein the second preset threshold is smaller than the first preset threshold;
when the flow difference value is larger than a second preset threshold value, executing the step of determining a power adjustment value of the heating component according to the flow difference value, or executing the step of determining a valve opening adjustment value of a pipeline valve corresponding to the heating energy according to the flow difference value;
and when the flow difference value is smaller than or equal to a second preset threshold value, controlling a heating part of the water heater to stop heating, or closing a valve of a conveying pipeline for conveying heating energy.
In one embodiment, the step of determining the first flow rate of the outlet conduit based on the number of pulses comprises:
acquiring a mapping relation between flow and pulse number;
and determining the first flow according to the mapping relation and the pulse number.
In an embodiment, the step of determining the first flow rate according to the mapping relationship and the pulse number comprises:
determining the set period duration of the set time period corresponding to the mapping relation;
determining a current period duration corresponding to the current time period, and determining a correction coefficient according to the current time period and the set period duration;
and calculating to-be-processed flow according to the mapping relation and the pulse number, and correcting the to-be-processed flow according to a correction coefficient to obtain the first flow.
In an embodiment, after the step of determining the first flow rate of the outlet conduit according to the number of pulses, the method further includes:
judging whether the first flow is smaller than or equal to a third preset threshold value, wherein the third preset threshold value is larger than the first preset threshold value;
and when the first flow rate is less than or equal to a third preset threshold value, executing the step of determining the second flow rate of the water outlet pipeline according to the pulse width.
In order to achieve the above object, the present invention further provides a water heater, the water outlet pipe of which is provided with a flow sensor, the water heater further comprises a processor, a memory and a control program of the water heater stored in the memory and capable of running on the processor, and the control program of the water heater, when executed by the processor, implements the steps of the control method of the water heater as described above.
To achieve the above object, the present invention also provides a computer-readable storage medium storing a control program of a water heater, which when executed by a processor, implements the steps of the control method of the water heater as described above.
After detecting that the flow sensor generates the pulse, acquiring the number of pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulse currently generated by the flow sensor at regular time, determining the first flow of the water outlet pipeline according to the number of the pulses and the second flow of the water outlet pipeline according to the pulse width, and controlling a heating device of the water heater to reduce the output heating energy when the flow difference value between the first flow and the second flow is less than or equal to a first preset threshold value; when the water in the water outlet pipeline of the water heater is reduced, the heating energy output by the heating device is reduced, so that the water in the water outlet pipeline cannot be heated too high, and the situation that a user is scalded when the hot water of the water heater is turned off is avoided.
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 control method of a water heater according to the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of a control method for a water heater according to the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of a control method for a water heater according to the present invention;
FIG. 5 is a flow chart of a fourth embodiment of the control method 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: after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses generated by the flow sensor at present at fixed time; determining a first flow rate of the outlet conduit according to the number of pulses and a second flow rate of the outlet conduit according to the pulse width; and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, controlling a heating device of the water heater to reduce the output heating energy.
When the water in the water outlet pipeline of the water heater is reduced, the heating energy output by the heating device is reduced, so that the water in the water outlet pipeline cannot be heated too high, and the situation that a user is scalded when the hot water of the water heater is turned off is avoided.
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: a processor 101, such as a CPU, a memory 102, a communication bus 103, and a flow sensor 104. Wherein, the communication bus 103 is used for realizing the connection communication between the components, and the flow sensor 104 is arranged in the water outlet pipeline of the water heater.
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, a control program of the water heater may be included in the memory 103 as a kind of computer storage medium; and the processor 101 may be configured to call the control program of the water heater stored in the memory 102 and perform the following operations:
after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses generated by the flow sensor at present at fixed time;
determining a first flow rate of the outlet conduit according to the number of pulses and a second flow rate of the outlet conduit according to the pulse width;
and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, controlling a heating device of the water heater to reduce the output heating energy.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
controlling a heating component of the water heater to stop heating;
or closing the valve of the conveying pipeline for conveying the heating energy source.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
reducing the heating power of the heating part;
or, the valve opening of the delivery pipe delivering the heating energy source is reduced.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
determining a power adjustment value of the heating component according to the flow difference value, and reducing the power of the heating component according to the power adjustment value;
or determining a valve opening adjusting value of a conveying pipeline for conveying heating energy according to the flow difference value, and reducing the valve opening of the conveying pipeline according to the valve opening adjusting value.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold, judging whether the flow difference value is smaller than or equal to a second preset threshold, wherein the second preset threshold is smaller than the first preset threshold;
when the flow difference value is larger than a second preset threshold value, executing the step of determining a power adjustment value of the heating component according to the flow difference value, or executing the step of determining a valve opening adjustment value of a pipeline valve corresponding to the heating energy according to the flow difference value;
and when the flow difference value is smaller than or equal to a second preset threshold value, controlling a heating part of the water heater to stop heating, or closing a valve of a conveying pipeline for conveying heating energy.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
acquiring a mapping relation between flow and pulse number;
and determining the first flow according to the mapping relation and the pulse number.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
determining the set period duration of the set time period corresponding to the mapping relation;
determining a current period duration corresponding to the current time period, and determining a correction coefficient according to the current time period and the set period duration;
and calculating to-be-processed flow according to the mapping relation and the pulse number, and correcting the to-be-processed flow according to a correction coefficient to obtain the first flow.
In one embodiment, the processor 101 may be configured to call a control program of the water heater stored in the memory 102 and perform the following operations:
judging whether the first flow is smaller than or equal to a third preset threshold value, wherein the third preset threshold value is larger than the first preset threshold value;
and when the first flow rate is less than or equal to a third preset threshold value, executing the step of determining the second flow rate of the water outlet pipeline according to the pulse width.
According to the scheme, after the pulse generated by the flow sensor is detected, the number of pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulse generated by the flow sensor at present are obtained at regular time, then the first flow of the water outlet pipeline is determined according to the number of pulses and the second flow of the water outlet pipeline is determined according to the pulse width, and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, the heating device of the water heater is controlled to reduce the output heating energy; when the water in the water outlet pipeline of the water heater is reduced, the heating energy output by the heating device is reduced, so that the water in the water outlet pipeline cannot be heated too high, and the situation that a user is scalded when the hot water of the water heater is turned off is avoided.
Based on the hardware architecture of the water heater, the embodiment of the control method of the water heater is provided.
Referring to fig. 2, fig. 2 is a first embodiment of a control method of a water heater according to the present invention, the control method of the water heater including the steps of:
step S10, after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses currently generated by the flow sensor at regular time;
in the invention, the water heater is a quick-heating water heater which is used for instantly heating water in a water outlet pipeline of the water heater. A flow sensor is arranged in a water outlet pipeline of the water heater, and the flow sensor can be a Hall flow sensor or other types of flow sensors.
A load resistor is connected in series with the positive electrode of a Hall element of the Hall flow sensor, and a direct current voltage of 5V is applied to the load resistor, so that the current direction is orthogonal to the magnetic field direction. When water flows through the water outlet pipeline, when the water pushes the magnetic rotor to rotate through the turbine switch shell, a rotating magnetic field with different magnetic poles is generated, magnetic induction lines are cut, and high and low pulse levels are generated.
The water heater can be used for heating water in an electric heating mode or a gas heating mode, and when the water heater is used for electric heating, the heating device is a heating pipe; when the water heater heats the gas, the heating device comprises a heat exchanger, a combustion chamber, an ignition device and a pipeline for conveying heating energy (the heating energy is the gas, the gas can be combustible gas such as coal gas, natural gas and the like), the pipeline is provided with a valve and is connected with the combustion chamber, the combustion chamber is also communicated with an air pipeline, a user of the air pipeline conveys air, and the heat exchanger is connected with the combustion chamber, so that the combustion chamber transfers heat to the heat exchanger; when the water heater carries out gas heating on water, the ignition device ignites to ignite the delivered heating energy to heat the inner wall of the combustion chamber, so that the inner wall of the combustion chamber transfers heat to the heat exchanger to heat the water through the heat exchanger.
When the water heater detects that the flow sensor generates the pulse, at the moment, the user is judged to open the valve of the air outlet pipeline, namely, water flows through the water outlet pipeline, and at the moment, the heating device of the water heater heats water instantly. The number of pulses generated by the flow sensor within a set time length can represent the current water flow of the water outlet pipeline; in addition, the size of the pulse with the pulse width can also be used for representing the current water flow of the water pipeline.
Calculating the water flow as the average flow of water within a preset time length through the pulse number, wherein the average flow cannot represent the instantaneous flow of the water, and the calculation result is not accurate enough but can reflect whether the discharged water is reduced within the preset time length or not; the water flow is calculated by the pulse width, the instantaneous flow of the water is represented, the calculation time is short, and the calculation result is not stable enough. When the user finishes the water closing action of the water heater, the water flow obtained by calculation in the two modes is the same, and therefore, the water flow obtained by calculation in the two modes is adopted to judge whether the user is closing the water so as to correspondingly control the water heater. It should be noted that the preset time period is a time period, and the time period may be any suitable value, such as 1 s.
Step S20, determining a first flow rate of the outlet pipe according to the pulse number, and determining a second flow rate of the outlet pipe according to the pulse width;
the water heater stores a mapping relation (a first mapping relation) between water flow and pulse quantity of the water outlet pipeline, the first mapping relation can be represented by a formula (1), and the formula (1) is as follows:
V=K(M+1)…………(1)
wherein V is flow rate, unit is 100mL/min, M is pulse number, M is greater than 0, and K is coefficient.
K is related to the period duration corresponding to the time period, when the period duration corresponding to the time period is 1s, K is 1, K is inversely proportional to the period duration, and equation (2) thereof may be:
K=1/T…………(2)
wherein T is the period duration and the unit is second.
After obtaining the pulse number of the current time period, the pulse number is substituted into the formula (1), that is, the first flow rate is obtained, it should be noted that the period duration corresponding to the current time period is set, that is, the K value in the formula (1) is known. For example, at a pulse number of 9, the first flow rate is 10(100mL/min), i.e., 1L/min.
The water heater is also stored with a mapping relation (a second mapping relation) between the pulse width and the water flow of the water outlet pipeline, the second mapping relation can also be represented by a formula, and the formula (3) is as follows:
V=(T/P)+1…………(3);
wherein, V is flow rate, unit is 100mL/min, T is period duration corresponding to time period, unit is second, P pulse width, unit is millisecond.
After the pulse width is obtained, the pulse width is substituted into equation (3), and the second flow rate is obtained. The second flow rate corresponding to each pulse width can be shown in the following table, the second flow rate in the table is rounded to an integer, and two bits after a decimal point can be reserved for the second flow rate according to requirements.
Figure BDA0001864027170000081
Figure BDA0001864027170000091
In addition, the water heater can preliminarily judge whether the user is in the water closing action through the first flow, specifically, after the first flow is obtained, the water heater judges whether the first flow is smaller than or equal to a preset threshold (a third preset threshold), if so, the water heater can preliminarily judge that the user is closing the water, and at this time, the step of determining the second flow according to the pulse width is executed. Through the mode, the water heater can judge whether the user is in the water closing action more accurately, and the control precision of the water heater is improved.
And step S30, controlling a heating device of the water heater to reduce the output heating energy when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value.
After the first flow and the second flow are obtained, the water heater calculates a flow difference value between the first flow and the second flow, wherein the flow difference value is a positive number, namely the first flow subtracts the second flow to obtain a flow difference value. When the flow difference is smaller than or equal to the first preset threshold, the water heater determines that the user is turning off the water, at this time, the water heater reduces the heating energy output by the heating device, so as to slow down the temperature rise of the water in the water outlet pipe, and the first preset threshold may be any suitable value, such as 2.5L/min. When the flow difference value is larger than the first preset threshold value, the water is continuously heated.
It should be noted that, when the water heater is an electric heating water heater, the heating energy output by the water heater to the water can be reduced by reducing the heating power of the electric heating pipe; when the water heater is a gas water heater, the conveying quantity of the heating energy in unit time can be reduced by reducing the valve opening of the conveying pipeline of the heating energy, so that the purpose of reducing the heating energy is achieved.
In the technical scheme provided by this embodiment, after detecting that the flow sensor generates a pulse, the number of pulses generated by the flow sensor and the pulse width corresponding to the pulse currently generated by the flow sensor in the current time period are obtained at regular time, then the first flow rate of the water outlet pipe is determined according to the number of pulses, the second flow rate of the water outlet pipe is determined according to the pulse width, and when the flow difference between the first flow rate and the second flow rate is less than or equal to a first preset threshold, the heating device of the water heater is controlled to reduce the output heating energy; when the water in the water outlet pipeline of the water heater is reduced, the heating energy output by the heating device is reduced, so that the water in the water outlet pipeline cannot be heated too high, and the situation that a user is scalded when the hot water of the water heater is turned off is avoided.
Referring to fig. 3, fig. 3 is a second embodiment of the control method of the water heater according to the present invention, and based on the first embodiment, the step S30 includes:
and step S31, controlling the heating part of the water heater to stop heating, or closing a valve of a conveying pipeline for conveying heating energy.
When the flow difference value between the first flow and the second flow is smaller than or equal to the first preset threshold value, the water heater judges that the user is closing the output hot water of the water heater, at the moment, the heating device can be controlled to stop outputting heating energy, so that the water heater heats the water by using the waste heat of the heating device, the temperature of the water cannot be raised, in addition, when the user closes the water, the water flowing through the water outlet pipeline is less, the waste heat of the heating device heats the water to a certain temperature, and the user cannot feel that the water is overheated and overcooled.
When the water heater is an electric heating water heater, the electric heating device is closed to stop heating water; if the water heater is a gas water heater, the valve of the heating energy transmission pipeline is closed.
In the technical scheme provided by this embodiment, when the water heater determines that the flow difference between the first flow and the second flow is less than or equal to the preset threshold, the heating device is controlled to stop outputting the heating energy, so that the water heater heats the water in the water outlet pipe by using the waste heat of the heating device, the temperature of the water in the water outlet pipe is not too high, and the temperature is not too low, thereby avoiding the occurrence of the situation that a user feels that the water is overheated and the water is too cold.
Referring to fig. 4, fig. 4 is a third embodiment of the control method of the air conditioner according to the present invention, wherein the step S30 includes:
and step S32, reducing the heating power of the heating component, or reducing the valve opening of a conveying pipeline for conveying heating energy.
In one embodiment, the heater controls the heating device to stop the output of heating energy, but in some cases, the user's water-off action is only to reduce the hot water output from the water heater, and does not completely shut off the hot water. In this regard, in the present embodiment, the water heater only reduces the heating energy output by the heating device, and does not directly control the heating device to stop outputting the heating energy.
When the water heater is an electric heating water heater, a mapping relation (third mapping relation) between the flow difference value between the first flow and the second flow and the power of the electric heating device (heating part) is stored in the electric heating device, so that a power adjusting value is determined according to the flow difference value and the third mapping relation, and the current heating power of the electric heating device is reduced according to the power adjusting value. It should be noted that the heating power of the electric heating device may be determined according to the first flow rate, that is, the current heating power may be determined according to the first flow rate. In addition, when the flow rate of the water output from the water heater is small and the duration time is long, the heating device of the water heater can operate at the preset heating power, and the preset water flow rate obtained by converting the preset heating power is small, for example, 2L/min. In this regard, the water heater may first reduce the heating power of the electric heating device by the first method (reducing the heating power of the electric heating device according to the flow difference), and then obtain the duration of the flow difference, and if the duration reaches the preset duration (the preset duration may be any suitable value, for example, 50ms), then control the electric heating device to operate at the preset heating power.
When the water heater is a gas water heater, the water heater stores a mapping relation (fourth mapping relation) between the flow difference value and the valve opening adjusting value of the conveying pipeline, so that the valve opening adjusting value of the conveying pipeline can be determined according to the fourth mapping relation and the flow difference value, and the valve opening of the conveying pipeline is smaller according to the valve opening adjusting value. It should be noted that, in some gas water heaters, when the control precision of the valve opening of the conveying pipeline is low, the valve opening of the conveying pipeline can be directly adjusted to the set valve opening, so that the water heater keeps a small gas output; or, although the control precision of the valve opening of the delivery pipe of the gas water heater is high, the valve has been used for a long time (the water heater can measure the service life of the valve, and compare the service life with the corresponding set service life to judge whether the valve is used for a long time or not), when the valve opening adjustment value is small, the valve opening of the delivery pipe cannot be ensured to be reduced to the corresponding target opening, and the valve of the delivery pipe can be adjusted to the set valve opening.
In this embodiment, the heating power of the heating device is reduced to slow down the temperature rise of the water in the outlet pipe, and in an actual process, if the water closing action of the user is not completed, or the user needs to close the water, the flow rate of the water in the outlet pipe is further reduced, and if the flow rate is reduced to a smaller flow rate, the water does not need to be heated. In contrast, after step S32, the water heater determines in real time whether the current flow difference (the pulse number and the pulse width are obtained at regular time, so that the current flow difference can be obtained) is smaller than a second preset threshold, which is smaller than the first preset threshold, and the second preset threshold can be any composite number, such as 1.5L/min, and when the current flow difference is smaller than or equal to the second preset threshold, it can be determined that the user turns off the water heater to stop using hot water, and at this time, the water heater controls the heating device to stop outputting heating energy, that is, controls the heating element to stop operating, or closes the valve of the heating energy delivery pipe.
In the technical scheme provided by this embodiment, after the water heater determines that the flow difference between the first flow and the second flow is smaller than the first preset threshold, the water heater ensures that the water in the outlet pipe cannot be supercooled by reducing the heating energy of the heating device and reducing the advance of the water-off temperature rise of the outlet pipe.
Referring to fig. 5, fig. 5 is a fourth embodiment of the control method of a water heater according to the present invention, and based on any one of the first to third embodiments, the step of determining the first flow rate of the outlet pipe according to the number of pulses in step S20 includes:
step S21, determining the set period duration of the set time period corresponding to the mapping relation;
step S22, determining the current period duration corresponding to the current time period, and determining a correction coefficient according to the current time period and the set period duration;
step S23, calculating to-be-processed flow according to the mapping relation and the pulse number, and correcting the to-be-processed flow according to a correction coefficient to obtain the first flow;
the time period is stored in the water heater, the time period corresponds to a set period duration, and the pulse number of the flow sensor is acquired in the set period duration so as to determine the first flow. However, in an actual process, in a set time period, the number of pulses is not an integer, that is, the last pulse in the set time period is not complete, and the water flow rate is variable, and the pulse width is also variable, so that the last pulse width is not well defined, for example, the set time period is 1s, the timing time period is 980ms, 10 pulses have been generated in the current time period, at this time, the flow sensor is continuing to generate pulses near the last time of the set time period, the number of pulses generated in one set time period is 10-point multiple pulses, and the corresponding pulse width of the pulse being generated cannot be determined, and the value after the decimal point cannot be determined. If the integral is adopted, the numerical value after the decimal point is abandoned, the difference value of the first flow rate can be deviated, and therefore the control precision of the water heater is influenced.
In this regard, the water heater may adjust the set period duration in real time, and when the set period duration is close to the end, the actual period duration corresponding to the number of finished pulses, that is, the current period duration corresponding to the number of 10 pulses is 980ms (see the above example); alternatively, the current period duration corresponding to the number of 11 pulses may be counted, for example, the current period duration is 1080 ms. The current time period has a deviation with the set period duration, so that the correction coefficient can be calculated according to the current period duration and the set period duration, and the corresponding formula (4) is as follows:
ξ=T0/T1…………(4)
where xi is a correction coefficient, T0To set the cycle duration, T1Is the current cycle duration.
After the flow is obtained according to the pulse number, namely the flow to be processed, the flow to be processed is corrected according to the correction coefficient to obtain a first flow, namely V1=V0ξ … … … … (5), wherein the first flow is V1 and the flow to be processed is V0
In this embodiment, after the water heater obtains the pulse number, the flow to be processed is calculated according to the pulse number, and the set cycle duration corresponding to the set time period is set to determine the correction coefficient according to the current cycle duration corresponding to the current time period, so as to correct the flow to be processed, so that the water heater can accurately calculate the first flow of the water outlet pipe, the subsequent judgment of the water heater is facilitated, and the control precision of the water heater is high.
In order to achieve the above object, the present invention further provides a water heater, the water outlet pipe of the water heater is provided with a flow sensor, the water heater further includes a processor, a memory, and a control program of the water heater stored in the memory and operable on the processor, and the control program of the water heater, when executed by the processor, implements the steps of the control method of the water heater according to the above embodiments.
To achieve the above object, the present invention also provides a computer-readable storage medium storing a control program of a water heater, which when executed by a processor, implements the steps of the control 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 control method of the water heater is applied to the water heater, a water outlet pipeline of the water heater is provided with a flow sensor, and the control method of the water heater comprises the following steps:
after detecting that the flow sensor generates pulses, acquiring the number of the pulses generated by the flow sensor in the current time period and the pulse width corresponding to the pulses generated by the flow sensor at present at fixed time;
determining a first flow rate of the outlet conduit according to the number of pulses and a second flow rate of the outlet conduit according to the pulse width;
and when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold value, controlling a heating device of the water heater to reduce the output heating energy.
2. The control method of a water heater as claimed in claim 1, wherein the step of controlling the heating device of the water heater to reduce the output heating energy comprises:
controlling a heating component of the water heater to stop heating;
or closing the valve of the conveying pipeline for conveying the heating energy source.
3. The control method of a water heater as claimed in claim 1, wherein the step of controlling the heating device of the water heater to reduce the output heating energy comprises:
reducing the heating power of the heating part;
or, the valve opening of the delivery pipe delivering the heating energy source is reduced.
4. The control method of a water heater according to claim 3, wherein the step of reducing the heating power of the heating part or reducing the valve opening degree of a delivery pipe delivering the heating power source comprises:
determining a power adjustment value of the heating component according to the flow difference value, and reducing the power of the heating component according to the power adjustment value;
or determining a valve opening adjusting value of a conveying pipeline for conveying heating energy according to the flow difference value, and reducing the valve opening of the conveying pipeline according to the valve opening adjusting value.
5. The method of controlling a water heater as set forth in claim 4, wherein said step of determining a second flow rate of said outlet conduit based on said pulse width is followed by the steps of:
when the flow difference value between the first flow and the second flow is smaller than or equal to a first preset threshold, judging whether the flow difference value is smaller than or equal to a second preset threshold, wherein the second preset threshold is smaller than the first preset threshold;
when the flow difference value is larger than a second preset threshold value, executing the step of determining a power adjustment value of the heating component according to the flow difference value, or executing the step of determining a valve opening adjustment value of a pipeline valve corresponding to the heating energy according to the flow difference value;
and when the flow difference value is smaller than or equal to a second preset threshold value, controlling a heating part of the water heater to stop heating, or closing a valve of a conveying pipeline for conveying heating energy.
6. The method of controlling a water heater as set forth in any one of claims 1-5, wherein said step of determining a first flow rate of said outlet conduit based on said number of pulses comprises:
acquiring a mapping relation between flow and pulse number;
and determining the first flow according to the mapping relation and the pulse number.
7. The method of controlling a water heater as set forth in claim 6, wherein said step of determining said first flow rate based on said mapping and said number of pulses comprises:
determining the set period duration of the set time period corresponding to the mapping relation;
determining a current period duration corresponding to the current time period, and determining a correction coefficient according to the current time period and the set period duration;
and calculating to-be-processed flow according to the mapping relation and the pulse number, and correcting the to-be-processed flow according to a correction coefficient to obtain the first flow.
8. The method of controlling a water heater as set forth in any one of claims 1-5, wherein said step of determining a first flow rate of said outlet conduit based on said number of pulses is followed by the step of:
judging whether the first flow is smaller than or equal to a third preset threshold value, wherein the third preset threshold value is larger than the first preset threshold value;
and when the first flow rate is less than or equal to a third preset threshold value, executing the step of determining the second flow rate of the water outlet pipeline according to the pulse width.
9. A water heater characterized in that the outlet conduit of the water heater is provided with a flow sensor, the water heater further comprising a processor, a memory and a control program of the water heater stored on the memory and operable on the processor, the control program of the water heater when executed by the processor implementing the steps of the control method of the water heater according to any one of claims 1-8.
10. A computer-readable storage medium characterized in that it stores a control program of a water heater, which when executed by a processor implements the steps of the control method of the water heater according to any one of claims 1 to 8.
CN201811350402.9A 2018-11-13 2018-11-13 Water heater, control method thereof and computer-readable storage medium Active CN111174438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811350402.9A CN111174438B (en) 2018-11-13 2018-11-13 Water heater, control method thereof and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811350402.9A CN111174438B (en) 2018-11-13 2018-11-13 Water heater, control method thereof and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111174438A CN111174438A (en) 2020-05-19
CN111174438B true CN111174438B (en) 2021-05-28

Family

ID=70622227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811350402.9A Active CN111174438B (en) 2018-11-13 2018-11-13 Water heater, control method thereof and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111174438B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655817B (en) * 2021-10-20 2022-03-08 广东奥迪威传感科技股份有限公司 Flow control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1052720A (en) * 1989-09-29 1991-07-03 加拿大瓦斯协会 Flow control system
CN1688948A (en) * 2002-07-19 2005-10-26 迅捷集团公司 Methods and apparatus for pressure compensation in a mass flow controller
CN102323789A (en) * 2011-09-27 2012-01-18 张�雄 Multifunctional hydraulic equilibrium automatic control and regulation device
CN104110883A (en) * 2014-03-06 2014-10-22 芜湖美的厨卫电器制造有限公司 Gas water heater and control method thereof
CN107101033A (en) * 2017-05-23 2017-08-29 芜湖美的厨卫电器制造有限公司 Tap and its quantitative-outlet control device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1052720A (en) * 1989-09-29 1991-07-03 加拿大瓦斯协会 Flow control system
CN1688948A (en) * 2002-07-19 2005-10-26 迅捷集团公司 Methods and apparatus for pressure compensation in a mass flow controller
CN102323789A (en) * 2011-09-27 2012-01-18 张�雄 Multifunctional hydraulic equilibrium automatic control and regulation device
CN104110883A (en) * 2014-03-06 2014-10-22 芜湖美的厨卫电器制造有限公司 Gas water heater and control method thereof
CN107101033A (en) * 2017-05-23 2017-08-29 芜湖美的厨卫电器制造有限公司 Tap and its quantitative-outlet control device and method

Also Published As

Publication number Publication date
CN111174438A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN104676900B (en) Gas heater and its control method
US20040042772A1 (en) Thermostat system to provide adaptive control of water temperature
CN110017615B (en) Zero-cold-water control device with preheating overtemperature protection and control method
CN110953728A (en) Constant temperature control method of gas water heater
CN112082272B (en) Working method of water heater with zero cold water function
CN105091349B (en) Leaving water temperature regulating device, air-source water heater and leaving water temperature Automatic adjustment method
CN104296389A (en) Water temperature control device and water temperature control method for gas water heater
CN111174438B (en) Water heater, control method thereof and computer-readable storage medium
EP3312523A1 (en) Gas water heater and safety control system and method therefor
JP6822103B2 (en) Hot water supply device and control method of hot water supply device
CN113310218A (en) Gas water heater control method and gas water heater
CN112413900A (en) Water heater control method, device and equipment and water heater
EP3318813B1 (en) Gas water heater and security control system and method therefor
CN113983682B (en) Gas water heater and control method and device thereof
JP5127848B2 (en) Water heater
JP4234690B2 (en) Combustion equipment
CN111981693B (en) Gas water heater and overtemperature control method thereof
JP2016057045A (en) Combustion device
CN112393432A (en) Intelligent automatic pressurization control method for water heater
US9726398B2 (en) System and method for control of a fluid heating apparatus
CN108731272A (en) control system for water heater
JP6234251B2 (en) Combustion device
JP2019109017A (en) Water heater
JP2820583B2 (en) Water heater temperature control device
JP3996157B2 (en) Water heater

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220908

Address after: 241000 west side of 3 / F, No.5 office building, new energy and new materials gathering area, Fuzhou Road, Jiangbei District, Wuhu City, Anhui Province

Patentee after: Wuhu Midea intelligent kitchen electricity Manufacturing Co.,Ltd.

Address before: 241009 Wan Chun East Road, East District, Wuhu economic and Technological Development Zone, Anhui

Patentee before: WUHU MIDEA KITCHEN AND BATH APPLIANCES MFG. Co.,Ltd.