A kind of direct drinking fountain of automatic decision water yield
Technical field
The present invention relates to a kind of direct drinking fountain more particularly to a kind of direct drinking fountains of automatic decision water yield.
Background technology
Direct drinking fountain be it is a kind of water is purified, make it possible to the machinery equipment directly drunk.It is the one of appliance water
Kind, by multistage purification, tap water is enable to achieve the effect that directly to drink.At present this direct drinking is fitted in many cells
Machine greatly facilitates people’s lives.But the water outlet of current direct drinking fountain and cut off the water all by user's control, i.e., user is according to institute
The volume of the water receiving container of carrying determines when be discharged, and when cuts off the water.The degree of automation of this direct drinking fountain is not high enough, makes
It is not convenient enough to use.
Invention content
For above-mentioned technical problem, the present invention designed and developed it is a kind of can automatic decision water yield direct drinking fountain.
Technical solution provided by the invention is:
A kind of direct drinking fountain of automatic decision water yield, including:
Water receiving storehouse, in cubical shape, for being put into a water receiving container;
Outlet pipe is extended downwardly by the top in the water receiving storehouse along the central axis in the water receiving storehouse;
Flow sensor is arranged on the outlet pipe;
Solenoid valve is arranged on the outlet pipe;
First infrared distance sensor sets the top in the water receiving storehouse, close to the outlet pipe, and it is described first red
The light path of outer distance measuring sensor and the centerline axis parallel;
Second infrared distance sensor is arranged on the side wall in the water receiving storehouse, and second infrared distance sensor
Light path intersect with the central axis;
Data processing module, with the flow sensor, the solenoid valve, first infrared distance sensor and institute
State the communication connection of the second infrared distance sensor;First height in the water receiving storehouse is prerecorded in the data processing module
h1With the first width d1;
Wherein, the data processing module controls top of the first infrared distance sensor detection by the water receiving storehouse
To the first distance d of the roof of the water receiving container3, and the second infrared distance sensor detection is controlled by the water receiving storehouse
Side wall to the side wall of the water receiving container second distance d4;The data processing module using the first height subtract first away from
From d3Obtain the second height h of the water receiving container2, utilize the first width and the diameter of the second distance calculating water receiving container
d2, d2=d1-d4× 2, and assume that water receiving container for cylinder, utilizes the second height and the volume of diameter calculation water receiving container;Institute
Stating data processing module controls the solenoid valve to open, and is opened according to the data on flows and solenoid valve of the flow sensor
The water yield that is flowed out by the outlet pipe of time span calculating, when the water yield reaches the volume of the water receiving container, then institute
Stating data processing module controls the solenoid valve to close.
Preferably, in the direct drinking fountain of the automatic decision water yield, the bottom in the water receiving storehouse is facing
The position tool of central axis is stated there are one limiting pit, which is used to indicate the placement location of the water receiving container, with
The axis of the water receiving container is made to be overlapped with the central axis.
Preferably, in the direct drinking fountain of the automatic decision water yield, there are one red for setting in the limiting pit
Outer LED lamp tube, the infrared LED fluorescent tube continuously send out feux rouges under the power supply of battery.
Preferably, in the direct drinking fountain of the automatic decision water yield, the water receiving storehouse is provided in side and can open
The door closed.
Preferably, the direct drinking fountain of the automatic decision water yield, further includes:
Prompting device is communicated to connect with the data processing module;
The data processing module controls the prompting device to send out prompting letter after the volume for calculating the water receiving container
Number, the solenoid valve is controlled to open again later.
Preferably, in the direct drinking fountain of the automatic decision water yield, the prompting device is buzzer.
Water receiving container is presumed to cylinder by the direct drinking fountain of automatic decision water yield of the present invention first, utilizes
One infrared distance sensor detects water receiving the top of the warehouse to the first distance of the roof of water receiving container, is sensed using the second infrared distance measurement
Device detects the side wall in water receiving storehouse to the second distance of the side wall of water receiving container, and combines first height and the first width in water receiving storehouse
The second height and diameter of water receiving container are calculated, the volume of water receiving container is further calculated, according to the volume calculated, number
Reasonable time is opened according to processing module control solenoid valve, when water yield reaches volume, is opened and closed solenoid valve.The present invention realizes
The automatic calculating of the volume of water receiving container, and automatically control according to volume the water yield of supply.
Description of the drawings
Fig. 1 is the structure diagram in the water receiving storehouse of the direct drinking fountain of automatic decision water yield of the present invention.
Fig. 2 is the structure diagram of the direct drinking fountain of automatic decision water yield of the present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to enable those skilled in the art with reference to specification text
Word can be implemented according to this.
As depicted in figs. 1 and 2, the present invention provides a kind of direct drinking fountain of automatic decision water yield, including:Water receiving storehouse 1,
In cubical shape, for being put into a water receiving container 4;Outlet pipe 3 is connect by the top in the water receiving storehouse 1 along described
The central axis of sump extends downwardly;Flow sensor is arranged on the outlet pipe 3;Solenoid valve, be arranged on it is described go out
On water pipe 3;First infrared distance sensor 7, the top 9 in the setting water receiving storehouse, the close outlet pipe, and described first
The light path of infrared distance sensor and the centerline axis parallel;Second infrared distance sensor 8 is arranged on the water receiving storehouse
Side wall 10, and the light path of second infrared distance sensor intersects with the central axis;Data processing module, with institute
State flow sensor, the solenoid valve, first infrared distance sensor and the second infrared distance sensor communication link
It connects;The first height h in the water receiving storehouse is prerecorded in the data processing module1With the first width d1;Wherein, the number
First infrared distance sensor 7 is controlled to detect the top to the top of the water receiving container by the water receiving storehouse according to processing module
First distance d of wall 63, and second infrared distance sensor 8 is controlled to detect side wall by the water receiving storehouse to the water receiving
The second distance d of the side wall 5 of container4;The data processing module subtracts the first distance d using the first height3Obtain the water receiving
Second height h of container2, utilize the first width and the diameter d of the second distance calculating water receiving container2, d2=d1-d4× 2, and
It is assumed that water receiving container 4 is cylinder, the second height and the volume of diameter calculation water receiving container are utilized;The data processing module control
The solenoid valve is made to open, and according to the time span that the data on flows and solenoid valve of the flow sensor are opened calculate by
The water yield of outlet pipe outflow, when the water yield reaches the volume of the water receiving container, then the data processing module control
The solenoid valve is made to close.
The first distance of the invention using the first infrared distance sensor measurement water receiving the top of the warehouse to the roof of water receiving container,
The second infrared distance sensor is recycled to measure water receiving storehouse side wall to the second distance of the side wall of water receiving container, later with reference to water receiving
First height and the first width in storehouse, it is possible to calculate the second height and diameter of water receiving container.Due to the second infrared distance measurement
The light path of sensor intersects with central axis, that is to say, that the second infrared distance sensor can measure the side in water receiving storehouse substantially
Wall is to the distance of water receiving container width maximum position.The water receiving container of any shape is all presumed to cylinder by the present invention, and
The volume of water receiving container is calculated on the basis of the hypothesis.Based on this it is assumed that the volume of water receiving container can be estimated relatively accurately.
For example, if water receiving container is really a cube, and while calculating is that water receiving container is assumed to cylinder, that should
Cylinder the maximum cylinder tangent with above-mentioned cube, practical water yield can just should be omited than the actual volume of water receiving container
It is small.The present invention still can substantially full water receiving container.
Preferably, in the direct drinking fountain of the automatic decision water yield, the bottom in the water receiving storehouse is facing
The position tool of central axis is stated there are one limiting pit, which is used to indicate the placement location of the water receiving container, with
The axis of the water receiving container is made to be overlapped with the central axis.Based on the design, user is being put into water receiving appearance into water receiving storehouse
During device, water receiving container can be aligned in the position specified according to the instruction of limiting pit, to improve the precision for detecting and calculating.
But it is no limiting pit when, the vessel port of water receiving container also has to be aligned with the water outlet of outlet pipe, otherwise cannot water receiving,
Therefore in this case, the axis of water receiving container is also overlapped with central axis substantially.But when there is limiting pit, dock the water capacity
The positioning of device can be easier.
Preferably, in the direct drinking fountain of the automatic decision water yield, there are one red for setting in the limiting pit
Outer LED lamp tube, the infrared LED fluorescent tube continuously send out feux rouges under the power supply of battery.Infrared LED fluorescent tube can provide apparent
Instruction, make user be easier the axis of water receiving container is aligned with central axis, so as to make detection and result of calculation more accurate.
Preferably, in order to reduce deposition of the dust in water receiving storehouse, the direct drinking fountain of the automatic decision water yield
In, the water receiving storehouse is provided with door 2 able to turn on or off in side, and after water receiving container is put into water receiving storehouse, user should be by door
It closes.
Preferably, the direct drinking fountain of the automatic decision water yield, further includes:At prompting device, with the data
Manage module communication connection;The data processing module controls the prompting device to send out after the volume for calculating the water receiving container
Go out standby signal, the solenoid valve is controlled to open again later.Based on the embodiment, after the completion of calculating, standby signal is sent out, with
User's outlet pipe is reminded to start water outlet, user is avoided arbitrarily to move water receiving container at this moment.
Preferably, in the direct drinking fountain of the automatic decision water yield, the prompting device is buzzer.
Although the embodiments of the present invention have been disclosed as above, but its be not restricted in specification and embodiment it is listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, it is of the invention and unlimited
In specific details and legend shown and described herein.