The present disclosure relates generally to liquid dispensing systems. More particularly, the present disclosure relates to liquid tank level determination and accurate volume dispensing for liquid dispensing systems.
In gravity aided liquid dispensing systems, such as for dispensing dairy products, the pressure (referred to as head pressure) of the liquid over the dispensing valve at the bottom of the tank changes with the liquid column height. Accordingly, the rate of flow of liquid through the dispensing valve changes as the head pressure decreases. Those skilled in the art will understand there are well known mathematical calculations which can be made to determine how much time is required to dispense via gravity, an approximate volume of a liquid having known properties from a tank of known dimensions through an outlet of known dimensions, when a weight or height level of the liquid in the tank is known. Therefore having knowledge of the liquid level allows for adjustment of the opening time of the valve to obtain a substantially constant volume of dispensed dairy product.
In certain applications, such as dairy dispensing for coffee consumption, it is necessary to dispense predetermined volumes, or shots, of dairy product for consistent user taste experience, where different predetermined volumes of dairy product can be selected for dispensing. Hence, accuracy in determining the liquid level in the tank is critical for ensuring consistent volumes of the dairy product are dispensed as the tank drains. It is well-known that the flow rate of liquid through an outlet via gravity changes as the head pressure changes due to the drop in liquid in the tank.
Currently known solutions for determining the level of liquid in a tank include the use of a reset button, where this requires the user to fill to a line and then press a reset button until the displayed value matches the fill level. If the user forgets to press the reset button, the microprocessor of the dispensing system still considers the level to be near the bottom of the tank, and subsequently over-dispenses. Another known solution includes the use of one or more load cells or pressure sensors to measure the weight of the tank and its content to assess the pressure caused by the liquid on the dispensing valve at the front of the dispenser, There are several disadvantages to using load cells in such an application when it comes to weighing the tank and its content. For example, the calibration of the load cells may need to take into account temperature, as the liquid to be dispensed can be refrigerated, warm, or left at ambient temperature. Accumulation of residual product on the walls of the tank will adversely affect the measurements, load cells have a tendency to drift over time, requiring frequent calibration and correction is required if measurements are performed at the back of the dispenser and if the tank bottom is slightly inclined toward the front of the dispenser, and/or if the dispenser itself is not at level.
Other issues can include variability of tank weight when they are changed, which can affect the calibration and may require a zero point setting operation. Converting from mass to liquid column height can induce errors as well, based on potential inconsistent geometry of the liquid container caused by production variances, aging, or future design changes. Converting from mass to liquid column height also introduces potential errors and the complexity of having to consider the specific gravity of the liquid.
Hence, optical based liquid level detection systems have been proposed. Some known optical liquid level detection systems require immersion of the detector itself into the liquid of the tank, which is highly undesirable and sometimes not permitted in applications where the stored liquid is to be consumed as contamination of the liquid can occur if the detector is not properly cleaned. The use of photodiodes affixed to the dairy container to sense ambient light or light from light sources such as LED and laser diode have also been proposed. There are multiple drawbacks to such known optical liquid level detection systems.
Improvements in liquid level determination systems are therefore desired.
The above information is presented as background information only to assist with an understanding of the present disclosure. No assertion or admission is made as to whether any of the above, or anything else in the present disclosure, unless explicitly stated, might be applicable as prior art with regard to the present disclosure.
According to an aspect, the present disclosure is directed to an apparatus for use in a liquid dispensing system, comprising an optical sensor device disposable at a top side of a tank of the dispensing system, the optical sensor device comprising a light source for emitting a light signal downward into the tank toward a liquid in the tank, a light sensor for receiving a portion of the light signal that has been reflected upwardly by a surface at a top of the liquid, a processing system for measuring a time of flight of the light signal from the light source down to the surface at the top of the liquid and back up to the light sensor, and for calculating the height of the liquid in the tank using the time of flight measurement and a known distance between the optical sensor device and a bottom of the tank, and for outputting an electrical signal representing the calculated height of the liquid.
In an embodiment, the processing system is configured to calculate a head pressure of the liquid over a controllable dispensing valve located at the bottom of tank using the calculated height of the liquid in the tank.
In an embodiment, the processing system is configured to calculate an open time for the controllable dispensing valve, based on the calculated head pressure, in order to dispense a predetermined volume of liquid from the tank.
In an embodiment, the processing system generates, in response to a dispense request, a signal to initiate the opening of the controllable dispensing valve for a duration of the calculated open time to dispense the predetermined volume of liquid.
In an embodiment, the surface for reflecting a portion of the light signal s an upper surface of the liquid.
In an embodiment, the apparatus further comprises a reflective float disposable within the tank for floating at the surface of the liquid, wherein the surface at the top of the liquid for reflecting the light is a surface of the reflective float.
In an embodiment, the apparatus further comprises a guide for retaining the reflective float in substantial vertical alignment with the optical sensor device.
In an embodiment, the apparatus further comprises a sensor for measuring an angle of inclination of the apparatus from level, wherein the processing system is further configured to adjust the calculated height of the liquid in the tank based on the measured angle.
In an embodiment, the optical sensor device is a time of flight laser device.
According to an aspect, the present disclosure is directed to a method comprising providing an optical sensor device, comprising a light source and a light sensor, at a top side of a tank of a dispensing system, emitting, using the light source, a light signal downward into the tank toward a liquid in the tank, receiving, using the light sensor, a portion of the light signal that has been reflected upwardly by a surface at a top of the liquid, measuring, using a processing system, a time of flight of the light signal from the light source down to the surface and back up to the light sensor, calculating, using the processing system, the height of the liquid in the tank using the time of flight measurement and a known distance between the optical sensor device and a bottom of the tank, outputting, using the processing system, an electrical signal representing the calculated height of the liquid.
In an embodiment, the method further comprises calculating a head pressure of the liquid over a controllable dispensing valve located at the bottom of tank using the calculated height of the liquid in the tank.
In an embodiment, the method further comprises calculating an open time for the controllable dispensing valve, based on the calculated head pressure, in order to dispense a predetermined volume of liquid from the tank.
In an embodiment, the method further comprises generating, in response to a dispense request, a signal to initiate the opening of the controllable dispensing valve for a duration of the calculated open time to dispense the predetermined volume of liquid.
In an embodiment, the surface for reflecting a portion of the light signal is an upper surface of the liquid.
In an embodiment, the surface at the top of the liquid for reflecting the light is a surface of a reflective float disposed within the tank.
In an embodiment, the method further comprises guiding the reflective float within the tank to retain the reflective float in substantial vertical alignment with the optical sensor device.
In an embodiment, the method further comprises measuring, using a sensor, an angle of inclination of the dispensing system from level, and adjusting, using the processing system, the calculated height of the liquid in the tank based on the measured angle.
In an embodiment, the emitting the light signal comprises emitting a laser beam.
The foregoing summary provides some aspects and features according to the present disclosure but is not intended to be limiting. Other aspects and features of the present disclosure will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments in conjunction with the accompanying figures. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not restrictive.
Embodiments of the present disclosure will now be described, by way of example only, with reference to the attached Figures.
The relative sizes and relative positions of elements in the drawings are not necessarily drawn to scale. For example, the shapes of various elements and angles are not necessarily drawn to scale, and some of these elements may be arbitrarily enlarged and/or positioned to improve the readability of the drawings. Further, the particular shapes of the elements as drawn are not necessarily intended to convey any information regarding the actual shape of the particular elements, and have been solely selected for ease of recognition in the drawings.
This disclosure generally relates to apparatuses, methods, and systems for optical liquid level determination in a dispensing apparatus having a tank, and to accurate volume dispensing based on the level determination. In an aspect, an optical sensor device is provided comprising a light source and a light sensor. The optical sensor device is disposed at a top side of a tank of the dispensing system. A light source emits a light signal downward into the tank toward the liquid. A light sensor receives a portion of the light signal that has been reflected upwardly by a surface at the top of the liquid. A processing system measures a time of flight of the light signal from the light source down to the surface and back up to the light sensor. The processing system then calculates the height of the liquid in the tank using the time of flight measurement and a known distance between the optical sensor device and a bottom of the tank. A head pressure of the liquid over a controllable dispensing valve located at the bottom of tank may then be calculated using the calculated height of the liquid in the tank. An open time for the controllable dispensing valve is then calculated, based on the calculated head pressure, in order to dispense a predetermined volume of liquid from the tank.
The terms “liquid level” and “liquid height” are generally used interchangeably herein.
An optical time of flight liquid height determination may provide a simple yet accurate height determination, which may be used to calculate a valve open time for the accurate dispensing of a predetermined volume of liquid from the dispenser.
The relative sizes and relative positions of elements in the drawings are not necessarily drawn to scale. For example, the shapes of various elements and angles are not necessarily drawn to scale, and some of these elements may be arbitrarily enlarged and/or positioned to improve the readability of the drawings. Further, the particular shapes of the elements as drawn are not necessarily intended to convey any information regarding the actual shape of the particular elements, and have been solely selected for ease of recognition in the drawings.
Again referring to the embodiment of
Optionally, although not shown, a top panel of container 102 may be hinged to form another door to allow top side access to the inside of container 102, It is noted that liquid storage tank 104 may have translucent or transparent walls and lid, and line 114 represents a surface of the liquid within tank 104. In an embodiment, liquid dispensing apparatus 100 may include one or both of a refrigeration system and a heating system for cooling or heating the liquid content of tank 104, respectively.
It is to be appreciated that, in other embodiments, features of liquid dispensing apparatus 100 described above in relation to
The liquid height measuring system 120 of the liquid dispensing apparatus 100 according to one embodiment is now described. The liquid height measuring system 120 of the present embodiments includes an optical sensor device 121 for use in calculating the height or level of the liquid within tank 104,
Optical sensor device 121 generally comprises a light source 122 (e.g. emitter), such as laser, an infrared laser, light emitting diode (LED), or any other suitable light source, an optical sensor 124 (e.g. receiver), and a timer device 126. In operation, a light signal emitted from the light source 122 travels downwardly to the surface of the liquid 114 in tank 104. The light signal may be in any suitable form, such as a light pulse or series of pulses, and may be emitted periodically, intermittently, continuously, or on demand. In the embodiments of
Apparatus 100 may further include a processing system 170 (
While not shown in
In the event that the front door panel 106 is opened for any reason, such as for refilling the tank 104 with the same liquid or to conduct simple maintenance, closing the door panel may automatically trigger a reset operation for the liquid height measuring system 120 to activate and determine the level of the liquid in the tank 104. This may be a beneficial function as it may be assumed in all cases that the tank 104 has been manually topped up with more of the same liquid and obviates the need for any user judgment to determine that a reset is required. Alternatively or additionally, the liquid height measuring system 120 may be configured to ignore height measurement readings taken while the door panel is open. For example, maintenance of the apparatus may cause erroneous liquid height measurements. Persons skilled in the art will understand any type of door sensor may easily be integrated with processing system 170 to provide this type of control. There may also be a manual dispense function that allows for any amount of liquid to be dispensed, where the liquid height measuring system 120 is activated after the manual dispense operation has ended.
Electrical signals from optical sensor device 121 are provided to the processing system 170 for the calculation of the level of liquid in tank 104. Again, the processing system 170 may use one or more liquid height measurements from optical sensor device 121 in combination with other information including the distance d2 between the optical sensor device 121 and the bottom of tank 104 to calculate the liquid level 114 in tank 104.
This liquid height may be displayed on the user interface to indicate that the liquid dispensing apparatus 100 is now ready to dispense either alone or in conjunction with some other visual indicator.
Once the height of the liquid in tank 104 has been determined using optical sensor device 121, then the head pressure of the liquid inside the tank may be calculated based on the measured height, and optionally using other information and/or fluid dynamic equations. The head pressure information may then be used to calculate an open time of valve 111 of the dispense control system 110 in order to dispense an exact dose of liquid.
The liquid height measuring system 120 may be activated to take a measurement at any suitable times or according to any suitable schedule. For example, the liquid height measuring system 120 may be activated in response to one or more of the following events: before and/or after the completion of a dispense operation, after the closing of front panel 106, upon startup and/or a reset of processing system 107, at a scheduled time, and a user input requesting a measurement.
An “empty” threshold may be set in the processing system to indicate on the user interface when the liquid level in the tank has dropped to below a level in which further reliably accurate dispenses are no longer possible. Other similar predetermined thresholds may also be set in the processing system.
The process proceeds to block 606 wherein a time of flight of the light signal from the light source down to the surface and back up to the light sensor is measured using a processing system. The process proceeds to block 608 wherein the height of the liquid in the tank using the time of flight measurement and a known distance between the optical sensor device and a bottom of the tank is calculated using the processing system. The process proceeds to block 610 wherein, optionally, an electrical signal representing the calculated height of the liquid is outputted using the processing system. The signal may be received by one or more subsystems of the dispensing apparatus, such as the dispensing control system and/or the user interface system.
The process proceeds to block 612 wherein a head pressure of the liquid over a controllable dispensing valve 111 located at the bottom of tank is calculated using the calculated height of the liquid in the tank. The process proceeds to block 614 wherein an open time for controllable dispensing valve 111, based on the calculated head pressure, is calculated in order to dispense a predetermined volume of liquid from the tank. The process proceeds to block 616 wherein, in response to a dispense request, a signal is generated to initiate the opening of controllable dispensing valve 111 for a duration of the calculated open time to dispense the predetermined volume of liquid. The steps in blocks 612, 614, and 616 are optional.
Optical liquid height measuring system 120 often works best when it has a smooth, consistently reflective surface that allows the light to be returned to the optical sensor 124 of device 121. Certain liquids do not provide this optical stability, which can produce unpredictable effects on distance measurements by system 120. To overcome this problem, a reflective float 128, which sits close to the upper liquid surface, may be used in optical liquid height measuring system 120.
In operation, a light signal emitted from the light source 122 travels downwardly to the surface of the liquid 114 in tank 104. In this embodiment, rather than some of the light being reflected back by the liquid surface 114, as is the case with the embodiment of
Reflective float 128 may have any suitable shape and size, but in at least some embodiments has a smooth and level reflective upper surface 128a for reflecting light emitted by optical sensor device 121. Float 128 may be made of any suitable material(s), including plastic. In an embodiment, at least upper surface 128a, or entire float 128, will be opaque or substantially opaque to reflect light back to device 121. Further, in an embodiment, float 128 is flat and smooth. A rougher upper surface 128a finish would work but if the surface roughness exceeds, for example 1 mm, then the accuracy of the distance measurements may lessen. In addition, in some embodiments, the colour of float 128 will be light, for example white or light grey, to permit for easy visual inspection for cleanliness.
Float 128 may be captured, tethered, or otherwise retained in some way in alignment with optical sensor device 121.
One or more accelerometers or other sensor(s) may be used to detect and/or measure an angle of inclination e of dispensing apparatus 100. The measurement(s) may be used by a processor, for example a processor of processing system 170 (
Aspects of the present disclosure may be implemented on any suitable apparatus or apparatuses, which may include one or more computers and/or computer related components. The teachings of the present disclosure may be implemented at or performed by any network element or combination of network elements. A network element may be a network side electronic device, such as a server, or a user side electronic device, such as mobile device or other personal electronic device. These network side and user side devices are only examples and are not intended to be limiting.
The electronic device 1000 may include one or more of a central processing unit (CPU) 1002, memory 1004, a mass storage device 1006, a video adapter 1008, an input/output (I/O) interface 1010, and a communications subsystem 1012. One or more of the components or subsystems of electronic device 1000 may be interconnected by way of one or more buses 1014 or in any other suitable manner.
The bus 1014 may be one or more of any type of several bus architectures including a memory bus or memory controller, a video bus, peripheral bus, or the like. The CPU 1002 may comprise any type of electronic data processor. The memory 1004 may comprise any type of system memory such as dynamic random access memory (DRAM), static random access memory (SRAM), synchronous DRAM (SDRAM), read-only memory (ROM), a combination thereof, or the like. In an embodiment, the memory may include ROM for use at boot-up, and DRAM for program and data storage for use while executing programs.
The mass storage device 1006 may comprise any type of storage device configured to store data, programs, and other information and to make the data, programs, and other information accessible via the bus 1014. The mass storage device may comprise, for example, one or more of a solid state drive, hard disk drive, a magnetic disk drive, an optical disk drive, or the like. In some embodiments, data, programs, or other information may be stored remotely, for example in the “cloud”. Electronic device 1000 may send or receive information to the remote storage in any suitable way, including via communications subsystem 1012 over a network or other data connection.
The video adapter 1008 and the I/O interface 1010 may provide interfaces to couple external input and output devices to the electronic device. As illustrated, examples of input and output devices include a display 1016 coupled to the video adapter 1008, and an optical sensor device 1017, a dispense control system 1018, and a user interface 1019 all commutatively coupled to the I/O interface 1010. Dispense control system 1018 may be commutatively coupled to, or otherwise include, a controllable valve 1040 for selectively dispensing a predetermined volume of liquid. Other types of possible sensors, not shown, may include but are not limited to one or more accelerometers, pressure sensors, light sensors, acoustic sensors, and temperature sensors. For example, an accelerometer or other sensor may be used to measure and compensate for an unlevel dispenser when the optical sensor device is not superimposed over the dispense valve. The accelerometer may be used to adjust the measured height of the liquid over the dispense valve and subsequently the head pressure. It is to be appreciated, however, that these peripherals and other devices are examples only. Other devices may be coupled or connected to the electronic device in addition to or in place of those shown and described. Furthermore, additional or fewer interfaces may be utilized. For example, one or more serial interfaces such as Universal Serial Bus (USB) (not shown) may be provided.
A communications subsystem 1012 may be provided for one or both of transmitting and receiving signals. Signals may include one or more of configuration information, log information, control information. Communications subsystems may include any component or collection of components for enabling communications over one or more wired and wireless interfaces. These interfaces may include but are not limited to USB, Ethernet, high-definition multimedia interface (HDMI), Firewire™ (e.g. IEEE 1394), Thunderbolt™, WiFi™ (e.g. IEEE 802.11) WiMAX (e.g. IEEE 802.16), Bluetooth™, or Near-field communications (NFC), as well as GPRS, UMTS, LTE, LTE-A, dedicated short range communication (DSRC), and IEEE 802.11.
Communication subsystem 1012 may include one or more ports or other hardware 1028 for one or more wired connections. In addition, communication subsystem 1012 may include one or more of transmitters 1020, receivers 1022, and antenna elements 1024. In at least some embodiments, the electronic device may have geographic positioning functionality, for example to determine a geographical position of the electronic device or for receiving timing signals for time synchronization of the device with other systems. In at least some embodiments, the electronic device may be capable of receiving Global Positioning System (GPS) signals. Therefore in at least one embodiment, as shown in
The electronic device 1000 of
The previously described embodiments show a configuration where the dispensing apparatus houses a single tank. In an alternate embodiment, not shown, the dispensing apparatus may house two or more tanks , for example, in a side-by-side or any other suitable arrangement. An optical sensor device 121 may be provided for each separate tank. During operation, the plurality of optical sensor devices 121 may be activated at different times to take measurements in an attempt to achieve more accurate readings by avoiding influence from the other optical sensor devices. Processing system 170 may control the activation of the optical sensor devices 121 in this manner.
In an embodiment, averaging and filtering is used to improve precision of the sensor readings. For instance, electrical signals from optical sensor device 121 may be provided in one millimeter resolution and the readings may dither between two or more adjacent values and as such the processing system 170 may calculate an average of multiple readings with sub-millimeter resolution. Successive averages may be further smoothed with a first order digital filter, a weighted average of the most current reading average and the most recent filtered value, to remove noise or wave/ripples on the liquid surface.
In an embodiment, dispensing apparatus 100 is configured to identify and discard measurements made by optical sensor devices 121 having obstructed optical paths (e.g. dirty due to residue, etc, within the tank). For instance, a time of flight measurement, or a calculated distance, that would never occur with a clean sensor may be identified since they do not fall within a known range of possible values for the given parameters of a system. Optionally, such measurements may trigger a notification or alarm to alert a user that the apparatus requires cleaning.
In an embodiment, a degradation of the accuracy of the dispensing apparatus may be identified, profiled, and corrected. For example, the valve open time for a first dispense after 12 hours of no use of the dispensing apparatus may need to be increased by 10% to account for the outlet nozzle 108 opening more slowly than the pinch valve due to being stuck closed, having taken a set, or a film of dried liquid (e.g. dairy product) inside the outlet nozzle below the pinch point.
In an embodiment, dispensing apparatus 100 may include a temperature sensor at the optical sensing device 121 to allow for compensation of the time of flight measurements. For example, changes in the ambient temperature around a laser light source of the optical sensing device 121 may affect the laser and thereby affect the measurements.
In an embodiment, if the difference between the most current reading average and the current first order digital filter is positive and greater than a predetermined threshold then the processing system 170 may flag the detection of a tank filling event. When a tank filling event is flagged, the current first order digital filter value may be replaced with the current reading average, effectively eliminating the time constant of the first order digital filter to respond to the tank filling event.
In an embodiment, the processing system 170, controlling the dispensing events, may replace the first order digital filter value with the predicted post dispense tank level value, and as such may eliminate or bypass the time constant for the filter to respond to the new lower tank level.
In an embodiment, the present apparatus and method may be used with a non-transparent liquid to be dispensed, such as a liquid dairy product. The non-transparent property of the liquid generally enhances the reflectivity of the upper of the surface of the liquid.
In the preceding description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the embodiments. However, it will be apparent to one skilled in the art that these specific details are not required. In other instances, well-known electrical structures and circuits are shown in block diagram form in order not to obscure the understanding. For example, specific details are not provided as to whether the embodiments described herein are implemented as a software routine, hardware circuit, firmware, or a combination thereof.
Embodiments of the disclosure may be represented as a computer program product stored in a non-transitory machine-readable medium (also referred to as a computer-readable medium, a processor-readable medium, or a computer usable medium having a computer-readable program code embodied therein). The machine-readable medium may be any suitable tangible, non-transitory medium, including magnetic, optical, or electrical storage medium including a diskette, compact disk read only memory (CD-ROM), memory device (volatile or non-volatile), or similar storage mechanism. The machine-readable medium may contain various sets of instructions, code sequences, configuration information, or other data, which, when executed, cause a processor to perform steps in a method according to an embodiment of the disclosure. Those of ordinary skill in the art will appreciate that other instructions and operations necessary to implement the described implementations may also be stored on the machine-readable medium. The instructions stored on the machine-readable medium may be executed by a processor or other suitable processing device, and may interface with circuitry to perform the described tasks.
The structure, features, accessories, and alternatives of specific embodiments described herein and shown in the Figures are intended to apply generally to all of the teachings of the present disclosure, including to all of the embodiments described and illustrated herein, insofar as they are compatible. In other words, the structure, features, accessories, and alternatives of a specific embodiment are not intended to be limited to only that specific embodiment unless so indicated.
In addition, the steps and the ordering of the steps of methods described herein are not meant to be limiting. Methods comprising different steps, different number of steps, and/or different ordering of steps are also contemplated.
For simplicity and clarity of illustration, reference numerals may have been repeated among the figures to indicate corresponding or analogous elements. Numerous details have been set forth to provide an understanding of the embodiments described herein. The embodiments may be practiced without these details. In other instances, well-known methods, procedures, and components have not been described in detail to avoid obscuring the embodiments described.
The above-described embodiments are intended to be examples only. Alterations, modifications and variations can be effected to the particular embodiments by those of skill in the art without departing from the scope, which is defined solely by the claims appended hereto.
This application claims the benefit of priority of U.S. Provisional Patent Application No. 62/776,656 filed on Dec. 7, 2018, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62776656 | Dec 2018 | US |