Water drinking equipment, water drinking system, control method of water drinking equipment and storage medium

文档序号:1958641 发布日期:2021-12-14 浏览:20次 中文

阅读说明:本技术 饮水设备、饮水系统、饮水设备的控制方法和存储介质 (Water drinking equipment, water drinking system, control method of water drinking equipment and storage medium ) 是由 杨彬 魏中科 全永兵 于 2020-04-14 设计创作,主要内容包括:本发明提出了一种饮水设备、饮水系统、饮水设备的控制方法和计算机可读存储介质。其中,饮水设备包括:储水装置;存储装置,存储有计算机程序;控制装置,执行计算机程序时实现:控制储水装置向接水容器内出水;在出水过程中,计算多个时间段中每个时间段的接水容器的水位上升高度和每个时间段的储水装置的出水量;根据每个时间段的接水容器的水位上升高度和每个时间段的储水装置的出水量,计算每个时间段对应的接水容器的横截面积;根据多个横截面积获取目标出水量或目标出水时长,并根据目标出水量或目标出水时长控制储水装置出水。能够根据接水容器的形态参数自动控制储水装置的出水量或出水时长,实现针对接水容器的定量、个性化出水控制。(The invention provides a drinking water device, a drinking water system, a control method of the drinking water device and a computer readable storage medium. Wherein, drinking water equipment includes: a water storage device; a storage device storing a computer program; a control device that, when executing a computer program, implements: controlling the water storage device to discharge water into the water receiving container; in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the water storage device in each time period in a plurality of time periods; calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device in each time period; and acquiring target water yield or target water yield duration according to the plurality of cross sectional areas, and controlling the water storage device to discharge water according to the target water yield or the target water yield duration. The water outlet quantity or the water outlet duration of the water storage device can be automatically controlled according to the form parameters of the water receiving container, and quantitative and personalized water outlet control for the water receiving container is achieved.)

1. A water dispensing apparatus, comprising:

a water storage device;

a storage device storing a computer program;

a control device that, when executing the computer program, implements:

controlling the water storage device to discharge water into the water receiving container;

in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet quantity of the water storage device in each time period in a plurality of time periods;

calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container of each time period and the water yield of the water storage device of each time period;

acquiring target water yield or target water yield duration according to the plurality of cross sectional areas, and controlling the water storage device to discharge water according to the target water yield or the target water yield duration;

the control device executes the steps of obtaining the target water yield or the target water outlet duration according to the plurality of cross sectional areas, and specifically comprises the following steps:

querying whether a shape of the water-receiving container corresponding to the plurality of cross-sectional areas exists;

when the shape of the water receiving container corresponding to the cross sectional areas is judged to exist, acquiring the volume of a pre-storage container or the water receiving duration of the pre-storage container corresponding to the shape of the water receiving container, and taking the volume of the pre-storage container as the target water yield or taking the water receiving duration of the pre-storage container as the target water outlet duration;

the control device executes the control of the water outlet of the water storage device according to the target water outlet quantity or the target water outlet duration, and the control device comprises: after the target water yield or the target water outlet duration is obtained, calculating the current water yield or the current water outlet duration of the water storage device, calculating the difference between the target water yield and the water outlet to obtain the water to be discharged, or calculating the difference between the target water outlet duration and the water outlet duration to obtain the remaining water outlet duration, and then controlling the water storage device to discharge water according to the water to be discharged or the remaining water outlet duration.

2. The water fountain apparatus of claim 1, further comprising:

the flow detection device is connected with the control device and is configured to detect the water outlet flow of the water storage device and send the water outlet flow of the water storage device to the control device;

the ultrasonic detection device is connected with the control device and is configured to detect the height of the water receiving container and the water level of the water receiving container and send the height of the water receiving container and the water level of the water receiving container to the control device.

3. The water fountain apparatus of claim 2, further comprising:

and the water outlet pipeline is connected with the water storage device and provided with the flow detection device.

4. The drinking apparatus according to claim 2, wherein the ultrasonic detection device comprises:

the ultrasonic transmitting circuit is connected with the control device and is configured to receive a control instruction of the control device and send out transmitting ultrasonic waves;

an ultrasonic receiving circuit configured to receive reflected ultrasonic waves correspondingly reflected back by the water receiving container;

the detection circuit is connected with the ultrasonic wave transmitting circuit and the ultrasonic wave receiving circuit, and the detection circuit is configured to acquire the height of the water receiving container and the water level of the water receiving container according to the ultrasonic wave propagation speed and the interval time between the transmitted ultrasonic wave and the reflected ultrasonic wave.

5. The drinking water apparatus as claimed in claim 2, wherein the control device performs the calculation of the water output of the water storage device for each of the time periods, specifically comprising:

and calculating the water yield of the water storage device in each time period according to the water yield of the water storage device.

6. The drinking water apparatus as claimed in claim 2, wherein the control device performs the calculation of the water level rise height of the water receiving container for each of the time periods, specifically comprising:

acquiring the water level of the water receiving container at the starting time and the ending time of any time period;

and calculating the water level difference value between the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in the time period.

7. The water fountain apparatus according to any one of claims 2-6, wherein execution of the computer program by the control device further effects:

when the shape of the water receiving container corresponding to the cross sectional areas is judged to be absent, calculating the difference between the height of the water receiving container and the water level of the water receiving container;

and when the difference between the height of the water receiving container and the water level of the water receiving container is judged to be smaller than a preset threshold value, controlling the water storage device to stop water outlet.

8. The water fountain apparatus of claim 7, wherein execution of the computer program by the control device further effects:

after the water storage device is controlled to stop water outlet, acquiring the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device;

and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device.

9. A drinking water system, comprising:

a water receiving container;

a drinking device as claimed in any one of claims 1 to 8.

10. A method of controlling a water fountain, comprising:

controlling the water drinking equipment to discharge water into the water receiving container;

in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the drinking water equipment in each time period in a plurality of time periods;

calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container of each time period and the water yield of the water drinking equipment of each time period;

obtaining a target water yield or a target water yield duration according to the plurality of cross sectional areas, and controlling the water outlet of the drinking equipment according to the target water yield or the target water yield duration;

the step of obtaining the target water yield or the target water outlet duration according to the plurality of cross sectional areas specifically comprises the following steps:

querying whether a shape of the water-receiving container corresponding to the plurality of cross-sectional areas exists;

when the shape of the water receiving container corresponding to the cross sectional areas is judged to exist, acquiring the volume of a pre-storage container or the water receiving duration of the pre-storage container corresponding to the shape of the water receiving container, and taking the volume of the pre-storage container as the target water yield or taking the water receiving duration of the pre-storage container as the target water outlet duration;

the step of controlling the water outlet of the water drinking equipment according to the target water outlet amount or the target water outlet duration comprises the following steps: after the target water yield or the target water outlet time length is obtained, the water yield or the water outlet time length of the current water drinking equipment is calculated, the difference value between the target water yield and the water outlet time length is calculated to obtain the water waiting yield, or the difference value between the target water outlet time length and the water outlet time length is calculated to obtain the residual water outlet time length, and then the water outlet of the water drinking equipment is controlled according to the water waiting yield or the residual water outlet time length.

11. The method for controlling a drinking water apparatus according to claim 10, wherein the step of calculating the water output of the drinking water apparatus for each of the time periods specifically comprises:

and acquiring the water outlet flow of the drinking equipment, and calculating the water outlet quantity of the drinking equipment in each time period according to the water outlet flow of the drinking equipment.

12. The method for controlling a drinking water apparatus according to claim 10, wherein the step of calculating the water level elevation of the water receiving container for each of the time periods specifically comprises:

acquiring the water level of the water receiving container at the starting time and the ending time of any time period;

and calculating the water level difference value between the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in the time period.

13. The control method of a drinking apparatus as set forth in claim 10, further comprising:

when the shape of the water receiving container corresponding to the cross sectional areas does not exist, acquiring the height of the water receiving container and the water level of the water receiving container;

calculating the difference between the height of the water receiving container and the water level of the water receiving container;

and when the difference between the height of the water receiving container and the water level of the water receiving container is judged to be smaller than a preset threshold value, controlling the water drinking equipment to stop water outlet.

14. The method for controlling a water dispenser device according to claim 13, further comprising, after the controlling the water dispenser device to stop discharging water:

acquiring the water outlet duration of the drinking equipment and/or the water outlet quantity of the drinking equipment;

and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the drinking equipment and/or the water outlet quantity of the drinking equipment.

15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of controlling a water drinking device according to any one of claims 10 to 14.

Technical Field

The invention relates to the technical field of water dispensers, in particular to a water dispenser, a water dispenser system, a control method of the water dispenser and a computer readable storage medium.

Background

At present, more and more water dispensers have the function of automatically stopping water in order to improve the user experience of the water dispensers. In the related art, whether water is cut off or not is judged by detecting the water level of the cup and the height of the cup, but the method needs to continuously detect the water level of the cup and continuously judge to avoid water overflowing the cup, so that the service life of a sensor is shortened, and processor resources are greatly occupied.

Disclosure of Invention

The present invention is directed to solving at least one of the problems of the prior art or the related art.

To this end, one aspect of the present invention is to propose a drinking device.

Another aspect of the present invention is to provide a hydration system.

Yet another aspect of the present invention is to provide a control method of a drinking water apparatus.

Yet another aspect of the present invention is to provide a computer-readable storage medium.

In view of the above, according to one aspect of the present invention, there is provided a drinking water apparatus including: a water storage device; a storage device in which a computer program is stored; a control device that, when executing the computer program, realizes: controlling the water storage device to discharge water into the water receiving container; in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the water storage device in each time period in a plurality of time periods; calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device in each time period; and acquiring target water yield or target water yield duration according to the plurality of cross sectional areas, and controlling the water storage device to discharge water according to the target water yield or the target water yield duration.

In the technical scheme, in the process that the water storage device discharges water into the water receiving container, the water level rising height of the water receiving container in each time period in a plurality of time periods and the water discharge amount of the water storage device in each time period are calculated. And taking the water yield as the volume, obtaining a cross sectional area of the water receiving container by utilizing the ratio of the volume to the rising height of the water level, wherein each time period corresponds to one cross sectional area, and thus, a plurality of cross sectional areas are obtained. Further, target water output or target water output duration corresponding to the cross-sectional areas is obtained, and therefore water output of the water storage device is controlled. By the technical scheme, whether the water level of the water receiving container reaches the height of the water receiving container or not is avoided being continuously detected, the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container, so that the water output of the water storage device is automatically controlled, the quantitative and personalized water output control of the water receiving container is realized, and the overflow condition of the water receiving container is avoided while the manual control of a user is not needed.

The drinking water device according to the invention can also have the following technical characteristics:

in the above technical solution, the control device executing the step of obtaining the target water output or the target water output duration according to the plurality of cross-sectional areas specifically includes: inquiring whether the shapes of the water receiving containers corresponding to the cross sectional areas exist or not; and when the shapes of the water receiving containers corresponding to the cross sectional areas are judged to exist, acquiring the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container, and taking the volume of the pre-storage container as the target water yield or the water receiving duration of the pre-storage container as the target water outlet duration.

In the technical scheme, the shape of the water receiving container at the stage is drawn according to a plurality of cross sectional areas, the shape of the water receiving container at the stage is compared with all pre-stored existing shapes (the overall shape of the water receiving container), whether a matched existing shape exists or not is determined, and if the matched existing shape exists, the shape of the water receiving container corresponding to the cross sectional areas exists. And then obtaining the volume of the pre-storage container of the water receiving container or the water receiving time of the pre-storage container (namely the time for the water receiving container to be filled with water) corresponding to the shape of the water receiving container, for example, the volume of the pre-storage container is 500 ml or the water receiving time of the pre-storage container is 15 seconds, and performing water outlet control on the water storage device by taking the volume of the pre-storage container as a target water outlet amount or taking the water receiving time of the pre-storage container as a target water outlet time. The shape of the water receiving container can be accurately predicted according to the cross sectional area, so that quantitative and personalized water outlet control of the water receiving container is realized according to the shape.

In any of the above technical solutions, the method further includes: the flow detection device is connected with the control device and is configured to detect the water outlet flow of the water storage device and send the water outlet flow of the water storage device to the control device; and the ultrasonic detection device is connected with the control device and is configured to detect the height of the water receiving container and the water level of the water receiving container and send the height of the water receiving container and the water level of the water receiving container to the control device.

In the technical scheme, the drinking water equipment comprises a flow detection device and an ultrasonic detection device, wherein the flow detection device is used for detecting the water outlet flow of the water storage device, and the ultrasonic detection device is used for detecting the height of the water receiving container and the water level of the water receiving container. The control device acquires the water outlet flow of the water storage device, the height of the water receiving container and the water level of the water receiving container, so that the accurate control of the water outlet condition of the water storage device is realized on the basis of the information.

In any of the above technical solutions, the method further includes: and the water outlet pipeline is connected with the water storage device and is provided with a flow detection device.

In the technical scheme, the drinking water equipment is provided with a water outlet pipeline, and the water outlet pipeline is connected with the water storage device to output water of the water storage device. The flow detection device is arranged on the water outlet pipeline and used for detecting the water flow, so that the control device calculates the water outlet quantity of the water storage device according to the water outlet flow.

In any one of the above technical solutions, an ultrasonic detection apparatus includes: the ultrasonic transmitting circuit is connected with the control device and is configured to receive a control instruction of the control device and send out transmitting ultrasonic waves; the ultrasonic receiving circuit is configured to receive reflected ultrasonic waves correspondingly reflected by the water receiving container; and the detection circuit is connected with the ultrasonic wave transmitting circuit and the ultrasonic wave receiving circuit, and is configured to acquire the height of the water receiving container and the water level of the water receiving container according to the ultrasonic wave propagation speed and the interval time of transmitting ultrasonic waves and reflecting the ultrasonic waves.

In the technical scheme, the ultrasonic detection device sends out ultrasonic waves through the ultrasonic transmitting circuit before the water storage device discharges water, and correspondingly receives the ultrasonic waves reflected by the water receiving container (such as an opening of the water receiving container) through the ultrasonic receiving circuit, so that the height of the water receiving container is detected according to the interval time of sending and receiving the ultrasonic waves and the ultrasonic wave propagation speed. The ultrasonic transmitting circuit sends ultrasonic waves in the water outlet process of the water storage device, and correspondingly receives the ultrasonic waves reflected by the water surface in the water receiving container through the ultrasonic receiving circuit, so that the water level of the water receiving container is detected according to the interval time of sending and receiving the ultrasonic waves and the ultrasonic wave propagation speed.

In any of the above technical solutions, the control device performs calculation of the water yield of the water storage device in each time period, and specifically includes: and calculating the water yield of the water storage device in each time period according to the water yield of the water storage device.

In the technical scheme, the water outlet quantity of the water storage device in the time period is obtained according to the product of the water outlet flow quantity of the water storage device and the time length of the time period.

It should be noted that the water yield of the water storage device in any time period may be the same as or different from the water yields of the water storage devices in other time periods, and the duration of any time period may be the same as or different from the duration of other time periods.

In any one of the above technical solutions, the calculating, by the control device, the water level rise height of the water receiving container in each time period specifically includes: acquiring the water level of the water receiving container at the starting moment and the ending moment of any time period; and calculating the water level difference value of the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in a time period.

In the technical scheme, the water level difference value between the water level at the ending time and the water level at the starting time of any time period is used as the water level rising height of the water receiving container in the time period, and the water level at the ending time and the water level at the starting time are both obtained by the ultrasonic detection device.

In any of the above aspects, the control device executing the computer program further realizes: when the shape of the water receiving container corresponding to the cross sectional areas does not exist, calculating the difference value between the height of the water receiving container and the water level of the water receiving container; and controlling the water storage device to stop water outlet when the difference between the height of the water receiving container and the water level of the water receiving container is smaller than a preset threshold value.

In the technical scheme, when the shapes of the water receiving containers corresponding to the cross sectional areas are not inquired, the fact that the water receiving containers may receive water on the water drinking equipment for the first time is indicated, the water output or the water output duration of the water storage device to the water receiving containers cannot be controlled according to stored data, and in order to avoid water overflow of the water receiving containers, the water storage device can be controlled to stop water output by judging whether the water level of the water receiving containers is close to the height of the water receiving containers or not.

In any of the above aspects, the control device executing the computer program further realizes: after the water storage device is controlled to stop water outlet, acquiring the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device; and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device.

In the technical scheme, under the condition that the shape of the water receiving container corresponding to a plurality of cross sectional areas is not available, when the water storage device is controlled to stop water outlet, namely after the water receiving container finishes water receiving, the water outlet quantity of the water storage device for receiving water by the water receiving container at this time is used as the volume of the pre-storage container of the water receiving container, and/or the water outlet time of the water storage device is used as the water receiving time of the pre-storage container of the water receiving container and is stored corresponding to the cross sectional areas of the water receiving container, so that the water outlet of the water storage device can be automatically controlled through stored data when the water receiving container receives water at the next time.

According to another aspect of the present invention, there is provided a drinking water system comprising: a water receiving container; the drinking water equipment of any technical scheme.

In the technical scheme, in the process that the drinking water equipment discharges water into the water receiving container, the water level rising height of the water receiving container in each time period in a plurality of time periods and the water discharge amount of the water storage device in each time period are calculated, so that the cross sectional area of the water receiving container corresponding to each time period is calculated. Further, target water output or target water output duration corresponding to the cross-sectional areas is obtained, and therefore water output of the water storage device is controlled. By the technical scheme, whether the water level of the water receiving container reaches the height of the water receiving container or not is avoided being continuously detected, the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container, so that the water output of the water storage device is automatically controlled, the quantitative and personalized water output control of the water receiving container is realized, and the overflow condition of the water receiving container is avoided while the manual control of a user is not needed.

According to still another aspect of the present invention, there is provided a control method of a drinking water apparatus, including: controlling the water drinking equipment to discharge water into the water receiving container; in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the drinking equipment in each time period; calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water drinking equipment in each time period; and acquiring target water yield or target water yield duration according to the plurality of cross-sectional areas, and controlling the water outlet of the drinking equipment according to the target water yield or the target water yield duration.

In the technical scheme, in the process that the drinking water equipment discharges water into the water receiving container, the water level rising height of the water receiving container in each time period in a plurality of time periods and the water discharge amount of the drinking water equipment in each time period are calculated. And taking the water yield as the volume, obtaining a cross sectional area of the water receiving container by utilizing the ratio of the volume to the rising height of the water level, wherein each time period corresponds to one cross sectional area, and thus, a plurality of cross sectional areas are obtained. Further, target water output or target water output duration corresponding to the cross-sectional areas is obtained, and therefore water output of the water drinking equipment is controlled. By the technical scheme, whether the water level of the water receiving container reaches the height of the water receiving container or not is avoided being continuously detected, the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container, water output of the water drinking equipment is automatically controlled, quantitative and personalized water output control for the water receiving container is achieved, and water overflow of the water receiving container is avoided while manual control of a user is not needed.

The control method of the drinking equipment provided by the invention can also have the following technical characteristics:

in the above technical solution, the step of obtaining the target water output or the target water output duration according to the plurality of cross-sectional areas specifically includes: inquiring whether the shapes of the water receiving containers corresponding to the cross sectional areas exist or not; and when the shapes of the water receiving containers corresponding to the cross sectional areas are judged to exist, acquiring the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container, and taking the volume of the pre-storage container as the target water yield or the water receiving duration of the pre-storage container as the target water outlet duration.

In the technical scheme, the shape of the water receiving container at the stage is drawn according to a plurality of cross sectional areas, the shape of the water receiving container at the stage is compared with all pre-stored existing shapes (the overall shape of the water receiving container), whether a matched existing shape exists or not is determined, and if the matched existing shape exists, the shape of the water receiving container corresponding to the cross sectional areas exists. And then obtaining the volume of the pre-storage container of the water receiving container corresponding to the shape of the water receiving container or the water receiving time of the pre-storage container (namely the time for the water receiving container to be filled with water), for example, the volume of the pre-storage container is 500 ml or the water receiving time of the pre-storage container is 15 seconds, and performing water outlet control on the water drinking equipment by taking the volume of the pre-storage container as a target water outlet amount or taking the water receiving time of the pre-storage container as a target water outlet time. The shape of the water receiving container can be accurately predicted according to the cross sectional area, so that quantitative and personalized water outlet control of the water receiving container is realized according to the shape.

In any of the above technical solutions, the step of calculating the water output of the drinking water device in each time period specifically includes: and acquiring the water outlet flow of the drinking equipment, and calculating the water outlet amount of the drinking equipment in each time period according to the water outlet flow of the drinking equipment.

In the technical scheme, the water outlet amount of the drinking equipment in the time period is obtained according to the product of the water outlet flow of the drinking equipment and the time length of the time period.

It should be noted that the water output of the drinking device in any time period may be the same as or different from the water output of the drinking device in other time periods, and the duration of any time period may be the same as or different from the duration of other time periods.

In any one of the above technical solutions, the step of calculating the water level elevation height of the water receiving container in each time period specifically includes: acquiring the water level of the water receiving container at the starting moment and the ending moment of any time period; and calculating the water level difference value of the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in a time period.

In the technical scheme, the water level difference value between the water level at the ending time and the water level at the starting time of any time period is used as the water level rising height of the water receiving container in the time period, and the water level at the ending time and the water level at the starting time are both obtained by the ultrasonic detection device.

In any of the above technical solutions, the method further includes: when the shape of the water receiving container corresponding to the cross sectional areas does not exist, acquiring the height of the water receiving container and the water level of the water receiving container; calculating the difference between the height of the water receiving container and the water level of the water receiving container; and when the difference between the height of the water receiving container and the water level of the water receiving container is smaller than a preset threshold value, controlling the water drinking equipment to stop water outlet.

In the technical scheme, when the shapes of the water receiving containers corresponding to the cross sectional areas are not inquired, the fact that the water receiving containers can receive water on the water receiving equipment for the first time is shown, the water output or the water output duration of the water receiving container from the water receiving equipment cannot be controlled according to stored data, and in order to avoid water overflow of the water receiving containers, the water receiving equipment can be controlled to stop water output by judging whether the water level of the water receiving containers is close to the height of the water receiving containers or not.

In any one of the above technical solutions, after controlling the drinking water device to stop discharging water, the method further includes: acquiring the water outlet duration of the water drinking equipment and/or the water outlet quantity of the water drinking equipment; and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the drinking equipment and/or the water outlet quantity of the drinking equipment.

In the technical scheme, under the condition that the shape of the water receiving container corresponding to the cross sectional areas is not available, when the water drinking equipment is controlled to stop water outlet, namely after the water receiving container finishes water receiving, the water outlet quantity of the water drinking equipment for receiving water by the water receiving container at this time is used as the volume of the pre-storage container of the water receiving container, and/or the water outlet time of the water drinking equipment is used as the water receiving time of the pre-storage container of the water receiving container and is stored corresponding to the cross sectional areas of the water receiving container, so that the water outlet of the water drinking equipment can be automatically controlled through stored data when the water receiving container receives water at the next time.

According to a further aspect of the present invention, a computer-readable storage medium is proposed, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the method of controlling a water drinking apparatus according to any of the above-mentioned claims.

The computer readable storage medium provided by the present invention, when being executed by a processor, implements the steps of the control method of the drinking water equipment according to any one of the above technical solutions, and therefore, the computer readable storage medium includes all the beneficial effects of the control method of the drinking water equipment according to any one of the above technical solutions.

Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

Drawings

The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 shows a schematic block diagram of a water fountain according to a first embodiment of the present invention;

FIG. 2 shows a schematic block diagram of a drinking device according to a second embodiment of the present invention;

FIG. 3 shows a schematic construction of a drinking device according to a third embodiment of the present invention;

FIG. 4 shows a schematic block diagram of a hydration system in accordance with a first embodiment of the present invention;

FIG. 5 is a flow chart illustrating a control method of the drinking water apparatus according to the first embodiment of the present invention;

FIG. 6 is a flow chart illustrating a control method of a drinking water apparatus according to a second embodiment of the present invention;

FIG. 7 is a flow chart illustrating a control method of a drinking water apparatus according to a third embodiment of the present invention;

fig. 8 shows a flow chart of a control method of a drinking water device according to a fourth embodiment of the present invention.

Detailed Description

In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict.

In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.

In an embodiment of the first aspect of the present invention, a drinking device is proposed, and fig. 1 shows a schematic block diagram of a drinking device 100 of the first embodiment of the present invention. Wherein, this drinking water equipment 100 includes:

a water storage device 102;

a storage device 104, the storage device 104 storing a computer program;

a control device 106, the control device 106 implementing, when executing the computer program: controlling the water storage device 102 to discharge water into the water receiving container; in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the water storage device 102 in each time period in a plurality of time periods; calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device 102 in each time period; and acquiring a target water yield or a target water yield duration according to the plurality of cross-sectional areas, and controlling the water storage device 102 to discharge water according to the target water yield or the target water yield duration.

For example, after the water discharge is started, 5 cross-sectional areas corresponding to 5 time periods are collected, a target water discharge amount or a target water discharge duration corresponding to the 5 cross-sectional areas is inquired in the storage device 104, and the water discharge of the water storage device is controlled according to the target water discharge amount or the target water discharge duration. The plurality of cross-sectional areas can reflect the shape trend of the water receiving container, for example, the plurality of cross-sectional areas are sequentially reduced, the water receiving container can be determined to be gradually thinned from thick, and the plurality of cross-sectional areas are reversely and sequentially increased, the water receiving container can be determined to be gradually thickened from thin.

It should be noted that the target water output or the target water output duration may refer to a total water output or a total water output duration of the water storage device. Controlling the water storage device 102 to discharge water according to the target water discharge or the target water discharge duration comprises: after the target water yield or the target water outlet duration is obtained, the current water outlet yield or the current water outlet duration of the water storage device 102 is calculated, the difference between the target water yield and the water outlet yield is calculated to obtain the water to be discharged, or the difference between the target water outlet duration and the water outlet duration is calculated to obtain the remaining water outlet duration, and then the water outlet of the water storage device is controlled according to the water to be discharged or the remaining water outlet duration.

By the embodiment of the invention, whether the water level of the water receiving container reaches the height of the water receiving container or not is avoided being continuously detected, and the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container, so that the water output of the water storage device 102 is automatically controlled, the quantitative and personalized water output control of the water receiving container is realized, and the overflow condition of the water receiving container is avoided without manual control of a user.

It should be noted that when the time periods are the time before the water level of the water receiving container approaches the height of the water receiving container, that is, the difference between the height of the water receiving container and the water level of the water receiving container is greater than the preset distance threshold, for example, the water level of the container is less than half of the height of the water receiving container, the target water output or the target water output duration may be obtained in advance.

In the above embodiment, the step of obtaining the target water output or the target water output duration according to the plurality of cross-sectional areas by the control device 106 specifically includes: inquiring whether the shapes of the water receiving containers corresponding to the cross sectional areas exist or not; and when the shapes of the water receiving containers corresponding to the cross sectional areas are judged to exist, acquiring the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container, and taking the volume of the pre-storage container as the target water yield or the water receiving duration of the pre-storage container as the target water outlet duration. In this embodiment, the shape of the water receiving container at this stage is drawn according to the plurality of cross-sectional areas, and the shape of the water receiving container at this stage is compared with all the existing shapes (the overall shape of the water receiving container) stored in advance to determine whether there is a matching existing shape, if so, the shape of the water receiving container corresponding to the plurality of cross-sectional areas exists. And then obtaining the volume of the pre-storage container of the water receiving container or the water receiving time of the pre-storage container (namely the time for the water receiving container to be filled with water) corresponding to the shape of the water receiving container, for example, the volume of the pre-storage container is 500 ml or the water receiving time of the pre-storage container is 15 seconds, and performing water outlet control on the water storage device by taking the volume of the pre-storage container as a target water outlet amount or taking the water receiving time of the pre-storage container as a target water outlet time. The shape of the water receiving container can be accurately predicted according to the cross sectional area, so that quantitative and personalized water outlet control of the water receiving container is realized according to the shape.

The control device 106 stores the entire cross-sectional area of the water receiving container in advance, and determines the shape of the water receiving container based on the entire cross-sectional area. The cross-sectional area calculation method is that the cross-sectional area of the water receiving container corresponding to each time period is calculated according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device in each time period.

In some embodiments, the obtaining of the target water output or the target water output duration according to the plurality of cross-sectional areas by the control device 106 specifically includes: predicting the shape of the water receiving container according to the plurality of cross sectional areas; inquiring whether the volume of a pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container exists or not; and judging whether the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving time of the pre-storage container exists, and taking the volume of the pre-storage container as the target water yield or taking the water receiving time of the pre-storage container as the target water outlet time.

Fig. 2 shows a schematic block diagram of a drinking device 200 according to a second embodiment of the present invention. Wherein, this drinking water equipment 200 includes:

a water storage device 202;

the flow detection device 204 is connected with the control device 210, and the flow detection device 204 is configured to detect the water outlet flow of the water storage device 202 and send the water outlet flow of the water storage device 202 to the control device 210;

the ultrasonic detection device 206 is connected with the control device 210, and the ultrasonic detection device 206 is configured to detect the water level of the water receiving container and send the water level of the water receiving container to the control device 210;

a storage device 208, the storage device 208 storing a computer program;

a control device 210, the control device 210 implementing, when executing the computer program: controlling the water storage device 202 to discharge water into the water receiving container; during water outlet, calculating the water level rising height of the water receiving container in each time period according to the water level of the water receiving container detected by the ultrasonic detection device 206, and calculating the water outlet amount of the water storage device 202 in each time period according to the water outlet amount of the water storage device 202 detected by the flow detection device 204; calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device 202 in each time period; and acquiring a target water yield or a target water yield duration according to the plurality of cross-sectional areas, and controlling the water storage device 202 to discharge water according to the target water yield or the target water yield duration.

It should be noted that the water yield of the water storage device in any time period may be the same as or different from the water yields of the water storage devices in other time periods, and the duration of any time period may be the same as or different from the duration of other time periods.

In any of the above embodiments, the calculating, by the control device 210, the water level rising height of the water receiving container in each time period specifically includes: acquiring the water level of the water receiving container at the starting moment and the ending moment of any time period; and calculating the water level difference value of the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in a time period.

Fig. 3 shows a schematic structure of a drinking device according to a third embodiment of the present invention. Wherein, this drinking water equipment includes:

a water storage device 302;

a water outlet pipe 304, wherein the water outlet pipe 304 is connected with the water storage device 302;

a flow detection device 306, wherein the flow detection device 306 is disposed on the water outlet pipe 304, and the flow detection device 306 is configured to detect the outlet water flow of the water storage device 302;

an ultrasonic inspection apparatus, comprising: an ultrasonic wave transmitting circuit 3082 connected to the control device, the ultrasonic wave transmitting circuit 3082 being configured to receive a control command from the control device and to emit a transmitting ultrasonic wave; the ultrasonic receiving circuit 3084, the ultrasonic receiving circuit 3084 is configured to receive the reflected ultrasonic waves correspondingly reflected by the water receiving container; a detection circuit (not shown in the figure) connected with the ultrasonic wave transmitting circuit 3082 and the ultrasonic wave receiving circuit 3084, wherein the detection circuit is configured to acquire the water level of the water receiving container according to the propagation speed of the ultrasonic wave and the interval time between the transmission of the ultrasonic wave and the reflection of the ultrasonic wave;

a storage device (not shown in the figure) storing a computer program;

a control device (not shown in the figure) connected to the flow detection device 306, the ultrasonic detection device and the storage device, the control device obtaining the water flow of the water storage device 302 and the water level of the water receiving container, the control device implementing the following steps when executing the computer program: controlling the water storage device 302 to discharge water into the water receiving container; in the water outlet process, the water level rising height of the water receiving container in each time period is calculated according to the water level of the water receiving container detected by the ultrasonic detection device, and the water outlet quantity of the water storage device 302 in each time period is calculated according to the water outlet quantity of the water storage device 302 detected by the flow detection device 306; calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device 302 in each time period; and acquiring a target water yield or a target water yield duration according to the plurality of cross-sectional areas, and controlling the water storage device 302 to discharge water according to the target water yield or the target water yield duration.

In this embodiment, the drinking device is provided with a water outlet pipe 304, and the water outlet pipe 304 is connected with the water storage device 302 and outputs the water from the water storage device 302. The flow detection device 306 is disposed on the water outlet pipe 304 and is used for detecting the water flow, so that the control device calculates the water outlet amount of the water storage device 302 according to the water outlet flow.

In this embodiment, the ultrasonic detection device emits ultrasonic waves through the ultrasonic emission circuit 3082 before the water storage device 302 discharges water, and correspondingly receives ultrasonic waves reflected by the water receiving container (e.g., at the opening of the water receiving container) through the ultrasonic receiving circuit 3084, so as to detect the height of the water receiving container according to the interval time between the emission and the reception of the ultrasonic waves and the propagation speed of the ultrasonic waves. The ultrasonic wave emitting circuit 3082 emits ultrasonic waves in the water discharging process of the water storage device 302, and correspondingly receives the ultrasonic waves reflected by the water surface in the water receiving container through the ultrasonic wave receiving circuit 3084, so that the water level of the water receiving container is detected according to the interval time of emitting and receiving the ultrasonic waves and the propagation speed of the ultrasonic waves.

In the above embodiment, the step of obtaining the target water output or the target water output duration according to the plurality of cross-sectional areas by the control device specifically includes: inquiring whether the shapes of the water receiving containers corresponding to the cross sectional areas exist or not; and when the shapes of the water receiving containers corresponding to the cross sectional areas are judged to exist, acquiring the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container, and taking the volume of the pre-storage container as the target water yield or the water receiving duration of the pre-storage container as the target water outlet duration.

In this embodiment, the control device executing the computer program further realizes: when the shape of the water receiving container corresponding to the cross sectional areas does not exist, calculating the difference value between the height of the water receiving container and the water level of the water receiving container; and controlling the water storage device to stop water outlet when the difference between the height of the water receiving container and the water level of the water receiving container is smaller than a preset threshold value. In this embodiment, when the shapes of the water receiving containers corresponding to the plurality of cross-sectional areas are not found, it is indicated that the water receiving container may receive water on the water drinking device for the first time, and the water output or the water output duration from the water storage device to the water receiving container cannot be controlled according to the stored data.

In some embodiments, the obtaining of the target water output or the target water output duration according to the plurality of cross-sectional areas by the control device specifically includes: predicting the shape of the water receiving container according to the plurality of cross sectional areas; inquiring whether the volume of a pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container exists or not; and judging whether the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving time of the pre-storage container exists, and taking the volume of the pre-storage container as the target water yield or taking the water receiving time of the pre-storage container as the target water outlet time. The control device executing the computer program further realizes: calculating the difference between the height of the water receiving container and the water level of the water receiving container when the volume of the pre-stored container corresponding to the shape of the water receiving container or the water receiving time length of the pre-stored container does not exist; and controlling the water storage device to stop water outlet when the difference between the height of the water receiving container and the water level of the water receiving container is smaller than a preset threshold value.

In this embodiment, the control device executing the computer program further realizes: after the water storage device is controlled to stop water outlet, acquiring the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device; and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the water storage device and/or the water outlet quantity of the water storage device.

In this embodiment, when the water storage device is controlled to stop discharging water, that is, after the water receiving container receives water, the water discharge amount of the water storage device receiving water from the water receiving container at this time is used as the volume of the pre-storage container of the water receiving container, and/or the water discharge duration of the water storage device is used as the water receiving duration of the pre-storage container of the water receiving container, and is stored corresponding to the plurality of cross-sectional areas of the water receiving container, so that the water discharge of the water storage device can be automatically controlled through the stored data when the water receiving container receives water next time.

In a second aspect of the present invention, a drinking water system is provided, and fig. 4 shows a schematic block diagram of a drinking water system 400 according to a first embodiment of the present invention. Wherein, this drinking water system 400 includes:

a water receiving container 402;

the hydration device 404 according to any of the embodiments described above.

In this embodiment, during the process of discharging water from the drinking device 404 into the water receiving container 402, the water level rising height of the water receiving container 402 in each of the multiple time periods and the water discharge amount of the water storage device in each time period are calculated, so as to calculate the cross-sectional area of the water receiving container 402 corresponding to each time period. Further, target water output or target water output duration corresponding to the cross-sectional areas is obtained, and therefore water output of the water storage device is controlled. Through the embodiment of the invention, whether the water level of the water receiving container 402 reaches the height of the water receiving container 402 is avoided being continuously detected, and the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container 402, so that the water output of the water storage device is automatically controlled, the quantitative and personalized water output control of the water receiving container 402 is realized, and the overflow condition of the water receiving container 402 is avoided while the manual control of a user is not needed.

In a third aspect of the present invention, a control method of a drinking water apparatus is provided, and fig. 5 is a flow chart illustrating the control method of the drinking water apparatus according to the first embodiment of the present invention. Wherein, the control method of the drinking equipment comprises the following steps:

step 502, controlling the water drinking equipment to discharge water into the water receiving container;

step 504, in the water outlet process, calculating the water level rising height of the water receiving container in each time period in a plurality of time periods and the water outlet amount of the drinking water equipment in each time period;

step 506, calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the drinking equipment in each time period;

and step 508, acquiring a target water yield or a target water yield duration according to the plurality of cross-sectional areas, and controlling the water outlet of the water drinking equipment according to the target water yield or the target water yield duration.

For example, after water discharge is started, 5 cross-sectional areas corresponding to 5 time periods are collected, a target water discharge amount or a target water discharge duration corresponding to the 5 cross-sectional areas is inquired in the storage device, and water discharge of the water storage device is controlled according to the target water discharge amount or the target water discharge duration. The plurality of cross-sectional areas can reflect the shape trend of the water receiving container, for example, the plurality of cross-sectional areas are sequentially reduced, the water receiving container can be determined to be gradually thinned from thick, and the plurality of cross-sectional areas are reversely and sequentially increased, the water receiving container can be determined to be gradually thickened from thin.

It should be noted that the target water output or the target water output duration may refer to a total water output or a total water output duration of the water storage device. Controlling the water storage device to discharge water according to the target water discharge or the target water discharge duration, comprising: after the target water yield or the target water outlet duration is obtained, the current water outlet yield or the current water outlet duration of the water storage device is calculated, the difference value between the target water yield and the water outlet yield is calculated to obtain the water to be discharged, or the difference value between the target water outlet duration and the water outlet duration is calculated to obtain the remaining water outlet duration, and then the water outlet of the water storage device is controlled according to the water to be discharged or the remaining water outlet duration.

By the embodiment of the invention, whether the water level of the water receiving container reaches the height of the water receiving container or not is avoided being continuously detected, and the target water output or the target water output duration can be obtained in advance according to the form parameters (cross sectional area) of the water receiving container, so that the water output of the water drinking equipment is automatically controlled, the quantitative and personalized water output control of the water receiving container is realized, and the overflow condition of the water receiving container is avoided without manual control of a user.

It should be noted that when the time periods are the time before the water level of the water receiving container approaches the height of the water receiving container, that is, the difference between the height of the water receiving container and the water level of the water receiving container is greater than the preset distance threshold, for example, the water level of the container is less than half of the height of the water receiving container, the target water output or the target water output duration may be obtained in advance.

Fig. 6 shows a flow chart of a control method of a drinking water device according to a second embodiment of the present invention. Wherein, the control method of the drinking equipment comprises the following steps:

step 602, controlling the water drinking device to discharge water into the water receiving container;

step 604, in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the drinking water equipment in each time period in a plurality of time periods;

step 606, calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container of each time period and the water yield of the drinking equipment of each time period;

step 608, predicting the shape of the water receiving container according to the plurality of cross sectional areas;

step 610, inquiring whether the volume or the water receiving time length of a pre-stored container corresponding to the shape of the water receiving container exists, and entering step 612 if the volume or the water receiving time length of the pre-stored container corresponding to the shape of the water receiving container exists, or ending;

step 612, taking the capacity of the pre-storage container as a target water yield or taking the water receiving time of the pre-storage container as a target water outlet time;

and 614, controlling the water outlet of the water drinking equipment according to the target water outlet amount or the target water outlet duration.

In this embodiment, the shape of the water receiving container at this stage is drawn according to a plurality of cross-sectional areas, and the shape of the water receiving container is predicted by comparing the drawn shape with a pre-stored existing shape. And then obtaining the volume of the pre-storage container of the water receiving container corresponding to the shape of the water receiving container or the water receiving time of the pre-storage container (namely the time for the water receiving container to be filled with water), for example, the volume of the pre-storage container is 500 ml or the water receiving time of the pre-storage container is 15 seconds, and performing water outlet control on the water drinking equipment by taking the volume of the pre-storage container as a target water outlet amount or taking the water receiving time of the pre-storage container as a target water outlet time. The shape of the water receiving container can be accurately predicted according to the cross sectional area, so that quantitative and personalized water outlet control of the water receiving container is realized according to the shape.

The entire cross-sectional area of the water receiving container is stored in advance, and the shape of the water receiving container is determined based on the entire cross-sectional area. The cross-sectional area calculation method is that the cross-sectional area of the water receiving container corresponding to each time period is calculated according to the water level rising height of the water receiving container in each time period and the water yield of the water storage device in each time period. And then can inquire the data of prestoring and compare when using to the shape of predicting the water receiving container according to a plurality of cross-sectional areas.

In any of the above embodiments, in step 606, the step of calculating the water output of the drinking water device in each time period specifically includes: and acquiring the water outlet flow of the drinking equipment, and calculating the water outlet amount of the drinking equipment in each time period according to the water outlet flow of the drinking equipment. It should be noted that the water output of the drinking device in any time period may be the same as or different from the water output of the drinking device in other time periods, and the duration of any time period may be the same as or different from the duration of other time periods.

In any of the above embodiments, in step 606, the step of calculating the water level elevation height of the water receiving container in each time period specifically includes: acquiring the water level of the water receiving container at the starting moment and the ending moment of any time period; and calculating the water level difference value of the water level at the ending moment and the water level at the starting moment, and taking the water level difference value as the water level rising height of the water receiving container in a time period. In this embodiment, the difference between the water level at the end time and the water level at the start time of any time period is taken as the water level rise height of the water receiving container in the time period, and both the water level at the end time and the water level at the start time are acquired by the ultrasonic detection device.

Fig. 7 shows a flow chart of a control method of a drinking water device according to a third embodiment of the present invention. Wherein, the control method of the drinking equipment comprises the following steps:

step 702, controlling the water drinking equipment to discharge water into the water receiving container;

step 704, in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the drinking water equipment in each time period;

step 706, calculating the cross-sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the drinking water equipment in each time period;

step 708, predicting the shape of the water receiving container according to the plurality of cross sectional areas;

step 710, inquiring whether the volume or the water receiving time length of a pre-stored container corresponding to the shape of the water receiving container exists, and entering step 712 if the volume or the water receiving time length of the pre-stored container corresponding to the shape of the water receiving container exists, or entering step 716 if the volume or the water receiving time length of the pre-stored container corresponding to the shape of the water receiving container exists;

step 712, using the volume of the pre-storage container as the target water output or using the water receiving time of the pre-storage container as the target water output time;

step 714, controlling the water outlet of the water drinking equipment according to the target water outlet amount or the target water outlet duration;

and 716, acquiring the height of the water receiving container and the water level of the water receiving container, calculating the difference between the height of the water receiving container and the water level of the water receiving container, and controlling the water drinking equipment to stop water outlet when the difference between the height of the water receiving container and the water level of the water receiving container is smaller than a preset threshold value.

In this embodiment, when the volume of the pre-storage container corresponding to the shape of the water receiving container or the water receiving duration of the pre-storage container is not found, it indicates that the water receiving container may receive water on the water dispenser for the first time, and the water output or the water output duration of the water dispenser to the water receiving container cannot be controlled according to the stored data.

In any of the above embodiments, in step 716, after controlling the drinking water apparatus to stop discharging water, the method further includes: acquiring the water outlet duration of the water drinking equipment and/or the water outlet quantity of the water drinking equipment; and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the drinking equipment and/or the water outlet quantity of the drinking equipment.

In this embodiment, when there is no volume of the pre-storage container corresponding to the shape of the water receiving container or the length of time for receiving water in the pre-storage container, when the water dispenser is controlled to stop water discharge, that is, after the water receiving container is finished, the water discharge amount of the water dispenser for receiving water by the water receiving container this time is used as the volume of the pre-storage container of the water receiving container, and/or the length of time for discharging water by the water dispenser is used as the length of time for receiving water by the pre-storage container of the water receiving container, and is stored corresponding to the plurality of cross-sectional areas of the water receiving container, so that the water discharge of the water dispenser can be automatically controlled by the stored data when the water receiving container receives water next time.

Fig. 8 shows a flow chart of a control method of a drinking water device according to a fourth embodiment of the present invention. Wherein, the control method of the drinking equipment comprises the following steps:

step 802, controlling the water drinking equipment to discharge water into the water receiving container;

step 804, in the water outlet process, calculating the water level rising height of the water receiving container in each time period and the water outlet amount of the drinking water equipment in each time period in a plurality of time periods;

806, calculating the cross sectional area of the water receiving container corresponding to each time period according to the water level rising height of the water receiving container in each time period and the water yield of the drinking equipment in each time period;

step 808, inquiring whether the shapes of the water receiving containers corresponding to the cross sectional areas exist or not, if so, entering step 810, and if not, entering step 814;

step 810, inquiring the volume of a pre-storage container or the water receiving time length of the pre-storage container corresponding to the shape of the water receiving container, and taking the volume of the pre-storage container as a target water yield or taking the water receiving time length of the pre-storage container as a target water outlet time length;

step 812, controlling the water outlet of the water drinking equipment according to the target water outlet amount or the target water outlet duration;

and 814, acquiring the height of the water receiving container and the water level of the water receiving container, calculating the difference between the height of the water receiving container and the water level of the water receiving container, and controlling the water drinking equipment to stop water outlet when the difference between the height of the water receiving container and the water level of the water receiving container is judged to be smaller than a preset threshold value.

In any of the above embodiments, in step 814, after controlling the water dispenser to stop discharging water, the method further includes: acquiring the water outlet duration of the water drinking equipment and/or the water outlet quantity of the water drinking equipment; and correspondingly storing the plurality of cross sectional areas and the water outlet duration of the drinking equipment and/or the water outlet quantity of the drinking equipment.

In a specific embodiment, the embodiment of the application is mainly based on an ultrasonic technology, and different water cup forms of different users are identified. The embodiment uses an ultrasonic reflection technology, the liquid level rising height is calculated within a fixed time, the cross-sectional area of the cup at the stage is calculated in a slicing mode by combining the volume of the discharged water, then the shape of the cup is drawn, and the trend of the cup is predicted through the existing shape. And according to the shape change trend, calculating the water stopping time, and accurately stopping water so as to improve the user experience.

The principle of identifying the shape of the cup in this embodiment is as follows:

(1) water drinking equipment installs flow sensor and ultrasonic sensor, and flow sensor can acquire the flow volume V in the unit interval T, and ultrasonic sensor can launch the ultrasonic wave that frequency is f, the sound velocity is V, and ultrasonic sensor can also receive the ultrasonic wave that reflects back through the liquid level.

(2) Before water is discharged, the height H of the water cup and the height L of the current liquid level relative to the bottom of the water cup can be measured by the ultrasonic sensor.

(3) After water is discharged, in a specified time T, the detected liquid level heights at two adjacent time points i and i +1 are respectively Li and Li + 1.

(4) The liquid level rise h can be calculated as Li +1-Li per unit time T.

(5) Within a reasonable unit time T, the water level rise can be approximately regarded as a standard cylinder, and according to the volume formula V ═ a × h, the cross-sectional area Ai of a certain time point i can be obtained.

(6) A0 and A1 … Ai in continuous time are stored, and the change trend of the water cup can be obtained along with the change trend of the cross-sectional area Ai at the time point i.

(7) When the liquid level reaches the height H of the water cup, water outlet is stopped, so that a plurality of complete cross-sectional area A values of one water cup can be obtained, and the cross-sectional area A values are stored (or uploaded to a cloud server). Continuously collecting shape parameters of different cups, continuously comparing the collected parameters with the existing parameters in the database when water is discharged every time, and fitting by using a least square method to finally distinguish the cups in different shapes.

The embodiment uses the ultrasonic technology to identify the shape of the water cup, so that the drinking equipment has certain learning capacity, and provides technical and data support for quantitative water outlet and personalized water outlet.

In an embodiment of the fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the control method of the water drinking apparatus according to any one of the above embodiments.

The present invention provides a computer readable storage medium, wherein when being executed by a processor, a computer program implements the steps of the control method of the drinking water equipment according to any one of the above embodiments, and therefore, the computer readable storage medium includes all the advantages of the control method of the drinking water equipment according to any one of the above embodiments.

In the description herein, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance unless explicitly stated or limited otherwise; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.

In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种茶吧机柜体及茶吧机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类