The present invention involves an automatic sensing system used in automatic sensing toilets that includes radio control and infrared communication.
There are 3 major types of existing automatic sensing toilets according to the installation styles.
In the first type, the electronic sensing component is installed on the toilet, and the electronic sensing component forms a whole body with the valve body. The component detects a user from the front side. The disadvantages of this first type is that the opening and closing of the toilet cover may cause error flushing of the toilet, and the whole valve body needs to be disassembled for maintenance, which is very inconvenient.
The second type of existing automatic sensing toilets is the type in which the electronic sensing component is separate from the valve body and is installed into the wall beside the toilet. The sensing component detects a user from one side. Though this type overcomes the disadvantages of the first type, it is still connected with the solenoid valve inside the toilet with leads, which is inconvenient for lead arrangement during installation and does not present a pleasant appearance.
The third type is when the electronic sensing component is separate from the valve body and is installed into the wall beside the toilet. The sensing component detects a user from one side. Then infrared communication is used to send the signal of whether a user is detected to the flushing device. Though this type overcomes the disadvantage of the first two types, it still has 3 weak aspects: First, when the infrared receiving window is covered or blocked, flushing will fail. Second, there are certain requirements for the height and angle of the installation of main and slave board. Third, the receiving part is a free-standing device outside the water box, which prevents a pleasant look of the whole toilet.
In order to overcome the existing problems, the present invention adopts the technical solution that the coordination of a main and slave circuit board controls the flushing of a toilet. The main circuit board uses a radio control to operate the slave circuit board inside the water box. The main circuit board includes user-sensing circuit and radio signal transmission circuit. The slave circuit board includes radio signal transmission circuit and solenoid valve drive circuit. Due to the wireless communication between the main and slave circuit board, the user-sensing main circuit becomes free-standing and can be installed anywhere around the toilet to detect a user. Additionally, there is no requirement for directions. The slave circuit board is installed inside the water box of the toilet. After the slave circuit board receives a signal, the slave circuit board drives the solenoid valve to operate the toilet flushing. The radio control signal emitted by the main circuit board can travel across the outer wall of the toilet water box and communicate with the slave circuit board. The installation of slave circuit board inside the toilet water box does not affect the look of the toilet. Furthermore, the slave circuit board can receive the radio control signals emitted by the main circuit board. This solution prevents error flushing of existing automatic sensing toilets, avoids the trouble of wire arrangement, and avoids the requirements from installation position.
It is the intention of at least an embodiment of the invention to provide an automatic sensing system comprising: a main circuit board including an infrared user-sensing module and a first radio signal transmission module; a slave circuit board including a second radio transmission module and a solenoid valve drive module; and a solenoid valve operatively connected to the slave circuit board.
It is also the intention of at least an embodiment of the invention to provide a method of operating an automatic sensing system comprising the steps of: providing a main circuit board having an infrared user-sensing module and a first radio signal transmission module; providing a slave circuit board having a second radio transmission module and a solenoid valve drive module; providing a solenoid valve operatively connected to the slave circuit board.
First, the features of the radio transmission module determine the one-to-one corresponding relationship. The radio transmission module has codes to set pins. The codes can be used to set independent pins at high level or low levels to establish the corresponding relationship between the two modules.
Second, software programs are used to set collated codes in a microcontroller. The form of collated codes is illustrated in
The following describes the specific collated code setting process. When the power is on, the timer inside the microcontroller begins to count. An external interruption signal to the 2 microcontroller is produced to stop the microcontroller from counting. At this time, the microcontroller records this random time constant, and after procession, the microcontroller saves the random time constant to the EEPROM. Therefore, the needed collated code is produced. The oscillation frequency adopted is 4 MHZ, so the timing precision is 1 μs. According to the demonstration form of the collated code, we know that the code can produce 213 different random numbers. In actual application, at the same location, it is impossible to use more than 213 products at the same time, so the repetition rate is near zero. Therefore, the collated code of the products won't interfere with each other and error operation is avoided. In the event that the main board and the slave board are carelessly mixed up when a product is produced, we can reset the collated code, so that the user doesn't have to waste time looking for the original. After the collated code is produced and processed by the microcontroller, the code is output to the infrared emitting diode in certain pulse form to send pulse signal, which is then received by the infrared receiving diode of the slave board. Afterwards, the signal is processed by the microcontroller into 16-bit collated code and saves the code into the EEPROM of the microcontroller. At this point, the collated code setting for both main and slave boards is complete.
Although the present invention has been shown and described herein by way of a preferred embodiment, it is understood that the invention may be modified without departing form the scope and spirit of the invention as defined in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
200620042500.2 | Jun 2006 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB07/01459 | 6/1/2007 | WO | 00 | 2/20/2009 |