Non-contact switch electronic device for discriminating a human hand based on infrared temperature measurement
Patent Information
- Application Number
- CN202522338375.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2035-11-04
AI Technical Summary
[0005]为此,本实用新型提供了一种基于红外测温实现判别人手的非接触性开关电子装置,以解决现有技术中的红外感应开关容易出现误触发的问题
可以理解的是,本实用新型示出的技术方案,具体涉及一种基于红外测温实现判别人手的非接触性开关电子装置,包括:主控模块、红外测温模块、电源模块和控制输出接口;所述红外测温模块的输出端与所述主控模块的输入端连接,利用红外测温传感器采集温度数据,将所述温度数据传输至所述主控模块;所述主控模块的输出端与所述控制输出接口连接,当所述主控模块检测到所述温度数据处于预设范围内,则通过输出端发出控制信号,电源模块为其他模块供电。该技术方案能够通过检测温度,并判断温度是否处于预设范围,进而输出控制信号,无需人手触碰即可触发,同时设定了温度判定范围,不会因为判定范围外的情况误触发,大幅提高了触发的准确性。
Smart Images

Figure CN224790629U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of electronic switch technology, specifically relating to a non-contact electronic switch device based on infrared temperature measurement to identify a person's hand. Background Technology
[0002] In daily life and public places, some switches with a contact-type design can cause inconvenience. For example, the light switch on a mirror has long used a contact-type design, in which case the user must touch the switch directly with their finger to activate the corresponding function. However, such a design has two extremely critical drawbacks.
[0003] On the one hand, its reliability is poor. If a user has just finished washing their hands, which are still wet, or have water or dirt on their hands, touching the switch at this time can easily lead to poor contact, preventing the switch from turning on or off properly. This greatly affects the user experience. On the other hand, the hygiene and safety risks are quite prominent. In public places such as shopping mall restrooms and hospital changing rooms, many people frequently touch the same switch, which can easily lead to the cross-infection of germs. Especially during periods of high incidence of infectious diseases, the risk of users contracting diseases increases significantly.
[0004] To address the issue of transmission through contact, non-contact products such as infrared sensor switches have emerged on the market. However, existing infrared sensor switches operate on the principle of detecting the infrared radiation emitted by objects to determine their proximity. Their detection range covers all objects that emit infrared radiation, thus they cannot accurately identify human hands. In practical use, false triggering often occurs, such as when a pet walks by, clothing swaying in the wind, or other objects approach, making it difficult to simultaneously meet users' dual requirements for accurate switch control and hygiene safety. Utility Model Content
[0005] To address this issue, this invention provides a non-contact electronic switch based on infrared temperature measurement to identify a person's hand, thus solving the problem of false triggering in existing infrared sensor switches.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: A non-contact electronic switching device based on infrared temperature measurement for identifying a person's hand includes: Main control module, infrared temperature measurement module, power supply module, and control output interface; The output terminal of the infrared temperature measurement module is connected to the input terminal of the main control module. The infrared temperature sensor collects temperature data and transmits the temperature data to the main control module. The output terminal of the main control module is connected to the control output interface. When the main control module detects that the temperature data is within a preset range, it sends a control signal through the output terminal. The output terminal of the power module is connected to the main control module, the infrared temperature measurement module, and the power module, respectively.
[0007] Preferably, the device further includes: The LED module has its input terminal connected to the output terminal of the main control module. When a control signal is received, the LED in the LED module is lit up.
[0008] Preferably, the infrared temperature measurement module is connected to the GPIO interface of the main control module via an I2C interface.
[0009] Preferably, the main control module consists of a microcontroller, a reset circuit, and a crystal oscillator circuit; The microcontroller is an STM32F103. Both the reset circuit and the crystal oscillator circuit are connected to the microcontroller.
[0010] Preferably, the power supply module is connected to the input voltage terminal, which steps down and stabilizes the input voltage to a 3.3V DC voltage to power the main control module, the infrared temperature measurement module, and the power supply module.
[0011] Preferably, the other end of the control output interface is connected to the relay control terminal, and the relay contacts are connected in series in the power supply circuit of the external controlled electrical appliance.
[0012] Preferably, the main control module is also connected to an external control input interface. The other end of the external control input interface is connected to one end of an external button switch, and the other end of the external button switch is grounded. When the external button switch is pressed, the level of the external control input interface is pulled low, thereby causing the output terminal of the main control module to output a control signal.
[0013] Preferably, the device further includes: The external / download circuit includes a control output interface, an external control input interface, and connector H3, wherein... The control output interface is connected to the fifth pin of connector H3 via TVS diode U6, and the fifth pin of connector H3 is also connected to the relay control terminal. The external control input interface is connected to the fourth pin of connector H3 via TVS diode U5. The fourth pin of connector H3 is connected to a 3.3V power supply via a pull-up resistor. The fourth pin of connector H3 is also connected to one end of an external push-button switch. The external control input interface is also connected to a 3.3V power supply via resistor R12. The first pin of connector H3 is connected to a 3.3V power supply; the second pin of connector H3 serves as a serial clock terminal and is connected to the main control module; the third pin of connector H3 serves as a serial data input / output terminal and is connected to the main control module; the fourth pin of connector H3 is also grounded through capacitor C21 and TVS diode D2; the fifth pin of connector H3 is connected to the sixth pin of connector H3 through a parallel TVS diode D1 and capacitor C22; the sixth pin of connector H3 is grounded; and the seventh pin of connector H3 is connected to a 5V power supply.
[0014] The present invention, by adopting the above technical solution, has at least the following beneficial effects: It is understood that the technical solution presented in this utility model specifically relates to a non-contact switching electronic device based on infrared temperature measurement to detect human hand contact, comprising: a main control module, an infrared temperature measurement module, a power supply module, and a control output interface; the output terminal of the infrared temperature measurement module is connected to the input terminal of the main control module, and uses an infrared temperature sensor to collect temperature data and transmit the temperature data to the main control module; the output terminal of the main control module is connected to the control output interface, and when the main control module detects that the temperature data is within a preset range, it sends a control signal through the output terminal, and the power supply module supplies power to other modules. This technical solution can detect temperature and determine whether the temperature is within a preset range, and then output a control signal, which can be triggered without human touch. It also sets a temperature judgment range, preventing false triggering due to conditions outside the judgment range, thus greatly improving the accuracy of triggering.
[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit the present invention. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1This is a front view of the structure of a non-contact switching electronic device according to an exemplary embodiment of the present invention; Figure 2 This is a schematic diagram of the back of a non-contact switching electronic device according to an exemplary embodiment of the present invention; Figure 3 This is a functional block diagram of a non-contact switching electronic device according to an exemplary embodiment of the present invention; Figure 4 This is a schematic diagram of an infrared temperature measurement module circuit shown in an exemplary embodiment of the present invention; Figure 5 This is a schematic diagram of the main control module circuit shown in an exemplary embodiment of the present invention; Figure 6 This is a schematic diagram of a power module circuit shown in an exemplary embodiment of the present invention; Figure 7 This is a schematic diagram of an LED module circuit shown in an exemplary embodiment of the present invention; Figure 8 This is a schematic diagram of an external / download circuit shown in an exemplary embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be described in detail below. Obviously, the described embodiments are only a part of the embodiments of this utility model, and not all of them. Based on the embodiments of this utility model, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.
[0019] In one exemplary embodiment, see Figure 1 , Figure 2 and Figure 3 A non-contact switching electronic device based on infrared temperature measurement for identifying a person's hand is provided, comprising: The system includes a main control module 2, an infrared temperature measurement module 1, a power supply module 3, and an external interface 5, which includes a control output interface.
[0020] The output terminal of the infrared temperature measurement module 1 is connected to the input terminal of the main control module 2. The infrared temperature measurement sensor collects temperature data and transmits the temperature data to the main control module 2.
[0021] In practical applications, the infrared temperature sensor model JX90614 is an infrared non-contact thermometer with high precision (±0.5℃) and high resolution (0.02℃). It can accurately measure the surface temperature of target objects, and is especially suitable for human hand temperature detection.
[0022] In a preferred embodiment, the infrared temperature measurement module 1 is connected to the GPIO interface of the main control module 2 via an I2C interface.
[0023] See Figure 4 In this embodiment, the SDA pin of the JX90614 infrared temperature sensor U4 is connected to the PB11 pin of the microcontroller of the main control module 2 (STM32F103), and the SCL pin is connected to the PB10 pin (see...). Figure 5 Both pins are connected to a 3.3V power supply via 4.7kΩ pull-up resistors to ensure stable I2C communication. The detected temperature signal is converted into a digital signal and transmitted to the main control module 2. The sensor's VDD pin is connected to a 3.3V power supply, and the VSS pin is grounded. The operating current is approximately 1.5mA, and the detection distance is 0-5cm, meeting the requirements for hand proximity detection.
[0024] The embodiments of this application use the JX90614 infrared temperature sensor, but are not limited to the JX90614. Other infrared temperature sensors that can achieve the same function can also be used, such as the MLX90614.
[0025] The output terminal of the main control module 2 is connected to the control output interface. When the main control module 2 detects that the temperature data is within a preset range, it sends a control signal through the output terminal.
[0026] In a preferred embodiment, the main control module 2 consists of a microcontroller, a reset circuit, and a crystal oscillator circuit; the microcontroller is an STM32F103; the reset circuit and the crystal oscillator circuit are both connected to the microcontroller.
[0027] The STM32F103 series microcontroller is based on the ARM Cortex-M3 core and has the advantages of high performance (72MHz), low power consumption and rich peripheral interfaces (including I2C, GPIO, etc.). It can quickly receive and process the temperature signal transmitted by the infrared temperature measurement module 1. The preset range inside the main control module 2 is 30℃-37℃. The human hand temperature range judgment program is existing technology. The main control module 2 receives the temperature signal and compares it with the preset range. If the temperature is within the range, it outputs a control signal; otherwise, it does not take any action.
[0028] See Figure 5 The main control module 2 includes an MCU main circuit, a crystal oscillator circuit, and a reset circuit. The MCU main circuit uses an STM32F103C8T6 microcontroller (a common model in the STM32F103 series). Its PB11 (SDA) and PB10 (SCL) pins are connected to the infrared temperature measurement module 1, and the PA3 pin is connected to the base of the transistor in the LED module 4 through a current-limiting resistor (see...). Figure 7The PA1 pin connects to the control output interface. The microcontroller's VDD pin connects to a 3.3V power supply, and the GND pin is grounded. The operating current is approximately 20mA (normal mode). The external reset circuit is an RC reset circuit (10kΩ resistor + 10μF capacitor) to ensure stable startup of the microcontroller; the crystal oscillator circuit uses an 8MHz passive crystal oscillator (with a 22pF capacitor) to provide a stable clock signal.
[0029] The output terminal of the power module 3 is connected to the main control module 2, the infrared temperature measurement module 1, and the power module 3, respectively.
[0030] In a preferred embodiment, the power supply module 3 is connected to the input voltage terminal, which steps down and stabilizes the input voltage to a 3.3V DC voltage to power the main control module 2, the infrared temperature measurement module 1, and the power supply module 3.
[0031] In practice, power module 3 is an LDO (Low Drop Out) step-down regulator module, with the SPX1117M step-down regulator chip as the core component. The external power supply is a 4.2V / 5V DC power supply (such as a lithium battery). Power module 3 uses the LDO circuit to step down and regulate the input voltage to 3.3V DC power, with an output current of up to 800mA. Electrolytic capacitors and ceramic capacitors are connected in parallel at the module's input and output terminals to filter out ripple. Power module 3 supplies power to infrared temperature measurement module 1, main control module 2, and LED module 4, ensuring stable operation of each module.
[0032] See Figure 6 In the embodiments of this application, the Vin pin of the SPX1117M in the power module 3 is connected in parallel with a 1μF and a 10μF ceramic capacitor (to filter low-frequency ripple) and a 10nF ceramic capacitor (to filter high-frequency ripple) to the positive terminal of the 5V lithium battery, the GND pin is grounded, and the Vout pin outputs a 3.3V power supply; the Vout pin is connected in parallel with a 1μF and a 10μF ceramic capacitor (to filter low-frequency ripple) and a 10nF ceramic capacitor (to filter high-frequency ripple) to ensure stable output voltage.
[0033] In a preferred embodiment, the device further includes an LED module 4, the input terminal of which is connected to the output terminal of the main control module 2, and the LEDs in the LED module 4 are lit when a control signal is received.
[0034] See Figure 7 In this embodiment, the LED module 4 uses an NPN type MMBT3904-1AM transistor (maximum collector current 200mA). The control terminal (base) of the transistor is connected to the GPIO port of the main control module 2 through a current-limiting resistor. The emitter is grounded, and the collector is connected in series to the LED circuit. The four LEDs are connected in parallel to each other and connected to the 3.3V voltage terminal through a current-limiting resistor in series.
[0035] In this embodiment, the LED module 4 consists of a transistor (NPN type MMBT3904) and four LEDs. The four LEDs are connected in parallel. When this non-contact switching electronic device is used for mirror lighting, the LEDs can directly illuminate the mirror; or the LEDs can serve as indicator lights, illuminating when the main control module 2 sends a control signal. Specifically, when the main control module 2 outputs a control signal, the transistor conducts, and the LEDs are powered on; when the signal stops, the transistor is cut off, and the LEDs are turned off.
[0036] Figure 1 External interface 5 includes a control output interface and an external control input interface.
[0037] In a preferred embodiment, the other end of the control output interface is connected to the relay control terminal, and the relay contacts are connected in series in the power supply circuit of the external controlled electrical appliance.
[0038] In this embodiment, one end of the control output interface is connected to the GPIO port of the main control module 2, and the other end is connected to the relay control terminal. The relay contacts are connected in series in the power supply circuit of the external controlled electrical appliance (such as an exhaust fan or printer). After receiving the control signal from the main control module 2, the relay contacts are controlled to open and close, thereby realizing the start and stop of the external controlled electrical appliance.
[0039] In a preferred embodiment, the main control module 2 is also connected to an external control input interface. The other end of the external control input interface is connected to one end of an external button switch, and the other end of the external button switch is grounded. When the external button switch is pressed, the level of the external control input interface is pulled low, thereby causing the output terminal of the main control module 2 to output a control signal.
[0040] In this embodiment, the external control input interface can be used as an external control input interface. The external device can directly control the on / off state of the LED module 4 and the external controlled electrical appliance by pulling the interface level low (such as by connecting an external button switch), thereby realizing the backup manual control function.
[0041] exist Figure 5 In this configuration, pin PA1 serves as the control output interface. Pin PA2 serves as the external control input interface (connected to a 3.3V power supply via a 10kΩ pull-up resistor).
[0042] See Figure 8 It provides an external / download circuit, including a control output interface, an external control input interface, and connector H3. Connector H3 is a 7-pin DuPont terminal connector with pins for 3.3V (allowing direct external 3.3V power supply to the device), SWCLK, SWDIO, DI, DO, GND, and 5V.
[0043] The control output interface is connected to the fifth pin of connector H3 via TVS diode U6, and the fifth pin of connector H3 is also connected to the relay control terminal. The external control input interface is connected to the fourth pin of connector H3 via TVS diode U5. The fourth pin of connector H3 is connected to a 3.3V power supply via a pull-up resistor. The fourth pin of connector H3 is also connected to one end of an external push-button switch. The external control input interface is also connected to a 3.3V power supply via resistor R12. The first pin of connector H3 is connected to a 3.3V power supply; the second pin of connector H3 serves as a serial clock terminal and is connected to the main control module 2; the third pin of connector H3 serves as a serial data input / output terminal and is connected to the main control module 2; the fourth pin of connector H3 is also grounded through capacitor C21 and TVS diode D2; the fifth pin of connector H3 is connected to the sixth pin of connector H3 through a parallel TVS diode D1 and capacitor C22; the sixth pin of connector H3 is grounded; and the seventh pin of connector H3 is connected to a 5V power supply.
[0044] The SWCLK and SWDIO pins of the 7-pin DuPont connector are for microcontroller programming. The microcontroller's PA9 pin (control output) is connected to DO. DO can be connected to one end of a relay coil via an external 1kΩ current-limiting resistor. The other end of the relay coil is connected to a 5V power supply. The normally open contact of the relay is connected in series in the power supply circuit of an external controlled appliance (such as a 220V exhaust fan). By controlling the high and low levels of PA9, the controlled appliance can be controlled (not shown in the diagram). PA10 is connected to DI. DI is connected to a 3.3V power supply via an external 10kΩ pull-up resistor. One end of an external push-button switch is connected to the DI pin, and the other end is grounded. When the button is pressed, the DI pin level is pulled low, triggering the control action (not shown in the diagram).
[0045] See Figure 3 In practical applications, the following is the working process of the non-contact switching electronic device shown in this embodiment, taking a mirror with LED lights as an example: Standby state: After the device is powered on, the power module 3 outputs a 3.3V regulated power supply, and each module completes initialization; the main control module 2 starts the temperature detection program, and the infrared temperature measurement module 1 starts to detect the ambient temperature in real time.
[0046] Human Hand Detection and Triggering: When a user brings their hand close to the infrared temperature measurement module 11 (0-5cm away), the JX90614 detects the hand temperature (e.g., 35℃) and transmits the temperature data to the microcontroller via the I2C interface. The microcontroller determines that the temperature is within the range of 30℃-37℃, identifies it as a human hand, and then outputs control signals: a high level is output to the PA3 pin, triggering the MMBT3904 transistor to conduct, energizing the LED (illumination of the mirror), and simultaneously outputting a high level to the PA9 pin, controlling the relay coil to energize, closing the normally open contacts of the relay, and energizing and starting the external controlled electrical appliance (e.g., the exhaust fan).
[0047] Stop triggering: When the user's hand leaves the detection range, the JX90614 detects that the temperature has dropped below 30℃ (e.g., ambient temperature 25℃). The microcontroller determines that the temperature does not meet the condition, does not output a control signal, and maintains the current state until the next state trigger.
[0048] External backup control: Press the external button switch of the external control interface, the PA10 pin level is pulled low. After the microcontroller detects the low level signal, it triggers the same control action as "human hand detection"; release the button, the PA10 pin returns to the high level, the device maintains the current state, and waits for the next trigger.
[0049] The following application scenarios are adapted: In a home bathroom mirror scenario: the white LED in LED module 4 provides illumination for the mirror. When a hand approaches the infrared temperature measurement module 1 (without touching), the LED light turns on; when the hand approaches again, the LED light turns off. This avoids fingerprints and stains on the mirror, and even water residue from washed fingers can control the light's on / off function.
[0050] In public restrooms: The control output interface is connected to a sensor faucet or hand dryer. When the hand approaches the switch (infrared temperature measurement module 1), the hand dryer is activated. No contact with any equipment is required throughout the process, reducing the risk of germ transmission.
[0051] Office Scenario: The control output interface connects to the printer, and employees can trigger the printing command by simply bringing their hand close to the switch, or achieve backup control via an external button, reducing the frequency of printer button contact and improving office hygiene and safety.
[0052] The above are merely specific embodiments of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
[0053] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0054] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0055] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A non-contact electronic switch device for identifying a person's hand based on infrared temperature measurement, characterized in that, include: Main control module, infrared temperature measurement module, power supply module, and control output interface; The output terminal of the infrared temperature measurement module is connected to the input terminal of the main control module. The infrared temperature sensor collects temperature data and transmits the temperature data to the main control module. The output terminal of the main control module is connected to the control output interface. When the main control module detects that the temperature data is within a preset range, it sends a control signal through the output terminal. The output terminal of the power module is connected to the main control module, the infrared temperature measurement module, and the power module, respectively.
2. The apparatus according to claim 1, characterized in that, Also includes: The LED module has its input terminal connected to the output terminal of the main control module. When a control signal is received, the LED in the LED module is lit up.
3. The apparatus according to claim 1, characterized in that, The infrared temperature measurement module is connected to the GPIO interface of the main control module via an I2C interface.
4. The apparatus according to claim 1, characterized in that, The main control module consists of a microcontroller, a reset circuit, and a crystal oscillator circuit. The microcontroller is an STM32F103. Both the reset circuit and the crystal oscillator circuit are connected to the microcontroller.
5. The apparatus according to claim 2, characterized in that, The power supply module is connected to the input voltage terminal, which steps down and stabilizes the input voltage to a 3.3V DC voltage to power the main control module, the infrared temperature measurement module, and the power supply module.
6. The apparatus according to claim 1, characterized in that, The other end of the control output interface is connected to the relay control terminal, and the relay contacts are connected in series in the power supply circuit of the external controlled electrical appliance.
7. The apparatus according to claim 6, characterized in that, The main control module is also connected to an external control input interface. The other end of the external control input interface is connected to one end of an external button switch, and the other end of the external button switch is grounded. When the external button switch is pressed, the level of the external control input interface is pulled low, thereby causing the output terminal of the main control module to output a control signal.
8. The apparatus according to claim 7, characterized in that, Also includes: The external / download circuit includes a control output interface, an external control input interface, and connector H3, wherein... The control output interface is connected to the fifth pin of connector H3 via TVS diode U6, and the fifth pin of connector H3 is also connected to the relay control terminal. The external control input interface is connected to the fourth pin of connector H3 via TVS diode U5. The fourth pin of connector H3 is connected to a 3.3V power supply via a pull-up resistor. The fourth pin of connector H3 is also connected to one end of an external push-button switch. The external control input interface is also connected to a 3.3V power supply via resistor R12. The first pin of connector H3 is connected to a 3.3V power supply; the second pin of connector H3 serves as a serial clock terminal and is connected to the main control module; the third pin of connector H3 serves as a serial data input / output terminal and is connected to the main control module; the fourth pin of connector H3 is also grounded through capacitor C21 and TVS diode D2; the fifth pin of connector H3 is connected to the sixth pin of connector H3 through a parallel TVS diode D1 and capacitor C22; the sixth pin of connector H3 is grounded; and the seventh pin of connector H3 is connected to a 5V power supply.