The present invention relates to a level detection system. Preferred embodiments of the present invention relate to detecting a level of a liquid in a container. In one example, the container is a water tank of a coffee machine. In another example, the container is a drip tray of a coffee machine.
The invention has been developed primarily for use with a coffee machine and will be described hereinafter with reference to this application. However, it will be appreciated that the invention is not limited to this particular field of use, and may also be employed in other kitchen appliances or applications involving or requiring the detection of a level of liquid in a container.
An existing system of measuring water level in a water tank or other container of an appliance, such as a coffee machine, uses a floatation component located inside the water tank and a light source or magnet to detect the position of the floatation component in the water tank. The light source system may include an optical (infrared or ultrasonic) sensor, which requires a direct line of sight to the water in the water tank.
Another existing system for measuring water level in a water tank of a coffee machine uses two parallel conductor plates located inside the water tank to provide a measurable capacitance value that is representative of the water level. The capacitive dielectric constant between the plates would depend on the water level in the water tank, which would affect the capacitance value. A change in the water level in the water tank would result in a change in the capacitive dielectric constant.
These existing systems require a sensor component to be located within the water tank. These systems are not suitable for coffee machines or other appliances that have a removable water tank because a component of the sensor system would need to be separable from the rest of the system, which would typically be housed within the main body of the coffee machine or appliance. In addition, the sensor component of these existing systems is in direct contact with the water such that the performance of the level detection would degrade over time depending on the hardness level of the water. In existing systems involving the use of an optical (infrared or ultrasonic) method, the sensors may be subject to splashes or fouling from steam.
An object of preferred embodiments of the present invention seeks to address one or more of the problems described above and/or to at least provide the public with a useful choice.
An aspect of the present invention provides a level detection system including: a housing having a plurality of wall portions defining a receiving space for a container: a capacitor having a first plate and a second plate, the wall portions including a first wall portion having the first plate and a second wall portion having the second plate, such that when the container is in the receiving space, a capacitance of the capacitor depends on a level of substance in the container; and a processor configured to determine the level of the substance in the container based on the capacitance of the capacitor.
The level detection system may further include the container. The container is preferably made from a non-conductive material. By way of example, the container may be made from polycarbonate. By way of further example, the container may be made from plastic such as thermoplastic. The container according to preferred embodiments has a cube or cuboid shape defined four side wall portions, and a bottom wall portion.
Preferably, the first and second plates are configured to hug or embrace the container when the container is in the receiving space. The first and second plates may be configured to touch wall portions of the container when the container is in the receiving space. When the container is in the receiving space, there is substantially no air gap between each of the first and the second plates and the container. The receiving space defined by the plurality of wall portions corresponds to a shape of the container.
In a preferred embodiment, the first wall portion having the first plate is substantially non-parallel with respect to the second wall portion having the second plate.
Another aspect of the present invention provides a level detection system including: a housing having a receiving space in which a substance can be contained: a capacitor having a first plate and a second plate, the first plate being substantially non-parallel with respect to the second plate such that a portion of the receiving space is partially bounded by the first and second plates, the capacitor having a capacitance that depends on a level of the substance contained in the receiving space; and a processor configured to determine the level of the substance contained in the receiving space based on the capacitance of the capacitor.
The first plate may be of a first side wall portion defining the receiving space. The second plate may be of a second side wall portion, a bottom wall portion, or a top wall portion defining the receiving space. In a preferred example, the first and second plates are mounted on different side wall portions defining the receiving space. In another example, the first plate is mounted on a side wall portion while the second plate is mounted on a bottom wall portion. In yet another example, the first plate is mounted on a side wall portion while the second plate is mounted on a top wall portion.
The first plate is preferably substantially perpendicular to the second plate. In a preferred embodiment, the first plate and second plate are positioned proximal to a corner of the receiving space.
Each of the first and second plates preferably has a rectangular shape. Each of the first and second plates is substantially flat. In other examples where the container has one of more curved wall portions, the respective one of the first and second plates that is to be positioned against the curved wall portion is also curved.
At least one of the first plate and the second plate has a length that preferably spans a substantial height of the receiving space. In one example, at least one of the first plate and the second plate spans at least 55% of a height of the receiving space. In another example, at least one of the first plate and the second plate spans at least 60% of a height of the receiving space. In yet a further example, at least one of the first plate and the second plate spans at least 70% of a height of the receiving space.
Each of the first plate and the second plate has a width that is preferably about 30% to 60% the length of the respective first plate and second plate. In an example, the width of each of the first and second plates is between about 40% to 50% the length of the respective first and second plates.
Where the first and second plates are positioned on side wall portions of the housing, the first plate and the second plate are preferably each centrally located along a height of the receiving space. Where the second plate is positioned on a bottom or top wall portion of the housing, the second plate is preferably centrally located along a width or depth of the receiving space.
Preferably, the first plate and the second plate are made from a conductive material. By way of example, the first plate and the second plate may be made from aluminium, steel, or copper.
The level detection system preferably further includes a resistor connected in series with the capacitor forming a resistor-capacitor circuit; and a frequency source connected to the resistor to provide an input signal to the resistor-capacitor circuit, wherein the processor is configured to receive an output signal from a point between the resistor and the capacitor in the resistor-capacitor circuit, wherein the liquid level in the container is determined by the processor based on the output signal. In one example, the resistor may have a resistance value of about 100 kΩ, and the frequency source outputs the input signal at a frequency of between about 50 KHz and 80 kHz, preferably at a frequency of 70 KHz. In another example, the resistor has a resistance value of about 47 kΩ and the frequency source outputs the input signal at a frequency of about 200 kHz. In yet a further example the resistor has a resistance value of about 22 kΩ and the frequency source outputs the input signal at a frequency of about 400 KHz.
The level detection system may further include: a look-up table, stored in computer memory in communication with the processor, that correlates different capacitance or voltage values each to a corresponding level value. The processor is preferably configured to determine the level of the substance in the container by: determining at least one of the capacitance of or a voltage across the capacitor; and determining, from the look-up table, the level value that corresponds to the determined capacitance or voltage.
The level detection system preferably further includes one or more reference capacitors for measuring stray capacitance in the receiving space, wherein the processor is configured to determine the level of liquid in the container based on the stray capacitance measured by the reference capacitor(s).
A further aspect of the present invention provides a level detection system including: a housing having a receiving space in which a substance can be contained: a primary capacitor having a first plate and a second plate, a portion of the receiving space being at least partially bounded by the first and second plates, the primary capacitor having a capacitance that depends on a level of the substance contained in the receiving space: one or more reference capacitors for measuring stray capacitance in the receiving space; and a processor configured to determine the level of the substance contained in the receiving area based on the capacitance of the primary capacitor and the stray capacitance measured by the reference capacitor(s).
The one or more reference capacitors may include an upper reference capacitor for measuring stray capacitance in an upper region of the receiving space. Preferably, the upper reference capacitor provides a stray capacitance value for a region of the receiving area in which there is no substance.
The one or more reference capacitors may include a lower reference capacitor for measuring stray capacitance in a lower region of the receiving space. Preferably, the lower reference capacitor provides a stray capacitance value for a region of the receiving area in which there is substance.
In an embodiment, the or each reference capacitor includes: a first reference plate on a first side wall portion of the receiving space: a second reference plate on a second side wall portion of the receiving space; and a third reference plate on a bottom or top wall portion of the receiving space.
Another aspect of the present invention provides a level sensor system for detecting a level of a substance in a receiving space of a housing, the level sensor system including: a capacitor having a first plate and a second plate, the first plate being substantially non-parallel with respect to the second plate, the first plate being locatable on a first wall portion defining the receiving space and the second plate being locatable on a second wall portion defining the receiving space, the capacitor having a capacitance that depends on a level of the substance in the receiving space; and a processor configured to determine the level of the substance in the receiving space based on the capacitance of the capacitor.
The level sensor system preferably further includes one or more reference capacitors for measuring stray capacitance in the receiving space, the processor being configured to determine the level of the substance contained in the receiving area based on the stray capacitance measured by the reference capacitor(s).
Yet a further aspect of the present invention provides a level determining system for determining a level of substance in a receiving space using a level sensor system that includes: a capacitor having a first plate and a second plate such that a portion of the receiving space is at least partially bounded by the first and second plates, the capacitor having a capacitance that depends on a level of the substance in the receiving space, the level determining system including: a look-up table, stored in computer memory, that correlates different capacitance or voltage values each to a corresponding level value: a processor, that is in communication with the computer memory, the processor being configured to determine the level of the substance in the receiving area by: determining at least one of the capacitance of or a voltage across the capacitor; and determining, from the look-up table, the level value that corresponds to the determined capacitance or voltage.
The processor is preferably configured to provide an output when it determines that a level of substance in the receiving space is below a threshold. The output may be any visual output, audio output, or a tactile output.
In a preferred example, the level detection system is for a coffee machine. The container in the preferred example is a water tank for containing water and the level detection system is for detecting a level of water in the water tank. The coffee machine includes a housing that defines a receiving space for the water tank.
Preferred embodiments will now be described, by way of non-limiting example, with reference to the accompanying drawings in which:
It will be appreciated that in other examples, and with reference to
The substance contained by the container in this examples above is water. In other examples, the substance could be any other liquid, a fluid including gas, or solids. The ability of preferred embodiments of the present invention to discriminate different levels of the substance within the container would depend at least in part on the permittivity value of the substance. As will be described in further details below, suitable parameters of the sensor system can be determined to optimise the discrimination ability depending on the substance contained in the container.
The container 200 is made from a non-conductive material such as polycarbonate. By way of further example, the container may be made from other plastics such as a thermoplastic. The container 200 in the embodiment as shown in
The housing 120 receives the container 200 in its receiving space. In the embodiment as shown in
In the embodiment as shown in
The coffee machine 100 has a control system that is configured to determine whether or not the container 200 is the receiving space. The control system may utilize an output signal from sensors of the level detection system, that will be described in further detail below, or may utilize other sensors (e.g. a pressure sensor or an optical sensor) for determining when the container 200 is or is not in the receiving space (i.e. whether the container 200 is absent or present in the receiving space). When the control system determines that the container 200 is not in the receiving space, the control system is configured to provide an output, on a display device of the coffee machine 100, to insert the container 200 in the receiving space and is configured to disable any coffee-making operations of the machine 100. The output may be any visual output, audio output, or a tactile output. When the control system determines that the container 200 is in the receiving space, the control system is configured to enable coffee-making operations of the machine 100. The control system is a microcontroller having a processor that is in communication with a computer-readable medium or computer memory.
The coffee machine 100 has a level detection system for determining a level of the substance in the container 200, that is—the level of the water in the water tank in the embodiment of
The control system of the coffee machine 100 is configured to determine the level of the substance in the container based on an output from the sensors of the level detection system and to display the determined level information on the display device. In the embodiment as shown in
In the embodiment as shown in
The first plate and the second plate are made from a conductive material such as aluminium, steel, or copper.
The first plate 142a is substantially non-parallel with respect to the second plate 142b. In particular, the first plate 142a is substantially perpendicular(90°) to the second plate 142b.
In addition, the first plate 142a and second plate 142b are positioned proximal to a corner of the receiving space. That is, the first and second plates are positioned near or adjacent an intersection between two wall portions of the housing 120 that define the receiving space. There is a spacing or gap between the edges of the first and second plates 142a, 142b closest to the corner (or the intersection) to prevent short-circuiting the capacitor.
One of the side wall portions of the housing 120, which defines the receiving space, has the first plate 142a, while the rear wall portion of the housing 120 has the second plate 142b. In other embodiments of the present invention, the second plate 142b may be on a bottom wall portion, or a top wall portion defining the receiving space. According to these other embodiments, the first plate 142a is on a side wall portion while the second plate 142b is on a bottom wall portion or the first plate 142a is on a side wall portion while the second plate 142b is on a top wall portion.
The first and second plates 142a, 142b are configured to hug or embrace the container 200 when the container 200 is in the receiving space. In particular, the first and second plates 142a, 142b touch wall portions of the container 200 when the container 200 is in the receiving space such that there is substantially no air gap between each of the first and the second plates 142a, 142b and the container 200.
Each of the first and second plates 142a, 142b has a flat rectangular shape. Each of the first and second plates is substantially flat. In other examples where the container 200 has one of more curved wall portions, the respective one of the first and second plates 142a, 142b that is to be positioned against the curved wall portion is also curved. It will thus be appreciated that the plates may be shaped or dimensioned to correspond to the shape or dimensions of the container 200.
In a preferred form, the first plate 142a and the second plate 142b each have a length that spans a substantial height of the receiving space. In one example, at least one of the first plate 142a and the second plate 142b spans at least 55% of a height of the receiving space, at least 60% of a height of the receiving space, or at least 70% of a height of the receiving space. Each of the first plate 142a and the second plate 142b has a width that is about 30% to 60% the length of the respective first plate and second plate, preferably between about 40% to 50% the length of the respective plate.
The first plate 142a, which is positioned on the side wall portion of the housing 120 defining the receiving space, has a length of 100 mm and a width of about 100 mm. The second plate 142b, which is positioned on the rear wall portion of the housing 120, has a length of about 100 mm and a width of about 40 mm. Each plate has a thickness of about 1 mm. The container 200 dimensions are about 190 mm in length by about 150 mm in width by about 170 mm in height. According to another example, the container 200 may have any other dimension including any one or more of a length of at least about 300 mm, a width of at least about 60 mm, and a height of at least about 180 mm.
In a preferred form, first plate 142a and the second plate 142b are each centrally located along a height of the receiving space. Where the second plate 142b is positioned on a bottom or top wall portion of the housing 120, the second plate is preferably centrally located along a width or depth of the receiving space.
The level detection system further includes reference capacitors for measuring stray capacitance in the receiving space, wherein the control system is configured to determine the level of liquid in the container 200 based on the stray capacitance measured by the reference capacitor(s). Each reference capacitor includes two plates that are each substantially vertically aligned with a respective plate 142a, 142b of the primary capacitor previously described. Each plate of the reference capacitor faces the same container 200 wall as a respective one of the plates 142a, 142b of the primary capacitor as shown in
The reference capacitors include an upper reference capacitor for measuring stray capacitance in an upper region of the receiving space. The upper reference capacitor includes a first plate 144a and a second plate 144b. The upper reference capacitor provides a stray capacitance measurement for a region of the receiving area in which there is no substance. The upper reference capacitor provides a dry′ reference capacitance for a dry region of the water tank. This dry region of the water tank may be the uppermost portion of the water tank, for example. In the embodiment shown in
The reference capacitors includes a lower reference capacitor for measuring stray capacitance in a lower region of the receiving space. The lower reference capacitor includes a first plate 146a and a second plate 146b. Preferably, the lower reference capacitor provides a stray capacitance value for a region of the receiving area in which there would normally be substance. The lower reference capacitor provides a ‘wet’ reference capacitance for a wet region of the water tank. In the embodiment shown in
In the embodiment as shown in
In an alternate arrangement, and as shown in
In a further alternate arrangement, and as shown in
In other embodiments (not shown), any one of the plates 185a, 185b, 185c, 185d, or 185e may be provided on the rear wall portion 175. It will be appreciated that the arrangement and the number of plates provided in the level detection system in the embodiments of
With reference to
An input signal from the frequency source (or a voltage oscillator) 330 is boosted by the booster 330. The boosted input signal is provided to the sensor 370, which provides an output signal that is a response to a level of substance in the receiving space and/or container 200. The output signal from the sensor is processed by the peak detector 390. The control system is configured to receive the processed output signal and determine the level of the substance contained in the receiving space and/or container 200 based on that processed output signal.
The sensor 370 includes a resistor connected in series with the capacitor to form a single order RC circuit. The RC circuit is in the form of a low pass filter circuit. One of the capacitor plates is connected to ground while the other capacitor plate is connected to the resistor. In one embodiment, the first plate of the capacitor is connected to ground while the second plate is connected to the resistor. In another embodiment, the first plate of the capacitor is connected to the resistor while the first plate is connected to ground.
The frequency of the input signal of the frequency source 330 and resistance value of the resistor in the sensor 370 are selected to provide the broadest detectable range possible in the output signal for different levels of substance in the container (e.g. from no volume to maximum volume). The dimension and/or shape of the first and second plates of the capacitor, the shape of the container, and the distance between the plates would affect the choice of frequency of the input signal that would provide the broadest detectable range possible in the output signal. The substance type, plate material, and wall material may have some bearing on the choice of resistance value of the resistor and/or the frequency of the input signal.
In the example described with reference to
Tables 1 to 3 to show the output signal voltages for various combinations of resistance and input signal frequency, from which the preferred example combinations listed above were chosen. For each resistor value, there is an optimal frequency where the range of the capacitor or DC voltage is maximum. The tables below show that the preferred example combinations listed above provide the broadest range in the capacitor voltage.
The boosted input signal to drive the conductor plates of the sensor is a square wave with an amplitude of 30 V. Typically, a square wave produced by the frequency source 330 of a microcontroller or a timer IC (such as 555 timer) is limited between 5V and 16V. The booster 350 boosts the amplitude of the square wave from the frequency source to the desired amplitude of 30 V. The booster 350 has a series capacitor for removing any DC offset in the input signal from the frequency source 330 to provide a square wave that oscillates from −2.5 V to +2.5 V. That square wave is provided to a switching arrangement that provides the boosted 60 Vpp output signal. In particular, when the square wave When the square wave from the series capacitor is +2.5 V, the switching arrangement switches to provide a +30 V boosted signal. When the square wave from the series capacitor is −2.5 V, the switching arrangement switches to provide a −30 V boosted signal.
The voltage across the conductor plates has the same frequency as the input signal while its amplitude changes in response to the substance level in the receiving space as previously described. The peak detector 390 the AC signal to a DC signal where the output DC voltage is approximately equal to the amplitude of the AC signal. The peak detector circuit provides an output signal between 0 and 5V that can be read by a microcontroller of the control system to determine the substance level.
The microcontroller digitises the DC voltage of the peak detector circuit. The raw samples from the analogue-to-digital converter (ADC) ranges from 0 to 1023 with a 10-bit resolution. The samples are divided by 10 and rounded so that the range is from 0 to 102. The samples are then filtered to remove any large fluctuation noise using either a median or low pass filter. The median filter could for example be 21st order median filter. The low pass filter could be a 1st order IIR low pass filter with coefficient, a=0.8, that is
The low pass filter was found to perform better than the median filter and it did not require sorting the data.
The microcontroller then determines, from the digitised filtered data, the corresponding substance level. The determination can be performed by a linear classification method or by a statistical classification method. The linear classification method assumes a linear relationship between the output signal voltage and the substance level. The statistical classification method, on the other hand, does not assume a linear relationship and instead models the output signal voltage and substance levels as discrete random variables. Their statistics are estimated from a set of training data and the substance level is deduced from the evaluated maximum likelihood from all water levels given a DC voltage from the test data.
These two classification methods will be described in further detail below. For simulation purposes, the DC voltage of the peak detector circuit was sampled at 50 samples per second with respect to water contained in the water tank. For each water level, 3000 samples were collected. The water level in the container ranges from 0 to 13 cm. For the simulation, the resistance value of the resistor of the sensor 370 and frequency of the input signal from the frequency source were set to 100 kOhm and 62 kHz, respectively. Each iteration randomly picks 10% of the data as test data and the remaining 90% as training data, yielding 300 test samples and 2700 training samples. To estimate the average performance, 100 iterations were run.
Given the linear model, y=mx+c, the two parameters, m and c, are estimated from a set of training data.
where ymax=13, ymin=0, xmax and xmin are the median of the samples at ymax and ymin, respectively.
Then, given a set of test data, x, we evaluate the water level, ŷ, and the error level, e=|ŷ−y|.
The statistical classification used is the Bayes classifier with maximum likelihood estimation.
For the estimation, X and Y denote the random variables of the filtered data and water level, respectively. Given any x, the conditional probability is evaluated for each possible Y, P(Y|X=x), then the most likely outcome is where the conditional probability is the greatest. The conditional probabilities are calculated using Bayes' theorem.
where P(X|Y) is the conditional probability of a filtered sample given a water level, P(X) and P(Y) are the marginal probability of X and Y, respectively.
P(X|Y) and P(X) are estimated from a set of training data randomly picked from the filtered data and their associated water level. The training data has 2700 samples for each water level. The conditional probability is then estimated from the histogram of each set of 2700 samples. The marginal probability is estimated from the histogram of the whole sets across all water levels. P(Y) is assumed to be uniform. Given water levels from 0 to 13, P(Y)= 1/14, Given 103 possible values from the ADC and 14 water levels, there are 1442 conditional probability and 117 marginal probability values to store in the microcontroller.
This assignment is a ‘hard’ classification.
Alternatively, the water level of x can be set to Σi yiP(Y=yi|X=x). The resulting water level is then no longer discrete, as depicted in
The average absolute error of hard and soft classifications is 0.005±0.001 and 0.008±0.001, respectively, as shown in
With respect to the statistical classification method, the level detection system includes: a look-up table, stored in computer memory of the microcontroller. The lookup table stores the conditional probability and marginal probability values previously described. The processor is configured to determine the level of the substance in the container based on the output signal from the sensor and based on the probability values stored in the look-up table.
Referring to
For the drip tray embodiment as shown in
For the water tank embodiment as shown in
It will be appreciated that the above arrangement of the drip tray embodiment as shown in
The various embodiments of the present invention described above have been presented by way of example only, and not by way of limitation. It will be apparent to a person skilled in the relevant art that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. The present invention should not be limited by any of the exemplary embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
2021901909 | Jun 2021 | AU | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/AU2022/050644 | 6/24/2022 | WO |