CN111427097A - Gesture recognition control method - Google Patents
Gesture recognition control method Download PDFInfo
- Publication number
- CN111427097A CN111427097A CN202010260429.XA CN202010260429A CN111427097A CN 111427097 A CN111427097 A CN 111427097A CN 202010260429 A CN202010260429 A CN 202010260429A CN 111427097 A CN111427097 A CN 111427097A
- Authority
- CN
- China
- Prior art keywords
- infrared
- controller
- signal
- resistor
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 239000003990 capacitor Substances 0.000 claims description 13
- 230000002159 abnormal effect Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V8/00—Prospecting or detecting by optical means
- G01V8/10—Detecting, e.g. by using light barriers
- G01V8/20—Detecting, e.g. by using light barriers using multiple transmitters or receivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
- G06V40/28—Recognition of hand or arm movements, e.g. recognition of deaf sign language
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Psychiatry (AREA)
- Social Psychology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geophysics (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
The invention discloses a gesture recognition control method, which comprises the following steps that N pulse width modulation signals are preset in a controller; randomly sending a pulse width modulation signal to a transmitting circuit within a time period T; the transmitting circuit transmits signals outwards according to the pulse width modulation signals; the receiving circuit receives the reflected transmitting signal and then transmits the signal to the controller; when the controller detects that the reflection signal received by the receiving circuit is the same as the pulse width modulation signal transmitted by the transmitting circuit in the T time period and the number of times of receiving the signal is not less than M, the controller judges that the gesture control action is effective, otherwise, the gesture control action is ineffective, so that abnormal conditions such as false identification, false analysis signals and the like caused by the influence of the external environment are solved or inhibited, the control is simple and reliable, the false judgment probability is reduced, the anti-jamming capability is improved, and the reliability of the product function is enhanced.
Description
[ technical field ]
The invention relates to a gesture recognition control method.
[ background art ]
In the development of the technology, the market proportion of intelligent household electrical appliances is getting larger and larger, and the corresponding technology is also more and more important in the factors of converting soft logics into purchasing power, such as quick iteration, friendly interaction, super-strong use experience feeling and the like; therefore, in the existing household appliance product, a non-contact gesture sensing technology is applied, compared with the traditional mechanical key and touch key device interaction, the technology sense and the time sense are stronger, and the application in the product is widely favored by consumers.
However, in the existing gesture control technology, the cost performance technical scheme is generally based on an infrared gesture technical scheme, but in some environments with strong ambient light and ultraviolet rays or under the conditions of serious electromagnetic interference, unstable power supply voltage and large fluctuation, false operation, namely technical blind spots such as mistaken identification and mistaken signal analysis, may occur in infrared gesture control.
[ summary of the invention ]
The invention overcomes the defects of the technology and provides a gesture recognition control method which can inhibit abnormal conditions such as error recognition, error analysis signals and the like caused by the influence of external environment.
In order to achieve the purpose, the invention adopts the following technical scheme:
a gesture recognition control method comprises the following steps:
a. n pulse width modulation signals are preset in the controller 1;
b. randomly transmitting a pulse width modulation signal to the transmission circuit 2 during a period T;
c. the transmitting circuit 2 transmits signals outwards according to the pulse width modulation signals;
d. the receiving circuit 3 receives the reflected transmitting signal and then transmits the signal to the controller 1;
e. when the controller 1 detects that the reflected signal received by the receiving circuit 3 is the same as the pulse width modulation signal transmitted by the transmitting circuit 2 within the time period T and the number of times of receiving the signal is not less than M, the controller 1 judges that the gesture control action is valid, otherwise, the gesture control action is invalid.
The gesture recognition control method is characterized in that the controller 1 can be an MCU device, a PFGA device, a P L C device or a CPU device with data signal processing control capability.
The gesture recognition control method is characterized in that: the transmitting circuit 2 is an infrared transmitting circuit, and the receiving circuit 3 is an infrared receiving circuit.
The gesture recognition control method is characterized in that: the infrared emission circuit comprises a triode Q1, the base of a triode Q1 is respectively connected with one end of a resistor R4 and one point of a resistor R6, the other end of the resistor R4 is connected with the controller 1, the other end of the resistor R6 and the emitter of a triode Q1 are respectively grounded, the collector of the triode Q1 is connected with the cathode end of an infrared emission tube IR1 through a resistor R1, and the anode end of the infrared emitter IR1 is connected with the power supply end of VCC.
The gesture recognition control method is characterized in that the receiving circuit 3 comprises an infrared signal receiving tube PT1, a pin ① of the infrared signal receiving tube PT1 is respectively connected with one end of a resistor R3 and the controller 1, a pin ③ of the infrared signal receiving tube PT1 is respectively connected with one end of a capacitor C1 and one end of a resistor R2, the other end of the capacitor C1 and a pin ② of the infrared signal receiving tube PT1 are respectively grounded, and the other end of the resistor R2 and the other end of the resistor R3 are respectively connected with a VCC power supply.
The gesture recognition control method is characterized in that a resistor R5 is connected between a pin ① of an infrared signal receiving tube PT1 and the controller 1, one end of a capacitor C2 is connected between the resistor R5 and the controller 1, and the other end of the capacitor C2 is grounded.
The gesture recognition control method is characterized in that: the two infrared transmitting circuits are respectively a left side infrared transmitting circuit and a right side infrared transmitting circuit.
The gesture recognition control method is characterized in that: the two infrared receiving circuits are respectively a left infrared receiving circuit for receiving signals reflected by the left infrared transmitting circuit and a right infrared receiving circuit for receiving signals reflected by the right infrared transmitting circuit.
The gesture recognition control method is characterized in that: the four pulse width modulation signals preset in the controller 1 are square wave signals with a period of 1ms, a high level of 3ms and a low level, square wave signals with a period of 1ms, a high level of 1ms and a low level, square wave signals with a period of 2ms, a high level of 2ms and a low level, and square wave signals with a period of 3ms, a high level of 1ms and a low level.
The gesture recognition control method is characterized in that: the number of times M of receiving signals is not less than 1.
The invention has the beneficial effects that:
the controller controls the transmitting circuit to transmit random infrared pulse width modulation signals, detects the pulse width modulation signals reflected in the T time period and the times to judge whether the gesture action is effective or not, so that abnormal conditions such as mistaken identification, mistaken analysis signals and the like caused by the influence of the external environment are solved or inhibited, the control is simple and reliable, the mistaken judgment probability is reduced, the anti-jamming capability is improved, and the reliability of product functions is enhanced.
[ description of the drawings ]
FIG. 1 is a schematic diagram of a gesture recognition control circuit according to the present invention;
fig. 2 shows four pwm signal waveforms according to an embodiment of the present invention.
[ detailed description of the invention ]
The following is a more detailed description of embodiments of the invention, taken in conjunction with the accompanying drawings of which:
as shown in fig. 1, a gesture recognition control method includes the following steps:
a. n pulse width modulation signals are preset in the controller 1;
b. the controller 1 randomly transmits a pulse width modulation signal to the transmitting circuit 2 in the T time period;
c. the transmitting circuit 2 transmits signals outwards according to the pulse width modulation signals;
d. when a user makes a gesture action in front of the transmitting circuit 2, the gesture action reflects a transmitting signal of the transmitting circuit 2, and at the moment, the receiving circuit 3 receives the reflected transmitting signal and transmits the received signal to the controller 1;
e. when the controller 1 detects that the reflected signal received by the receiving circuit 3 is the same as the pulse width modulation signal transmitted by the transmitting circuit 2 within the time period T and the number of times of receiving the signal is not less than M, the controller 1 judges that the gesture control action is valid, otherwise, the gesture control action is invalid.
In the embodiment of the present invention, the transmitting circuit 2 is an infrared transmitting circuit, and the receiving circuit 3 is an infrared receiving circuit; the number of the pulse width modulation signals preset in the controller 1 is four, and as shown in fig. 2, the pulse width modulation signals are square wave signals with a period of 1ms, a high level of 3ms, and a low level, a period of 1ms, a high level of 1ms, and a low level, a period of 2ms, a high level of 2ms, and a period of 3ms, a high level of 1ms, and a low level, respectively; the number of times of signal reception M is 3.
As shown in fig. 1-2, the working principle is as follows: the controller 1 sends any one of four preset pulse width modulation signals to the infrared emission circuit in a T time period, for example, the pulse width modulation signal 1 with a period of 1ms high level and 3ms low level square wave signal is sent, at the moment, the infrared emission circuit emits an infrared signal outwards according to the pulse width modulation signal 1, when a user performs gesture recognition control action, the infrared signal emitted outwards is blocked by a gesture and is reflected to the infrared receiving circuit, the infrared receiving circuit receives the emitted infrared signal and transmits the infrared signal to the controller 1, when the controller 1 detects that the infrared signal reflected in the T time period is the same as the pulse width modulation waveform of the infrared signal emitted outwards, and receives the emitted infrared signal for 3 times, the controller 1 judges that the gesture control action is effective and outputs a corresponding control instruction to the electronic appliance according to the gesture action, similarly, when the controller 1 detects that the pulse width modulation waveforms of the infrared signal reflected in the T period and the infrared signal emitted outward are different, or the emitted infrared signal is received less than 3 times, the controller 1 determines that the gesture control action is invalid.
In the same way, in the next T time period, the controller 1 randomly sends a pulse width modulation signal to the infrared transmitting circuit, and then judges the pulse width modulation waveforms and the receiving times of the transmitted infrared signal and the infrared signal transmitted outwards, so that the accuracy of gesture recognition is greatly improved, and the problems of malfunction and the like in the environment with strong ambient light and ultraviolet rays or under the conditions of serious electromagnetic interference, unstable power supply voltage and large fluctuation are avoided.
Meanwhile, the pwm signal in the present application is not limited to the four pwm waveforms shown in fig. 2, nor is the number of pwm waveforms preset in the controller limited, and the number of times M of receiving the signal is not limited to 3, and is set to not less than 1.
As shown in fig. 1, the controller 1 may be an MCU device, a PFGA device, a P L C device, or a CPU device having a data signal processing control capability.
As shown in fig. 1, in the present application, the number of the infrared transmitting circuits is two, and the two infrared transmitting circuits are a left infrared transmitting circuit and a right infrared transmitting circuit respectively, and the two infrared receiving circuits are a left infrared receiving circuit for receiving a signal reflected by the left infrared transmitting circuit and a right infrared receiving circuit for receiving a signal reflected by the right infrared transmitting circuit, and are used for recognizing a left hand gesture and a right hand gesture respectively.
Taking an infrared emitting circuit in fig. 1 as an example, the infrared emitting circuit includes a triode Q1, a base of the triode Q1 is connected to one end of a resistor R4 and one point of a resistor R6, respectively, the other end of the resistor R4 is connected to the controller 1, the other end of the resistor R6 and an emitter of the triode Q1 are grounded, respectively, a collector of the triode Q1 is connected to a cathode of an infrared emitting tube IR1 through a resistor R1, an anode of the infrared emitting tube IR1 is connected to a VCC power supply terminal, and when an infrared signal is emitted outward, the infrared emitting tube IR1 works to transmit an infrared signal of 940nm outward.
Taking an infrared receiving circuit in fig. 1 as an example, the receiving circuit 3 includes an infrared signal receiving tube PT1, a pin ① of the infrared signal receiving tube PT1 is connected to one end of a resistor R3 and the controller 1, a pin ③ of the infrared signal receiving tube PT1 is connected to one end of a capacitor C1 and one end of a resistor R2, the other end of the capacitor C1 and a pin ② of the infrared signal receiving tube PT1 are grounded, the other end of the resistor R2 and the other end of the resistor R3 are connected to a VCC power supply, and the infrared signal receiving tube PT1 receives 940nm infrared signals reflected by gestures and transmits the infrared signals to the controller during operation.
As shown in fig. 1, a resistor R5 is connected between the pin ① of the infrared signal receiving tube PT1 and the controller 1, one end of a capacitor C2 is connected between the resistor R5 and the controller 1, the other end of the capacitor C2 is grounded, and a resistor R5 and the capacitor C2 form an RC circuit, so that filtering is realized, high-frequency clutter influence of external input is eliminated, and accuracy of gesture recognition is improved.
Claims (10)
1. A gesture recognition control method comprises the following steps:
a. n pulse width modulation signals are preset in the controller (1);
b. randomly sending a pulse width modulated signal to the transmitting circuit (2) during a time period T;
c. the transmitting circuit (2) transmits signals outwards according to the pulse width modulation signals;
d. the receiving circuit (3) receives the reflected transmitting signal and then transmits the signal to the controller (1);
e. when the controller (1) detects that the reflection signal received by the receiving circuit (3) is the same as the pulse width modulation signal transmitted by the transmitting circuit (2) in the T time period and the number of times of receiving the signal is not less than M times, the controller (1) judges that the gesture control action is effective, otherwise, the gesture control action is ineffective.
2. The gesture recognition control method according to claim 1, wherein the controller (1) is an MCU device, a PFGA device, a P L C device or a CPU device with data signal processing control capability.
3. The gesture recognition control method according to claim 1, wherein: the transmitting circuit (2) is an infrared transmitting circuit, and the receiving circuit (3) is an infrared receiving circuit.
4. The gesture recognition control method according to claim 3, wherein: the infrared emission circuit comprises a triode Q1, the base of a triode Q1 is respectively connected with one end of a resistor R4 and one point of a resistor R6, the other end of the resistor R4 is connected with the controller (1), the other end of the resistor R6 and the emitter of a triode Q1 are respectively grounded, the collector of the triode Q1 is connected with the cathode of an infrared emission tube IR1 through a resistor R1, and the anode of the infrared emitter IR1 is connected with a VCC power supply end.
5. The gesture recognition control method according to claim 3, wherein the receiving circuit (3) comprises an infrared signal receiving tube PT1, a pin ① of the infrared signal receiving tube PT1 is respectively connected with one end of a resistor R3 and the controller (1), a pin ③ of the infrared signal receiving tube PT1 is respectively connected with one end of a capacitor C1 and one end of a resistor R2, the other end of the capacitor C1 and a pin ② of the infrared signal receiving tube PT1 are respectively grounded, and the other end of the resistor R2 and the other end of the resistor R3 are respectively connected with a VCC power supply.
6. The gesture recognition control method according to claim 5, wherein a resistor R5 is connected between a pin ① of an infrared signal receiving tube PT1 and the controller (1), one end of a capacitor C2 is connected between the resistor R5 and the controller (1), and the other end of the capacitor C2 is grounded.
7. The gesture recognition control method according to claim 3, wherein: the two infrared transmitting circuits are respectively a left side infrared transmitting circuit and a right side infrared transmitting circuit.
8. The gesture recognition control method according to claim 7, wherein: the two infrared receiving circuits are respectively a left infrared receiving circuit for receiving signals reflected by the left infrared transmitting circuit and a right infrared receiving circuit for receiving signals reflected by the right infrared transmitting circuit.
9. The gesture recognition control method according to claim 1, wherein: the pulse width modulation signals preset in the controller (1) are four, and are square wave signals with a period of 1ms, a high level of 3ms and a low level, square wave signals with a period of 1ms, a high level of 1ms and a low level, square wave signals with a period of 2ms, a high level of 2ms and a low level, and square wave signals with a period of 3ms, a high level of 1ms and a low level.
10. The gesture recognition control method according to claim 1, wherein: the number of times M of receiving signals is not less than 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010260429.XA CN111427097A (en) | 2020-04-03 | 2020-04-03 | Gesture recognition control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010260429.XA CN111427097A (en) | 2020-04-03 | 2020-04-03 | Gesture recognition control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111427097A true CN111427097A (en) | 2020-07-17 |
Family
ID=71555710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010260429.XA Pending CN111427097A (en) | 2020-04-03 | 2020-04-03 | Gesture recognition control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111427097A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112367068A (en) * | 2020-11-12 | 2021-02-12 | 康佳集团股份有限公司 | Elevator button circuit and elevator |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204595878U (en) * | 2015-03-13 | 2015-08-26 | 彩丽电子(深圳)有限公司 | Gesture identification circuit |
CN106648262A (en) * | 2015-11-02 | 2017-05-10 | 惠州市德赛西威汽车电子股份有限公司 | Car-mounted infrared gesture recognition device and method |
CN208314724U (en) * | 2018-05-29 | 2019-01-01 | 南京师范大学 | A kind of timesharing subregion infrared scan gesture identification circuit |
CN110456913A (en) * | 2019-08-21 | 2019-11-15 | 华帝股份有限公司 | Infrared gesture action recognition method and device |
CN110598624A (en) * | 2019-09-10 | 2019-12-20 | 武汉洁琅环保科技有限公司 | Infrared sensing gesture recognition method |
-
2020
- 2020-04-03 CN CN202010260429.XA patent/CN111427097A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204595878U (en) * | 2015-03-13 | 2015-08-26 | 彩丽电子(深圳)有限公司 | Gesture identification circuit |
CN106648262A (en) * | 2015-11-02 | 2017-05-10 | 惠州市德赛西威汽车电子股份有限公司 | Car-mounted infrared gesture recognition device and method |
CN208314724U (en) * | 2018-05-29 | 2019-01-01 | 南京师范大学 | A kind of timesharing subregion infrared scan gesture identification circuit |
CN110456913A (en) * | 2019-08-21 | 2019-11-15 | 华帝股份有限公司 | Infrared gesture action recognition method and device |
CN110598624A (en) * | 2019-09-10 | 2019-12-20 | 武汉洁琅环保科技有限公司 | Infrared sensing gesture recognition method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112367068A (en) * | 2020-11-12 | 2021-02-12 | 康佳集团股份有限公司 | Elevator button circuit and elevator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6529189B1 (en) | Touch screen stylus with IR-coupled selection buttons | |
CN107045408B (en) | Touch method, smart pen, touch identification method, device and system | |
TWI460396B (en) | Method for detecting an object using ultrasonic waves | |
CN102945599B (en) | Self-adaptive multi-system infrared decoding method, module and control circuit applying module | |
CN111427097A (en) | Gesture recognition control method | |
CN110307575A (en) | Non-contact control system and method for range hood | |
CN109539354B (en) | Gesture recognition control method of extractor hood with accurate recognition and extractor hood | |
CN112542038A (en) | Anti-interference infrared signal control device | |
CN101465050B (en) | Method for controlling controlled electric appliance through remote controller and remote controller | |
CN1719488A (en) | Infrared remote control anti interference detection method | |
CN110456913A (en) | Infrared gesture action recognition method and device | |
CN109062453B (en) | Transmitting tube scanning structure for infrared touch screen | |
CN111207782A (en) | Environment self-adaption method based on infrared distance induction device | |
CN201210671Y (en) | Infrared induction switch with ultramicro power consumption | |
CN106940528B (en) | Gesture control method and system based on intelligent device | |
CN110822719A (en) | Gesture-controlled electric water heater | |
CN207650395U (en) | Reflective laser range unit | |
CN110297569B (en) | Detection method and device | |
CN214623036U (en) | Photoelectric sensing device for detecting transparent object | |
CN210534717U (en) | Infrared gesture action recognition device | |
CN112379797A (en) | Key touch method and device, touch equipment and readable storage medium | |
CN103325237A (en) | Method and device for producing universal infrared carrier signal | |
CN206833377U (en) | A kind of human body sensing device of low-power consumption of electronic product | |
CN207832264U (en) | A kind of light button with communication function and the intellectual water meter with light button | |
CN210091105U (en) | Keyboard system with human-computer interaction function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200717 |