Invention content
In order to solve the above technical problems, being shown an embodiment of the present invention is intended to provide a kind of water temperature and control method, water heater
And storage medium, for showing real-time leaving water temperature, and it can realize that hot and cold water is automatically adjusted to default water temperature.
The technical proposal of the invention is realized in this way:
It is shown an embodiment of the present invention provides a kind of water temperature and control method, the method includes:
The hot water feed water inlet of water heater is connected to cold water feed water inlet, constitutes water outlet;
The water temperature information of the water outlet is obtained, and shows the water temperature information;
Determine the water outlet water temperature be higher than the first preset temperature when, reduce the hot water feed water inlet water flow or
Increase the water flow of the cold water feed water inlet of the water heater;
Determine the water outlet water temperature be less than the first preset temperature when, increase the hot water feed water inlet water flow or
Reduce the water flow of the cold water feed water inlet;
When determining that the water temperature of the water outlet reaches the first preset temperature, presently described hot water feed water inlet and described is kept
The water flow of cold water feed water inlet is constant.
Wherein, further include before the water temperature information for obtaining water heater mouth:
Obtain the liner water temperature information of the water heater;
Detect whether the hot water feed water inlet and the cold water feed water inlet are discharged.
Wherein, the method further includes:
When determining that the hot water feed water inlet and the cold water feed water inlet are not discharged, the liner water temperature information is shown;
When determining the hot water feed water inlet water outlet, the water temperature information of the hot water feed water inlet is obtained, is shown when being set as fixed
When showing the water temperature information of the hot water feed water inlet or determining that the cold water water outlet is not discharged, the hot water feed water inlet is shown
Water temperature information;
When determining the cold water feed water inlet water outlet, the water temperature information of the cold water feed water inlet is obtained, is shown when being set as fixed
When showing the water temperature information of the cold water feed water inlet or determining that the hot water outlet is not discharged, the cold water feed water inlet is shown
Water temperature information.
The embodiment of the present invention additionally provides a kind of water heater, and the water heater includes:
Hot and cold water mixed cell constitutes water outlet for the hot water feed water inlet of water heater to be connected to cold water feed water inlet;
Water outlet water temperature acquiring unit, the water temperature information for obtaining the water outlet;
First display unit, the water temperature information for showing the water outlet;
First determination unit, when for determining that the water temperature of the water outlet is higher than the first preset temperature, the first control of triggering
Unit;
The cold water of first control unit, water flow or the increase water heater for reducing the hot water feed water inlet supplies
The water flow at the mouth of a river;
Second determination unit, when for determining that the water temperature of the water outlet is less than the first preset temperature, the second control of triggering
Unit;
Second control unit, the water of water flow or the reduction cold water feed water inlet for increasing the hot water feed water inlet
Flow;
Third determination unit, when for determining that the water temperature of the water outlet reaches the first preset temperature, triggering third control
Unit;
Third control unit, for keeping the water flow of presently described hot water feed water inlet and the cold water feed water inlet not
Become.
Wherein, the water heater further includes liner water temperature acquiring unit, water outlet detection unit;
The liner water temperature acquiring unit, the liner water temperature information for obtaining the water heater;
The water outlet detection unit, for detecting whether the hot water feed water inlet and the cold water feed water inlet are discharged.
Wherein, the water heater further includes the first judgement unit, liner water temperature display unit, the second judgement unit, second
Display unit, third judgement unit, third display unit, hot water mouth's water temperature acquiring unit, cold water outlet water temperature acquiring unit;
First judgement unit, when for determining that the hot water feed water inlet and the cold water feed water inlet are not discharged,
Trigger liner water temperature display unit;
The liner water temperature display unit, for showing the liner water temperature information;
Second judgement unit triggers hot water mouth's water temperature acquiring unit when for determining the hot water feed water inlet water outlet;
Hot water mouth's water temperature acquiring unit, the water temperature information for obtaining the hot water feed water inlet;
Second display unit, for when the water temperature information or determining institute for being set as the fixed display hot water feed water inlet
When stating cold water water outlet and not being discharged, the water temperature information of the hot water feed water inlet is shown;
The third judgement unit triggers cold water outlet water temperature acquiring unit when for determining the cold water feed water inlet water outlet;
The cold water outlet water temperature acquiring unit, the water temperature information for obtaining the cold water feed water inlet;
The third display unit, for when the water temperature information or determining institute for being set as the fixed display cold water feed water inlet
When stating hot water outlet and not being discharged, the water temperature information of the cold water feed water inlet is shown.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer program, the meter
Realize that water temperature is shown and the step of control method when calculation machine program is executed by processor.
In the technical solution of the embodiment of the present invention, water temperature is shown and control method includes:By the hot water feed water inlet of water heater
It is connected to cold water feed water inlet, constitutes water outlet;The water temperature information of the water outlet is obtained, and shows the water temperature information;It determines
When the water temperature of the water outlet is higher than the first preset temperature, reduces the water flow of the hot water feed water inlet or increase the hot water
The water flow of the cold water feed water inlet of device;When determining that the water temperature of the water outlet is less than the first preset temperature, increases the hot water and supply
The water flow at the mouth of a river or the water flow for reducing the cold water feed water inlet;Determine that the water temperature of the water outlet reaches the first default temperature
When spending, keep the water flow of presently described hot water feed water inlet and the cold water feed water inlet constant.In this way, through the above scheme can
It is enough to realize in water heater working, the temperature of real-time display water outlet, and default water temperature can be automatically adjusted to hot and cold water, greatly
Ground improves intuitive, safety, meets user to the comfort used and intelligent requirement.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes.
Fig. 1 is shown for the water temperature that the embodiment of the present invention is recorded and the flow diagram of control method, as shown in Figure 1, described
Method includes the following steps:
Step 101:The hot water feed water inlet of water heater is connected to cold water feed water inlet, constitutes water outlet.
In the embodiment of the present invention, it can be done on the basis of general electric heater and change following improvement:Cold water inlet is drawn
Branch pipe is connected to the hot water outlet pipe of water heater, the outlet pipe as hot and cold water mixed flow.
Step 102:The water temperature information of the water outlet is obtained, and shows the water temperature information.
In the embodiment of the present invention, it can be arranged in water outlet and obtain water temperature unit and display unit, temperature can be used respectively
Sensor and liquid crystal display are realized.
Specifically, it may be selected in the liner setting temperature sensor of water heater, in the hot water feed water inlet of water heater and cold
Water feed water inlet is respectively provided with temperature sensor, flow detection unit, wherein flow detection unit is for detecting whether feed water inlet goes out
The temperature sensor of water, cold water feed water inlet can be mounted at the cold water inlet of water heater, the temperature sensor of hot water feed water inlet
It can be mounted on the hot water outlet of water heater, the temperature sensor of water outlet can be arranged in shower, tap etc., display
Unit setting may be provided at water heater body, shower, tap etc. and go out, and temperature value is intuitively read in use to facilitate;
Wired or wireless communication mode can be used between temperature sensor, flow detection unit and display unit.
Specifically, it when water heater is started to work, when detecting that hot water feed water inlet and cold water feed water inlet are not discharged, shows
Show the water temperature information of liner;When detecting that the water outlet of hot water feed water inlet and cold water feed water inlet are not discharged, show on a display screen
The water temperature information of hot water feed water inlet, or can be fixedly installed as the water temperature information of display hot water feed water inlet;When detect cold water supply
When the mouth of a river is discharged and hot water outlet is not discharged, the water temperature information of cold water feed water inlet is shown on a display screen, or can fix
It is set as the water temperature information of display cold water feed water inlet;When detecting that hot water feed water inlet is discharged with cold water outlet, water outlet is shown
Water temperature information, i.e. hot and cold water mixed water temperature information, or can be fixedly installed to show outlet water temperature information;In addition,
The water temperature information of multiple positions can also be shown simultaneously according to demand, for example, can show liner on a display screen simultaneously and go out
The water temperature information at the mouth of a river can also show the water temperature information of hot water feed water inlet and the water temperature information of water outlet simultaneously.
Step 103:When determining that the water temperature of the water outlet is higher than the first preset temperature, the water of the hot water feed water inlet is reduced
The water flow of the cold water feed water inlet of flow or the increase water heater.
Specifically, the temperature sensor of water outlet is connected with control unit, by wired or wireless mode to hot water
Or the water flow of cold water feed water inlet is adjusted, for example, when the good outlet temperature of user setting is 39 DEG C, when the temperature of water outlet
When sensor detects that the water temperature of water outlet at this time is 45 DEG C, control unit judges to be higher than set temperature, can control and reduces hot water
The water flow of feed water inlet increases the water flow of cold water feed water inlet so that water outlet water temperature reduces, wherein control unit can wrap
Include the Water flow control valve door in hot water feed water inlet and the setting of cold water feed water inlet;Alternatively, it is also possible to set temperature range, such as
It is set as 37 DEG C to 42 DEG C, when beyond this range, using above-mentioned corresponding control strategy.
Step 104:When determining that the water temperature of the water outlet is less than the first preset temperature, increase the water of the hot water feed water inlet
Flow or the water flow for reducing the cold water feed water inlet.
Specifically, the water flow of hot water feed water inlet or cold water feed water inlet is adjusted with reference to the mode of step 103.
Step 105:When determining that the water temperature of the water outlet reaches the first preset temperature, presently described hot water feed water inlet is kept
And the water flow of the cold water feed water inlet is constant.
Specifically, when control unit judges that real-time water outlet water temperature reaches preset temperature or the temperature range of setting
When, then it controls and keeps the water flow of current hot water feed water inlet and cold water feed water inlet constant.
Specifically, circuit control knot as shown in Figure 3 can be used in the method that the water temperature of the embodiment of the present invention shows and controls
Structure is realized.
Realization of the embodiment of the present invention is in water heater working, the temperature of real-time display water outlet, and can be automatic with hot and cold water
It is adjusted to default water temperature, improves intuitive, safety that water heater uses.
Fig. 2 is a kind of structural schematic diagram for water heater that the embodiment of the present invention is recorded, as shown in Fig. 2, the water heater packet
It includes:
Hot and cold water mixed cell 201 constitutes water outlet for the hot water feed water inlet of water heater to be connected to cold water feed water inlet
Mouthful;
Water outlet water temperature acquiring unit 202, the water temperature information for obtaining the water outlet;
First display unit 203, the water temperature information for showing the water outlet;
First determination unit 204, when for determining that the water temperature of the water outlet is higher than the first preset temperature, the first control of triggering
Unit processed;
First control unit 205, water flow for reducing the hot water feed water inlet or increases the cold of the water heater
The water flow of water feed water inlet;
Second determination unit 206, when for determining that the water temperature of the water outlet is less than the first preset temperature, the second control of triggering
Unit processed;
Second control unit 207, the water flow for increasing the hot water feed water inlet or the reduction cold water feed water inlet
Water flow;
Third determination unit 208 when for determining that the water temperature of the water outlet reaches the first preset temperature, triggers third control
Unit processed;
Third control unit 209, the water flow for keeping presently described hot water feed water inlet and the cold water feed water inlet
It is constant.
Specifically, the water heater further includes liner water temperature acquiring unit 210, water outlet detection unit 211;
The liner water temperature acquiring unit 210, the liner water temperature information for obtaining the water heater;
The water outlet detection unit 211, for detecting whether the hot water feed water inlet and the cold water feed water inlet are discharged.
Specifically, the water heater further includes the first judgement unit 212, the differentiation list of liner water temperature display unit 213, second
First 214, second display unit 215, third judgement unit 216, third display unit 217, hot water mouth's water temperature acquiring unit 218,
Cold water outlet water temperature acquiring unit 219;
First judgement unit 212, for determining that the hot water feed water inlet and the cold water feed water inlet are not discharged
When, triggering liner water temperature display unit 213;
The liner water temperature display unit 213, for showing the liner water temperature information;
Second judgement unit 214, when for determining the hot water feed water inlet water outlet, triggering hot water mouth's water temperature obtains single
Member 218;
Hot water mouth's water temperature acquiring unit 218, the water temperature information for obtaining the hot water feed water inlet;
Second display unit 215, for when the water temperature information for being set as the fixed display hot water feed water inlet or really
When the fixed cold water water outlet is not discharged, the water temperature information of the hot water feed water inlet is shown;
The third judgement unit 216, when for determining the cold water feed water inlet water outlet, triggering cold water outlet water temperature obtains single
Member 219;
The cold water outlet water temperature acquiring unit 219, the water temperature information for obtaining the cold water feed water inlet;
The third display unit 217, for when the water temperature information for being set as the fixed display cold water feed water inlet or really
When the fixed hot water outlet is not discharged, the water temperature information of the cold water feed water inlet is shown.
Wherein, it should be noted that the selectable structure of another kind not represented in Fig. 2 is:It is discharged detection unit 211
It can be connected by the way that the 4th judgement unit is arranged between water outlet water temperature acquiring unit 202, the 4th judgement unit is used
In when detecting that hot water feed water inlet is discharged with cold water feed water inlet, triggering water outlet water temperature acquiring unit 202, Fig. 2 is not indicated
Go out above structure, that is, a kind of structure that water outlet water temperature acquiring unit 202 is detached with water outlet detection unit 211 is represented, such
Under the structure of separation, the function of acquiring water outlet water temperature and display is independently realized, without being bound by other judgement units
Start or closes.Separated structure described in Fig. 2 is to be not intended to limit this for the main points of the more prominent embodiment of the present invention
The protection domain of invention.
In the embodiment of the present invention, the work(of water heater mouth temperature display is completed by the way that the first display unit 203 is arranged
Can, and optionally, display hot water feed water inlet, cold water feed water inlet, liner water temperature information.So improve the safety of water heater
Property and intuitive;In addition, automatically controlling for water temperature is realized by above-mentioned each control, detection and judgement unit, according to pre-
If temperature immediate feedback adjusts water temperature, the intelligent and comfort of water heater is enhanced.
In the embodiment of the present invention, based on it will be appreciated by those skilled in the art that each unit in water heater shown in Fig. 2
Realize function can refer to aforementioned water temperature show and the associated description of control method and understand.Each list in water heater shown in Fig. 2
The function of member can be realized by running on the program on processor, can also be realized by specific logic circuit.
The embodiment of the present invention also describes a kind of computer readable storage medium, is stored thereon with computer program, the meter
Calculation machine program realizes that aforementioned water temperature is shown and the step of control method when being executed by processor.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.