Gas pipeline earthquake emergency disposal device and disposal method

By designing the emergency earthquake response device of gas pipelines, and automatically controlling the electric valve to shut down using the MCU and three-axis acceleration sensor, the problem of automatic control and maintenance of earthquake pipeline disaster prevention and mitigation products in the existing technology is solved, and the gas pipeline is realized in earthquake Automated shutdown and high reliability operation when it occurs.

CN111522061BActive Publication Date: 2025-02-11INST OF EARTHQUAKE CHINA EARTHQUAKE ADMINISTRATION +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010469674.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-28
Publication Date
2025-02-11
Estimated Expiration
2040-05-28

AI Technical Summary

Technical Problem

The existing earthquake pipeline disaster prevention and mitigation products have problems such as single trigger valve threshold, inability to achieve automatic control, easy to malfunction and damage, long-term manpower monitoring and on-site maintenance, and inconvenient installation and maintenance.

Method used

An emergency response device for earthquakes in gas pipelines is designed, including MCU, three-axis acceleration sensor, valve closing sub-circuit, electric valve and communication sub-circuit. The vibration of the pipeline is detected through the three-axis acceleration sensor. The acceleration detection result is processed by the MCU and the electric motor is automatically controlled. The valve performs a shutdown operation and communicates with other devices or remote master stations through the communication sub-circuit to realize automated and majority-decision judgment.

Benefits of technology

It realizes automatic shutdown of gas pipelines when earthquakes occur, reduces the risk of malfunction and damage, reduces the need for manpower monitoring and maintenance, and improves the reliability and convenience of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111522061B_ABST
    Figure CN111522061B_ABST
Patent Text Reader

Abstract

The present invention provides a gas pipeline earthquake emergency disposal device and a disposal method thereof, comprising an MCU, a three-axis acceleration sensor, a valve closing subcircuit, an electric valve with a pipeline shut-off component and a communication subcircuit; the output end of the three-axis acceleration sensor is electrically connected to the GPIO port and the interrupt port of the MCU respectively; the MCU is electrically connected to the input end of the valve closing subcircuit; the MCU is also electrically connected to the communication subcircuit; the output end of the valve closing subcircuit is electrically connected to the input end of the electric valve, and the feedback signal end of the electric valve is electrically connected to the input end of the MCU; wherein the three-axis acceleration sensor detects the vibration acceleration of the pipeline and sends the acceleration detection result to the MCU; the MCU turns on the valve closing subcircuit and the communication subcircuit and performs a local valve shut-off action, and the MCU can also communicate with the communication subcircuit of other nearby gas pipeline earthquake emergency disposal devices or a remote master station through the communication subcircuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of earthquake detection, and in particular to a gas pipeline earthquake emergency disposal device and a disposal method thereof. Background Art

[0002] my country first recognized the gas system earthquake emergency disposal system in 2000. The experience of the lifeline earthquake damage in the Hanshin Earthquake in Japan provided inspiration for the disaster prevention and mitigation of the city's lifeline system, and realized that earthquake safety control and emergency disposal are more effective ways to reduce disasters. With the gradual strengthening of awareness of disaster prevention and mitigation, people have analyzed the earthquake damage to the gas system and developed mechanical earthquake pipeline valves and other products in a targeted manner. When an earthquake occurs, the mechanical structure is used to close the gas pipeline to reduce the economic losses and secondary disasters caused by the earthquake.

[0003] However, existing earthquake pipeline disaster prevention and mitigation products still have shortcomings. The trigger valve threshold set for the fully mechanical earthquake pipeline valve is single, and automatic control cannot be achieved. It is easy to cause misoperation and damage, requires long-term human monitoring and on-site maintenance, and is not convenient to install and maintain. Summary of the invention

[0004] In view of this, the present invention proposes a gas pipeline earthquake emergency handling device and a handling method thereof, which are capable of detecting earthquake signals and reliably shutting off the gas pipeline.

[0005] The technical solution of the present invention is achieved in this way:

[0006] In one aspect, the present invention provides a gas pipeline earthquake emergency handling device, characterized in that it comprises an MCU (1), a three-axis acceleration sensor (2), a valve closing subcircuit (3), an electric valve having a pipeline shutoff component (4), and a communication subcircuit (5);

[0007] The output end of the three-axis acceleration sensor (2) is electrically connected to the GPIO port and the interrupt port of the MCU (1) respectively; the MCU (1) is electrically connected to the input end of the valve closing subcircuit (3); the MCU (1) is also electrically connected to the communication subcircuit (5); the output end of the valve closing subcircuit (3) is electrically connected to the input end of the electric valve (4), and the feedback signal end of the electric valve (4) is electrically connected to the input end of the MCU (1);

[0008] The three-axis acceleration sensor (2) detects the vibration acceleration of the pipeline and sends the acceleration detection result to the MCU (1); the MCU (1) enters a working state and starts the valve closing subcircuit (3) and the communication subcircuit (5) according to the acceleration detection result; the valve closing subcircuit (3) starts the electric valve (4) and performs a valve closing action; the electric valve (4) feeds back the current position information of the closed pipeline component after the action to the MCU (1); the MCU (1) communicates with the communication subcircuit (5) of other nearby gas pipeline earthquake emergency disposal devices or a remote master station through the communication subcircuit (5).

[0009] On the basis of the above technical solution, preferably, the SPI port of the three-axis acceleration sensor (2) is electrically connected to the SPI port of the MCU (1) in a one-to-one correspondence, and the interrupt output end of the three-axis acceleration sensor (2) is electrically connected to the interrupt input end of the MCU (1); and the interrupt signal emitted by the interrupt output end of the three-axis acceleration sensor (2) serves as a wake-up signal for the MCU (1) to enter a working state from a sleep standby state.

[0010] Further preferably, the valve closing subcircuit (3) comprises a boost chip U1 and a single-channel switch chip U2, the input end of the boost chip U1 is electrically connected to a +3.3V power supply, and the enable end of the boost chip U1 is electrically connected to a GPIO port of the MCU (1); the output end of the boost chip U1 is electrically connected to the input end and the enable end of the single-channel switch chip U2, and the output end of the single-channel switch chip U2 is electrically connected to the electric valve (4).

[0011] More preferably, the open position and the closed position of the pipeline shutoff component of the electric valve (4) are both provided with a distance sensor S1, and the output end of the distance sensor S1 is electrically connected to the GPIO port of the MCU (1).

[0012] Further preferably, the communication subcircuit (5) comprises a load switch U3, a level conversion chip U4 and a NB-IOT communication unit U5, the input end of the load switch U3 being electrically connected to the GPIO port of the MCU (1); the power input end of the load switch U3 being electrically connected to the +3.3V power supply, the output end of the load switch U3 being electrically connected to the power end of the NB-IOT communication unit U5; the UART port of the MCU (1) and the URART port of the NB-IOT communication unit U5 being electrically connected to the transceiver port of the level conversion chip U4 in a one-to-one correspondence.

[0013] On the basis of the above technical solution, preferably, a rechargeable power source (6) is further included, and the rechargeable power source (6) is electrically connected to the MCU (1), the three-axis acceleration sensor (2), the valve closing subcircuit (3), the electric valve (4) and the communication subcircuit (5) respectively.

[0014] On the other hand, the present invention also provides a method for handling a gas pipeline earthquake emergency handling device, comprising the following steps:

[0015] S1: Initializing the configuration of the MCU (1), the three-axis acceleration sensor (2), the valve closing subcircuit (3), the electric valve (4) having a pipeline shutoff component, and the communication subcircuit (5), so that the electric valve (4) is in a normally open position and the gas pipeline is supplied with gas normally; the MCU (1) and the three-axis acceleration sensor (2) are in a dormant energy-saving state when not in operation; the three-axis acceleration sensor (2) sets a first acceleration threshold and a second acceleration threshold;

[0016] S2: When the gas pipeline vibrates and exceeds a first acceleration threshold, the three-axis acceleration sensor (2) is activated and performs acceleration measurement. When the vibration acceleration detected by the three-axis acceleration sensor (2) is less than a second acceleration threshold, the three-axis acceleration sensor (2) does not output and goes into sleep again after a delay. When the vibration acceleration detected by the three-axis acceleration sensor (2) is above the second acceleration threshold, the interrupt output end of the three-axis acceleration sensor (2) sends an interrupt signal to the interrupt input end of the MCU (1), wakes up the MCU (1), and sends the vibration acceleration measurement result to the MCU (1) through the SPI port.

[0017] S3: MCU (1) calculates the average value of vibration acceleration based on the received vibration acceleration measurement results and determines the earthquake intensity. When the average value of peak acceleration reaches 0.125g, it indicates an earthquake of intensity VII; when the average value of peak acceleration reaches 0.25g, it indicates an earthquake of intensity VIII; when the average value of peak acceleration reaches 0.5g, it indicates an earthquake of intensity IX;

[0018] S4: The MCU (1) sends an enable signal to the valve closing subcircuit (3) and the communication subcircuit (5) respectively according to the earthquake intensity level, thereby activating the valve closing subcircuit (3) and the communication subcircuit (5) and keeping them in a working state;

[0019] S5: the valve closing subcircuit (3) drives the electric valve (4) to close the gas pipeline. After the electric valve (4) is completely closed, the distance sensor S1 sends a feedback signal of the current position of the shut-off pipeline component to the MCU (1); the execution process of shutting off the local gas pipeline earthquake emergency disposal device is completed, and the gas supply of the gas pipeline is cut off;

[0020] S6: The MCU (1) also communicates the vibration acceleration measurement result, the vibration acceleration average value and the earthquake intensity information with the communication subcircuit (5) of other nearby gas pipeline earthquake emergency disposal devices or the remote main station through the communication subcircuit (5), and further confirms the earthquake intensity with other nearby gas pipeline earthquake emergency disposal devices or the remote main station to form a majority decision combination judgment algorithm of multiple gas pipeline earthquake emergency disposal devices, and keeps each gas pipeline open or closed according to the judgment result; if there are N gas pipeline earthquake emergency disposal devices in the area, and the remote main station receives the earthquake intensity information sent by M gas pipeline earthquake emergency disposal devices, when M≥N / 2, all gas pipeline earthquake emergency disposal devices in the area are activated to cut off the gas pipelines where their respective devices are located;

[0021] S7: When the three-axis acceleration sensor (2) does not send an interrupt signal to the MCU (1), the MCU (1) automatically wakes up periodically and starts the communication subcircuit (5) to actively send a heartbeat data packet in a normal working state to the remote master station.

[0022] The gas pipeline earthquake emergency disposal device and disposal method provided by the present invention have the following beneficial effects compared with the prior art:

[0023] (1) The present invention realizes the switching of the operating state of the gas pipeline valve by combining a three-axis acceleration sensor, an MCU, and a valve shutoff subcircuit. When the gas pipeline valve is not working or the three-axis acceleration sensor does not send an interrupt signal to the MCU, the gas pipeline valve is in a dormant energy-saving state, with low power consumption, long-term stable operation, and no frequent maintenance workload.

[0024] (2) The three-axis acceleration sensor can be equipped with two levels of vibration accelerator thresholds to prevent the valve shutoff subcircuit and electric valve from malfunctioning and frequent starting, which may cause damage to the valve mechanical parts;

[0025] (3) The MCU can use the information detected by the three-axis acceleration sensor to obtain the average vibration acceleration and the corresponding earthquake intensity, and execute corresponding gas pipeline maintenance or shutdown measures;

[0026] (4) When the shut-off pipeline component of the electric valve moves to the closed or open position, it will send position information to the MCU, prompting the MCU that the countermeasure has been executed;

[0027] (5) The present invention has a rechargeable power source, which can be connected to the power grid for charging at ordinary times. When there is a power outage or power outage due to an earthquake, the rechargeable power source can also provide energy for the earthquake emergency disposal device for a long time, ensuring its long-term stable operation;

[0028] (6) The MCU can further communicate with other gas pipeline earthquake emergency response devices or remote master stations near the communication sub-circuit to further confirm whether there are false alarms in the equipment and whether the shutdown strategy is accurate; that is, the decision reliability of the shutdown action can be further improved according to the number of devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 This is a structural block diagram of a gas pipeline earthquake emergency disposal device and a disposal method thereof according to the present invention;

[0031] Figure 2 A wiring diagram of a triaxial acceleration sensor and an MCU of a gas pipeline earthquake emergency disposal device and disposal method of the present invention;

[0032] Figure 3 It is a wiring diagram of a valve closing subcircuit, an electric valve and an MCU of a gas pipeline earthquake emergency disposal device and disposal method of the present invention;

[0033] Figure 4 The present invention discloses a wiring diagram of an MCU and a communication subcircuit of a gas pipeline earthquake emergency disposal device and a disposal method thereof. DETAILED DESCRIPTION

[0034] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] like Figure 1 As shown, the present invention provides a gas pipeline earthquake emergency disposal device, including MCU1, a three-axis acceleration sensor 2, a valve closing subcircuit 3, an electric valve with a pipeline shutoff component 4, a communication subcircuit 5 and a rechargeable power supply 6;

[0036] The output end of the three-axis acceleration sensor 2 is electrically connected to the GPIO port and the interrupt port of the MCU1 respectively; the MCU1 is electrically connected to the input end of the valve closing subcircuit 3; the MCU1 is also electrically connected to the communication subcircuit 5; the output end of the valve closing subcircuit 3 is electrically connected to the input end of the electric valve 4, and the feedback signal end of the electric valve 4 is electrically connected to the input end of the MCU1;

[0037] Among them, the three-axis acceleration sensor 2 detects the vibration acceleration of the pipeline and sends the acceleration detection result to MCU1; MCU1 enters the working state and opens the valve closing subcircuit 3 and the communication subcircuit 5 according to the acceleration detection result, the valve closing subcircuit 3 starts the electric valve 4 and executes the valve closing action, and the electric valve 4 feeds back the position information of the closed pipeline component after the action to MCU1; MCU1 communicates with the communication subcircuit 5 of other nearby gas pipeline earthquake emergency disposal devices or the remote main station through the communication subcircuit 5.

[0038] The present invention adopts a circuit structure to replace the existing purely mechanical seismic pipeline valve. The three-axis acceleration sensor 2 detects whether there is vibration and actively wakes up the MCU1, so that the MCU1 enters the working state and further analyzes the acceleration detection results sent by the three-axis acceleration sensor 2, determines the corresponding intensity, and executes countermeasures to maintain the status quo of the electric valve 4 or shut down the electric valve 4.

[0039] like Figure 2 As shown, the SPI port of the three-axis acceleration sensor 2 is electrically connected to the SPI port of MCU1 in a one-to-one correspondence, and the terminal output end of the three-axis acceleration sensor 2 is electrically connected to the interrupt input end of MCU1. As can be seen from the figure, the three-axis acceleration sensor 2 in the present invention is the ADXL362 sensor of Texas Instruments, which is an ultra-low power MEMS accelerometer with a built-in AD conversion function, a wake-up and sleep mode with adjustable thresholds, and a very small size. MCU1 can select AduCM3029 of Texas Instruments, which is an ARM Cortex-M3 processor based on integrated power management. The SCLK, MOSI, MOSI and / CS ports of the three-axis acceleration sensor 2 are connected to the SPI port of MCU1, and the interrupt output port INT2 of the three-axis acceleration sensor 2 is connected to the interrupt input port of MCU1. The high level or low level interrupt signal of the port will cause MCU1 to enter the wake-up mode from the sleep mode. Of course, MCU1 can also be other products with similar functions, such as the STM32 microcontroller of STMicroelectronics.

[0040] like Figure 3As shown, the valve closing subcircuit 3 includes a boost chip U1 and a single-channel switch chip U2. The input end of the boost chip U1 is electrically connected to the +3.3V power supply, and the enable end of the boost chip U1 is electrically connected to the GPIO port of the MCU1; the output end of the boost chip U1 is electrically connected to the input end and the enable end of the single-channel switch chip U2. As can be seen from the figure, the enable signal output by the pin 41 of the MCU1 enables the boost chip U1 to work normally and realize voltage lifting. The boost chip U1 can output a +12V-+30V voltage to the single-channel switch chip U2, and the output end of the single-channel switch chip U2 is electrically connected to the electric valve 4. Power is supplied to the contacts of the electric valve 4, thereby causing the shut-off pipeline component to rotate relative to the gas pipeline, closing or opening the gas pipeline. The boost multiple of the boost chip U1 can be determined by R1+R2 / R2.

[0041] like Figure 3 As shown, in order to confirm the actual position of the shut-off pipeline component, a distance sensor S1 can be provided at the open position and the closed position of the shut-off pipeline component of the electric valve 4. The output end of the distance sensor S1 is electrically connected to the pin 42 of the MCU1, and the distance sensor S1 can send a position feedback signal back to the MCU1.

[0042] In the present invention, the boost chip U1 may be the TPS61096 chip of Texas Instruments, USA; the single-channel switch chip U2 may be the TPS22810 chip of Texas Instruments, USA. Of course, other chips with similar functions may also be used.

[0043] like Figure 4 As shown, the communication sub-circuit 5 includes a load switch U3, a level conversion chip U4 and a NB-IOT communication unit U5. The input end of the load switch U3 is electrically connected to the GPIO port of the MCU1; the power input end of the load switch U3 is electrically connected to the +3.3V power supply, and the output end of the load switch U3 is electrically connected to the power end of the NB-IOT communication unit U5; the UART port of the MCU1 and the URART port of the NB-IOT communication unit U5 are respectively electrically connected to the transceiver port of the level conversion chip U4 in a one-to-one correspondence.

[0044] In the present invention, the load switch U3 can be a TPS22917 chip from Texas Instruments, the level conversion chip U4 is a MAX3485 chip, and the NB-IOT communication unit U5 can be an E840-DTU terminal from Chengdu Yibite Electronic Technology Co., Ltd. or a HiSilicon NB-IOT terminal from Huawei.

[0045] like Figure 1As shown, the present invention includes a rechargeable power supply 6, which is electrically connected to the MCU1, the three-axis acceleration sensor 2, the valve closing subcircuit 3, the electric valve 4 and the communication subcircuit 5. Since the present invention adopts the MCU1 with a sleep function, it has extremely low standby power consumption and can operate stably for a long time. The rechargeable power supply 6 can usually obtain electric energy from the power grid and charge. When an earthquake, fire or power grid failure occurs, the rechargeable power supply 6 can continuously supply power to the device to maintain its normal operation. The rechargeable power supply 6 can use a UPS power supply.

[0046] In addition, the present invention also provides a method for handling a gas pipeline earthquake emergency handling device, comprising the following steps:

[0047] S1: Initialize the configuration of MCU1, triaxial acceleration sensor 2, valve closing subcircuit 3, electric valve 4 with pipeline shutoff component and communication subcircuit 5, so that the electric valve 4 is usually in the normally open position; MCU1 and triaxial acceleration sensor 2 are in a dormant energy-saving state when not working; triaxial acceleration sensor 2 sets a first acceleration threshold and a second acceleration threshold;

[0048] S2: When the gas pipeline vibrates and exceeds the first acceleration threshold, the three-axis acceleration sensor 2 is activated and performs acceleration measurement. When the vibration acceleration detected by the three-axis acceleration sensor 2 is less than the second acceleration threshold, the three-axis acceleration sensor 2 does not output and delays for a period of time to sleep again; when the vibration acceleration detected by the three-axis acceleration sensor 2 is above the second acceleration threshold, the interrupt output end of the three-axis acceleration sensor 2 sends an interrupt signal to the interrupt input end of MCU1 to wake up MCU1, and send the vibration acceleration measurement result to MCU1 through the SPI port; the first acceleration threshold can be set to a relatively small value, such as 0.005g, where g is the acceleration of gravity; the second acceleration threshold can be set to the vibration acceleration corresponding to the earthquake intensity with more serious consequences, such as 0.4g;

[0049] S3: MCU1 calculates the average value of vibration acceleration based on the received vibration acceleration measurement results and determines the earthquake intensity. If the average value of peak acceleration reaches 0.125g, it indicates an earthquake of intensity VII; if the average value of peak acceleration reaches 0.25g, it indicates an earthquake of intensity VIII; if the average value of peak acceleration reaches 0.5g, it indicates an earthquake of intensity IX. It can also be confirmed based on the local longitude and latitude and the China Earthquake Peak Acceleration Zoning Map in Appendix A of GB18306-2018;

[0050] S4: MCU1 sends an enable signal to the valve closing subcircuit 3 and the communication subcircuit 5 respectively according to the earthquake intensity level, activating the valve closing subcircuit 3 and the communication subcircuit 5 and keeping them in working state;

[0051] S5: the valve closing subcircuit (3) drives the electric valve (4) to close the gas pipeline. After the electric valve (4) is completely closed, the distance sensor S1 sends a feedback signal of the current position of the shut-off pipeline component to the MCU (1); the execution process of shutting off the local gas pipeline earthquake emergency disposal device is completed, and the gas supply of the gas pipeline is cut off;

[0052] S6: The MCU (1) also communicates the vibration acceleration measurement result, the vibration acceleration average value and the earthquake intensity information with the communication subcircuit (5) of other nearby gas pipeline earthquake emergency disposal devices or the remote main station through the communication subcircuit (5), and further confirms the earthquake intensity with other nearby gas pipeline earthquake emergency disposal devices or the remote main station to form a majority decision combination judgment algorithm of multiple gas pipeline earthquake emergency disposal devices, and keeps each gas pipeline open or closed according to the judgment result; if there are N gas pipeline earthquake emergency disposal devices in the area, and the remote main station receives the earthquake intensity information sent by M gas pipeline earthquake emergency disposal devices, when M≥N / 2, all gas pipeline earthquake emergency disposal devices in the area are activated to cut off the gas pipelines where their respective devices are located;

[0053] S7: When the three-axis acceleration sensor (2) does not send an interrupt signal to the MCU (1), the MCU (1) automatically wakes up periodically and starts the communication subcircuit (5) to actively send a heartbeat data packet in a normal working state to the remote master station.

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

Claims

1. A gas pipeline earthquake emergency treatment method, characterized by: The steps include: S1: Initializing the configuration of the MCU (1), the three-axis acceleration sensor (2), the valve closing subcircuit (3), the electric valve (4) having a pipeline shutoff component, and the communication subcircuit (5), so that the electric valve (4) is in a normally open position and the gas pipeline is supplied with gas normally; the MCU (1) and the three-axis acceleration sensor (2) are in a dormant energy-saving state when not in operation; the three-axis acceleration sensor (2) sets a first acceleration threshold and a second acceleration threshold; The output end of the three-axis acceleration sensor (2) is electrically connected to the GPIO port and the interrupt port of the MCU (1) respectively; the MCU (1) is electrically connected to the input end of the valve closing subcircuit (3); the MCU (1) is also electrically connected to the communication subcircuit (5); the output end of the valve closing subcircuit (3) is electrically connected to the input end of the electric valve (4), and the feedback signal end of the electric valve (4) is electrically connected to the input end of the MCU (1); The three-axis acceleration sensor (2) detects the vibration acceleration of the pipeline and sends the acceleration detection result to the MCU (1); the MCU (1) enters a working state and starts the valve closing subcircuit (3) and the communication subcircuit (5) according to the acceleration detection result; the valve closing subcircuit (3) is used to start the electric valve (4) and execute the valve closing action; the electric valve (4) feeds back the current position information of the closed pipeline component after the action to the MCU (1); the MCU (1) communicates with the communication subcircuit (5) of other gas pipeline earthquake emergency disposal devices nearby or a remote master station through the communication subcircuit (5); S2: When the gas pipeline vibrates and exceeds a first acceleration threshold, the three-axis acceleration sensor (2) is activated and performs acceleration measurement. When the vibration acceleration detected by the three-axis acceleration sensor (2) is less than a second acceleration threshold, the three-axis acceleration sensor (2) does not output and goes into sleep again after a delay. When the vibration acceleration detected by the three-axis acceleration sensor (2) is above the second acceleration threshold, the interrupt output end of the three-axis acceleration sensor (2) sends an interrupt signal to the interrupt input end of the MCU (1), wakes up the MCU (1), and sends the vibration acceleration measurement result to the MCU (1) through the SPI port. S3: MCU (1) calculates the average value of vibration acceleration based on the received vibration acceleration measurement results and determines the earthquake intensity. When the average value of peak acceleration reaches 0.125g, it indicates an earthquake of intensity VII; when the average value of peak acceleration reaches 0.25g, it indicates an earthquake of intensity VIII; when the average value of peak acceleration reaches 0.5g, it indicates an earthquake of intensity IX; S4: The MCU (1) sends an enable signal to the valve closing subcircuit (3) and the communication subcircuit (5) respectively according to the earthquake intensity level, thereby activating the valve closing subcircuit (3) and the communication subcircuit (5) and keeping them in a working state; S5: the valve closing subcircuit (3) drives the electric valve (4) to close the gas pipeline. After the electric valve (4) is completely closed, the distance sensor S1 sends a feedback signal of the current position of the shut-off pipeline component to the MCU (1); the execution process of shutting off the local gas pipeline earthquake emergency disposal device is completed, and the gas supply of the gas pipeline is cut off; S6: The MCU (1) also communicates the vibration acceleration measurement result, the vibration acceleration average value and the earthquake intensity information with the communication subcircuit (5) of other nearby gas pipeline earthquake emergency disposal devices or the remote main station through the communication subcircuit (5), and further confirms the earthquake intensity with other nearby gas pipeline earthquake emergency disposal devices or the remote main station to form a majority decision combination judgment algorithm of the multiple gas pipeline earthquake emergency disposal devices, and maintains the open or closed state of each gas pipeline according to the judgment result; S7: When the three-axis acceleration sensor (2) does not send an interrupt signal to the MCU (1), the MCU (1) automatically wakes up periodically and starts the communication subcircuit (5) to actively send a heartbeat data packet in a normal working state to the remote master station; The SPI port of the three-axis acceleration sensor (2) is electrically connected to the SPI port of the MCU (1) in a one-to-one correspondence, and the interrupt output end of the three-axis acceleration sensor (2) is electrically connected to the interrupt input end of the MCU (1); the interrupt signal emitted by the interrupt output end of the three-axis acceleration sensor (2) serves as a wake-up signal for the MCU (1) to enter a working state from a dormant standby state; The valve closing subcircuit (3) comprises a boost chip U1 and a single-channel switch chip U2, wherein the input end of the boost chip U1 is electrically connected to a +3.3V power supply, and the enable end of the boost chip U1 is electrically connected to a GPIO port of the MCU (1); the output end of the boost chip U1 is electrically connected to the input end and the enable end of the single-channel switch chip U2, and the output end of the single-channel switch chip U2 is electrically connected to the electric valve (4); The open position and the closed position of the pipeline shutoff component of the electric valve (4) are both provided with a distance sensor S1, and the output end of the distance sensor S1 is electrically connected to the GPIO port of the MCU (1); The communication subcircuit (5) comprises a load switch U3, a level conversion chip U4 and a NB-IOT communication unit U5, wherein the input end of the load switch U3 is electrically connected to the GPIO port of the MCU (1); the power input end of the load switch U3 is electrically connected to the +3.3V power supply, and the output end of the load switch U3 is electrically connected to the power end of the NB-IOT communication unit U5; the UART port of the MCU (1) and the URART port of the NB-IOT communication unit U5 are electrically connected to the transceiver port of the level conversion chip U4 in a one-to-one correspondence; It also includes a rechargeable power source (6), which is electrically connected to the MCU (1), the three-axis acceleration sensor (2), the valve closing subcircuit (3), the electric valve (4), and the communication subcircuit (5).

Citation Information

Patent Citations

  • Gas pipeline earthquake emergency disposal device

    CN212207692U