Claims
- 1. An electronic faucet, comprisinga spout having a housing that extends from a base end of said housing to a distal free end of said housing; a spout tube extending through said housing from an opening in said base end to an opening in said free end; a valve having a water inlet, a water outlet, and at least one input that controls switching of said valve between an open state and a closed state, wherein said valve permits water flow through said valve between said inlet and said outlet when in said open state and prevents water flow through said valve between said inlet and said outlet when in said closed state; an electronic control circuit coupled to said input of said valve, said circuit including a microprocessor, a memory accessible by said microprocessor, a control program stored in said memory, and a sensor coupled to said microprocessor, said sensor being supported by said housing and being operable to generate a signal indicative of the presence or absence of objects located within a region of space near said housing; said microprocessor being operable under control of said program to perform a calibration using said sensor to determine an adjustable setpoint indicative of the signal received from said sensor in the absence of a detected object within said region of space; and said microprocessor being operable under control of said program to switch said valve from said closed state to said open state when the signal from said sensor increases above said setpoint by a selected amount, and further, said microprocessor being operable to switch said valve from said closed state to said open state when the signal from said sensor decreases below said setpoint by a selected amount.
- 2. An electronic faucet as defined in claim 1, wherein said microprocessor is operable under control of said program to determine a calibration point during said calibration and to initialize said adjustable setpoint using said calibration point.
- 3. An electronic faucet as defined in claim 2, wherein said microprocessor is operable under control of said program to initialize said adjustable setpoint using said calibration point after said calibration and after said valve is switch ed from its open state to its closed state.
- 4. An electronic faucet as defined in claim 2, wherein said microprocessor is operable under control of said program to execute a tracking routine that determines if the signal from said sensor increases above said setpoint by a selected amount or decreases below said setpoint by a selected amount, wherein said tracking routine is operable to make multiple adjustments to said setpoint and to compare said setpoint to the signal received from the sensor after each of said adjustments.
- 5. An electronic faucet as defined in claim 4, wherein said microprocessor is operable under control of said program to confine said adjustable setpoint to a range of values that includes said calibration point.
- 6. An electronic faucet as defined in claim 2, wherein said microprocessor is operable under control of said program to periodically perform said calibration and wherein said microprocessor is further operable under control of said program to make adjustments to said calibration point in between each of said calibrations.
- 7. An electronic faucet as defined in claim 6, wherein said microprocessor is operable under control of said program to make said adjustments based upon a comparison of said calibration point to a value that is determined using a number of previous sensor signals.
- 8. An electronic faucet as defined in claim 7, wherein said value is determined by a running average of said previous sensor signals and wherein said calibration point is adjusted upward by a pre-selected amount if said value is above said calibration point and is adjusted downward by said pre-selected amount if said value is below said calibration point.
- 9. An electronic faucet as defined in claim 1, wherein said electronic control circuit includes a comparator having first and second inputs and an output, with said first input being coupled to said sensor to receive said sensor signal, and wherein said microprocessor includes a data input coupled to the output of said comparator and a data output coupled to said second input of said comparator, with said microprocessor being operable under control of said program to use said data output to output data relating to said adjustable setpoint, whereby said microprocessor receives from said comparator a binary signal indicative of whether said sensor signal is above or below said adjustable setpoint.
- 10. An electronic faucet as defined in claim 9, wherein said microprocessor is operable under control of said program to periodically perform an iteration in which said microprocessor examines said binary signal, adjusts said setpoint in accordance with the value of said binary signal, and rechecks said binary signal using updated sensor data to determine if said binary signal has changed.
- 11. An electronic faucet as defined in claim 10, wherein, while said valve is in said closed state, said microprocessor is operable under control of said program to periodically perform one or more of said iterations and is further operable to switch said valve from said closed state to said open state if said binary signal remains the same after all of said iterations; andwherein, while said valve is in said open state, said microprocessor is operable under control of said program to periodically perform a number of said iterations and is further operable to switch said valve from said open state to said closed state if said binary signal changes after the one or more iterations.
- 12. An electronic faucet as defined in claim 1, wherein said program includes a tracking routine that attempts to track changes in said sensor signal by making limited adjustments to said setpoint and wherein said microprocessor is operable under control of said program to switch said valve from said closed state to said open state when said tracking routine is unable to track the changes in said sensor signal.
- 13. An electronic faucet as defined in claim 12, wherein said limited adjustments have a magnitude that is calculated using said adjustable setpoint.
- 14. An electronic faucet as defined in claim 1, wherein said program includes a tracking routine that attempts to track changes in said sensor signal by making limited adjustments to said setpoint and wherein said microprocessor is operable under control of said program to switch said valve from said open state to said closed state when said tracking routine is able to track said sensor signal a selected number of times.
- 15. An electronic faucet as defined in claim 14, wherein said microprocessor is operable under control of said program to switch said valve from said closed state to said open state when said tracking routine is unable to track the changes in said sensor signal and wherein the size of said limited adjustments is larger when said valve is in said open state than when said valve is in said closed state.
- 16. An electronic faucet as defined in claim 1, wherein said microprocessor is operable under control of said program to begin a timer when said valve is switched from said closed state to said open state and to reset said timer when said valve is switched from said open state to said closed state, and wherein said microprocessor is further operable to switch said valve from said open state to said closed state in response to expiration of said timer.
- 17. An electronic faucet as defined in claim 16, wherein said microprocessor is operable under control of said program to perform said calibration following expiration of said timer and the switching of said valve between said open and closed states.
- 18. An electronic faucet as defined in claim 1, wherein said valve includes a solenoid actuator that can be toggled by momentary energization between a valve open state and a valve closed state and wherein said control circuit is battery operated and includes an input capacitor having a capacitance value selected such that said capacitor stores sufficient charge to provide said momentary energization of said solenoid.
- 19. An electronic faucet as defined in claim 18, wherein said microprocessor includes a power supply input that is coupled to said capacitor, wherein said capacitor provides sufficient storage of charge to provide momentary operation of both said microprocessor and said solenoid upon disconnection of the battery.
- 20. An electronic faucet as defined in claim 19, wherein said microprocessor includes a battery low input and a battery disconnect input, with said battery low input being used to indicate a low battery voltage condition to said microprocessor and said battery disconnect input being used to indicate to said microprocessor that the battery is disconnected from said control circuit, wherein said microprocessor is operable under control of said program to provide a warning signal when said battery low input is activated and is operable in response to disconnection of the battery to perform a shutdown routine that includes determining if said valve is in said open state and, if so, activating said solenoid to switch said valve to said closed state.
- 21. A method of controlling a faucet using a sensor that monitors a region of space near the faucet to detect an object within the region of space, comprising the steps of:(a) determining an adjustable setpoint representative of the signal received from the sensor in the absence of an object within the region of space, (b) determining whether an object is present within the region of space using the following steps: (b1) acquiring a signal from the sensor, (b2) comparing the signal to the adjustable setpoint and, if the signal is greater than the setpoint, performing at least one iteration of steps (b3) through (b5): (b3) adjusting the setpoint upward, (b4) acquiring an updated signal from the sensor, and (b5) comparing the updated signal to the adjusted setpoint, (c) and thereafter permitting water flow through the faucet if the signal was greater than the setpoint during step (b2) and during each instance of step (b5).
- 22. A method as in claim 21, wherein step (b2) further comprises:(b2) comparing the signal to the adjustable setpoint and, if the signal is less than the setpoint, performing at least one iteration of steps (b6) through (b8): (b6) adjusting the setpoint downward, (b7) acquiring an updated signal from the sensor, and (b8) comparing the updated signal to the adjusted setpoint, and wherein step (c) further comprises permitting water flow through the faucet if the signal was less than the setpoint during step (b2) and during each instance of step (b8).
- 23. A method as in claim 21, wherein step (b2) further comprises performing multiple iterations of steps (b3) through (b5) if the signal is greater than the setpoint.
- 24. A method as in claim 21, wherein step (c) further comprises preventing water flow through the faucet if the signal was less than the setpoint during an instance of step (b5).
- 25. A method of controlling a faucet using a sensor that monitors a region of space near the faucet to detect an object within the region of space, comprising the steps of:(a) determining an adjustable setpoint representative of the signal received from the sensor in the absence of an object within the region of space, (b) determining whether an object is present within the region of space using the following steps: (b1) acquiring a signal from the sensor, (b2) determining whether the signal is within a window about the adjustable setpoint using at least one iteration of steps (b3) through (b5): (b3) adjusting the setpoint towards one of the bounds of the window, (b4) acquiring an updated signal from the sensor, and (b5) comparing the updated signal to the adjusted setpoint, (c) and thereafter permitting water flow through the faucet if the signal was determined to be outside the window.
- 26. A method as in claim 25, wherein step (b2) further comprises determining that the signal is outside of the window if, during each iteration of steps (b3) through (b5), the updated signal was between the value of the setpoint prior to adjustment and the value of the setpoint after adjustment.
Parent Case Info
This application is a Div of Ser. No. 09/232,303 filed Jan. 15, 1999, U.S. Pat. No. 660,298.
US Referenced Citations (15)
Foreign Referenced Citations (1)
Number |
Date |
Country |
404124328 |
Apr 1992 |
JP |