The present invention relates to a method for controlling an electronic device through infrared detection and particularly to a method to detect a targeted object through infrared ray and by judging movement waveforms of the targeted object to generate a control signal to control an electronic device.
In 1800 Sir William Herschel of U.K. Royal Society published a paper announcing that there is an invisible extended light spectrum beyond the visible red light in the sun light. Since then the scope and effects of infrared ray have been studied comprehensively. One of the main applications is to detect objects through the infrared ray. As a warm object can radiate infrared ray which can be received and detected by an infrared sensor within a selected range. Different types of infrared sensors can detect infrared rays of varying wavelengths generated by human bodies, animals, plants or even machines. Hence more applications are developed based on this characteristic. Nowadays it is widely used in people's daily life, such as communication, burglar alarming, photo taking and detection of people or object location and the like. For instance, R.O.C. patent No. M320031 entitled “Automatic lighting apparatus by detecting human bodies” includes an infrared sensor to detect human bodies, a photosensitive element and a plurality of LEDs (light emitting diodes). The photosensitive element detects environmental light. In the event that the light is insufficient and there is a person passing through a selected location, the infrared sensor detects the infrared signal of the person and lights the LEDs for a selected time period for illumination. Through the technique and patent previously discussed the location of an object can be detected through the infrared ray. Another example is depicted in U.S. Pat. No. 7,151,530 entitled “System and method for determining an input selected by a user through a virtual interface”. It has a projector to project a virtual interface and a depth sensor to judge the location selected by a user. Then a signal is generated input from the user. The depth distance sensor can serve as a sensor to detect infrared ray. However, all the techniques mentioned above merely detect the location of a human body or other objects without providing commands according to the movement of the targeted object. There are still rooms for improvement in terms of applications of infrared detection. U.S. patent publication No. 20080104302 also discloses a technique which has a signal conversion structure to generate a signal table through CPU processing and a memory, and converts a signal to another signal sent to an electronic equipment. But it does not teach the hardware structure required to implement the technique.
In view of the shortcomings of the conventional infrared detection techniques that do not generate command signals for the movement of a targeted object, the primary object of the present invention is to provide a technique to generate command signals through infrared ray when movement of a targeted object is detected. The invention includes a method and implementation structure to judge movement of a targeted object through infrared ray and convert to a control signal.
The method according to the invention employs an infrared sensor to detect movement alteration waveforms of a targeted object to generate a control signal to control an electronic device. The method includes: setting at least one execution command; setting an executing condition for each execution command; getting a detection signal of the infrared sensor; processing alteration waveforms of the detection signal; judging whether the detection signal alteration waveforms coincided with the executing condition; and executing the execution command corresponding to the executing condition. By means of the method set forth above the infrared sensor can detect movement of the targeted object, and convert the movement to a control means for the electronic device. Thereby through the movement of an object the electronic device can be activated.
The foregoing, as well as additional objects, features and advantages of the invention will be more readily apparent from the following detailed description, which proceeds with reference to the accompanying drawings.
The method for controlling an electronic device through infrared detection according to the invention detects the movement of a targeted object through an infrared sensor. The movement of the targeted object forms an alteration waveform in the infrared sensor to generate a control signal to control the electronic device. The method includes the following steps: A. setting at least one execution command; B. setting an executing condition for each execution command; C. getting a detection signal of the infrared sensor; D. processing alteration waveforms of the detection signal; and E. judging whether the detection signal alteration waveforms coincided with the executing condition, and executing the execution command corresponding to the executing condition. The execution command aims to control the electronic device to perform a selected function. The detection signal is generated by the infrared sensor by judging the location of the targeted object. In the event that the infrared sensor detects a movement occurred to the targeted object, alteration waveforms of the detection signal is determined. Thereby the alteration waveforms are converted to the execution command to control the electronic device. Refer to
Refer to
Referring to
Please referring to
The method and embodiments set forth above clearly shows that the present invention offers a significant improvement over the conventional techniques.
While the preferred embodiments of the invention have been set forth for the purpose of disclosure, modifications of the disclosed embodiments of the invention as well as other embodiments thereof may occur to those skilled in the art. Accordingly, the appended claims are intended to cover all embodiments which do not depart from the spirit and scope of the invention.