Photoelectric gesture control device and method and water heater
By using photoelectric gesture control devices on the interactive panel of the gas water heater, gesture recognition is achieved using the photoelectric tube matrix, the problem of inconvenience in operation in the strong light environment in the prior art is solved, and efficient and accurate gesture recognition and low light pollution effect are achieved.
Patent Information
- Application Number
- CN202010934215.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-08
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2040-09-08
AI Technical Summary
The operating mode of the existing gas water heater interactive panel is affected by ambient light, which leads to inconvenient operation, and the infrared gesture module and touch buttons are not sensitive in strong light environments.
The photoelectric gesture control device is used to realize gesture recognition through the photoelectric matrix, and the gesture is detected using the photoelectric effect. It is designed to not emit visible and invisible light to reduce light pollution.
It realizes efficient and accurate gesture recognition in strong light environments, reduces light pollution, improves harmony with nature, and reduces power consumption.
Smart Images

Figure CN111966227B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment control, and in particular to a photoelectric gesture control device and method, and a water heater. Background Art
[0002] At present, the wake-up and operation methods of the gas water heater interactive panel used in the market are mainly mechanical buttons, touch buttons and / or infrared gestures. For water heaters installed on the balcony, the light is too strong and the relevant buttons cannot be seen clearly, which brings inconvenience to users. Touch buttons are generally capacitive buttons, which are greatly affected by the environment; infrared gesture modules are greatly affected by the ambient light conditions, and sometimes touch or gestures are not sensitive; and mechanical buttons are gradually being replaced by touch or gestures in the mid-to-high-end field.
[0003] In view of this, there is an urgent need for a system and method for realizing gesture recognition using the photoelectric effect, which will not emit visible light and invisible light to the outside when in use, thereby reducing light pollution and improving harmony with nature. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a photoelectric gesture control device and method and a water heater, which realize gesture recognition based on the photoelectric effect, and do not emit visible light and invisible light to the outside when in use, thereby reducing light pollution.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] On the one hand, the present invention provides a photoelectric gesture control device. The photoelectric gesture control device includes a photoelectric tube matrix composed of at least one photoelectric tube, a controller, a first resistor set and a second resistor set, wherein each photoelectric tube in the photoelectric tube matrix includes an emitter, a collector and a base; the emitters of each photoelectric tube in the same column of the photoelectric tube matrix are connected to the first end of the same resistor in the first resistor set, and the emitters of each photoelectric tube in different columns are respectively connected to the first ends of different resistors in the first resistor set, and the first ends of each resistor in the first resistor set are connected to the controller; the collectors of each photoelectric tube in the same row of the photoelectric tube matrix are connected to the first end of the same resistor in the second resistor set, and the collectors of each photoelectric tube in different rows are respectively connected to the first ends of different resistors in the second resistor set, and the second ends of each resistor in the second resistor set are connected to the controller.
[0007] Optionally, for the photoelectric gesture control device, the second end of each resistor in the first resistor set is grounded, and the collector of each phototube in the phototube matrix is connected to an input voltage.
[0008] Optionally, the photoelectric gesture control device further includes a sensing panel, and the photoelectric tube matrix is embedded in the sensing panel.
[0009] Optionally, the photoelectric gesture control device further includes a casing panel, and the sensing panel is embedded in the casing panel.
[0010] In another aspect, the present invention provides a water heater, which includes the above-mentioned photoelectric gesture control device.
[0011] In another aspect, the present invention provides a control method for the above-mentioned photoelectric gesture control device. The control method includes: dividing a photoelectric tube matrix into various gesture recognition areas; when detecting that the photoelectric tube in the gesture recognition area changes from the on state to the off state, recognizing that the gesture recognition area is shielded; and determining the gesture type according to the position change of the shielded gesture recognition area on the photoelectric tube matrix and the duration of the shielding.
[0012] Optionally, for the control method, the position of the gesture recognition area is determined by the coordinates of the phototube in the gesture recognition area, wherein the coordinates of the phototube are represented by the row number and column number of the phototube in the phototube matrix.
[0013] Optionally, for the control method, the change of the photoelectric tube from the on state to the off state is determined by the voltage of the emitter of the photoelectric tube changing from a high level to a low level.
[0014] Optionally, for the control method, the gesture type includes at least one of the following types: a gesture recognition area is continuously shielded from light for more than a preset time period; a first gesture recognition area is shielded from light and a second gesture recognition area adjacent to the first gesture recognition area is shielded from light.
[0015] Optionally, the control method, after determining the gesture type, further includes: determining a function corresponding to the gesture type and executing the function corresponding to the gesture type.
[0016] Compared with the prior art, the main advantages of the technical solution of the present invention are as follows:
[0017] (1) The photoelectric gesture control device and method and the water heater provided by the embodiments of the present invention do not emit visible light and invisible light to the outside when in use, thereby reducing light pollution and improving harmony with nature.
[0018] (2) At night, all photoelectric cells will be turned off to reduce power consumption.
[0019] (3) Use the photoelectric cell panel to realize the gesture function without using the infrared gesture module.
[0020] (4) No complicated algorithms are required, only simple matrix operations are needed to output gesture control commands, while the recognition efficiency is high, the accuracy is high, and the gesture positioning is accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0022] Figure 1 A schematic diagram of the structure of a photoelectric gesture control device provided in Embodiment 1 of the present invention;
[0023] Figure 2 An internal structure diagram of a photoelectric tube provided for an example of the present invention;
[0024] Figure 3A-3D Schematic diagrams of different parts of an optoelectronic display panel shielded by a shading object provided as an example of the present invention;
[0025] Figure 4 Provided in Example 3 of the present invention Figure 1 A flow chart of a control method of the photoelectric gesture control device shown;
[0026] Figure 5 A schematic diagram of a photoelectric tube provided for an example of the present invention;
[0027] Fig. 6A A diagram of a photoelectric display effect when a photoelectric tube provided as an example of the present invention is turned on without being shielded by a light-shielding object;
[0028] Figure 6B A diagram of the photoelectric display effect of a photoelectric tube provided in another example of the present invention when it is shielded by a light-shielding object;
[0029] Figure 7 A flowchart of gesture determination of a controller provided as an example of the present invention. DETAILED DESCRIPTION
[0030] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully conveyed to those skilled in the art.
[0031] Figure 1 This is a schematic diagram of the structure of the photoelectric gesture control device provided in Example 1 of the present invention. Figure 2 The internal structure diagram of a photoelectric tube provided as an example of the present invention. Figure 1 and Figure 2 As shown. The photoelectric gesture control device provided in this embodiment includes a photoelectric tube matrix composed of at least one photoelectric tube 10, a controller (MCU), a first resistor set and a second resistor set. Among them, each photoelectric tube in the photoelectric tube matrix includes an emitter (E pole) 11, a collector (C pole) 12 and a base (B pole) 13. The emitter 11 of each photoelectric tube 10 in the same column of the photoelectric tube matrix is connected to the first end of the same resistor in the first resistor set, and the emitters 11 of each photoelectric tube 10 in different columns are respectively connected to the first ends of different resistors in the first resistor set, and the first ends of each resistor in the first resistor set are connected to the controller. The collector 12 of each photoelectric tube 10 in the same row of the photoelectric tube matrix is connected to the first end of the same resistor in the second resistor set, and the collector 12 of each photoelectric tube 10 in different rows is respectively connected to the first ends of different resistors in the second resistor set, and the second end of each resistor in the second resistor set is connected to the controller. The photoelectric tube 10 is a material designed and manufactured based on the photoelectric effect, that is, light generates electricity. The photoelectric tube described in this article is a phototransistor. When there is light, the phototransistor is turned on, and when there is no light, the phototransistor is turned off. When the photoelectric tube 10 is irradiated with visible light, it sends an electrical signal to the controller, and when the photoelectric tube 10 is shielded from light, it sends this information to the controller.
[0032] In this embodiment, the second end of each resistor in the first resistor set can be grounded. The collector 12 of each photoelectric tube 10 in the photoelectric tube matrix can be connected to the input voltage. The photoelectric tube 10 can also include a photoelectric tube protection layer 14.
[0033] Figure 1 This is merely an example of a photoelectric tube matrix to illustrate the structure of a photoelectric gesture control device, and is not intended to limit the number of photoelectric tubes on the photoelectric tube matrix or the shape of the photoelectric tube matrix.
[0034] Figure 3A-3D Schematic diagrams of different parts of an optoelectronic display panel shielded by a shading object provided as an example of the present invention. Figure 3A-3D As shown, the photoelectric gesture control device of this embodiment may further include a sensing panel 20, and the photoelectric tube matrix is embedded in the sensing panel 20. The sensing panel is used to fix the shape of the photoelectric tube matrix, and may be a regular shape or an irregular shape. The photoelectric gesture control device of this embodiment may further include a housing panel 30, and the sensing panel is embedded in the housing panel 30.
[0035] Embodiment 2 of the present invention provides a water heater, which includes the above-mentioned photoelectric gesture control device.
[0036] Figure 4This is a flow chart of the control method of the above-mentioned photoelectric gesture control device provided in Embodiment 3 of the present invention.
[0037] like Figure 4 As shown, in step S410, the photoelectric tube matrix is divided into various gesture recognition areas. The regional functions can be specified, such as Figure 3D The left part, the middle part and the right part of the middle sensing panel 20 can be used as a gesture recognition area respectively.
[0038] In step S420, when it is detected that the photoelectric tube in the gesture recognition area changes from the on state to the off state, it is recognized that the gesture recognition area is shielded from light.
[0039] like Figure 1 , Figure 2 and Figure 5 As shown in the figure, the phototube is generally used in the open state of the base (B pole), and the voltage is applied between the emitter (E pole) and the collector (C pole). In this state, when light is incident on the surface of the base, Figure 2 The visible light shown in the figure illuminates the photoelectric tube. At this time, the internal Figure 5 As shown, the photoelectric effect occurs at the base of the phototube, generating current and turning on the phototube. Figure 1 The voltage is detected at the first end of the resistors R5 to R10 in the first resistor set, and then it can be determined which part of the photoelectric tubes are turned on. This embodiment is a reverse operation, which makes all the photoelectric tubes turned on at the beginning, such as Fig. 6A As shown, it is then Figure 6B The light shielding material 40 shown blocks visible light. FIG. 3A to FIG. 3D The light shielding object 4 shown in the figure shields part of the photoelectric tube, which is FIG. 3A to FIG. 3D The photoelectric tube shielded by the shading object 40 shown in the figure loses the irradiation of visible light, so that the base of the photoelectric tube cannot generate current, so that the photoelectric tube is cut off. The shading object 40 is, for example, a user's hand.
[0040] In step S430, the gesture type is determined according to the position change of the gesture recognition area on the photoelectric tube matrix and the duration of the shading. As an optional implementation, the position of the gesture recognition area can be determined by the coordinates of the photoelectric tube in the gesture recognition area. The coordinates of the photoelectric tube can be represented by the row number and column number of the photoelectric tube in the photoelectric tube matrix. The photoelectric tube can be determined to change from the on state to the off state by the voltage of the emitter of the photoelectric tube changing from a high level to a low level. The gesture type can include at least one of the following types: a gesture recognition area is continuously shielded for more than a preset time; the first gesture recognition area is shielded and the second gesture recognition area adjacent to the first gesture recognition area is shielded. Specifically, the gesture type can include motion gestures from left to right, from right to left, from top to bottom, from bottom to top, and long-term stay gestures. In addition, different gesture recognition areas are shielded for more than a preset time, which can correspond to the same gesture type, thereby realizing the same gesture function; or can correspond to different gesture types, thereby realizing different gesture functions respectively.
[0041] As FIG. 3A to FIG. 3D The controller (MCU) can detect the coordinates of the photoelectric tube that is cut off, so the controller can determine that the light shielding object 40 moves from left to right, thereby determining the corresponding gesture type. FIG. 3A to FIG. 3D From the movement shown, the controller can determine that the shading object 40 moves from right to left, thereby determining the corresponding gesture type.
[0042] The working state of the photoelectric tube forms the coordinates defined by the controller (MCU), and the controller calculates the gesture movement trajectory through the coordinates. Figure 1 Take the example in the figure, at the beginning all photoelectric tubes are in the on state. Figure 1 As shown, H1 to H4, L1 to L6 are all connected to the controller, and the controller will define a 6 × 4 matrix, in which the coordinates of the phototube Q1 are defined as Q1 (L1, H1), the coordinates of the phototube Q2 are defined as Q2 (L2, H1), the coordinates of the phototube Q3 are defined as Q3 (L3, H1), the coordinates of the phototube Q4 are defined as Q4 (L4, H1)... The coordinates of the phototube Q24 are defined as Q24 (L6, H4). In this example, L1 refers to a high level, ~L1 refers to a low level; H1 refers to a high level, ~H1 refers to a low level, and so on, L2, L3...L6, H2, H3, H4 refer to a high level; ~L2, ~L3...~L6, ~H2, ~H3, ~H4 refer to a low level. When the phototube Q1 is blocked by a light blocking object, the phototube Q1 is detected in the controller (MCU) as (~L1, H1), and at this time, the controller knows that the phototube Q1 is blocked.
[0043] If the phototube Q1 is shielded first, then the phototube Q2, and finally the phototube Q3, the controller (MCU) detects the coordinate changes of the phototubes as follows:
[0044] Q1 (L1, H1), Q2 (L2, H1), Q3 (L3, H1)
[0045] Q1 (~L1, H1), Q2 (L2, H1), Q3 (L3, H1)
[0046] Q1 (L1, H1), Q2 (~L2, H1), Q3 (L3, H1)
[0047] Q1 (L1, H1), Q2 (L2, H1), Q3 (~L3, H1)
[0048] Q1 (L1, H1), Q2 (L2, H1), Q3 (L3, H1)
[0049] Based on the change in coordinates, the controller can determine that the shading object moves from left to right.
[0050] For example, Figure 7 As shown, the shading object blocks the phototube Q1, and the controller (MCU) detects the coordinates of the phototube Q1 and obtains the coordinate change, that is, from Q1 (L1, H1) to Q1 (~L1, H1). If the phototube Q1 is blocked for more than the preset time T, it is defined as the first gesture type, corresponding to the first gesture function. Then, in the controller, if it is detected that the phototube Q1 (~L1, H1) exceeds the preset time T, the first gesture function is executed.
[0051] The control method of the photoelectric gesture control device of this embodiment may further include, after step S430, the steps of: determining a function corresponding to the gesture type and executing the function corresponding to the gesture type.
[0052] The photoelectric gesture control device and method and the water heater of the embodiment of the present invention do not emit visible light and invisible light when in use, which reduces light pollution and improves harmony with nature. At night, all photoelectric tubes will be turned off to reduce power consumption. The gesture function is realized by using a photoelectric tube panel, and there is no need to use an infrared gesture module. No complicated algorithms are required, only simple matrix operations are needed to output gesture control instructions, and at the same time, the recognition efficiency is high, the accuracy is high, and the gesture positioning is accurate.
[0053] The above descriptions are merely embodiments of the present invention and are not intended to limit the scope of protection of the claims of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the scope of protection of the claims of the present invention.
Claims
1. A photoelectric gesture control device, characterized in that: The invention comprises a photoelectric tube matrix composed of at least one photoelectric tube, a controller, a first resistor set and a second resistor set, wherein: Each photoelectric tube in the photoelectric tube matrix includes an emitter, a collector and a base; The emitters of the phototubes in the same column of the phototube matrix are connected to the first end of the same resistor in the first resistor set, and the emitters of the phototubes in different columns are respectively connected to the first ends of different resistors in the first resistor set, and the first ends of the resistors in the first resistor set are connected to the controller; The collectors of the phototubes in the same row of the phototube matrix are connected to the first end of the same resistor in the second resistor set, and the collectors of the phototubes in different rows are respectively connected to the first ends of different resistors in the second resistor set, and the second ends of the resistors in the second resistor set are connected to the controller.
2. The photoelectric gesture control device according to claim 1, characterized in that: The second end of each resistor in the first resistor set is grounded, and the collector of each photoelectric tube in the photoelectric tube matrix is connected to an input voltage.
3. The photoelectric gesture control device according to claim 1 or 2, characterized in that: It also includes a sensing panel, in which the photoelectric tube matrix is embedded.
4. The photoelectric gesture control device according to claim 3, characterized in that: It also includes a casing panel, in which the sensing panel is embedded.
5. A water heater, characterized in that: It comprises the photoelectric gesture control device as claimed in any one of claims 1 to 4.
6. A control method for the photoelectric gesture control device according to any one of claims 1 to 4, characterized in that: include: Divide the photocell matrix into gesture recognition areas; When it is detected that the photoelectric tube in the gesture recognition area changes from the on state to the off state, it is recognized that the gesture recognition area is shielded from light; The gesture type is determined according to the position change of the gesture recognition area that is shielded on the photoelectric tube matrix and the duration of the shielding.
7. The control method according to claim 6, characterized in that: The position of the gesture recognition area is determined by the coordinates of the photocells in the gesture recognition area, wherein the coordinates of the photocells are represented by the row number and column number of the photocells in the photocell matrix.
8. The control method according to claim 6, characterized in that: The change of the photoelectric tube from the on state to the off state is determined by the voltage of the emitter of the photoelectric tube changing from the high level to the low level.
9. The control method according to claim 6, characterized in that: The gesture type includes at least one of the following types: A gesture recognition area is continuously blocked from light for longer than a preset time. The first gesture recognition area is shielded from light and the second gesture recognition area adjacent to the first gesture recognition area is shielded from light.
10. The control method according to claim 6, characterized in that: After determining the gesture type, the method further includes: Determine the function corresponding to the gesture type and execute the function corresponding to the gesture type.
Citation Information
Patent Citations
Gesture control device and electric water heater with gesture control function
CN211060416U
Photoelectric gesture control device and water heater
CN212341839U
Apparatus for providing input interface and operating method thereof
KR1020130072606A