# Patent

## Title
Make-up dispense in a mass based dispensing system

## Abstract

A chemical product dispenser dispenses a chemical product having at least one active ingredient during a primary dispense cycle based on time or some other factor. After the chemical product has been dispensed, the dispenser determines the amount of chemical product that was dispensed. The dispenser then determines whether the dispensed amount of chemical product is within a defined threshold of a desired amount. If not, the dispenser proceeds to dispense additional chemical product during one or more make-up dispense cycles until the threshold is satisfied.

## Background
TECHNICAL FIELD
The invention relates generally to chemical product dispensing.
BACKGROUND
Dispensing systems to dispense an ingredient for a commercial purpose have been widely used in many industries. For example, in the restaurant industry, warewashing systems are employed to rapidly wash large quantities of eating utensils, plates, pots, pans, glassware, etc. In another example in the hotel industry, linens, towels, clothing and the like are washed in commercial cleaning systems. Such systems commonly employ dispensers to dispense chemicals, such as detergents, to effectively perform the washing function.
Many types of dispensers and control systems for such dispensers have been utilized. Such dispensers, control systems and methods for controlling such dispensers have utilized a variety of techniques. As one example, such methods may dispense a predetermined amount of the ingredient into the cleaning apparatus for each cycle of the apparatus. Other systems and methods attempt to determine when the ingredient needs to be replenished in the cleaning apparatus by measuring a characteristic of the cleaning apparatus, e.g., measuring the conductivity of a use solution to determine when additional detergent needs to be added.
SUMMARY
In general, the invention relates to dispensation of chemical products. A chemical product dispenser dispenses a chemical product during a primary dispense cycle based on time or some other factor. After completion of the primary dispense cycle, the dispenser determines the amount of chemical product that was dispensed. The dispenser then determines whether the dispensed amount of chemical product is within a defined threshold of a desired amount. If not, the dispenser proceeds to dispense additional chemical product during one or more make-up dispense cycles until the threshold is satisfied.
In one embodiment, the invention is directed to a method including dispensing a chemical product during a primary dispense cycle, determining a dispensed amount of the chemical product based on a change in weight of the chemical product during the primary dispense cycle, calculating the difference between a desired amount of the chemical product and the dispensed amount of the chemical product and determining whether a make-up dispense cycle is required based on the difference.
The method may further include determining a dispense rate corresponding to the primary dispense cycle, if a make-up dispense cycle is required, computing a make-up dispense cycle time based on the difference between the desired amount and the dispensed amount and the dispense rate corresponding to the primary dispense cycle, and executing the required make-up dispense cycle by dispensing the chemical product for the computed make-up dispense time.
In another embodiment, the invention is direct to a system including a chemical product dispenser that dispenses a chemical product during a primary dispense cycle for a primary dispense time, a measuring instrument that determines a starting weight of the chemical product at the beginning of the primary dispense cycle and that determines an ending weight of the chemical product at the end of the primary dispense cycle and a controller that determines a dispensed amount of the chemical product based on a difference between the starting weight of the chemical product and the ending weight of the chemical product, calculates a difference between a desired amount of the chemical product and the dispensed amount of the chemical product, and determines whether a make-up dispense cycle is required based on the difference.
In addition, the controller may further determine a dispense rate corresponding to the primary dispense cycle and, if a make-up dispense cycle is required, compute a make-up dispense time based on the difference between the desired amount and the dispensed amount and the dispense rate corresponding to the primary dispense cycle, and wherein the dispenser dispenses the chemical product for the computed make-up dispense time during the required make-up dispense cycle.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features and advantages of the invention will be apparent from the description and drawings, and from the claims.



BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is an illustration of a dispenser in which some or all of methods of the present invention may find usefulness.
FIG. 2 is a chart illustrating the weight of a dispensing ingredient of the dispenser of FIG. 1.
FIG. 3 is a flow chart illustrating an example of the invention in which an ingredient is dispensed by eroding the ingredient with a diluent.
FIG. 4 is a flow chart illustrating a first portion of a more detailed example of the method illustrated in FIG. 3.
FIG. 5 is a flow chart illustrating a second portion of the method of FIG. 4.
FIG. 6 is a flow chart illustrating an example of the invention in which an ingredient is dispensed based on the result of a previous dispense cycle.
FIG. 7 is a flow chart illustrating a more detailed example of the method illustrated in FIG. 6.
FIG. 8 is a flow chart illustrating a first portion of an example of the invention in which an amount of an ingredient is dispensed based upon a predicted amount of the ingredient needed to maintain an effectiveness of the ingredient.
FIG. 9 is a flow chart illustrating a second portion of the method of FIG. 8.
FIG. 10 is a flow chart illustrating an alternative example of the method illustrated in FIG. 8 and FIG. 9.
FIG. 11 is a flowchart illustrating an example chemical product dispensing process that includes a make-up dispense.
FIG. 12 is a graph of product weight vs. time illustrating an example of a primary dispense cycle and an associated make-up dispense cycle.
FIG. 13 is a block diagram illustrating an example of a chemical product dispenser that includes make-up dispense cycle capability.



DETAILED DESCRIPTION
The methods of the present invention can be described, as an example, being used in conjunction with a mass based dispensing system such as a dispensing system described in U.S. Pat. No. 7,201,290, to Mehus et al., issued Apr. 10, 2007 and entitled “Method and Apparatus For Mass Based Dispensing,” which is incorporated herein by reference. The dispenser described therein is shown generally in FIG. 1. Dispenser 10 includes a housing 12 that has an outer wall 12 having a cavity (not shown). Outer wall 12 has a larger diameter at the top so as to accommodate a chemical product capsule or other chemical product (not shown). The product capsule, in this example, contains a solid block of a chemical product, or ingredient, to be dispensed. In other examples, the chemical product need not be contained in a product capsule, and may instead be placed directly into the dispenser. The chemical product may also be an extruded chemical product, a pressed chemical product, tablets, a powder, a gel, a paste, a liquid, or other form of chemical product, whether contained in a product capsule or placed directly into the dispenser. However, by way of example and not limitation, an implementation in which a solid product is eroded with a diluent will be described for purposes of illustration.
In this example, inlet hose 15 allows a diluent to be sprayed into capsule and onto the block of ingredient to be dispensed effectively eroding a portion of the block of ingredient. Sump region 12 c provides for a collection region for a use solution of the eroded ingredient and the diluent. Hose 17 is connected to outlet 14 allowing the use solution to be directed to a desired location. Load cell 22 measures that combined weight of capsule, the block of ingredient and any diluent contained in capsule.
Dispenser 10 operates by spraying a diluent through inlet host 15 into capsule and onto the block of ingredient. As the block of ingredient is eroded, a mixture of eroded ingredient and diluent is discharged from dispenser 10 through hose 17. Load cell 22 accurately measures the combined weight before the diluent is sprayed onto the block of ingredient, while the diluent is sprayed onto the block of ingredient and after the diluent is sprayed onto the block of ingredient.
FIG. 2 is a chart illustrating the effect of the spray of diluent onto the block of ingredient in the dispenser of FIG. 1. The mantissa is time and the ordinate is weight in grams. Time 50 before the initiation of spray represents the starting combined weight, netted out at approximately zero (0) grams, for purposes of illustration. Spray is initiated at time 52 at which point two things begin to happen. First, pressure from the diluent sprayed on the underside of the block of ingredient relieves some of the combined weight from load cell 22. Second, the added weight from diluent accumulating in capsule tends to cause an increased combined weight. Thus, the combined weight on load cell 22 initially decreases until time 54 at which point the combined weight reaches an initial minimum of approximately minus four (−4) grams. Following time 54, the added weight of the diluent in capsule causes the combined weight to rather significantly increase. Over time, however, the added weight of the diluent in capsule tends to stabilize as the block of ingredient is eroded. As the block of ingredient is eroded, its weight decreases. Thus, at time 56 the combined weight reaches a maximum at approximately sixteen (16) grams. Following time 56 the block of ingredient continues to be eroded as the diluent continues to spray. Since the added weight of the diluent in capsule has stabilized, the combined weight continues to decrease during time 58 until the spray is discontinued. The spray of diluent is discontinued at time 60 causing a momentary weight gain for the combined weight as the upward pressure on the block of ingredient is discontinued. Following a momentary weight gain caused by the lack of upward pressure on the block of ingredient by the spray of diluent, diluent continues to drain from capsule during time period 62 resulting in the near final weight at time 64 of approximately minus twenty-six (−26) grams.
The difference between the starting weight at time 50 of approximately zero (0) grams and the ending weight of approximately minus twenty-six (−26) grams, once the diluent has drained from capsule, of twenty-six (26) grams represents the amount of ingredient dispensed. However, note that the difference between the maximum weight of approximately sixteen (16) grams and the weight at time 60 of approximately minus nine (−9) grams when spray is discontinued is only twenty-five (25) grams. This is because ingredient was eroded from the block of ingredient during time 66, between time 52 when spray is begun and time 56 when the maximum is measured, and also during time 62 as diluent drains from capsule.
This process can be more readily understood with reference to the flow chart of FIG. 3. A requested amount of the ingredient requested is set (110). Load cell 22 weighs the ingredient (112). A valve is turned on (114) at time 52 initiating the spray of diluent against the block of ingredient. Optionally, the process waits (116) for a minimum weight at time 54 to be reached. The process waits (118) for diluent being added by spray to accumulate in capsule and increase the combined weight. Note that if the step represented by (116) is omitted, it is still proper to wait for weight gain in (118). Alternatively, if the step represented by (116) is not omitted then it is no longer necessary to wait for weight gain and the step represented by (118). Alternatively, the steps represented by both (116) and (118) could be omitted in the process could continue directly to (120). In (120), the method searches for a maximum combined weight at time 56 and, once found, records that peak weight (122). Again optionally, the process waits for weight loss (124). Load cell 22 measures (126) the amount of weight lost from the maximum or peak weight recorded. Optionally, the process adjusts for an offset (128) which is explained below. The process determines (130) whether the measured weight lost is equal to an amount which will result in a dispensed amount of ingredient which equals the requested amount. When such a determination is made, the valve is turned off (132) discontinuing the spray of diluent against the block of ingredient. The process stops (134) until the process is repeated by again setting a requested amount (110).
Since some ingredient will be eroded from the block of ingredient during time 66 (between time 52 when spray is initiated and time 56 when weight loss begins to be recorded) and during time 62 (while remaining diluent drains from capsule), the amount of weight lost from capsule during time 58 does not necessarily equal the total weight of the ingredient eroded and, hence, dispensed. However, an amount of the ingredient which is additionally dispensed during time 66 and time 62 can be calculated and/or estimated by a variety of means. For example, this amount can be determined empirically from previous dispensed cycles. Alternatively, the slope of curve 48 during all or a portion of time 58 may be determined and an original maximum 68 may be determined by regression to account for an amount of the ingredient eroded during time 66. The amount of additional ingredient eroded during times 66 and 62 can be accounted for in the method in block 128 by adjusting the time 60 at which the spray of the diluent is discontinued. For example, if it is determined that the additional amount of the ingredient dispensed during time periods 66 and 62 is equal to approximately one (1) gram, then time 60 can be adjusted to turn off the spray of diluent when the measured weight loss is equal to the requested amount of ingredient minus one (1) gram.
FIG. 4 is a flow chart illustrating a more detailed example process. The process starts waiting for a dispense request (150). A determination is made (152) whether or not a dispensed request has occurred. The starting weight is logged, the requested amount is determined and the diluent spray valve is turned on (154). The initial weight loss is evaluated (156). If the weight loss is excessive (158) a fault is recorded (160). The weight gain is evaluated (162) to determine if a peak weight has been reached (164).
If a peak weight has been reached, the peak weight is recorded (166) and a branch is made to compute an offset value (168). Dispensing continues (170) and the offset (from offset value in (172) is subtracted (174) from the requested amount. If the requested amount is greater (176) than the amount remaining, a determination is made (178) whether the capsule is empty. If the capsule is empty, the spray valve is turned off (180) and an alarm is sounded (182). If the capsule is not empty or if the requested amount is still greater than the amount remaining, the current weight is subtracted from the previous weight and added to the startup offset (184). If the startup offset plus the previous weight equals the requested amount (186), the spray valve is turned off (188), the process waits (190) and updates the offset buffer (192) before returning to the wait for dispense request at (150). However, if (186) the startup offset plus the previous weight is not equal to the requested amount, and the process returns to (184) and the current weight is again subtracted from the previous weight and added to the startup offset (184).
FIG. 5 is a flow chart illustrating the offset value calculation from the flow chart illustrated in FIG. 4. From the offset value in FIG. 4 (194), the process determines whether this is the capsule's first dispense cycle (196). If it is, the process uses a predetermined new capsule startup value (198) before updating the FIFO buffer with the new offset amount (200) and returning (202) to the offset value in FIG. 4. If however (at 196) it is not the capsule's first dispense cycle, the process determines (204) if it is the capsule's second dispense cycle. If it is, an average (206) between the predetermined new capsule startup value and an empirical result from the first dispense cycle is sent to the FIFO buffer (200) and the process returns to FIG. 4 (202). If however (204) it is not the capsule's second dispense cycle, the process determines (208) if it is the capsule's third dispense cycle. If it is, an average (210) of a new capsule startup value and empirical result from the first and second dispense cycles is sent to the FIFO buffer (200) and the process returns to FIG. 4 (202). If however (208) it is not the capsule's third dispense cycle, then an average (212) of the empirical result from the capsule's last three dispensed cycles are used as an offset and sent to the FIFO buffer (200) and the process returns to FIG. 4 (202).
An alternative example of a method of the present invention is illustrated in the flow chart of FIG. 6 which can be utilized, for example, in a dispenser which dispenses an ingredient for a predetermined period of time in each of a plurality of cycles. A desired weight of an amount of the ingredient to be dispensed is determined (220). The initial weight is measured (222). A determination is made (224) on whether the initial weight is greater than the weight of an empty capsule. If the initial weight is not greater than the weight of an empty capsule, the capsule may be changed (226) and the process again measures the initial weight (222). If however the initial weight is greater than the empty weight, the ingredient is dispensed (228) for the predetermined period of time. Following dispensing, the amount of dispensed ingredient is determined (230). If the amount actually dispensed should disagree with the desired amount to be dispensed, the period of time for the next dispense period (228) is appropriately adjusted (232). The initial weight is then set to be equal to the final weight (234) to properly enable the next dispense cycle.
FIG. 7 is a flow chart illustrating a more detailed example method of FIG. 6. Again, the weight to be dispensed is set (220) and the initial weight is measured (222). Similarly, a determination (224) is made on whether the capsule is empty and whether the capsule should be changed (226). Also similarly, the ingredient is dispensed for a predetermined period of time (228). Following dispensing, the process waits (236) for any remaining diluent to drain from the capsule. The final weight is measured (238) and the dispensed weight is determined (240). The weight dispensed is compared (242) to the set weight and the predetermined period of time to dispense for the next cycle is adjusted (232) appropriately. As an example, if the amount dispensed is greater than the set amount, then the period of time to dispense would be adjusted downward. However, if the amount dispensed is less than the set amount, then the period of time to dispense would be adjusted upward. And, of course, if the amount dispensed equals the set amount no adjustment need be made. The initial weight is then set to be equal to the final weight (234) to properly enable the next dispense cycle.
An alternative example of a method of the present invention is illustrated in the flow chart of FIG. 8 and FIG. 9 which can be utilized in any of the dispensers described or other dispensers. The process first waits for a dispense request (250) using the determination (252) based on whether a cycle signal has been received. Once a cycle signal is received, the process measures a factor which, at least in part, is indicative of the effectiveness of the ingredient being dispensed into the machine in which the ingredient is utilized. In one example in a machine in which the ingredient is dispensed into a use solution in a sump, a measurement of the pH of the use solution is indicative of an amount of detergent (for example, an alkaline detergent) contained in the use solution. Thus, by measuring a factor such as pH, a dispenser can predict an amount of ingredient, in this case detergent, which should be dispensed into the machine. It is recognized and understood that the pH of a use solution is just an example of one of many factors which may be indicative of the effectiveness of the ingredient being dispensed. For example with warewashing machines, other examples could include temperature, turbidity, conductivity, water pressure, or another factor not related to the use solution per se such as a degree of soiling of the dishes or the length of time since the last cycle.
In FIG. 9, the pH is measured (254) and a determination (256) on whether the measured pH is greater than an upper limit is made. If the pH is greater than the upper limit, the machine already has too much detergent, the present dispense cycle is skipped and the process returns to 250 to wait for the next dispense request. If, however, the measured pH is not greater than the upper limit, a determination (258) is made on whether the pH is lower than a lower limit. If not, then the detergent amount is within a normal range and the process dispenses (260) a regular amount of detergent for the current dispense cycle. If however, the measured pH is lower than a lower limit, then a determination is made (262) on whether the pH is so low that it is below a fresh water limit which would indicate that the machine's sump has been drained and refilled with fresh water. If it is, a larger refill amount of detergent is dispensed (264). If it is not, the amount of detergent is below the normal range but not so low as to require a refill amount dispense amount. In this case, the regular dispense amount is increased (266) to account for the low amount of detergent. Following (260, 264 and 266), the process returns to FIG. 8 and dispenses (268) the requested amount of detergent.
FIG. 10 is a flow chart illustrating generally how the predictive process of FIG. 9 can be integrated in a dispensing method previously illustrated in FIG. 3. Instead of setting the amount of ingredient to be dispensed (as is done in FIG. 3), the process waits for a dispense request (250) and determines (252) whether a dispense cycle has been requested. If a dispense cycle has been requested, the amount of the ingredient which needs to be dispensed is predicted (270) using the techniques illustrated in FIG. 9. Essentially having substituted the predictive process of FIG. 9 for the manual setting of FIG. 3, the process of FIG. 10 continues essentially identical to the process illustrated in FIG. 3 beginning with (112) without optional steps represented by (124) and (128).
While the methods have been described throughout this description as being useful or utilized in an apparatus in the cleaning industry, for example a warewashing or laundry machine, it is to be recognized and understood that the methods of the present invention have usefulness in other applications as well.
A description of alternative methods of dispensing related to the present invention are described in co-pending U.S. patent application Ser. No. 10/436,888, entitled “Methods of Managing Based on Measurements of Actual Use of Product,” by Bryan Maser et al, the entire content of which is incorporated herein by reference.
The present invention has applicability in many areas in addition to those already discussed. The following is a list of at least some of the areas in which the invention may be used. In the area of pest elimination dispensing equipment, a load cell could be utilized to measure a pre-set amount of ready-to-use insecticide which would enable the user to document proof of delivery for regulatory compliance, while ensuring a consistent dose was used for each application. Use in the vehicle cleaning market could encompass the use of a chemical measurement device for a vehicle care product dispenser. The product could be in a solid, liquid, gel, paste, pellets, tablets, or other form. Delivery would be by conventional means such as a recirculating system for solid products or pump systems for liquids or gels. The load cell would measure precise weight changes in the product being delivered to create a ready-to-use solution or an intermediate solution that can be diluted at a user's convenience.
Still another area where the present invention could be utilized is in the janitorial and health care areas. The janitorial business would be able to utilize the technology of the present invention for accurately dispensing two component chemistries as well as cross linking chemistries for floor care. For health care, the present invention would be able to be utilized for proof of delivery for sanitizers and disinfectants. There is also the need to deliver very accurate amounts of chemistry for instrument care and hard surface cleaning. The technology would be available for both liquid and solid products. The present invention is also applicable for housekeeping. The invention is able to be utilized as a platform for accurate solid, liquid or concentrate proportioning when it is used in conjunction with a device that can quantify an amount of water passing through a pipe. For example, if a known volume of water is used, and the load cell could detect the amount of concentrate dispensed, a proportion would be known. So in an accurate dispenser of this kind, the user would set a proportion. While water is filling up the use vessel, the concentrate is dispensed. Dispensing the concentrate occurs until the proportion is satisfied. If a known amount of water is passed through a pipe in a fixed time, the dispenser could dispense the concentrate to satisfy the proportion. For example, if 100 milliliters of water is passed through the dispenser, a known amount of concentrate would be needed to satisfy the set proportion. The known amount of concentrate could be dispensed and stopped, when the load cell is satisfied. The present invention is also applicable for laundry systems. The foregoing is not an exhaustive list but are just further examples of the applicability of the present invention.
In another example, a chemical product dispenser dispenses a chemical product having at least one active ingredient during a primary dispense cycle based on time or some other factor, and may also dispense the chemical product during a make-up dispense cycle. After completion of the primary dispense cycle, the dispenser determines the amount of chemical product that was dispensed. The dispenser then determines whether the dispensed amount of chemical product is within a defined threshold of the desired amount. If not, in this example, the dispenser proceeds to dispense additional chemical product during one or more make-up dispense cycles until the threshold is satisfied.
FIG. 13 is a block diagram illustrating an example of a chemical product dispenser that includes make-up dispense cycle capability. In this generalized example, a dispenser 20 includes a controller 23, a user interface 24 a memory 25, a measurement instrument 22 and a dispense mechanism 21. Controller 23 manages dispensing of chemical product by controlling the dispense mechanism (e.g., an electronically controllable valve that dispenses a fluid chemical product, a dispenser that sprays a solid block of chemical product with a diluent, a pellet dispenser, a flow meter, or some other electronically controllable dispense mechanism) that dispenses the chemical product. Measuring instrument 22 determines the weight of the chemical product at various points throughout the product dispense cycle. Memory 25 stores the data and control software that governs operation of the controller 23. For example, memory 25 may include dispenser settings 26 that specify target amounts for one or more chemical product(s) to be dispensed; timing, sequences and amounts of one or more chemical products to be dispensed; or other dispenser settings. Memory 25 may also include a primary/make-up dispense module 27 that allows controller to manage dispensing of the chemical product during the primary dispense cycle and provides make-up dispense cycle capability.
As discussed above, the chemical product to be dispensed may be contained within a product capsule, or may be loaded directly into the relevant chemical product dispenser, such as into a product reservoir, tank, tray, hopper, etc. within the dispenser. The chemical product may be a solid concentrate; an extruded solid; a pressed solid; a liquid; a gel; a powder; a paste; may take the form of tablets, pellets or other form of unit dose of the chemical product; or may be any other form of chemical product known or will be known to those of skill in the art. In general, the invention is not limited with respect to the form of the chemical product and/or the particular mechanism by which they are dispensed. Rather, it shall be understood that the invention relates generally to mass or weight-based dispensation of chemical product, regardless of the form of the chemical product or the particular mechanism by which the chemical product is dispensed. Thus, for example, solid products (whether extruded, pressed, or other form of solid product) may be dispensed via erosion with a diluent, chipping, blocking or cutting; liquids or gels may be dispensed via pumping or via gravity from a chemical product container or, if loaded directly into the dispenser, from a reservoir within the dispenser; pastes may be dispensed from a squeeze tube; tablets or pellets may be dispensed via a mechanical mechanism for releasing tablets or pellets; powders may be dispensed from a product capsule or from a reservoir within a product container, etc. Any of these such chemical products/dispensers may incorporate mass or weight-based dispensing, and the make-up dispense cycle described herein may thus be incorporated into any of such chemical product dispensing systems.
In addition, although an example mass or weight based dispensing system utilizing load cells and strain gauges as the mechanism for determining the mass or weight of the chemical product is described above, it shall be understood that other implementations may also be used, and that the invention is not limited in this respect. For example, the measuring instrument (shown in general as measurement instrument 22 in FIG. 13) that determines the mass or weight of the chemical product used in a particular system implementation may depend in part upon one or more of the following: the dispenser type, the dispenser configuration, the type of chemical product being dispensed, and/or the type of container or capsule (if any) from which the chemical product is to be dispensed. Thus, it shall be understood that the mass or weight of the chemical product may be determined using any appropriate measuring instrument for determining mass or weight, such as analog scales, digital or electronic scales, platform scales, hanging scales, spring scales, balance scales, hydraulic scales, other mechanisms for measuring displacement of a beam (such as optical sensors, capacitive sensor, linear displacement sensor, etc.), and others.
FIG. 11 is a flowchart illustrating an example chemical product dispensing process 450 that includes at least one make-up dispense cycle. In the example process of FIG. 11, the process is described in general with respect to a dispenser that dispenses on the basis of time. More specifically, process 450 is described with respect to a dispenser that dispenses a chemical product by eroding the chemical product with a diluent for a predetermined period of time (the “dispense time”). However, it shall be understood that process 450 may be adapted for dispensers that dispense via means other than eroding, or that dispense based on other factor(s). For example, the process 450 may be adapted for use in a dispenser that dispenses a liquid chemical product for a predetermined period of time (e.g., dispense for a predetermined amount of time at a given flow rate to dispense a desired amount of the liquid chemical product). As another example, the process 450 may be adapted for dispensers that control or predict an amount of chemical product to be dispensed based on pH, temperature, turbidity, conductivity, water pressure or other factor. It shall be understood, therefore, that although the make-up dispense process is described and shown herein with reference to dispenser that dispense on the basis of time, it shall be understood that the invention is not limited in this respect.
A dispense cycle begins when a dispense request is received (400) at which point the controller (such as controller 23 in FIG. 13) gets the starting weight (402) of the chemical product remaining in the dispenser. In this example, the starting weight may be the current weight of the chemical product remaining in the dispenser as determined after the previous dispense request and stored in memory, or the current weight may be measured directly. Alternatively, the starting weight may be the weight of a new chemical product after it has been loaded into the dispenser if this is the chemical product's first dispense cycle.
The controller computes the dispense time required to dispense the requested amount of chemical product during the primary dispense cycle (404). To compute the dispense time for the primary dispense cycle, the controller divides the desired amount of product to be dispensed by the dispense rate. The dispense rate used to compute the dispense time may be the dispense rate corresponding to the previous primary dispense cycle. This is because the dispense rate corresponding to the previous primary dispense cycle may be a good indicator of the dispense rate that will be experienced during the current primary dispense cycle. Alternatively, the dispense rate used to compute the dispense time may be an average (or mean, or other mathematical construct) of a plurality of dispense rates each corresponding to one of a plurality of previous primary dispense cycles (i.e., an “averaged dispense rate”), where the determined number of previous primary dispense cycles used for the averaging may be any integer between 1 and the total number of primary dispense cycles since the chemical product was initially loaded into the dispenser. This is because the so-called averaged dispense rate may be a good indicator of the dispense rate that will be experienced during the current primary dispense cycle.
For example, when using the dispense rate corresponding to the previous primary dispense, i−1, the primary dispense time for the current primary dispense cycle, i, may be determined using the equation:

(primary dispense timei)=(desired amounti)/(primary dispense ratei−1)

Alternatively, as mentioned above, the primary dispense rates corresponding to the previous n primary dispenses may be averaged:

(primary dispense timei)=(desired amounti)/avg(primary dispense ratei−1, i−2 . . . (i−n))

After the primary dispense time is computed (404), the controller begins the primary dispense cycle (405). The primary dispense cycle continues until the primary dispense cycle is complete (406). In this example, the primary dispense cycle is complete when the computed primary dispense time has elapsed. In other examples, the primary dispense cycle is complete when the relevant factor is satisfied.
In this example in which a solid block of chemical product is eroded with a diluent, when the primary dispense cycle is complete (406) the controller waits for a predetermined period of time referred to as the settling time (408). The settling time is a predetermined amount of time required for remaining diluent to drain from the product capsule and/or the dispenser housing, and for the measurement system to come to equilibrium. However, it shall be understood that in other types of dispensing systems (e.g., those not based on eroding a chemical product with a diluent) such a settling time may not be required, and that the invention is not limited in this respect. The controller then measures the ending weight of the chemical product and determines the dispensed amount (410).
For example, the controller may determine the dispensed amount by subtracting the ending weight remaining after the primary dispense cycle from the starting weight at the beginning of the primary dispense cycle:

(primary dispensed amounti)=(primary starting amounti)−(primary ending amounti).

Once the dispensed amount has been determined, the controller determines the primary dispense rate corresponding to the just completed primary dispense cycle (412). For example, the dispense rate corresponding to the just completed primary dispense cycle, i, may be determined using the equation:

primary dispense ratei=(dispensed amounti)/(primary dispense timei).

The primary dispense rate corresponding to the just completed primary dispense cycle (primary dispense ratei) may be used to compute the dispense time of the next primary dispense cycle (dispense timei+1), or it may be combined as described above with the dispense rates corresponding to the previous n primary dispense cycles.
Once primary dispense cycle is complete, the controller further determines whether a make-up dispense cycle is required (414). To determine whether a make-up dispense cycle is required, the controller determines the difference between the dispensed amount and the desired amount. If the difference between the dispensed amount and the desired amount satisfies a make-up threshold, a make-up dispense cycle is not required. For example, if the make-up threshold is 0.5 grams, and the difference between the dispensed amount and the desired amount is less than 0.5 grams, or if the dispensed amount is greater than the desired amount, a make-up dispense cycle is not required. If no make-up dispense cycle is required, the controller may update the dispenser memory with the dispense information from the just-completed primary dispense cycle (e.g., the dispense rate, the amount of chemical product dispensed, date and time stamp, increment the number of times chemical product has been dispensed, etc.) (416). The controller then waits for the next dispense request (428).
If the difference between the dispensed amount and the desired amount does not satisfy the make-up threshold, the controller may determine that a make-up dispense cycle is required (414). For example if the make-up threshold is 0.5 grams, and the difference between the desired amount and the dispensed amount is greater than 0.5 grams, the controller may determine that a make-up dispense cycle is required. It shall be understood that the make-up threshold may be greater or less than 0.5 grams and that the make-up threshold may depend upon several factors, such as the starting weight of the chemical product, the type of chemical product being dispensed, the desired amount of chemical product to be dispensed, and/or the accuracy required for the particular chemical product being dispensed (in some applications, higher accuracy of the dispensed amount may be required than in other applications). The make-up threshold may be expressed in terms of an absolute weight (e.g., 0.5 grams, 1 gram, 0.1 lbs, 0.25 kg, 2 kg, etc.), by a percentage of the desired dispensed amount (e.g., within 0.5%, 1%, 5%, etc.), or by some other means. It shall be understood, therefore, that the invention is not limited in these respects.
If a make-up dispense cycle is required (414) the controller proceeds to execute at least one make-up dispense cycle. The controller gets the starting weight of the chemical product (418). In this example, if this is the first make-up dispense cycle, the starting weight (418) will be the ending weight determined from the associated primary dispense cycle (410). If this is not the first make-up dispense cycle, the starting weight (418) will be the ending weight determined from the previous make-up dispense cycle (426). Alternatively, the starting weight could be measured directly.
The controller computes the make-up dispense time required to dispense the difference between the dispensed amount and the desired amount (420). The controller may compute the make-up dispense time by dividing the difference between the dispensed amount and the desired amount by the dispense rate corresponding to the associated primary dispense cycle (shown for simplicity in the following equation), or by an average of a plurality of dispense rates each corresponding to one of a plurality of previous primary dispense cycles:

(make-up dispense timei)=(differencei)/(primary dispense ratei)

The controller then controls the dispenser to begin the make-up dispense cycle (421) and continues dispensing of chemical product until the make-up dispense cycle is complete (in this example, when the make-up dispense time has elapsed). The controller waits for the settling time (424) (if applicable), measures the ending weight after the make-up dispense cycle and computes the total dispensed amount (426):

(dispensed amounttotal)=(primary starting amounti)−(make-up ending amounti).

The controller then compares the difference between the desired amount and the total dispensed amount and determines whether the make-up threshold is satisfied. If not, further make-up dispense cycles may be executed (418-426) in an iterative fashion until the make-up threshold is satisfied (414).
In this example, the controller uses the dispense rate corresponding to the associated primary dispense cycle or for an average of the previous n primary dispense cycles to compute the dispense time for each iterative make-up dispense cycle. Alternatively, the dispense rate corresponding to each make-up dispense cycle (if any) may also be calculated and taken into account along with the dispense rates corresponding to the primary dispense cycle(s).
FIG. 12 is an example graph of product weight versus time for a primary dispense cycle 430 and an associated make-up dispense cycle 432. At time 434, a dispense request is received, the primary dispense cycle time is computed and the primary dispense cycle begins. The primary dispense cycle continues until time 436 (after the computed primary dispense time has elapsed), at which point the dispensing is discontinued. Because in this example chemical product is dispensed by eroding the chemical product with a diluent, discontinuing the spray of diluent at time 436 results in a momentary weight gain (e.g., at time 438) for the combined weight as the upward pressure on the block of ingredient is discontinued. Following the momentary weight gain cause by the lack of upward pressure on the block of ingredient by the spray of diluent, diluent continues to drain from capsule resulting in the ending weight of the primary dispense cycle at approximately time 440.
At time 440, the dispensed amount of chemical product is determined. The difference between the starting weight (approximately 3150 grams at time 434 in this example) and the ending weight (approximately 3106 grams at time 440 in this example) once the diluent has drained from the capsule (in this example, or from the dispenser reservoir if the chemical product is not contained in a capsule) represents the amount dispensed (44 grams in this example). In addition, the dispense rate (dispensed amount/dispense time (from time 434 to time 436)) corresponding to the primary dispense is determined.
Also at time 440, the system determines whether a make-up dispense is required. Assuming, for purposes of this example, that the desired amount to be dispensed is 50 grams, and that the make-up threshold is 1 gram (or 0.5%), a comparison of the desired amount and the dispensed amount yields a difference of 6 grams (50 grams−44 grams=6 grams). The make-up threshold is therefore not satisfied and a make-up dispense cycle 432 is initiated at time 442.
The make-up dispense cycle time is determined and the make-up dispense cycle is initiated. The make-up dispense cycle continues until time 444, at which point the make-up dispense cycle time has elapsed and dispensing of the product is discontinued. Once again, in this example, discontinuing the spray of diluent at time 444 results in a momentary weight gain (e.g., at time 446) for the combined weight as the upward pressure on the block of ingredient is discontinued. Following the momentary weight gain cause by the lack of upward pressure on the block of ingredient by the spray of diluent, diluent continues to drain from capsule resulting in the ending weight of the make-up dispense cycle at approximately time 448.
At time 448, the total amount dispensed during the primary and make-up dispense cycles is determined. The difference between the starting weight (approximately 3150 grams at time 434 in this example) and the ending weight (approximately 3107 grams at time 3099 in this example) once the diluent has drained from capsule (51 grams in this example) represents the total amount dispensed during the primary and make-up dispense cycles.
Also at time 448, the system determines whether another make-up dispense cycle is required. In this example, a comparison of the desired amount and the total dispensed amount yields a difference of −1 grams (50 grams−51 grams=−1 grams). The make-up threshold is therefore satisfied and no further make-up dispense cycles are required in this example. However, if at time 448 the make-up threshold were not satisfied, additional make-up dispenses could be executed until the make-up threshold is satisfied.
The techniques described in this disclosure, including functions performed by a controller, control unit, or control system, may be implemented within one or more of a general purpose microprocessor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA), programmable logic devices (PLDs), or other equivalent logic devices. Accordingly, the terms “processor” or “controller,” as used herein, may refer to any one or more of the foregoing structures or any other structure suitable for implementation of the techniques described herein.
The various components illustrated herein may be realized by any suitable combination of hardware, software, firmware. In the figures, various components are depicted as separate units or modules. However, all or several of the various components described with reference to these figures may be integrated into combined units or modules within common hardware, firmware, and/or software. Accordingly, the representation of features as components, units or modules is intended to highlight particular functional features for ease of illustration, and does not necessarily require realization of such features by separate hardware, firmware, or software components. In some cases, various units may be implemented as programmable processes performed by one or more processors or controllers.
Any features described herein as modules, devices, or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. In various aspects, such components may be formed at least in part as one or more integrated circuit devices, which may be referred to collectively as an integrated circuit device, such as an integrated circuit chip or chipset. Such circuitry may be provided in a single integrated circuit chip device or in multiple, interoperable integrated circuit chip devices, and may be used in any of a variety of mass dispensing applications and devices. In some aspects, for example, such components may form part of a mass dispenser, or be coupled functionally to such a mass dispenser.
If implemented in part by software, the techniques may be realized at least in part by a computer-readable data storage medium comprising code with instructions that, when executed by one or more processors or controllers, performs one or more of the methods described in this disclosure. The computer-readable storage medium may form part of a computer program product, which may include packaging materials. The computer-readable medium may comprise random access memory (RAM) such as synchronous dynamic random access memory (SDRAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), embedded dynamic random access memory (eDRAM), static random access memory (SRAM), flash memory, magnetic or optical data storage media. Any software that is utilized may be executed by one or more processors, such as one or more DSP's, general purpose microprocessors, ASIC's, FPGA's, or other equivalent integrated or discrete logic circuitry.
Various embodiments of the invention have been described. These and other embodiments are within the scope of the following claims.

## Claims

1. A method comprising:
dispensing a chemical product from a weight based dispenser for a predetermined period of time during a primary dispense cycle, the predetermined period of time based on a dispense rate corresponding to at least one previous primary dispense cycle and a desired amount of the chemical product to be dispensed;
determining a dispensed amount of the chemical product based on a start weight of the chemical product in the dispenser at a start of the primary dispense cycle and an end weight of the chemical product in the dispenser after the predetermined period of time has elapsed;
calculating a difference between the desired amount of the chemical product and the dispensed amount of the chemical product;
determining whether a make-up dispense cycle is required based on the difference; and
if a make-up dispense cycle is required, executing a make-up dispense cycle, wherein executing a make-up dispense cycle comprises:
determining a dispense rate corresponding to the primary dispense cycle, wherein determining the dispense rate corresponding to the primary dispense cycle comprises dividing the dispensed amount of the chemical product by the predetermined period of time;
computing a make-up dispense cycle time based on the difference between the desired amount and the dispensed amount and the dispense rate corresponding to the primary dispense cycle; and
dispensing the chemical product for the computed make-up dispense cycle time, wherein dispensing the chemical product comprises eroding the chemical product with a diluent.

2. The method of claim 1 wherein determining whether a make-up dispense cycle is required comprises:
comparing the difference between the desired amount of the chemical product and the dispensed amount of the chemical product with a make-up threshold; and
determining that a make-up dispense cycle is required if the difference does not satisfy the make-up dispense threshold.

3. The method of claim 2 wherein determining that a make-up dispense cycle is required comprises determining that a make-up dispense cycle is required if the difference exceeds the make-up dispense threshold.

4. The method of claim 1, wherein the predetermined period of time is based on an average of a plurality of dispense rates each corresponding to one of a plurality of previous primary dispense cycles and a desired amount of the chemical product to be dispensed.

5. The method of claim 1 further comprising dispensing the chemical product during each of a plurality of iterative make-up dispense cycles until a make-up dispense threshold is satisfied.

6. The method of claim 1 further comprising computing the make-up dispense time by dividing the difference by the dispense rate corresponding to the primary dispense cycle.

7. The method of claim 1 further comprising computing the make-up dispense time by dividing the difference by an average of a plurality of dispense rates each corresponding to one of a plurality of previous primary dispense cycles.

8. A system comprising:
a weight based chemical product dispenser that dispenses a chemical product during a primary dispense cycle for a predetermined primary dispense time, the predetermined primary dispense time based on a dispense rate corresponding to at least one previous primary dispense cycle and a desired amount of the chemical product to be dispensed;
a measuring instrument that determines a starting weight of the chemical product at a beginning of the primary dispense cycle and that determines an ending weight of the chemical product at an end of the primary dispense cycle; and
a controller that determines a dispensed amount of the chemical product based on a difference between the starting weight of the chemical product and the ending weight of the chemical product, calculates a difference between the desired amount of the chemical product and the dispensed amount of the chemical product, and determines whether a make-up dispense cycle is required based on the difference,
further wherein if a make-up dispense cycle is required, the controller:
determine a dispense rate corresponding to the primary dispense cycle, wherein the dispense rate corresponding to the primary dispense cycle is determined by dividing the dispensed amount of the chemical product by the predetermined primary dispense time;
computes a make-up dispense cycle time based on the difference between the desired amount and the dispensed amount and the dispense rate corresponding to the primary dispense cycle; and

controls dispensation of the chemical product during the make-up dispense cycle for the computed make-up dispense cycle time,
wherein the chemical product dispenser dispenses the chemical product by eroding the chemical product with a diluent for the primary dispense time.

9. The system of claim 8, wherein the chemical product is one of a solid concentrate, an extruded solid, a pressed solid, a liquid, a gel, a paste, a powder, tablets, pellets, or a unit dose form of chemical product.

10. The system of claim 8, wherein the chemical product is contained within product capsule that is loaded into the dispenser.

11. The system of claim 8, wherein the chemical product dispenser dispenses the chemical product directly from the chemical product dispenser.

12. The system of claim 8 wherein the controller compares the difference between the desired amount of the chemical product and the dispensed amount of the chemical product with a make-up threshold and determines that a make-up dispense cycle is required if the difference does not satisfy the make-up dispense threshold.

13. The system of claim 8 wherein the controller computes the make-up dispense cycle time by dividing the difference by the dispense rate corresponding to the primary dispense cycle.

14. The system of claim 8 wherein the controller computes the make-up dispense cycle time by dividing the difference by an average of a plurality of dispense rates each corresponding to one of a plurality of previous primary dispense cycles.

15. A method comprising:
dispensing a chemical product from a weight based dispenser for a predetermined period of time during a primary dispense cycle, the predetermined period of time based on a dispense rate corresponding to at least one previous primary dispense cycle and a desired amount of the chemical product to be dispensed;
determining a dispensed amount of the chemical product based on a start weight of the chemical product in the dispenser at a start of the primary dispense cycle and an end weight of the chemical product in the dispenser after the predetermined period of time has elapsed;
calculating a the difference between the desired amount of the chemical product and the dispensed amount of the chemical product;
determining whether a make-up dispense cycle is required based on the difference; and
if a make-up dispense cycle is required, executing one or more make-up dispense cycles, wherein executing each of the one or more make-up dispense cycles comprises:
determining a dispense rate corresponding to a previous dispense cycle, wherein determining the dispense rate corresponding to the previous dispense cycle comprises dividing an amount of the chemical product dispensed during the previous dispense cycle by an amount of time during which the chemical product was dispensed during the previous dispense cycle;
computing a make-up dispense cycle time based on the difference between the desired amount and the amount of chemical product dispensed during the primary dispense cycle and any previous make-up dispense cycles and the dispense rate corresponding to the previous dispense cycle; and

dispensing the chemical product for the computed make-up dispense cycle time,
wherein the chemical product dispenser dispenses the chemical product by eroding the chemical product with a diluent for the primary dispense time.