Gas valve control circuit and device
By designing a gas valve control circuit to monitor and control the power supply voltage in real time, the safety hazards of ultrasonic gas meter under low voltage conditions are solved, and the safe operation of the gas meter and the public safety guarantee are achieved.
Patent Information
- Application Number
- CN202411839744.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-06-06
AI Technical Summary
The lack of effective protection mechanisms when the power supply voltage is lower than the critical level, existing ultrasonic gas meters lack an effective protection mechanism, which may lead to reduced metering accuracy, control circuit failure and gas leakage risk, threatening public safety.
Design a gas valve control circuit, including a voltage monitoring module, a control module, a gas valve actuator and an alarm module. The circuit monitors the supply voltage in real time, compares with preset safety thresholds, outputs control signals to open or close the gas valve, and issues an alarm signal at low voltage conditions.
By monitoring and controlling the power supply voltage in real time, we ensure that the gas meter operates within the safe voltage range, avoid circuit failures and gas leakage, and effectively improve the strictness of gas safety management.
Smart Images

Figure CN120100951A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of safety control of gas equipment, and in particular to a gas valve control circuit and device. Background Art
[0002] In the vast network of gas supply systems, ultrasonic gas meters are core measuring components. Their accuracy and reliability are directly related to the safety and efficiency of gas use and the fairness of user billing. Ultrasonic technology occupies a pivotal position in modern gas metering due to its advantages such as non-contact measurement, high accuracy and long-term stability. However, the realization of this technical advantage is heavily dependent on a stable working voltage environment.
[0003] In actual application scenarios, the fluctuation of power supply voltage is an issue that cannot be ignored. Factors such as unstable power grid, aging power supply, line loss, etc. may cause the voltage received by the ultrasonic gas meter to be lower than the threshold required for its normal operation. When the power supply voltage drops below the critical level, it will not only affect the metering accuracy of the gas meter and cause distortion of user consumption data, but more seriously, it may cause the internal control circuit to fail and the valve to fail to respond to the closing command normally, thereby causing the risk of gas leakage and posing a direct threat to public safety.
[0004] The ultrasonic gas meters currently on the market often lack effective protection mechanisms when facing low voltage conditions. Most ultrasonic gas meters only rely on basic voltage monitoring functions, or give alarm signals when the voltage is abnormal, but fail to actively intervene and cut off the gas supply in time to prevent potential accidents. This passive response method obviously cannot meet the increasingly stringent requirements for gas safety management. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a gas valve control circuit and device.
[0006] The technical solution provided in this application is described below:
[0007] A first aspect of the present application provides a gas valve control circuit, comprising:
[0008] Voltage monitoring module, control module, gas valve actuator and alarm module;
[0009] The voltage monitoring module monitors the power supply voltage of the gas meter in real time and inputs the monitoring results into the control module;
[0010] The control module compares the monitoring result with a preset safety threshold and outputs a control signal to the gas valve actuator and the alarm module;
[0011] According to the control signal, the gas valve actuator controls the gas valve to open or close, and the alarm module controls the output of the alarm signal.
[0012] Optionally, the power supply voltage includes an external power supply and an internal power supply;
[0013] The voltage monitoring module monitors the power supply voltage of the gas meter in real time and inputs the monitoring result into the control module, including:
[0014] The voltage monitoring module monitors the external power supply of the gas meter in real time and inputs the first monitoring result into the control module;
[0015] The voltage monitoring module monitors the internal power supply of the gas meter in real time and inputs the second monitoring result into the control module.
[0016] Optionally, the safety threshold includes a first safety threshold and a second safety threshold;
[0017] The control module compares the monitoring result with a preset safety threshold and outputs a control signal to the gas valve actuator and the alarm module, including:
[0018] The control module compares the first monitoring result with a first safety threshold to obtain a first comparison result;
[0019] The control module compares the second monitoring result with a second safety threshold to obtain a second comparison result;
[0020] According to the first comparison result and the second comparison result, the control module outputs a control signal to the gas valve actuator and the alarm module.
[0021] Optionally, the first safety threshold is 1.13V, and the second safety threshold is 0.86V.
[0022] Optionally, the control signal includes an on signal, a off signal and an alarm signal;
[0023] The control module outputs a control signal to the gas valve actuator and the alarm module according to the first comparison result and the second comparison result, including:
[0024] Sending an opening signal or a closing signal to a gas valve actuator according to the first comparison result and the second comparison result;
[0025] An alarm control signal is sent to an alarm module according to the first comparison result and the second comparison result.
[0026] Optionally, the control module includes a voltage stabilizer and a controller;
[0027] The controller includes a controller power supply terminal, a controller first input terminal, a controller second input terminal, a controller first output terminal, a controller second output terminal, a controller third output terminal, a controller third input terminal, a controller fourth input terminal and a controller ground terminal;
[0028] The voltage stabilizer includes a voltage stabilizer input terminal, a voltage stabilizer output terminal and a voltage stabilizer ground terminal;
[0029] The output terminal of the voltage stabilizer is connected to the power supply terminal of the controller, and the ground terminal of the voltage stabilizer and the ground terminal of the controller are grounded.
[0030] Optionally, the voltage monitoring module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first diode, and a second diode;
[0031] The positive electrode of the external power supply is connected to one end of the first resistor and the negative electrode of the first diode;
[0032] The negative electrode of the external power supply is connected to one end of the second resistor and is grounded;
[0033] The other end of the first resistor is connected to the other end of the second resistor, and a first output end of the monitoring module is arranged at the connection;
[0034] The positive electrode of the internal power supply is connected to one end of the third resistor and the negative electrode of the second diode;
[0035] The negative electrode of the internal power supply is connected to one end of the fourth resistor and is grounded;
[0036] The other end of the third resistor is connected to the other end of the fourth resistor, and a second output end of the monitoring module is arranged at the connection;
[0037] The anode of the first diode is connected to the anode of the second diode, and a third output terminal of the monitoring module is arranged at the connection point;
[0038] The first output end of the monitoring module is connected to the first input end of the controller, the second output end of the monitoring module is connected to the second input end of the controller, and the third output end of the monitoring module is connected to the input end of the regulator.
[0039] Optionally, the gas valve actuator includes a driving chip, a first optical coupling isolation chip, a second optical coupling isolation chip, a first capacitor, a second capacitor, a third capacitor, a fifth resistor, a sixth resistor, a ninth resistor, a tenth resistor, and a gas valve;
[0040] The driving chip comprises a first input terminal of the driving chip, a second input terminal of the driving chip, a power terminal of the driving chip, a first output terminal of the driving chip, a second output terminal of the driving chip, an analog ground terminal and a power ground terminal;
[0041] The first input terminal of the driving chip is connected to the first output terminal of the controller, and the second input terminal of the driving chip is connected to the second output terminal of the controller;
[0042] The power supply terminal of the driving chip is connected to the power supply and the positive electrode of the first capacitor, the negative electrode of the first capacitor is connected to the positive electrode of the second capacitor, and the negative electrode of the second capacitor is grounded;
[0043] The analog ground terminal and the power ground terminal are grounded;
[0044] The first output terminal of the driver chip and the second output terminal of the driver chip are connected to the gas valve, and the first output terminal of the driver chip and the second output terminal of the driver chip are connected through a third capacitor;
[0045] One end of the first optical coupling isolation chip is connected to the third input end of the controller, one end is connected to one end of the fifth resistor, one end is grounded, and the other end is connected to one end of the ninth resistor;
[0046] The other end of the fifth resistor is connected to the power supply, and the other end of the ninth resistor is connected to the gas valve;
[0047] One end of the second optical coupling isolation chip is connected to the fourth input end of the controller, one end is connected to one end of the sixth resistor, one end is grounded, and the other end is connected to one end of the tenth resistor;
[0048] The other end of the sixth resistor is connected to the power supply, and the other end of the tenth resistor is connected to the gas valve.
[0049] Optionally, the alarm module includes a field effect transistor, a seventh resistor, an eighth resistor, and a buzzer;
[0050] One end of the seventh resistor is connected to the power supply, and the other end is connected to the source of the field effect tube;
[0051] The third output terminal of the controller and one end of the eighth resistor are connected to the gate of the field effect tube;
[0052] The positive electrode of the buzzer is connected to the drain of the field effect tube, and the negative electrode of the buzzer is connected to the other end of the eighth resistor and is grounded.
[0053] A second aspect of the present application provides a gas valve control device, comprising:
[0054] The voltage monitoring module is used to monitor the power supply voltage of the ultrasonic gas meter in real time and output the monitored analog signal to the control module;
[0055] A control module, used to receive the output of the voltage monitoring module, compare the monitoring result with a preset safety threshold, and output a control signal to the gas valve actuator and the alarm module;
[0056] The gas valve actuator is used to receive the control signal from the control module and control the opening or closing of the gas valve;
[0057] The alarm module is used to receive the control signal from the control module and drive the alarm device to send out an alarm signal.
[0058] It can be seen from the above technical solutions that this application has the following advantages:
[0059] The voltage monitoring module in the gas valve control circuit can monitor the voltage changes in the gas meter in real time to ensure that the gas meter works within the rated voltage range and avoid circuit failure or damage caused by excessively high or low voltage. The control module can accurately determine the power supply voltage status and send a control signal to control the gas valve based on the data of the voltage monitoring module. The gas valve actuator responds to the control signal of the control module to control the opening or closing of the gas valve. When the power supply voltage is judged to be low voltage, the alarm module responds to the control signal of the control module and immediately sends an alarm to notify the user, reminding the user to take timely measures to effectively prevent serious consequences such as fire and explosion caused by gas leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0061] Figure 1 A flow chart of an embodiment of the gas valve control circuit of the present application;
[0062] Figure 2 A flow chart of an embodiment of a method for outputting monitoring results for the present application;
[0063] Figure 3 A flow chart of an embodiment of a method for obtaining comparison results for the present application;
[0064] Figure 4 A flow chart of an embodiment of a method for outputting a control signal for the present application;
[0065] Figure 5 A circuit diagram of the gas valve control circuit for this application;
[0066] Figure 6 This is a schematic structural diagram of an embodiment of a gas valve control device of the present application. DETAILED DESCRIPTION
[0067] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0068] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0069] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0070] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0071] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0072] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0073] Based on this, the present application discloses a gas valve control circuit and device for real-time monitoring of the gas meter power supply voltage and realizing intelligent control of the opening or closing of the gas valve.
[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0075] See also Figure 1 The present application first provides an embodiment of a gas valve control circuit, which includes:
[0076] S101, the voltage monitoring module monitors the power supply voltage of the gas meter in real time, and inputs the monitoring result into the control module;
[0077] The gas valve control circuit is located inside the gas meter, and the voltage monitoring module is integrated into the gas valve control circuit and is close to the power input terminal of the gas meter.
[0078] When the gas meter is powered on, the voltage monitoring module starts working immediately. The voltage sensor captures the real-time power supply voltage, which fluctuates with the output of the power supply. The monitored power supply voltage is then converted into a digital signal, which is the final monitoring result. The voltage monitoring module sends the monitoring result to the control module through the circuit.
[0079] S102, the control module compares the monitoring result with the preset safety threshold, and outputs a control signal to the gas valve actuator and the alarm module;
[0080] The control module first receives the monitoring results from the voltage monitoring module, and the monitoring result data includes the real-time power supply voltage value. The received monitoring results will be pre-processed, such as denoising, filtering, etc.
[0081] The control module stores a preset safety threshold, which is determined based on the design specifications, safety standards and actual operating experience of the gas meter. The pre-processed monitoring results are compared with the preset safety threshold. If the monitoring results exceed the preset safety threshold, it is considered that there is a safety hazard in the current working state of the gas meter.
[0082] Once the monitoring result exceeds the safety threshold, the control module will immediately generate a corresponding control signal, which includes an instruction to close the gas valve, an instruction to open the gas valve, an instruction to start the alarm module, etc. The control module sends the generated control signal to the gas valve actuator or the alarm module through the circuit.
[0083] S103. According to the control signal, the gas valve actuator controls the gas valve to open or close, and the alarm module controls the output of the alarm signal.
[0084] When the control module sends a control signal, the gas valve actuator receives the control signal through the circuit. The gas valve actuator interprets the instructions of the control signal, and the gas valve actuator will perform the corresponding action according to the instructions. If the control signal indicates to open the gas valve, the actuator will activate its internal drive mechanism (such as a motor, solenoid valve, etc.), thereby pushing or pulling the gas valve from a closed state to an open state, allowing gas to pass. On the contrary, if the control signal indicates to close the gas valve, the actuator will take the opposite action to ensure that the gas valve is completely closed, thereby cutting off the gas supply.
[0085] Similar to the gas valve actuator, the alarm module also receives control signals from the control module through the circuit. The alarm module will analyze the received control signal to determine whether an alarm signal needs to be output and the type and level of the alarm signal. If the control signal indicates that an alarm signal needs to be output, the alarm module will output the corresponding alarm signal according to the signal's instructions.
[0086] The alarm signal may include an acoustic signal (such as a beep, alarm), an optical signal (such as a flashing LED light), a text message (such as a warning message on a display), or a remote communication signal (such as an alarm message sent to an administrator or security service via a wireless network). The output method and intensity of the alarm signal may vary depending on the specific configuration of the gas meter system and the type of alarm.
[0087] In this embodiment, the voltage monitoring module in the gas valve control circuit can monitor the voltage changes in the gas meter in real time to ensure that the gas meter operates within the rated voltage range and avoid circuit failure or damage caused by excessively high or low voltage. The control module can accurately determine the power supply voltage state and send a control signal to control the gas valve based on the data of the voltage monitoring module. The gas valve actuator responds to the control signal of the control module to control the opening or closing of the gas valve. When the power supply voltage is judged to be low voltage, the alarm module responds to the control signal of the control module and immediately sends an alarm to notify the user, reminding the user to take timely measures to effectively prevent serious consequences such as fire and explosion caused by gas leakage.
[0088] See also Figure 2 In a specific embodiment, the power supply voltage includes an external power supply and an internal power supply. The present application provides an embodiment of a method for outputting a monitoring result, including:
[0089] S201, the voltage monitoring module monitors the external power supply of the gas meter in real time, and inputs the first monitoring result into the control module;
[0090] When the gas meter is powered by an external power source, the voltage sensor in the voltage monitoring module starts to monitor the voltage of the external power source and capture the voltage value of the external power source in real time. The voltage value will fluctuate with the fluctuation of the external power source, and the monitoring module can respond quickly and record accurately.
[0091] The monitored voltage value of the external power supply is converted into a digital signal, and the converted digital voltage signal may need to be further filtered, amplified, etc. to obtain a first monitoring result. The voltage monitoring module sends the first monitoring result to the control module through the circuit.
[0092] S202: The voltage monitoring module monitors the internal power supply of the gas meter in real time, and inputs the second monitoring result into the control module.
[0093] When the gas meter is powered by an internal power supply, the voltage sensor in the voltage monitoring module starts to monitor the voltage of the internal power supply and capture the voltage value of the internal power supply in real time. The voltage value will fluctuate with the fluctuation of the internal power supply, and the monitoring module can respond quickly and record accurately.
[0094] The monitored voltage value of the internal power supply is converted into a digital signal, and the converted digital voltage signal may need to be further filtered, amplified, etc. to obtain a second monitoring result. The voltage monitoring module sends the second monitoring result to the control module through the circuit.
[0095] In this embodiment, the voltage monitoring module can monitor the voltage of the external power supply and the internal power supply of the gas meter in real time. Real-time monitoring of the external power supply helps to promptly discover the instability of the external power supply, thereby preventing the gas meter from being damaged or working abnormally due to external power supply problems. Real-time monitoring of the internal power supply ensures that when the external power supply fails, the internal power supply can reliably provide power support for the gas meter, ensuring the normal operation of the gas meter in an emergency and avoiding service interruption or data loss due to power interruption.
[0096] See also Figure 3 In a specific embodiment, the safety threshold includes a first safety threshold and a second safety threshold. The present application provides an embodiment of a method for obtaining a comparison result, including:
[0097] S301, the control module compares the first monitoring result with the first safety threshold to obtain a first comparison result;
[0098] The control module is responsible for receiving the first monitoring result from the voltage monitoring module, and the first monitoring result reflects the real-time voltage status of the external power supply of the gas meter. One or more safety thresholds related to the external power supply are preset inside the control module.
[0099] The control module compares the first monitoring result with a preset first safety threshold value. Through the comparison, the control module can determine whether the external power supply is in a safe and stable working state, and generate a first comparison result indicating the state of the external power supply.
[0100] If the first monitoring result is within the preset safety threshold range, it means that the external power supply is safe. If the first monitoring result exceeds the preset safety threshold, it means that there is a safety hazard in the external power supply.
[0101] S302, the control module compares the second monitoring result with the second safety threshold to obtain a second comparison result;
[0102] The control module also receives the second monitoring result from the voltage monitoring module, and the second monitoring result reflects the real-time voltage status of the internal power supply of the gas meter. Similar to the first monitoring result, the second monitoring result also needs to be compared with the second safety threshold preset in the control module.
[0103] The control module compares the second monitoring result with the second safety threshold, and the control module can determine whether the internal power supply is in a healthy and usable state, and generate a second comparison result indicating the state of the external power supply.
[0104] If the second monitoring result is within the preset safety threshold, it means that the internal power supply is reliable, and the control module will record this state. If the second monitoring result exceeds the preset safety threshold, it means that the internal power supply is faulty or about to be exhausted.
[0105] S303: According to the first comparison result and the second comparison result, the control module outputs a control signal to the gas valve actuator and the alarm module.
[0106] The control module combines the first comparison result and the second comparison result, and determines whether the overall power supply status of the gas meter system is safe according to the two results.
[0107] If both comparison results indicate that the power supply condition is safe, the control module will maintain the current state of the gas valve actuator (eg, open or closed), indicating that the system is in normal working condition.
[0108] If any comparison result indicates that the power supply condition is abnormal, the control module will immediately output a control signal to the gas valve actuator to ensure that appropriate measures are taken in the event of power instability or failure.
[0109] In this embodiment, the control module compares the first monitoring result with the preset first safety threshold. Through the comparison, the control module can determine whether the external power supply is in a safe and stable working state. The control module compares the second monitoring result with the second safety threshold, and the control module can determine whether the internal power supply is in a healthy and usable state.
[0110] Through the two comparisons, the system can quickly identify potential safety hazards and make decisions quickly, sending corresponding control signals to the gas valve actuator and alarm module.
[0111] See also Figure 4 In a specific embodiment, the control signal includes an on signal, a off signal and an alarm signal. The present application provides an embodiment of a method for outputting a control signal, including:
[0112] S401, sending an opening signal or a closing signal to a gas valve actuator according to a first comparison result and a second comparison result;
[0113] After receiving the first comparison result and the second comparison result from the control module, the system will first make a comprehensive judgment. If the first comparison result and the second comparison result do not exceed their respective safety thresholds, an opening signal will be sent to the gas valve actuator to allow normal gas supply. If any comparison result shows an abnormality, a closing signal will be immediately sent to the gas valve actuator to cut off the gas supply to prevent potential safety hazards.
[0114] S402: Send an alarm control signal to an alarm module according to the first comparison result and the second comparison result.
[0115] After comprehensively judging the first comparison result and the second comparison result, if the system detects any abnormality, in addition to sending a closing signal to the gas valve actuator, it will also send an alarm control signal to the alarm module at the same time. The alarm control signal can enable the alarm module to output or stop the corresponding alarm signal according to the preset alarm rules.
[0116] In this embodiment, through the two comparison results, the system can quickly determine abnormal situations and send corresponding control signals in time to avoid the occurrence of dangerous situations such as gas leakage.
[0117] In a specific embodiment, the first safety threshold is 1.13V, and the second safety threshold is 0.86V.
[0118] In the gas safety monitoring system, voltage that is too high or too low may damage the system and even cause safety hazards. Therefore, in order to ensure the stable operation of the system and the safety of users, it is necessary to set a reasonable voltage safety threshold. The setting of the safety threshold is usually based on the electrical characteristics of the system, the rated voltage of the equipment, as well as long-term operating experience and safety standards. By comprehensively considering these factors, it can be ensured that the set threshold is neither too strict to cause frequent false alarms, nor too loose to increase safety hazards.
[0119] See also Figure 5 , the present application provides a circuit diagram of a gas valve control circuit, including:
[0120] The control module includes a voltage regulator U1 and a controller U2;
[0121] The controller U2 includes a controller power supply terminal VDD, a controller first input terminal P20, a controller second input terminal P21, a controller first output terminal P44, a controller second output terminal P45, a controller third output terminal P46, a controller third input terminal P76, a controller fourth input terminal P77 and a controller ground terminal VSS;
[0122] The voltage regulator U1 includes a voltage regulator input terminal Vin, a voltage regulator output terminal Vout and a voltage regulator ground terminal GND;
[0123] The output terminal Vout of the voltage regulator is connected to the power supply terminal VDD of the controller, and the ground terminal GND of the voltage regulator and the ground terminal VSS of the controller are grounded;
[0124] The voltage monitoring module includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first diode D1, and a second diode D2;
[0125] The positive electrode of the external power source BAT1 is connected to one end of the first resistor R1 and the negative electrode of the first diode D1;
[0126] The negative electrode of the external power source BAT1 is connected to one end of the second resistor R2 and is grounded;
[0127] The other end of the first resistor R1 is connected to the other end of the second resistor R2, and the first output end of the monitoring module is arranged at the connection;
[0128] The positive electrode of the internal power supply BAT2 is connected to one end of the third resistor R3 and the negative electrode of the second diode D2;
[0129] The negative electrode of the internal power supply BAT2 is connected to one end of the fourth resistor R4 and is grounded;
[0130] The other end of the third resistor R3 is connected to the other end of the fourth resistor R4, and the second output end of the monitoring module is arranged at the connection;
[0131] The anode of the first diode D1 is connected to the anode of the second diode D2, and the third output terminal of the monitoring module is arranged at the connection point;
[0132] The first output terminal of the monitoring module is connected to the first input terminal P20 of the controller, the second output terminal of the monitoring module is connected to the second input terminal P21 of the controller, and the third output terminal of the monitoring module is connected to the input terminal Vin of the voltage regulator;
[0133] The gas valve actuator includes a driving chip U3, a first optocoupler isolation chip U4, a second optocoupler isolation chip U5, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fifth resistor R5, a sixth resistor R6, a ninth resistor R9, a tenth resistor R10, and a gas valve P1;
[0134] The driver chip U3 includes a first driver chip input terminal INA, a second driver chip input terminal INB, a driver chip power terminal VDD, a first driver chip output terminal OUTA, a second driver chip output terminal OUTB, an analog ground terminal AGND, and a power ground terminal PGND;
[0135] The first input terminal INA of the driver chip is connected to the first output terminal P44 of the controller, and the second input terminal INB of the driver chip is connected to the third output terminal P45 of the controller;
[0136] The power supply terminal VDD of the driving chip is connected to the power supply and the positive electrode of the first capacitor C1, the negative electrode of the first capacitor C1 is connected to the positive electrode of the second capacitor C2, and the negative electrode of the second capacitor C2 is grounded;
[0137] The analog ground terminal AGND and the power ground terminal PGND are grounded;
[0138] The first output terminal OUTA of the driving chip and the second output terminal OUTB of the driving chip are connected to the gas valve P1, and the first output terminal OUTA of the driving chip and the second output terminal OUTB of the driving chip are connected through the third capacitor C3;
[0139] One end of the first optical coupling isolation chip U4 is connected to the third input terminal P76 of the controller, one end is connected to one end of the fifth resistor R5, one end is grounded, and the other end is connected to one end of the ninth resistor R9;
[0140] The other end of the fifth resistor R5 is connected to the power supply, and the other end of the ninth resistor R9 is connected to the gas valve P1;
[0141] One end of the second optical coupling isolation chip U5 is connected to the fourth input terminal P77 of the controller, one end is connected to one end of the sixth resistor R6, one end is grounded, and the other end is connected to one end of the tenth resistor R10;
[0142] The other end of the sixth resistor R6 is connected to the power supply, and the other end of the tenth resistor R10 is connected to the gas valve P1;
[0143] The alarm module includes a field effect transistor Q1, a seventh resistor R7, an eighth resistor R8, and a buzzer BZ1;
[0144] One end of the seventh resistor R7 is connected to the power supply, and the other end is connected to the source of the field effect transistor Q1;
[0145] The second output terminal P46 of the controller and one end of the eighth resistor R8 are connected to the gate of the field effect transistor Q1;
[0146] The positive electrode of the buzzer BZ1 is connected to the drain of the field effect transistor Q1 , and the negative electrode of the buzzer BZ1 is connected to the other end of the eighth resistor R8 and is grounded.
[0147] When the ultrasonic gas meter is in normal working state, the working principle of the gas valve control circuit is:
[0148] When the external power supply BAT1 input by the monitoring module received by the first input terminal P20 of the controller of the control module U2 is higher than the preset threshold value 1.13V, that is, the voltage of the external power supply BAT1 is greater than 4.52V; at the same time, the internal power supply BAT2 input by the monitoring module received by the second input terminal P21 of the controller is higher than the preset threshold value 0.86V, that is, the internal power supply BAT2 is greater than 3.45V; at this time, the ultrasonic gas meter works normally and the internal power supply BAT2 is in a non-powered state (i.e., the cut-off state), and the power supply required for the operation of the entire system is completely dependent on the stable supply of the external power supply BAT1.
[0149] In terms of the control circuit, after the control module U2 receives the monitoring results output by the first output terminal and the second output terminal of the monitoring module through the first input terminal P20 and the second input terminal P21 of the controller, the monitoring results are compared with the preset safety threshold value inside the control module. When the external power supply BAT1 and the internal power supply BAT2 of the gas meter are both higher than the preset safety threshold value, the control module U2 sends a high level to the driver chip U3 through the first output terminal P44 of the controller and sends a low level to the driver chip U3 through the second output terminal P45 of the controller; after the driver chip U3 receives the high and low level combination output by the control module U2, it outputs a signal to the gas valve P1 through the first output terminal OUTA and the second output terminal OUTB of the driver chip so that the first capacitor C1 and the second capacitor C2 provide the necessary instantaneous power to open the gas valve. After the gas valve is opened, the gas valve P1 feeds back an opening position signal to the third input terminal P76 of the controller of the control module U2, and the control module U2 determines that the gas valve is fully opened.
[0150] In addition, the alarm module of the circuit will continuously monitor whether the third output terminal P46 of the controller of the control module U2 outputs an alarm control signal. As long as the third output terminal P46 of the controller remains at a low level, the buzzer BZ1 will not issue any alarm response, indicating that the current system is in normal operation.
[0151] When the external power supply is in low power abnormal state, the working principle of the gas valve control circuit is:
[0152] When the external power supply BAT1 input by the monitoring module received by the first input terminal P20 of the controller of the control module U2 is lower than the preset threshold value 1.13V, that is, the voltage of the external power supply BAT1 is less than 4.52V; at the same time, the internal power supply BAT2 input by the monitoring module received by the second input terminal P21 of the controller is higher than the preset threshold value 0.86V, that is, the internal power supply BAT2 is greater than 3.45V; at this time, the ultrasonic gas meter works normally and the external power supply BAT1 is in a non-powered state (i.e., the cut-off state), and the power supply required for the operation of the entire system is completely dependent on the stable supply of the internal power supply BAT2.
[0153] In terms of the control circuit, after the control module U2 receives the monitoring results output by the first output terminal and the second output terminal of the monitoring module through the first input terminal P20 and the second input terminal P21 of the controller, the monitoring results are compared with the preset safety threshold value inside the control module. When the external power supply BAT1 of the gas meter is lower than the preset safety threshold value and the internal power supply BAT2 is higher than the preset safety threshold value, the control module U2 sends a low level to the driver chip U3 through the first output terminal P44 of the controller and sends a high level to the driver chip U3 through the second output terminal P45 of the controller; after the driver chip U3 receives the high and low level combination output by the control module U2, it outputs a signal to the gas valve P1 through the first output terminal OUTA and the second output terminal OUTB of the driver chip so that the first capacitor C1 and the second capacitor C2 provide the necessary instantaneous power to close the gas valve. After the gas valve is closed, the gas valve P1 feeds back a closed position signal to the third input terminal P77 of the controller of the control module U2, and the control module U2 determines that the gas valve is completely closed.
[0154] In addition, the alarm module of the circuit detects that the third output terminal P46 of the controller of the control module U2 outputs an alarm control signal, and the buzzer BZ1 is activated and issues an alarm response, indicating that the current system is in an abnormal operating state.
[0155] When the internal power supply is in abnormal low power state, the working principle of the gas valve control circuit is:
[0156] When the external power supply BAT1 input by the monitoring module received by the first input terminal P20 of the controller of the control module U2 is higher than the preset threshold value 1.13V, that is, the voltage of the external power supply BAT1 is greater than 4.52V; at the same time, the internal power supply BAT2 input by the monitoring module received by the second input terminal P21 of the controller is lower than the preset threshold value 0.86V, that is, the internal power supply BAT2 is less than 3.45V; at this time, the ultrasonic gas meter works normally and the internal power supply BAT2 is in a non-powered state (i.e., the cut-off state), and the power supply required for the operation of the entire system is completely dependent on the stable supply of the external power supply BAT1.
[0157] In terms of the control circuit, the principle is similar to that when the external power supply is in an abnormal low-power state.
[0158] See also Figure 6 The present application also provides a gas valve control device, comprising:
[0159] The voltage monitoring module 601 is used to monitor the power supply voltage of the ultrasonic gas meter in real time and output the monitored analog signal to the control module;
[0160] The control module 602 is used to receive the output of the voltage monitoring module, compare the monitoring result with the preset safety threshold, and output a control signal to the gas valve actuator and the alarm module;
[0161] The gas valve actuator 603 is used to receive the control signal from the control module and control the opening or closing of the gas valve;
[0162] The alarm module 604 is used to receive the control signal from the control module and drive the alarm device to send out an alarm signal.
[0163] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0164] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0165] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Claims
1. A gas valve control circuit, characterized in that: include: Voltage monitoring module, control module, gas valve actuator and alarm module; The voltage monitoring module monitors the power supply voltage of the gas meter in real time and inputs the monitoring results into the control module; The control module compares the monitoring result with a preset safety threshold and outputs a control signal to the gas valve actuator and the alarm module; According to the control signal, the gas valve actuator controls the gas valve to open or close, and the alarm module controls the output of the alarm signal.
2. The gas valve control circuit according to claim 1, characterized in that: The power supply voltage includes an external power supply and an internal power supply; The voltage monitoring module monitors the power supply voltage of the gas meter in real time and inputs the monitoring result into the control module, including: The voltage monitoring module monitors the external power supply of the gas meter in real time and inputs the first monitoring result into the control module; The voltage monitoring module monitors the internal power supply of the gas meter in real time and inputs the second monitoring result into the control module.
3. The gas valve control circuit according to claim 2, characterized in that: The safety threshold comprises a first safety threshold and a second safety threshold; The control module compares the monitoring result with a preset safety threshold and outputs a control signal to the gas valve actuator and the alarm module, including: The control module compares the first monitoring result with a first safety threshold to obtain a first comparison result; The control module compares the second monitoring result with a second safety threshold to obtain a second comparison result; According to the first comparison result and the second comparison result, the control module outputs a control signal to the gas valve actuator and the alarm module.
4. The gas valve control circuit according to claim 3, characterized in that: The first safety threshold is 1.13V, and the second safety threshold is 0.86V.
5. The gas valve control circuit according to claim 3, characterized in that: The control signal includes an on signal, a off signal and an alarm signal; The control module outputs a control signal to the gas valve actuator and the alarm module according to the first comparison result and the second comparison result, including: Sending an opening signal or a closing signal to a gas valve actuator according to the first comparison result and the second comparison result; According to the first comparison result and the second comparison result, an alarm control signal is sent to the gas valve actuator.
6. The gas valve control circuit according to claim 2, characterized in that: The control module includes a voltage stabilizer and a controller; The controller includes a controller power supply terminal, a controller first input terminal, a controller second input terminal, a controller first output terminal, a controller second output terminal, a controller third output terminal, a controller third input terminal, a controller fourth input terminal and a controller ground terminal; The voltage stabilizer includes a voltage stabilizer input terminal, a voltage stabilizer output terminal and a voltage stabilizer ground terminal; The output terminal of the voltage stabilizer is connected to the power supply terminal of the controller, and the ground terminal of the voltage stabilizer and the ground terminal of the controller are grounded.
7. The gas valve control circuit according to claim 6, characterized in that: The voltage monitoring module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first diode, and a second diode; The positive electrode of the external power supply is connected to one end of the first resistor and the negative electrode of the first diode; The negative electrode of the external power supply is connected to one end of the second resistor and is grounded; The other end of the first resistor is connected to the other end of the second resistor, and a first output end of the monitoring module is arranged at the connection; The positive electrode of the internal power supply is connected to one end of the third resistor and the negative electrode of the second diode; The negative electrode of the internal power supply is connected to one end of the fourth resistor and is grounded; The other end of the third resistor is connected to the other end of the fourth resistor, and a second output end of the monitoring module is arranged at the connection; The anode of the first diode is connected to the anode of the second diode, and a third output terminal of the monitoring module is arranged at the connection point; The first output end of the monitoring module is connected to the first input end of the controller, the second output end of the monitoring module is connected to the second input end of the controller, and the third output end of the monitoring module is connected to the input end of the regulator.
8. The gas valve control circuit according to claim 6, characterized in that: The gas valve actuator comprises a driving chip, a first optical coupling isolation chip, a second optical coupling isolation chip, a first capacitor, a second capacitor, a third capacitor, a fifth resistor, a sixth resistor, a ninth resistor, a tenth resistor, and a gas valve; The driving chip comprises a first input terminal of the driving chip, a second input terminal of the driving chip, a power terminal of the driving chip, a first output terminal of the driving chip, a second output terminal of the driving chip, an analog ground terminal and a power ground terminal; The first input terminal of the driving chip is connected to the first output terminal of the controller, and the second input terminal of the driving chip is connected to the second output terminal of the controller; The power supply terminal of the driving chip is connected to the power supply and the positive electrode of the first capacitor, the negative electrode of the first capacitor is connected to the positive electrode of the second capacitor, and the negative electrode of the second capacitor is grounded; The analog ground terminal and the power ground terminal are grounded; The first output terminal of the driver chip and the second output terminal of the driver chip are connected to the gas valve, and the first output terminal of the driver chip and the second output terminal of the driver chip are connected through a third capacitor; One end of the first optical coupling isolation chip is connected to the third input end of the controller, one end is connected to one end of the fifth resistor, one end is grounded, and the other end is connected to one end of the ninth resistor; The other end of the fifth resistor is connected to the power supply, and the other end of the ninth resistor is connected to the gas valve; One end of the second optical coupling isolation chip is connected to the fourth input end of the controller, one end is connected to one end of the sixth resistor, one end is grounded, and the other end is connected to one end of the tenth resistor; The other end of the sixth resistor is connected to the power supply, and the other end of the tenth resistor is connected to the gas valve.
9. The gas valve control circuit according to claim 6, characterized in that: The alarm module includes a field effect tube, a seventh resistor, an eighth resistor, and a buzzer; One end of the seventh resistor is connected to the power supply, and the other end is connected to the source of the field effect tube; The third output terminal of the controller and one end of the eighth resistor are connected to the gate of the field effect tube; The positive electrode of the buzzer is connected to the drain of the field effect tube, and the negative electrode of the buzzer is connected to the other end of the eighth resistor and is grounded.
10. A gas valve control device, characterized in that: include: The voltage monitoring module is used to monitor the power supply voltage of the ultrasonic gas meter in real time and output the monitored analog signal to the control module; A control module, used to receive the output of the voltage monitoring module, compare the monitoring result with a preset safety threshold, and output a control signal to the gas valve actuator and the alarm module; The gas valve actuator is used to receive the control signal from the control module and control the opening or closing of the gas valve; The alarm module is used to receive the control signal from the control module and drive the alarm device to send out an alarm signal.