Infrared gas meter

By integrating functional circuits such as infrared control circuits into the gas meter, the problems of low working efficiency and maintenance efficiency of existing gas meters when stationing on the network for a long time are solved, and efficient work and maintenance are achieved without stationing on the network.

CN119942770APending Publication Date: 2025-05-06GUILIN LITONG ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510129798.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

When existing gas meters need to be stationed on the network for a long time, their work efficiency and maintenance efficiency are low, and are affected by the operator's network coverage.

Method used

An infrared gas meter is designed, including infrared control circuit, temperature measurement circuit, communication circuit, pulse sampling circuit, alarm interface circuit, processor, valve control circuit, display screen and touch button circuit, which can work and maintain without the need to be stationed in the network.

Benefits of technology

Through technical means such as infrared control circuits, the work and maintenance of the gas meter are achieved without waiting for the network, which greatly improves the working efficiency and facilitates the maintenance of the gas meter and improves the maintenance speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119942770A_ABST
    Figure CN119942770A_ABST
Patent Text Reader

Abstract

The invention provides an infrared gas meter which comprises an infrared control circuit, a temperature measuring circuit, a communication circuit, a pulse sampling circuit, an alarm interface circuit, a processor, a valve control circuit, a display screen and a touch key circuit. The processor is connected with the infrared control circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the display screen and the touch key circuit, and the processor is also connected with the temperature measuring circuit and the valve control circuit. According to the invention, the work and maintenance of the gas meter do not need to wait for staying in a network, so that the working efficiency is greatly improved, the maintenance of the gas meter is also facilitated, and the maintenance speed of the gas meter is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention mainly relates to the technical field of gas equipment, and in particular to an infrared gas meter. Background Art

[0002] At present, IoT gas meters only have network (CAT1, NB-IoT) communication channels, and this type of communication is directly affected by the operator's network coverage. The gas meter needs to work continuously for more than 6 months after a battery replacement, so it cannot stay on the network for a long time. For this reason, the controller of the existing gas meter is set to regularly initiate network connection and synchronization recharge system instructions. It takes a certain amount of time for the gas meter to go from being on the network to sending and receiving instructions normally, which has a great impact on the working efficiency and maintenance efficiency of the gas meter, reduces the working efficiency of the gas meter, and is not conducive to the maintenance of the gas meter. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide an infrared gas meter to solve the problems of high price and large size in view of the deficiencies of the prior art.

[0004] The technical solution of the present invention to solve the above technical problems is as follows: an infrared gas meter, comprising an infrared control circuit for receiving and transmitting infrared data when an external infrared transceiver device approaches, a temperature measurement circuit for obtaining ambient temperature data from an external temperature sensor, a communication circuit, a pulse sampling circuit for obtaining pulse information from a mechanical wheel of the gas meter, an alarm interface circuit for obtaining alarm data from an external alarm, a processor for performing data analysis on infrared data, ambient temperature data, pulse information and alarm data, a valve control circuit for controlling the opening and closing of a gas meter valve according to the results of the data analysis, a display screen and a touch button circuit for controlling the display screen through the processor,

[0005] The processor is respectively connected to the infrared control circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the display screen and the touch button circuit, and the processor is also connected to the temperature measurement circuit and the valve control circuit.

[0006] The beneficial effects of the present invention are as follows: through the infrared control circuit, temperature measurement circuit, communication circuit, pulse sampling circuit, alarm interface circuit, processor, valve control circuit, display screen and touch button circuit, the gas meter can be operated and maintained without waiting for the network, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and increases the speed of gas meter maintenance.

[0007] Based on the above technical solution, the present invention can also be improved as follows.

[0008] Furthermore, the infrared control circuit includes an infrared interface circuit and an infrared switch detection circuit for controlling the infrared interface circuit to transmit and receive infrared data when an external infrared transceiver device approaches.

[0009] The infrared interface circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first transistor, a second transistor, a third transistor, a first diode and a first capacitor.

[0010] One end of the first resistor is connected to the processor, the other end of the first resistor is connected to the base of the first transistor, the emitter of the first transistor is connected to a power supply VDD, the collector of the first transistor is respectively connected to one end of the first capacitor, the positive electrode of the first diode, the emitter of the second transistor and one end of the third resistor, the other end of the first capacitor is grounded, the negative electrode of the first diode is connected to one end of the second resistor, the other end of the second resistor is connected to the processor, the other end of the third resistor is respectively connected to the processor and the collector of the third transistor, the emitter of the third transistor is respectively grounded to one end of the fourth resistor, and the base of the third transistor is respectively connected to the collector of the second transistor and the other end of the fourth resistor;

[0011] The infrared switch detection circuit includes a TMR1305 chip and a second capacitor, the VCC pin of the TMR1305 chip is respectively connected to one end of the second capacitor and a power supply VDD, the other end of the second capacitor is grounded to the GND pin of the TMR1305 chip, and the Vout pin of the TMR1305 chip is connected to the processor.

[0012] The beneficial effect of adopting the above further solution is that the operation and maintenance of the gas meter does not need to wait for the grid connection, which greatly improves the work efficiency.

[0013] Further, the communication circuit includes an MA510 chip, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a ninth capacitor, a tenth capacitor, an eleventh capacitor, a twelfth capacitor, a thirteenth capacitor, a fourteenth capacitor, a fifteenth capacitor, a sixteenth capacitor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, a first inductor, an antenna, a fourth transistor, a fifth transistor, a sixth transistor, a seventh transistor, a light emitting diode, a first transient voltage suppression diode, a second transient voltage suppression diode, a third transient voltage suppression diode, a fourth transient voltage suppression diode and a SIM card.

[0014] The first GND pin of the MA510 chip, the second GND pin of the MA510 chip, the third GND pin of the MA510 chip, the fourth GND pin of the MA510 chip, the fifth GND pin of the MA510 chip and the sixth GND pin of the MA510 chip are all grounded. The NA_ANT pin is respectively connected to one end of the second capacitor and one end of the first inductor, the other end of the second capacitor is grounded, the other end of the first inductor is respectively connected to one end of the third capacitor and the antenna, the other end of the third capacitor is grounded, the first VBAT pin of the MA510 chip is respectively connected to the second VBAT pin of the MA510 chip, one end of the fourth capacitor, one end of the fifth capacitor, one end of the sixth capacitor, one end of the seventh capacitor and one end of the eighth capacitor, the other end of the fourth capacitor, the other end of the fifth capacitor, the other end of the sixth capacitor, the other end of the seventh capacitor and the other end of the eighth capacitor are all grounded, the VDD pin of the MA510 chip is connected to the power supply VDD, the POWER_ON pin of the MA510 chip is respectively connected to one end of the ninth capacitor and the collector of the fourth transistor, the other end of the ninth capacitor is grounded, the base of the fourth transistor is respectively connected to one end of the fifth resistor and one end of the sixth resistor, the other end of the fifth resistor is connected to the processor, the other end of the sixth resistor and the emitter of the fourth transistor are all grounded, the UART of the MA510 chip The I_RXD pin is respectively connected to one end of the seventh resistor and the collector of the fifth transistor, the other end of the seventh resistor is connected to the power supply VDD, the base of the fifth transistor is respectively connected to one end of the eighth resistor and one end of the tenth capacitor, the other end of the eighth resistor and the other end of the tenth capacitor are both connected to the power supply VDD, the emitter of the fifth transistor is connected to the processor, the UART I_TXD pin of the MA510 chip is connected to the emitter of the sixth transistor, the base of the sixth transistor is respectively connected to one end of the eleventh capacitor and one end of the ninth resistor, the other end of the eleventh capacitor and the other end of the ninth resistor are connected to the power supply VDD, the collector of the sixth transistor is respectively connected to the processor and one end of the tenth resistor, the other end of the tenth resistor is connected to the power supply VDD, and the SIM_S of the MA510 chip is connected to the SIM_S of the MA510 chip. The IO pin is connected to one end of the eleventh resistor, the other end of the eleventh resistor is respectively connected to one end of the twelfth resistor, one end of the twelfth capacitor, one end of the first transient voltage suppression diode and the I / O pin of the SIM card, the SIM_SCLK pin of the MA510 chip is connected to one end of the thirteenth resistor,The other end of the thirteenth resistor is respectively connected to one end of the thirteenth capacitor, one end of the second transient voltage suppression diode and the CLK pin of the SIM card, the SIM_SRST pin of the MA510 chip is connected to one end of the fourteenth resistor, the other end of the fourteenth resistor is respectively connected to one end of the fourteenth capacitor, one end of the third transient voltage suppression diode and the RST pin of the SIM card, the VSIM pin of the MA510 chip is respectively connected to the other end of the twelfth resistor, one end of the fifteenth capacitor, one end of the sixteenth capacitor, one end of the fourth transient voltage suppression diode and the VCC pin of the SIM card, the other end of the twelfth capacitor, the other end of the first transient voltage suppression diode, the other end of the thirteenth capacitor, the second transient voltage suppression diode and the VCC pin of the SIM card. The other end, the other end of the fourteenth capacitor, the other end of the third transient voltage suppression diode, the other end of the fifteenth capacitor, the other end of the sixteenth capacitor, the other end of the fourth transient voltage suppression diode and the GND pin of the SIM card are all grounded, the seventh GND pin and the eighth GND pin of the MA510 chip are all grounded, the LPG pin of the MA510 chip is connected to one end of the fifteenth resistor, the other end of the fifteenth resistor is respectively connected to one end of the sixteenth resistor and the base of the seventh transistor, the other end of the sixteenth resistor and the emitter of the seventh transistor are both grounded, the collector of the seventh transistor is connected to one end of the seventeenth resistor, the other end of the seventeenth resistor is connected to the cathode of the light emitting diode, and the anode of the light emitting diode is connected to the power supply VCC_Modu. ,

[0015] The beneficial effects of adopting the above further solution are: being able to send and receive instruction data greatly improves work efficiency, facilitates maintenance of the gas meter, and increases the speed of gas meter maintenance.

[0016] Further, the processor includes a HC32L I 76M chip, a seventeenth capacitor, an eighteenth capacitor, a nineteenth capacitor, a twentieth capacitor, a twenty-first capacitor, a twenty-second capacitor, an eighteenth resistor, a first interface, and a second interface,

[0017] The PE02 pin of the HC32L I 76M chip is connected to the touch key circuit, the VCAP pin of the HC32L I 76M chip is respectively connected to one end of the seventeenth capacitor and one end of the eighteenth capacitor, the other end of the seventeenth capacitor and the other end of the eighteenth capacitor are grounded, the SEG26 / PC01 pin of the HC32L I 76M chip is connected to the first pin of the first interface, the SEG25 / PC02 pin of the HC32L I 76M chip is connected to the second pin of the first interface, the SEG24 / PC03 pin of the HC32L I 76M chip is connected to the third pin of the first interface, the AVSS pin of the HC32L I 76M chip, one end of the nineteenth capacitor and one end of the twentieth capacitor are all grounded, the AVCC pin of the HC32L I 76M chip, the other end of the nineteenth capacitor and the other end of the twentieth capacitor are all connected to the power supply VDD, and the HC32L I The SEG20 / PA03 pin of the HC32L I 76M chip, the PF04 pin of the HC32L I 76M chip, the PF05 pin of the HC32L I 76M chip and the SEG19 / PA04 pin of the HC32L I 76M chip are all connected to the infrared control circuit, the SEG13 / PB01 pin of the HC32L I 76M chip is connected to the alarm interface circuit, the SEG11 / PB02 pin of the HC32L I 76M chip, the PE11 pin of the HC32L I 76M chip and the SEG51 / PE12 pin of the HC32L I 76M chip are all connected to the valve control circuit, the SEG50 / PE13 pin of the HC32L I 76M chip and the SEG49 / PE14 pin of the HC32L I 76M chip are all connected to the temperature measurement circuit, and the HC32L I The SEG10 / PB10 pin of the HC32L I 76M chip and the SEG9 / PB11 pin of the HC32L I 76M chip are both connected to the pulse sampling circuit, the first DVSS pin of the HC32L I 76M chip and one end of the twenty-first capacitor are both grounded, the first DVCC pin of the HC32L I 76M chip and the other end of the twenty-first capacitor are both connected to the power supply VDD,The PB12 / SEG8 pin of the HC32L I 76M chip, the PB13 / SEG7 pin of the HC32L I 76M chip, the PB14 / SEG6 pin of the HC32L I 76M chip, the PB15 / SEG5 pin of the HC32L I 76M chip, the PD08 / SEG47 pin of the HC32L I 76M chip, the PD09 / SEG46 pin of the HC32L I 76M chip, the PD10 / SEG45 pin of the HC32L I 76M chip, the PD11 / SEG44 pin of the HC32L I 76M chip, the PC06 / SEG4 pin of the HC32L I 76M chip, the PC07 / SEG3 pin of the HC32L I 76M chip, the PC08 / SEG2 pin of the HC32L I the PC09 / SEG1 pin of the HC32L I 76M chip, the PA08 / SEG0 pin of the HC32L I 76M chip, the PA09 / COM0 pin of the HC32L I 76M chip, the PA10 / COM1 pin of the HC32L I 76M chip, the PA11 / COM2 pin of the HC32L I 76M chip, the PA12 / COM3 pin of the HC32L I 76M chip, the PC10 / COM4 / SEG39 pin of the HC32L I 76M chip, the PC11 / COM5 / SEG38 pin of the HC32L I 76M chip, the PC12 / COM6 / SEG37 pin of the HC32L I 76M chip, the PD02 / COM7 / SEG36 pin of the HC32L I76M chip, the PB03 / SEG35 / VLCDH pin of the HC32L I The PB04 / SEG34 / VLCD3 pin of the HC32L I 76M chip, the PB03 / SEG33 / VLCD2 pin of the HC32L I 76M chip, and the PB02 / SEG32 / VLCD1 pin of the HC32L I 76M chip are all connected to the display screen, the PA13 / SWD IO pin of the HC32L I 76M chip is connected to the first pin of the second interface, the PA14 / SWCLK pin of the HC32L I 76M chip is connected to the second pin of the second interface, the PB07 / SEG31 pin of the HC32L I 76M chip, the PB08 / SEG29 pin of the HC32L I 76M chip, and the PB09 / SEG28 pin of the HC32L I 76M chip are all connected to the communication circuit, and the BOOT0 pin of the HC32L I 76M chip is respectively connected to the third pin of the second interface and one end of the eighteenth resistor,The other end of the eighteenth resistor is grounded, the second DVSS pin of the HC32L I 76M chip and one end of the twenty-second capacitor are both grounded, and the second DVCC pin of the HC32L I 76M chip and the other end of the twenty-second capacitor are both connected to the power supply VDD.

[0018] The beneficial effect of adopting the above further solution is that the gas meter can be operated and maintained without waiting for the grid connection, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and increases the speed of gas meter maintenance.

[0019] Further, the valve control circuit includes a third interface, a nineteenth resistor, a twentieth resistor, a twenty-third capacitor, a twenty-fourth capacitor and an AT9110A chip.

[0020] The IA pin of the AT9110A chip and the IB pin of the AT9110A chip are respectively connected to the processor, the first GND pin of the AT9110A chip is respectively connected to the second GND pin of the AT9110A chip, one end of the nineteenth resistor and one end of the twentieth resistor, the other end of the nineteenth resistor is respectively connected to the processor and one end of the twenty-third capacitor, the other end of the twenty-third capacitor and the other end of the twentieth resistor are grounded, the first VCC pin of the AT9110A chip and the second VCC pin of the AT9110A chip are both connected to the power supply VCC, the OB pin of the AT9110A chip is respectively connected to one end of the twenty-fourth capacitor and the first pin of the third interface, the other end of the twenty-fourth capacitor is respectively connected to the OA pin of the AT9110A chip and the second pin of the third interface, the third pin of the third interface is grounded, and the fourth pin of the third interface and the fifth pin of the third interface are both connected to the processor.

[0021] The beneficial effects of adopting the above further solution are: achieving control over the gas meter valve, greatly improving work efficiency, facilitating the maintenance of the gas meter, and increasing the speed of gas meter maintenance.

[0022] Further, the infrared gas meter also includes a low power reset detection circuit for controlling the processor to be in a stopped state when it is detected that the processor is in a low voltage, and controlling the processor to reset when the processor is in a high voltage, the low power reset detection circuit including an X61 CN2202 chip, a twenty-fifth capacitor and a twenty-first resistor,

[0023] The Vout pin of the X61 CN2202 chip is respectively connected to the processor, one end of the 25th capacitor and one end of the 21st resistor, the other end of the 25th capacitor is grounded, the other end of the 21st resistor is connected to the power supply VDD, the GND pin of the X61 CN2202 chip is grounded, and the Vin pin of the X61 CN2202 chip is connected to the power supply VDD.

[0024] The beneficial effects of adopting the above further solution are: ensuring the reliability of data and improving the speed of gas meter maintenance.

[0025] Furthermore, the infrared gas meter also includes a power supply circuit, which includes a power supply circuit and a communication power supply circuit.

[0026] The power supply circuit includes a fourth interface, a second diode, an MD5350 chip, an MD5333 chip, a twenty-sixth capacitor, a twenty-seventh capacitor, a twenty-eighth capacitor and a twenty-ninth capacitor.

[0027] The first pin of the fourth interface and the positive electrode of the second diode are both connected to the power supply VBAT, the negative electrode of the second diode is connected to the VIN pin of the MD5350 chip, the GND pin of the MD5350 chip, the second pin of the fourth interface, one end of the 26th capacitor, one end of the 27th capacitor, the GND pin of the MD5333 chip, one end of the 28th capacitor and one end of the 29th capacitor are all grounded, the OUT pin of the MD5350 chip, the other end of the 26th capacitor, the other end of the 27th capacitor and the VIN pin of the MD5333 chip are all connected to the power supply VCC, and the OUT pin of the MD5333 chip, the other end of the 28th capacitor and the other end of the 29th capacitor are all connected to the power supply VDD;

[0028] The communication power supply circuit includes a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor, a thirtieth capacitor, a thirty-first capacitor, a thirty-second capacitor, a third diode, a MOS tube, an eighth transistor, a first MD5340 chip and a second MD5340 chip.

[0029] One end of the 22nd resistor is connected to the processor, the other end of the 22nd resistor is connected to the base of the eighth transistor, the emitter of the eighth transistor is grounded, the collector of the eighth transistor is connected to one end of the 23rd resistor, the other end of the 23rd resistor is respectively connected to one end of the 24th resistor and the gate of the MOS tube, the other end of the 24th resistor is respectively connected to the cathode of the third diode and the source of the MOS tube, the anode of the third diode is connected to the power supply VBAT, the drain of the MOS tube is respectively connected to one end of the 30th capacitor, one end of the 31st capacitor, the VI N pin of the first MD5340 chip and the VI N pin of the second MD5340 chip, the other end of the 30th capacitor, the other end of the 31st capacitor, the GND pin of the second MD5340 chip and one end of the 32nd capacitor are grounded, the GND pin of the first MD5340 chip is grounded, the OUT pin of the first MD5340 chip, the OUT pin of the second MD5340 chip and the other end of the 32nd capacitor are all connected to the power supply VCC_Modu.

[0030] The beneficial effect of adopting the above further solution is: providing electricity for the gas meter.

[0031] Further, the infrared gas meter also includes a low voltage detection circuit for detecting the power supply circuit, and the low voltage detection circuit includes a twenty-fifth resistor, a twenty-sixth resistor, a twenty-seventh resistor, a twenty-eighth resistor, a ninth transistor, and a tenth transistor.

[0032] One end of the 25th resistor is connected to the processor, the other end of the 25th resistor is connected to the base of the ninth transistor, the emitter of the ninth transistor is grounded, the collector of the ninth transistor is connected to one end of the 26th resistor, the other end of the 26th resistor is connected to the base of the tenth transistor, the emitter of the tenth transistor is connected to the power supply VBAT, the collector of the tenth transistor is connected to one end of the 27th resistor, the other end of the 27th resistor is respectively connected to one end of the 28th resistor and the processor, and the other end of the 28th resistor is grounded.

[0033] The beneficial effect of adopting the above further solution is: detecting the voltage of the power supply and better protecting the power supply.

[0034] Furthermore, the infrared gas meter also includes a memory, and the memory includes a 24LC64 chip and a thirty-third capacitor.

[0035] The E0 pin of the 24LC64 chip, the E1 pin of the 24LC64 chip, the E2 pin of the 24LC64 chip, the GND pin of the 24LC64 chip and the WC pin of the 24LC64 chip are all grounded, the VCC pin of the 24LC64 chip and one end of the thirty-third capacitor are all connected to the power supply VDD, the other end of the thirty-third capacitor is grounded, and the SCL pin of the 24LC64 chip and the SDA pin of the 24LC64 chip are both connected to the processor.

[0036] The beneficial effect of adopting the above further solution is: storing data.

[0037] Furthermore, the infrared gas meter further comprises a buzzer output circuit, wherein the buzzer output circuit comprises a buzzer, a twenty-ninth resistor and an eleventh transistor.

[0038] One end of the 29th resistor is connected to the processor, the other end of the 29th resistor is connected to the base of the 11th transistor, the emitter of the 11th transistor is grounded, the collector of the 11th transistor is connected to one end of the buzzer, and the other end of the buzzer is connected to the power supply VCC.

[0039] The beneficial effect of adopting the above further solution is: a more intuitive understanding of the operation of the gas meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A structural block diagram of an infrared gas meter provided by an embodiment of the present invention;

[0041] Figure 2 A circuit diagram of a temperature measurement circuit of an infrared gas meter provided by an embodiment of the present invention;

[0042] Figure 3 A circuit diagram of a pulse sampling circuit of an infrared gas meter provided by an embodiment of the present invention;

[0043] Figure 4 A circuit diagram of an alarm interface circuit of an infrared gas meter provided by an embodiment of the present invention;

[0044] Figure 5 A circuit diagram of a display screen of an infrared gas meter provided by an embodiment of the present invention;

[0045] Figure 6 A circuit diagram of a touch button circuit of an infrared gas meter provided by an embodiment of the present invention;

[0046] Figure 7 A circuit diagram of an infrared interface circuit of an infrared gas meter provided by an embodiment of the present invention;

[0047] Figure 8 A circuit diagram of an infrared switch detection circuit of an infrared gas meter provided by an embodiment of the present invention;

[0048] Fig. 9 A circuit diagram of a communication circuit of an infrared gas meter provided by an embodiment of the present invention;

[0049] Fig.10 A circuit diagram of a processor of an infrared gas meter provided by an embodiment of the present invention;

[0050] Fig.11 A circuit diagram of a valve control circuit of an infrared gas meter provided by an embodiment of the present invention;

[0051] Fig.12 A circuit diagram of a low-power reset detection circuit of an infrared gas meter provided by an embodiment of the present invention;

[0052] Fig.13 A circuit diagram of a power supply circuit of an infrared gas meter provided by an embodiment of the present invention;

[0053] Fig.14 A circuit diagram of a communication power supply circuit of an infrared gas meter provided in an embodiment of the present invention;

[0054] Fig.15 A circuit diagram of a low-voltage detection circuit of an infrared gas meter provided by an embodiment of the present invention;

[0055] Fig.16 A circuit diagram of a memory of an infrared gas meter provided by an embodiment of the present invention;

[0056] Fig.17 A circuit diagram of a buzzer output circuit of an infrared gas meter provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0058] like Figures 1 to 6As shown, an infrared gas meter includes an infrared control circuit for receiving and transmitting infrared data when an external infrared transceiver device approaches, a temperature measurement circuit for obtaining ambient temperature data from an external temperature sensor, a communication circuit, a pulse sampling circuit for obtaining pulse information from a mechanical wheel of the gas meter, an alarm interface circuit for obtaining alarm data from an external alarm, a processor for analyzing infrared data, ambient temperature data, pulse information and alarm data, a valve control circuit for controlling the opening and closing of a gas meter valve according to the result of data analysis, a display screen and a touch button circuit for controlling the display screen through the processor,

[0059] The processor is respectively connected to the infrared control circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the display screen and the touch button circuit, and the processor is also connected to the temperature measurement circuit and the valve control circuit.

[0060] It should be understood that the data analysis includes temperature compensation calculation for ambient temperature data; and determines whether the pulse information is a valid pulse or an abnormal pulse through a preset algorithm. If it is a normal pulse, a fee deduction calculation is performed; if it is an abnormal pulse, the corresponding error message is displayed on the LCD screen and the gas meter valve is closed; and the valve control circuit is controlled to close the gas meter valve according to the alarm data to ensure safety.

[0061] It should be understood that the temperature measurement circuit is used to collect the ambient temperature data of the gas meter and transmit it to the MCU (i.e., the processor). The pulse sampling circuit is used to stimulate the pulse sampling circuit (i.e., the pulse sampling circuit) when the mechanical wheel of the gas meter rotates, and the pulse circuit (i.e., the pulse sampling circuit) transmits the pulse information to the MCU (i.e., the processor). The alarm interface circuit is used for the combustible gas alarm interface, and the alarm transmits the data (i.e., the alarm data) to the MCU (i.e., the processor) when the alarm sounds. The touch button circuit is used to turn the pages of the gas meter LCD screen information by short pressing, and long pressing triggers wireless communication.

[0062] Specifically, Figure 2 As shown, the temperature measurement circuit includes a DS18B20 chip, a transistor Q15, a resistor R37 and a resistor R38.

[0063] The GND pin of the DS18B20 chip is grounded, the DQ pin of the DS18B20 chip is respectively connected to the processor and one end of the resistor R37, the VDD pin of the DS18B20 chip is respectively connected to the other end of the resistor R37 and the collector of the transistor Q15, the emitter of the transistor Q15 is connected to the power supply VDD, the base of the transistor Q15 is connected to one end of the resistor R38, and the other end of the resistor R38 is connected to the processor.

[0064] Specifically, Figure 3 As shown, the pulse sampling circuit includes an interface J2, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a capacitor C7, a capacitor C8, a capacitor C10, a capacitor C11, an inductor L1 and an inductor L2.

[0065] A first pin of the interface J2 is connected to one end of the resistor R7, a second pin of the interface J2 is grounded, a third pin of the interface J2 is connected to one end of the resistor R6, the other end of the resistor R7 is respectively connected to one end of the resistor R8, one end of the capacitor C7, one end of the capacitor C10 and one end of the inductor L2, the other end of the capacitor C7, one end of the capacitor C8, the other end of the capacitor C10 and one end of the capacitor C10 are all grounded, the other end of the resistor R6 is respectively connected to one end of the resistor R9, the other end of the capacitor C8, the other end of the capacitor C11 and one end of the inductor L1, the other end of the resistor R9 and the other end of the resistor R8 are both connected to the power supply VDD, and the other end of the inductor L1 and the other end of the inductor L2 are both connected to the processor.

[0066] It should be understood that if Figure 4 As shown, the alarm interface circuit includes a diode D12, a resistor R35, a resistor R36, a diode D13 and an interface J6.

[0067] The first pin of the diode D12 is grounded, the second pin of the diode D12 and one end of the resistor R36 are both connected to VDD, the third pin of the diode D12 is respectively connected to the processor and one end of the resistor R35, the first pin of the interface J6 is grounded, the other end of the resistor R35 is respectively connected to the other end of the resistor R36, the positive electrode of the diode D13 and the second pin of the interface J6, and the negative electrode of the diode D13 is connected to the power supply VCC.

[0068] It should be understood that if Figure 5 As shown, the model of the display screen may be LCD_1539P, and its first pin to the twenty-fifth pin are all connected to the processor.

[0069] Specifically, Figure 6 As shown, the touch key circuit includes a BS812A-1 chip, a capacitor C38 and a capacitor C36.

[0070] The VDD pin of the BS812A-1 chip and one end of the capacitor C38 are connected to the power supply VDD, the VSS pin of the BS812A-1 chip and the other end of the capacitor C38 are grounded, the Kout1 pin of the BS812A-1 chip is connected to the processor, the Key2 pin of the BS812A-1 chip and one end of the capacitor C36 are grounded, and the Key1 pin of the BS812A-1 chip and the other end of the capacitor C36 are connected to the touch button sensing terminal Key1.

[0071] In the above embodiments, through the infrared control circuit, temperature measurement circuit, communication circuit, pulse sampling circuit, alarm interface circuit, processor, valve control circuit, display screen and touch button circuit, the gas meter can be operated and maintained without waiting for the network, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and increases the speed of gas meter maintenance.

[0072] Optionally, as an embodiment of the present invention, Figure 7 and 8 As shown, the infrared control circuit includes an infrared interface circuit and an infrared switch detection circuit for controlling the infrared interface circuit to send and receive infrared data when an external infrared transceiver device approaches.

[0073] The infrared interface circuit includes a first resistor R30, a second resistor R31, a third resistor R32, a fourth resistor R33, a first transistor Q10, a second transistor Q11, a third transistor Q12, a first diode D11 and a first capacitor C30.

[0074] One end of the first resistor R30 is connected to the processor, the other end of the first resistor R30 is connected to the base of the first transistor Q10, the emitter of the first transistor Q10 is connected to the power supply VDD, the collector of the first transistor Q10 is respectively connected to one end of the first capacitor C30, the positive electrode of the first diode D11, the emitter of the second transistor Q11 and one end of the third resistor R32, the other end of the first capacitor C30 is grounded, the negative electrode of the first diode D11 is connected to one end of the second resistor R31, the other end of the second resistor R31 is connected to the processor, the other end of the third resistor R32 is respectively connected to the processor and the collector of the third transistor Q12, the emitter of the third transistor Q12 is respectively connected to one end of the fourth resistor R33, and the base of the third transistor Q12 is respectively connected to the collector of the second transistor Q11 and the other end of the fourth resistor R33;

[0075] The infrared switch detection circuit includes a TMR1305 chip MR4 and a second capacitor C82C34, the VCC pin of the TMR1305 chip MR4 is respectively connected to one end of the second capacitor C82C34 and a power supply VDD, the other end of the second capacitor C82C34 is grounded to the GND pin of the TMR1305 chip MR4, and the Vout pin of the TMR1305 chip MR4 is connected to the processor.

[0076] It should be understood that the infrared interface circuit receives and sends data via infrared and is controlled by the MCU (ie, processor).

[0077] Specifically, the infrared switch detection circuit, i.e., the multi-dimensional magnetic switch, notifies the MCU (i.e., the processor) to turn on the infrared interface circuit when an external infrared transceiver device with a magnetic ring approaches, and the infrared interface circuit starts to send and receive data.

[0078] In the above embodiment, the operation and maintenance of the gas meter do not need to wait for the grid connection, which greatly improves the work efficiency.

[0079] Optionally, as an embodiment of the present invention, Fig. 9 As shown, the communication circuit includes the MA510 chip U72A, the second capacitor C82, the third capacitor C83, the fourth capacitor C77, the fifth capacitor C76, the sixth capacitor C75, the seventh capacitor C74, the eighth capacitor C73, the ninth capacitor C78, ​​the tenth capacitor C79, the eleventh capacitor C80, the twelfth capacitor C94, the thirteenth capacitor C93, the fourteenth capacitor C92, the fifteenth capacitor C90, the sixteenth capacitor C91, the fifth resistor R80, the sixth resistor R81, the seventh resistor R83, the eighth resistor R83, the ninth resistor R85, and the tenth resistor R8 4. an eleventh resistor R93, a twelfth resistor R90, a thirteenth resistor R92, a fourteenth resistor R91, a fifteenth resistor R86, a sixteenth resistor R87, a seventeenth resistor R88, a first inductor L70, an antenna SMA0, a fourth transistor Q73, a fifth transistor Q74, a sixth transistor Q75, a seventh transistor Q76, a light emitting diode LED1, a first transient voltage suppression diode RV8, a second transient voltage suppression diode RV7, a third transient voltage suppression diode RV6, a fourth transient voltage suppression diode RV5 and a SIM card U73,

[0080] The first GND pin of the MA510 chip U72A, the second GND pin of the MA510 chip U72A, the third GND pin of the MA510 chip U72A, the fourth GND pin of the MA510 chip U72A, the fifth GND pin of the MA510 chip U72A and the sixth GND pin of the MA510 chip U72A are all grounded, the MAINA_ANT pin of the MA510 chip U72A is respectively connected to one end of the second capacitor C82 and one end of the first inductor L70, the other end of the second capacitor C82 is grounded, the other end of the first inductor L70 is respectively connected to one end of the third capacitor C83 and the antenna SMA0, the other end of the third capacitor C83 is grounded, the first VBAT pin of the MA510 chip U72A is respectively connected to the second VBAT pin of the MA510 chip U72A, one end of the fourth capacitor C77, one end of the fifth capacitor C76 , one end of the sixth capacitor C75, one end of the seventh capacitor C74 and one end of the eighth capacitor C73 are connected, the other end of the fourth capacitor C77, the other end of the fifth capacitor C76, the other end of the sixth capacitor C75, the other end of the seventh capacitor C74 and the other end of the eighth capacitor C73 are all grounded, the VDD pin of the MA510 chip U72A is connected to the power supply VDD, the POWER_ON pin of the MA510 chip U72A is respectively connected to one end of the ninth capacitor C78 and the collector of the fourth transistor Q73, the other end of the ninth capacitor C78 is grounded, the base of the fourth transistor Q73 is respectively connected to one end of the fifth resistor R80 and one end of the sixth resistor R81, the other end of the fifth resistor R80 is connected to the processor, the other end of the sixth resistor R81 and the emitter of the fourth transistor Q73 are both grounded, the UART of the MA510 chip U72A The I_RXD pin is connected to one end of the seventh resistor R83 and the collector of the fifth transistor Q74 respectively, the other end of the seventh resistor R83 is connected to the power supply VDD, the base of the fifth transistor Q74 is connected to one end of the eighth resistor R83 and one end of the tenth capacitor C79 respectively, the other end of the eighth resistor R83 and the other end of the tenth capacitor C79 are both connected to the power supply VDD, the emitter of the fifth transistor Q74 is connected to the processor, the UART I_TXD pin of the MA510 chip U72A is connected to the emitter of the sixth transistor Q75, the base of the sixth transistor Q75 is connected to one end of the eleventh capacitor C80 and one end of the ninth resistor R85 respectively, the other end of the eleventh capacitor C80 and the other end of the ninth resistor R85 are connected to the power supply VDD,The collector of the sixth transistor Q75 is respectively connected to the processor and one end of the tenth resistor R84, the other end of the tenth resistor R84 is connected to the power supply VDD, the SIM_S IO pin of the MA510 chip U72A is connected to one end of the eleventh resistor R93, the other end of the eleventh resistor R93 is respectively connected to one end of the twelfth resistor R90, one end of the twelfth capacitor C94, one end of the first transient voltage suppression diode RV8 and the I / O pin of the SIM card U73, the SIM_SCLK pin of the MA510 chip U72A is connected to one end of the thirteenth resistor R92, the other end of the thirteenth resistor R92 is respectively connected to one end of the thirteenth capacitor C93, one end of the second transient voltage suppression diode RV7 and the CLK pin of the SIM card U73 The SIM_SRST pin of the MA510 chip U72A is connected to one end of the fourteenth resistor R91, and the other end of the fourteenth resistor R91 is respectively connected to one end of the fourteenth capacitor C92, one end of the third transient voltage suppression diode RV6 and the RST pin of the SIM card U73, and the VSIM pin of the MA510 chip U72A is respectively connected to the other end of the twelfth resistor R90, one end of the fifteenth capacitor C90, one end of the sixteenth capacitor C91, one end of the fourth transient voltage suppression diode RV5 and the VC of the SIM card U73 C pin is connected, the other end of the twelfth capacitor C94, the other end of the first transient voltage suppression diode RV8, the other end of the thirteenth capacitor C93, the other end of the second transient voltage suppression diode RV7, the other end of the fourteenth capacitor C92, the other end of the third transient voltage suppression diode RV6, the other end of the fifteenth capacitor C90, the other end of the sixteenth capacitor C91, the other end of the fourth transient voltage suppression diode RV5 and the GND pin of the SIM card U73 are all grounded, the seventh GND pin and the eighth GND pin of the MA510 chip U72A are grounded. The pins are all grounded, the LPG pin of the MA510 chip U72A is connected to one end of the fifteenth resistor R86, the other end of the fifteenth resistor R86 is respectively connected to one end of the sixteenth resistor R87 and the base of the seventh transistor Q76, the other end of the sixteenth resistor R87 and the emitter of the seventh transistor Q76 are both grounded, the collector of the seventh transistor Q76 is connected to one end of the seventeenth resistor R88, the other end of the seventeenth resistor R88 is connected to the cathode of the light-emitting diode LED1, and the anode of the light-emitting diode LED1 is connected to the power supply VCC_Modu. ,

[0081] It should be understood that the communication circuit sends and receives instruction data via a wireless network and is controlled by the MCU (ie, processor).

[0082] In the above embodiment, command data can be sent and received, which greatly improves work efficiency, facilitates the maintenance of the gas meter, and improves the speed of gas meter maintenance.

[0083] Optionally, as an embodiment of the present invention, Fig.10 As shown, the processor includes a HC32L I 76M chip U1, a seventeenth capacitor C3, an eighteenth capacitor C4, a nineteenth capacitor C5, a twentieth capacitor C6, a twenty-first capacitor C1, a twenty-second capacitor C2, an eighteenth resistor R5, a first interface J4 and a second interface J3,

[0084] The PE02 pin of the HC32L I 76M chip U1 is connected to the touch key circuit, the VCAP pin of the HC32L I 76M chip U1 is respectively connected to one end of the seventeenth capacitor C3 and one end of the eighteenth capacitor C4, the other end of the seventeenth capacitor C3 and the other end of the eighteenth capacitor C4 are grounded, the SEG26 / PC01 pin of the HC32L I 76M chip U1 is connected to the first pin of the first interface J4, the SEG25 / PC02 pin of the HC32L I 76M chip U1 is connected to the second pin of the first interface J4, the SEG24 / PC03 pin of the HC32L I 76M chip U1 is connected to the third pin of the first interface J4, the AVSS pin of the HC32L I 76M chip U1, one end of the nineteenth capacitor C5 and one end of the twentieth capacitor C6 are all grounded, and the HC32L I The AVCC pin of the HC32L I 76M chip U1, the other end of the nineteenth capacitor C5 and the other end of the twentieth capacitor C6 are all connected to the power supply VDD, the SEG20 / PA03 pin of the HC32L I 76M chip U1, the PF04 pin of the HC32L I 76M chip U1, the PF05 pin of the HC32L I 76M chip U1 and the SEG19 / PA04 pin of the HC32L I 76M chip U1 are all connected to the infrared control circuit, the SEG13 / PB01 pin of the HC32L I 76M chip U1 is connected to the alarm interface circuit, the SEG11 / PB02 pin of the HC32L I 76M chip U1, the PE11 pin of the HC32L I 76M chip U1 and the SEG51 / PE12 pin of the HC32L I 76M chip U1 are all connected to the valve control circuit, and the HC32L I The SEG50 / PE13 pin of the HC32L I 76M chip U1 and the SEG49 / PE14 pin of the HC32L I 76M chip U1 are both connected to the temperature measurement circuit, the SEG10 / PB10 pin of the HC32L I 76M chip U1 and the SEG9 / PB11 pin of the HC32L I 76M chip U1 are both connected to the pulse sampling circuit, the first DVSS pin of the HC32L I 76M chip U1 and one end of the twenty-first capacitor C1 are both grounded, the first DVCC pin of the HC32L I 76M chip U1 and the other end of the twenty-first capacitor C1 are both connected to the power supply VDD,The PB12 / SEG8 pin of the HC32L I 76M chip U1, the PB13 / SEG7 pin of the HC32L I 76M chip U1, the PB14 / SEG6 pin of the HC32L I 76M chip U1, the PB15 / SEG5 pin of the HC32L I 76M chip U1, the PD08 / SEG47 pin of the HC32L I 76M chip U1, the PD09 / SEG46 pin of the HC32L I 76M chip U1, the PD10 / SEG45 pin of the HC32L I 76M chip U1, the PD11 / SEG44 pin of the HC32L I 76M chip U1, the PC06 / SEG4 pin of the HC32L I 76M chip U1, the PC07 / SEG3 pin of the HC32L I the PC08 / SEG2 pin of the HC32L I 76M chip U1, the PC09 / SEG1 pin of the HC32L I 76M chip U1, the PA08 / SEG0 pin of the HC32L I 76M chip U1, the PA09 / COM0 pin of the HC32L I 76M chip U1, the PA10 / COM1 pin of the HC32L I 76M chip U1, the PA11 / COM2 pin of the HC32L I 76M chip U1, the PA12 / COM3 pin of the HC32L I 76M chip U1, the PC10 / COM4 / SEG39 pin of the HC32L I 76M chip U1, the PC11 / COM5 / SEG38 pin of the HC32L I 76M chip U1, the PC12 / COM6 / SEG37 pin of the HC32L I The PD02 / COM7 / SEG36 pin of the HC32L I 76M chip U1, the PB03 / SEG35 / VLCDH pin of the HC32L I 76M chip U1, the PB04 / SEG34 / VLCD3 pin of the HC32L I 76M chip U1, the PB03 / SEG33 / VLCD2 pin of the HC32L I 76M chip U1, and the PB02 / SEG32 / VLCD1 pin of the HC32L I 76M chip U1 are all connected to the display screen, the PA13 / SWD IO pin of the HC32L I 76M chip U1 is connected to the first pin of the second interface J3, the PA14 / SWCLK pin of the HC32L I 76M chip U1 is connected to the second pin of the second interface J3,The PB07 / SEG31 pin of the HC32L I 76M chip U1, the PB08 / SEG29 pin of the HC32L I 76M chip U1, and the PB09 / SEG28 pin of the HC32L I 76M chip U1 are all connected to the communication circuit, the BOOT0 pin of the HC32L I 76M chip U1 is respectively connected to the third pin of the second interface J3 and one end of the eighteenth resistor R5, the other end of the eighteenth resistor R5 is grounded, the second DVSS pin of the HC32L I 76M chip U1 and one end of the twenty-second capacitor C2 are both grounded, and the second DVCC pin of the HC32L I 76M chip U1 and the other end of the twenty-second capacitor C2 are both connected to the power supply VDD.

[0085] It should be understood that the processor is responsible for processing the data sent back by each functional circuit and controlling it.

[0086] In the above embodiment, the gas meter can be operated and maintained without waiting for the network, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and improves the speed of gas meter maintenance.

[0087] Optionally, as an embodiment of the present invention, Fig.11 As shown, the valve control circuit includes a third interface J8, a nineteenth resistor R40, a twentieth resistor R39, a twenty-third capacitor C41, a twenty-fourth capacitor C35 and an AT9110A chip U10.

[0088] The IA pin of the AT9110A chip U10 and the IB pin of the AT9110A chip U10 are respectively connected to the processor, the first GND pin of the AT9110A chip U10 is respectively connected to the second GND pin of the AT9110A chip U10, one end of the nineteenth resistor R40 and one end of the twentieth resistor R39, the other end of the nineteenth resistor R40 is respectively connected to the processor and one end of the twenty-third capacitor C41, the other end of the twenty-third capacitor C41 and the other end of the twentieth resistor R39 are grounded, and the AT9110A chip U10 is respectively connected to the second GND pin of the AT9110A chip U10, one end of the nineteenth resistor R40 and one end of the twentieth resistor R39, the other end of the nineteenth resistor R40 is respectively connected to the processor and one end of the twenty-third capacitor C41, the other end of the twenty-third capacitor C41 and the other end of the twentieth resistor R39 are grounded, The first VCC pin of the AT9110A chip U10 and the second VCC pin of the AT9110A chip U10 are both connected to the power supply VCC, the OB pin of the AT9110A chip U10 is respectively connected to one end of the twenty-fourth capacitor C35 and the first pin of the third interface J8, the other end of the twenty-fourth capacitor C35 is respectively connected to the OA pin of the AT9110A chip U10 and the second pin of the third interface J8, the third pin of the third interface J8 is grounded, and the fourth pin of the third interface J8 and the fifth pin of the third interface J8 are both connected to the processor.

[0089] It should be understood that the valve control circuit controls the valve of the gas meter according to the data transmitted by the MCU (ie, the processor).

[0090] In the above embodiment, the control of the gas meter valve is realized, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and improves the speed of gas meter maintenance.

[0091] Optionally, as an embodiment of the present invention, Fig.12 As shown, the infrared gas meter also includes a low power reset detection circuit for controlling the processor to be in a stopped state when it is detected that the processor is in a low voltage, and controlling the processor to reset when the processor is in a high voltage. The low power reset detection circuit includes an X61CN2202 chip U5, a twenty-fifth capacitor C9, and a twenty-first resistor R1.

[0092] The Vout pin of the X61 CN2202 chip U5 is respectively connected to the processor, one end of the 25th capacitor C9 and one end of the 21st resistor R1, the other end of the 25th capacitor C9 is grounded, the other end of the 21st resistor R1 is connected to the power supply VDD, the GND pin of the X61 CN2202 chip U5 is grounded, and the Vin pin of the X61 CN2202 chip U5 is connected to the power supply VDD.

[0093] It should be understood that when the low-power reset detection circuit detects that the MCU (ie, processor) is low voltage, the controller does not run to ensure data reliability, and when the voltage is pulled high, the MCU (ie, processor) is reset and the controller starts working.

[0094] In the above embodiment, the reliability of data is guaranteed and the speed of gas meter maintenance is improved.

[0095] Optionally, as an embodiment of the present invention, Fig.13 and 14 As shown, the infrared gas meter also includes a power supply circuit, which includes a power supply circuit and a communication power supply circuit.

[0096] The power supply circuit includes a fourth interface J1, a second diode D1, an MD5350 chip U0, an MD5333 chip U2, a twenty-sixth capacitor C0, a twenty-seventh capacitor C18, a twenty-eighth capacitor C19 and a twenty-ninth capacitor C20.

[0097] The first pin of the fourth interface J1 and the positive electrode of the second diode D1 are connected to the power supply VBAT, the negative electrode of the second diode D1 is connected to the VIN pin of the MD5350 chip U0, the GND pin of the MD5350 chip U0, the second pin of the fourth interface J1, one end of the 26th capacitor C0, one end of the 27th capacitor C18, the GND pin of the MD5333 chip U2, one end of the 28th capacitor C19 and one end of the 29th capacitor C20 are all grounded, the OUT pin of the MD5350 chip U0, the other end of the 26th capacitor C0, the other end of the 27th capacitor C18 and the VIN pin of the MD5333 chip U2 are all connected to the power supply VCC, and the OUT pin of the MD5333 chip U2, the other end of the 28th capacitor C19 and the other end of the 29th capacitor C20 are all connected to the power supply VDD;

[0098] The communication power supply circuit includes a twenty-second resistor R70, a twenty-third resistor R71, a twenty-fourth resistor R72, a thirtieth capacitor C70, a thirty-first capacitor C71, a thirty-second capacitor C72, a third diode D70, a MOS tube Q72, an eighth transistor Q70, a first MD5340 chip U70 and a second MD5340 chip U71.

[0099] One end of the twenty-second resistor R70 is connected to the processor, the other end of the twenty-second resistor R70 is connected to the base of the eighth transistor Q70, the emitter of the eighth transistor Q70 is grounded, the collector of the eighth transistor Q70 is connected to one end of the twenty-third resistor R71, the other end of the twenty-third resistor R71 is respectively connected to one end of the twenty-fourth resistor R72 and the gate of the MOS transistor Q72, the other end of the twenty-fourth resistor R72 is respectively connected to the cathode of the third diode D70 and the source of the MOS transistor Q72, the anode of the third diode D70 is connected to the power supply VBAT, and the drain of the MOS transistor Q72 is respectively connected to one end of the thirtieth capacitor C70, one end of the thirty-first capacitor C71, the VIN pin of the first MD5340 chip U70, and the VIN pin of the second MD5340 chip U71 N pin is connected, the other end of the 30th capacitor C70, the other end of the 31st capacitor C71, the GND pin of the second MD5340 chip U71 and one end of the 32nd capacitor C72 are grounded, the GND pin of the first MD5340 chip U70 is grounded, the OUT pin of the first MD5340 chip U70, the OUT pin of the second MD5340 chip U71 and the other end of the 32nd capacitor C72 are all connected to the power supply VCC_Modu.

[0100] It should be understood that the power supply circuit is used to ensure stable power supply for the entire module; the communication power supply circuit is used to provide stable power supply for the communication module (cat1, NB-I oT) (ie, communication circuit).

[0101] In the above embodiment, electricity is provided to the gas meter.

[0102] Optionally, as an embodiment of the present invention, Fig.15 As shown, the infrared gas meter also includes a low voltage detection circuit for detecting the power supply circuit, and the low voltage detection circuit includes a twenty-fifth resistor R20, a twenty-sixth resistor R19, a twenty-seventh resistor R17, a twenty-eighth resistor R18, a ninth transistor Q2, and a tenth transistor Q1.

[0103] One end of the twenty-fifth resistor R20 is connected to the processor, the other end of the twenty-fifth resistor R20 is connected to the base of the ninth transistor Q2, the emitter of the ninth transistor Q2 is grounded, the collector of the ninth transistor Q2 is connected to one end of the twenty-sixth resistor R19, the other end of the twenty-sixth resistor R19 is connected to the base of the tenth transistor Q1, the emitter of the tenth transistor Q1 is connected to the power supply VBAT, the collector of the tenth transistor Q1 is connected to one end of the twenty-seventh resistor R17, the other end of the twenty-seventh resistor R17 is respectively connected to one end of the twenty-eighth resistor R18 and the processor, and the other end of the twenty-eighth resistor R18 is grounded.

[0104] It should be understood that the low voltage detection circuit is used to detect the voltage of the main power supply (ie, the power supply circuit), and the data is transmitted to the MCU (ie, the processor), and the MCU (ie, the processor) displays the corresponding voltage level on the display screen.

[0105] In the above embodiment, the voltage of the power supply is detected to better protect the power supply.

[0106] Optionally, as an embodiment of the present invention, Fig.16 As shown, the infrared gas meter also includes a memory, and the memory includes a 24LC64 chip U11 and a thirty-third capacitor C24.

[0107] The E0 pin of the 24LC64 chip U11, the E1 pin of the 24LC64 chip U11, the E2 pin of the 24LC64 chip U11, the GND pin of the 24LC64 chip U11 and the WC pin of the 24LC64 chip U11 are all grounded, the VCC pin of the 24LC64 chip U11 and one end of the thirty-third capacitor C24 are all connected to the power supply VDD, the other end of the thirty-third capacitor C24 is grounded, and the SCL pin of the 24LC64 chip U11 and the SDA pin of the 24LC64 chip U11 are all connected to the processor.

[0108] Preferably, the memory may be an EEPROM.

[0109] In the above embodiment, the data is stored.

[0110] Optionally, as an embodiment of the present invention, Fig.17 As shown, the infrared gas meter also includes a buzzer output circuit, and the buzzer output circuit includes a buzzer BUZZ1, a twenty-ninth resistor R2, and an eleventh transistor Q3.

[0111] One end of the twenty-ninth resistor R2 is connected to the processor, the other end of the twenty-ninth resistor R2 is connected to the base of the eleventh transistor Q3, the emitter of the eleventh transistor Q3 is grounded, the collector of the eleventh transistor Q3 is connected to one end of the buzzer BUZZ1, and the other end of the buzzer BUZZ1 is connected to the power supply VCC.

[0112] It should be understood that the buzzer output circuit provides feedback on key operations and instruction executions.

[0113] In the above embodiment, the operation of the gas meter can be understood more intuitively.

[0114] Optionally, as an embodiment of the present invention, the present invention updates the controller program and innovatively adds an infrared transceiver function. The addition of the infrared function allows production and maintenance to be done without waiting for network access, and instructions can be sent and received at any time by turning on the infrared, greatly improving work efficiency.

[0115] Optionally, as an embodiment of the present invention, in the present invention, the MCU is responsible for processing the data returned by each functional circuit and controlling it, and other functional circuits are described as follows:

[0116] Power supply circuit: ensure stable power supply for the entire module;

[0117] Communication power supply circuit: provides stable power supply for communication modules (cat1, NB-IoT);

[0118] Communication module circuit: sends and receives command data through wireless network, controlled by MCU;

[0119] Display screen: Displays gas meter information, including gas consumption, remaining amount, status code, connection code, connection channel, power information, and billing mode, controlled by MCU;

[0120] Infrared switch detection circuit: multi-dimensional magnetic switch, with a magnetic ring. When an external infrared transceiver device approaches, it notifies the MCU to turn on the infrared interface circuit, and the infrared interface circuit starts to send and receive data;

[0121] Infrared interface circuit: sends and receives data via infrared, controlled by MCU;

[0122] Valve control circuit: controls the gas meter valve according to the data transmitted by MCU;

[0123] Alarm interface circuit: combustible gas alarm interface. When the alarm sounds, the data is transmitted to the MCU. After receiving the data, the MCU controls the valve circuit to close the valve to ensure safety.

[0124] Pulse sampling circuit: The mechanical wheel of the gas meter rotates to stimulate the pulse sampling circuit. The pulse circuit transmits the pulse information to the MCU, which uses an algorithm to determine whether it is a valid pulse or an abnormal pulse. If it is a normal pulse, the fee will be deducted. If it is an abnormal pulse, the corresponding error message will be displayed on the LCD screen and the valve will be closed;

[0125] Low voltage detection circuit: detects the voltage of the main power supply, transmits the data to the MCU, and the MCU displays the corresponding voltage level on the display.

[0126] MCU low-power reset circuit: When the MCU low voltage is detected, the controller does not run to ensure data reliability. When the voltage is pulled high, the MCU is reset and the controller starts working.

[0127] Touch button circuit: short press turns the page of the gas meter LCD screen information, and long press triggers wireless communication;

[0128] Temperature measurement circuit: collects the ambient temperature data of the gas meter and transmits it to the MCU, which will perform temperature compensation calculation based on the temperature of the temperature sensor;

[0129] Buzzer output circuit: provides feedback on key operation and command execution.

[0130] The method of using the present invention is to receive and send infrared data when an external infrared transceiver device approaches, and obtain ambient temperature data from an external temperature sensor. At the same time, pulse information is obtained from the mechanical wheel of the gas meter and alarm data is obtained from an external alarm. Then, data analysis is performed on the infrared data, ambient temperature data, pulse information and alarm data, and the opening and closing of the gas meter valve is controlled according to the results of the data analysis, and the display screen is controlled by the processor.

[0131] The advantage of the present invention is that the gas meter can be operated and maintained without waiting for the grid connection, which greatly improves the work efficiency, facilitates the maintenance of the gas meter, and improves the speed of gas meter maintenance.

[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An infrared gas meter, characterized in that: The invention comprises an infrared control circuit for receiving and transmitting infrared data when an external infrared transceiver device approaches, a temperature measurement circuit for obtaining ambient temperature data from an external temperature sensor, a communication circuit, a pulse sampling circuit for obtaining pulse information from a mechanical wheel of a gas meter, an alarm interface circuit for obtaining alarm data from an external alarm, a processor for analyzing infrared data, ambient temperature data, pulse information and alarm data, a valve control circuit for controlling the opening and closing of a gas meter valve according to the result of data analysis, a display screen and a touch button circuit for controlling the display screen through the processor. The processor is respectively connected to the infrared control circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the display screen and the touch button circuit, and the processor is also connected to the temperature measurement circuit and the valve control circuit.

2. An infrared gas meter according to claim 1, characterized in that: The infrared control circuit includes an infrared interface circuit and an infrared switch detection circuit for controlling the infrared interface circuit to send and receive infrared data when an external infrared transceiver device approaches. The infrared interface circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first transistor, a second transistor, a third transistor, a first diode and a first capacitor. One end of the first resistor is connected to the processor, the other end of the first resistor is connected to the base of the first transistor, the emitter of the first transistor is connected to a power supply VDD, the collector of the first transistor is respectively connected to one end of the first capacitor, the positive electrode of the first diode, the emitter of the second transistor and one end of the third resistor, the other end of the first capacitor is grounded, the negative electrode of the first diode is connected to one end of the second resistor, the other end of the second resistor is connected to the processor, the other end of the third resistor is respectively connected to the processor and the collector of the third transistor, the emitter of the third transistor is respectively grounded to one end of the fourth resistor, and the base of the third transistor is respectively connected to the collector of the second transistor and the other end of the fourth resistor; The infrared switch detection circuit includes a TMR1305 chip and a second capacitor, the VCC pin of the TMR1305 chip is respectively connected to one end of the second capacitor and a power supply VDD, the other end of the second capacitor is grounded to the GND pin of the TMR1305 chip, and the Vout pin of the TMR1305 chip is connected to the processor.

3. An infrared gas meter according to claim 1, characterized in that: The communication circuit includes an MA510 chip, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a ninth capacitor, a tenth capacitor, an eleventh capacitor, a twelfth capacitor, a thirteenth capacitor, a fourteenth capacitor, a fifteenth capacitor, a sixteenth capacitor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, a first inductor, an antenna, a fourth transistor, a fifth transistor, a sixth transistor, a seventh transistor, a light emitting diode, a first transient voltage suppression diode, a second transient voltage suppression diode, a third transient voltage suppression diode, a fourth transient voltage suppression diode and a SIM card. The first GND pin of the MA510 chip, the second GND pin of the MA510 chip, the third GND pin of the MA510 chip, the fourth GND pin of the MA510 chip, the fifth GND pin of the MA510 chip and the sixth GND pin of the MA510 chip are all grounded. The NA_ANT pin is respectively connected to one end of the second capacitor and one end of the first inductor, the other end of the second capacitor is grounded, the other end of the first inductor is respectively connected to one end of the third capacitor and the antenna, the other end of the third capacitor is grounded, the first VBAT pin of the MA510 chip is respectively connected to the second VBAT pin of the MA510 chip, one end of the fourth capacitor, one end of the fifth capacitor, one end of the sixth capacitor, one end of the seventh capacitor and one end of the eighth capacitor, the other end of the fourth capacitor, the other end of the fifth capacitor, the other end of the sixth capacitor, the other end of the seventh capacitor and the other end of the eighth capacitor are all grounded, the VDD pin of the MA510 chip is connected to the power supply VDD, the POWER_ON pin of the MA510 chip is respectively connected to one end of the ninth capacitor and the collector of the fourth transistor, the other end of the ninth capacitor is grounded, the base of the fourth transistor is respectively connected to one end of the fifth resistor and one end of the sixth resistor, the other end of the fifth resistor is connected to the processor, the other end of the sixth resistor and the emitter of the fourth transistor are all grounded, the UART of the MA510 chip The I_RXD pin is respectively connected to one end of the seventh resistor and the collector of the fifth transistor, the other end of the seventh resistor is connected to the power supply VDD, the base of the fifth transistor is respectively connected to one end of the eighth resistor and one end of the tenth capacitor, the other end of the eighth resistor and the other end of the tenth capacitor are both connected to the power supply VDD, the emitter of the fifth transistor is connected to the processor, the UARTI_TXD pin of the MA510 chip is connected to the emitter of the sixth transistor, the base of the sixth transistor is respectively connected to one end of the eleventh capacitor and one end of the ninth resistor, the other end of the eleventh capacitor and the other end of the ninth resistor are connected to the power supply VDD, the collector of the sixth transistor is respectively connected to the processor and one end of the tenth resistor, the other end of the tenth resistor is connected to the power supply VDD, and the SIM_S pin of the MA510 chip is connected to the emitter of the sixth transistor. The IO pin is connected to one end of the eleventh resistor, the other end of the eleventh resistor is respectively connected to one end of the twelfth resistor, one end of the twelfth capacitor, one end of the first transient voltage suppression diode and the I / O pin of the SIM card, the SIM_SCLK pin of the MA510 chip is connected to one end of the thirteenth resistor,The other end of the thirteenth resistor is respectively connected to one end of the thirteenth capacitor, one end of the second transient voltage suppression diode and the CLK pin of the SIM card, the SIM_SRST pin of the MA510 chip is connected to one end of the fourteenth resistor, the other end of the fourteenth resistor is respectively connected to one end of the fourteenth capacitor, one end of the third transient voltage suppression diode and the RST pin of the SIM card, the VSIM pin of the MA510 chip is respectively connected to the other end of the twelfth resistor, one end of the fifteenth capacitor, one end of the sixteenth capacitor, one end of the fourth transient voltage suppression diode and the VCC pin of the SIM card, the other end of the twelfth capacitor, the other end of the first transient voltage suppression diode, the other end of the thirteenth capacitor, the second transient voltage suppression diode and the VCC pin of the SIM card. The other end, the other end of the fourteenth capacitor, the other end of the third transient voltage suppression diode, the other end of the fifteenth capacitor, the other end of the sixteenth capacitor, the other end of the fourth transient voltage suppression diode and the GND pin of the SIM card are all grounded, the seventh GND pin and the eighth GND pin of the MA510 chip are all grounded, the LPG pin of the MA510 chip is connected to one end of the fifteenth resistor, the other end of the fifteenth resistor is respectively connected to one end of the sixteenth resistor and the base of the seventh transistor, the other end of the sixteenth resistor and the emitter of the seventh transistor are both grounded, the collector of the seventh transistor is connected to one end of the seventeenth resistor, the other end of the seventeenth resistor is connected to the cathode of the light emitting diode, and the anode of the light emitting diode is connected to the power supply VCC_Modu. , 4. An infrared gas meter according to claim 1, characterized in that: The processor includes a HC32LI 76M chip, a seventeenth capacitor, an eighteenth capacitor, a nineteenth capacitor, a twentieth capacitor, a twenty-first capacitor, a twenty-second capacitor, an eighteenth resistor, a first interface, and a second interface. The PE02 pin of the HC32LI 76M chip is connected to the touch key circuit, the VCAP pin of the HC32LI 76M chip is respectively connected to one end of the seventeenth capacitor and one end of the eighteenth capacitor, the other end of the seventeenth capacitor and the other end of the eighteenth capacitor are grounded, the SEG26 / PC01 pin of the HC32LI 76M chip is connected to the first pin of the first interface, the SEG25 / PC02 pin of the HC32LI 76M chip is connected to the second pin of the first interface, the SEG24 / PC03 pin of the HC32LI 76M chip is connected to the third pin of the first interface, the AVSS pin of the HC32LI 76M chip, one end of the nineteenth capacitor and one end of the twentieth capacitor are all grounded, the AVCC pin of the HC32LI 76M chip, the other end of the nineteenth capacitor and the other end of the twentieth capacitor are all connected to the power supply VDD, the SEG20 / PA03 pin of the HC32LI 76M chip, the SEG25 / PC02 pin of the HC32LI 76M chip are connected to the second pin of the first interface, the SEG24 / PC03 pin of the HC32LI 76M chip is connected to the third pin of the first interface, the AVSS pin of the HC32LI 76M chip, one end of the nineteenth capacitor and one end of the twentieth capacitor are all grounded, the AVCC pin of the HC32LI 76M chip, the other end of the nineteenth capacitor and the other end of the twentieth capacitor are all connected to the power supply VDD, The PF04 pin of the HC32LI 76M chip, the PF05 pin of the HC32LI 76M chip and the SEG19 / PA04 pin of the HC32LI 76M chip are all connected to the infrared control circuit, the SEG13 / PB01 pin of the HC32LI 76M chip is connected to the alarm interface circuit, the SEG11 / PB02 pin of the HC32LI 76M chip, the PE11 pin of the HC32LI 76M chip and the SEG51 / PE12 pin of the HC32LI 76M chip are all connected to the valve control circuit, the SEG50 / PE13 pin of the HC32LI 76M chip and the SEG49 / PE14 pin of the HC32LI 76M chip are all connected to the temperature measurement circuit, the SEG10 / PB10 pin of the HC32LI 76M chip and the HC32LI The SEG9 / PB11 pins of the 76M chip are connected to the pulse sampling circuit, the first DVSS pin of the HC32LI 76M chip and one end of the 21st capacitor are grounded, the first DVCC pin of the HC32LI 76M chip and the other end of the 21st capacitor are connected to the power supply VDD,The PB12 / SEG8 pin of the HC32LI 76M chip, the PB13 / SEG7 pin of the HC32LI 76M chip, the PB14 / SEG6 pin of the HC32LI 76M chip, the PB15 / SEG5 pin of the HC32LI 76M chip, the PD08 / SEG47 pin of the HC32LI 76M chip, the PD09 / SEG46 pin of the HC32LI 76M chip, the PD10 / SEG45 pin of the HC32LI76M chip, the PD11 / SEG44 pin of the HC32LI 76M chip, the PC06 / SEG4 pin of the HC32LI 76M chip, the PC07 / SEG3 pin of the HC32LI 76M chip, the PC08 / SEG2 pin of the HC32LI 76M chip, the The PC09 / SEG1 pin of the HC32LI 76M chip, the PA08 / SEG0 pin of the HC32LI 76M chip, the PA09 / COM0 pin of the HC32LI 76M chip, the PA10 / COM1 pin of the HC32LI 76M chip, the PA11 / COM2 pin of the HC32LI 76M chip, the PA12 / COM3 pin of the HC32LI 76M chip, the PC10 / COM4 / SEG39 pin of the HC32LI76M chip, the PC11 / COM5 / SEG38 pin of the HC32LI 76M chip, the PC12 / COM6 / SEG37 pin of the HC32LI 76M chip, the PD02 / COM7 / SEG36 pin of the HC32LI 76M chip, the PB03 / SEG35 / VLCDH pin of the HC32LI The PB04 / SEG34 / VLCD3 pin of the HC32LI 76M chip, the PB03 / SEG33 / VLCD2 pin of the HC32LI 76M chip, and the PB02 / SEG32 / VLCD1 pin of the HC32LI 76M chip are all connected to the display screen, the PA13 / SWDIO pin of the HC32LI 76M chip is connected to the first pin of the second interface, the PA14 / SWCLK pin of the HC32LI 76M chip is connected to the second pin of the second interface, the PB07 / SEG31 pin of the HC32LI 76M chip, the PB08 / SEG29 pin of the HC32LI 76M chip, and the PB09 / SEG28 pin of the HC32LI 76M chip are all connected to the communication circuit, the BOOT0 pin of the HC32LI 76M chip is respectively connected to the third pin of the second interface and one end of the eighteenth resistor, and the other end of the eighteenth resistor is grounded.The second DVSS pin of the HC32LI 76M chip and one end of the 22nd capacitor are both grounded, and the second DVCC pin of the HC32LI 76M chip and the other end of the 22nd capacitor are both connected to the power supply VDD.

5. The infrared gas meter according to claim 1, characterized in that: The valve control circuit includes a third interface, a nineteenth resistor, a twentieth resistor, a twenty-third capacitor, a twenty-fourth capacitor and an AT9110A chip. The IA pin of the AT9110A chip and the IB pin of the AT9110A chip are respectively connected to the processor, the first GND pin of the AT9110A chip is respectively connected to the second GND pin of the AT9110A chip, one end of the nineteenth resistor and one end of the twentieth resistor, the other end of the nineteenth resistor is respectively connected to the processor and one end of the twenty-third capacitor, the other end of the twenty-third capacitor and the other end of the twentieth resistor are grounded, the first VCC pin of the AT9110A chip and the second VCC pin of the AT9110A chip are both connected to the power supply VCC, the OB pin of the AT9110A chip is respectively connected to one end of the twenty-fourth capacitor and the first pin of the third interface, the other end of the twenty-fourth capacitor is respectively connected to the OA pin of the AT9110A chip and the second pin of the third interface, the third pin of the third interface is grounded, and the fourth pin of the third interface and the fifth pin of the third interface are both connected to the processor.

6. An infrared gas meter according to claim 1, characterized in that: The infrared gas meter also includes a low power reset detection circuit for controlling the processor to be in a stopped state when it is detected that the processor is in a low voltage, and controlling the processor to reset when the processor is in a high voltage, wherein the low power reset detection circuit includes an X61CN2202 chip, a twenty-fifth capacitor, and a twenty-first resistor. The Vout pin of the X61 CN2202 chip is respectively connected to the processor, one end of the 25th capacitor and one end of the 21st resistor, the other end of the 25th capacitor is grounded, the other end of the 21st resistor is connected to the power supply VDD, the GND pin of the X61 CN2202 chip is grounded, and the Vin pin of the X61 CN2202 chip is connected to the power supply VDD.

7. An infrared gas meter according to claim 6, characterized in that: The infrared gas meter also includes a power supply circuit, which includes a power supply circuit and a communication power supply circuit. The power supply circuit includes a fourth interface, a second diode, an MD5350 chip, an MD5333 chip, a twenty-sixth capacitor, a twenty-seventh capacitor, a twenty-eighth capacitor and a twenty-ninth capacitor. The first pin of the fourth interface and the positive electrode of the second diode are both connected to the power supply VBAT, the negative electrode of the second diode is connected to the VIN pin of the MD5350 chip, the GND pin of the MD5350 chip, the second pin of the fourth interface, one end of the 26th capacitor, one end of the 27th capacitor, the GND pin of the MD5333 chip, one end of the 28th capacitor and one end of the 29th capacitor are all grounded, the OUT pin of the MD5350 chip, the other end of the 26th capacitor, the other end of the 27th capacitor and the VIN pin of the MD5333 chip are all connected to the power supply VCC, and the OUT pin of the MD5333 chip, the other end of the 28th capacitor and the other end of the 29th capacitor are all connected to the power supply VDD; The communication power supply circuit includes a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor, a thirtieth capacitor, a thirty-first capacitor, a thirty-second capacitor, a third diode, a MOS tube, an eighth transistor, a first MD5340 chip and a second MD5340 chip. One end of the 22nd resistor is connected to the processor, the other end of the 22nd resistor is connected to the base of the eighth transistor, the emitter of the eighth transistor is grounded, the collector of the eighth transistor is connected to one end of the 23rd resistor, the other end of the 23rd resistor is respectively connected to one end of the 24th resistor and the gate of the MOS tube, the other end of the 24th resistor is respectively connected to the cathode of the third diode and the source of the MOS tube, the anode of the third diode is connected to the power supply VBAT, the drain of the MOS tube is respectively connected to one end of the 30th capacitor, one end of the 31st capacitor, the VIN pin of the first MD5340 chip and the VIN pin of the second MD5340 chip, the other end of the 30th capacitor, the other end of the 31st capacitor, the GND pin of the second MD5340 chip and one end of the 32nd capacitor are grounded, the GND pin of the first MD5340 chip is grounded, the OUT pin of the first MD5340 chip, the OUT pin of the second MD5340 chip and the other end of the 32nd capacitor are all connected to the power supply VCC_Modu.

8. An infrared gas meter according to claim 1, characterized in that: The infrared gas meter also includes a low voltage detection circuit for detecting the power supply circuit, wherein the low voltage detection circuit includes a twenty-fifth resistor, a twenty-sixth resistor, a twenty-seventh resistor, a twenty-eighth resistor, a ninth transistor, and a tenth transistor. One end of the 25th resistor is connected to the processor, the other end of the 25th resistor is connected to the base of the ninth transistor, the emitter of the ninth transistor is grounded, the collector of the ninth transistor is connected to one end of the 26th resistor, the other end of the 26th resistor is connected to the base of the tenth transistor, the emitter of the tenth transistor is connected to the power supply VBAT, the collector of the tenth transistor is connected to one end of the 27th resistor, the other end of the 27th resistor is respectively connected to one end of the 28th resistor and the processor, and the other end of the 28th resistor is grounded.

9. An infrared gas meter according to claim 1, characterized in that: The infrared gas meter also includes a memory, which includes a 24LC64 chip and a thirty-third capacitor. The E0 pin of the 24LC64 chip, the E1 pin of the 24LC64 chip, the E2 pin of the 24LC64 chip, the GND pin of the 24LC64 chip and the WC pin of the 24LC64 chip are all grounded, the VCC pin of the 24LC64 chip and one end of the thirty-third capacitor are all connected to the power supply VDD, the other end of the thirty-third capacitor is grounded, and the SCL pin of the 24LC64 chip and the SDA pin of the 24LC64 chip are both connected to the processor.

10. An infrared gas meter according to claim 9, characterized in that: The infrared gas meter further includes a buzzer output circuit, wherein the buzzer output circuit includes a buzzer, a twenty-ninth resistor and an eleventh transistor. One end of the 29th resistor is connected to the processor, the other end of the 29th resistor is connected to the base of the 11th transistor, the emitter of the 11th transistor is grounded, the collector of the 11th transistor is connected to one end of the buzzer, and the other end of the buzzer is connected to the power supply VCC.