Infrared gas meter
Infrared gas meters that integrate components such as infrared control circuits solve the problem of IoT gas meters being unable to stay online for extended periods, enabling efficient data transmission and control without waiting for online registration, thus improving the working and maintenance efficiency of gas meters.
Patent Information
- Application Number
- CN202520180746.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2035-02-05
AI Technical Summary
Existing IoT gas meters are limited by their communication methods and cannot remain online for extended periods, resulting in low work and maintenance efficiency.
The infrared gas meter integrates an infrared control circuit, a temperature measurement circuit, a communication circuit, a pulse sampling circuit, an alarm interface circuit, a processor, a valve control circuit, a display screen, and a touch button circuit, enabling data transmission and control without waiting for network access.
This greatly improves the working efficiency and maintenance speed of gas meters and simplifies the maintenance process.
Smart Images

Figure CN223808797U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model mainly relates to gas equipment technical field, concretely relates to an infrared gas meter. BACKGROUND
[0002] At present, the Internet of Things gas meter only has network (cat1, NB-IoT) communication channel, and the communication mode is directly affected by the operator network coverage. The gas meter needs to realize continuous work for more than 6 months after replacing the battery once, so it cannot stay online for a long time. Therefore, the controller of the existing gas meter is set to periodically initiate the instruction of network connection synchronization charging system. The gas meter needs a certain time from staying online to normally sending and receiving instructions, which has a great influence 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. INVENTION CONTENTS
[0003] The utility model solves the technical problem that the prior art is insufficient, provides an infrared gas meter, can solve the problems of high price and large size.
[0004] The technical scheme for solving the above technical problems of the utility model is as follows: an infrared gas meter, comprising an infrared control circuit for receiving and transmitting infrared data when an external infrared transceiver approaches, a temperature measurement circuit for obtaining environmental temperature data from an external temperature sensor, a communication circuit, a pulse sampling circuit for obtaining pulse information from a mechanical rotating wheel of the gas meter, an alarm interface circuit for obtaining alarm data from an external alarm, a processor for analyzing data of the infrared data, the environmental temperature data, the pulse information and the alarm data, a valve control circuit for controlling the opening and closing of the valve of the gas meter according to the result of data analysis, a display screen, and a touch button circuit for controlling the display screen through the processor,
[0005] 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 button circuit respectively, and the processor is also connected with the temperature measurement circuit and the valve control circuit.
[0006] The utility model has the advantages that through the infrared control circuit, the temperature measurement circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the processor, the valve control circuit, the display screen and the touch button circuit, the working and maintenance of the gas meter do not need to wait for staying online, the working efficiency is greatly improved, the maintenance of the gas meter is facilitated, and the maintenance speed of the gas meter is improved.
[0007] On the basis of the above technical scheme, the utility model can also be improved as follows.
[0008] Further, the infrared control circuit comprises 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 is close,
[0009] The infrared interface circuit comprises 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 with the processor, the other end of the first resistor is connected with the base of the first transistor, the emitter of the first transistor is connected with the power supply VDD, the collector of the first transistor is connected with one end of the first capacitor, the anode of the first diode, the emitter of the second transistor and one end of the third resistor respectively, the other end of the first capacitor is grounded, the cathode of the first diode is connected with one end of the second resistor, the other end of the second resistor is connected with the processor, the other end of the third resistor is connected with the processor and the collector of the third transistor respectively, the emitter of the third transistor is grounded and connected with one end of the fourth resistor respectively, the base of the third transistor is connected with the collector of the second transistor and the other end of the fourth resistor respectively;
[0011] The infrared switch detection circuit comprises a TMR1305 chip and a second capacitor, the VCC pin of the TMR1305 chip is connected with one end of the second capacitor and the power supply VDD respectively, the other end of the second capacitor is grounded through the GND pin of the TMR1305 chip, and the Vout pin of the TMR1305 chip is connected with the processor.
[0012] The above further scheme has the beneficial effect that the work and maintenance of the gas meter do not need to wait for network access, greatly improving the work efficiency.
[0013] Further, the communication circuit comprises 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 grounded, the MA I NA ANT pin of the MA510 chip is connected with one end of the second capacitor and one end of the first inductor respectively, the other end of the second capacitor is grounded, the other end of the first inductor is connected with one end of the third capacitor and the antenna respectively, the other end of the third capacitor is grounded, the first VBAT pin of the MA510 chip is connected with 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 respectively, 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 grounded, the VDD pin of the MA510 chip is connected with the power supply VDD, the POWER ON pin of the MA510 chip is connected with one end of the ninth capacitor and the collector of the fourth transistor respectively, the other end of the ninth capacitor is grounded, the base of the fourth transistor is connected with one end of the fifth resistor and one end of the sixth resistor respectively, the other end of the fifth resistor is connected with the processor, the other end of the sixth resistor and the emitter of the fourth transistor are grounded, the UART I RXD pin of the MA510 chip is connected with one end of the seventh resistor and the collector of the fifth transistor respectively, the other end of the seventh resistor is connected with the power supply VDD, the base of the fifth transistor is connected with one end of the eighth resistor and one end of the tenth capacitor respectively, the other end of the eighth resistor and the other end of the tenth capacitor are connected with the power supply VDD, the emitter of the fifth transistor is connected with the processor, the UART I TXD pin of the MA510 chip is connected with the emitter of the sixth transistor, the base of the sixth transistor is connected with one end of the eleventh capacitor and one end of the ninth resistor respectively, the other end of the eleventh capacitor and the other end of the ninth resistor are connected with the power supply VDD, the collector of the sixth transistor is connected with the processor and one end of the tenth resistor respectively, the other end of the tenth resistor is connected with the power supply VDD, the SIM S IO pin of the MA510 chip is connected with one end of the eleventh resistor, the other end of the eleventh resistor is connected with 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 respectively, the SIM SCLK pin of the MA510 chip is connected with one end of the thirteenth resistor,Anode of the first transient voltage suppression diode, and the GND pin of the SIM card are grounded, the seventh GND pin and the eighth GND pin of the MA510 chip are grounded, the LPG pin of the MA510 chip is connected with one end of the fifteenth resistor, the other end of the fifteenth resistor is connected with 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 grounded, the collector of the seventh transistor is connected with one end of the seventeenth resistor, the other end of the seventeenth resistor is connected with the negative electrode of the light emitting diode, the positive electrode of the light emitting diode is connected with the power supply VCC_Modu.
[0015] The beneficial effect of the further scheme is that the command data can be transmitted and received, the work efficiency is greatly improved, the maintenance of the gas meter is facilitated, and the maintenance speed of the gas meter is improved.
[0016] Further, the processor comprises an HC32L176M 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 HC32LI76M chip is connected with the touch key circuit, one end of the seventeenth capacitor and one end of the eighteenth capacitor are connected with the VCAP pin of the HC32LI76M chip, the other end of the seventeenth capacitor and the other end of the eighteenth capacitor are grounded, the SEG26 / PC01 pin of the HC32LI76M chip is connected with the first pin of the first interface, the SEG25 / PC02 pin of the HC32LI76M chip is connected with the second pin of the first interface, the SEG24 / PC03 pin of the HC32LI76M chip is connected with the third pin of the first interface, the AVSS pin, one end of the nineteenth capacitor and one end of the twentieth capacitor of the HC32LI76M chip are grounded, the AVCC pin, the other end of the nineteenth capacitor and the other end of the twentieth capacitor of the HC32LI76M chip are connected with the power supply VDD, the SEG20 / PA03 pin of the HC32LI76M chip, the PF04 pin of the HC32LI76M chip, the PF05 pin of the HC32LI76M chip and the SEG19 / PA04 pin of the HC32LI76M chip are connected with the infrared control circuit, the SEG13 / PB01 pin of the HC32LI76M chip is connected with the alarm interface circuit, the SEG11 / PB02 pin of the HC32LI76M chip, the PE11 pin of the HC32LI76M chip and the SEG51 / PE12 pin of the HC32LI76M chip are connected with the valve control circuit, the SEG50 / PE13 pin of the HC32LI76M chip and the SEG49 / PE14 pin of the HC32LI76M chip are connected with the temperature measurement circuit, the SEG10 / PB10 pin of the HC32LI76M chip and the SEG9 / PB11 pin of the HC32LI76M chip are connected with the pulse sampling circuit, the first DVSS pin of the HC32LI76M chip and one end of the twenty-first capacitor are grounded, the first DVCC pin of the HC32LI76M chip and the other end of the twenty-first capacitor are connected with 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 HC32LI 76M 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 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 HC32LI 76M 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 76M chip, 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 connected with the display screen, the PA13 / SWD IO pin of the HC32LI 76M chip is connected with the first pin of the second interface, the PA14 / SWCLK pin of the HC32LI 76M chip is connected with 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 connected with the communication circuit, and the BOOT0 pin of the HC32LI 76M chip is connected with the third pin of the second interface and one end of the eighteenth resistor respectively,The other end of the eighteenth resistor, the second DVSS pin of the HC32L I 76M chip and one end of the twenty-second capacitor are grounded, the second DVCC pin of the HC32L I 76M chip and the other end of the twenty-second capacitor are connected with the power supply VDD.
[0018] The beneficial effect of the further scheme is that the working and maintenance of the gas meter do not need to wait for network, greatly improving the working efficiency, and facilitating the maintenance of the gas meter, and improving the speed of the gas meter maintenance.
[0019] Further, the valve control circuit comprises 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 connected with the processor respectively, the first GND pin of the AT9110A chip is connected with the second GND pin of the AT9110A chip, one end of the nineteenth resistor and one end of the twentieth resistor respectively, the other end of the nineteenth resistor is connected with the processor and one end of the twenty-third capacitor respectively, 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 connected with the power supply VCC, the OB pin of the AT9110A chip is connected with one end of the twenty-fourth capacitor and the first pin of the third interface respectively, the other end of the twenty-fourth capacitor is connected with the OA pin of the AT9110A chip and the second pin of the third interface respectively, 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 connected with the processor.
[0021] The beneficial effect of the further scheme is that the control of the valve of the gas meter is realized, the working efficiency is greatly improved, the maintenance of the gas meter is facilitated, and the speed of the gas meter maintenance is improved.
[0022] Further, the infrared gas meter further comprises a low electric reset detection circuit for controlling the processor to be in a stop state when it is detected that the processor is in a low voltage, and controlling the processor to be reset when the processor is in a high voltage, the low electric reset detection circuit comprising an X61 CN2202 chip, a twenty-fifth capacitor and a twenty-first resistor,
[0023] The Vout pin of the X61 CN2202 chip is connected with the processor, one end of the twenty-fifth capacitor and one end of the twenty-first resistor respectively, the other end of the twenty-fifth capacitor is grounded, the other end of the twenty-first resistor is connected with 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 with the power supply VDD.
[0024] The above further scheme has the beneficial effect of ensuring the reliability of data and improving the speed of gas meter maintenance.
[0025] Further, the infrared gas meter further comprises a power supply circuit, the power supply circuit comprising a power supply circuit and a communication power supply circuit,
[0026] The power supply circuit comprises 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 connected with the power supply VBAT, the negative electrode of the second diode is connected with 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 twenty-sixth capacitor, one end of the twenty-seventh capacitor, the GND pin of the MD5333 chip, one end of the twenty-eighth capacitor and one end of the twenty-ninth capacitor are grounded, the OUT pin of the MD5350 chip, the other end of the twenty-sixth capacitor, the other end of the twenty-seventh capacitor and the Vin pin of the MD5333 chip are connected with the power supply VCC, the OUT pin of the MD5333 chip, the other end of the twenty-eighth capacitor and the other end of the twenty-ninth capacitor are connected with the power supply VDD;
[0028] The communication power supply circuit comprises 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, an MOS tube, an eighth transistor, a first MD5340 chip and a second MD5340 chip,
[0029] One end of the twenty-second resistor is connected with the processor, the other end of the twenty-second resistor is connected with the base of the eighth transistor, the emitter of the eighth transistor is grounded, the collector of the eighth transistor is connected with one end of the twenty-third resistor, the other end of the twenty-third resistor is connected with one end of the twenty-fourth resistor and the gate of the MOS transistor respectively, the other end of the twenty-fourth resistor is connected with the negative electrode of the third diode and the source of the MOS transistor respectively, the positive electrode of the third diode is connected with the power supply VBAT, the drain of the MOS transistor is connected with one end of the thirtieth capacitor, one end of the thirty-first capacitor, the VI N pin of the first MD5340 chip and the VI N pin of the second MD5340 chip respectively, the other end of the thirtieth capacitor, the other end of the thirty-first capacitor, the GND pin of the second MD5340 chip and one end of the thirty-second 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 thirty-second capacitor are connected with the power supply VCC_Modu.
[0030] The above further scheme has the beneficial effect of providing the gas meter with electricity.
[0031] Further, the infrared gas meter further comprises a low-voltage detection circuit for detecting the power supply circuit, the low-voltage detection circuit comprising 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 twenty-fifth resistor is connected with the processor, the other end of the twenty-fifth resistor is connected with the base of the ninth transistor, the emitter of the ninth transistor is grounded, the collector of the ninth transistor is connected with one end of the twenty-sixth resistor, the other end of the twenty-sixth resistor is connected with the base of the tenth transistor, the emitter of the tenth transistor is connected with the power supply VBAT, the collector of the tenth transistor is connected with one end of the twenty-seventh resistor, the other end of the twenty-seventh resistor is connected with one end of the twenty-eighth resistor and the processor respectively, the other end of the twenty-eighth resistor is grounded.
[0033] The above further scheme has the beneficial effect of detecting the voltage of the power supply and better protecting the power supply.
[0034] Further, the infrared gas meter further comprises a memory, the memory comprising 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 grounded, the VCC pin of the 24LC64 chip and one end of the thirty-third capacitor are connected with a 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 connected with the processor.
[0036] The beneficial effect of the further scheme is that the data is stored.
[0037] Further, the infrared gas meter further comprises a buzzer output circuit, the buzzer output circuit comprising a buzzer, a twenty-ninth resistor and an eleventh transistor,
[0038] One end of the twenty-ninth resistor is connected with the processor, the other end of the twenty-ninth resistor is connected with the base of the eleventh transistor, the emitter of the eleventh transistor is grounded, the collector of the eleventh transistor is connected with one end of the buzzer, and the other end of the buzzer is connected with a power supply VCC.
[0039] The beneficial effect of the further scheme is that the operation of the gas meter is more intuitively understood. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 A structural block diagram of the infrared gas meter is provided for the embodiments of the present application;
[0041] Figure 2 A circuit diagram of a temperature measurement circuit of the infrared gas meter is provided for the embodiments of the present application;
[0042] Figure 3 A circuit diagram of a pulse sampling circuit of the infrared gas meter is provided for the embodiments of the present application;
[0043] Figure 4 A circuit diagram of an alarm interface circuit of the infrared gas meter is provided for the embodiments of the present application;
[0044] Figure 5 A circuit diagram of a display screen of the infrared gas meter is provided for the embodiments of the present application;
[0045] Figure 6 A circuit diagram of a touch key circuit of the infrared gas meter is provided for the embodiments of the present application;
[0046] Figure 7 A circuit diagram of an infrared interface circuit of the infrared gas meter is provided for the embodiments of the present application;
[0047] Figure 8 The circuit diagram of an infrared switch detection circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0048] Figure 9 The circuit diagram of a communication circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0049] Figure 10 The circuit diagram of a processor of the infrared gas meter is provided for the embodiment of the utility model;
[0050] Figure 11 The circuit diagram of a valve control circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0051] Figure 12 The circuit diagram of a low power reset detection circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0052] Figure 13 The circuit diagram of a power supply circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0053] Figure 14 The circuit diagram of a communication power supply circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0054] Figure 15 The circuit diagram of a low voltage detection circuit of the infrared gas meter is provided for the embodiment of the utility model;
[0055] Figure 16 The circuit diagram of a memory of the infrared gas meter is provided for the embodiment of the utility model;
[0056] Figure 17 The circuit diagram of a buzzer output circuit of the infrared gas meter is provided for the embodiment of the utility model. Specific implementation
[0057] The principles and characteristics of the utility model are described below in combination with the drawings, and the examples are only used to explain the utility model and are not used to limit the scope of the utility model.
[0058] As Figures 1 to 6As shown, an infrared gas meter includes an infrared control circuit for transmitting and receiving infrared data when an external infrared transceiver is nearby; 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 the gas meter's mechanical rotor; an alarm interface circuit for obtaining alarm data from an external alarm; a processor for analyzing the infrared data, ambient temperature data, pulse information, and alarm data; a valve control circuit for controlling the opening and closing of the gas meter valve based on the results of the data analysis; a display screen; and a touch button circuit for controlling the display screen via the processor.
[0059] The processor is 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, respectively. 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 performing temperature compensation calculations on ambient temperature data; determining whether the pulse information is a valid pulse or an abnormal pulse through a preset algorithm; if it is a valid pulse, calculating the deduction; if it is an abnormal pulse, displaying the corresponding error information on the LCD screen and closing the gas meter valve; and controlling the valve control circuit to close the gas meter valve based on the alarm data to ensure safety.
[0061] It should be understood that the temperature measurement circuit is used to collect ambient temperature data of the gas meter and transmit it to the MCU (i.e., processor). The pulse sampling circuit is used to activate the pulse sampling circuit (i.e., pulse sampling circuit) when the mechanical wheel of the gas meter rotates, and the pulse circuit (i.e., pulse sampling circuit) transmits the pulse information to the MCU (i.e., processor). The alarm interface circuit is used for the combustible gas alarm interface, and when the alarm is triggered, it transmits the data (i.e., alarm data) to the MCU (i.e., processor). The touch button circuit is used for short presses to turn pages of information on the gas meter's LCD screen, and long presses to trigger wireless communication.
[0062] Specifically, such as Figure 2 As shown, the temperature measurement circuit includes a DS18B20 chip, transistor Q15, resistor R37, and resistor R38.
[0063] The GND pin of the DS18B20 chip is grounded. The DQ pins of the DS18B20 chip are connected to the processor and one end of resistor R37, respectively. The VDD pin of the DS18B20 chip is connected to the other end of resistor R37 and the collector of transistor Q15, respectively. The emitter of transistor Q15 is connected to the power supply VDD, and the base of transistor Q15 is connected to one end of resistor R38. The other end of resistor R38 is connected to the processor.
[0064] Specifically, as shown in Figure 3 the pulse sampling circuit includes interface J2, resistor R6, resistor R7, resistor R8, resistor R9, capacitor C7, capacitor C8, capacitor C10, capacitor C11, inductor L1 and inductor L2,
[0065] The first pin of interface J2 is connected with one end of resistor R7, the second pin of interface J2 is grounded, the third pin of interface J2 is connected with one end of resistor R6, the other end of resistor R7 is connected with one end of resistor R8, one end of capacitor C7, one end of capacitor C10 and one end of inductor L2 respectively, the other end of capacitor C7, one end of capacitor C8, the other end of capacitor C10 and one end of capacitor C10 are all grounded, the other end of resistor R6 is connected with one end of resistor R9, the other end of capacitor C8, the other end of capacitor C11 and one end of inductor L1 respectively, the other end of resistor R9 and the other end of resistor R8 are both connected with power supply VDD, the other end of inductor L1 and the other end of inductor L2 are both connected with the processor.
[0066] It should be understood that, as shown in Figure 4 the alarm interface circuit includes diode D12, resistor R35, resistor R36, diode D13 and interface J6,
[0067] The first pin of diode D12 is grounded, the second pin of diode D12 and one end of resistor R36 are both connected with VDD, the third pin of diode D12 is connected with the processor and one end of resistor R35 respectively, the first pin of interface J6 is grounded, the other end of resistor R35 is connected with the other end of resistor R36, the positive electrode of diode D13 and the second pin of interface J6 respectively, the negative electrode of diode D13 is connected with power supply VCC.
[0068] It should be understood that, as shown in Figure 5 the model of the display screen can be LCD_1539P, and the first pin to the twenty-fifth pin of the display screen are all connected with the processor.
[0069] Specifically, as shown in Figure 6 the touch key circuit includes BS812A-1 chip, capacitor C38 and capacitor C36,
[0070] The VDD pin of the BS812A-1 chip and one end of the capacitor C38 are connected with a 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 with 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 with a touch key sensing end Key1.
[0071] In the above embodiment, through the infrared control circuit, the temperature measuring circuit, the communication circuit, the pulse sampling circuit, the alarm interface circuit, the processor, the valve control circuit, the display screen and the touch key circuit, the work and maintenance of the gas meter do not need to wait for network, the work efficiency is greatly improved, the maintenance of the gas meter is facilitated, and the maintenance speed of the gas meter is improved.
[0072] Optionally, as an embodiment of the utility model, Figure 7 and 8 As shown in the figure, the infrared control circuit comprises an infrared interface circuit and an infrared switch detection circuit for controlling the infrared interface circuit to receive and transmit infrared data when an external infrared transceiver device approaches,
[0073] The infrared interface circuit comprises 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 with the processor, the other end of the first resistor R30 is connected with the base of the first transistor Q10, the emitter of the first transistor Q10 is connected with a power supply VDD, the collector of the first transistor Q10 is respectively connected with 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 with one end of the second resistor R31, the other end of the second resistor R31 is connected with the processor, the other end of the third resistor R32 is respectively connected with the processor and the collector of the third transistor Q12, the emitter of the third transistor Q12 is respectively connected with one end of the fourth resistor R33 and grounded, and the base of the third transistor Q12 is respectively connected with the collector of the second transistor Q11 and the other end of the fourth resistor R33;
[0075] The infrared switch detection circuit comprises a TMR1305 chip MR4 and a second capacitor C82C34, a VCC pin of the TMR1305 chip MR4 is connected with one end of the second capacitor C82C34 and a power supply VDD respectively, the other end of the second capacitor C82C34 is grounded through a GND pin of the TMR1305 chip MR4, and a Vout pin of the TMR1305 chip MR4 is connected with the processor.
[0076] It should be understood that the infrared interface circuit receives and transmits data through infrared, and is controlled by the MCU (i.e., the processor).
[0077] Specifically, the infrared switch detection circuit, i.e., the multi-dimensional magnetic switch, informs the MCU (i.e., the processor) to turn on the infrared interface circuit when the magnetic ring is close to the external infrared receiving and transmitting device, and the infrared interface circuit starts to receive and transmit data.
[0078] In the above embodiment, the work and maintenance of the gas meter do not need to wait for network access, and the work efficiency is greatly improved.
[0079] Optionally, as one embodiment of the utility model, as shown in Figure 9 The communication circuit comprises an MA510 chip U72A, a second capacitor C82, a third capacitor C83, a fourth capacitor C77, a fifth capacitor C76, a sixth capacitor C75, a seventh capacitor C74, an eighth capacitor C73, a ninth capacitor C78, a tenth capacitor C79, an eleventh capacitor C80, a twelfth capacitor C94, a thirteenth capacitor C93, a fourteenth capacitor C92, a fifteenth capacitor C90, a sixteenth capacitor C91, a fifth resistor R80, a sixth resistor R81, a seventh resistor R83, an eighth resistor R83, a ninth resistor R85, a tenth resistor R84, 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 grounded, one end of the second capacitor C82 and one end of the first inductor L70 are connected to the MAINA ANT pin of the MA510 chip U72A, the other end of the second capacitor C82 is grounded, the other end of the first inductor L70 is 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 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, 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 grounded, the VDD pin of the MA510 chip U72A is connected to the power supply VDD, one end of the ninth capacitor C78 and the collector of the fourth transistor Q73 are connected to the POWER ON pin of the MA510 chip U72A, the other end of the ninth capacitor C78 is grounded, one end of the fifth resistor R80 and one end of the sixth resistor R81 are connected to the base of the fourth transistor Q73, 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 grounded, one end of the seventh resistor R83 and the collector of the fifth transistor Q74 are connected to the UART I RXD pin of the MA510 chip U72A, the other end of the seventh resistor R83 is connected to the power supply VDD, one end of the eighth resistor R83 and one end of the tenth capacitor C79 are connected to the base of the fifth transistor Q74, the other end of the eighth resistor R83 and the other end of the tenth capacitor C79 are 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, one end of the eleventh capacitor C80 and one end of the ninth resistor R85 are connected to the base of the sixth transistor Q75, 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 connected with the processor and one end of the tenth resistor R84 respectively, the other end of the tenth resistor R84 is connected with the power supply VDD, the SIM_S IO pin of the MA510 chip U72A is connected with one end of the eleventh resistor R93, the other end of the eleventh resistor R93 is connected with 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 respectively, the SIM_SCLK pin of the MA510 chip U72A is connected with one end of the thirteenth resistor R92, the other end of the thirteenth resistor R92 is connected with 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 respectively, the SIM_SRST pin of the MA510 chip U72A is connected with one end of the fourteenth resistor R91, the other end of the fourteenth resistor R91 is connected with 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 respectively, the VSIM pin of the MA510 chip U72A is connected with 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 VCC pin of the SIM card U73 respectively, 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 grounded, the seventh GND pin and the eighth GND pin of the MA510 chip U72A are grounded, the LPG pin of the MA510 chip U72A is connected with one end of the fifteenth resistor R86, the other end of the fifteenth resistor R86 is connected with one end of the sixteenth resistor R87 and the base of the seventh transistor Q76 respectively, the other end of the sixteenth resistor R87 is grounded with the emitter of the seventh transistor Q76, the collector of the seventh transistor Q76 is connected with one end of the seventeenth resistor R88, the other end of the seventeenth resistor R88 is connected with the negative electrode of the light emitting diode LED1, the positive electrode of the light emitting diode LED1 is connected with the power supply VCC_Modu.
[0081] It should be understood that the communication circuit sends and receives instruction data through a wireless network, which is controlled by the MCU (i.e. the processor).
[0082] In the above embodiments, the ability to send and receive command data greatly improves work efficiency and facilitates the maintenance of gas meters, thereby increasing the speed of gas meter maintenance.
[0083] Optionally, as one embodiment of this utility model, such as Figure 10 As shown, the processor includes an HC32L I76M 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 HC32LI76M chip U1 is connected with the touch key circuit, one end of the seventeenth capacitor C3 and one end of the eighteenth capacitor C4 are connected with the VCAP pin of the HC32LI76M chip U1 respectively, 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 HC32LI76M chip U1 is connected with the first pin of the first interface J4, the SEG25 / PC02 pin of the HC32LI76M chip U1 is connected with the second pin of the first interface J4, the SEG24 / PC03 pin of the HC32LI76M chip U1 is connected with the third pin of the first interface J4, the AVSS pin of the HC32LI76M chip U1, one end of the nineteenth capacitor C5 and one end of the twentieth capacitor C6 are grounded, the AVCC pin of the HC32LI76M chip U1, the other end of the nineteenth capacitor C5 and the other end of the twentieth capacitor C6 are connected with the power supply VDD, the SEG20 / PA03 pin of the HC32LI76M chip U1, the PF04 pin of the HC32LI76M chip U1, the PF05 pin of the HC32LI76M chip U1 and the SEG19 / PA04 pin of the HC32LI76M chip U1 are connected with the infrared control circuit, the SEG13 / PB01 pin of the HC32LI76M chip U1 is connected with the alarm interface circuit, the SEG11 / PB02 pin of the HC32LI76M chip U1, the PE11 pin of the HC32LI76M chip U1 and the SEG51 / PE12 pin of the HC32LI76M chip U1 are connected with the valve control circuit, the SEG50 / PE13 pin of the HC32LI76M chip U1 and the SEG49 / PE14 pin of the HC32LI76M chip U1 are connected with the temperature measurement circuit, the SEG10 / PB10 pin of the HC32LI76M chip U1 and the SEG9 / PB11 pin of the HC32LI76M chip U1 are connected with the pulse sampling circuit, the first DVSS pin of the HC32LI76M chip U1 and one end of the twenty-first capacitor C1 are grounded, the first DVCC pin of the HC32LI76M chip U1 and the other end of the twenty-first capacitor C1 are connected with 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 76M chip U1, 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 76M chip U1, 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 connected with the display screen, the PA13 / SWD IO pin of the HC32L I 76M chip U1 is connected with the first pin of the second interface J3, and the PA14 / SWCLK pin of the HC32L I 76M chip U1 is connected with 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 connected with the communication circuit, the BOOT0 pin of the HC32L I 76M chip U1 is connected with the third pin of the second interface J3 and one end of the eighteenth resistor R5 respectively, 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 grounded, the second DVCC pin of the HC32L I 76M chip U1 and the other end of the twenty-second capacitor C2 are connected with the power supply VDD.
[0085] It should be understood that the processor is responsible for processing and controlling the data returned by each functional circuit.
[0086] In the above embodiment, the operation and maintenance of the gas meter do not need to wait for network access, which greatly improves the work efficiency, facilitates the maintenance of the gas meter and improves the maintenance speed of the gas meter.
[0087] Optionally, as one of the embodiments of the present application, as shown in Figure 11 The valve control circuit comprises 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 connected with the processor respectively, the first GND pin of the AT9110A chip U10 is connected with the second GND pin of the AT9110A chip U10, one end of the nineteenth resistor R40 and one end of the twentieth resistor R39 respectively, the other end of the nineteenth resistor R40 is connected with the processor and one end of the twenty-third capacitor C41 respectively, 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 connected with the power supply VCC, the OB pin of the AT9110A chip U10 is connected with one end of the twenty-fourth capacitor C35 and the first pin of the third interface J8 respectively, the other end of the twenty-fourth capacitor C35 is connected with the OA pin of the AT9110A chip U10 and the second pin of the third interface J8 respectively, 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 connected with the processor.
[0089] It should be understood that the valve control circuit controls the gas meter valve according to the data transmitted by the MCU (i.e. the processor).
[0090] In the above embodiment, the control of the gas meter valve is realized, the work efficiency is greatly improved, the maintenance of the gas meter is facilitated, and the maintenance speed of the gas meter is improved.
[0091] Optionally, as an embodiment of the present application, as shown in Figure 12 The infrared gas meter further includes a low-voltage reset detection circuit for controlling the processor to be in a stop state when it is detected that the processor is in a low voltage, and controlling the processor to be reset when the processor is in a high voltage, the low-voltage reset detection circuit includes an X61 CN2202 chip U5, a twenty-fifth capacitor C9 and a twenty-first resistor R1,
[0092] The Vout pin of the X61 CN2202 chip U5 is connected with the processor, one end of the twenty-fifth capacitor C9 and one end of the twenty-first resistor R1 respectively, the other end of the twenty-fifth capacitor C9 is grounded, the other end of the twenty-first resistor R1 is connected with 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 with the power supply VDD.
[0093] It should be understood that when the low-voltage reset detection circuit detects that the MCU (i.e. the processor) is in a low voltage, the controller does not run to ensure data reliability, and the MCU (i.e. the processor) is reset when the voltage is pulled up, and the controller starts to work.
[0094] In the above embodiment, the reliability of the data is ensured, and the maintenance speed of the gas meter is improved.
[0095] Optionally, as an embodiment of the present application, as shown in Figure 13 and 14 The infrared gas meter further includes a power supply circuit, the power supply circuit 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 anode of the second diode D1 are connected with the power supply VBAT, the cathode of the second diode D1 is connected with 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 twenty-sixth capacitor C0, one end of the twenty-seventh capacitor C18, the GND pin of the MD5333 chip U2, one end of the twenty-eighth capacitor C19 and one end of the twenty-ninth capacitor C20 are grounded, the OUT pin of the MD5350 chip U0, the other end of the twenty-sixth capacitor C0, the other end of the twenty-seventh capacitor C18 and the VIN pin of the MD5333 chip U2 are connected with the power supply VCC, the OUT pin of the MD5333 chip U2, the other end of the twenty-eighth capacitor C19 and the other end of the twenty-ninth capacitor C20 are connected with the power supply VDD;
[0098] The communication power supply circuit comprises 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 with the processor, the other end of the twenty-second resistor R70 is connected with 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 with one end of the twenty-third resistor R71, the other end of the twenty-third resistor R71 is respectively connected with one end of the twenty-fourth resistor R72 and the gate of the MOS tube Q72, the other end of the twenty-fourth resistor R72 is respectively connected with the cathode of the third diode D70 and the source of the MOS tube Q72, the anode of the third diode D70 is connected with the power supply VBAT, the drain of the MOS tube Q72 is respectively connected with 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, the other end of the thirtieth capacitor C70, the other end of the thirty-first capacitor C71, the GND pin of the second MD5340 chip U71 and one end of the thirty-second 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 thirty-second capacitor C72 are connected with the power supply VCC_Modu.
[0100] It should be understood that the power supply circuit is used to ensure stable power supply for the whole module; the communication power supply circuit is used to provide stable power supply for the communication module (cat1, NB-IoT) (i.e. the communication circuit).
[0101] In the above embodiment, the gas meter is provided with electric energy.
[0102] Optionally, as an embodiment of the utility model, as shown in the figure, Figure 15 The infrared gas meter further comprises a low-voltage detection circuit for detecting the power supply circuit, the low-voltage detection circuit comprising 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 with the processor, the other end of the twenty-fifth resistor R20 is connected with 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 with one end of the twenty-sixth resistor R19, the other end of the twenty-sixth resistor R19 is connected with the base of the tenth transistor Q1, the emitter of the tenth transistor Q1 is connected with the power supply VBAT, the collector of the tenth transistor Q1 is connected with one end of the twenty-seventh resistor R17, the other end of the twenty-seventh resistor R17 is connected with one end of the twenty-eighth resistor R18 and the processor respectively, 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 (i.e. the power supply circuit), and the data is transmitted to the MCU (i.e. the processor), and the MCU (i.e. the processor) displays the corresponding voltage level to the display screen.
[0105] In the above embodiment, the voltage of the power supply is detected, and the power supply is better protected.
[0106] Optionally, as an embodiment of the utility model, as shown in the figure, Figure 16 The infrared gas meter further comprises a memory, the memory comprising 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 grounded, the VCC pin of the 24LC64 chip U11 and one end of the thirty-third capacitor C24 are connected with 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 connected with the processor.
[0108] Preferably, the memory can be an EEPROM.
[0109] In the above embodiment, data is stored.
[0110] Optionally, as an embodiment of the utility model, as shown in the figure, Figure 17 The infrared gas meter further comprises a buzzer output circuit, the buzzer output circuit comprises a buzzer BUZZ1, a twenty-ninth resistor R2 and an eleventh transistor Q3,
[0111] One end of the twenty-ninth resistor R2 is connected with the processor, the other end of the twenty-ninth resistor R2 is connected with 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 with one end of the buzzer BUZZ1, and the other end of the buzzer BUZZ1 is connected with the power supply VCC.
[0112] It should be understood that the buzzer output circuit feeds back the key operation and instruction execution.
[0113] In the above embodiment, the operation of the gas meter is more intuitive.
[0114] Optionally, as an embodiment of the utility model, the utility model updates the controller program and innovatively adds an infrared transceiving function. The addition of the infrared function enables production and maintenance to be performed without waiting for network access, and the infrared can be turned on to receive and send instructions at any time, thereby greatly improving work efficiency.
[0115] Optionally, as an embodiment of the utility model, in the utility model, the MCU is responsible for processing data transmitted by each functional circuit and controlling the data, and other functional circuits are described as follows.
[0116] Power supply circuit: ensures stable power supply for the entire module;
[0117] Communication power supply circuit: provides stable power supply for the communication module (cat1, NB-IoT);
[0118] Communication module circuit: send and receive instruction data through wireless network, controlled by MCU;
[0119] Display screen: display gas meter information, including gas consumption, remaining amount, state code, connection code, connection channel, power information, billing mode, controlled by MCU;
[0120] Infrared switch detection circuit: multi-dimensional magnetic switch, with magnetic coil outside, when the infrared transceiver device is close, notify MCU to open the infrared interface circuit, and the infrared interface circuit starts to transmit and receive data;
[0121] Infrared interface circuit: transmit and receive data through infrared, controlled by MCU;
[0122] Valve control circuit: control the gas meter valve according to the data transmitted by MCU;
[0123] Alarm interface circuit: combustible gas alarm interface, when the alarm alarm, data is transmitted to MCU, and MCU receives the data to control the valve circuit to close the valve to ensure safety;
[0124] Pulse sampling circuit: gas meter mechanical rotating wheel rotates to excite pulse sampling circuit, pulse circuit transmits pulse information to MCU, and MCU determines whether it is a valid pulse or an abnormal pulse through algorithm. If it is a normal pulse, it performs fee calculation, and if it is an abnormal pulse, it displays corresponding error information on the liquid crystal screen and closes the valve;
[0125] Low voltage detection circuit: detect the voltage of the main power supply, and transmit the data to MCU. MCU displays the corresponding voltage level to the display screen.
[0126] MCU low voltage reset circuit: when detecting the low voltage of MCU, the controller does not run to ensure data reliability, and when the voltage is pulled up, MCU is reset, and the controller starts to work.
[0127] Touch key circuit: short key flips the information of gas meter liquid crystal screen, and long press triggers wireless communication;
[0128] Temperature measurement circuit: collect the temperature data of the environment where the gas meter is located and transmit it to MCU. MCU will perform temperature compensation calculation according to the temperature of the temperature sensor;
[0129] Buzzer output circuit: feedback to key operation and instruction execution.
[0130] The utility model discloses a use method is when approaching external infrared transceiver equipment, the infrared data is received and sent, and obtains environmental temperature data from external temperature sensor, simultaneously, obtains the pulse information from the mechanical runner of gas meter and obtains the alarm data from external alarm, then carries out data analysis to infrared data, environmental temperature data, pulse information and alarm data, and according to the result of data analysis, controls gas meter valve opening and closing, and the display screen is controlled through the processor.
[0131] The utility model discloses a use method is when approaching external infrared transceiver equipment, the infrared data is received and sent, and obtains environmental temperature data from external temperature sensor, simultaneously, obtains the pulse information from the mechanical runner of gas meter and obtains the alarm data from external alarm, then carries out data analysis to infrared data, environmental temperature data, pulse information and alarm data, and according to the result of data analysis, controls gas meter valve opening and closing, and the display screen is controlled through the processor.
[0132] The above only is the preferred embodiment of the utility model, and does not use to limit the utility model, and any modification, equivalent replacement, improvement etc. that is made within the spirit and principle of the utility model should include in the protection scope of the utility model.
Claims
1. An infrared gas meter, characterized in that The infrared control circuit for receiving and transmitting infrared data when the external infrared transceiver is close, the temperature measurement circuit for obtaining ambient temperature data from the external temperature sensor, the communication circuit, the pulse sampling circuit for obtaining pulse information from the mechanical rotating wheel of the gas meter, the alarm interface circuit for obtaining alarm data from the external alarm, the processor for data analysis of the infrared data, the ambient temperature data, the pulse information and the alarm data, the valve control circuit for controlling the opening and closing of the valve of the gas meter according to the result of data analysis, the display screen and the touch button circuit for controlling the display screen through the processor, 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 button circuit, and the processor is also connected with 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 receive and transmit infrared data when the external infrared transceiver is close, 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 with the processor, the other end of the first resistor is connected with the base of the first transistor, the emitter of the first transistor is connected with the power supply VDD, the collector of the first transistor is connected with 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 respectively, the other end of the first capacitor is grounded, the negative electrode of the first diode is connected with one end of the second resistor, the other end of the second resistor is connected with the processor, the other end of the third resistor is connected with the processor and the collector of the third transistor respectively, the emitter of the third transistor is grounded with one end of the fourth resistor respectively, the base of the third transistor is connected with the collector of the second transistor and the other end of the fourth resistor respectively; The infrared switch detection circuit includes a TMR1305 chip and a second capacitor, the VCC pin of the TMR1305 chip is connected with one end of the second capacitor and the power supply VDD respectively, the other end of the second capacitor is grounded with the GND pin of the TMR1305 chip, the Vout pin of the TMR1305 chip is connected with the processor.
3. An infrared gas meter according to claim 1, wherein The communication circuit comprises 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 grounded, the MAINA ANT pin of the MA510 chip is connected with one end of the second capacitor and one end of the first inductor respectively, the other end of the second capacitor is grounded, the other end of the first inductor is connected with one end of the third capacitor and the antenna respectively, the other end of the third capacitor is grounded, the first VBAT pin of the MA510 chip is connected with 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 respectively, 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 grounded, the VDD pin of the MA510 chip is connected with the power supply VDD, the POWER ON pin of the MA510 chip is connected with one end of the ninth capacitor and the collector of the fourth transistor respectively, the other end of the ninth capacitor is grounded, the base of the fourth transistor is connected with one end of the fifth resistor and one end of the sixth resistor respectively, the other end of the fifth resistor is connected with the processor, the other end of the sixth resistor and the emitter of the fourth transistor are grounded, the UARTI RXD pin of the MA510 chip is connected with one end of the seventh resistor and the collector of the fifth transistor respectively, the other end of the seventh resistor is connected with the power supply VDD, the base of the fifth transistor is connected with one end of the eighth resistor and one end of the tenth capacitor respectively, the other end of the eighth resistor and the other end of the tenth capacitor are connected with the power supply VDD, the emitter of the fifth transistor is connected with the processor, the UARTI TXD pin of the MA510 chip is connected with the emitter of the sixth transistor, the base of the sixth transistor is connected with one end of the eleventh capacitor and one end of the ninth resistor respectively, the other end of the eleventh capacitor and the other end of the ninth resistor are connected with the power supply VDD, the collector of the sixth transistor is connected with the processor and one end of the tenth resistor respectively, the other end of the tenth resistor is connected with the power supply VDD, the SIM SIO pin of the MA510 chip is connected with one end of the eleventh resistor, the other end of the eleventh resistor is connected with 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 respectively, the SIM SCLK pin of the MA510 chip is connected with one end of the thirteenth resistor,Another end of the thirteenth resistor is connected with one end of the thirteenth capacitor, one end of the second transient voltage suppression diode and the CLK pin of the SIM card respectively, the SIM_SRST pin of the MA510 chip is connected with one end of the fourteenth resistor, another end of the fourteenth resistor is connected with one end of the fourteenth capacitor, one end of the third transient voltage suppression diode and the RST pin of the SIM card respectively, the VSIM pin of the MA510 chip is connected with another 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 respectively, another end of the twelfth capacitor, another end of the first transient voltage suppression diode, another end of the thirteenth capacitor, another end of the second transient voltage suppression diode, another end of the fourteenth capacitor, another end of the third transient voltage suppression diode, another end of the fifteenth capacitor, another end of the sixteenth capacitor, another end of the fourth transient voltage suppression diode and the GND pin of the SIM card are grounded, the seventh GND pin and the eighth GND pin of the MA510 chip are grounded, the LPG pin of the MA510 chip is connected with one end of the fifteenth resistor, another end of the fifteenth resistor is connected with one end of the sixteenth resistor and the base of the seventh transistor respectively, another end of the sixteenth resistor and the emitter of the seventh transistor are grounded, the collector of the seventh transistor is connected with one end of the seventeenth resistor, another end of the seventeenth resistor is connected with the negative electrode of the light emitting diode, the positive electrode of the light emitting diode is connected with the power supply VCC_Modu.
4. An infrared gas meter according to claim 1, wherein The processor comprises an HC32LI76M 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 HC32LI76M chip is connected with the touch button circuit, one end of the seventeenth capacitor and one end of the eighteenth capacitor are connected with the VCAP pin of the HC32LI76M chip, the other end of the seventeenth capacitor and the other end of the eighteenth capacitor are grounded, the SEG26 / PC01 pin of the HC32LI76M chip is connected with the first pin of the first interface, the SEG25 / PC02 pin of the HC32LI76M chip is connected with the second pin of the first interface, the SEG24 / PC03 pin of the HC32LI76M chip is connected with the third pin of the first interface, the AVSS pin of the HC32LI76M chip, one end of the nineteenth capacitor and one end of the twentieth capacitor are grounded, the AVCC pin of the HC32LI76M chip, the other end of the nineteenth capacitor and the other end of the twentieth capacitor are connected with the power supply VDD, the SEG20 / PA03 pin of the HC32LI76M chip, the PF04 pin of the HC32LI76M chip, the PF05 pin of the HC32LI76M chip and the SEG19 / PA04 pin of the HC32LI76M chip are connected with the infrared control circuit, the SEG13 / PB01 pin of the HC32LI76M chip is connected with the alarm interface circuit, the SEG11 / PB02 pin of the HC32LI76M chip, the PE11 pin of the HC32LI76M chip and the SEG51 / PE12 pin of the HC32LI76M chip are connected with the valve control circuit, the SEG50 / PE13 pin of the HC32LI76M chip and the SEG49 / PE14 pin of the HC32LI76M chip are connected with the temperature measurement circuit, the SEG10 / PB10 pin of the HC32LI76M chip and the SEG9 / PB11 pin of the HC32LI76M chip are connected with the pulse sampling circuit, the first DVSS pin of the HC32LI76M chip and one end of the twenty-first capacitor are grounded, the first DVCC pin of the HC32LI76M chip and the other end of the twenty-first capacitor are connected with the power supply VDD.The PB12 / SEG8 pin of the HC32LI76M chip, the PB13 / SEG7 pin of the HC32LI76M chip, the PB14 / SEG6 pin of the HC32LI76M chip, the PB15 / SEG5 pin of the HC32LI76M chip, the PD08 / SEG47 pin of the HC32LI76M chip, the PD09 / SEG46 pin of the HC32LI76M chip, the PD10 / SEG45 pin of the HC32LI76M chip, the PD11 / SEG44 pin of the HC32LI76M chip, the PC06 / SEG4 pin of the HC32LI76M chip, the PC07 / SEG3 pin of the HC32LI76M chip, the PC08 / SEG2 pin of the HC32LI76M chip, the PC09 / SEG1 pin of the HC32LI76M chip, the PA08 / SEG0 pin of the HC32LI76M chip, the PA09 / COM0 pin of the HC32LI76M chip, the PA10 / COM1 pin of the HC32LI76M chip, the PA11 / COM2 pin of the HC32LI76M chip, the PA12 / COM3 pin of the HC32LI76M chip, the PC10 / COM4 / SEG39 pin of the HC32LI76M chip, the PC11 / COM5 / SEG38 pin of the HC32LI76M chip, the PC12 / COM6 / SEG37 pin of the HC32LI76M chip, the PD02 / COM7 / SEG36 pin of the HC32LI76M chip, the PB03 / SEG35 / VLCDH pin of the HC32LI76M chip, the PB04 / SEG34 / VLCD3 pin of the HC32LI76M chip, the PB03 / SEG33 / VLCD2 pin of the HC32LI76M chip, and the PB02 / SEG32 / VLCD1 pin of the HC32LI76M chip are connected with the display screen, the PA13 / SWDIO pin of the HC32LI76M chip is connected with the first pin of the second interface, the PA14 / SWCLK pin of the HC32LI76M chip is connected with the second pin of the second interface, the PB07 / SEG31 pin of the HC32LI76M chip, the PB08 / SEG29 pin of the HC32LI76M chip, and the PB09 / SEG28 pin of the HC32LI76M chip are connected with the communication circuit, the BOOT0 pin of the HC32LI76M chip is connected with the third pin of the second interface and one end of the eighteenth resistor respectively, the other end of the eighteenth resistor is grounded, the second DVSS pin of the HC32LI76M chip and one end of the twenty-second capacitor are grounded,The second DVCC pin of the HC32LI76M chip and the other end of the twenty-second capacitor are connected with the power supply VDD.
5. An infrared gas meter according to claim 1, wherein The valve control circuit comprises a third interface, a nineteenth resistor, a twentieth resistor, a twenty-third capacitor, a twenty-fourth capacitor and an AT9110A chip, An IA pin of the AT9110A chip and an IB pin of the AT9110A chip are connected with the processor respectively, a first GND pin of the AT9110A chip is connected with a second GND pin of the AT9110A chip, one end of the nineteenth resistor and one end of the twentieth resistor respectively, the other end of the nineteenth resistor is connected with the processor and one end of the twenty-third capacitor respectively, the other end of the twenty-third capacitor and the other end of the twentieth resistor are grounded, a first VCC pin of the AT9110A chip and a second VCC pin of the AT9110A chip are connected with a power supply VCC, an OB pin of the AT9110A chip is connected with one end of the twenty-fourth capacitor and a first pin of the third interface respectively, the other end of the twenty-fourth capacitor is connected with an OA pin of the AT9110A chip and a second pin of the third interface respectively, a third pin of the third interface is grounded, a fourth pin of the third interface and a fifth pin of the third interface are connected with the processor.
6. An infrared gas meter according to claim 1, wherein The infrared gas meter further comprises a low-voltage reset detection circuit for controlling the processor to be in a stop state when it is detected that the processor is in a low voltage, and controlling the processor to be reset when the processor is in a high voltage, the low-voltage reset detection circuit comprising an X61CN2202 chip, a twenty-fifth capacitor and a twenty-first resistor, The Vout pin of the X61CN2202 chip is connected with the processor, one end of the twenty-fifth capacitor and one end of the twenty-first resistor respectively, the other end of the twenty-fifth capacitor is grounded, the other end of the twenty-first resistor is connected with the power supply VDD, the GND pin of the X61CN2202 chip is grounded, and the Vin pin of the X61CN2202 chip is connected with the power supply VDD.
7. An infrared gas meter according to claim 6, characterised in that The infrared gas meter further comprises a power supply circuit, and the power supply circuit comprises a power supply power supply circuit and a communication power supply circuit, The power supply power supply circuit comprises 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 anode of the second diode are connected with the power supply VBAT, the cathode of the second diode is connected with 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 twenty-sixth capacitor, one end of the twenty-seventh capacitor, the GND pin of the MD5333 chip, one end of the twenty-eighth capacitor and one end of the twenty-ninth capacitor are grounded, the OUT pin of the MD5350 chip, the other end of the twenty-sixth capacitor, the other end of the twenty-seventh capacitor and the VIN pin of the MD5333 chip are connected with the power supply VCC, the OUT pin of the MD5333 chip, the other end of the twenty-eighth capacitor and the other end of the twenty-ninth capacitor are connected with the power supply VDD; The communication power supply circuit comprises 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, an MOS tube, an eighth transistor, a first MD5340 chip and a second MD5340 chip, One end of the twenty-second resistor is connected with the processor, the other end of the twenty-second resistor is connected with the base of the eighth transistor, the emitter of the eighth transistor is grounded, the collector of the eighth transistor is connected with one end of the twenty-third resistor, the other end of the twenty-third resistor is connected with one end of the twenty-fourth resistor and the gate of the MOS transistor respectively, the other end of the twenty-fourth resistor is connected with the negative electrode of the third diode and the source of the MOS transistor respectively, the positive electrode of the third diode is connected with the power supply VBAT, the drain of the MOS transistor is connected with one end of the thirtieth capacitor, one end of the thirty-first capacitor, the VIN pin of the first MD5340 chip and the VIN pin of the second MD5340 chip respectively, the other end of the thirtieth capacitor, the other end of the thirty-first capacitor, the GND pin of the second MD5340 chip and one end of the thirty-second 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 thirty-second capacitor are connected with the power supply VCC_Modu.
8. An infrared gas meter according to claim 7, characterized in that The infrared gas meter further comprises a low-voltage detection circuit for detecting the power supply circuit, the low-voltage detection circuit comprising 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 twenty-fifth resistor is connected with the processor, the other end of the twenty-fifth resistor is connected with the base of the ninth transistor, the emitter of the ninth transistor is grounded, the collector of the ninth transistor is connected with one end of the twenty-sixth resistor, the other end of the twenty-sixth resistor is connected with the base of the tenth transistor, the emitter of the tenth transistor is connected with the power supply VBAT, the collector of the tenth transistor is connected with one end of the twenty-seventh resistor, the other end of the twenty-seventh resistor is connected with one end of the twenty-eighth resistor and the processor respectively, the other end of the twenty-eighth resistor is grounded.
9. An infrared gas meter according to claim 1, wherein, The infrared gas meter further comprises a memory, the memory comprising 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 connected with the power supply VDD, the other end of the thirty-third capacitor is grounded, the SCL pin of the 24LC64 chip and the SDA pin of the 24LC64 chip are connected with the processor.
10. An infrared gas meter according to claim 9, characterized in that The infrared gas meter further comprises a buzzer output circuit, the buzzer output circuit comprising a buzzer, a twenty-ninth resistor and an eleventh transistor, One end of the twenty-ninth resistor is connected with the processor, the other end of the twenty-ninth resistor is connected with the base of the eleventh transistor, the emitter of the eleventh transistor is grounded, the collector of the eleventh transistor is connected with one end of the buzzer, the other end of the buzzer is connected with the power supply VCC.