The Simple Noise Control Method is a method used to control the noise in a circuit which uses pulsed signals as a means of communication. This method utilizes regular timers, counters and logic IC's to prevent noises in signal from affecting the circuit. The timers and counters create a frequency band pass filter and duration filter which will virtually render the circuit noise free.
The band pass filter eliminates all noises below and above a minimum and maximum frequency limits in which the signal frequency is well within or near the middle of the limits.
The duration filter eliminates all noises which frequencies are within the pass band but their lives are shorter or longer than certain time limits in which the signal is supposed to be within.
The band pass filter can be modified very easily to become high pass filters to use in a case the noises' frequencies are low. The duration filter can also be modified as such easy to become a long duration filter which filters out noises which have lives shorter than the minimum time duration of the window. After these two filters, the noises are virtually eliminated and the circuit is noise free.
U.S. Pat. No. 5,049,763, Rogers, Sep. 17, 1991, discloses a ground noise detector circuit which can detect the ground noise caused by the power supply and takes proper action to reduce the damage caused by the noise. However, the Rogers, 1991 circuit has the disadvantages of not detecting and protecting the device from noises come from other sources such as surrounding or spike.
U.S. Pat. No. 6,175,598, Yu, et al., Jan. 16, 2001, discloses an output noise control scheme for multiple I/O's which can significantly reduce power ground bounce characteristics when multiple outputs being simultaneously switched. However, the Yu, et al, 2001 circuit has the disadvantages of not detecting and protecting the circuit from noises come from other sources such as spike which can falsely change the operation of the circuit.
Interference from noise is a major problem for almost all electronic circuits. Noise can come from a variety of sources, including the surrounding environment, the power supply, the spike on the electrical network especially from inductance device connected to the same electrical conductors. Some devices can tolerate certain levels of noises; however, some devices cannot tolerate even a single noise which might effect its operation. A touchless switch which mistakenly turns on the light while people are sleeping is not acceptable.
There are many methods to control and to eliminate noises such as noise suppressor diode to limit the Voltage of the spike, a time delay circuit to wait out the noise or use of software algorithms to eliminate noise. However, noises are unpredictable and everywhere. It is costly to contain noises and sometimes it is almost impossible to avoid them.
The present invention will control the noise in a circuit which uses pulsed signals as an operation media. One typical application, but not limited to, is a touchless switch using pulsed infrared (IR) signals to control the switch. If a person reflects an IR beam to the receiver, the switch will toggle. There are many sources of noises: the sun, light and human, devices. Noise control is critical for a touchless switch.
The present invention uses a few simple, low cost and widely available integrated circuits such as timers, counters, logic gates and flip flops to control the noises in the circuit. For the example of a touchless switch, the IC's required to control the noises are just two timers and two counters, with which they can protect the switching circuit and keep it virtually free of noise.
The above and other aspects, features and advantages of the present invention will be more apparent from the following more particular description presented in conjunction with the following drawings wherein:
The following description is of the best version presently contemplated for carrying out the invention. This description is not to be taken in a limiting sense, but is made merely for the purpose of describing one or more preferred embodiments of the invention. The scope of the invention should be determined with reference to the claims.
The present invention provides a simple but effective method to control the noises introduced into the signal at the input of the circuit by the surrounding environment or power supply.
From
Counters 4 and 5 count the pulses of the signal within the short and long periods of time generated by timers 1 and 2, respectfully. Because the frequency of the signal is known within certain limits, the length of the pulse from timer can be calculated such that counter 4 will count to certain number and clock the flip flop 8 only if the frequency of the signal is equal or higher than the minimum frequency of the signal. Thus this will eliminate all noise which has frequencies lower than the minimum frequency of the signal. Counter 4 works as a high pass filter. On the other hand, counter 5 is supposed NOT to count to certain number at the end of the pulse. If counter 5 reaches certain number within the length of the long pulse, the frequency of the signal (actually noise) is higher than the maximum frequency of a good signal. If this happens, counter 5 will toggle flip flop 8 again thus canceling out the effect of counter 4. As a result, counter 5 works as a low pass filter. Or gate 7 is used to connect two outputs of counter 4 and 5 to the clock input of flip flop 8. During the longest pulse, the output of flip flop 8 is rendered unable by the use of inverter 6 combined with and gate 9. At the end of the longest pulse, and if the flip flop 8 changes its states, the frequency of the signal will be within certain limit of the band pass and the signal is good.
However, because some noises can have frequencies comparable to the good signal, the output of flip flop 8 is needed to run under another filter: the duration filter.
The duration filter which is the same as the band pass filter is comprised of three timers, two counters, one flip flop, one and, one or and one inverter gates. The operation of the duration filter is exactly the same as the operation of the band pass filter; however, the duration filter is based on how long the signal is kept under test, not the frequency. Noise which duration is shorter or longer than the supposed duration of the signal will be eliminated. Usually, noise's duration is short but the long pulse test can be used to eliminate the chance of a false trigger, such as someone standing in front of a touchless switch for a long period of time.
The output of the flip flop of the duration filter can be used to turn on or off an apparatus such as a lamp, faucet etc, without worrying about noises in the input signal.