A kind of direct drinking fountain of automatic decision water yield
Technical field
The present invention relates to a kind of direct drinking fountain, relate in particular to a kind of direct drinking fountain of automatic decision water yield.
Background technology
Direct drinking fountain is that one purifies water, makes it the machinery equipment that can directly drink. It is waterThe one of household electrical appliances, by multistage purification, makes running water can reach the effect of straight drink. At present much littleDistrict is all provided with this direct drinking fountain, is very easy to people's life. But going out of direct drinking fountain at presentWater is all controlled by user with cutting off the water, and user decides when to go out according to the volume of entrained water receiving containerWhen water, cut off the water. The automaticity of this direct drinking fountain is not high enough, convenient not in use.
Summary of the invention
For above-mentioned technical problem, the present invention has designed and developed a kind of direct drinking that can automatic decision water yieldMachine.
Technical scheme provided by the invention is:
A direct drinking fountain for automatic decision water yield, comprising:
Water receiving storehouse, it is cubical shape, for putting into a water receiving container;
Outlet pipe, its top by described water receiving storehouse is along the central axis in described water receiving storehouse to downward-extension;
Flow sensor, it is arranged on described outlet pipe;
Magnetic valve, it is arranged on described outlet pipe;
The first infrared distance sensor, it arranges the top in described water receiving storehouse, near described outlet pipe, andThe light path of described the first infrared distance sensor is parallel with described central axis;
The second infrared distance sensor, it is arranged on the sidewall in described water receiving storehouse, and described the second infrared surveyLight path apart from sensor is crossing with described central axis;
Data processing module, itself and described flow sensor, described magnetic valve, described the first infrared distance measurementSensor and described the second infrared distance sensor communication connection; Pre-recorded in described data processing moduleThere is the first height h in described water receiving storehouse1With the first width d1;
Wherein, described in described data processing module control, the first infrared distance sensor detects by described water receivingThe top in storehouse to the roof of described water receiving container first apart from d3, and control described the second infrared distance measurement biographySensor detects the second distance d to the sidewall of described water receiving container by the sidewall in described water receiving storehouse4; Described numberUtilize first highly to deduct first apart from d according to processing module3Draw the second height h of described water receiving container2,Utilize the first width and second distance to calculate the diameter d of described water receiving container2,d2=d1-d4× 2, and suppositionWater receiving container is cylinder, utilizes the second height and diameter to calculate the volume of water receiving container; Described data placeDescribed in reason module controls, magnetic valve is opened, and according to the data on flows of described flow sensor and magnetic valveThe time span of opening is calculated the water yield being flowed out by described outlet pipe, when this water yield reaches described water receivingThe volume of container, closed electromagnetic valve described in described data processing module control.
Preferably, in the direct drinking fountain of described automatic decision water yield, the bottom in described water receiving storehouse existsThe position that faces described central axis has a spacing pit, described in this spacing pit is used to indicate, connectsThe placement location of water receptacle, so that the axis of described water receiving container and described central axes.
Preferably, in the direct drinking fountain of described automatic decision water yield, in described spacing pit, arrangeHave an infrared LED fluorescent tube, described infrared LED fluorescent tube continues to send ruddiness under the power supply of battery.
Preferably, in the direct drinking fountain of described automatic decision water yield, establish in a side in described water receiving storehouseBe equipped with able to turn on or off door.
Preferably, the direct drinking fountain of described automatic decision water yield, also comprises:
Prompting device, itself and described data processing module communicate to connect;
Described data processing module is calculating after the volume of described water receiving container, controls described prompting device and sends outGo out cue, control again afterwards described magnetic valve and open.
Preferably, in the direct drinking fountain of described automatic decision water yield, described prompting device is buzzer.
First the direct drinking fountain of automatic decision water yield of the present invention is presumed to cylinder by water receiving containerBody, utilizes the first infrared distance sensor to detect first distance of top, water receiving storehouse to the roof of water receiving container,Utilize the second infrared distance sensor to detect the sidewall in water receiving storehouse to the second distance of the sidewall of water receiving container,And in conjunction with first height in water receiving storehouse and the first width gauge calculate water receiving container second highly and diameter, enterOne step calculates the volume of water receiving container, according to the volume calculating, and data processing module control magnetic valveOpen reasonable time, in the time that water yield reaches volume, open and close magnetic valve. The present invention has realized water receiving appearanceThe automatic calculating of the volume of device, and automatically control the water yield of supply according to volume.
Brief description of the drawings
Fig. 1 is the structural representation in the water receiving storehouse of the direct drinking fountain of automatic decision water yield of the present inventionFigure.
Fig. 2 is the structural representation of the direct drinking fountain of automatic decision water yield of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in further detail, to make those skilled in the art's referenceDescription word can be implemented according to this.
As depicted in figs. 1 and 2, the invention provides a kind of direct drinking fountain of automatic decision water yield, comprising:Water receiving storehouse 1, it is cubical shape, for putting into a water receiving container 4; Outlet pipe 3, it is by instituteThe top of stating water receiving storehouse 1 is along the central axis in described water receiving storehouse to downward-extension; Flow sensor, it is establishedPut on described outlet pipe 3; Magnetic valve, it is arranged on described outlet pipe 3; The first infrared distance measurement passesSensor 7, it arranges the top 9 in described water receiving storehouse, near described outlet pipe, and described the first infrared distance measurementThe light path of sensor is parallel with described central axis; The second infrared distance sensor 8, described in it is arranged onThe sidewall 10 in water receiving storehouse, and the light path of described the second infrared distance sensor is crossing with described central axis;Data processing module, itself and described flow sensor, described magnetic valve, described the first infrared distance measurement sensingDevice and described the second infrared distance sensor communication connection; To some extent pre-recorded in described data processing moduleState the first height h in water receiving storehouse1With the first width d1; Wherein, described in described data processing module controlOne infrared distance sensor 7 detects by the top in described water receiving storehouse to of the roof 6 of described water receiving containerOne apart from d3, and control described the second infrared distance sensor 8 and detect sidewall by described water receiving storehouse to instituteState the second distance d of the sidewall 5 of water receiving container4; Described data processing module utilizes first highly to deductOne apart from d3Draw the second height h of described water receiving container2, utilize the first width and second distance to calculate instituteState the diameter d of water receiving container2,d2=d1-d4× 2, and suppose that water receiving container 4, for cylinder, utilizes secondHeight and diameter calculate the volume of water receiving container; Described in described data processing module control, magnetic valve is opened,And the time span of opening according to the data on flows of described flow sensor and magnetic valve calculate by described go outThe water yield that water pipe flows out, when this water yield reaches the volume of described water receiving container, described data processingClosed electromagnetic valve described in module controls.
The present invention utilizes the first infrared distance sensor to measure top, water receiving storehouse to the of the roof of water receiving containerOne distance, recycling the second infrared distance sensor is measured water receiving storehouse sidewall to the of the sidewall of water receiving containerTwo distances, in conjunction with first height and first width in water receiving storehouse, just can calculate water receiving container afterwardsThe second height and diameter. Because the light path of the second infrared distance sensor is crossing with central axis, namelySay, the second infrared distance sensor can measure the sidewall in water receiving storehouse substantially to water receiving container width dominant bitThe distance of putting. The water receiving container of any shape is presumed to cylinder by the present invention, and on this hypothesis basisThe volume of upper calculating water receiving container. Based on this hypothesis, can estimate relatively accurately the appearance of water receiving containerLong-pending. For instance, if water receiving container actual be a cube, and calculate time be by the vacation of water receiving containerBe decided to be cylinder, the greatest circle cylinder that this cylinder should be just in time tangent with above-mentioned cube, realityWater yield can be more smaller than the actual volume of water receiving container. The present invention still can fill water receiving container substantially.
Preferably, in the direct drinking fountain of described automatic decision water yield, the bottom in described water receiving storehouse existsThe position that faces described central axis has a spacing pit, described in this spacing pit is used to indicate, connectsThe placement location of water receptacle, so that the axis of described water receiving container and described central axes. Based on thisDesign, user, can be according to the instruction of spacing pit by water receiving put into water receiving container in water receiving storehouse timeContainer is aligned in the position of appointment, to improve the precision that detects and calculate. But in the time there is no spacing pit,The vessel port of water receiving container also must be alignd with the delivery port of outlet pipe, otherwise cannot water receiving, therefore existsIn this case, also basic and central axes of the axis of water receiving container. But in the time of limited location pit,The location of docking water receptacle can be easier.
Preferably, in the direct drinking fountain of described automatic decision water yield, in described spacing pit, arrangeHave an infrared LED fluorescent tube, described infrared LED fluorescent tube continues to send ruddiness under the power supply of battery.Infrared LED fluorescent tube can provide more clearly instruction, make user more easily by the axis of water receiving container with inHeart axial alignment, thus make detect and result of calculation more accurate.
Preferably, in order to reduce the deposition of dust in water receiving storehouse, described automatic decision water yieldIn direct drinking fountain, described water receiving storehouse is provided with able to turn on or off door 2 in a side, when water receiving container is put intoBehind water receiving storehouse, user should close door.
Preferably, the direct drinking fountain of described automatic decision water yield, also comprises: prompting device, its withDescribed data processing module communication connection; Described data processing module is calculating the appearance of described water receiving containerAfter long-pending, control described prompting device and send cue, control again afterwards described magnetic valve and open. Based on thisEmbodiment, after calculating completes, sends cue, will start water outlet with reminding user outlet pipe,Avoid user's random mobile water receiving container at this moment.
Preferably, in the direct drinking fountain of described automatic decision water yield, described prompting device is buzzer.
Although embodiment of the present invention are open as above, it is not restricted to description and enforcement sideListed utilization in formula, it can be applied to various applicable the field of the invention completely, for being familiar with abilityThe personnel in territory, can easily realize other amendment, therefore do not deviate from claim and etc. homotypeEnclose under limited universal, the present invention is not limited to specific details and illustrates here and the figure describingExample.