Aspects of the disclosure relate to determining a usage level of contents in a container using a capacitive sensor.
There are applications for dispensing contents stored within a container. However, the level of the contents may not be readily visible to the user, and thus the user may not readily know when the contents needs to be refilled. Corresponding applications are numerous including essential oil diffusers, fragrant oil diffusers, air freshener dispensers, air odor eliminators, sprayers, automatic hand sanitizers, mist humidifiers, water dispensers, and coffee machines. However, traditional approaches often rely on sensors being immersed into the contents within the container. Consequently, there is a real market need to provide a non-obtrusive approach to determining a usage level of contents within a container.
The present invention provides methods and apparatuses for determining a contents level inside a non-metallic container by using a variation of the capacitance between sense electrodes that are externally located to the container. Container contents may include a variety of liquids or granular solids including, but not limited to, hand cleaners, fragrant oils, water, coffee, and the like. In addition, the container may be constructed from a variety of materials including, but not limited to, plastic, cardboard, glass, and so forth.
With an aspect of the embodiments, an apparatus determines a usage level of container contents in a non-metallic container. A capacitive sensor includes a pair of electrodes that comprises a first electrode and a second electrode and is externally positioned on or proximate to a surface of the non-metallic container at a point level. A signal generator generates an excitation signal to charge an equivalent capacitor associated with the capacitive sensor at a pre-defined amount of charge, and a signal receiver subsequently measures the voltage across the capacitor. A processing circuit determines whether the usage level of the contents is below the point level of the electrode pair. With another aspect, an excitation signal charges an equivalent capacitor of a capacitive sensor with a pre-defined amplitude of voltage, and a signal receiver measures the charge stored in the capacitor.
With another aspect, an excitation signal charges an equivalent capacitor of a capacitive sensor. The voltage across the capacitor is then measured at an appropriate time while the capacitor is discharging.
With another aspect, an apparatus has a plurality of electrode pairs positioned along a container, where each electrode pair corresponds to different point levels. Measurements are obtained from each selected electrode pair and processed to determine the usage level of the container contents.
With another aspect, a measuring circuit is electrically connected to a capacitive sensor in one of two ways. First, the capacitive sensor may assume a one-port typology, where one of the electrodes of an electrode pair is grounded while the measuring circuit is connected to the other electrode. Second, the capacitive sensor may assume a two-port typology, where the driver of the measuring circuit is connected to the first port and an analog to digital converter (ADC) is connected to the other port.
With another aspect, an apparatus includes a reporting circuit that generates an alert notification and/or ordering request when the usage level of container contents is below an alert level.
With another aspect, a capacitive sensor comprises M electrode pairs positioned in decreasing point positions along the non-metallic container. A processing circuit selects a next electrode pair through an electrode selector until the usage level is below an associated point position of the selected electrode pair.
The foregoing summary of the invention, as well as the following detailed description of exemplary embodiments of the invention, is better understood when read in conjunction with the accompanying drawings, which are included by way of example, and not by way of limitation with regard to the claimed invention.
An apparatus with a capacitive sensor with one or more pairs of electrodes externally positioned on or proximate to a surface of a non-metallic container non-intrusively detects the level of the contents (for example, a liquid or granular solids) inside the non-metallic container. The apparatus supports one or more markers that are indicative of an usage condition, refill condition, or empty condition.
The apparatus can further notify a user to obtain/purchase a refill when the level is at or below a predetermined alert level. For example, the apparatus may operate with an Internet of Things (IoT) device and may automatically order more container contents in conjunction with the IoT device at the appropriate time. Embodiments support a variety of applications including, but not limited to, essential oil diffusers, fragrant oil diffusers, air freshener dispensers, air odor eliminators, sprayers for weed killers herbicides and insecticides, automatic hand sanitizers, mist humidifiers, water dispensers, and coffee machines.
Embodiments may provide advantages with respect to traditional approaches including low cost, simple implementation, broad application range, and non-intrusiveness that does not affect or alter the property of the material (container contents) being measured.
Electrodes 102 and 103 may be on or proximate to a surface of non-metallic container 101. While embodiments support applications with non-metallic containers, non-metallic container 101 may be comprised of a variety of materials including, but not limited to, plastic, cardboard, glass, and so forth. Moreover, the container contents may comprise a variety of liquids or granular solids including, but not limited to, hand cleaners, fragrant oils, water, coffee, and the like.
With an aspect of the embodiments, the determination a usage level of the container contents is based on a measured change of capacitance. Each pair of electrodes (for example electrodes 102 and 103) are positioned adjacent to a corresponding measuring point level (for example, alert level 151) as shown in
An equivalent capacitance is dependent upon whether the contents is above or below alert level 151. In general the equivalent capacitance (as measured in relation to electrodes 102 and 103) is higher when the container contents is above alert level 151 than when below. The capacitor may be modeled with electrodes 102 and 103 and an equivalent dielectric layer based on the electrical characteristics of the container contents and container material. For example, the value of the capacitance may depend on the dielectric constant of the material filled inside container 101 (where the dielectric constant of the container contents is typically greater than 1), area of the electrodes 102 and 103, and the gap between electrodes 102 and 103. Consequently, the equivalent capacitance is dependent on the type of container contents as well as on the material of container 101 and may be determined through experiment or by electrical analysis.
Electrodes 102 and 103 may be positioned close (for example, within 0.3 millimeters) to or even on the surface of container 101. For example, electrodes 102 and 103 may be printed on container 101 or held into position by a fixture or product casing.
Embodiments may support applications with different containers. For example, container 101 may have different shapes and capacities (typically 20 ml or more). Container 101 may support a variety of applications from small dispensers to large storage containers. Depending on the desired equivalent capacitance and size/shape of container 101, electrodes 101 and 103 may assume different dimensions, for example, where the length, width, and thickness are 10 mm, 3 mm, and 0.2 mm, respectively.
The equivalent capacitance changes when the container contents is above or below a point level for a corresponding pair of electrodes. For example, the equivalent capacitance of a plastic container may be about 3 pF when the essential oil (the container contents) is above the point level and about 2 pF when the essential oil is below the point level.
With a type 1 connection, a measuring circuit measures a self-capacitance, where one electrode (for example, electrode 103) is connected to ground and one electrode (for example, electrode 102) is connected to a driving and measuring path of a capacitance measuring circuit (for example, circuit 401 as shown in
Referring to circuit 200, Rs 201 is the equivalent resistance from the measuring circuit to electrode 102, Cp 202 is the parasitic capacitance between the connecting path from the measuring circuit to electrode 102 and electrical ground, and Cs 203 is the capacitance between electrode 102 and electrode 103.
With a type 2 connection, a measuring circuit measures the mutual capacitance, where one electrode (for example, electrode 102) is connected to transmit path and one electrode (for example, electrode 103) is connected to receive path of measuring circuit 501 as shown in
Referring to circuit 300, Tx 351 is the transmit path of the capacitance measuring circuit, Rx 352 is the receive path of the capacitance measuring circuit, RTX 301 is the equivalent resistance from the transmit path to electrode 102, RRx 305 is the resistance from the receive path to electrode 103, CpTx 302 is the parasitic capacitance between the transmit path and electrode 102, CpRx 304 is the parasitic capacitance between the receive path and electrode 103, and Cm 303 is the capacitance between electrodes 102 and 103.
Driver 403 charges up (corresponding to charge or voltage waveform (pulse) 451) equivalent capacitor 402 formed by electrode 406 and electrode 407 through switch 405. Capacitor 402 is then connected to the receive path via switch 405 so that ADC 404 can measure the voltage across capacitor 402 or the charge on capacitor 402. When the level of the container contents is above the corresponding point level (in other words, there is liquid or granular solids inside the container between the electrodes 406 and 407, the relative permittivity is larger than that without the liquid or granular solids. The capacitance is smaller when there is no liquid or granular solids inside the container between electrodes 406 and 407 (in other words, the container contents is below the point level).
As will be discussed in greater detail, the voltage across capacitor 402 will be different as capacitor 402 charges and discharges when the level of the container contents is above or below the point level since the equivalent capacitance is correspondingly different.
Driver 503 charges up (corresponding to charge or voltage waveform 551) equivalent capacitor 502 formed by electrode 505 and electrode 506 through the first port. ADC 504 then measures the charge or voltage across capacitor 502, which is indicative of the capacitance of capacitor 502. ADC 504 may be a simple voltage to a computer readable value conversion circuit. With some embodiments, ADC 504 may include a charge amplifier that produces a voltage output proportional to the charge from the electrodes and then converts it into a computer readable value. With some embodiments, ADC 504 may comprise an oscillator that oscillates at a frequency determined by the capacitance formed by the electrodes. A frequency counter then counts the frequency to obtain a computer readable value that is indicative of the capacitance formed by the electrodes with or without liquid or granular solids between the electrodes.
When the level of the container contents is above the corresponding point level (in other words, there is liquid or granular solids inside the container between the electrodes 505 and 506), the relative permittivity is larger than that without the liquid or granular solids. The capacitance is smaller when there is no liquid or granular solids inside the container between electrodes 505 and 506 (in other words, the container contents is below the point level).
Measuring circuit 401 (for a type 1 connection) and measuring circuit 501 (for a type 2 connection) measures the charge or voltage across capacitors 402 and 502, respectively. As shown in
As will be discussed in further detail, apparatus 700 (shown in
While embodiments may measure the charge or voltage across capacitors 402 or 502 after charging, some embodiments may measure the charge or voltage while charging or discharging.
As previously discussed, measuring circuit 702 provides the value of the charge or voltage across the equivalent capacitor that models sensing sensors 701. Processing circuit 703 (for example, that may be implemented with a microcontroller) determines whether the container contents is above or below the point level based on the capacitance information provided by measuring circuit 702. For example, referring to
With some embodiments, processing circuit 703 may initiate a notification via wireless communication circuit 704 (for example, supporting a Bluetooth Low Energy (BLE) or a WiFi communication channel) to inform a user about the determined usage level. When the usage level is below a level that is below an alert level, the notification may further generate an order for container contents to replenish the container.
Computing system 703 may include input interface 803 to obtain voltage information from measuring circuit 702 and output interface 804 to initiate a measurement by measuring circuit 702.
Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include, but is not limited to, random access memory (RAM), read only memory (ROM), electronically erasable programmable read only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by the computing device.
Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Modulated data signal is a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media.
Processing circuit 703 may be implemented in a number of ways. For example, processing circuitry 703 may be implemented with a microcontroller that typically includes a central processing unit (CPU), in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip. However, processing circuitry may be implemented with a plurality of integrated circuits and/or discrete electronic components.
At block 902, measuring circuit 401 or 501 measures the charge or voltage across equivalent capacitor 402 or 502 at a measuring time Tm after charging or while the capacitor is charging or discharging. At block 903 processing circuit 703 then compares the measured voltage with predetermined voltage ranges to determine whether the corresponding capacitance is indicative of the usage level being above or below the point level of the electrode pair.
When the usage level is below the point level, block 904 determines whether the point level corresponds to an alert level. If so, apparatus 700 generates an alert notification at block 905 to inform a user about the situation via a reporting circuit (for example, wireless communication circuit 704 as shown in
As will be discussed, each electrode pair 1002-1005 may be selectively connected to a measuring circuit to obtain measurements indicative of the equivalent capacitance of the selected electrode pair.
Sensing electrodes 1101 comprises electrode pairs 1002-1005 (as shown in
Measuring circuit 1107 is electrically connected to a selected electrode pair via electrode selector 1102 (as configured by processor 1105) so that the selected electrode pair can be charged and measured as previously discussed with
Measuring circuit 1107 may further comprise detection circuit 1103 and A/D converter 1104. Detection circuit 1103 includes a signal generator that charges the equivalent capacitor of the selected electrode pair and a signal interface that presents the discharging waveform to A/D converter 1104. A/D converter 1104 captures the charge or voltage level at the appropriate measurement time (Tm) and presents the value in a digital format to processor 1105.
Based on the measured capacitance from measuring circuit 1107, processor 1105 determines whether the usage level is above or below the point level of the selected electrode pair. If the usage level is below the point level, processor 1105 may select the next electrode pair physically below the previous electrode pair and initiate another measurement. This may be repeated until the lowest positioned electrode pair (for example, pair 1005 as shown in
If processor 1105 determines that the usage level is below an alert level, processor 1105 may initiate an alert notification and/or ordering request via reporting circuit 1106.
If so, at block 1205 process 1200 determines whether the usage level is above the alert level. If not, process 1200 generates an alert notification at block 1206.
Referring back to block 1203, if process 1200 determines that the usage level is below the corresponding point level, process 1200 selects the next electrode pair physically below the previous electrode pair at block 1204. A measurement is then repeated for the next selected electrode pair at block 1202.
At block 1301, container 1001 is installed by positioning container 1001 with monitoring apparatus such as apparatus 1100. For example, when electrode pairs 1002-1005 are not located on container 1001, the electrode pairs may be positioned within a desired distance from container 1001.
At block 1302, the monitoring apparatus (for example, apparatus 1100) determines whether container 1001 is empty (for example, based on measurements provided by electrode pair 1005). If so, an error message (notification) may be sent to a user at block 1303 (for example, via reporting circuit 1106 through a mobile app executing on the user's mobile device).
If container 1001 is not empty, process 1300 continues to determine whether the container contents is below an alert level (for example, 25% as shown in
Exemplary Embodiments include:
With a first exemplary embodiment, an assembly determines a level of contents within a non-metallic container. The assembly includes a capacitive sensor having at least one pair of electrodes that is positioned on or close to the surface of the container.
With a second exemplary embodiment, a capacitive sensor has one or more pairs of electrodes that are arranged to form one or more capacitors.
With a third exemplary embodiment, an assembly with a capacitive sensor detects a presence or absence of liquid or granular solids within a container at one or more predetermined levels within the container.
With a fourth exemplary embodiment, an assembly with a capacitive sensor generates an alert signal to a user.
With a fifth exemplary embodiment, an assembly comprises a microcontroller, wherein the microcontroller receives a first signal from a capacitive sensor. The first signal is indicative of a detected presence or absence of liquid or granular solids at a point level. The assembly may then generate a second signal to alert a user or to order physical goods.
Various aspects described herein may be embodied as a method, an apparatus, or as computer-executable instructions stored on one or more non-transitory and/or tangible computer-readable media. Accordingly, those aspects may take the form of an entirely hardware embodiment, an entirely software embodiment (which may or may not include firmware) stored on one or more non-transitory and/or tangible computer-readable media, or an embodiment combining software and hardware aspects. Any and/or all of the method steps described herein may be embodied in computer-executable instructions stored on a computer-readable medium, such as a non-transitory and/or tangible computer readable medium and/or a computer readable storage medium. Additionally or alternatively, any and/or all of the method steps described herein may be embodied in computer-readable instructions stored in the memory and/or other non-transitory and/or tangible storage medium of an apparatus that includes one or more processors, such that the apparatus is caused to perform such method steps when the one or more processors execute the computer-readable instructions. In addition, various signals representing data or events as described herein may be transferred between a source and a destination in the form of light and/or electromagnetic waves traveling through signal-conducting media such as metal wires, optical fibers, and/or wireless transmission media (e.g., air and/or space).
As can be appreciated by one skilled in the art, a computer system with an associated computer-readable medium containing instructions for controlling the computer system can be utilized to implement the exemplary embodiments that are disclosed herein. The computer system may include at least one computer such as a microprocessor, digital signal processor, and associated peripheral electronic circuitry.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Aspects of the disclosure have been described in terms of illustrative embodiments thereof. Numerous other embodiments, modifications, and variations within the scope and spirit of the appended claims will occur to persons of ordinary skill in the art from a review of this disclosure. For example, one of ordinary skill in the art will appreciate that the steps illustrated in the illustrative figures may be performed in other than the recited order, and that one or more steps illustrated may be optional in accordance with aspects of the disclosure.