Universal IO level alarm acquisition networking device

By designing a general IO level alarm acquisition networking device, the problem of the inability to compatible with multiple alarm signals and networking in the existing technology is solved, and compatible acquisition of multiple alarm signals and real-time data transmission is realized, improving the scalability and reliability of the system.

CN120220341APending Publication Date: 2025-06-27JIANG XI QI YE WU LIAN JI SHU YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510393364.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The existing IO level acquisition system is not compatible with high-level alarm signals, low-level alarm signals and pulse width modulated alarm signals, and the equipment cannot be connected to the network, which limits the system's extended application development capabilities.

Method used

Design a general IO level alarm acquisition networking device, including a signal acquisition module, a control center and a network transmission module. The signal acquisition module realizes compatibility acquisition of multiple level signals through hardware circuit design. The control center uses a high-performance microcontroller to process the alarm signal, and transmits data to the upper computer in real time through the network transmission module.

Benefits of technology

It realizes compatibility acquisition of multiple alarm level signals, ensures real-time and reliability of alarm data, and enhances the system's networking and application expansion capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120220341A_ABST
    Figure CN120220341A_ABST
Patent Text Reader

Abstract

The invention discloses universal IO level alarm acquisition networking equipment, which comprises a signal acquisition module, a control center and a networking transmission module which are connected with one another, the signal acquisition module is connected with user equipment, alarm level signals of the user equipment are acquired through the signal acquisition module, and the alarm level signals comprise a high level alarm signal, a low level alarm signal and a pulse width modulation alarm signal; the signal acquisition module transmits an acquired alarm level signal to a control center; the control center receives an alarm level signal sent by the signal acquisition module, distinguishes and identifies a high level alarm signal, a low level alarm signal and a pulse width modulation type alarm signal through an alarm signal processing mechanism, eliminates interference signals by using an alarm signal checking technology, generates a corresponding alarm frame or an alarm release frame, and sends the alarm frame or the alarm release frame to the control center. The alarm frame or the alarm release frame is transmitted to the networking transmission module; and the networking transmission module transmits the alarm frame or the alarm release frame to an upper computer in real time through a network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electronic information collection, and in particular to a universal IO level alarm collection networking device. Background Art

[0002] The existing IO level acquisition system usually consists of a signal input interface, a signal conditioning circuit, a microcontroller unit (MCU), a local storage module, and a non-network output interface. However, the existing signal input interface uses a fixed threshold comparison circuit, which only supports a single level type (such as high-level trigger), lacks the ability to intelligently analyze and process alarm signals, and cannot achieve compatible acquisition of high-level alarm signals, low-level alarm signals, and pulse width modulation (PWM) alarm signals; the non-network output interface uses local interfaces such as RS485 / TTL, and the device cannot be connected to the Internet, and real-time data cannot be uploaded to the host computer, which limits the system's ability to expand application development. How to achieve compatible acquisition methods for multiple alarm level signals and enhance the scalability of system networking and applications is an urgent problem to be solved in the existing technology. Summary of the invention

[0003] The problem to be solved by the present invention is to provide a universal IO level alarm collection networking device, which has high compatibility, supports the collection of multiple alarm level signals, can be networked, and ensures the real-time and reliability of alarm data.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: A universal IO level alarm collection networking device, characterized in that it comprises a signal collection module, a control center and a networking transmission module connected to each other; the signal collection module is connected to the alarm output IO pin of a user device, and after the user device is powered on, waits for its level signal to be generated, and collects the alarm level signal of the user device through the signal collection module, and the alarm level signal includes a high level alarm signal, a low level alarm signal and a pulse width modulation type alarm signal; the signal collection module transmits the collected alarm level signal to the control center; the control center receives the alarm level signal sent by the signal collection module, and distinguishes and identifies the high level alarm signal, the low level alarm signal and the pulse width modulation type alarm signal through an alarm signal processing mechanism, removes interference signals by using an alarm signal screening technology, and generates a corresponding alarm frame or an alarm release frame, and transmits the alarm frame or the alarm release frame to the networking transmission module; the networking transmission module transmits the alarm frame or the alarm release frame to a host computer through a network in real time; the host computer generates a visual alarm log and a real-time status monitoring interface according to the alarm frame or the alarm release frame.

[0005] The above-mentioned signal acquisition module supports the input of various level signals, and realizes the compatible acquisition of different level signals through hardware circuit design; generally, the signal is output to different channels through a bidirectional three-state buffer (such as 74LVC245 chip) to ensure that there is no interference between the channels.

[0006] The above-mentioned control center is the core processing unit of the entire equipment. It usually adopts a high-performance microcontroller (such as ARMCortex series chips, STM32 series chips, etc.), and includes a communication interface (such as UART, SPI, I²C, etc.) connected to the signal acquisition module and the networking transmission module. It has high-speed data processing capabilities and can process the alarm level signal transmitted by the signal acquisition module in real time to ensure stable transmission of data between different modules.

[0007] The above networking transmission module supports multiple network protocols (such as HTTP, MQTT, etc.) to ensure the real-time and reliability of data.

[0008] In a preferred embodiment, the universal IO level alarm collection networking device further comprises a plurality of expansion interfaces, each of which is connected to the control center. The expansion interface is used to access at least one of a temperature sensor, a humidity sensor, a pressure sensor, etc.; wherein the expansion interface adopts a standard Modbus communication protocol. Through the expansion interface, the universal IO level alarm collection networking device can be extended and connected with other devices, effectively improving the flexibility and practicality of the device.

[0009] In the preferred embodiment, the signal acquisition module includes: a level compatible circuit, which is used to convert the input level such as the common 12V or 24V signal into an input voltage range of 0V-3.3V for adapting the single-chip microcomputer; a pulse recognition circuit, which is configured with an edge trigger and a digital filtering algorithm, and is used to capture pulse signals with a frequency range of 1Hz-100kHz; the steps of the alarm signal processing mechanism to distinguish different alarm level signals are as follows: if the input voltage range collected by the level compatible circuit is 1.5V-3.3V, the control center determines that the alarm level signal is a high-level alarm signal; if the input voltage range collected by the level compatible circuit is 0V-0.4V, the control center determines that the alarm level signal is a low-level alarm signal; if it is an alarm level signal collected by the pulse recognition circuit, the control center determines that the alarm level signal is a pulse width modulation type alarm signal.

[0010] In a further preferred embodiment, the alarm signal processing mechanism performs the following steps to identify signals of different alarm levels: (1) The control center pre-sets the pre-alarm status flag and initializes the pre-alarm status flag; the control center is in the state of "waiting for alarm signal / cancelling alarm signal generation"; (2) Signal debouncing judgment: If a signal is detected, enter the software debouncing process; after the debouncing process, determine whether the signal still exists: (2-1) If the signal does not exist, it returns to the "waiting for alarm signal / cancelling alarm signal generation" state; (2-2) If the signal still exists, proceed to step (3); (3) Comparison between signal and flag: Determine whether the current signal is opposite to the previous alarm status flag: (3-1) If the current signal is not opposite to the previous alarm status flag, it returns to the "waiting for alarm signal / cancelling alarm signal generation" state; (3-2) If the current signal is opposite to the previous alarm status flag, proceed to step (4); (4) Flag status processing: Determine whether the previous alarm status flag is canceled: (4-1) If the previous alarm status flag is "cancel", an alarm frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time; (4-2) If the previous alarm status flag is not "cancel", perform a signal change detection for 3 seconds and determine whether the signal has changed: (4-2.1) If the signal changes within 3 seconds, it returns to the "waiting for alarm signal / cancelling alarm signal" state; (4-2.2) If the signal does not change within 3 seconds, an alarm release frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time.

[0011] When the alarm signal changes and the flag is opposite to the previous alarm status, it can respond quickly; if a valid alarm signal is detected in the non-alarm state, an alarm frame can be generated immediately and sent to the host computer; if an alarm cancellation signal is detected in the alarm state, after 3s of signal change detection and confirmation, an alarm cancellation frame is generated and sent in time to ensure a timely response to the alarm event. During the entire processing process, if the signal does not meet the conditions for the alarm state change, the system will return to the waiting state to avoid unnecessary processing operations and reduce the waste of system resources; at the same time, through continuous 3s of signal change detection, it can prevent the misunderstanding of alarm cancellation caused by short-term signal fluctuations, and enhance the stability and reliability of the system.

[0012] The above alarm signal processing mechanism differentiates and identifies alarm signals of different levels, can effectively distinguish high-level alarm signals, low-level alarm signals, and pulse-width modulation type alarm signals, accurately identify changes in the alarm state, update the previous alarm state flag bit, and the system can clearly record the current alarm state, which helps the host computer or management personnel to monitor and manage the operating state of the system in real time, discover and handle alarm events in a timely manner; and through software debounce processing, it can avoid false alarms caused by instantaneous interference signals, ensure the authenticity and reliability of alarm information, and reduce the false alarm rate of the system.

[0013] In a further preferred solution, in the step (1), the initial state of the previous alarm state flag bit is set to "cancelled", indicating that the system is not in an alarm state when it starts running. When the system starts running, it is usually defaulted that it is not in an alarm state. Initializing the previous alarm state flag bit to "cancelled" conforms to the normal startup logic of the system, avoids misjudging the alarm state at startup, and ensures the normal operation of the system.

[0014] In a preferred solution, the networking transmission module transmits the alarm data to the host computer through a wired network communication method or a wireless network communication method.

[0015] In a further preferred solution, the wired network communication method is an Ethernet communication method. The above Ethernet is a widely used wired network communication method, which has the characteristics of fast transmission speed and high stability. The device can be connected to an Ethernet switch or router through an RJ-45 interface to achieve communication with the host computer.

[0016] In a further preferred solution, the wireless network communication method is Wi-Fi, 4G or 5G. Wi-Fi is a common wireless network communication technology. The device can be connected to a wireless router through a built-in Wi-Fi module, and then access the Internet. 4G and 5G are mobile communication network technologies. The device can access the mobile communication network through a built-in 4G / 5G communication module to achieve networking anytime and anywhere.

[0017] In a further preferred solution, the host computer includes a cloud server, a mobile terminal, and a remote monitoring platform, and the networking transmission module is connected to the cloud server, the mobile terminal, and the remote monitoring platform. Through this setting, it can support multi-terminal sharing of real-time alarm information. Users can view the alarm state anytime and anywhere through the cloud server, the mobile terminal, or the remote monitoring platform, improving the user experience. The above host computer refers to a high-level computer responsible for control, management, and data processing in the system. It can also communicate with a lower computer (such as a PLC, a single-chip microcomputer, an embedded system, etc.) to achieve monitoring and management of the device or system.

[0018] Compared with the prior art, the present invention has the following advantages: (1) The present invention integrates the recognition of multiple alarm level signals into the same device, supports the compatible collection of multiple alarm level signals (high level, low level, PWM), realizes the diversified collection of the alarm collection system, and is suitable for the alarm output requirements of different devices.

[0019] (2) The present invention can ensure the accuracy and reliability of the alarm signal by pre-setting the pre-alarm status flag and the subsequent de-jitter processing.

[0020] (3) The present invention realizes cloud transmission of user device alarm data through modular design and networked data transmission, thereby reducing the user's cost of purchasing new networked devices and improving user experience. It can also expand connections with other devices or platforms, effectively improving the flexibility and practicality of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of a flow chart of a specific embodiment of the present invention; Figure 2 It is a schematic diagram of a flow chart of a signal acquisition module identifying and distinguishing different alarm signals in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0022] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] like Figure 1-2 As shown, the universal IO level alarm collection networking device in this embodiment includes a signal collection module, a control center and a networking transmission module that are interconnected; the signal collection module is connected to the alarm output IO pin of the user device, and after the user device is powered on, it waits for its level signal to be generated, and collects the alarm level signal of the user device through the signal collection module, and the alarm level signal includes a high level alarm signal, a low level alarm signal and a pulse width modulation type alarm signal; the signal collection module transmits the collected alarm level signal to the control center; the control center receives the alarm level signal sent by the signal collection module, and distinguishes and identifies the high level alarm signal, the low level alarm signal and the pulse width modulation type alarm signal through the alarm signal processing mechanism, applies the alarm signal troubleshooting technology to eliminate the interference signal, and generates a corresponding alarm frame or an alarm release frame, and transmits the alarm frame or the alarm release frame to the networking transmission module; the networking transmission module transmits the alarm frame or the alarm release frame to the host computer in real time through the network; the host computer generates a visual alarm log and a real-time status monitoring interface according to the alarm frame or the alarm release frame.

[0024] The above signal acquisition module supports the input of multiple level signals, and realizes the compatible acquisition of different level signals through hardware circuit design; generally, the signal is output to different channels through a bidirectional tri-state buffer (such as 74LVC245 chip) to ensure no interference between channels.

[0025] The above control center is the core processing unit of the entire device, usually using a high-performance microcontroller (such as ARMCortex series chips, STM32 series chips, etc.), including communication interfaces (such as UART, SPI, I²C, etc.) connected to the signal acquisition module and the network transmission module, with high-speed data processing capabilities, and can process the alarm level signals transmitted by the signal acquisition module in real time to ensure the stable transmission of data between different modules.

[0026] The above network transmission module supports multiple network protocols (such as HTTP, MQTT, etc.) to ensure the real-time and reliability of data.

[0027] The general IO level alarm acquisition networking device also includes multiple expansion interfaces, and each expansion interface is connected to the control center. The expansion interface is used to access at least one of a temperature sensor, a humidity sensor, a pressure sensor, etc.; among them, the expansion interface adopts the standard Modbus communication protocol. Through the expansion interface, this general IO level alarm acquisition networking can be effectively connected and expanded with other devices, improving the flexibility and practicality of the device.

[0028] The signal acquisition module includes: a level compatibility circuit for converting an input level such as a common 12V or 24V signal into an input voltage range of 0V - 3.3V for adapting to the single-chip microcomputer; a pulse recognition circuit configured with an edge trigger and a digital filtering algorithm for capturing pulse signals with a frequency range of 1Hz - 100kHz; the steps for the alarm signal processing mechanism to distinguish different alarm level signals are as follows: if the input voltage range collected by the level compatibility circuit is 1.5V - 3.3V, the control center determines that the alarm level signal is a high-level alarm signal; if the input voltage range collected by the level compatibility circuit is 0V - 0.4V, the control center determines that the alarm level signal is a low-level alarm signal; if the alarm level signal is collected by the pulse recognition circuit, the control center determines that the alarm level signal is a pulse width modulation type alarm signal.

[0029] The steps for the alarm signal processing mechanism to identify different alarm level signals are as follows: (1) The control center pre-sets a pre-alarm status flag bit and initializes the pre-alarm status flag bit; makes the control center be in the state of "waiting for the generation of alarm signals / canceling alarm signals"; (2) Signal debouncing judgment: If a signal is detected, enter the software debouncing process; after the debouncing process, determine whether the signal still exists: (2-1) If the signal does not exist, it returns to the "waiting for alarm signal / cancelling alarm signal generation" state; (2-2) If the signal still exists, proceed to step (3); (3) Comparison between signal and flag: Determine whether the current signal is opposite to the previous alarm status flag: (3-1) If the current signal is not opposite to the previous alarm status flag, it returns to the "waiting for alarm signal / cancelling alarm signal generation" state; (3-2) If the current signal is opposite to the previous alarm status flag, proceed to step (4); (4) Flag status processing: Determine whether the previous alarm status flag is canceled: (4-1) If the previous alarm status flag is "cancel", an alarm frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time; (4-2) If the previous alarm status flag is not "cancel", perform a signal change detection for 3 seconds and determine whether the signal has changed: (4-2.1) If the signal changes within 3 seconds, it returns to the "waiting for alarm signal / cancelling alarm signal" state; (4-2.2) If the signal does not change within 3 seconds, an alarm release frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time.

[0030] When the alarm signal changes and the flag is opposite to the previous alarm status, it can respond quickly; if a valid alarm signal is detected in the non-alarm state, an alarm frame can be generated immediately and sent to the host computer; if an alarm cancellation signal is detected in the alarm state, after 3s of signal change detection and confirmation, an alarm cancellation frame is generated and sent in time to ensure a timely response to the alarm event. During the entire processing process, if the signal does not meet the conditions for the alarm state change, the system will return to the waiting state to avoid unnecessary processing operations and reduce the waste of system resources; at the same time, through continuous 3s of signal change detection, it can prevent the misunderstanding of alarm cancellation caused by short-term signal fluctuations, and enhance the stability and reliability of the system.

[0031] The above alarm signal processing mechanism differentiates and identifies alarm signals of different levels, can effectively distinguish high-level alarm signals, low-level alarm signals and pulse-width modulation type alarm signals, accurately identify changes in the alarm state, update the previous alarm state flag bit, and the system can clearly record the current alarm state, which helps the host computer or management personnel to monitor and manage the operation state of the system in real time, discover and handle alarm events in a timely manner; and through software debounce processing, it can avoid false alarms caused by instantaneous interference signals, ensure the authenticity and reliability of alarm information, and reduce the false alarm rate of the system.

[0032] In step (1), the initial state of the previous alarm state flag bit is set to "cancelled", indicating that the system is not in an alarm state when it starts running. When the system starts running, it is usually defaulted that it is not in an alarm state. Initializing the previous alarm state flag bit to "cancelled" conforms to the normal startup logic of the system, avoids misjudging the alarm state at startup, and ensures the normal operation of the system.

[0033] The network transmission module transmits the alarm data to the host computer through a wired network communication method or a wireless network communication method.

[0034] The wired network communication method is an Ethernet communication method. The above Ethernet is a widely used wired network communication method, which has the characteristics of fast transmission speed and high stability. The device can be connected to an Ethernet switch or router through an RJ-45 interface to achieve communication with the host computer.

[0035] The wireless network communication method is Wi-Fi, 4G or 5G. Wi-Fi is a common wireless network communication technology. The device can be connected to a wireless router through a built-in Wi-Fi module and then access the Internet. 4G and 5G are mobile communication network technologies. The device can access the mobile communication network through a built-in 4G / 5G communication module to achieve networking anytime and anywhere.

[0036] The host computer includes a cloud server, a mobile terminal and a remote monitoring platform, and the network transmission module is connected to the cloud server, the mobile terminal and the remote monitoring platform. Through this setting, it can support multi-terminal sharing of real-time alarm information. Users can view the alarm state anytime and anywhere through the cloud server, the mobile terminal or the remote monitoring platform, improving the user experience. The above host computer refers to a high-level computer responsible for control, management and data processing in the system. It can also communicate with lower-level computers (such as PLCs, single-chip microcomputers, embedded systems, etc.) to achieve monitoring and management of devices or systems.

[0037] In addition, it should be noted that for the specific embodiments described in this specification, the names of their respective parts and the like may be different. Any equivalent or simple changes made to the structure, features, and principles described according to the concept of this invention patent shall be included within the protection scope of this invention patent. Those skilled in the technical field to which this invention pertains can make various modifications, supplements, or use similar methods for substitution to the specific embodiments described, as long as they do not deviate from the structure of this invention or exceed the scope defined by this claims, they shall fall within the protection scope of this invention.

Claims

1. A general IO level alarm collection networking device, characterized in that: It includes a signal acquisition module, a control center and a networking transmission module that are interconnected; the signal acquisition module is connected to the alarm output IO pin of the user equipment, and after the user equipment is powered on, it waits for its level signal to be generated, and the alarm level signal of the user equipment is collected by the signal acquisition module, and the alarm level signal includes a high-level alarm signal, a low-level alarm signal and a pulse width modulation type alarm signal; the signal acquisition module transmits the collected alarm level signal to the control center; the control center receives the alarm level signal sent by the signal acquisition module, and distinguishes and identifies the high-level alarm signal, the low-level alarm signal and the pulse width modulation type alarm signal through the alarm signal processing mechanism, applies the alarm signal troubleshooting technology to eliminate the interference signal, and generates a corresponding alarm frame or an alarm release frame, and transmits the alarm frame or the alarm release frame to the networking transmission module; the networking transmission module transmits the alarm frame or the alarm release frame to the host computer in real time through the network; the host computer generates a visual alarm log and a real-time status monitoring interface according to the alarm frame or the alarm release frame.

2. The general IO level alarm collection networking device as claimed in claim 1, characterized in that: The general IO level alarm collection networking device also includes a plurality of expansion interfaces, each of which is connected to the control center.

3. The general IO level alarm collection networking device as claimed in claim 1, characterized in that: The signal acquisition module includes: a level compatible circuit, which is used to convert the input level such as the common 12V or 24V signal into an input voltage range of 0V-3.3V for adapting the single-chip microcomputer; a pulse recognition circuit, which is configured with an edge trigger and a digital filtering algorithm, and is used to capture pulse signals with a frequency range of 1Hz-100kHz; the steps of the alarm signal processing mechanism to distinguish different alarm level signals are as follows: if the input voltage range collected by the level compatible circuit is 1.5V-3.3V, the control center determines that the alarm level signal is a high-level alarm signal; if the input voltage range collected by the level compatible circuit is 0V-0.4V, the control center determines that the alarm level signal is a low-level alarm signal; if it is an alarm level signal collected by the pulse recognition circuit, the control center determines that the alarm level signal is a pulse width modulation type alarm signal.

4. The general IO level alarm collection networking device as claimed in claim 3, characterized in that: The steps of the alarm signal processing mechanism for marking different alarm level signals are as follows: (1) The control center pre-sets the pre-alarm status flag and initializes the pre-alarm status flag; the control center is in the state of "waiting for alarm signal / cancelling alarm signal generation"; (2) Signal debouncing judgment: If a signal is detected, enter the software debouncing process; after the debouncing process, determine whether the signal still exists: (2-1) If the signal does not exist, it returns to the "waiting for alarm signal / cancelling alarm signal generation" state; (2-2) If the signal still exists, proceed to step (3); (3) Comparison between signal and flag: Determine whether the current signal is opposite to the previous alarm status flag: (3-1) If the current signal is not opposite to the previous alarm status flag, it returns to the "wait for alarm signal / cancel alarm signal" state; (3-2) If the current signal is opposite to the previous alarm status flag, proceed to step (4); (4) Flag status processing: Determine whether the previous alarm status flag is canceled: (4-1) If the previous alarm status flag is "cancel", an alarm frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time; (4-2) If the previous alarm status flag is not "cancel", perform a signal change detection for 3 seconds and determine whether the signal has changed: (4-2.1) If the signal changes within 3 seconds, it returns to the "waiting for alarm signal / cancelling alarm signal" state; (4-2.2) If the signal does not change within 3 seconds, an alarm release frame is generated and sent to the host computer, and the previous alarm status flag is updated at the same time.

5. The general IO level alarm collection networking device as claimed in claim 4, characterized in that: In the step (1), the initial state of the pre-alarm state flag is set to "cancel", indicating that the system is not in an alarm state when it first starts running.

6. The general IO level alarm collection networking device as claimed in claim 1, characterized in that: The networking transmission module transmits the alarm data to the host computer via a wired network communication method or a wireless network communication method.

7. The general IO level alarm collection networking device as claimed in claim 6, characterized in that: The wired network communication mode is an Ethernet communication mode.

8. The general IO level alarm collection networking device as claimed in claim 6, characterized in that: The wireless network communication mode is Wi-Fi, 4G or 5G.

9. The general IO level alarm collection networking device as claimed in claim 6, characterized in that: The host computer includes a cloud server, a mobile terminal and a remote monitoring platform, and the networking transmission modules are connected to the cloud server, the mobile terminal and the remote monitoring platform.