Coal gas alarm monitoring method and system based on MQTT technology in iron and steel industry
By adopting MQTT technology and high-precision gas concentration sensors in the steel industry, a gas alarm monitoring system is built, which solves the problems of slow gas leakage detection response and limited coverage in traditional systems, real-time and full-coverage gas leakage monitoring and intelligence Alarming improves production safety and efficiency.
Patent Information
- Application Number
- CN202411489474.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-18
AI Technical Summary
In the steel industry, gas leak detection and alarm systems have problems such as slow response speed, limited coverage, and difficulty in centralized management of data.
The gas alarm monitoring system is built using MQTT technology. By deploying high-precision gas concentration sensors in the steel production area, data is collected in real time and transmitted to the MQTT message proxy server through the MQTT protocol. Finally, it is stored and pre-processed by the Redis database server, and triggered by the intelligent algorithm. Alarm.
Real-time and full coverage monitoring of gas leakage in the steel production area is achieved, the alarm response time is shortened, the efficiency of handling emergencies is improved, the accuracy and reliability of monitoring is enhanced, and the cost of production interruptions and maintenance is reduced.
Smart Images

Figure CN119479207A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a gas alarm monitoring method and system based on MQTT technology in the steel industry. Background Art
[0002] In the steel industry, coal gas is an important energy source and process medium, and its safe use and monitoring are crucial.
[0003] However, due to the complexity of the steel production process and the harsh environment of high temperature and high pressure, gas leakage has become a major hidden danger threatening production safety. Traditional gas leakage detection and alarm systems mostly rely on independent alarms installed on site, which have problems such as slow response speed, limited coverage, and difficulty in centralized data management. Summary of the invention
[0004] The purpose of the present invention is to provide a gas alarm monitoring method and system based on MQTT technology in the steel industry to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solution: a gas alarm monitoring method based on MQTT technology in the steel industry, the method comprising the following steps:
[0006] Deploy high-precision, high-stability and low-power gas concentration sensors at key locations in steel production areas to ensure comprehensive coverage of areas where gas leaks may occur;
[0007] The sensor collects gas concentration data periodically or continuously, and converts the data into digital signals for transmission, wherein the collected data includes timestamp, sensor location information and real-time gas concentration value;
[0008] Build an MQTT network within the steel enterprise, deploy an MQTT message proxy server as the central node for data transmission, and configure MQTT topics to distinguish data streams of different types or sources;
[0009] The sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol, and the MQTT message proxy server receives and forwards this data to the designated subscriber;
[0010] The subscriber receives, stores and processes the gas concentration data from the MQTT message broker server.
[0011] Preferably, the method further comprises the following steps:
[0012] Use the Redis database server as a subscriber to receive gas concentration data from the MQTT message broker server and use the Redis data structure to store the data, where the data contains timestamp, location information, and concentration value fields;
[0013] Set a reasonable expiration strategy to clean up outdated data and avoid data redundancy.
[0014] Preferably, the method further comprises the following steps:
[0015] Preprocess the received gas concentration data, including data cleaning, denoising, and smoothing, to improve data quality;
[0016] According to the safety standards and historical data of steel production, set a reasonable gas concentration alarm threshold;
[0017] The back-end server regularly obtains the latest data from the storage system, compares it with the set alarm threshold, and uses intelligent algorithms to perform intelligent analysis on changes in gas concentration to determine whether an alarm needs to be triggered.
[0018] Preferably, the following steps are also included: once the gas concentration is detected to exceed the standard or change abnormally, the alarm mechanism is immediately triggered, and the alarm information is sent to relevant personnel through SMS, email, Web interface pop-up windows, etc. to ensure timely communication of information.
[0019] Preferably, the following steps are also included: using React and Vue modern front-end frameworks, combined with HTML, CSS and JavaScript technologies, to build a user-friendly front-end interface, the interface includes real-time monitoring charts and alarm information display areas, and through WebSocket real-time communication technology, to achieve data synchronization between the front-end page and the back-end server, ensuring that the front-end interface can reflect the latest changes in gas concentration and alarm status in real time.
[0020] A gas alarm monitoring system based on MQTT technology in the steel industry is applied to a gas alarm monitoring method based on MQTT technology in the steel industry. The system includes:
[0021] Gas concentration sensors deployed at key locations in steel production areas have the characteristics of high accuracy, high stability and low power consumption. They are used to comprehensively cover areas where gas leaks may occur, collect gas concentration data regularly or continuously, and convert them into digital signals.
[0022] And a data processing unit is used to receive the digital signal from the sensor, and process and transmit the key information of the time stamp, sensor location information and real-time gas concentration value.
[0023] Preferably, it also includes:
[0024] MQTT network, which includes an MQTT message broker server deployed inside the steel enterprise as a central node for data transmission, and configured MQTT topics to distinguish data streams of different types or sources;
[0025] The sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol, and the MQTT message proxy server receives and forwards this data to the designated subscribers.
[0026] Preferably, the designated subscriber is a Redis database server, which is used to receive the gas concentration data from the MQTT message proxy server and store the data using the Redis data structure, wherein the data includes a timestamp, location information, and concentration value fields;
[0027] The system also includes a data preprocessing unit for preprocessing the data stored in Redis, such as data cleaning, denoising, and smoothing to improve data quality, and perform data aggregation or statistical analysis as required.
[0028] Preferably, it also includes:
[0029] The alarm trigger unit is used to analyze the gas concentration changes intelligently based on the gas concentration alarm threshold set according to the safety standards of steel production and historical data, as well as the latest data obtained from Redis, combined with intelligent algorithms to determine whether an alarm needs to be triggered;
[0030] The alarm notification unit is used to immediately trigger the alarm mechanism when it detects that the gas concentration exceeds the standard or changes abnormally, and send alarm information to relevant personnel through SMS, email, and Web interface pop-up windows.
[0031] Preferably, it also includes a front-end interface building unit for building a user-friendly front-end interface using modern front-end frameworks such as React and Vue, combined with HTML, CSS and JavaScript technologies;
[0032] The front-end interface includes real-time monitoring charts to display the changing trend and real-time data of gas concentration, as well as an alarm information display area to display the latest alarm notifications and historical alarm records;
[0033] The front-end interface and the back-end server achieve data synchronization through WebSocket real-time communication technology, ensuring that the front-end interface reflects the latest changes in gas concentration and alarm status in real time.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The gas alarm monitoring method and system for the steel industry based on MQTT technology proposed in the present invention can timely discover and respond to potential gas leakage risks by real-time monitoring of gas concentration and setting up an intelligent alarm mechanism, effectively prevent the occurrence of safety accidents, and ensure the safety of production personnel and equipment; the MQTT protocol is used for data transmission, which realizes the real-time and rapid transmission of gas concentration data, greatly shortens the alarm response time, and improves the efficiency of handling emergencies; through the widespread deployment of Internet of Things sensors, full coverage monitoring of gas leakage in the steel production area is achieved, the monitoring blind spots are reduced, and the accuracy and comprehensiveness of monitoring are improved; the high-speed reading and writing capabilities and flexible data structure of the Redis database are used to quickly cache, preprocess and retrieve the received gas concentration data, which improves the efficiency and accuracy of data processing and provides strong support for subsequent intelligent analysis; the intelligent analysis of gas concentration data combined with intelligent algorithms can more accurately judge the changing trend and abnormal conditions of gas concentration, and improve the accuracy and reliability of alarms. At the same time, through the development model of front-end and back-end separation, a user-friendly visual interface is built, making data display more intuitive and easy to understand, and improving the intelligence level of the system; by improving monitoring efficiency and accuracy, production interruptions and maintenance costs caused by gas leaks are reduced. At the same time, through intelligent data analysis and alarm mechanisms, dependence on manual inspections is reduced, saving human resource costs; by improving production safety and efficiency, this solution helps steel companies achieve a green, low-carbon, and efficient production model and promote the sustainable development of enterprises. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose and technical solution of the present invention clearly and completely described, and the advantages more clearly understood, the embodiments of the present invention are further described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, rather than all of the embodiments, and are only used to explain the embodiments of the present invention, and are not used to limit 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.
[0038] For example, see Figure 1 The present invention provides a technical solution: a gas alarm monitoring method based on MQTT technology in the steel industry, the method comprising the following steps:
[0039] Step 1: Deploy IoT sensors
[0040] Gas concentration sensors are deployed at key locations in steel production areas to ensure comprehensive coverage of areas where gas leaks may occur. The sensors should have the characteristics of high accuracy, high stability and low power consumption to meet the special requirements of the steel production environment.
[0041] Step 2: Real-time data collection
[0042] The sensor collects gas concentration data periodically or continuously and converts the data into digital signals for transmission. The collected data should include key information such as timestamp, sensor location information and real-time gas concentration value.
[0043] Step 3: Build an MQTT network
[0044] Deploy an MQTT message proxy server within the steel enterprise as the central node for data transmission. Configure MQTT topics to distinguish data streams of different types or sources.
[0045] Step 4: Upload data
[0046] The sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol. The MQTT message proxy server receives and forwards this data to the specified subscriber (such as the Redis database server).
[0047] Step 5: Data storage
[0048] As a subscriber, the Redis database server receives gas concentration data from the MQTT message proxy server. Redis data structures (such as hash tables) are used to store data, which can include fields such as timestamps, location information, and concentration values. A reasonable expiration policy is set to clean up outdated data and avoid data redundancy.
[0049] Step 6: Data preprocessing
[0050] In Redis or the backend server, the received data is preprocessed, such as data cleaning, denoising, and smoothing, to improve data quality. Data aggregation or statistical analysis can be performed as required to provide a basis for subsequent alarm triggering.
[0051] Step 7: Set the alarm threshold
[0052] According to the safety standards and historical data of steel production, reasonable gas concentration alarm thresholds are set. These thresholds can be adjusted according to different regions, different time periods or different process conditions.
[0053] Step 8: Intelligent judgment
[0054] The backend server periodically obtains the latest data from Redis and compares it with the set alarm threshold. Combined with intelligent algorithms (such as trend prediction, anomaly detection, etc.), it conducts intelligent analysis of changes in gas concentration to determine whether an alarm needs to be triggered.
[0055] Step 9: Alarm Notification
[0056] Once the gas concentration exceeds the standard or changes abnormally, the alarm mechanism will be triggered immediately. Alarm information will be sent to relevant personnel through SMS, email, web interface pop-up window and other methods to ensure timely communication of information.
[0057] Step 10: Build the front-end interface
[0058] Use modern front-end frameworks such as React and Vue, combined with technologies such as HTML, CSS, and JavaScript, to build a user-friendly front-end interface. The interface should include real-time monitoring charts (such as line charts, scatter charts, etc.) to display the changing trend and real-time data of gas concentration. At the same time, provide an alarm information display area to display the latest alarm notifications and historical alarm records.
[0059] Step 11: Data Synchronization
[0060] Through real-time communication technologies such as WebSocket, data synchronization between the front-end page and the back-end server is achieved, ensuring that the front-end interface can reflect the latest changes in gas concentration and alarm status in real time.
[0061] Embodiment 2, based on embodiment 1, proposes a gas alarm monitoring system based on MQTT technology in the steel industry, which is applied to a gas alarm monitoring method based on MQTT technology in the steel industry. The system includes:
[0062] Gas concentration sensors deployed at key locations in steel production areas have the characteristics of high accuracy, high stability and low power consumption. They are used to comprehensively cover areas where gas leaks may occur, collect gas concentration data regularly or continuously, and convert them into digital signals.
[0063] And a data processing unit is used to receive the digital signal from the sensor, and process and transmit the key information of the time stamp, sensor location information and real-time gas concentration value.
[0064] It also includes: an MQTT network, which includes an MQTT message proxy server deployed inside the steel enterprise as a central node for data transmission, and a configured MQTT topic for distinguishing data streams of different types or sources; the sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol, and the MQTT message proxy server receives and forwards the data to the designated subscriber; the designated subscriber is a Redis database server, which is used to receive the gas concentration data from the MQTT message proxy server and store the data using the Redis data structure, wherein the data includes a timestamp, location information and concentration value fields; the system also includes a data preprocessing unit, which is used to preprocess the data stored in Redis, such as data cleaning, denoising and smoothing, to improve data quality, and perform data aggregation or statistical analysis as needed.
[0065] It also includes: an alarm trigger unit, which is used to set the gas concentration alarm threshold according to the safety standards and historical data of steel production, as well as the latest data obtained from Redis, and combine intelligent algorithms to perform intelligent analysis on the changes in gas concentration to determine whether an alarm needs to be triggered; an alarm notification unit, which is used to immediately trigger the alarm mechanism when it detects that the gas concentration exceeds the standard or changes abnormally, and send alarm information to relevant personnel through SMS, email, and Web interface pop-up windows.
[0066] It also includes a front-end interface construction unit, which is used to use React and Vue modern front-end frameworks, combined with HTML, CSS and JavaScript technologies, to build a user-friendly front-end interface; the front-end interface contains real-time monitoring charts to display the changing trend and real-time data of gas concentration, and an alarm information display area to display the latest alarm notifications and historical alarm records; the front-end interface and the back-end server achieve data synchronization through WebSocket real-time communication technology to ensure that the front-end interface reflects the latest changes in gas concentration and alarm status in real time.
[0067] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A gas alarm monitoring method based on MQTT technology in the steel industry, characterized by: The method comprises the following steps: Deploy high-precision, high-stability and low-power gas concentration sensors at key locations in steel production areas to ensure comprehensive coverage of areas where gas leaks may occur; The sensor collects gas concentration data periodically or continuously, and converts the data into digital signals for transmission, wherein the collected data includes timestamp, sensor location information and real-time gas concentration value; Build an MQTT network within the steel enterprise, deploy an MQTT message proxy server as the central node for data transmission, and configure MQTT topics to distinguish data streams of different types or sources; The sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol, and the MQTT message proxy server receives and forwards this data to the specified subscriber; The subscriber receives, stores and processes the gas concentration data from the MQTT message broker server.
2. According to claim 1, a gas alarm monitoring method based on MQTT technology in the steel industry is characterized in that: The following steps are also included: Use the Redis database server as a subscriber to receive gas concentration data from the MQTT message broker server and use the Redis data structure to store the data, where the data contains timestamp, location information, and concentration value fields; Set a reasonable expiration strategy to clean up outdated data and avoid data redundancy.
3. A gas alarm monitoring method based on MQTT technology in the steel industry according to claim 2, characterized in that: The following steps are also included: Preprocess the received gas concentration data, including data cleaning, denoising, and smoothing, to improve data quality; According to the safety standards and historical data of steel production, set a reasonable gas concentration alarm threshold; The back-end server regularly obtains the latest data from the storage system, compares it with the set alarm threshold, and uses intelligent algorithms to perform intelligent analysis on changes in gas concentration to determine whether an alarm needs to be triggered.
4. The method for gas alarm monitoring based on MQTT technology in the steel industry according to claim 3 is characterized in that: The following steps are also included: Once it is detected that the gas concentration exceeds the standard or changes abnormally, the alarm mechanism will be triggered immediately, and alarm information will be sent to relevant personnel through SMS, email, and web interface pop-up windows to ensure timely communication of information.
5. The method for gas alarm monitoring based on MQTT technology in the steel industry according to claim 4 is characterized in that: The following steps are also included: Using the modern front-end framework of React and Vue, combined with HTML, CSS and JavaScript technologies, a user-friendly front-end interface is built. The interface includes real-time monitoring charts and alarm information display areas, and uses WebSocket real-time communication technology to achieve data synchronization between the front-end page and the back-end server, ensuring that the front-end interface can reflect the latest changes in gas concentration and alarm status in real time.
6. A gas alarm monitoring system based on MQTT technology in the steel industry, applied to a gas alarm monitoring method based on MQTT technology in the steel industry as claimed in any one of claims 1 to 5, characterized in that: The system comprises: Gas concentration sensors deployed at key locations in steel production areas have the characteristics of high accuracy, high stability and low power consumption. They are used to comprehensively cover areas where gas leaks may occur, collect gas concentration data regularly or continuously, and convert them into digital signals. And a data processing unit is used to receive the digital signal from the sensor, and process and transmit the key information of the time stamp, sensor location information and real-time gas concentration value.
7. The gas alarm monitoring system based on MQTT technology in the steel industry according to claim 6 is characterized by: Also includes: MQTT network, which includes an MQTT message broker server deployed inside the steel enterprise as a central node for data transmission, and configured MQTT topics to distinguish data streams of different types or sources; The sensor node publishes the collected gas concentration data to the corresponding MQTT topic through the MQTT protocol, and the MQTT message proxy server receives and forwards this data to the designated subscribers.
8. The gas alarm monitoring system based on MQTT technology in the steel industry according to claim 7 is characterized by: The designated subscriber is a Redis database server, which is used to receive gas concentration data from the MQTT message proxy server and store the data using the Redis data structure, where the data includes timestamp, location information, and concentration value fields; The system also includes a data preprocessing unit for preprocessing the data stored in Redis, such as data cleaning, denoising, and smoothing to improve data quality, and perform data aggregation or statistical analysis as required.
9. A gas alarm monitoring system based on MQTT technology in the steel industry according to claim 8, characterized in that: Also includes: The alarm trigger unit is used to analyze the gas concentration changes intelligently based on the gas concentration alarm threshold set according to the safety standards of steel production and historical data, as well as the latest data obtained from Redis, combined with intelligent algorithms to determine whether an alarm needs to be triggered; The alarm notification unit is used to immediately trigger the alarm mechanism when it detects that the gas concentration exceeds the standard or changes abnormally, and send alarm information to relevant personnel through SMS, email, and Web interface pop-up windows.
10. The gas alarm monitoring system based on MQTT technology in the steel industry according to claim 6, characterized in that: It also includes a front-end interface construction unit, which is used to use React and Vue modern front-end frameworks, combined with HTML, CSS and JavaScript technologies, to build a user-friendly front-end interface; The front-end interface includes real-time monitoring charts to display the changing trend and real-time data of gas concentration, as well as an alarm information display area to display the latest alarm notifications and historical alarm records; The front-end interface and the back-end server achieve data synchronization through WebSocket real-time communication technology, ensuring that the front-end interface reflects the latest changes in gas concentration and alarm status in real time.
Citation Information
Cited By
Multi-dimensional monitoring alarm and intelligent water affair management system and method based on MQTT protocol
CN119854107A