A diagnostic monitoring method and system based on tree topology
By adopting a tree-topology-based diagnostic monitoring method, the abnormal status of I/O network is summarized and graphically displayed from bottom to top, which solves the problem of low efficiency in I/O network anomaly diagnosis in existing technologies and improves the efficiency of anomaly location and maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NR ELECTRIC CO LTD
- Filing Date
- 2023-07-10
- Publication Date
- 2026-07-03
AI Technical Summary
In programmable control systems with large-scale I/O networks, existing technologies struggle to visually represent the abnormal states of elements at each level of the I/O network in a graphical manner, resulting in low efficiency in anomaly diagnosis and analysis.
A tree-topology-based diagnostic monitoring method is adopted. The controller generates I/O module and network diagnostic information structure, summarizes abnormal statuses from bottom to top, and displays them graphically by configuration software.
It enables intuitive display of anomalies at each level of the I/O network and bottom-up anomaly summarization, improving the online monitoring experience and maintenance efficiency, and reducing the difficulty of anomaly localization.
Smart Images

Figure CN116991139B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of programmable control technology, and relates to the display of diagnostic information and configuration software, particularly to a diagnostic monitoring method and system based on tree topology. Background Technology
[0002] Although anomalies in automatic control systems are rare, if they occur and are not addressed promptly, they can impact or cause losses to ongoing or subsequent production. To quickly eliminate anomalies and restore the system to normal operation, it is first necessary to locate the point of occurrence, then conduct further anomaly analysis, and formulate reasonable maintenance measures based on the collected information, such as restoring communication, restoring power supply, and replacing modules.
[0003] For programmable control systems, with the development of computer information technology, using I / O networks to build larger signal input and output systems has become a typical configuration. Consequently, the demand for large-scale systems and the need to meet complex field deployment requirements have led to a shift in I / O network structure from a single controller + I / O module hierarchy to a structure of I / O bus, I / O station, I / O station branches, and I / O modules. Although most I / O network configurations are graphical, the separate display of diagnostic information from the I / O network makes it extremely difficult to analyze anomalies by combining various alarms with configuration software monitoring. Users need to understand the system's operating status within the same configuration environment, rather than analyzing data from multiple sources. Summary of the Invention
[0004] The purpose of this invention is to provide a diagnostic monitoring method and system based on tree topology, which can intuitively display anomalies of elements at each level of the I / O network and summarize anomalies from bottom to top, thereby improving the online monitoring experience.
[0005] To achieve the above objectives, the solution of the present invention is:
[0006] A diagnostic monitoring method based on tree topology includes the following steps:
[0007] Step 1: The controller generates the I / O module diagnostic information acquisition task and I / O network diagnostic information structure according to the configuration configuration file;
[0008] Step 2: The diagnostic information acquisition task periodically acquires diagnostic information and writes it into the I / O network diagnostic information structure.
[0009] Step 3: The controller summarizes and judges the status of each element in the network from bottom to top based on the I / O module diagnostic information, I / O network diagnostic information, and combined with the tree-shaped I / O network topology.
[0010] Step 4: The configuration software obtains the status of each element of the I / O network topology after judgment and summary from the controller and displays it in a graphical manner.
[0011] In step 1 above, the I / O network diagnostic information structure is organized according to the I / O bus, I / O station, I / O station branch and I / O module as I / O network topology elements.
[0012] In step 2 above, in addition to acquiring the diagnostic information of the I / O module, the diagnostic information acquisition task also determines the normality of the communication link through its communication with the I / O module, and writes it into the I / O network diagnostic information structure after performing an OR operation with the status of the elements under the communication link.
[0013] In step 3 above, the I / O network diagnostic information is determined in the order of I / O module, I / O station branch, I / O station, and I / O bus.
[0014] In step 4 above, the configuration software first ensures that the configuration is consistent with the configuration in the controller, and then displays the status of each element of the I / O network topology in a graphical manner.
[0015] A diagnostic monitoring system based on tree topology includes,
[0016] The controller is configured to generate an I / O module diagnostic information acquisition task and an I / O network diagnostic information structure based on a configuration file. The diagnostic information acquisition task is configured to periodically acquire diagnostic information and write it into the I / O network diagnostic information structure. The controller is also configured to, based on the I / O module diagnostic information, the I / O network diagnostic information, and the tree-structured I / O network topology, progressively summarize and determine the status of each network element from bottom to top.
[0017] Configuration software, configured to obtain the status of each element of the I / O network topology after judgment and summary from the controller and display it in a graphical manner.
[0018] The aforementioned I / O network diagnostic information structure is configured to be organized according to I / O buses, I / O stations, I / O station branches, and I / O modules, which are I / O network topology elements.
[0019] The aforementioned diagnostic information acquisition task is also configured to determine whether the communication link is normal or not through its communication with the I / O module, and then perform an OR operation with the status of the elements under the communication link and write it into the I / O network diagnostic information structure.
[0020] The controller is also configured to determine I / O network diagnostic information in the following order: I / O module, I / O station branch, I / O station, and I / O bus.
[0021] The configuration software is configured to display the status of each element of the I / O network topology graphically only when the configuration configuration is consistent with the configuration within the controller.
[0022] After adopting the above solution, the present invention does not require any configuration or setup by the user, and displays the abnormal status of I / O network elements in an intuitive way. It also supports the bottom-up hierarchical aggregation of abnormalities, and allows for quick understanding of the I / O network operating status even in the case of a folded tree topology of the I / O network. This reduces the difficulty for maintenance personnel to locate abnormalities, provides a more accurate basis for formulating maintenance measures, and improves maintenance efficiency. Attached Figure Description
[0023] Figure 1 This invention is a flowchart of I / O network diagnostic monitoring;
[0024] Figure 2 This is a diagram illustrating diagnostic information;
[0025] Figure 3 This is a schematic diagram of the element state determination process. Detailed Implementation
[0026] This invention provides a diagnostic monitoring method based on tree topology, comprising the following steps:
[0027] Step 1: The controller generates the I / O module diagnostic information acquisition task and the I / O network diagnostic information structure according to the configuration configuration file; wherein, the I / O network diagnostic information structure is organized according to the I / O bus, I / O station, I / O station branch and I / O module as I / O network topology elements;
[0028] Step 2: The diagnostic information acquisition task periodically acquires diagnostic information and writes it into the I / O network diagnostic information structure. In addition to acquiring the diagnostic information of the I / O module, the diagnostic information acquisition task also determines the normality of the communication link through its communication with the I / O module, and writes it into the I / O network diagnostic information structure after performing an OR operation with the status of the elements under the communication link.
[0029] Step 3: The controller summarizes and judges the status of each network element from bottom to top based on the I / O module diagnostic information, I / O network diagnostic information, and combined with the tree-shaped I / O network topology. Among them, the judgment of I / O network diagnostic information is performed in the order of I / O module, I / O station branch, I / O station, and I / O bus.
[0030] Step 4: The configuration software obtains the status of each element of the I / O network topology from the controller after judgment and summary and displays it in a graphical manner. In specific implementation, the configuration software will only display the status of each element of the I / O network topology in a graphical manner when the configuration configuration is consistent with the configuration in the controller.
[0031] The technical solution and beneficial effects of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0032] Figure 1 This is a schematic diagram of the I / O network diagnostic monitoring process, including the following steps:
[0033] Step S101: Generate diagnostic information acquisition task and I / O network diagnostic information structure. In this step, the controller generates I / O module diagnostic information acquisition task and I / O network diagnostic information structure based on the network topology description in the configuration file. The I / O network topology consists of I / O buses, I / O stations, I / O station branches, and I / O module elements, where the I / O bus is the top layer of the tree topology and the I / O modules are the bottom layer. The I / O network diagnostic information structure is also organized according to this hierarchy.
[0034] Step S102: Obtain diagnostic information. The I / O module diagnostic information acquisition task is executed periodically. Based on the previously parsed I / O network topology, it traverses each I / O module in the network and obtains the status of each I / O module. While obtaining the I / O module status through communication, it also determines whether the communication link between the controller and the I / O module is normal. If the communication is abnormal, the I / O module status is also marked as abnormal.
[0035] Step S103: Determine the status of each network element based on the tree topology and diagnostic information. Following the tree topology and a bottom-up order, determine the status of network elements at each level, based on the obtained status of the next-level network elements and the network communication status. The results of the determination are written into the I / O network diagnostic information structure.
[0036] Step S104: The configuration software acquires and displays the status. The configuration software acquires the status of each element of the network topology stored in the I / O network diagnostic information structure from the controller, and displays the status graphically, such as a sampling alarm exclamation mark or the element background color changing to yellow alarm color.
[0037] Figure 2 This is a diagram illustrating diagnostic information. For example... Figure 2 As shown, the diagnostic status is classified according to the network topology elements: I / O bus status 201, station status 202, branch status 203, and module status 204.
[0038] I / O bus status 201 indicates the operating status of the I / O bus under the controller. Any abnormality in any I / O station or communication abnormality between the controller and the I / O station will cause the I / O bus status to be abnormal.
[0039] Station status 202 represents the operating status of any I / O station within the I / O network. Any abnormality in the status of any I / O branch or communication abnormality between the I / O station and the I / O branch will cause the I / O station to malfunction.
[0040] Branch status 203 represents the operating status of any I / O branch within the I / O station. Any abnormality in the status of any I / O module under it or any communication abnormality between the I / O branch and the I / O module will cause the I / O branch to malfunction.
[0041] Module status 204 indicates the current operating status of I / O, which is divided into normal and abnormal.
[0042] Figure 3 This is a flowchart illustrating the element state determination process. As shown in the flowchart, the process includes the following steps:
[0043] Step S301: Obtain the abnormal status of lower-level network elements. In this step, the controller obtains the abnormal status of lower-level network elements. If the current level is an I / O branch, it obtains the operating status of all I / O modules under that I / O branch; if the current level is an I / O bus, it obtains the status of all I / O stations under that I / O bus. The status includes the network element's own status, as well as the communication status between the current-level network element and lower-level network elements.
[0044] Condition T301: An anomaly exists in a lower-level network element. After obtaining the state of the lower-level network element, iterate through all elements to determine if an anomaly exists. This anomaly includes anomalies within the element itself as well as communication anomalies between the current network element and its lower-level network elements.
[0045] Step S302: Set the current network element to an abnormal state. If any abnormality is detected in T301, set the current network element to an abnormal state and write the abnormality into the I / O network diagnostic information structure so that higher-level network elements can make their own judgments.
[0046] Step S303: Clear the abnormal status of the current network element. If no abnormality was found in T301, clear the abnormal status of the current network element, restore it to normal, and write this normal status into the I / O network diagnostic information structure for higher-level network elements to judge.
[0047] Step S304: Proceed to the next higher-level network element exception judgment / end. After the exception judgment of the current network element is completed, proceed to the next higher-level network element exception judgment. If the current judgment level is already the I / O bus level, then the judgment process ends.
[0048] Based on the above technical solutions, the present invention also provides a diagnostic monitoring system based on tree topology, comprising:
[0049] The controller is configured to generate an I / O module diagnostic information acquisition task and an I / O network diagnostic information structure based on a configuration file. The diagnostic information acquisition task is configured to periodically acquire diagnostic information and write it into the I / O network diagnostic information structure. The controller is also configured to, based on the I / O module diagnostic information, the I / O network diagnostic information, and the tree-structured I / O network topology, progressively summarize and determine the status of each network element from bottom to top.
[0050] The configuration software module is configured to obtain the status of each element of the I / O network topology after judgment and summary from the controller and display it in a graphical manner.
[0051] In a preferred embodiment of the present invention, the configuration software module is configured to display the status of each element of the I / O network topology graphically only when the configuration configuration is consistent with the configuration within the controller.
[0052] The operation of the controller and configuration software module follows the aforementioned diagnostic monitoring method, and will not be repeated here.
[0053] The above embodiments are merely illustrative of the technical concept of the present invention and should not be construed as limiting the scope of protection of the present invention. Any modifications made to the technical solutions based on the technical concept proposed in this invention shall fall within the scope of protection of this invention.
Claims
1. A diagnostic monitoring method based on tree topology, characterized in that... Includes the following steps: Step 1: The controller generates the I / O module diagnostic information acquisition task and I / O network diagnostic information structure according to the configuration configuration file; Step 2: The diagnostic information acquisition task periodically acquires diagnostic information and writes it into the I / O network diagnostic information structure. Step 3: The controller summarizes and judges the status of each element in the network from bottom to top based on the I / O module diagnostic information, I / O network diagnostic information, and combined with the tree-shaped I / O network topology. Step 4: The configuration software obtains the status of each element of the I / O network topology after judgment and summary from the controller and displays it in a graphical manner; In step 3, the I / O network diagnostic information is determined in the order of I / O module, I / O station branch, I / O station and I / O bus; The element state determination process includes the following steps: Step S301: Obtain the abnormal status of the lower-level network element. The status includes the network element's own status, as well as the communication status between the current network element and the lower-level network element. Condition T301: There is an anomaly in the lower-level network element; after obtaining the status of the lower-level network element, iterate through all elements to determine whether there is an anomaly. This anomaly includes anomalies of the element itself as well as communication anomalies between the current network element and the lower-level network element. Step S302: Set the current network element to an abnormal state; if any abnormality is detected in T301, set the current network element to an abnormal state and write the abnormality into the I / O network diagnostic information structure so that higher-level network elements can make a judgment. Step S303: Clear the abnormal status of the network element at this level; if no abnormality is found in T301, clear the abnormal status of the network element at this level, restore it to normal, and write the normal status into the I / O network diagnostic information structure so that higher-level network elements can make judgments. Step S304: Proceed to the next higher level network element exception judgment / end; after the current level network element exception judgment is completed, proceed to the next higher level network element exception judgment; if the current judgment level is already the I / O bus level, then end the judgment process.
2. The diagnostic monitoring method based on tree topology as described in claim 1, characterized in that: In step 1, the I / O network diagnostic information structure is organized according to the I / O bus, I / O station, I / O station branch and I / O module as I / O network topology elements.
3. The diagnostic monitoring method based on tree topology as described in claim 1, characterized in that: In step 2, in addition to acquiring the diagnostic information of the I / O module, the diagnostic information acquisition task also determines the normality of the communication link through its communication with the I / O module, and writes it into the I / O network diagnostic information structure after performing an OR operation with the status of the elements under the communication link.
4. The diagnostic monitoring method based on tree topology as described in claim 1, characterized in that: In step 4, the configuration software first ensures that the configuration is consistent with the configuration in the controller, and then displays the status of each element of the I / O network topology in a graphical manner.
5. A diagnostic monitoring system based on tree topology, characterized in that: include, The controller is configured to generate an I / O module diagnostic information acquisition task and an I / O network diagnostic information structure according to a configuration configuration file. The diagnostic information acquisition task is configured to periodically acquire diagnostic information and write the diagnostic information into the I / O network diagnostic information structure. The controller is also configured to summarize and judge the status of each element in the network from bottom to top based on the I / O module diagnostic information, the I / O network diagnostic information, and the tree-shaped I / O network topology. as well as, Configuration software, which is configured to obtain the status of each element of the I / O network topology after judgment and summary from the controller and display it in a graphical manner; The controller is also configured to, when judging I / O network diagnostic information, proceed in the order of I / O module, I / O station branch, I / O station, and I / O bus; The element state determination process includes the following steps: Step S301: Obtain the abnormal status of the lower-level network element. The status includes the network element's own status, as well as the communication status between the current network element and the lower-level network element. Condition T301: There is an anomaly in the lower-level network element; after obtaining the status of the lower-level network element, iterate through all elements to determine whether there is an anomaly. This anomaly includes anomalies of the element itself as well as communication anomalies between the current network element and the lower-level network element. Step S302: Set the current network element to an abnormal state; if any abnormality is detected in T301, set the current network element to an abnormal state and write the abnormality into the I / O network diagnostic information structure so that higher-level network elements can make a judgment. Step S303: Clear the abnormal status of the network element at this level; if no abnormality is found in T301, clear the abnormal status of the network element at this level, restore it to normal, and write the normal status into the I / O network diagnostic information structure so that higher-level network elements can make judgments. Step S304: Proceed to the next higher level network element exception judgment / end; after the current level network element exception judgment is completed, proceed to the next higher level network element exception judgment; if the current judgment level is already the I / O bus level, then end the judgment process.
6. The diagnostic monitoring system based on tree topology as described in claim 5, characterized in that: The I / O network diagnostic information structure is configured to be organized according to I / O buses, I / O stations, I / O station branches, and I / O modules, which are I / O network topology elements.
7. The diagnostic monitoring system based on tree topology as described in claim 5, characterized in that: The diagnostic information acquisition task is also configured to determine whether the communication link is normal or not through its communication with the I / O module, and then perform an OR operation with the element status under the communication link and write it into the I / O network diagnostic information structure.
8. The diagnostic monitoring system based on tree topology as described in claim 5, characterized in that: The configuration software is configured to graphically display the status of each element of the I / O network topology only when the configuration configuration is consistent with the configuration within the controller.