Information
-
Patent Grant
-
6691979
-
Patent Number
6,691,979
-
Date Filed
Tuesday, December 4, 200123 years ago
-
Date Issued
Tuesday, February 17, 200420 years ago
-
Inventors
-
Original Assignees
-
Examiners
- Hirsch; Paul J.
- Keasel; Eric S.
Agents
-
CPC
-
US Classifications
Field of Search
US
- 251 12904
- 004 302
- 004 304
- 004 305
- 004 313
- 004 623
-
International Classifications
-
Abstract
An automatic flusher employs an infrared-light-type object sensor to provide an output on the basis of which a control circuit decides whether to flush a toilet. After each pulse of transmitted radiation, the control circuit pushes a new entry onto stack if the resultant percentage of reflected radiation differs significantly from the last, and it includes in that entry's direction field an indication of whether the percentage change was positive or negative. Otherwise, the control circuit increments the existing top entry's duration field. From the numbers of entries in a row having a given direction and the sums of the values in their duration fields, the control circuit determines whether a user has approached the facility and then withdrawn from it, and it operates the flusher's valve accordingly.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention deals with automatic toilet flushers and in particular with the criteria used do control them.
2. Background Information
Automatic flow-controls systems have become increasingly prevalent, particularly in public rest-room facilities. Automatic flushers contribute to hygiene, facility cleanliness, and water conservation. In such systems, object sensors detect the user and operate a flow-control valve in response to user detection. Most such detectors are of the infrared variety. They transmit infrared light into a target region, sense infrared light reflected from a user, and base detection decisions on the reflection percentage. Detection of the fact that a user has approached the toilet and then left is typically what triggers flushing action. (We use the term toilet in a broad sense to include what are variously called toilets, urinals, water closets, etc.)
Most automatic flushers work with enough reliability to make them valuable for the reasons just mentioned; if the flusher occasionally fails to flush in response to one use, it usually happens that it flushes in response to the next. Still, such an occasional failure tends to impose upon that next user's sensibilities.
SUMMARY OF THE INVENTION
We have devised a way of increasing the flusher's reliability. The reason for an automatic flusher's failure to respond In accordance with the invention, the response depends on reflection-percentage changes but is independent of absolute reflection percentage. That is, the control circuit does not base its determination of whether the user has approached the toilet on whether the reflection percentage has exceeded a predetermined threshold, and it does not base a determination of whether the user has withdrawn from the toilet on whether the reflection percentage has fallen below a predetermined threshold. Instead, it is based on whether a period in which the reflection percentage decreased (in accordance with appropriate withdrawal criteria) has been preceded by a period in which the reflection percentage increased (in accordance with appropriate approach criteria).
BRIEF DESCRIPTION OF THE DRAWINGS
The invention description below refers to the accompanying drawings, of which:
FIG. 1
is a side elevation of a toilet and an accompanying automatic flusher that employs the present invention's teachings;
FIGS. 2A and 2B
together form a cross-sectional view of the flusher illustrating the location of the flusher's control circuitry, manual-flush button, and flow path;
FIG. 3
is an exploded view of a latching version of the pilot-valve operator shown in
FIG. 2A
;
FIG. 4
is a more-detailed cross-sectional view of that operator;
FIG. 5
is a cross-sectional view of an alternative, sealed version of the operator;
FIG. 6
is an exploded view of the operator of
FIG. 5
;
FIG. 7
is a cross-sectional view of another alternative version of the operator;
FIG. 8
is an exploded view of the operator of
FIG. 7
;
FIG. 9
is a front elevation of an alternative version's transmitter and receiver lenses and front circuit-housing part;
FIG. 10
is a cross-section taken at line
10
—
10
of
FIG. 9
;
FIG. 11
is a block diagram of the flusher's control circuitry;
FIGS. 12A
,
12
B, and
12
C together form a simplified flow chart a routine that the control circuitry of
FIG. 11
executes;
FIGS. 13A and 13B
together form a more-detailed flow chart of a step in the routine of
FIGS. 12A
,
12
B, and
12
C;
FIG. 14
is a schematic diagram of the circuitry that the flusher uses to drive its light-emitting diodes;
FIG. 15
is an isometric view of a container that may be employed for a flusher conversion kit of the type depicted in
FIG. 2
;
FIG. 16
is a detailed cross section of a button-depression device included in FIG.
16
's container;
FIG. 17
is an isometric view of a container that can be used for a subassembly of that flusher conversion kit; and
FIG. 18
is a cross section taken at line
18
—
18
of FIG.
17
.
DETAILED DESCRIPTION OF AN ILLUSTRATIVE
EMBODIMENT Although the present invention can be implemented in systems of different types, the drawings will illustrate it by reference to a direct-flush system, i.e., one in which the supply pressure itself, as opposed to the gravity or otherwise-imposed pressure in a tank, is employed to flush the bowl.
In
FIG. 1
, a flusher
10
receives pressurized water from a supply line
12
and employs an object sensor, typically of the infrared variety, to respond to actions of a target within a target region
14
by selectively opening a valve that permits water from the supply line
12
to flow through a flush conduit
16
to the bowl of a toilet
18
.
FIGS. 2A and 2B
show that the supply line
12
communicates with an annular entrance chamber
20
defined by an entrance-chamber wall
22
formed near the flush conduit
16
's upper end. A pressure cap
24
secured by a retaining ring
25
to the chamber housing clamps between itself and that housing the outer edge
26
of a flexible diaphragm
28
seated on a main valve seat
30
formed by the flush conduit
16
's mouth.
The supply pressure that prevails in the entrance chamber
20
tends to unseat the flexible diaphragm
28
and thereby cause it to allow water from the supply line
12
to flow through the entrance chamber
20
into the flush conduit
16
's interior
32
. But the diaphragm
28
ordinarily remains seated because of pressure equalization that a bleed hole
34
formed by the diaphragm
28
tends to permit between the entrance chamber
20
and a main pressure chamber
36
formed by the pressure cap
24
. Specifically, the pressure that thereby prevails in that upper chamber
36
exerts greater force on the diaphragm
28
than the same pressure within entrance chamber
20
does, because the entrance chamber
20
's pressure prevails only outside the flush conduit
16
, whereas the pressure in the main pressure chamber
36
prevails everywhere outside of a through-diaphragm feed tube
38
. To flush the toilet
18
, a solenoid-operated actuator assembly
40
controlled by circuitry
42
relieves the pressure in the main pressure chamber
38
by permitting fluid flow, in a manner to be described in more detail below, between pilot entrance and exit passages
44
and
46
formed by the pressure cap
24
's pilot-housing portion
48
.
The pilot-valve-operator assembly
40
, of which
FIG. 3
is an exploded view and
FIG. 4
is a more-detailed cross-section, includes a bobbin
50
about which windings
52
are wound. A ferromagnetic pole piece
54
and, in latching versions of the operator, a permanent magnet
56
are disposed in recesses that the bobbin
50
forms at its left end. A solenoid can
58
is crimped at its right end to hold a right pole piece
60
against the bobbin
50
and thereby secure within the can
58
the bobbin
50
, windings
52
, left pole piece
54
, and magnet
56
. As
FIG. 2
shows, the right pole piece
60
forms exterior threads
62
that engage complementary threads formed by the pilot housing
48
, and the operator assembly
40
is thereby mounted on the pressure cap
24
.
This mounting of the pilot-valve-actuator assembly
40
also secures within the pilot housing
48
a pilot body member
64
. That member forms a central tube
66
by which, when the operator permits it, water from the pilot entrance passageway
44
can flow through a pilot opening
68
to the pilot exit passage
46
and from there through the through-diaphragm feed tube
38
to the flush passage
32
, as was previously mentioned. The pilot body member
64
forms legs
70
that space from a pilot-housing-recess wall
72
a pilot-body-member wall
74
that forms openings
76
by which the water in the pilot entrance passageway reaches the central tube
66
's entrance. An O-ring
78
seals between the central tube
66
and the recess wall
72
to prevent water from flowing from the pilot entrance passageway
44
into the pilot-body outlet opening
68
without having first flowed through the pilot body member's central tube
66
. Another O-ring
80
is provided to prevent flow around the pilot body, while a further O-ring
81
seals between the pilot body member
64
and the right pole piece
60
, and yet another O-ring
82
seals between the right pole piece and the bobbin. Finally, a further O-ring
83
prevents liquid in the bobbin
50
's central void from escaping around pole piece
54
.
An actuator spring
84
disposed in the control bore
85
of a ferromagnetic actuator
86
so acts between the left pole piece
54
and the actuator
86
as to tend to keep a resilient valve member
88
seated on a valve seat that the central tube
66
's left end forms. With member
88
thus seated, water cannot flow from the pilot entrance passage
44
to the pilot exit passage
46
. So the pressure in the main-valve pressure chamber
36
cannot exhaust through the pilot body member's central tube
66
, and it therefore keeps the main valve closed by causing diaphragm
28
to bear against its seat
30
.
To flush the toilet
18
, the control circuit
42
drives current through the solenoid windings
52
and thereby generates a magnetic field that tends to concentrate in a flux path including the ferromagnetic actuator
86
, the pole pieces
54
and
60
, and the solenoid can
58
. (The can may be made of, say, 400-series stainless steel, whose magnetic permeability is relatively high for stainless steel.) The resultant magnetic force on the actuator
86
moves it to the left in
FIG. 2
against the spring force and thereby lifts the pilot-valve member
88
from its seat. This permits flow through the pilot-valve body member's central tube
66
to relieve the main pressure chamber
36
's pressure and thereby allow supply pressure in the entrance chamber to open the main valve, i.e., to lift diaphragm
28
off its seat
30
.
In the embodiment illustrated in
FIGS. 2
,
3
, and
4
, the operator assembly includes a magnet
56
, and the actuator's leftward movement places the actuator in a position in which the force from the magnet's field is great enough to overcome spring
84
's force and thereby retain the pilot valve in the open state even after current no longer flows in the solenoid's windings
52
. That is, the operator is of the latching variety. In non-latching latching versions, there is no such permanent magnet, so current must continue to flow if the pilot valve is to remain open, and the pilot valve can be closed again by simply removing the current drive. To close the pilot valve in the illustrated, latching-valve version, on the other hand, current must be driven through the windings in the reverse direction: it must be so driven that the resultant magnetic field counters the permanent-magnet field that the actuator experiences. This allows the spring
84
to re-seat the actuator
86
in a position in which the spring force is again greater than the magnetic force, and the actuator will remain in the pilot-valve-closed position when current drive is thereafter removed.
Note that the actuator's central void
85
communicates through a flow passage
94
with the space to the right of the actuator. Water can flow into the bobbin recess that contains the actuator, and, in the absence of that flow passage, the water's presence might present more viscous resistance to actuator motion than is desirable. The actuator flow passage's communication with the internal void
85
provides a low-flow-resistance path for the water to move back and forth in response to the actuator
86
's motion.
Now, the actuator
86
in the arrangement of
FIGS. 2
,
3
, and
4
comes into contact with the fluid (typically water) being controlled. If that fluid is corrosive, the actuator
86
is best made from a material that tends to resist corrosion. But a corrosion-resistance requirement tends to eliminate from consideration some of the more magnetically permeable materials. This is unfortunate, because the use of lower-magnetic-permeability materials can exact a cost: it increases the solenoid-current requirement and, possibly, the winding-conductor thickness.
FIGS. 5 and 6
depict an arrangement that alleviates this disadvantage to an extent. With one main difference, FIG.
5
's elements are essentially the same as those of
FIG. 4
, and corresponding parts are numbered identically. The main difference is that
FIG. 5
replaces FIG.
4
's O-ring
82
with an isolation diaphragm
96
, which extends completely across the pole-piece opening to seal the actuator from exposure to the water that the valve controls. This reduces the need for the actuator
86
to be made of corrosion-resistance materials; it can be made of materials whose magnetic permeabilities are relatively high.
In the arrangement that
FIGS. 5 and 6
illustrate, FIG.
4
's resilient valve member
88
is replaced with a thickened region
98
in a C-shaped portion of the diaphragm
96
. That diaphragm portion is snap fit onto an actuator head portion
100
provided for that purpose. The
FIG. 5
arrangement provides a slot
102
in the actuator
86
to provide a low-flow-resistance flow path similar to FIG.
4
's radially extending passage
94
. The
FIG. 5
arrangement needs a flow path despite being sealed from the liquid being controlled because, in order to balance the pressure that the controlled liquid exerts on the diaphragm
96
's outer face, some other liquid is provided in a reservoir
104
defined by the diaphragm
96
and extending into the actuator
86
's central void
85
. This fluid must flow through that void as the actuator moves, and the slot
102
provides a low-resistance path for this to occur. The reservoir liquid should be of a type that is less corrosive than the fluid being controlled. The reservoir liquid can simply be water, in which case it would typically be distilled water or water that otherwise contains relatively few corrosive contaminants. Alcohol is another choice. The choice of reservoir is not critical, but most users will find it preferable for the liquid to be non-toxic and relatively inviscid.
FIGS. 7 and 8
illustrate yet another version of the operator. This version is distinguished by the fact that the pilot body member
64
is secured to the operator assembly. Specifically, the body member
64
is provided with threads
106
that engage complementary threads provided by the right pole piece
60
. In the particular embodiment that
FIG. 7
illustrates, the pilot body member forms a flange
108
. That flange so butts against a shoulder portion
110
of the right pole piece
60
as to act as a positive stop to the pilot body member's being screwed onto the operator.
The advantage of thus securing the pilot body can be appreciated best by contrasting this version with that of FIG.
4
. In
FIG. 4
, the body member
64
is secured in place as a result of the operator's being screwed into position in the pilot housing. Various piece-part tolerances and the deformability of O-rings
78
and
81
result in some variability in the position of the pilot body's central tube
66
with respect to the resilient valve member
88
. This variability can cause resultant variability in the flusher's open and close times. The variability can be reduced to within acceptable levels during manufacturing by taking care in the assembly of the operator onto the pilot housing. During field maintenance and/or replacement, though, such care is less practical to provide. In the arrangement of
FIG. 7
, on the other hand, the pilot-valve/seat spacing is set when the pilot member is assembled onto the operator, and this setting can be made quite repeatable, as the
FIG. 7
arrangement illustrates in its use of the flange
108
and shoulder
110
. Of course, other ways of providing a positive stop when the pilot body is assembled to the operator can be employed instead.
Although the
FIG. 7
arrangement is of the isolated variety, i.e., of the type that employs a diaphragm
96
to keep the controlled fluid from coming into contact with the actuator
86
, it will be appreciated that the repeatability advantages of mounting the pilot body on the operator can also be afforded in non-isolated arrangements.
We now turn to the system for controlling the operator. As
FIG. 2
shows, the operator-control circuitry
42
is contained in a circuit housing formed of three parts, a front piece
116
, a center piece
118
, and a rear piece
120
. Screws not shown secure the front piece
116
to the center piece
118
, to which the rear piece
120
is in turn secured by screws such as screw
122
. That screw threadedly engages a bushing
124
ultrasonically welded into a recess that the center housing piece
118
forms for that purpose. A main circuit board
126
, on which are mounted a number of components such as a capacitor
128
and a microprocessor not shown, is mounted in the housing. An auxiliary circuit board
130
is in turn mounted on the main circuit board
126
. Mounted on the auxiliary board
130
is a light-emitting diode
132
, which a transmitter hood
134
also mounted on that board partially encloses.
The front circuit-housing piece
116
forms a transmitter-lens portion
136
, which has front and rear polished surfaces
138
and
140
. The transmitter-lens portion focuses infrared light from light-emitting diode
132
through an infrared-transparent window
144
formed in the flusher housing
146
. FIG.
1
's pattern
148
represents the resultant radiation-power distribution. A receiver lens
152
formed by part
116
so focuses received light onto a photodiode
154
mounted on the main circuit board
126
that FIG.
1
's pattern
150
of sensitivity to light reflected from targets results.
Like the transmitter light-emitting diode
132
, the photodiode
154
is provided with a hood, in this case hood
156
. The hoods
134
and
156
are opaque and tend to reduce noise and crosstalk. The circuit housing also limits optical noise; its center and rear parts
118
and
120
are made of opaque material such as Lexan 141 polycarbonate, while its front piece
116
, being made of transparent material such as Lexan OQ2720 polycarbonate so as to enable it to form effective lenses
136
and
152
, has a roughened and/or coated exterior in its non-lens regions that reduces transmission through it. An opaque blinder
158
mounted on front piece
116
leaves a central aperture
160
for infrared-light transmission from the light-emitting diode
132
but otherwise blocks stray transmission that could contribute to crosstalk. Also to prevent crosstalk, an opaque stop
162
is secured into a slot provided for that purpose in the circuit housing's front part
116
.
The arrangement of
FIG. 2
, in which the transmitter and receiver lenses are formed integrally with part of the circuit housing, can afford manufacturing advantages over arrangements in which the lenses are provided separately from the housing. But it may be preferable in some embodiments to make the lenses separate, because doing so affords greater flexibility in material selection for both the lens and the circuit housing.
FIGS. 9 and 10
are front-elevational and cross-sectional views of an alternative that uses this approach. That alternative includes a front circuit housing piece
116
′ separate from lenses
136
′ and
152
′. The housing part
116
′ forms a teardrop-shaped rim
164
that cooperates during assembly with a similarly shaped flange
166
on lens
136
′ to orient that lens properly in its position on a teardrop-shaped shoulder
168
to which it is then welded ultrasonically. The teardrop shape ensures that the lens is oriented properly, and
FIGS. 9 and 10
show that the receiver lens
152
′ is mounted similarly. Since the front circuit-housing part
116
′ and lenses
136
′ and
152
′ do not need to be made of the same material, housing part
116
′ can be made of an opaque material so that blinders
170
and a stop
172
can be formed integrally with it.
As was mentioned in connection with
FIG. 2
, the circuit housing contains circuitry that controls the valve operator as well as other flusher components.
FIG. 11
is a simplified block diagram of that circuitry. A microcontroller-based control circuit
180
operates a peripheral circuit
182
that controls the valve operator. Transmitter circuitry
184
, including FIG.
2
's light-emitting diode
132
, is also operated by the control circuit
180
, and receiver circuitry
186
includes the photodiode
154
and sends the control circuit its response to resultant echoes. Although the circuitry of
FIG. 11
can be so implemented as to run on house power, it is more typical for it to be battery-powered, and
FIG. 11
explicitly shows a battery-based power supply
188
because the control circuit
180
, as will be explained below, not only receives regulated power from the power supply but also senses its unregulated power for purposes to be explained below. It also controls application of the supply's power to various of the
FIG. 11
circuit's constituent parts.
Since the circuitry is most frequently powered by battery, an important design consideration is that power not be employed unnecessarily. As a consequence, the microcontroller-based circuitry is ordinarily in a “sleep” mode, in which it draws only enough power to keep certain volatile memory refreshed and operate a timer
190
. In the illustrated embodiment, that timer
190
generates an output pulse every 250 msec., and the control circuit responds to each pulse by performing a short operating routine before returning to the sleep mode.
FIGS. 12A and 12B
(together, “FIG.
12
”) form a flow chart that illustrates certain of those operations' aspects in a simplified fashion.
Blocks
200
and
202
represent the fact that the controller remains in its sleep mode until timer
190
generates a pulse. When the pulse occurs, the processor begins executing stored programming at a predetermined entry point represented by block
204
. It proceeds to perform certain initialization operations exemplified by block
206
's step of setting the states of its various ports and block
208
's step of detecting the state of FIG.
2
's push button
210
. That push button, which is mounted on the flusher housing
146
for ready accessibility by a user, contains a magnet
210
a
whose proximity to the main circuit board
126
increases when the button is depressed. The circuit board includes a reed switch
211
that, as
FIG. 11
suggests, generates an input to the control circuit in response to the resultant increased magnetic field on circuit board
126
.
Push button
210
's main purpose is to enable a user to operate the flusher manually. As FIG.
12
's blocks
212
,
214
,
216
,
217
, and
218
indicate, the control circuit
180
ordinarily responds to that button's being depressed by initiating a flush operation if one is not already in progress—and if the button has not been depressed continuously for the previous thirty seconds.
This thirty-second condition is imposed in order to allow batteries to be installed during manufacture without causing significant energy drain between the times when the batteries are installed in the unit and when the unit is installed in a toilet system. Specifically, packaging for the flusher can be so designed that, when it is closed, it depresses the push button
210
and keeps it depressed so long as the packaging remains closed. It will typically have remained closed in this situation for more than thirty seconds, so, as FIG.
12
's block
220
shows, the controller returns to its sleep mode without having caused any power drain greater than just enough to enable the controller to carry out a few instructions. That is, the controller has not caused power to be applied to the several circuits used for transmitting infrared radiation or driving current through the flush-valve operator.
Among the ways in which the sleep mode conserves power is that the microprocessor circuitry is not clocked, but some power is still applied to that circuitry in order to maintain certain minimal register state, including predetermined fixed values in several selected register bits. When batteries are first installed in the flusher unit, though, not all of those register bits will have the predetermined values. Block
222
represents determining whether those values are present. If not, then the controller concludes that batteries have just been installed, and it enters a power-up mode, as block
224
indicates.
The power-up mode deals with the fact that the proportion of sensor radiation reflected back to the sensor receiver in the absence of a user differs in different environments. The power-up mode's purpose is to enable an installer to tell the system what that proportion is in the environment is which the flusher has been installed. This enables the system thereafter to ignore background reflections. During the power-up mode, the object sensor operates without opening the valve in response to target detection. Instead, it operates a visible LED whenever it detects a target, and the installer adjusts, say, a potentiometer to set the transmitter's power to a level just below that at which, in the absence of a valid target, the visible LED's illumination nonetheless indicates that a target has been detected. This tells the system what level will be considered the maximum radiation level permissible for this installation.
Among the steps involved in entering this power-up mode is to apply power to certain subsystems that must remain on continually if they are to operate. Among these, for instance, is the sensor's receiver circuit. Whereas the infrared transmitter needs only to be pulsed, and power need not be applied to it between pulses, the receiver must remain powered between pulses so that it can detect the pulse echoes.
Another subsystem that requires continuous power application in the illustrated embodiment is a low-battery detector. As was mentioned above, the control circuitry receives an unregulated output from the power supply, and it infers from that output's voltage whether the battery is running low, as block
226
indicates. If it is low, then a visible-light-emitting diode or some other annunciator, represented in
FIG. 11
by block
228
, is operated to give the user an indication of the low-battery state.
Now, the battery-check operation that block
226
represents can be reached without the system's having performed block
224
's operation in the same cycle, so block
226
's battery-check operation is followed by the step, represented by block
230
, of determining whether the system currently is in the power-up mode.
In the illustrated embodiment, the system is arranged to operate in this power-up mode for ten minutes, after which the installation process has presumably been completed and a visible target-detection indicator is no longer needed. If, as determined in the block-
230
operation, the system is indeed in the power-up mode, it performs block
232
's step of determining whether it has been in that mode for more than ten minutes, the intended length of the calibration interval. If so, it resets the system so that it will not consider itself to be in the power-up mode the next time it awakens.
For the current cycle, though, it is still in its power-up mode, and it performs certain power-up-mode operations. One of those, represented by block
234
, is to determine from the unregulated power-supply output whether any of the batteries have been installed in the wrong direction. If any have, the system simply goes back to sleep, as block
236
indicates. Otherwise, as block
238
indicates, the system checks its memory to determine whether it has commanded the valve operator five times in a row to close the flush valve, as the illustrated embodiment requires in the power-up mode. We have found that thus ordering the valve to close when the system is first installed tends to prevent inadvertent flushing during initial installation.
As block
242
indicates, the system then determines whether a target has been detected. If is has, the system sets a flag, as block
244
indicates, to indicate that the visible LED should be turned on and thereby notify the installer of this fact. This completes the power-up-mode-specific operations.
The system then proceeds with operations not specific to that mode. In the illustrated embodiment, those further operations actually are intended to be performed only once every second, whereas the timer wakes the system every 250 msec. As block
246
indicates, therefore, the system determines whether a full second has elapsed since the last time it performed the operations that are to follow. If not, the system simply goes back to sleep, as block
248
indicates.
If a full second has elapsed, on the other hand, the system turns on a visible LED if it had previously set some flag to indicate that this should be that LED's state. This operation, represented by blocks
250
and
252
, is followed by block
254
's step of determining whether the valve is already open. If it is, the routine calls a further routine, represented by block
256
, in which it consults timers, etc. to determine whether the valve should be closed. If it should, the routine closes the valve. The system then returns to the sleep mode.
If the valve is not already open, the system applies power, as block
258
indicates, to the above-mentioned subsystems that need to have power applied continuously. Although that power will already have been applied if this step is reached from the power-up mode, it will not yet have been applied in the normal operating mode.
That power application is required at this point because the subsystem that checks battery power needs it. That subsystem's output is then tested, as blocks
260
and
262
indicate. If the result is a conclusion that battery power is inadequate, then the system performs block
264
's and block
266
's steps of going back to sleep after setting a flag to indicate that it has assumed the power-up mode. Setting the flag causes any subsequent wake cycle to include closing the valve and thereby prevents uncontrolled flow that might otherwise result from a power loss.
Now, it is desirable from a maintenance standpoint for the system not to go too long without flushing. If twenty-four hours have elapsed without the system's responding to a target by flushing, the routine therefore causes a flush to occur and then goes to sleep, as blocks
268
,
270
, and
272
indicate. Otherwise, the system transmits infrared radiation into the target region and senses any resultant echoes, as block
274
indicates. It also determines whether the resultant sensed echo meets certain criteria for a valid target, as block
276
indicates.
The result of this determination is then fed to a series of tests, represented by block
278
, for determining whether flushing should occur. A typical test is to determine whether a user has been present for at least a predetermined minimum time and then has left, but several other situations may also give rise to a determination that the valve should be opened. If any of these situations occurs, the system opens the valve, as block
280
indicates. If the visible LED and analog power are on at this point, they are turned off, as block
282
indicates. As block
284
indicates, the system then goes to sleep.
Block
276
's operation of determining whether a valid target is present includes a routine that
FIGS. 13A and 13B
together (“FIG.
13
”) depict. If, as determined in the step represented by that drawing's block
288
, the system is in its power-up mode, then a background gain is established in the manner explained above. Block
290
represents determining that level.
The power-up mode's purpose is to set a background level, not to operate the flush valve, so the background-determining step
290
is followed by the block-
292
operation of resetting a flag that, if set, would cause other routines to open the flush valve. The
FIG. 13
routine then returns, as block
294
indicates.
If the step of block
288
instead indicates that the system is not in the power-up mode, the system turns to obtaining an indication of what percentage of the transmitted radiation is reflected back to the sensor. Although any way of obtaining such an indication can be used to implement the present invention's broader aspects, a approach that tends to conserve power is to vary the transmitted power in such a way as to find the transmitted-power level that results in a predetermined set value of received power. The transmitted-power level thereby identified is an (inverse) indication of the reflection percentage. By employing this approach, the system can so operate as to limit its transmission power to the level needed to obtain a detectable echo.
In principle, the illustrated embodiment follows this approach. In practice, the system is arranged to transmit only at certain discrete power levels, so it in effect identifies the pair of discrete transmitted-power levels in response to which the reflected-power levels bracket the predetermined set value of received power. Specifically, it proceeds to block
296
's and block
298
's steps of determining whether the intensity of the reflected infrared light exceeds a predetermined threshold and, if it does, reducing the system's sensitivity—typically by reducing the transmitted infrared-light intensity—until the reflected-light intensity falls below the threshold. The result is the highest gain value that yields no target indication.
In some cases, though, the reflected-light intensity falls below the threshold even when, if the sensitivity were to be increased any further, the system would (undesirably) detect background objects, such as stall doors, whose presence should not cause flushing. The purpose of block
290
's step was to determine what this sensitivity was, and the steps represented by blocks
300
and
302
set a no-target flag if the infrared echo is less than the threshold even with the gain at this maximum, background level. As the drawing shows, this situation also results in the flush flag's being reset and the routine's immediately returning.
If the block-
300
step instead results in an indication that the echo intensity can be made lower than the threshold return only if the sensitivity is below the background level, then there is a target that is not just background, and the routine proceeds to steps that impose criteria intended to detect when a user has left the facility after having used it. To impose those criteria, the routine maintains a push-down stack onto which it pushes entries from time to time. Each entry has a gain field, a timer field, and an in/out field.
Block
304
represents determining whether the absolute value of the difference between the current gain and the gain listed in the top stack entry exceeds a threshold gain change. If it does not, the current call of this routine results in no new entry's being pushed onto the stack, but the contents of the existing top entry's timer field are incremented, as block
306
indicates. If the block-
304
step's result is instead that the gain change's absolute value was indeed greater than the threshold, then the routine pushes a new entry on to the stack, placing the current gain in that entry's gain field and giving the timer field the value of zero. In short, a new entry is added whenever the target's distance changes by a predetermined step size, and it keeps track of how long the user has stayed in roughly the same place without making a movement as great as that step size.
As blocks
310
,
312
, and
314
indicate, the routine also gives the entry's in/out field an “out” value, indicating that the target is moving away from the flusher, if the current gain exceeds the previous entry's gain, and it gives that field an “in” value if the current gain is less than the previous entry's gain. In either case, the routine then performs the block-
306
step of incrementing the timer (to a value of “1”) and moves from the stack-maintenance part of the routine to the part in which the valve-opening criteria are is actually applied.
Now, a conventional way of determining when to flush is for the circuit to “arm” itself when it infers from the reflection percentage's exceeding some threshold that the user is close and then “trigger” itself to flush when it infers from that percentage's falling below some other threshold that the user has left. In accordance with the present invention, though, the control circuit's criteria for opening the flush valve are independent of absolute reflection percentages; they depend instead on relative changes, as will now be explained.
Block
316
represents applying the first criterion, namely, whether the top entry's in/out field indicates that the target is moving away. If the target does not meet this criterion, the routine performs the block-
292
step of setting the flush flag to the value that will cause subsequent routines not to open the flush valve, and the routine returns, as block
294
indicates. If that criterion is met, on the other hand, the routine performs block
318
's step of determining whether the top entry and any immediately preceding entries indicating that the target is moving away are preceded by a sequence of a predetermined minimum number of entries that indicated that the target was moving in. If they were not, then it is unlikely that a user had actually approached the facility, used it, and then moved away, so the routine again returns after resetting the flush flag. Note that the criterion that the block-
318
step applies is independent of absolute reflection percentage; it is based only on reflection-percentage changes, requiring that the reflection percentage traverse a minimum range as it increases. We have found that this approach is beneficial because it makes the system relatively insensitive to differences in clothing color and texture.
If the step of block
318
instead determines that the requisite number of inward-indicating entries did precede the outward-indicating entries, then the routine imposes the block-
320
criterion of determining whether the last inward-movement-indicating entry has a timer value representing at least, say, 5 seconds. This criterion is imposed to prevent a flush from being triggered when the facility was not actually used. Again, the routine returns after resetting the flush flag if this criterion is not met.
If it is met, on the other hand, then the routine imposes the criteria of blocks
322
,
324
, and
326
, which are intended to determine whether a user has moved away adequately. If the target appears to have moved away by more then a threshold amount, as determined by block
322
, or has moved away slightly less but has appeared to remain at that distance for greater then a predetermined duration, as determined in blocks
324
and
326
, then, as block
328
indicates, the routine sets the flush flag before returning. Otherwise, it resets the flush flag.
The test of
FIG. 13
is typically only one of the various tests that FIG.
12
B's operation
276
includes. But it gives an example of how the illustrated system reduces problems that variations in user-clothing colors would otherwise make more prevalent. As a perusal of
FIG. 13
reveals, a determination of whether a user has arrived and/or left is based not on absolute gain values but rather on relative values, which result from comparing successive measurements. This reduces the problem, which afflicts other detection strategies more severely, of greater sensitivity to light-colored clothing than to dark-colored clothing.
It was mentioned above that the illustrated system employs a visible-light-emitting diode (“visible LED”). In most cases, the visible LED's location is not crucial, so long as a user can really see its light. One location, for instance, could be immediately adjacent to the photodiode;
FIG. 9
shows a non-roughened region
330
in the flange of receiver-lens part
152
′, and the visible LED could be disposed in registration with this region. In the embodiment of
FIG. 2
, though, no such separate visible LED is apparent. The reason why is that the visible LED in that embodiment is provided as a part of a combination-LED device
132
, which also includes the transmitter's infrared source.
To operate the two-color LED, FIG.
11
's transmitter and annunciator circuits
184
and
228
together take the form shown in FIG.
14
. That circuitry is connected to the two-color LED's terminals
332
and
334
. The control circuit separately operates the two-color LED's infrared-light-emitting diode D
1
and the visible-light-emitting diode D
2
by driving control lines
336
,
338
, and
340
selectively. Specifically, driving line
340
high turns on transistors Q
1
and Q
2
and thereby drives the visible-light-emitting diode D
2
, at least if line
338
is held high to keep transistor Q
3
turned off. If line
340
is driven low, on the other hand, and line
338
is also driven low, then infrared-light-emitting diode D
1
is allowed to conduct, with a power that is determined by the voltage applied to a line
336
that controls transistor Q
4
.
It was stated above in connection with FIG.
12
's blocks
214
,
217
, and
220
that the system goes to sleep if the push button has remained depressed for over 30 seconds.
FIG. 15
illustrates packaging that takes advantage of this feature to keep power use negligible before the kit is installed, even if the kit includes installed batteries while it is in inventory or being transported. To adapt a previously manual system to automatic operation, a prospective user may acquire a flow controller that, for example, contains all of the elements depicted in
FIG. 2A
except the through-diaphragm feed tube
38
. This flow controller, identified by reference numeral
348
in
FIG. 15
, is delivered in a container comprising a generally rectangular cardboard box
350
. The box's top includes an inner flap
352
, which is closed first, and an outer flap
354
, which is closed over the inner flap. Tabs
356
that fit into slots
358
provided in the box body keep the box closed. To keep the button depressed while the box is closed, the box is provided with a button activator
360
so mounted on the inner flap
352
that it registers with the push button
310
when that flap is closed. The package may be provided with inserts, not shown, to ensure that the flow controller's push button registers correctly with the activator.
FIG. 16
is a detailed cross-sectional view of the button activator
360
showing it mounted on the inner flap
352
with the outer flap
354
closed over it. The illustrated activator
360
is typically a generally circular plastic part. It forms an annular stop ring
362
, which engages the top of the flow controller's housing
146
(
FIG. 2
) to ensure that a central protuberance
364
depresses the push button by only the correct amount. To mount the activator
360
in the inner flap, it is provided with a barbed post
366
. Post
366
forms a central slot
368
that enables it to deform so that its barbs can fit through a hole
370
in the inner flap
352
. The outer flap
354
forms another hole
372
to accommodate the barbed post
366
.
Other arrangements may place the button actuator elsewhere in the container. It may be placed on the container's bottom wall, for example, and the force of the top flaps against the flow controller.
Now, it sometimes occurs that the batteries are placed into the circuit even before it is assembled into the housing, and the circuit with the batteries installed may need to be shipped to a remote location for that assembly operation. Since there is as yet no housing, the circuitry cannot be kept asleep by keeping the housing's button depressed. For such situations, an approach that
FIGS. 17 and 18
depict can be employed.
FIG. 17
is a view similar to
FIG. 15
, but the contents
376
of FIG.
17
's package
350
′ are only a subset of the kit
348
that FIG.
15
's package
350
contains. They may, for instance, exclude FIG.
2
's housing
146
as well as the pressure cap
24
and the solenoid and pilot-valve members mounted on it. So the package
350
′ in the
FIG. 17
embodiment does not include a button activator like the one that FIG.
15
's box
350
includes. Instead, as
FIG. 18
shows, a magnet
380
is glued to the inner surface of the package
350
's bottom wall
382
, and a hole
384
in an insert board
386
that rests on the bottom wall
382
receives the magnet.
The circuit assembly
376
, which
FIG. 18
omits for the sake of simplicity, is so placed into the package that the circuit's reed switch is disposed adjacent to the magnet. That switch is therefore closed just as it is when the push button is operated, and the circuit therefore remains asleep.
By employing criteria flush criteria that are based on reflection-percentage changes, an automatic flusher can provide automatic flushing more reliably than systems based on absolute reflection-percentage levels. The present invention thus constitutes a significant advance in the art.
Claims
- 1. An automatic flusher comprising:A) an electrical valve operable by application of control signals thereto between an open state, in which it permits water flow therethrough, and a closed state, in which it prevents water flow therethrough; and B) a control circuit that transmits radiation into a target region, detects radiation that as a result is reflected with a reflection percentage to the control circuit, and, in at least one mode of operation, responds to reflection-percentage changes independently of absolute levels of reflection percentage by so applying control signals to the electrical valve as to operate the electrical valve to its open state in response to a sequence of a period of decreasing reflection percentage meeting predetermined withdrawal criteria preceded by a period of increasing reflection percentage meeting predetermined approach criteria.
- 2. An automatic flusher as defined in claim 1 wherein the predetermined approach criteria include the requirement that the duration of the period of increasing reflection percentage exceed an approach-period minimum.
- 3. An automatic flusher as defined in claim 2 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 4. An automatic flusher as defined in claim 2 wherein the predetermined withdrawal criteria include the requirement that the duration of the period of decreasing reflection percentage exceed a withdrawal-period minimum.
- 5. An automatic flusher as defined in claim 4 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 6. An automatic flusher as defined in claim 5 wherein the predetermined withdrawal criteria include the requirement that the reflection percentage have traversed a minimum withdrawal reflection-percentage range during the approach period.
- 7. An automatic flusher as defined in claim 6 wherein the control circuit additionally:A) keeps a push-down stack of entries that include respective time and direction fields; B) when the change in reflection percentage exceeds a percentage-change minimum, pushes a new entry onto the push-down stack and placing into its direction field an indication of whether the reflection percentage increased or decreased; and C) increments the contents of the top entry's time field if the change in reflection percentage does not exceed the percentage-change minimum.
- 8. An automatic flusher as defined in claim 7 wherein the control circuit determines whether the duration of the period of increasing reflection percentage exceeded an approach-period minimum by comparing with a predetermined approach-duration minimum the sum of the contents of the time fields in the entries whose direction fields indicate that the reflection percentage increased.
- 9. An automatic flusher as defined in claim 8 wherein the control circuit determines whether the duration of the period of decreasing reflection percentage exceeded a withdrawal-period minimum by comparing with a predetermined withdrawal-duration minimum the sum of the contents of the time fields in the entries whose direction fields indicate that the reflection percentage decreased.
- 10. An automatic flusher as defined in claim 9 wherein the control circuit determines whether the reflection percentage traversed a minimum approach reflection-percentage range during the approach period by comparing with a predetermined approach-entry minimum the number of entries whose direction fields indicate that the reflection percentage increased.
- 11. An automatic flusher as defined in claim 10 wherein the control circuit determines whether the reflection percentage traversed a minimum withdrawal reflection-percentage range during the withdrawal period by comparing with a predetermined withdrawal-entry minimum the number of entries whose direction fields indicate that the reflection percentage decreased.
- 12. An automatic flusher as defined in claim 1 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 13. An automatic flusher as defined in claim 12 wherein the predetermined withdrawal criteria include the requirement that the reflection percentage have traversed a minimum withdrawal reflection-percentage range during the approach period.
- 14. An automatic flusher as defined in claim 13 wherein the control circuit additionally:A) keeps a push-down stack of entries that include respective time and direction fields; B) when the change in reflection percentage exceeds a percentage-change minimum, pushes a new entry onto the push-down stack and placing into its direction field an indication of whether the reflection percentage increased or decreased; and C) increments the contents of the top entry's time field if the change in reflection percentage does not exceed the percentage-change minimum.
- 15. An automatic flusher as defined in claim 14 wherein the control circuit determines whether the reflection percentage traversed a minimum approach reflection-percentage range during the approach period by comparing with a predetermined approach-entry minimum the number of entries whose direction fields indicate that the reflection percentage increased.
- 16. An automatic flusher as defined in claim 15 wherein the control circuit determines whether the reflection percentage traversed a minimum withdrawal reflection-percentage range during the withdrawal period by comparing with a predetermined withdrawal-entry minimum the number of entries whose direction fields indicate that the reflection percentage decreased.
- 17. An automatic flusher as defined in claim 1 wherein the control circuit so varies the transmitted-radiation intensity as to find a transmitted-radiation intensity that results in a reflection intensity that approximates a predetermined value, and it uses that transmitted-radiation intensity as its indication of reflection percentage.
- 18. A method of operating an automatic flusher comprising:A) providing an electrical valve operable by application of control signals thereto between an open state, in which it permits water flow therethrough, and a closed state, in which it prevents water flow therethrough; and B) transmitting radiation into a target region; C) detecting radiation that is reflected with a reflection percentage as a result; D) responding to reflection-percentage changes independently of absolute levels of reflection percentage by so applying control signals to the electrical valve as to operate the electrical valve to its open state in response to a sequence of a period of decreasing reflection percentage meeting predetermined withdrawal criteria preceded by a period of increasing reflection percentage meeting predetermined approach criteria.
- 19. A method as defined in claim 18 wherein the predetermined approach criteria include the requirement that the duration of the period of increasing reflection percentage exceed an approach-period minimum.
- 20. A method as defined in claim 19 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 21. A method as defined in claim 19 wherein the predetermined withdrawal criteria include the requirement that the duration of the period of decreasing reflection percentage exceed a withdrawal-period minimum.
- 22. A method as defined in claim 21 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 23. A method as defined in claim 22 wherein the predetermined withdrawal criteria include the requirement that the reflection percentage have traversed a minimum withdrawal reflection-percentage range during the approach period.
- 24. A method as defined in claim 23 that further includes:A) keeping a push-down stack of entries that include respective time and direction fields; B) when the change in reflection percentage exceeds a percentage-change minimum, pushing a new entry onto the push-down stack and placing into its direction field an indication of whether the reflection percentage increased or decreased; and C) incrementing the contents of the top entry's time field if the change in reflection percentage does not exceed the percentage-change minimum.
- 25. A method as defined in claim 24 that includes determining whether the duration of the period of increasing reflection percentage exceeded an approach-period minimum by comparing with a predetermined approach-duration minimum the sum of the contents of the time fields in the entries whose direction fields indicate that the reflection percentage increased.
- 26. A method as defined in claim 25 that includes determining whether the duration of the period of decreasing reflection percentage exceeded a withdrawal-period minimum by comparing with a predetermined withdrawal-duration minimum the sum of the contents of the time fields in the entries whose direction fields indicate that the reflection percentage decreased.
- 27. A method as defined in claim 26 that includes determining whether the reflection percentage traversed a minimum approach reflection-percentage range during the approach period by comparing with a predetermined approach-entry minimum the number of entries whose direction fields indicate that the reflection percentage increased.
- 28. A method as defined in claim 27 that includes determining whether the reflection percentage traversed a minimum withdrawal reflection-percentage range during the withdrawal period by comparing with a predetermined withdrawal-entry minimum the number of entries whose direction fields indicate that the reflection percentage decreased.
- 29. A method as defined in claim 18 wherein the predetermined approach criteria include the requirement that the reflection percentage have traversed a minimum approach reflection-percentage range during the approach period.
- 30. A method as defined in claim 29 wherein the predetermined withdrawal criteria include the requirement that the reflection percentage have traversed a minimum withdrawal reflection-percentage range during the approach period.
- 31. A method as defined in claim 30 that further includes:A) keeping a push-down stack of entries that include respective time and direction fields; B) when the change in reflection percentage exceeds a percentage-change minimum, pushing a new entry onto the push-down stack and placing into its direction field an indication of whether the reflection percentage increased or decreased; and C) incrementing the contents of the top entry's time field if the change in reflection percentage does not exceed the percentage-change minimum.
- 32. A method as defined in claim 31 that includes determining whether the reflection percentage traversed a minimum approach reflection-percentage range during the approach period by comparing with a predetermined approach-entry minimum the number of entries whose direction fields indicate that the reflection percentage increased.
- 33. A method as defined in claim 32 that includes determining whether the reflection percentage traversed a minimum withdrawal reflection-percentage range during the withdrawal period by comparing with a predetermined withdrawal-entry minimum the number of entries whose direction fields indicate that the reflection percentage decreased.
- 34. A method as defined in claim 18 that includes:A) varying the transmitted-radiation intensity as to find a transmitted-radiation intensity that results in a reflection intensity that approximates a predetermined value; and B) using that transmitted-radiation intensity as its indication of reflection percentage.
US Referenced Citations (13)