A kind of auto sleep system and method for Drinking fountain
Technical field
The present invention relates to Drinking fountain control technology, more specifically, it relates to a kind of auto sleep system of Drinking fountain and
Method.
Background technology
Drinking fountain makes purified water and uses current international state-of-the-art activated carbon filtering technique, activated carbon filtering technique
Exactly the heavy metal in tap water, pesticide, antibacterial, pathogenic bacteria, impurity etc. are completely separated by activated carbon, so as to make rich in molten
The activated water of solution oxygen, accordingly, as a kind of high-tech product, Drinking fountain oneself increasingly by the green grass or young crops of many homes and offices
Look at.
However, current Drinking fountain on the market, its mode of operation is usually, when the water temperature in hot-water cylinder and cold water tank is not up to
During to predetermined value, heater and refrigeration machine can start immediately, with respectively by the cold water weight in the hot water and cold water tank in hot-water cylinder
It is new to process to suitable temperature;Drinking fountain, heater and refrigeration machine is used all can so to circulate work with or without people, very
Take electricity in ground.
The content of the invention
In view of the shortcomings of the prior art, first purpose of the invention is to provide a kind of auto sleep of Drinking fountain
Method, can control Drinking fountain and enters resting state, so as to reach the purpose of energy saving in the suitable period.
For achieving the above object, the invention provides following technical scheme:
A kind of auto sleep method of Drinking fountain, including:
The rule operated in a cycle according to Drinking fountain, formulates sleep period;
According to the sleep period formulated, control Drinking fountain enters resting state;
When after Drinking fountain is waken up in sleep period or in the non-sleep period, whether detection Drinking fountain exceedes scheduled duration not
Operated;If so, then control Drinking fountain and enter resting state.
Preferably, the sleep period is reformulated within each cycle, and is used in next cycle.
Preferably, the formulating method of the sleep period includes:
S11, in a cycle, the timing node that real time record Drinking fountain is operated daily;
The distribution situation of S12, the analysis timing node in 24 hours one day, and according to the distribution situation of the timing node
Formulate sleep period.
Preferably, step S12 is specifically included:
S121, it was divided into N number of period by 24 hours one day;
S122, calculate in each period, the number of times that Drinking fountain is operated;
S123, obtain in a cycle, Drinking fountain is in the identical period by the meansigma methodss of number of operations;
S124, by the meansigma methodss more than predetermined value slot setup be operation time period;
Period number between S125, calculating adjacent operator period, if quantity is more than predetermined value, by two adjacent operations
Slot setup between period is sleep period.
Preferably, when after Drinking fountain is waken up in sleep period and when meeting dormancy condition, calculate current time with it is next
The time difference of the time started of individual non-sleep period, if the time difference is less than predetermined value, is not controlled Drinking fountain and enters and stop
The operation of dormancy state.
Preferably, the predetermined value of the time difference is calculated according to below equation:P* t=CWater* m *(T2- T1);Wherein, P
For the power of heater, CWaterFor the specific heat capacity parameter of water, T1For current water temperature, T2For predetermined water temperature, m is the current water yield, and t is
The time difference.
Second object of the present invention is the auto sleep system for providing a kind of Drinking fountain, can in the suitable period,
Control Drinking fountain enters resting state, so as to reach the purpose of energy saving.
For achieving the above object, the invention provides following technical scheme:
A kind of auto sleep system of Drinking fountain, including:
Sleep period formulates module, for the rule operated in a cycle according to Drinking fountain, formulates sleep period;
Active dormancy control module, in the sleep period, control Drinking fountain to enter resting state;
Passive dormancy control module, for when after Drinking fountain is waken up in sleep period or in the non-sleep period, detection to be straight
Whether drink machine is not operated more than scheduled duration;If so, then control Drinking fountain and enter resting state.
Preferably, the sleep period formulates module and sleep period is reformulated within each cycle, and next
The individual cycle adopts.
Compared with prior art, it is an advantage of the invention that:1st, by the way of both active dormancy and passive dormancy combination,
In the suitable period, control Drinking fountain enters resting state, to stop heating and refrigerating function;2nd, dormancy plan is regularly updated,
Preferably to adapt to laws of use of the user to Drinking fountain.
Description of the drawings
The step of Fig. 1 is embodiment 1 schematic diagram;
Fig. 2 is the flow chart of embodiment 1;
Fig. 3 is the concrete steps figure of step S1 in embodiment 1;
Fig. 4 is the concrete steps figure of step S12 in embodiment 1;
Fig. 5 for another improvement project of embodiment 1 flow chart;
Fig. 6 is the module map of embodiment 2.
Specific embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not
It is only limitted to this.
Embodiment 1:
The present embodiment provides a kind of auto sleep method of Drinking fountain, and with reference to Fig. 1, Fig. 2, the method includes:
Step S1, the rule operated in a cycle according to Drinking fountain, formulate sleep period.
In the present embodiment, a cycle is preferably 7 days, but is not limited to 7 days, in actual applications, can be according to reality
Scene environment be adjusted.The rule that Drinking fountain is operated is monitored in a cycle after Drinking fountain comes into operation, and
Sleep period is formulated with this;Then it is initially to be adopted in next cycle.
Wherein, with reference to Fig. 3, the formulating method of sleep period includes:
S11, in a cycle, the timing node that real time record Drinking fountain is operated daily.
When user presses the cold/hot water button of Drinking fountain, then will be labeled as the behavior once operating effectively, while note
The time that the lower operation of record occurs.
The distribution situation of S12, node analysis time in 24 hours one day, and formulated according to the distribution situation of timing node
Sleep period.With reference to Fig. 4, specifically include:
S121, it was divided into N number of period by 24 hours one day;
For example, with half an hour as interval, 48 periods were divided into by 24 hours one day.
S122, calculate in each period, the number of times that Drinking fountain is operated;
S123, obtain in a cycle, Drinking fountain is in the identical period by the meansigma methodss of number of operations;
For example, by 7 days 7:00~7:After being sued for peace by number of operations in 30 this period, then average, the meansigma methodss
Then it is considered the number of times for effectively being operated.
S124, by the meansigma methodss more than predetermined value slot setup be operation time period;
For example, when the meansigma methodss are more than 10 times, 7:00~7:30 are set to operation time period.
S125, period number between the adjacent operator period is calculated, if quantity is more than predetermined value, by this adjacent two
Slot setup between operation time period is sleep period.
For example, 7:00~7:30 periods and 9:00~9:30 are set to operation time period, and 7:30~8:Between 30 two
The meansigma methodss of the number of times for being operated in the individual period are respectively less than predetermined value, that is, be not set to operation time period, then 7:30~8:
00 period and 8:00~8:30 periods can be set to that sleep period.
Step S2, according to formulate sleep period, control Drinking fountain enter resting state.
This is active park mode, it is intended to according to laws of use of the user to Drinking fountain, sleep period is adjusted in real time, with
While the use demand of user is met, it is ensured that energy-saving effect.
In the present embodiment, control Drinking fountain is into the mode of resting state:The controller operation dormancy program of Drinking fountain,
Only after trigger condition is met, controller just can be jumped out from dormancy program, run mastery routine.The trigger condition includes two
Kind:One kind is into operation time period, and another kind is that have user to carry out to Drinking fountain using operation.When Drinking fountain enters dormancy
After state, its heater, refrigeration machine do not work, and will not be again started up because water temperature does not reach predetermined value.
Step S3, when after Drinking fountain is waken up in sleep period or in the non-sleep period, whether detection Drinking fountain surpasses
Cross scheduled duration not operated;If so, then control Drinking fountain and enter resting state.
This is passive park mode, and because the practical application scene environment of Drinking fountain is changeable, user is to inorganic use feelings
Condition may change in some cases so that active park mode can not be suitable for well in some cases;Therefore,
In order to make sleep mode more reasonable, it is aided with passive park mode.
For step 3, with reference to Fig. 5, the present embodiment makes further improvement:When Drinking fountain is waken up in sleep period
Afterwards and when meeting dormancy condition, the time difference of current time and the time started of next non-sleep period is calculated, if the time
Difference is less than predetermined value, then be not controlled Drinking fountain into the operation of resting state.
The predetermined value of above-mentioned time difference is calculated according to below equation:P* t=CWater* m *(T2- T1);Wherein, P is to add
The power of hot device, CWaterFor the specific heat capacity parameter of water, T1For current water temperature, T2For predetermined water temperature, m is the current water yield, and t is the time
Difference.
Above-mentioned improvement project, enables to Drinking fountain when into operation time period, its water temperature can reach predetermined value or
Difference between predetermined value is minimum, so as to when operation time period arrives, user being capable of drinking hot water.
Embodiment 2:
The present embodiment provides a kind of auto sleep system of Drinking fountain, to realize purpose same as the previously described embodiments.Reference picture
6, this includes:
Sleep period formulates module, for the rule operated in a cycle according to Drinking fountain, formulates sleep period.
In the present embodiment, a cycle is preferably 7 days, but is not limited to 7 days, in actual applications, can be according to reality
Scene environment be adjusted.The rule that Drinking fountain is operated is monitored in a cycle after Drinking fountain comes into operation, and
Sleep period is formulated with this;Then it is initially to be adopted in next cycle.
Wherein, with reference to Fig. 3, the formulating method of sleep period includes:
S11, in a cycle, the timing node that real time record Drinking fountain is operated daily.
When user presses the cold/hot water button of Drinking fountain, then will be labeled as the behavior once operating effectively, while note
The time that the lower operation of record occurs.
The distribution situation of S12, node analysis time in 24 hours one day, and formulated according to the distribution situation of timing node
Sleep period.With reference to Fig. 4, specifically include:
S121, it was divided into N number of period by 24 hours one day;
For example, with half an hour as interval, 48 periods were divided into by 24 hours one day.
S122, calculate in each period, the number of times that Drinking fountain is operated;
S123, obtain in a cycle, Drinking fountain is in the identical period by the meansigma methodss of number of operations;
For example, by 7 days 7:00~7:After being sued for peace by number of operations in 30 this period, then average, the meansigma methodss
Then it is considered the number of times for effectively being operated.
S124, by the meansigma methodss more than predetermined value slot setup be operation time period;
For example, when the meansigma methodss are more than 10 times, 7:00~7:30 are set to operation time period.
S125, period number between the adjacent operator period is calculated, if quantity is more than predetermined value, by this adjacent two
Slot setup between operation time period is sleep period.
For example, 7:00~7:30 periods and 9:00~9:30 are set to operation time period, and 7:30~8:Between 30 two
The meansigma methodss of the number of times for being operated in the individual period are respectively less than predetermined value, that is, be not set to operation time period, then 7:30~8:
00 period and 8:00~8:30 periods can be set to that sleep period.
Active dormancy control module, in sleep period, control Drinking fountain to enter resting state.
Control Drinking fountain is into the mode of resting state:The controller operation dormancy program of Drinking fountain, is only meeting
After trigger condition, controller just can be jumped out from dormancy program, run mastery routine.The trigger condition includes two kinds:One kind be into
Enter to operation time period, another kind is that have user to carry out to Drinking fountain using operation.After Drinking fountain enters resting state, it adds
Hot device, refrigeration machine do not work, and will not be again started up because water temperature does not reach predetermined value.
Passive dormancy control module, for when after Drinking fountain is waken up in sleep period or in the non-sleep period, inspection
Survey whether Drinking fountain is not operated more than scheduled duration;If so, then control Drinking fountain and enter resting state.
In the present embodiment, preferably, passive dormancy control module is further configured to:When Drinking fountain is in dormancy
After period is waken up and when meeting dormancy condition, the time of current time and the time started of next non-sleep period is calculated
Difference, if the time difference is less than predetermined value, is not controlled Drinking fountain into the operation of resting state.
The predetermined value of above-mentioned time difference is calculated according to below equation:P* t=CWater* m *(T2- T1);Wherein, P is to add
The power of hot device, CWaterFor the specific heat capacity parameter of water, T1For current water temperature, T2For predetermined water temperature, m is the current water yield, and t is the time
Difference.