Fluid level detection apparatus and method for determining the volume of fluid in a container

Abstract: A fluid level detection system (110, 200, 300) for determining the volume of fluid in a container (60. 62, 112, 202, 302, 338, 380, 396, 406, 428) is disclosed. An embodiment includes a fluid container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428), a reference chamber (124, 212), a pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426), an air source (128, 216, 314), an air management system (126, 214, 312) including at least one orifice (154), a pressure sensor (158, 238, 326), a time measurement device (160, 240, 328), and a computing device (160, 240, 328). The air management system (126, 214, 312) selectively pressurizes the reference chamber (124, 212) or pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) and selectively discharges the reference chamber (124, 212) or pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) via the orifice (154). The time measurement device (160, 240, 328) determines elapsed time (Δt R ) for pressure in the reference chamber (124, 212) to drop from pressure (P R1 ) to pressure (P R2 ) and elapsed time (Atp) for pressure in the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to drop from pressure (P P1 ) to pressure (P P2 ). The computing device (160, 240, 328) determines a volume of air in the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) based upon the reference chamber (124, 212) volume, elapsed time (Δt R ), elapsed time (Atp), and pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ), and determines the volume of fluid in the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428) based upon the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) volume and the volume of air in the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426). A printing device (20) incorporating an embodiment of the fluid level detection system (110, 200, 300) is also disclosed, as is a method (350) for determining the volume of fluid in a container based upon the volume of air in a pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426). An apparatus for use in a printing device is disclosed that includes a printing composition container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428), a printing composition port (122, 205, 305, 391, 419, 433) coupled to the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428), a pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) around the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428), and an air port (143, 243, 343, 384, 421, 431) coupled to the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426).

Description: Background and Summary The present invention relates to a fluid level detection system and method. More particularly, the present invention relates to a fluid level detection system and method for use in a printing device that determines the volume of fluid in a replaceable or refillable printing fluid container, such as that used in inkjet printing, based upon the volume of air in a pressure chamber having a volume which surrounds the container. As with many items which are consumed during use, such as gasoline in a car, it is desirable for a user of a printing device to know how much printing fluid or printing composition (e.g., ink or toner) remains in a replaceable or refillable container. Printing devices which only provide an end-of-life or out-of-printing fluid indication do not give the user sufficient warning before printing stops. Also, if a printing device with only out-of-printing fluid detection is used for unattended printing, the user has no way of ensuring that there is sufficient printing fluid in a partially used container to complete a printing job. For a large unattended print job, the user may choose to replace all of the printing fluid containers with new ones to ensure that none of them run out during printing. After the job is complete, the previous containers which still have some printing fluid may be placed back into the printing device. In this case, multiple containers with varying printing fluid amounts are in use, making it difficult to know how much printing fluid is in each container. It is desirable for the printing device user to know at all times how much printing fluid is in each container installed in the printing device. Traditional methods of measuring the volume of a fluid in a container, such as floats or dip sticks, are not useful when a container changes shape as the printing fluid is used. This is the case for printing fluid bags which are designed to keep air from directly contacting the printing fluid. In this case, as the printing fluid is used, the ambient air pressure collapses the bag around the remaining printing fluid. This occurs non-uniformly such that the bag has no guaranteed shape as it collapses. Different methods have been proposed which would make the deformation more uniform allowing for a printing fluid level measurement by measuring the change in bag size. These methods include placing parallel plates on the sides of the bag which move towards each other as the bag collapses. A mechanical sensor or a capacitive sensor could be used to measure the separation of the plates from which the bag volume is calculated. These methods do not yield accurate estimates of the printing fluid volume. The present invention proposes a different solution. The invention indirectly measures the amount of printing fluid in a printing fluid container by measuring the amount of air which can be placed into a fixed volume surrounding the printing fluid. Uniformity of container collapse for containers such as bags is no longer an issue. Also, the present invention allows fluid level sensing for bag containers where traditional fluid level sense techniques, such as floats or dip sticks, are difficult to use. Several possibilities exist for determining the amount of air and the volume it takes up at a particular temperature and pressure. DE 39 29 506 A discloses measuring the amount of fuel in a fuel tank by periodically changing the air pressure in the tank, measuring the time taken for the change of pressure, and from that determining the air volume and hence the fuel volume within the tank. US-A-5 526 689 discloses a similar technique applied to determine the content level within a silo by measuring the rate of decay of air pressure. One aspect of the present invention relates to a fluid level detection system for determining the volume of fluid in a container (V FLUID ). This system includes a fluid container, a reference chamber that has a volume (V R ), a pressure chamber in which the container is placed, the pressure chamber having a volume (V P ), an air source, an air management system including at least one orifice, a pressure sensor that senses pressure, a time measurement device, and a computing device. The air management system is designed to selectively couple the air source to the reference chamber to pressurize the reference chamber to at least a first reference chamber pressure (P R1 ), to selectively couple the air source to the pressure chamber to pressurize the pressure chamber to at least a first pressure chamber pressure (P P1 ), to selectively couple the reference chamber to the orifice to discharge the reference chamber, and to selectively couple the pressure chamber to the orifice to discharge the pressure chamber. The time measurement device is designed to determine an elapsed time (Δt R ) for a pressure in the reference chamber to drop from pressure (P R1 ) to a lower pressure (P R2 ), as sensed by the pressure sensor, and to determine an elapsed time (Δt P ) for a pressure in the pressure chamber to drop from pressure (P P1 ) to a lower pressure (P P2 ), as sensed by the pressure sensor. The computing device is designed to determine a volume of air in the pressure chamber (V AIR ) based upon the reference chamber volume (V R ), the elapsed time (Δt R ), the elapsed time (Δt P ), and the pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ). Based upon this information, the computing device is also designed to determine the volume of fluid in the container (V FLUID ) based upon the pressure chamber volume (V P ) and the volume of air in the pressure chamber (V AIR ). The above-described aspects of the present invention may be modified as follows. The air management system may include a first orifice through which the reference chamber is discharged and a second orifice through which the pressure chamber is discharged. The time measurement device and the computing device may include a microprocessor or a controller that actuates the air management system to control selective coupling of the reference chamber to the air source, the pressure chamber to the air source, the reference chamber to the orifice, and the pressure chamber to the orifice. This microprocessor or controller is coupled to the pressure sensor to receive data representative of the sensed pressure points. The air source may include a pump and the air management system may include conduit between the pump and the reference chamber, conduit between the pump and the pressure chamber, at least one valve, actuable to control pressurization of the reference and pressure chambers, conduit between the orifice and the reference and pressure chambers, and a valve, actuable to control depressurization of the reference and pressure chambers via the orifice. The container may include a bag and the pressure chamber may include a second air-tight bag surrounding the container. The pressure sensor may include a first pressure sensor that senses pressures P R1 and P P1 and a second pressure sensor that senses P R2 and P P2 . The fluid level detection system may also be incorporated within a printing device that includes a printing mechanism that prints an image, and a printing composition. Another aspect of the present invention relates to a method for determining the volume of fluid in a container (V FLUID ) based upon the volume of air in a pressure chamber (V AIR ) having a volume (V P ). The method includes the steps of pressurizing a reference chamber having a volume (V R ) to at least a first reference chamber pressure (P R1 ), discharging the reference chamber through a first orifice, sensing a decrease in pressure in the reference chamber from first reference chamber pressure (P R1 ) to a second reference chamber pressure (P R2 ) as the reference chamber is discharged, and determining an elapsed time (Δt R ) for a pressure in the reference chamber to drop from pressure (P R1 ) to the pressure (P R2 ). The method also includes the steps of pressurizing the pressure chamber to at least a first pressure chamber pressure (P P1 ), discharging the pressure chamber through either the first orifice or a second orifice, sensing a decrease in pressure in the pressure chamber from first pressure chamber pressure (P P1 ) to a second pressure chamber pressure (P P2 ) as the pressure chamber is discharged, determining an elapsed time (Δt P ) for a pressure in the pressure chamber to drop from pressure (P P1 ) to the pressure (P P2 ), determining the volume of air in the pressure chamber (V AIR ) based upon the reference chamber volume (V R ), the elapsed time (Δt R ), the elapsed time (Δt P ), and the pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ). From this information, the volume of fluid in the container (V FLUID ) is determined based upon the pressure chamber volume (V P ) and the volume of air in the pressure chamber (V AIR ). The above-described method may additionally include the step of refilling the container with the fluid if the volume of fluid in the container (V FLUID ) is either at a predetermined level or below a predetermined level. The above-described method may further include the step of signaling prior to refilling, if the volume of fluid in the container (V FLUID ) is at the predetermined level or below the predetermined level. Other objects, advantages, and novel features of the present invention will become apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings. Brief Description of the Drawings FIG. 1 illustrates is a partially cut away, perspective view of an inkjet printing device incorporating an embodiment of the present invention. FIG. 2 shows a diagram of a fluid level detection system constructed in accordance with the present invention. FIG. 3 shows graphs of pressure versus time for the fluid level detection system of FIG. 2. FIG. 4 shows a diagram of an alternative embodiment of a fluid level detection system constructed in accordance with the present invention. FIG. 5 shows an example of a fluid interconnect orientation scheme in accordance with the present invention. FIG. 6 shows an example of a fluid supply and pressure interconnect in accordance with the present invention. FIGS. 7-11 illustrate various embodiments of a pressure chamber and printing composition container constructed in accordance with the present invention. FIG. 12 is a flow diagram of a method for determining the volume of fluid in a container (V FLUID ) based upon the volume of air in a pressure chamber (V AIR ) having a volume (V P ) in accordance with the present invention. Detailed Description of the Drawings An embodiment of a printing device, here shown as an inkjet printer or printing device 20, constructed in accordance with the present invention is shown in FIG. 1. Inkjet printer 20 may be used for printing business reports, correspondence, desktop publishing, and the like, in an industrial, office, home or other environment. Although not shown, it is to be understood that the present invention may be used with a variety of other printing devices such as laser printers, plotters, portable printing units, copiers, cameras, video printers, and facsimile machines. For convenience, the concepts of the present invention are illustrated in the environment of an inkjet printer 20. While it is apparent that the printer components may vary from model to model, the typical inkjet printer 20 includes a chassis or base 22 surrounded by a housing, casing or enclosure 24, typically of a plastic material. Sheets of print media are fed through a print zone 25 by a print media handling system 26. The print media may be any type of suitable sheet material, such as paper, card-stock, transparencies, mylar, and the like but, for convenience, the illustrated embodiment is described using paper as the print medium. The print media handling system 26 has a feed tray 28 for storing sheets of paper before printing. A series of conventional paper drive rollers (not shown), driven by a stepper motor 30 and drive gear assembly 32, may be used to move the print media, such as sheet 35, from tray 28 under a paper guide member 34 into the print zone 25 for printing. After printing, the motor 30 drives the printed sheet 35 onto a pair of retractable output drying wing members 36. The wings 36 momentarily hold the newly printed sheet above any previously printed sheets still drying in an output tray portion 38 before retracting to the sides to drop the newly printed sheet into the output tray 38. The media handling system 26 may include a series of adjustment mechanisms for accommodating different sizes of print media, including letter, legal, A-4, envelopes, etc., such as a sliding length adjustment lever 40, a sliding width adjustment lever 42, and a sliding envelope feed plate 44. The printer 20 also has a printer controller or control system, illustrated schematically as a microprocessor 45, that receives instructions from a host device, typically a computer, such as a personal computer (not shown). The printer controller 45 may also operate in response to user inputs provided through a key pad 46 located on the exterior of the casing 24. A monitor (not shown) coupled to the computer host may be used to display visual information to an operator, such as the printer status or a particular program being run on the host computer. Personal computers, their input devices, such as a keyboard and/or a mouse device, and monitors are all well known to those skilled in the art. A carriage guide rod 48 is supported by the chassis 22 to slideably support a carriage system 50 for travel back and forth across the print zone 25. Carriage 50 is also propelled along guide rod 48 into a servicing region 54, as indicated generally by arrows 52, located within the interior of the housing 24. Carriage 50 has a pair of bearings which slideably support the carriage as it travels along the guide rod 48. A carriage DC motor 56 drives an endless belt 58. The motor 56 operates in response to control signals received from the controller 45. The belt 58 may be secured in a conventional manner to the carriage 50 to incrementally advance the carriage along guide rod 48 in response to actuation of motor 56. In the print zone 25, the media sheet 35 receives ink from one or more printing fluid or printing composition containers, such as a black ink container 60 and/or a color ink container 62. Containers 60, 62 have printing mechanisms or printheads 64, 66 respectively, each of which have an orifice plate with a plurality of nozzles formed therethrough in a manner well known to those skilled in the art. The illustrated printheads 64, 66 are thermal inkjet printheads, although other types of printheads may be used, such as piezoelectric printheads. The printheads 64, 66 typically include a plurality of resistors which are associated with the nozzles. Upon energizing a selected resistor, a bubble of gas is formed ejecting a droplet of ink from the nozzle and onto a sheet of paper in the print zone 25 under the nozzle. The printhead resistors are selectively energized in response to firing command control signals delivered by a multi-conductor strip 68 from the controller 45 to the printhead carriage 50. FIG. 2 shows a diagram of a fluid level detection system 110 constructed in accordance with the present invention that may be used in a printing device, such as an ink jet printer 20, to determine the volume of printing fluid in a printing fluid container, as discussed more fully below. Fluid level detection system 110 may also find application in other types of printing devices such as laser printers, plotters, portable printing units, copiers, cameras, video printers, and facsimile machines. Fluid level detection system 110 includes a container 112 which is filled with a printing fluid or printing composition, such as ink or toner. Container 112 is disposed in and surrounded by a pressure chamber 114 that has a volume Vp. Container 112 may be made from such things as a bag or cartridge. Pressure chamber 114 may be made from one or more things such as a bag, cartridge, shell, bottle, body, or housing, as more fully discussed below. A printing composition supply line 116 extends through opening 118 in wall 120 of pressure chamber 114 and is coupled to printing composition port 122 to supply printing fluid to the printing device. A seal (not shown) in opening 118 through which supply line 116 extends is used to help prevent air from escaping pressure chamber 114. Fluid level detection system 110 also includes a reference chamber 124 having a volume V R and an air source 128, such as a pump or container of pressurized air. Reference chamber 124 may also be made from such things as a bag, cartridge, shell, bottle, body or housing. Pressure chamber 114 and reference chamber 124 are connected to an air management system 126. Air management system 126 includes conduit 130, 132, 134, 136, 138, 140, 142, and 144, valves 148, 149, 150, and 152, and a discharge orifice 154. Conduit 130, 132, 134, 136, 138, 140, 142, and 144 may be made from various materials such as plastic tubing. Conduit 138 is coupled to air port 143 of pressure chamber 114. Air port 143 is configured to supply air from source 128 to pressure chamber 114 to pressurize the fixed volume of pressure chamber 114, as more fully discussed below. In one or more embodiments of system 110, air port 143 may include a bi-directional valve actuable in a first direction to pressurize pressure chamber 114 and actuable in a second direction to depressurize pressure chamber 114. Valves 150 and 152 control which chamber is pressurized or depressurized at any given time, while valve 148 prevents air from escaping through discharge orifice 154 during pressurization. Valve 149 helps prevent air from escaping through air source 128 during discharge. Although not shown, it is to be understood that one or more of valves 148, 149, 150, and 152 may be replaced with multi-port valves. For example, valves 150 and 152 may be combined and replaced with a single multi-port valve. As a further example, valves 148, 149, 150, and 152 may be combined and replaced with a single multi-port valve. Although only a single discharge orifice 154 is shown, it is to be understood that one or more alternative embodiments of the present invention may use multiple discharge orifices. For example, pressure chamber 114 may be discharged through a first discharge orifice and reference chamber 124 through a second discharge orifice. Such an arrangement allows for simultaneous discharge of pressure chamber 114 and reference chamber 124. Fluid level detection system 110 further includes a pressure sensor 158 designed to sense pressure points or measure pressure and a control system 160 coupled to air management system 126, air source 128, and pressure sensor 158. Control system 160 actuates air source 128, as indicated by arrow 129, valves 148, 149, 150, and 152 of air management system 126, as indicated by arrow 127, and receives data signals from pressure sensor 158 representative of pressure, as indicated by arrow 159. Control system 160 may include such things as a microprocessor or a controller. Although a single pressure sensor 158 is shown, it is to be understood that other embodiments of detection system 110 may include multiple sensors. Fluid level detection system 110 may be operated as follows to determine the volume of printing fluid in container 112. First, valves 148 and 150 are closed, then valves 149 and 152 are opened. Next, reference chamber 124 with volume V R is pressurized using air source 128 to an initial pressure P R0 equal to or greater than a pressure P R1 . Flow of air from air source 128 is then blocked, for example, by shutting valve 149. The air in reference chamber 124 is then discharged through discharge orifice 154 by opening valve 148. The decrease in pressure in reference chamber 124 is sensed or measured via pressure sensor 158. Control system 160 includes a time measurement device (not shown) that determines an elapsed time (Δt R ) for the pressure in reference chamber 124 to drop from a pressure P R1 at time t R1 to a lower pressure P R2 at time t R2 , as air escapes reference chamber 124 via discharge orifice 154. A graph 162 of the pressure in reference chamber 124 as a function of time is given in FIG. 3. Next, valves 148 and 152 are closed, then valves 149 and 150 are opened. Pressure chamber 114 with volume V P is then pressurized using air source 128 to an initial pressure P P0 equal to or greater than pressure P P1 . Flow of air from air source 128 is then blocked, for example, by shutting valve 149. The air in pressure chamber 114 is then discharged through discharge orifice 154 by opening valve 148. The decrease in pressure in pressure chamber 114 is sensed or measured via pressure sensor 158. The time measurement device (not shown) of control system 160 determines an elapsed time (Δt P ) for the pressure in pressure chamber 114 to drop from a pressure P P1 at time t P1 to a lower pressure P P2 at time t P2 , as air escapes pressure chamber 114 via discharge orifice 154. A graph 164 of the pressure in pressure chamber 114 as a function of time is given in FIG. 3. Orifice 154 is a small opening that limits the rate of air flow during these discharges to allow sufficient time for these measurements to occur. Assuming that air can be modeled as an ideal gas, the Ideal Gas Law then describes the relationship between temperature (T), pressure (P), and volume (V) for a given quantity of air (n) in a chamber. pV = nRT where R = Molar Gas Constant Assuming a constant volume and temperature: The time rate of change of pressure in a chamber as a function of the molar flow rate of the air out of an orifice is: dp dt = RT V dn dt or p ' = RT V n ' Assuming an isothermal flow, the molar flow rate of air out of the orifice is modeled as a linear function of pressure: n' = dn dt = Kp where K = flow constant Combining Eq. 3 and Eq. 4 gives pressure as a function of time: Solving the above first order differential equation: Applying this exponential decay to the air which surrounds a printing fluid container in a pressure chamber where P P0 is the initial pressure in the pressure chamber, P P1 is the first pressure point, P P2 is the second pressure point, and V AIR is the volume of the air in the pressure chamber: Combining Eq. 7 and Eq. 8 A similar equation to Eq. 11 can be written for a reference chamber, except that here the volume of air is equal to the volume of the reference chamber V R : Combining Eq. 11 and Eq. 12: For the simplifying condition where P R1 = P P1 and P R2 = P P2 . The volume of air in the pressure chamber V P can be calculated from the known volume of the reference chamber V R and the two decay times Δ t P and Δ t R : Knowing the volume in the pressure chamber V P which is available for air when there is no fluid, the volume of fluid can be calculated: Improved accuracy in fluid level measurement is possible by choosing a mathematical model of the molar flow rate of air out of the orifice which does not assume isothermal air flow, as assumed above. Such a model may account for such things as temperature variations at the orifice during pressure chamber and reference chamber discharge. Improved accuracy is also possible by selecting similar volumes for the reference chamber and the pressure chamber. FIG. 4 shows a diagram of an alternative embodiment of a fluid level detection system 200 constructed in accordance with the present invention that may be used in a printing device, such as ink jet printer 20, to determine the volume of printing fluid in a printing fluid container 202, as discussed more fully below. Fluid level detection system 200 may also find application in other types of printing devices such as laser printers, plotters, portable printing units, copiers, cameras, video printers, and facsimile machines. Fluid level detection system 200 includes container 202 which is filled with a printing fluid or printing composition such as ink or toner. Container 202 may be made from such things as a bag or cartridge. Container 202 is surrounded by a pressure chamber 204 that has a volume V P and may be made from one or more things such as a bag, cartridge, shell, bottle, body, or housing. A printing composition supply line 206 extends through an opening 208 in wall 210 of pressure chamber 204 and is coupled to printing composition port 205 to supply printing fluid to the printing device. A seal (not shown) in opening 208 through which supply line 206 extends is used to help prevent air from escaping pressure chamber 204. Fluid level detection system 200 also includes a reference chamber 212 having a volume V R , that may also be made from such things as a bag, cartridge, shell, bottle, body, or housing, and an air source 216, such as a cyclical pump. Pressure chamber 204 and reference chamber 212 are connected to an air management system 214. Air management system 214 includes conduit 220, 222, 224, 226, and 228, and valves 234 and 236. Conduit 220, 222, 224, 226, and 228 may be made from various materials such as plastic tubing. Conduit 226 is coupled to air port 243 of pressure chamber 204. Air port 243 is configured to supply air from source 216 to pressure chamber 204 to pressurize the fixed volume of pressure chamber 204, as more fully discussed below. In one or more embodiments of system 200, air port 243 may include a bi-directional valve actuable in a first direction to pressurize pressure chamber 204 and actuable in a second direction to depressurize pressure chamber 204. Valves 234 and 236 control which chamber is pressurized or depressurized at any given time. Although not shown, it is to be understood that valves 234 and 236 may be replaced with a multi-port valve. For example, valves 234 and 236 may be combined and replaced with a single multi-port valve. Fluid level detection system 200 further includes a pressure sensor 238 designed to sense pressure points or measure pressure and a control system 240 coupled to air management system 214, air source 216, and pressure sensor 238. Control system 240 actuates air source 216, as indicated by arrow 217, valves 234, and 236 of air management system 214, as indicated by arrow 215, and receives data signals from pressure sensor 238 representative of pressure, as indicated by arrow 239. Control system 240 may include such things as a microprocessor or a controller. Although a single pressure sensor 238 is shown, it is to be understood that other embodiments of detection system 200 may include multiple sensors. Fluid level detection system 200 may be operated as follows to determine the volume of printing fluid in container 202. First, valve 234 is closed, then valve 236 is opened. Next, reference chamber 212 with volume V R is pressurized using air source 216 to a pressure P R0 , as measured or sensed by pressure sensor 238. The number of cycles of the cyclical pump of air source 216 needed to raise the pressure in reference chamber 212 to P R0 is counted by a counter (not shown) of control system 240. The air in reference chamber 212 is then discharged through, for example, air source 216. Next, valve 234 is opened and valve 236 closed. Pressure chamber 204 with volume V P is then pressurized using air source 216 to a pressure equal to pressure P P0 , as measured or sensed by pressure sensor 238. The number of cycles of the cyclical pump of air source 216 needed to raise the pressure in pressure chamber 204 to a pressure P P0 is counted by the counter of control system 240. The air in pressure chamber 204 is then discharged through, for example, air source 216. Based upon this information, the volume of printing fluid in container 202 may be determined. Starting with the Ideal Gas Law stated in Eq. 1 and its associated assumptions, the amount of air in a chamber of a cyclical pump having volume (V pump ) at ambient temperature (T A ) and pressure (P A ) is n pump = P A V pump RT A Similarly, the amount of air (N P ) in a pressure chamber at pressure P P0 and the amount of air (N R ) in a reference chamber at pressure P R0 , respectively, are N P = m P · n pump = P P 0 V AIR RT A where m P = # of counts of the cyclical pump to raise the pressure in the pressure chamber to P P0 and V AIR = volume of air in the pressure chamber. N R = m R · n pump = P R 0 V R RT A where m R = # of counts of the cyclical pump to raise the pressure in the reference chamber to P R0 and V R = volume of reference chamber. Combining Eq. 17, 18, and 19 and solving for the volume of air (V AIR ) in the pressure chamber For the simplifying case where P R0 = P P0 , Knowing the volume (V P ) in the pressure chamber which is available for air when there is no fluid, the volume of fluid (V FLUID ) can be calculated: It should be noted that the present invention may be extended to include more than one printing fluid container. Only one air source, reference chamber, pressure sensor, and discharge orifice need be used. The only additional requirement is an additional valve or opening in a multi-port valve for each printing fluid container to link it to the air conduit. It is also possible to use a separate pressure sensor and discharge orifice for each printing fluid container. The drawback of such a system is that each of these elements would need to be calibrated. The advantages include that all of the chambers can be discharged at the same time. The pressure level sensor used in the fluid level detection system of the present invention does not have to be a continuous pressure level sensor. Discrete pressure level detectors can also be used. For discrete pressure level detectors to work for fluid level detection system 110, at least two pressure levels need to be established and there needs to be a means for measuring the time it takes the air pressure to go between those two levels. If the air source can stop pressurizing at the same high pressure level every time, then only a single pressure sensor for the lower pressure level is needed. The fluid level detection system of the present invention may also used during printing to propel printing fluid from the printing fluid containers to printing units of the printing device, such as printheads. The pressure sensors of the fluid level detection system of the present invention may also be used to verify the integrity of the printing fluid delivery systems by monitoring pressure levels and looking for leaks while the system is pressurized. It should be noted that the air source of the fluid level detection system of the present invention does not have to be adjacent a printing fluid container. The air source can be located anywhere within or adjacent to the printing device, giving more flexibility to printing fluid container location. The printing fluid containers themselves do not have to be in any particular orientation either. The fluid level detection system of the present invention will work with any orientation. This provides more design freedom in locating printing fluid containers and in locating the position of the fluid interconnects on the containers. For example, it is possible to have printing fluid interconnect 336 on top of a printing fluid container 338 as shown in FIG. 5. Also shown is an air supply interconnect 340 that supplies air to container 338. Placing printing fluid interconnect of top of container 338 minimizes the severity of printing fluid leaks, should one occur, by preventing the entire contents of the ink container from leaking out. The pressure chamber of the fluid level detection system of the present invention should preferably make connection to air management system after the printing fluid system makes connection to the printing device. Also, the pressure chamber should preferably break connection before the printing fluid system breaks connection. This will help ensure that printing fluid containers are always depressurized during connection or disconnection. A concentric interconnector 342 designed to accomplish this is shown in FIG. 6. As can be seen in FIG. 6, printing fluid line 344 is surrounded by concentric air line 346. As can also be seen in FIG. 6, fluid line 344 protrudes beyond end 348 of air line 346 which is the area of connection for lines 344 and 346. The pressure chamber which surrounds the printing fluid can be implemented in a number of different ways. The key elements are that a known volume of 'air-tight' space must surround the printing fluid which is to be measured. This space can be a part of the printing device, the printing fluid container, or both. As shown in FIG. 7, the pressure chamber can be a hard case 394 that defines a fixed volume, such as a shell or bottle, surrounding a flexible printing composition bag 396. Case 394 is sealed by a cap 398 in FIG. 7 through which air line 400 and line 402 of container 396 extend. Air line 400 is coupled to a port (not shown) of case 394 and supplies air to the fixed volume of case 394. Line 402 is coupled to port 401 of bag 396 and supplies printing composition to a printing device. In the printing device, as shown in FIG. 8, the pressure chamber can be a an air-tight chamber 376 with a sealable door or lid 378 in which a printing composition container 380 is disposed, as generally indicated by arrow 382. Chamber 376 defines a fixed volume when lid 378 is closed. Chamber 376 includes an air line or air port 384 configured to supply air to chamber 376 to pressurize the fixed volume of chamber 376. Chamber 376 also includes an opening 386 defined by wall 388 through which line 390 extends when container 380 is disposed in chamber 376. Line 390 is coupled to printing composition port 391 of container 380. Opening 386 is sealed by seal 392 as shown in FIG. 8. The functions of known or fixed volume and air-tightness of the pressure chamber do not have to be provided by the same structures. For example, as noted above and shown in FIG. 9, a flexible bag 404 can be placed around the printing composition container 406, also shown as a bag. Flexible bag 404 provides the air-tightness while the controlling volume is part of the printing device, shown as a non-air-tight chamber 407 of fixed volume in which bag 404 and container 406 are disposed, as generally indicated by arrow 408. Container 407 is shown as including a lid 409 and its non-air-tightness is symbolically illustrated by holes 410. Openings 412 and 414 in container 407 are defined by wall 416. Line 418 is coupled to printing composition port 419 of printing composition container 406 and extends through opening 412. Air line 420 is coupled to port 421 of bag 404, supplies air to bag 404, and extends through opening 414, as shown in FIG. 9. Openings 412 and 414 are sealed by respective seals 422 and 424. In this embodiment, the known or fixed volume of space does not have to be air-tight making it less expensive and easier to construct, because the air-tight function is accomplished by the second flexible bag. As a further example, as shown in FIG. 10, a second flexible bag 426 can function as a pressure chamber by being placed around the printing composition container 428, also shown as a bag. Bag 426 is air-tight and, when pressurized with a gas, such as air, expands to a known or fixed volume of space, as shown in FIG. 11. Second flexible bag 426 includes an air line 430 coupled to air port 431 of bag 426 and configured to supply air to bag 426 to pressurize the fixed or known volume of bag 426. Bag 426 also includes an opening 435 through which line 432 of container 428 extends when container 428 is disposed in bag 426 to couple with printing composition port 433 of container 428. FIG. 12 illustrates a flow diagram of a method 350 for determining the volume of fluid in a container (V FLUID ) based upon the volume of air in a pressure chamber (V AIR ) having a volume (V P ), in accordance with the present invention. The method includes the steps of pressurizing a reference chamber having a volume (V R ) to at least a first reference chamber pressure (P R1 ) 352, discharging the reference chamber through a first orifice 354, sensing a decrease in pressure in the reference chamber from first reference chamber pressure (P R1 ) to a second reference chamber pressure (P R2 ) as the reference chamber is discharged 356, and determining an elapsed time (Δt R ) for a pressure in the reference chamber to drop from pressure (P R1 ) to the pressure (P R2 ) 358. The method includes the additional steps of pressurizing the pressure chamber to at least a first pressure chamber pressure (P P1 ) 360, discharging the pressure chamber through either the first orifice or a second orifice 362, sensing a decrease in pressure in the pressure chamber from first pressure chamber pressure (P P1 ) to a second pressure chamber pressure (P P2 ) as the pressure chamber is discharged 364, and determining an elapsed time (Δt P ) for a pressure in the pressure chamber to drop from pressure (P P1 ) to the pressure (P P2 ) 366. The method further includes the steps of determining the volume of air in the pressure chamber (V AIR ) based upon the reference chamber volume (V R ), the elapsed time (Δt R ), the elapsed time (Δt P ), and the pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ) 368 and determining the volume of fluid in the container (V FLUID ) based upon the pressure chamber volume (V P ) and the volume of air in the pressure chamber (V AIR ) 370. The above-described method may also include the step of refilling the container with the fluid if the volume of fluid in the container (V FLUID ) is at a predetermined level or below a predetermined level 372 and, for example, in need of refilling. The above-described method may further includes the step of signaling prior to refilling if the volume of fluid in the container (V FLUID ) is at the predetermined level or below the predetermined level 374. Although the invention has been described and illustrated in detail, it is to be clearly understood that the same is intended by way of illustration and example only, and is not to be taken by way of limitation. The invention is to be limited only by the terms of the following claims.

Claims: A fluid level detection system (110, 200, 300) for determining the volume of fluid in a container (V FLUID ), comprising: a container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428) in which a fluid is disposed; a reference chamber (124, 212), the reference chamber having a volume (V R ); a pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) in which the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428) is disposed, the pressure chamber (114, 204, 304, 394, 376, 404 and 407, 426) having a volume (V P ); an air source (128, 216, 314); an air management system (126, 214, 312) including at least one orifice (154), the air management system (126, 214, 312) being configured to selectively couple the air source (128, 216, 314) to the reference chamber (124,212) to pressurize the reference chamber (124, 212) to at least a first reference chamber pressure (P R1 ), to selectively couple the air source (128, 216, 314) to the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to pressurize the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to at least a first pressure chamber pressure (P P1 ), to selectively couple the reference chamber (124, 212) to the orifice (154) to discharge the reference chamber (124, 212), and to selectively couple the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to the orifice (154) to discharge the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426); a pressure sensor (158, 238, 326) configured to sense pressure; a time measurement device (160, 240, 328) configured to determine an elapsed time (Δt R ) for a pressure in the reference chamber (124, 212) to drop from pressure (P R1 ) to a lower pressure (P R2 ), as sensed by the pressure sensor (158, 238, 326), and to determine an elapsed time (Δt P ) for a pressure in the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to drop from pressure (P P1 ) to a lower pressure (P P2 ), as sensed by the pressure sensor (158, 238, 326); and a computing device (160, 240, 328) configured to determine a volume of air in the pressure chamber (V AIR ) based upon the reference chamber volume (V R ), the elapsed time (Δt R ), the elapsed time (Δt P ), and the pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ), and further configured to determine the volume of fluid in the container (V FLUID ) based upon the pressure chamber volume (V P ) and the volume of air in the pressure chamber (V AIR ). The fluid level detection system (110, 200, 300) of Claim 1, wherein the air management system (126, 214, 312) includes a first orifice through which the reference chamber (124, 212) is discharged and a second orifice through which the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) is discharged. The fluid level detection system (110, 200, 300) of Claim 1, wherein the time measurement device (160, 240, 328) and the computing device (160, 240, 328) include one of a microprocessor and a controller that actuates the air management system (126, 214, 312) to control selective coupling of the reference chamber (124, 212) to the air source (128, 216, 314), the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to the air source (128, 216, 314), the reference chamber (124, 212) to the orifice (154), and the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) to the orifice (154), and that is coupled to the pressure sensor (158, 238, 326) to receive data representative of the sensed pressure points. The fluid level detection system (110, 200, 300) of Claim 1, wherein the air source (128, 216, 314) includes a pump and the air management system (126, 214, 312) includes conduit (130, 132, 140, 142, 144, 220, 222, 228) between the pump and the reference chamber (124, 212), conduit (130, 132, 136, 138, 140, 220, 222, 224, 226, 318) between the pump and the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426), at least one valve (149, 150, 152, 234, 236), actuable to control pressurization of the reference (124, 212) and pressure (114, 204, 304, 376, 394, 404 and 407, 426) chambers, conduit (134, 136, 138, 140, 142, 144) between the orifice (154) and the reference (124, 212) and pressure (114, 204, 304, 376, 394, 404 and 407, 426) chambers, and a valve (148), actuable to control depressurization of the reference (124, 212) and pressure (114, 204, 304, 376, 394, 404 and 407, 426) chambers via the orifice (154). The fluid level detection system (110, 200, 300) of Claim 1, wherein the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428) includes a bag (112, 202, 302, 380, 396, 406, 428). The fluid level detection system (110, 200, 300) of Claim 5, wherein the pressure chamber (114, 204, 304, 376, 394, 404 and 407, 426) includes a second air-tight bag (404, 426) surrounding the container (60, 62, 112, 202, 302, 338, 380, 396, 406, 428). The fluid level detection system (110, 200, 300) of Claim 1, wherein the pressure sensor (158, 238, 326) includes a first pressure sensor that senses pressures P R1 and P P1 and a second pressure sensor that senses P R2 and P P2 . A printing device (20), comprising: a printing mechanism (64, 66) that prints an image; a printing composition; and a fluid level detection system (110, 200, 300) for determining the volume of fluid in the container (V FLUID ), in accordance with any one of claims 1 to 7. A method (350) for determining the volume of fluid in a container (V FLUID ) based upon the volume of air in a pressure chamber (V AIR ) having a volume (V P ), the method comprising the steps of: pressurizing a reference chamber having a volume (V R ) to at least a first reference chamber pressure (P R1 ) (352); discharging the reference chamber through a first orifice (354); sensing a decrease in pressure in the reference chamber from first reference chamber pressure (P R1 ) to a second reference chamber pressure (P R2 ) as the reference chamber is discharged (356); determining an elapsed time (Δt R ) for a pressure in the reference chamber to drop from pressure (P R1 ) to the pressure (P R2 ) (358); pressurizing the pressure chamber to at least a first pressure chamber pressure (P P1 ) (360); discharging the pressure chamber through one of the first orifice and a second orifice (362); sensing a decrease in pressure in the pressure chamber from first pressure chamber pressure (P P1 ) to a second pressure chamber pressure (P P2 ) as the pressure chamber is discharged (364); determining an elapsed time (Δt P ) for a pressure in the pressure chamber to drop from pressure (P P1 ) to the pressure (P P2 ) (366); determining the volume of air in the pressure chamber (V AIR ) based upon the reference chamber volume (V R ), the elapsed time (Δt R ), the elapsed time (Δt P ), and the pressures (P R1 ), (P R2 ), (P P1 ), and (P P2 ) (368); and determining the volume of fluid in the container (V FLUID ) based upon the pressure chamber volume (V P ) and the volume of air in the pressure chamber (V AIR ) (370). The method of Claim 9, further comprising the step of refilling the container with the fluid if the volume of fluid in the container (V FLUID ) is one of at a predetermined level and below a predetermined level (372).

Inventors: AXTELL JAMES P, SEU PRESTON D, AXTELL, JAMES P., SEU, PRESTON D.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1997
Main classification: G01F23
IPC codes: B41J2, G01F23, G01F17