Infrared communication and infrared key function two-in-one circuit

By integrating infrared communication and infrared button functions into a single circuit, the complexity of using electricity meters in high-temperature, high-humidity, and salt spray environments has been solved, reducing production and installation costs and enabling the design of electricity meters with high sealing, small size, and high insulation performance.

CN223598312UActive Publication Date: 2025-11-25NEWCAPEC ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422952275.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-11-25
Estimated Expiration
2034-12-02

AI Technical Summary

Technical Problem

Existing electricity meters have complex requirements for use in high temperature, high humidity and salt spray environments, and the traditional button structure increases production and installation costs, making it difficult to meet the requirements of high sealing, small size and high insulation performance.

Method used

It adopts a circuit that combines infrared communication and infrared button functions. Signal transmission is achieved through infrared transmitting and receiving circuits, and the microcontroller unit is used to determine the type of light signal to realize button and communication functions, eliminating the need for mechanical button structure.

Benefits of technology

It reduces the production and installation costs of the electricity meter casing, meets the requirements for high temperature, high humidity, high insulation and antistatic properties, and achieves small size and high sealing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223598312U_ABST
    Figure CN223598312U_ABST
Patent Text Reader

Abstract

The utility model provides an infrared communication and infrared key function two-in-one circuit. The infrared communication and infrared key function two-in-one circuit comprises an infrared emission modulation circuit, an infrared emission and receiving circuit U1, an infrared receiving demodulation circuit and a microcontroller unit U2, wherein the infrared emission modulation circuit is in circuit connection with the infrared emission and receiving circuit U1, the infrared emission and receiving circuit U1 is in circuit connection with the infrared receiving demodulation circuit, the infrared receiving demodulation circuit is in circuit connection with the microcontroller unit U2, the microcontroller unit U2 is in circuit connection with the infrared emission modulation circuit, and the microcontroller unit U2 is in circuit connection with the infrared emission modulation circuit. The infrared communication function and the infrared key function are integrated, a traditional key machine shell structure and a mechanical key element are omitted, the number of electric energy meter shell molds is reduced, the mold structure is reduced, the shell production and assembly cost is reduced, the whole circuit does not have mechanical actions, and due to the fact that the mechanism structure is simple, the high sealing requirement can be met; the requirements of small volume, high temperature resistance, high humidity resistance, high insulativity, static electricity resistance and low cost are met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of circuits, in particular to an infrared communication and infrared key function two-in-one circuit. BACKGROUND

[0002] The electric energy meter is an instrument for measuring electric energy, also known as an electric meter, a fire meter, a kilowatt-hour meter, and an instrument for measuring various electrical quantities. With the exponential increase of current electrical equipment, the practical environment of electric energy management and control equipment is more complex, and the utility model can solve the use requirements of the electric energy meter under high temperature, high humidity, salt fog, small space and high insulation performance. Meanwhile, the cost of the shell of electric energy is reduced, the circuit reduces electronic components, and the production and installation cost is reduced. According to actual measurement, the comprehensive manufacturing cost is reduced by more than 10%, and the economic benefit is very obvious. CONTENT OF THE UTILITY MODEL

[0003] In order to overcome the above problems in the prior art, the application provides an infrared communication and infrared key function two-in-one circuit, which adopts the following technical scheme:

[0004] An infrared communication and infrared key function two-in-one circuit, comprising an infrared emission modulation circuit, an infrared emission and reception circuit U1, an infrared reception demodulation circuit and a microcontroller unit U2.

[0005] The infrared emission modulation circuit is connected with the infrared emission and reception circuit U1, the infrared emission and reception circuit U1 is connected with the infrared reception demodulation circuit, the infrared reception demodulation circuit is connected with the microcontroller unit U2, and the microcontroller unit U2 is connected with the infrared emission modulation circuit.

[0006] Further, the infrared emission and reception circuit U1 comprises an infrared emission diode and an infrared reception triode, and the infrared emission diode and the infrared reception triode realize signal transmission through photoelectric conversion.

[0007] Further, the infrared emission modulation circuit comprises a resistor R1, a triode Q1, a resistor R2, an infrared emission diode of the U1 and a first IO port of the microcontroller unit U2; the microcontroller unit U2 is connected with one end of the resistor R1 through the first IO port, the other end of the resistor R1 is connected with the base of the triode Q1, the emitter of the triode Q1 is connected with VDD, the collector of the triode Q1 is connected with one end of the resistor R2, and the other end of the resistor R2 is connected with the infrared emission diode of the infrared emission and reception circuit U1.

[0008] Further, the pin 1 of the infrared emission and reception circuit U1 is grounded, the pin 2 of the infrared emission and reception circuit U1 is connected with the infrared emission diode, the pin 3 of the infrared emission and reception circuit U1 is connected with the infrared reception triode, and the pin 4 of the infrared emission and reception circuit U1 is connected with VCC.

[0009] Further, the infrared receiving demodulation circuit comprises a resistor R3 and a capacitor C1, one end of the resistor R3 is connected with pin 3 of the infrared transmitting and receiving circuit U1, the other end of the resistor R3 is connected with the capacitor C1 and then grounded.

[0010] Further, the second IO port of the microcontroller unit U2 is connected with the other end of the resistor R3, the GND pin of the microcontroller unit U2 is grounded, and the VDD pin of the microcontroller unit U2 is connected with the positive pole of the power supply.

[0011] Further, the infrared communication and infrared key function two-in-one circuit can be applied to an electric energy meter.

[0012] The application of the infrared communication and infrared key function two-in-one circuit in the electric energy meter comprises the following steps:

[0013] Step S1, the microcontroller unit U2 sends a PWM modulated wave signal to the base of the transistor Q1 through the first IO port, and the transistor Q1 controls the infrared transmitting diode of the infrared transmitting and receiving circuit U1 to emit a first infrared light signal;

[0014] Step S2, when there is a finger or an occlusion in front of the infrared transmitting and receiving circuit U1, the infrared receiving transistor receives the first infrared light signal; when there is no finger or occlusion in front of the infrared transmitting and receiving circuit U1, the infrared receiving transistor receives a second infrared light signal; the microcontroller unit U2 judges whether it is the first infrared light signal or the second infrared light signal to realize the key function or the infrared communication function; wherein the second infrared light signal is an infrared light signal emitted by a third party device.

[0015] Further, when there is a finger or an occlusion in front of the infrared transmitting and receiving circuit U1, the infrared receiving transistor receives the first infrared light signal, converts the first infrared light signal into an electric signal, demodulates the first infrared light signal through the resistor R3 and the capacitor C1, inputs the demodulated signal into the second IO port of the microcontroller unit U2, and performs signal identification; when the demodulated signal is consistent with the signal sent by the first IO port of the microcontroller unit U2, it is currently in the key mode, triggers a key once, generates a key value in the program, and realizes the key function.

[0016] Further, when the infrared emission and receiving circuit U1 is not blocked by a finger or an obstacle in front, the infrared receiving transistor of the infrared emission and receiving circuit U1 receives the second infrared light signal emitted by the third party device, converts the second infrared light signal into an electrical signal, and decodes the second infrared light signal through the resistance R3 and the capacitor C1 to determine whether the second infrared light signal meets the data command requirement of the microcontroller unit U2 embedded program; if yes, the corresponding command execution is made according to the command, and the PWM modulated data of the first IO port of the microcontroller unit U2 is transmitted through the infrared transmitting diode of the infrared emission and receiving circuit U1 controlled by the transistor Q1, so that the third party device receives the infrared light, and the infrared communication function is realized.

[0017] The present application has the following beneficial effects:

[0018] The present application realizes the key function through the infrared emission and receiving circuit U1 blocked by an obstacle, and the infrared receiving transistor of the infrared emission and receiving circuit U1 receives the infrared light signal of the infrared transmitting diode, and then realizes the communication function when the infrared emission and receiving circuit U1 is not blocked, and the infrared receiving transistor receives the infrared light signal transmitted by the third party device, and then realizes the communication function. The present application combines the infrared communication and the infrared key function into one, saves the traditional key machine shell structure and mechanical key element, reduces the number of electric energy meter shell molds and mold structure, and reduces the shell production and assembly cost. The entire circuit of the present application has no mechanical action, and can meet the requirements of high sealing, small size, high temperature resistance, high humidity resistance, high insulation, anti-static, and low cost due to the simple mechanism structure. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1 The present application provides an infrared communication and infrared key function two-in-one circuit schematic diagram for the embodiment of the present application;

[0020] Figure 2 The present application provides a whole machine appearance diagram for the embodiment of the present application.

[0021] Figure 3 The present application provides an infrared communication and infrared key function two-in-one circuit in the electric energy meter application flow chart for the embodiment of the present application. DETAILED DESCRIPTION

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application; the description herein and the claims and the above description of the drawings are not inclusive of all aspects of the application. The terms "comprises," "comprising," "includes," "including," and the like used herein are specifically intended to be open-ended. The terms "first," "second," and the like do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.

[0023] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. As will be apparent to those of ordinary skill in the art upon reading this description, the embodiments described herein are merely examples of implementations and are not intended to limit the scope of the application in any way.

[0024] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. As will be apparent to those of ordinary skill in the art upon reading this description, the embodiments described herein are merely examples of implementations and are not intended to limit the scope of the application in any way. Figure 1 The application provides an infrared communication and infrared key function two-in-one circuit, comprising an infrared communication and infrared key function two-in-one circuit, characterized by comprising an infrared emission modulation circuit, an infrared emission and reception circuit U1, an infrared reception demodulation circuit, and a microcontroller unit U2.

[0025] The infrared emission modulation circuit is connected with the infrared emission and reception circuit U1, the infrared emission and reception circuit U1 is connected with the infrared reception demodulation circuit, the infrared reception demodulation circuit is connected with the microcontroller unit U2, and the microcontroller unit U2 is connected with the infrared emission modulation circuit.

[0026] In a possible implementation, the infrared emission and reception circuit U1 comprises an infrared emission diode and an infrared reception triode, and the infrared emission diode and the infrared reception triode realize signal transmission through photoelectric conversion.

[0027] In a possible implementation, the infrared emission modulation circuit comprises a resistor R1, a triode Q1, a resistor R2, an infrared emission diode of the infrared emission and reception circuit U1, and a first IO port of the microcontroller unit U2; the microcontroller unit U2 is connected with one end of the resistor R1 through the first IO port, the other end of the resistor R1 is connected with a base of the triode Q1, an emitter of the triode Q1 is connected with VDD, a collector of the triode Q1 is connected with one end of the resistor R2, and the other end of the resistor R2 is connected with the infrared emission diode of the infrared emission and reception circuit U1.

[0028] In a possible implementation, the infrared emission and receiving circuit U1 pin 1 is grounded, the infrared emission and receiving circuit U1 pin 2 is connected to an infrared emission diode, the infrared emission and receiving circuit U1 pin 3 is connected to an infrared receiving triode, and the infrared emission and receiving circuit U1 pin 4 is connected to VCC.

[0029] In a possible implementation, the infrared receiving demodulation circuit includes a resistor R3 and a capacitor C1, wherein one end of the resistor R3 is connected to the pin 3 of the infrared emission and receiving circuit U1, and the other end of the resistor R3 is connected to the capacitor C1 and then grounded.

[0030] In a possible implementation, the second IO port of the microcontroller unit U2 is connected to the other end of the resistor R3, the GND pin of the microcontroller unit U2 is grounded, and the VDD pin of the microcontroller unit U2 is connected to the positive pole of the power supply.

[0031] In a possible implementation, the infrared communication and infrared key function two-in-one circuit can be applied to an electric energy meter.

[0032] Please refer to Figure 3 , application of the infrared communication and infrared key function two-in-one circuit in the electric energy meter, including the following steps:

[0033] Step S1, the microcontroller unit U2 sends a PWM modulated wave signal to the base of the triode Q1 through the first IO port, and the triode Q1 controls the infrared emission diode of the infrared emission and receiving circuit U1 to emit a first infrared light signal.

[0034] Step S2, when there is a finger or an occlusion in front of the infrared emission and receiving circuit U1, the infrared receiving triode receives the first infrared light signal; when there is no finger or occlusion in front of the infrared emission and receiving circuit U1, the infrared receiving triode receives a second infrared light signal; the microcontroller unit U2 judges whether it is the first infrared light signal or the second infrared light signal, to realize the key function or the infrared communication function; wherein the second infrared light signal is an infrared light signal emitted by a third party device.

[0035] In a possible implementation, when there is a finger or an occlusion in front of the infrared emission and receiving circuit U1, the infrared receiving triode receives the first infrared light signal, converts the first infrared light signal into an electric signal, demodulates the first infrared light signal through the resistor R3 and the capacitor C1, inputs the demodulated signal to the second IO port of the microcontroller unit U2, and performs signal identification; when the demodulated signal is consistent with the signal sent by the first IO port of the microcontroller unit U2, the current is in the key mode, triggers a key, generates a key value in the program, and realizes the key function.

[0036] In a possible implementation, when there is no finger or obstruction in front of the infrared emission and receiving circuit U1, the infrared receiving triode of the infrared emission and receiving circuit U1 receives the second infrared light signal emitted by the third party device, converts the second infrared light signal into an electric signal, decodes the second infrared light signal through the resistance R3 and the capacitor C1, and analyzes whether the second infrared light signal emitted by the third party device meets the data command requirement of the embedded program of the microcontroller unit U2; if yes, the corresponding command execution is made according to the command, and the PWM modulated data of the first IO port of the microcontroller unit U2 is transmitted through the triode Q1 to control the infrared sending diode of the infrared emission and receiving circuit U1, the infrared light is emitted and propagated, the third party device receives the infrared light, and the infrared communication function is realized.

[0037] Obviously, the above-described embodiments are only some of the embodiments of the present application, but not all the embodiments. The preferred embodiments of the present application are shown in the drawings, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, and contrary to the above-described embodiments, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions recorded in the foregoing specific embodiments, or equivalently replace some of the technical features. Any equivalent structure made by using the content of the present application specification and drawings, directly or indirectly applied to other related technical fields, is also within the patent protection scope of the present application.

Claims

1. An infrared communication and infrared key function two-in-one circuit, characterized in that, It comprises an infrared emission modulation circuit, an infrared emission and receiving circuit U1, an infrared receiving demodulation circuit, and a microcontroller unit U2. The infrared emission modulation circuit is connected with the infrared emission and receiving circuit U1, the infrared emission and receiving circuit U1 is connected with the infrared receiving demodulation circuit, the infrared receiving demodulation circuit is connected with the microcontroller unit U2, and the microcontroller unit U2 is connected with the infrared emission modulation circuit. The infrared emission modulation circuit comprises a resistor R1, a transistor Q1, a resistor R2, an infrared emission diode of the infrared emission and receiving circuit U1, and a first IO port of the microcontroller unit U2. The first IO port of the microcontroller unit U2 is connected with one end of the resistor R1, the other end of the resistor R1 is connected with the base of the transistor Q1, the emitter of the transistor Q1 is connected with VDD, the collector of the transistor Q1 is connected with one end of the resistor R2, and the other end of the resistor R2 is connected with the infrared emission diode of the infrared emission and receiving circuit U1.

2. The infrared communication and infrared key function two-in-one circuit according to claim 1, wherein, The second IO port of the microcontroller unit U2 is connected with the other end of the resistor R3, the GND pin of the microcontroller unit U2 is grounded, and the VDD pin of the microcontroller unit U2 is connected with the positive pole of the power supply.

3. The infrared communication and infrared key function two-in-one circuit according to claim 2, wherein, The infrared emission and receiving circuit U1 comprises an infrared emission diode and an infrared receiving transistor, and the infrared emission diode and the infrared receiving transistor realize signal transmission through photoelectric conversion.

4. The infrared communication and infrared key function in one circuit according to claim 1, characterized in that, The pin 1 of the infrared emission and receiving circuit U1 is grounded, the pin 2 of the infrared emission and receiving circuit U1 is connected with the infrared emission diode, the pin 3 of the infrared emission and receiving circuit U1 is connected with the infrared receiving transistor, and the pin 4 of the infrared emission and receiving circuit U1 is connected with VCC.

5. The infrared communication and infrared key function in one circuit according to claim 1, characterized in that, The infrared receiving demodulation circuit comprises a resistor R3 and a capacitor C1, one end of the resistor R3 is connected with the pin 3 of the infrared emission and receiving circuit U1, and the other end of the resistor R3 is connected with the capacitor C1 and then grounded. The infrared communication and infrared key function two-in-one circuit can be applied to an electric energy meter.