CN109539354B - Gesture recognition control method of extractor hood with accurate recognition and extractor hood - Google Patents

Gesture recognition control method of extractor hood with accurate recognition and extractor hood Download PDF

Info

Publication number
CN109539354B
CN109539354B CN201811617802.1A CN201811617802A CN109539354B CN 109539354 B CN109539354 B CN 109539354B CN 201811617802 A CN201811617802 A CN 201811617802A CN 109539354 B CN109539354 B CN 109539354B
Authority
CN
China
Prior art keywords
value
gesture
ave
range hood
group
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.)
Active
Application number
CN201811617802.1A
Other languages
Chinese (zh)
Other versions
CN109539354A (en
Inventor
朱泽春
马鹏飞
陈震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Jiuchuang Home Appliances Co ltd
Original Assignee
Joyoung Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Joyoung Co Ltd filed Critical Joyoung Co Ltd
Priority to CN201811617802.1A priority Critical patent/CN109539354B/en
Publication of CN109539354A publication Critical patent/CN109539354A/en
Application granted granted Critical
Publication of CN109539354B publication Critical patent/CN109539354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24CDOMESTIC STOVES OR RANGES ; DETAILS OF DOMESTIC STOVES OR RANGES, OF GENERAL APPLICATION
    • F24C15/00Details
    • F24C15/20Removing cooking fumes
    • F24C15/2021Arrangement or mounting of control or safety systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a gesture recognition control method of a range hood with accurate recognition and a range hood, wherein the method comprises the following steps: acquiring N voltage sampling values on a first group of infrared transmitting and receiving geminate transistors on the range hood; wherein N is an integer greater than 1; calculating an average value Ave according to the N voltage sampling values; judging an assignment condition according to Ave, performing corresponding calculation according to the assignment condition, and assigning and storing a calculated value as a detection threshold Gesture _ value; and determining whether a Gesture triggers the first group of infrared transmitting and receiving tubes according to a detection threshold Gesture _ value. The gesture recognition control method of the range hood and the range hood disclosed by the invention can realize the setting of the detection threshold value of the gesture recognition of the range hood and improve the gesture recognition accuracy.

Description

Gesture recognition control method of extractor hood with accurate recognition and extractor hood
Technical Field
The invention relates to the field of kitchen appliances, in particular to a gesture recognition control method of a range hood and the range hood.
Background
At present, most of existing range hoods are mechanical key type and touch type range hoods, however, due to oil stains on a control panel of the range hood or oil and water on hands of a user, user operation is insensitive or triggered by mistake easily, inconvenience is brought to the user in use, and user operation experience is influenced.
Disclosure of Invention
In order to solve the technical problems, the invention provides a range hood and a gesture recognition control method thereof, which can realize the setting of a detection threshold value of the range hood gesture recognition and improve the gesture recognition accuracy.
In order to achieve the object of the present invention, in a first aspect, the present invention provides a gesture recognition control method for a range hood with accurate recognition and a range hood, including:
acquiring N voltage sampling values on a first group of infrared transmitting and receiving geminate transistors on the range hood;
wherein N is an integer greater than 1;
calculating an average value Ave according to the N voltage sampling values;
judging an assignment condition according to Ave, performing corresponding calculation according to the assignment condition, and assigning and storing a calculated value as a detection threshold Gesture _ value;
and determining whether the first group of infrared transmitting and receiving tubes are triggered by gestures according to the detection threshold Gesture _ value.
In a second aspect, the invention provides a range hood, which comprises a first group of infrared emission and reception geminate transistors, a second group of infrared emission and reception geminate transistors, a memory and a main control board; the main control board is respectively connected with the first group of infrared emission and reception geminate transistors, the second group of infrared emission and reception geminate transistors and the memory;
the first group of infrared transmitting and receiving geminate transistors are used for conducting when a gesture waves on the left side of the range hood, and outputting a voltage sampling value;
the second group of infrared transmitting and receiving geminate transistors are used for conducting when a gesture waves on the right side of the range hood, and outputting a voltage sampling value;
the memory is used for storing the calculated detection threshold Gesture _ value;
the main control board is used for driving the first group of infrared emission receiving geminate transistors and the second group of infrared emission receiving geminate transistors to work, and executing the gesture recognition control method of the range hood according to the embodiment of the first aspect.
Compared with the prior art, the gesture recognition control method of the range hood and the range hood provided by at least one embodiment of the invention have the following beneficial effects: according to the average voltage sampling value of each group of infrared transmitting and receiving geminate transistors on the range hood, a detection threshold value is set for each group of infrared transmitting and receiving geminate transistors, and the detection threshold value for gesture recognition of the range hood can be set. The problem that the prior art does not have a related gesture recognition technology, so that oil stains on a control panel of the range hood or oil and water on the hand of a user are easily caused, and the operation of the user is insensitive or is triggered by mistake is solved.
In some embodiments of the present invention, the following effects can be achieved: 1. and determining a detection threshold Gesture _ value by taking the average voltage sampling value Ave as a threshold configuration variable and judging an assignment condition according to the Ave. Different detection threshold values can be set according to different sampling values, and accuracy of gesture recognition is improved. 2. The range hood detection threshold value configuration method has the advantages that when the range hood leaves factory settings, the range hood detection threshold value configuration mode can be entered to perform rapid configuration and setting on the gesture recognition detection threshold value, rapid configuration of the range hood gesture recognition detection threshold value is achieved, labor cost is simplified, and the problem of low efficiency when production line workers adjust the detection threshold value according to each range hood is avoided. 3. When the range hood enters the threshold configuration mode, a detection threshold can be set for each group of infrared transmitting and receiving geminate transistors according to the difference of circuits and mounting structures of the infrared transmitting and receiving geminate transistors, the operation is simple, convenient and efficient, and the control precision is higher. 4. The gesture triggering is judged by judging the calibration count value of the calibration counter of the gesture detection threshold value to determine whether the detection threshold value before change or the detection threshold value after change is adopted, so that the problem that the gesture judgment is invalid due to the fact that the detection threshold value changes in the gesture triggering process can be avoided, and the gesture recognition accuracy rate is further improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a gesture recognition control method of a range hood according to an embodiment of the present invention;
FIG. 2 is a waveform diagram of a detection threshold provided by an embodiment of the present invention;
fig. 3 is a flowchart of a gesture recognition control method of a range hood according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a range hood provided in the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an infrared transmitting-receiving pair transistor provided in an embodiment of the present invention;
fig. 6 is a front view of a main control board according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The embodiment of the invention provides a gesture recognition control method of a range hood and the range hood, when the range hood leaves a factory, a threshold configuration mode can be entered to rapidly configure and set a detection threshold of gesture recognition, the rapid configuration of the detection threshold of the range hood gesture recognition is realized, the labor cost is simplified, and the problem of low efficiency caused by a production line worker adjusting the detection threshold according to each range hood is solved. When the range hood enters a threshold configuration mode, a detection threshold can be set for each group of infrared transmitting and receiving geminate transistors according to the difference of circuits and mounting structures of the infrared transmitting and receiving geminate transistors, the operation is simple, convenient and efficient, and the control precision is higher.
Fig. 1 is a flowchart of a gesture recognition control method for a range hood according to an embodiment of the present invention, and as shown in fig. 1, the gesture recognition control method for a range hood according to an embodiment of the present invention includes:
s101: and acquiring N voltage sampling values on a first group of infrared transmitting and receiving geminate transistors on the range hood.
Wherein N is an integer greater than 1.
In this embodiment, a detection threshold Gesture _ value for Gesture recognition may be determined for each group of infrared transmitting/receiving pair tubes when the range hood enters the threshold configuration mode. Specifically, when the range hood is factory set, the main control board judges whether to start the threshold configuration mode, and the main control board performs cyclic query until the threshold configuration mode is triggered. In this embodiment, in order to facilitate debugging during production, the trigger key of the threshold configuration mode may be set on the display panel of the range hood through the combination key, and the threshold configuration mode may be entered through the combination key on the display panel.
Wherein, each group of infrared emission and reception geminate transistors can comprise an infrared emission tube and an infrared reception tube. In this embodiment, when the range hood enters the threshold configuration mode, the main control board drives the infrared transmitting pipes on the range hood to work with a certain Pulse Width Modulation (PWM) wave, and waves a gesture according to a preset sequence to trigger each group of infrared transmitting connecting pipes, so that the infrared transmitting receiving pair pipes on the range hood are sequentially turned on according to the preset sequence. The preset sequence may be from left to right or from right to left, and is not limited and described herein.
When each group of infrared transmitting and receiving geminate transistors is conducted by waving through a gesture, the infrared receiving geminate transistors can output certain voltage. In this embodiment, the AD sampling port on the main control board collects the voltage sampling value of the infrared receiving tube in each group of infrared transmitting and receiving pair tubes, and then determines a detection threshold gettrue _ value for determining whether the Gesture is triggered or not for each group of infrared transmitting and receiving pair tubes. The embodiment of the invention can configure the AD sampling port on the main control board when the range hood is initialized so as to collect the voltage sampling value of the infrared transmitting and receiving geminate transistors.
The implementation principle of determining a detection threshold Gesture _ value for each group of infrared transmitting and receiving pair tubes is the same, and this embodiment only takes the determination of a detection threshold Gesture _ value for the first group of infrared transmitting and receiving pair tubes as an example for explanation. The first group of infrared emission and reception pair tubes may be any group of infrared emission and reception pair tubes on the range hood, and the embodiment only explains the case where the first group of infrared emission and reception pair tubes are located on the left side of the range hood.
S102: the average Ave is calculated from the N voltage samples.
In this embodiment, the average value of N voltage sampling values may be directly obtained to obtain Ave; or deleting the maximum value and the minimum value in the N voltage sampling values, and calculating the average value of the rest N-2 voltage sampling values to obtain the Ave.
In this embodiment, the purpose of collecting N voltage sampling values and calculating Ave is as follows: by comparing the average value with the detection threshold Gesture _ value, the waveform sensitivity can be effectively weakened, and the continuity of effectively acquired data is improved.
The voltage sampling value is not limited to be an average value, and may also be a detection value of the AD sampling port directly, which is not limited herein.
S103: and judging an assignment condition according to the Ave, performing corresponding calculation according to the assignment condition, and assigning and storing the calculated value as a detection threshold Gesture _ value.
In this embodiment, the main control board uses Ave as a threshold configuration variable, and determining the assignment condition according to Ave may include: it is determined whether Ave is within a range I of a set maximum threshold IR _ MAX _ Value and minimum threshold R _ MIN _ Value (IR _ MIN _ Value ≦ threshold configuration variable ≦ IR _ MAX _ Value). Fig. 2 is a waveform diagram of a detection threshold according to an embodiment of the present invention, and as shown in fig. 2, according to the embodiment of the present invention, Ave is used as a threshold configuration variable, and after an assignment condition is determined according to Ave, a detection threshold gettrue _ value is determined. Different detection threshold values can be set according to different sampling values, and accuracy of gesture recognition is improved.
Specifically, corresponding calculation is performed according to assignment conditions, and assignment of a calculated value to be stored as a detection threshold Gesture _ value can be realized through the following three implementation manners:
the first implementation mode comprises the following steps: and when the IR _ MIN _ Value is not less than Ave and not more than IR _ MAX _ Value, calculating by adopting a formula Gesture _ Value = K Ave + b to obtain Gesture _ Value.
In this embodiment, if Ave satisfies the assignment condition, K × Ave + b is used as the detection threshold Gesture _ value of the infrared transmitting/receiving pair transistor.
The second implementation mode comprises the following steps: and when the Ave < IR _ MIN _ Value, calculating by adopting a formula Gesture _ Value = K IR _ MIN _ Value + b to obtain Gesture _ Value.
In this embodiment, if Ave does not satisfy the above assignment condition, when the threshold configuration variable (Ave) < IR _ MIN _ Value, K × IR _ MIN _ Value + b is used as the detection threshold Gesture _ Value of the pair of IR transmitting and receiving tubes.
The third implementation mode comprises the following steps: and when the Ave is greater than the IR _ MAX _ Value, calculating the Gesture _ Value by adopting a formula Gesture _ Value = K.
In this embodiment, if Ave does not satisfy the assignment condition, when the threshold configuration variable (Ave) > IR _ MAX _ Value, K × IR _ MAX _ Value + b is used as the detection threshold Gesture _ Value of the pair of IR transmitting and receiving tubes.
In the above implementation, IR _ MAX _ Value is a maximum threshold, IR _ MIN _ Value is a minimum threshold, and K and b are both preset calibration coefficients. The determination of the maximum threshold IR MAX Value and the minimum threshold may include: acquiring a waveform diagram of Ave; determining an upper limit threshold Value of the oscillogram, and taking the upper limit threshold Value as IR _ MAX _ Value; and determining a lower threshold Value of the oscillogram, and taking the lower threshold Value as the IR _ MIN _ Value. The preset calibration coefficients K and b refer to setting a threshold value of gesture recognition according to a certain proportion, and a specific value of the preset calibration coefficients K and b can be adjusted according to an actual effect.
In this embodiment, the main control board further stores the determined detection threshold values corresponding to all the infrared transmitting and receiving tubes on the range hood, for example, in the memory, so as to call at any time.
S104: and determining whether a Gesture triggers the first group of infrared transmitting and receiving tubes according to a detection threshold Gesture _ value.
In this embodiment, when the user powers on, the range hood is in the normal operating mode, the main control board obtains the voltage sampling value of the first group of infrared transmitting and receiving tubes, and automatically reads the stored detection threshold Gesture _ value, and then determines whether there is a Gesture to trigger the first group of infrared transmitting and receiving tubes according to the read detection threshold Gesture _ value.
Specifically, determining whether a Gesture triggers the first group of infrared transmitting and receiving tubes according to the detection threshold Gesture _ value may include: and comparing the amplitude value of the oscillogram of the voltage sampling value with the amplitude value of the detection threshold Gesture _ value, and determining that the first group of infrared emission receiving tubes are triggered by the Gesture when the amplitude value of the oscillogram of the voltage sampling value is greater than or equal to the amplitude value of the detection threshold Gesture _ value.
According to the gesture recognition control method of the range hood provided by the embodiment of the invention, a detection threshold value is set for each group of infrared transmitting and receiving geminate transistors according to the voltage sampling average value of each group of infrared transmitting and receiving geminate transistors on the range hood, so that the gesture recognition detection threshold value of the range hood can be set. The problem that the prior art does not have a related gesture recognition technology, so that oil stains on a control panel of the range hood or oil and water on the hand of a user are easily caused, and the operation of the user is insensitive or is triggered by mistake is solved.
In addition, the embodiment of the invention takes the voltage sampling average value Ave as a threshold configuration variable, and determines the detection threshold Gesture _ value after judging the assignment condition according to the Ave. Different detection threshold values can be set according to different sampling values, and accuracy of gesture recognition is improved.
In addition, the embodiment of the invention can enter the threshold configuration mode to rapidly configure and set the detection threshold of the gesture recognition when the range hood leaves factory settings, thereby realizing the rapid configuration of the detection threshold of the gesture recognition of the range hood, simplifying the labor cost and avoiding the problem of lower efficiency when a production line worker adjusts the detection threshold according to each range hood.
In addition, when the range hood enters the threshold configuration mode, the range hood can set a detection threshold for each group of infrared transmitting and receiving geminate transistors according to the difference of circuits and installation structures of the infrared transmitting and receiving geminate transistors, so that the range hood is simple and efficient to operate, and has higher control precision.
For example, in the embodiment of the present invention, two sets of infrared transmitting and receiving pair tubes are disposed on the range hood, which are the first set of infrared transmitting and receiving pair tubes and the second set of infrared transmitting and receiving pair tubes respectively located on the left side and the right side, that is, the present embodiment is exemplified by, but not limited to, the range hood having the left set of infrared transmitting and receiving tubes and the right set of infrared transmitting and receiving tubes. In consideration of the difference between the circuit of the infrared transmitting and receiving tube and the installation structure, the embodiment of the invention respectively sets a left detection threshold and a right detection threshold for a left channel and a right channel, and the detection thresholds are respectively marked as Gesture _ value _ L and Gesture _ value _ R, so that the Gesture recognition accuracy can be improved to a great extent. Fig. 3 is a flowchart of a gesture recognition control method of a range hood according to a second embodiment of the present invention, and as shown in fig. 3, the gesture recognition control method of a range hood according to the second embodiment of the present invention may include:
s301: and initializing the main control board.
S302: an AD sampling port is configured.
S303: an AD sampling data cache list AD _ L [ N ] (left side) and AD _ R [ N ] (right side) are set.
S304: and (3) periodically acquiring left and right gesture recognition, and acquiring N groups of data to store in AD _ L [ N ] and AD _ R [ N ].
S305: the maximum value and the minimum value in AD _ L [ N ] and AD _ R [ N ] are removed, and the average value Ave _ L and Ave _ R of N-2 data are obtained.
In this embodiment, N is an integer greater than 3, and calculating an average Ave according to the N voltage sampling values may include: deleting the maximum value and the minimum value in the N voltage sampling values; and (5) calculating the average value of the rest N-2 voltage sampling values, and taking the average value as Ave. The average value of the left pair of transmitting and receiving tubes is recorded as Ave _ L, and the average value of the right pair of transmitting and receiving tubes is recorded as Ave _ R.
In this embodiment, the maximum value and the minimum value are removed after acquiring N sets of data, and then the average values Ave _ L and Ave _ R of the N-2 data are obtained, so that the influence of external interference on the data can be avoided. The voltage sampling value is not limited to an average value, and may be directly detected values of AD _ L [ N ] and AD _ R [ N ], which is not limited herein.
S306 a: judging whether the Ave _ L meets the condition that the IR _ MIN _ Value is not less than the Ave _ L and not more than the IR _ MAX _ Value, if so, executing 307 a; if not, 308a is performed.
In this embodiment, when determining the detection threshold gettrue _ value _ L for the left infrared emission reception geminate transistor Gesture recognition, the main control board takes Ave _ L as a threshold configuration variable, and determining assignment conditions according to Ave _ L may include: it is determined whether Ave _ L is within a set range I of a maximum threshold IR _ MAX _ Value and a minimum threshold R _ MIN _ Value (IR _ MIN _ Value ≦ threshold configuration variable ≦ IR _ MAX _ Value).
S306 b: judging whether the Ave _ R meets the condition that the IR _ MIN _ Value is not less than the Ave _ R is not less than the IR _ MAX _ Value, if so, executing 307 b; if not, 308b is performed.
In this embodiment, when determining the detection threshold gettrue _ value _ R of the right infrared emission-receiving pair tube Gesture recognition, the main control board takes Ave _ R as a threshold configuration variable, and determining assignment conditions according to Ave _ R may include: it is determined whether the Ave _ R is within the set range I of the maximum threshold IR _ MAX _ Value and the minimum threshold R _ MIN _ Value (IR _ MIN _ Value ≦ threshold configuration variable ≦ IR _ MAX _ Value).
The maximum threshold IR _ MAX _ Value and the minimum threshold R _ MIN _ Value of all the IR transmitting-receiving pair tubes may be equal or not, and the specific setting may be determined according to the practical application, and this embodiment only takes the case that the maximum threshold IR _ MAX _ Value and the minimum threshold R _ MIN _ Value of all the IR transmitting-receiving pair tubes are equal.
Wherein, the S306a and the S306b have no sequential execution relationship, and the execution order of the S306a and the S306b may be according to whether Ave _ L or Ave _ R is acquired first. If Ave _ L is obtained first, S306a may be executed first; if Ave _ R is obtained first, 306b may be performed first.
S307 a: gettrue _ value _ L = K × Ave _ L + b, S312 is performed.
In this embodiment, if Ave _ L satisfies the assignment condition, K × Ave _ L + b is used as the detection threshold Gesture _ value _ L of the left infrared transmitting and receiving pair tube.
S308 a: it is determined whether Ave _ L satisfies Ave _ L < IR _ MIN _ Value. If yes, go to S309 a; otherwise, S310a is performed.
S309 a: gettrue _ Value _ L = K × IR _ MIN _ Value + b, S312 is performed.
In this embodiment, if Ave _ L does not satisfy the above assignment condition, when the threshold configuration variable (Ave _ L) < IR _ MIN _ Value, K × IR _ MIN _ Value + b is used as the detection threshold Gesture _ Value _ L of the left pair of IR transmitting-receiving tubes.
S310 a: it is determined whether Ave _ L satisfies Ave _ L > IR _ MAX _ Value. If yes, S311a is performed.
S311 a: gettrue _ Value _ L = K × IR _ MAX _ Value + b, S312 is performed.
In this embodiment, if Ave _ L does not satisfy the assignment condition, when the threshold configuration variable (Ave _ L) > IR _ MAX _ Value, K × IR _ MAX _ Value + b is used as the detection threshold Gesture _ Value _ L of the pair of left infrared transmitting and receiving tubes.
S307 b: gettrue _ value _ R = K × Ave _ R + b, S312 is performed.
In this embodiment, if Ave _ R satisfies the assignment condition, K × Ave _ R + b is used as the detection threshold Gesture _ value _ R of the right infrared transmitting and receiving pair transistor.
S308 b: it is determined whether Ave _ R satisfies Ave _ R < IR _ MIN _ Value. If yes, go to S309 b; otherwise, S310b is performed.
S309 b: gettrue _ Value _ R = K × IR _ MIN _ Value + b, S312 is performed.
In this embodiment, if Ave _ R does not satisfy the above assignment condition, when the threshold configuration variable (Ave _ R) < IR _ MIN _ Value, K × IR _ MIN _ Value + b is used as the detection threshold Gesture _ Value _ R of the right pair of IR transmitting-receiving tubes.
S310 b: it is determined whether Ave _ R satisfies Ave _ R > IR _ MAX _ Value. If yes, S311b is performed.
S311 b: gettrue _ Value _ R = K × IR _ MAX _ Value + b, S312 is performed.
In this embodiment, if Ave _ R does not satisfy the assignment condition, when the threshold configuration variable (Ave _ R) > IR _ MAX _ Value, K × IR _ MAX _ Value + b is used as the detection threshold Gesture _ Value _ R of the pair of right-side IR-transmitting and receiving tubes.
S312: the calibrated gesture recognition detection threshold is updated and saved.
In this embodiment, after the detection threshold for gesture recognition is set, the detection of the gesture is performed according to the latest detection threshold. The detection threshold of the gesture recognition can be executed circularly according to a set period.
Further, in the above embodiment, before determining the assignment condition according to Ave (S306 a or S306b in fig. 3), the method for controlling gesture recognition of a range hood according to an embodiment of the present invention may further include:
s313: a calibration counter for the gesture detection threshold is started.
In this embodiment, in order to avoid that gesture determination fails due to a detection threshold value changing in the gesture triggering process, the gesture triggering determination is determined by setting the calibration counter of the gesture detection threshold value and determining the detection threshold value before the change or the detection threshold value after the change according to the calibration count value of the calibration counter of the gesture detection threshold value.
Specifically, after the range hood starts to perform infrared gesture recognition, calibration counting is started, that is, 1 is added to the calibration count IR _ js of the gesture detection threshold calibration counter.
S314: it is determined whether the calibration count IR _ js of the calibration counter is greater than the calibration period IR _ change _ time. If yes, determining an assignment condition according to Ave (execute S306a or S306 b); otherwise, S315 is performed.
In this embodiment, if the count value meets the requirement, i.e., IR _ js > IR _ change _ time, the gesture detection threshold is cleared to calibrate the counter, IR _ js = 0. And the AD left and right sample averages are respectively used as left and right threshold configuration variables, and the threshold configuration variable assignment condition is determined, i.e., S306a or S306b in fig. 3.
That is, when IR _ js > IR _ change _ time, after the detection threshold for gesture recognition is set, the detection of the gesture is performed according to the latest detection threshold.
S315: and calling the saved threshold value to execute judgment of gesture detection.
In this embodiment, if the count value does not satisfy the complete calibration period yet, i.e. IR _ js is not greater than IR _ change _ time, the gesture detection performs the gesture detection determination by calibrating the saved detection threshold value last time.
That is, when IR _ js > IR _ change _ time, the saved threshold is called to perform the determination of gesture detection.
According to the gesture recognition control method of the range hood provided by the embodiment of the invention, on the basis of the embodiment, the gesture trigger judgment is determined by adopting the detection threshold before the change or the detection threshold after the change through judging the calibration count value of the calibration counter of the gesture detection threshold, so that the problem of gesture judgment failure caused by the change of the detection threshold in the gesture trigger process can be avoided, and the gesture recognition accuracy is further improved.
Further, in the above embodiment, the gesture recognition control method of the range hood provided in the embodiment of the present invention may further include:
determining a minimum value IR _ change _ time _ MIN of the calibration period using the formula IR _ change _ time _ MIN = gettrue 1_ High + gettrue 2_ High + IR _ MAX _ distance; the calibration period IR _ change _ time is determined from the IR _ change _ time.
The Gesture1_ High is used for triggering the preset maximum pulse width count of the first group of infrared emission receiving geminate transistors by the Gesture; gesture2_ High is that the Gesture triggers the preset maximum pulse width count of the second group of infrared transmitting and receiving geminate transistors, the second group of infrared transmitting and receiving geminate transistors are located on the range hood and have a spacing distance W with the first group of infrared transmitting and receiving geminate transistors, and IR _ MAX _ distance is a preset delay waiting count value.
In this embodiment, the minimum value IR _ change _ time of the calibration period is the sum of the maximum pulse width counts of the waveforms on both sides plus the delay wait count value, i.e. the minimum value IR _ change _ time _ MIN of the calibration period = gettrue 1_ High + gettrue 2_ High + IR _ MAX _ distance. The gesture judgment failure caused by the detection threshold change in the gesture triggering process can be avoided through the setting.
Further, in the above-described embodiment, Gesture1_ High = Gesture2_ High; the preset delay waiting count value IR _ MAX _ distance is the maximum time interval for the gesture to trigger the first group of infrared emission and reception pair transistors and the second group of infrared emission and reception pair transistors.
In this embodiment, the maximum pulse width counts of the waveforms on both sides are the same and can be referred to as gettrue _ High, i.e., the minimum value IR _ change _ time _ MIN =2 × gettrue _ High + IR _ MAX _ distance of the calibration period.
Further, in the above embodiment, determining the calibration period IR _ change _ time according to IR _ change _ time includes: the calibration period IR _ change _ time is determined using the formula IR _ change _ time =2 × IR _ change _ time _ MIN.
In this embodiment, in practical settings, the calibration period may be selected to be twice the minimum calibration period calculation value, i.e., IR _ change _ time =2 × IR _ change _ time _ MIN.
Further, in the above embodiment, after the system initializes the configuration of the AD sampling port, the method may further include setting a maximum threshold IR _ MAX _ Value, a minimum threshold IR _ MIN _ Value, a calibration period IR _ change _ time, and preset calibration coefficients K and b for the AD sampling Value entering gesture recognition. It may also include setting a maximum value Gesture _ High for the Gesture enable counter.
Further, in the above embodiment, as shown in fig. 3, when the master control board is initialized, the configuring of the master control timer further includes the following steps:
s316: and configuring a master control timer.
S317: the timer outlet square wave frequencies f1 (left) and f2 (right) are set.
S318: and judging whether the range hood is in a starting state or not. If yes, go to S319; otherwise, S320 is performed.
S319: the start timer outputs a square wave of a specified frequency.
S320: and closing the timer and closing the infrared identification detection.
In this embodiment, the square wave frequencies f1 (left side) and f2 (right side) of the output ports of the control timer are used for driving the on or off of the infrared emission receiving pair transistors. Specifically, the normal open or the normal close of the infrared transmitting and receiving pair tube can be directly controlled through the IO port level. When the infrared emitting and receiving tube is normally opened, the infrared emitting and receiving tube works to emit infrared light with fixed wavelength. Particularly, in order to achieve the effect of energy saving, when the range hood is in a shutdown state, the infrared transceiver module stops working; only when the range hood is in a starting state, the gesture recognition starts to work, so that the phenomenon that the range hood is started by mistake due to the change of ambient light when a user is not at home can be effectively avoided.
Fig. 4 is a schematic structural diagram of a range hood provided in an embodiment of the present invention, and as shown in fig. 4, the range hood provided in the embodiment of the present invention includes: a first group of infrared emission receiving geminate transistors 41, a second group of infrared emission receiving geminate transistors 42, a memory 48 and a main control board 43. The main control board 43 is respectively connected to the first group of infrared transmitting and receiving pair tubes 41, the second group of infrared transmitting and receiving pair tubes 42 and the memory 48, the first group of infrared transmitting and receiving pair tubes 41 and the second group of infrared transmitting and receiving pair tubes 42 are respectively located on the left side and the right side of the range hood, and a spacing distance W is provided between the first group of infrared transmitting and receiving pair tubes 41 and the second group of infrared transmitting and receiving pair tubes 42.
The first group of infrared transmitting and receiving geminate transistors 41 are used for conducting when the left side of the range hood is waved by a gesture, and outputting a voltage sampling value;
the second group of infrared transmitting and receiving geminate transistors 42 are used for conducting when a gesture waves on the right side of the range hood, and outputting a voltage sampling value;
the main control board 43 is used for driving the first group of infrared emission receiving pair tubes 41 and the second group of infrared emission receiving pair tubes 42 to work, and executing the gesture recognition control method of the range hood as described in any of the above embodiments.
In this embodiment, through two sets of infrared emission receiving geminate transistors on the left and right sides of the design, the high accuracy recognition to the user gesture is realized. The main control board drives the infrared transmitting tubes on the left side and the right side to work through certain PWM waves, and when a gesture waves, the infrared receiving tubes on the left side and the right side can be conducted, and then certain voltage is output. The voltage of the left infrared receiving tube and the voltage of the right infrared receiving tube are detected through the AD sampling port on the main control board, and then whether gesture actions exist or not is judged.
Further, as shown in fig. 4, the range hood provided in the embodiment of the present invention may further include: a power panel 44, a main motor 45, a door control motor 46 and an illumination lamp 47. The main control board 43 is connected with a power board 44, and the power board 44 is respectively connected with a main motor 45, a door control motor 46 and an illuminating lamp 47.
In this embodiment, after the main control board detects the gesture, the control signal is transmitted to the power board through a serial Universal Asynchronous Receiver/Transmitter (UART), and the power board controls the main motor, the gate control motor, and the lighting lamp.
Further, in the above embodiment, each group of the infrared emission/reception pair transistors includes an infrared emission diode and an infrared reception transistor, and the specific structure thereof may include:
the anode of the infrared emitting diode is connected with one end of a first resistor, and the other end of the first resistor is connected with a high level; the cathode of the infrared emitting diode is connected with the collector electrode C of the triode, the emitter electrode E of the triode is grounded, the base electrode B of the triode is connected with one end of a second resistor, and the other end of the second resistor is connected with a control output pin IR _ TX of the main control board;
an emitter E electrode of the infrared receiving triode is grounded, and a collector C electrode of the infrared receiving triode is respectively connected with one end of the capacitor, one end of the third resistor and one end of the fourth resistor; the other end of the capacitor is grounded, the other end of the third resistor is connected with a control input pin IR _ RX of the main control board, and the other end of the fourth resistor is connected with a high level.
Specifically, fig. 5 is a schematic structural diagram of an infrared transmitting and receiving pair transistor provided in the embodiment of the present invention, as shown in fig. 5, D1 and D2 are infrared transmitting transistors, and 5V is adopted for power supply; the IR _ TX1 and the IR _ TX2 are connected with a main control board, and the main control board outputs PWM square waves to control the connection and disconnection of D1 and D2; q4 and Q5 are infrared receiving tubes. The specific realization principle is as follows:
(1) when the infrared transmitting tube D1 is turned on and a gesture is performed to wave and form infrared light reflection, Q4 is turned on, and at this time, the theoretical calculation voltage at IR _ RX1 is 0V.
(2) When the infrared transmitting tube D1 is turned on but no gesture wave forms infrared light reflection, Q4 is turned off, and at this time, the theoretical calculation voltage at IR _ RX1 is 5V.
(3) When the infrared transmitting tube D2 is turned on and a gesture is performed to form an infrared light reflection, Q5 is also turned on, and the theoretical calculation voltage at IR _ RX2 is 0V.
(4) When the IR transmitting tube D2 is turned on but no gesture wave forms an IR light reflection, Q5 is also turned off, at which time the theoretical calculated voltage at IR RX2 is 5V.
(5) When the infrared emission tubes D1, D2 were off, Q4 and Q5 were also off, and the theoretical calculated voltage at IR _ RX1 and IR _ RX2 was 5V.
In this embodiment, the IR _ RX port voltage value change on Q4 and Q5 is detected based on detecting whether or not Q4 and Q5 receive infrared light reflection.
In which, the operating current of the ir transmitting-receiving pair transistor can be adjusted by setting the resistance values of R47 and R48 in fig. 5, so that it can pass through a thicker display panel. The display panel mainly refers to a glass material or other transparent plastic materials. In specific implementation, if the resistance values of R47 and R48 are reduced, the transmission power of the infrared transmitting and receiving pair transistors is increased, the distance of gesture recognition is increased, but the maximum working current cannot exceed the maximum current limit value of the infrared transmitting and receiving pair transistors. If the resistance values of R47 and R48 are increased, the transmission power of the infrared transmitting and receiving pair tube is reduced, and the distance of gesture recognition is reduced. In a specific application, R47 and R48 may be adjusted according to an actual application scenario, and the implementation of the present invention is not limited herein.
Further, in the above embodiment, a light shield is respectively disposed on the first group of infrared emission-receiving pair transistors 41 and the second group of infrared emission-receiving pair transistors 42 for preventing interference between the first group of infrared emission-receiving pair transistors 41 and the second group of infrared emission-receiving pair transistors 42.
Specifically, fig. 6 is a front view of the main control board according to the embodiment of the present invention, and as shown in fig. 6, a light shield for the left and right infrared transmitting and receiving pair transistors (infrared pair transistors for short) is disposed on the main control board, and the cylindrical shape of the light shield forms a combination similar to a '8' shape. The cylindrical shape of the light shield may also be other shapes, which is not limited and described herein.
In this embodiment, the two sets of transmitting and receiving geminate transistors may be disposed in the middle of the range hood, or may be disposed on two sides of the range hood, respectively, that is, the spacing distance W between the two sets of transmitting and receiving geminate transistors is not affected by the gesture width of the user, and the spacing distance W may be greater than the gesture width of the user, or may be less than or equal to the gesture width of the user.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. A gesture recognition control method for accurately recognizing a range hood is characterized by comprising the following steps:
when the range hood enters a threshold configuration mode, acquiring N voltage sampling values on a first group of infrared transmitting and receiving geminate transistors on the range hood;
wherein N is an integer greater than 1;
calculating an average value Ave according to the N voltage sampling values;
judging an assignment condition according to Ave, performing corresponding calculation according to the assignment condition, and assigning and storing a calculated value as a detection threshold Gesture _ value;
and under a normal working mode, the range hood determines whether a Gesture triggers the first group of infrared emission receiving tubes according to the detection threshold Gesture _ value.
2. The method according to claim 1, wherein determining an assignment condition according to Ave, performing corresponding calculation according to the assignment condition, and storing the calculated value assignment as a detection threshold Gesture _ value comprises: judging whether the Ave meets the condition that the IR _ MIN _ Value is less than or equal to the Ave and is less than or equal to the IR _ MAX _ Value;
when the IR _ MIN _ Value is not less than Ave and not more than IR _ MAX _ Value, calculating by adopting a formula Gesture _ Value (K) Ave + b to obtain the Gesture _ Value;
when Ave < IR _ MIN _ Value, calculating by adopting a formula Gesture _ Value ═ K × IR _ MIN _ Value + b to obtain the Gesture _ Value;
when Ave > IR _ MAX _ Value, calculating by adopting a formula Gesture _ Value ═ K × IR _ MAX _ Value + b to obtain the Gesture _ Value;
wherein, IR _ MAX _ Value is a maximum threshold, IR _ MIN _ Value is a minimum threshold, and K and b are preset calibration coefficients.
3. The method of claim 2, further comprising:
acquiring a waveform diagram of the Ave;
determining an upper limit threshold Value of the oscillogram, and taking the upper limit threshold Value as IR _ MAX _ Value;
and determining a lower threshold Value of the oscillogram, and taking the lower threshold Value as the IR _ MIN _ Value.
4. The method of claim 1, wherein prior to determining the assignment condition based on Ave, the method further comprises:
starting a calibration counter of a gesture detection threshold;
judging whether the calibration count IR _ js of the calibration counter is greater than the calibration period IR _ change _ time or not;
and when the IR _ js > IR _ change _ time, judging an assignment condition according to the Ave.
5. The method of claim 4, further comprising:
determining the minimum value IR _ change _ time _ MIN of the calibration period by adopting the formula IR _ change _ time _ MIN, namely Gesture1_ High + Gesture2_ High + IR _ MAX _ Disence;
determining a calibration period IR _ change _ time according to the IR _ change _ time;
the Gesture1_ High is used for triggering the preset maximum pulse width count of the first group of infrared emission receiving geminate transistors by the Gesture; gesture2_ High is the Gesture and triggers the count of the preset maximum pulse width of the infrared emission reception geminate transistors of the second group, and the infrared emission reception geminate transistors of the second group are located on the range hood, and have a spacing distance W with the infrared emission reception geminate transistors of the first group, and IR _ MAX _ distance is the preset delay waiting count value.
6. The method of claim 5, wherein Gesture1_ High is Gesture2_ High;
the preset delay waiting count value IR _ MAX _ Distensity is the maximum time interval for triggering the first group of infrared emission and reception geminate transistors and the second group of infrared emission and reception geminate transistors by gestures;
the determining a calibration period IR _ change _ time according to IR _ change _ time includes:
the calibration period IR _ change _ time is determined using the formula IR _ change _ time ═ 2 × IR _ change _ time _ MIN.
7. The method of claim 1, wherein N is an integer greater than 3, and wherein calculating an average Ave from the N voltage sample values comprises:
deleting the maximum value and the minimum value in the N voltage sampling values;
and calculating the average value of the rest N-2 voltage sampling values, and taking the average value as Ave.
8. A range hood is characterized by comprising a first group of infrared emission and reception geminate transistors, a second group of infrared emission and reception geminate transistors, a memory and a main control board; the main control board is respectively connected with the first group of infrared emission and reception geminate transistors, the second group of infrared emission and reception geminate transistors and the memory;
the first group of infrared transmitting and receiving geminate transistors are used for conducting when a gesture waves on the left side of the range hood, and outputting a voltage sampling value;
the second group of infrared transmitting and receiving geminate transistors are used for conducting when a gesture waves on the right side of the range hood, and outputting a voltage sampling value;
the memory is used for storing the calculated detection threshold Gesture _ value;
the main control board is used for driving the first group of infrared emission receiving geminate transistors and the second group of infrared emission receiving geminate transistors to work and executing the gesture recognition control method of the range hood as claimed in any one of claims 1 to 7.
9. The range hood of claim 8, wherein each set of infrared emission-reception pair transistors comprises an infrared emission diode and an infrared reception triode, wherein:
the anode of the infrared emitting diode is connected with one end of a first resistor, and the other end of the first resistor is connected with a high level; the cathode of the infrared emitting diode is connected with the collector electrode C of the triode, the emitter electrode E of the triode is grounded, the base electrode B of the triode is connected with one end of a second resistor, and the other end of the second resistor is connected with a control output pin IR _ TX of the main control board;
an emitter E electrode of the infrared receiving triode is grounded, and a collector C electrode of the infrared receiving triode is respectively connected with one end of the capacitor, one end of the third resistor and one end of the fourth resistor; the other end of the capacitor is grounded, the other end of the third resistor is connected with a control input pin IR _ RX of the main control board, and the other end of the fourth resistor is connected with a high level.
10. The range hood of claim 8 or 9, wherein a light shield is disposed on each of the first and second sets of infrared emission-receiving pair transistors for preventing interference between the first and second sets of infrared emission-receiving pair transistors.
CN201811617802.1A 2018-12-28 2018-12-28 Gesture recognition control method of extractor hood with accurate recognition and extractor hood Active CN109539354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811617802.1A CN109539354B (en) 2018-12-28 2018-12-28 Gesture recognition control method of extractor hood with accurate recognition and extractor hood

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811617802.1A CN109539354B (en) 2018-12-28 2018-12-28 Gesture recognition control method of extractor hood with accurate recognition and extractor hood

Publications (2)

Publication Number Publication Date
CN109539354A CN109539354A (en) 2019-03-29
CN109539354B true CN109539354B (en) 2020-12-25

Family

ID=65857513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811617802.1A Active CN109539354B (en) 2018-12-28 2018-12-28 Gesture recognition control method of extractor hood with accurate recognition and extractor hood

Country Status (1)

Country Link
CN (1) CN109539354B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110645609B (en) * 2019-09-16 2024-06-14 华帝股份有限公司 Gesture recognition control device and control method for range hood
CN110811475A (en) * 2019-11-25 2020-02-21 佛山市顺德区美的洗涤电器制造有限公司 Dish washing machine, control panel and control method thereof
CN113495615A (en) * 2020-03-20 2021-10-12 代傲阿扣基金两合公司 Gesture control module, household appliance and application of gesture control module in appliance
CN111623391A (en) * 2020-04-13 2020-09-04 华帝股份有限公司 Range hood with induction distance adjusting device and control method thereof
CN113644904A (en) * 2021-07-12 2021-11-12 武汉格罗姆智能技术有限公司 Inductive switch, inductive switch system and control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2156425Y (en) * 1993-05-06 1994-02-16 张宜巽 Infrared ray controlled multi-function safety smoke exhauster
CN104460987B (en) * 2014-11-07 2019-05-28 惠州Tcl移动通信有限公司 The electronic equipment that can be manipulated by Non-contact gesture
JP6282696B2 (en) * 2016-07-27 2018-02-21 京セラ株式会社 Electronic device and control method
CN106774887A (en) * 2016-12-15 2017-05-31 芯海科技(深圳)股份有限公司 A kind of non-contact gesture identifying device and recognition methods
CN107120701A (en) * 2017-05-04 2017-09-01 广东万家乐燃气具有限公司 A kind of range hood with human body intelligent identification function and gesture operation
WO2019073562A1 (en) * 2017-10-12 2019-04-18 三菱電機株式会社 Display control device, display control method, and vehicle-mounted apparatus provided with display control device
CN108278648B (en) * 2018-03-12 2024-01-02 广东万和电气有限公司 Fume exhaust fan
CN109028193A (en) * 2018-08-06 2018-12-18 杭州老板电器股份有限公司 Gesture motion controls the method for kitchen ventilator and the kitchen ventilator of gesture motion control

Also Published As

Publication number Publication date
CN109539354A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109539354B (en) Gesture recognition control method of extractor hood with accurate recognition and extractor hood
CN109506279B (en) Gesture recognition control method of range hood and range hood
CN103743430B (en) A kind of correlation photoelectric sensor
CN103472752B (en) A kind of infrared many gears gesture identification switch and gesture identification method
CN105627513A (en) Control method, device and system of air conditioner
WO2020108006A1 (en) Sliding correction method and apparatus for sliding component
CN109240541B (en) Screen false touch prevention method and device of electronic equipment and electronic equipment
CN109062453B (en) Transmitting tube scanning structure for infrared touch screen
EP3654624B1 (en) Screen state control method and device, storage medium, and mobile terminal
CN112731817B (en) Control device and method for household appliance and mobile communication device
CN115580965A (en) Lamp control method and device, washing equipment and storage medium
CN114355813B (en) Gesture switch control method and strong anti-interference self-learning gesture switch
CN211849801U (en) Infrared laser induction system and intelligent closestool thereof
CN115097761A (en) Intelligent mirror electric control assembly control method, intelligent mirror electric control assembly and intelligent mirror
CN205513339U (en) Infrared nothing wrong report file administration device
CN210667753U (en) Kitchen utensil capable of automatically sensing bright screen
CN112306276B (en) Self-adaptive touch panel system and self-adaptive method thereof
CN101577997B (en) Light-emitting diode (LED) sensing and controlling system
EP4303698A1 (en) Gesture recognition method for electronic device, electronic device and storage medium
CN221531721U (en) Gesture control LED control circuit
CN217785079U (en) Hand-sweeping induction single-channel plate controller
CN217954747U (en) Obstacle detection circuit and air conditioner
CN211849806U (en) Intelligent closestool with capacitive proximity switch
CN215833618U (en) Accurate range finding circuit
CN214793019U (en) Energy-saving object deformation infrared detection system

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230531

Address after: Building 2, No. 52, 22nd Street, Baiyang Street, Qiantang New District, Hangzhou City, Zhejiang Province, 310000

Patentee after: Hangzhou Jiuchuang Home Appliances Co.,Ltd.

Address before: No. 999, Mei Li Road, Huaiyin District, Ji'nan, Shandong

Patentee before: JOYOUNG Co.,Ltd.