Fault diagnosis method, equipment to be diagnosed, fault analysis equipment and industrial control system

By collecting and transmitting fault data in the industrial control system when the target monitoring information reaches the preset capture trigger conditions, the problem of difficulty in data acquisition in fault diagnosis of the equipment to be diagnosed is solved, and the rapid positioning and decoupling capabilities of fault analysis are improved.

CN118732579APending Publication Date: 2024-10-01SHENZHEN INOVANCE TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410982405.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When equipment faults are to be diagnosed in existing industrial control systems, effective fault data cannot be obtained, making it difficult to achieve rapid location and decoupling.

Method used

When the target monitoring information reaches the preset capture trigger condition, the device to be diagnosed collects and transmits fault data to the fault analysis device for fault diagnosis.

Benefits of technology

Through effective fault data transmission, the rapid positioning and decoupling capabilities of fault analysis equipment are improved, ensuring the accuracy and efficiency of fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732579A_ABST
    Figure CN118732579A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automation, in particular to a fault diagnosis method, to-be-diagnosed equipment, fault analysis equipment and an industrial control system.The method is applied to the to-be-diagnosed equipment in the industrial control system.The method comprises the steps that target monitoring information corresponding to a target monitoring item is collected; when the target monitoring information reaches a preset capture triggering condition corresponding to the target monitoring item, collecting fault data corresponding to the target monitoring item; and transmitting the fault data to fault analysis equipment, so that the fault analysis equipment performs fault diagnosis on the to-be-diagnosed equipment based on the fault data. Compared with an existing fault analysis device which cannot obtain effective fault data, and consequently, rapid positioning and decoupling are difficult to achieve, the device to be diagnosed can collect the fault data when the target monitoring information reaches the corresponding preset capture triggering condition and transmit the fault data to the fault analysis device, so that the fault analysis device can rapidly analyze the fault data. Therefore, the fault analysis equipment can obtain effective fault data, and the rapid positioning and decoupling capability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation technology, and in particular to a fault diagnosis method, a device to be diagnosed, a fault analysis device and an industrial control system. Background Art

[0002] At present, with the rapid development of industrial automation, industrial control scenarios and equipment topology structures are becoming more and more complex, and the requirements for equipment quality or the ability to quickly locate problems after product failures are becoming increasingly high. When a device to be diagnosed in most industrial control systems fails, in order to diagnose the fault, it is necessary to collect the fault data of the device to be diagnosed through a fault analysis device and perform fault diagnosis based on the fault data. However, the existing diagnostic solutions cannot obtain effective fault data, making it difficult to quickly locate and decouple the fault. Summary of the invention

[0003] The main purpose of this application is to provide a fault diagnosis method, a device to be diagnosed, a fault analysis device and an industrial control system, aiming to solve the technical problem in the prior art that effective fault data cannot be obtained, resulting in difficulty in achieving rapid positioning and decoupling.

[0004] To achieve the above object, the present application proposes a fault diagnosis method, which is applied to a device to be diagnosed in an industrial control system, wherein the device to be diagnosed is connected to a fault analysis device, and the method comprises:

[0005] Collecting target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0006] When the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, collecting fault data corresponding to the target monitoring item;

[0007] The fault data is transmitted to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

[0008] In one embodiment, the step of collecting target monitoring information corresponding to the target monitoring item includes:

[0009] Configure each item to be monitored, and configure the monitoring information corresponding to each item to be monitored;

[0010] Upon receiving the monitoring instruction, each of the items to be monitored is used as a target monitoring item, and the monitored information corresponding to each of the items to be monitored is used as the target monitoring information;

[0011] The target monitoring information is collected.

[0012] In one embodiment, before the step of collecting the target monitoring information corresponding to the target monitoring item, the method further includes:

[0013] Determine a current monitoring channel connected to the fault analysis device, and establish a corresponding monitoring path based on the current monitoring channel;

[0014] The step of transmitting the fault data to the fault analysis device comprises:

[0015] The fault data is transmitted to the fault analysis device according to the monitoring path.

[0016] In one embodiment, after the step of collecting the fault data corresponding to the target monitoring item, the method further includes:

[0017] Determining a current timestamp, and time-stamping the fault data according to the current timestamp;

[0018] The step of transmitting the fault data to the fault analysis device according to the monitoring path includes:

[0019] The marked fault data is transmitted to the fault analysis device according to the monitoring path, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the marked fault data.

[0020] In addition, to achieve the above purpose, the present application also proposes a fault diagnosis method, which is applied to a fault analysis device in an industrial control system, the fault analysis device is connected to a device to be diagnosed, and the method comprises:

[0021] Acquire the fault data transmitted by the device to be diagnosed, wherein the fault data is acquired by collecting target monitoring information corresponding to a target monitoring item through the device to be diagnosed, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0022] Fault diagnosis is performed on the device to be diagnosed based on the fault data.

[0023] In one embodiment, the step of obtaining the fault data transmitted by the device to be diagnosed includes:

[0024] Acquire the marked fault data transmitted by the device to be diagnosed according to the monitoring path, wherein the monitoring path is constructed according to the current monitoring channel connected to the device to be diagnosed, and the marked fault data is obtained by the device to be diagnosed by time-marking the fault data according to the current timestamp;

[0025] The step of performing fault diagnosis on the device to be diagnosed based on the fault data comprises:

[0026] Fault diagnosis is performed on the device to be diagnosed based on the marked fault data.

[0027] In one embodiment, the step of performing fault diagnosis on the device to be diagnosed based on the marked fault data includes:

[0028] The local time is obtained, and based on the local time and the marked fault data, the fault diagnosis is performed on the device to be diagnosed in accordance with a preset analysis method, wherein the preset analysis method is a waveform reconstruction method or a context association method.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a device to be diagnosed, the device to be diagnosed comprising:

[0030] An information collection module, used for collecting target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0031] A data acquisition module, used for acquiring fault data corresponding to the target monitoring item when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item;

[0032] The data transmission module is used to transmit the fault data to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

[0033] In addition, to achieve the above purpose, the present application also proposes a fault analysis device, the fault analysis device comprising:

[0034] A data acquisition module, used to acquire the fault data transmitted by the device to be diagnosed, wherein the fault data is acquired by the device to be diagnosed for collecting target monitoring information corresponding to a target monitoring item, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0035] A fault diagnosis module is used to perform fault diagnosis on the device to be diagnosed based on the fault data.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes an industrial control system, the system comprising: a fault analysis device and a device to be diagnosed, the device to be diagnosed being connected to the fault analysis device;

[0037] The device to be diagnosed is used to collect target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0038] The device to be diagnosed is further used to collect fault data corresponding to the target monitoring item when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item;

[0039] The fault analysis device is used to obtain fault data transmitted by the device to be diagnosed, and perform fault diagnosis on the device to be diagnosed based on the fault data.

[0040] The present application proposes a fault diagnosis method, a device to be diagnosed, a fault analysis device and an industrial control system. The method is applied to the device to be diagnosed in the industrial control system, and the device to be diagnosed is connected to the fault analysis device. The method includes: collecting target monitoring information corresponding to the target monitoring item, the target monitoring item is the function possessed by the device to be diagnosed, and the target monitoring information is the information generated when the device to be diagnosed implements the function; when the target monitoring information reaches the preset capture trigger condition corresponding to the target monitoring item, collecting the fault data corresponding to the target monitoring item; transmitting the fault data to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data. Since the device to be diagnosed in the present application can first collect the target monitoring information corresponding to the target monitoring item, when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis equipment that cannot obtain effective fault data, making it difficult to achieve rapid positioning and decoupling, the diagnostic equipment in the present application can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis equipment, so that the fault analysis equipment can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0042] Figure 1 A schematic diagram of a flow chart of a first embodiment of a fault diagnosis method proposed in an embodiment of the present application;

[0043] Figure 2 This is a functional architecture diagram of the fault diagnosis method proposed in the embodiment of the present application;

[0044] Figure 3 A framework diagram of the fault diagnosis method proposed in the embodiment of the present application;

[0045] Figure 4 A schematic diagram of a flow chart of a second embodiment of the fault diagnosis method proposed in the embodiment of the present application;

[0046] Figure 5 A schematic diagram of a flow chart of a third embodiment of the fault diagnosis method proposed in the embodiment of the present application;

[0047] Figure 6 A structural block diagram of a first embodiment of a device to be diagnosed proposed in an embodiment of the present application;

[0048] Figure 7 A structural block diagram of a first embodiment of a fault analysis device proposed in an embodiment of the present application;

[0049] Figure 8 This is a structural block diagram of the first embodiment of the industrial control system proposed in the embodiments of the present application.

[0050] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

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

[0053] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0054] In addition, the descriptions of "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0055] It should be noted that, with the rapid development of industrial automation, industrial control scenarios and equipment topology are becoming more and more complex, and the requirements for equipment quality or the ability to quickly locate problems after product failures are becoming increasingly high. When a device to be diagnosed in most industrial control systems fails, in order to diagnose the fault, it is necessary to collect the fault data of the device to be diagnosed through a fault analysis device and perform fault diagnosis based on the fault data. However, the existing diagnostic solutions cannot obtain effective fault data, making it difficult to quickly locate and decouple the fault.

[0056] Therefore, in order to solve the above defects, this embodiment provides a fault diagnosis method, which is applied to the equipment to be diagnosed in the industrial control system. The equipment to be diagnosed is connected to the fault analysis device. The above equipment to be diagnosed can first collect the target monitoring information corresponding to the target monitoring item. When the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the equipment to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities.

[0057] For ease of understanding, the following combination Figures 1 to 8 The fault diagnosis method provided in the embodiment of the present application is introduced in detail.

[0058] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the fault diagnosis method proposed in the embodiments of the present application.

[0059] like Figure 1 As shown, in this embodiment, the method is applied to a device to be diagnosed in an industrial control system, the device to be diagnosed is connected to a fault analysis device, and the method includes:

[0060] Step S10: collecting target monitoring information corresponding to the target monitoring item, wherein the target monitoring item is the function of the device to be diagnosed, and the target monitoring information is the information generated when the device to be diagnosed implements the function.

[0061] It is understandable that the above-mentioned device to be diagnosed can be a device with an input / output (IO) module, and the above-mentioned IO module can be a basic component for data exchange in an automation system. It can usually be used to receive signals from sensors or other input devices and convert them into a format that can be processed by the control system. It is also responsible for functions such as converting control signals into signals that can be understood by drivers or other output devices. This embodiment does not limit this. The above-mentioned fault diagnosis method in this embodiment can be specifically executed by the IO module in the device to be diagnosed, and of course it can also be executed by other components with similar functions. This embodiment uses the IO module for illustration.

[0062] Furthermore, in order to allow the user to customize the hardware logic according to specific application requirements, in this embodiment, the user can achieve specific requirements by programming the IO module. The above-mentioned IO module can be composed of a field programmable gate array (Field-Programmable Gate Array, FPGA), of course, it can also be other devices that achieve similar functions, and this embodiment does not limit this, but for subsequent understanding, this embodiment and subsequent embodiments all use FPGA as the above-mentioned IO module for description.

[0063] It should be understood that the above-mentioned fault analysis device can be any device for receiving fault data, wherein the fault data can be relevant data when an IO module of the device to be diagnosed fails during operation, such as hardware status information data, functional module status data, key data, key signal related data, error status data of each layer related to the bus, error count data, etc. This embodiment does not limit this.

[0064] The above-mentioned target monitoring items may be items corresponding to the specific content that needs to be monitored, which may be related to the functions implemented by the IO module in the device to be diagnosed. Specifically, the above-mentioned target monitoring items may include but are not limited to: the status of the connected external chip device, key signals on the internal logic critical path, key data (such as intermediate quantities of certain calculations, etc.), self-test of business functions, ERR (i.e. error) error counting function (abnormal reset, abnormal communication, encoding and decoding, cyclic redundancy check (Cyclic Redundancy Check, CRC)), error status (such as system check status, etc.) and core state machine status, etc.

[0065] The above-mentioned target monitoring information may be information about the specific content that needs to be monitored corresponding to the target monitoring project, that is, the information generated when the above-mentioned function is implemented. Specifically, the above-mentioned target monitoring information may be information in the information generated when the IO module is running. Since the content that needs to be monitored for each target monitoring project is different, the above-mentioned target monitoring information is also different. For example, when a certain target monitoring project is to monitor the level of a certain port, specifically when a low level appears at the port, it is a fault, and the above-mentioned target monitoring information may be the level of the port, and the above-mentioned FPGA may collect the level of the port in real time. For ease of understanding, refer to Figure 2 To explain, Figure 2 This is a functional architecture diagram of the fault diagnosis method proposed in the embodiment of the present application, such as Figure 2 As shown, the target monitoring information corresponding to the above target monitoring items corresponds to Figure 2 Information 1, information 2, information 3, information 4, information 5, information 6 and information 7. Collecting target monitoring information can correspond to Figure 2 Information collection in.

[0066] Furthermore, in order to enable the FPGA to determine the target monitoring items to be monitored, in this embodiment, the step of collecting the target monitoring information corresponding to the target monitoring items includes:

[0067] Step S11: configuring each item to be monitored, and configuring the monitored information corresponding to each item to be monitored;

[0068] It is understandable that the above-mentioned items to be monitored may be items corresponding to specific contents to be monitored, and the above-mentioned information to be monitored may be information of specific contents to be monitored corresponding to the items to be monitored. The above-mentioned items to be monitored may also include but are not limited to: the status of the connected external chip device, key signals on the internal logic critical path, key data (such as intermediate quantities of certain calculations, etc.), self-test of business functions, ERR error counting function (abnormal reset, abnormal communication, encoding and decoding, CRC, etc.), error status (such as the status of system verification, etc.) and core state machine status, etc. Then, the above-mentioned information to be monitored corresponds to the corresponding items to be monitored, and can be set according to actual conditions, and this embodiment does not limit this.

[0069] It should be noted that the user can configure the FPGA in advance, configure the specific items to be monitored and the corresponding information, that is, configure the above-mentioned items to be monitored and the corresponding information to be monitored. The above-mentioned items to be monitored can be one or more, and the specific number is not limited in this embodiment. When multiple items to be monitored are set, the above-mentioned FPGA can monitor all the items to be monitored.

[0070] Step S12: when receiving the monitoring instruction, taking each of the items to be monitored as a target monitoring item, and taking the monitored information corresponding to each of the items to be monitored as the target monitoring information;

[0071] Step S13: Collect the target monitoring information.

[0072] The monitoring instruction may be an instruction for starting monitoring, and may be specifically triggered by a user when there is a need, or the monitoring instruction may be determined to be obtained after the IO module is powered on.

[0073] In a specific implementation, before use, the FPGA can pre-configure any number of monitored items and corresponding monitored information according to user needs; and then in actual use, when the IO module is powered on, each pre-set monitored information can be used as a target monitoring item, and the monitored information corresponding to each monitored item can be used as the target monitoring information, and the collection of each target monitoring information can begin.

[0074] As another implementation, the FPGA may also set some of the items to be monitored as target monitoring items according to requirements. For example, the FPGA may set some of the items to be monitored as target monitoring items according to the current usage scenario to improve applicability.

[0075] Step S20: When the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, collecting fault data corresponding to the target monitoring item;

[0076] Step S30: transmitting the fault data to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

[0077] It should be understood that the above-mentioned preset capture trigger condition can be a condition corresponding to the information content of the target monitoring information when a fault occurs. Based on the above example, when a certain target monitoring item is to monitor the level of a certain port, specifically when a low level appears at the port, it is a fault, and then the above-mentioned preset capture condition can be a condition that the port is at a low level. That is, when the FPGA collects that the port is at a low level, it is determined that the corresponding preset capture condition is met, and the fault data corresponding to the target monitoring item is captured.

[0078] After acquiring the fault data, the FPGA can transmit the data to the fault analysis device through a data communication interface connected to the fault analysis device, wherein the data communication interface may include but is not limited to a serial port and a parallel port (i.e. Figure 2 The fault analysis device can perform fault diagnosis and other operations on the fault data.

[0079] Furthermore, in order to realize the storage of fault data, this embodiment may also set a storage mechanism, which can store the fault data captured by the FPGA in an external non-volatile storage medium or an internal storage in a read-write operation mode; the storage leader may be a fault analysis device or an FPGA, which can be automatically adapted and selected according to system requirements. This embodiment uses FPGA as the leader for explanation, that is, the device to be diagnosed includes: an internal storage unit, and the device to be diagnosed is also connected to an external storage unit. After the step of collecting the fault data corresponding to the target monitoring item, it also includes:

[0080] Step S40: storing the fault data to a target storage unit according to a preset storage mechanism, wherein the target storage unit is the internal storage unit and / or the external storage unit.

[0081] It should be noted that the internal storage unit and the external storage unit can be any unit for storage, such as a solid state drive, a flash memory card, etc., and this embodiment does not limit this. The internal storage unit can be set inside the device to be diagnosed, specifically inside the IO module, that is, corresponding to Figure 2 The external storage unit can be arranged outside the device to be diagnosed.

[0082] The above-mentioned preset storage mechanism may be a mechanism for determining a storage path. Figure 3 , Figure 3 A framework diagram of the fault diagnosis method proposed in the embodiment of the present application, such as Figure 3As shown, in actual use, the user can pre-select the storage path as the above-mentioned preset storage mechanism, and then after the FPGA collects the fault data, it can store the fault data in the corresponding target storage unit according to the preset storage mechanism, that is, the corresponding Figure 3 ① and ③, where ① is the fault data obtained by Figure 3 ③ is to transmit the fault data to the external storage medium (eeprom) through the processor. The above-mentioned logic APP can be the application running in the FPGA, and the above-mentioned processor can be the above-mentioned fault analysis device (that is, Figure 2 logic APP, data storage state machine and IIC interface).

[0083] In this embodiment, the above-mentioned device to be diagnosed can first collect the target monitoring information corresponding to the target monitoring item, and when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the device to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities.

[0084] Reference Figure 4 , Figure 4 This is a flow chart of the second embodiment of the fault diagnosis method proposed in the embodiment of the present application.

[0085] In order to realize fault transmission between the fault analysis equipment and the equipment to be diagnosed, Figure 4 As shown, in this embodiment, before the step of collecting the target monitoring information corresponding to the target monitoring item, it also includes:

[0086] Step S01: determining a current monitoring channel connected to the fault analysis device, and establishing a corresponding monitoring path based on the current monitoring channel;

[0087] The step of transmitting the fault data to the fault analysis device comprises:

[0088] Step S31: Transmitting the fault data to the fault analysis device according to the monitoring path.

[0089] It should be noted that the above-mentioned current monitoring channel can be a channel for the fault analysis device to monitor the FPGA, which may include but is not limited to a local monitoring channel and a remote monitoring channel. The user can select the corresponding monitoring channel according to the current usage scenario. When the fault analysis device for monitoring is near the physical location of the device to be diagnosed, the local monitoring method can be selected, and the above-mentioned current monitoring channel is the local monitoring channel; when the fault analysis device for monitoring is far away from the physical location of the device to be diagnosed, the remote monitoring method can be selected, that is, the current monitoring channel is the remote monitoring channel, wherein remote monitoring can be implemented using communication technologies such as industrial field bus, Ethernet, wireless network, etc., and this embodiment does not limit this.

[0090] It should be emphasized that if it is a local monitoring channel, the device to be diagnosed can be connected to the local serial port, and then the local serial port is connected to the local fault analysis device for monitoring, that is, the corresponding Figure 3 ②Connect to the serial port of the device to be diagnosed through Uart (i.e. Figure 3 If it is a remote monitoring channel, the device to be diagnosed can select the corresponding bus to connect to the remote fault analysis device for monitoring, that is, the corresponding Figure 3 ④ Through industrial fieldbus or user-defined bus protocol (i.e. Figure 3 local bus, industrial bus, etc.), and transmit the fault data to the host computer (i.e. Figure 3 In MasterIDE); In addition, the collected fault data can also be presented on the fault analysis device through the processor Linux command (i.e. Figure 3 (in ①).

[0091] After the current monitoring channel is determined, a monitoring path for monitoring can be established between the device to be diagnosed and the fault analysis device (i.e. Figure 2 Processor APP, serial port connector, multi-channel selection). After the installation is completed, the collected fault data can be transmitted to the fault analysis device according to the monitoring path.

[0092] Furthermore, in order to improve the accuracy and traceability of the fault data, in this embodiment, after the above step of collecting the fault data corresponding to the target monitoring item, the following step is further included:

[0093] Step S21: determining a current timestamp, and time-marking the fault data according to the current timestamp;

[0094] The step of transmitting the fault data to the fault analysis device according to the monitoring path includes:

[0095] Step S311: transmitting the marked fault data to the fault analysis device according to the monitoring path, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the marked fault data.

[0096] It is understandable that the above current timestamp may be the timestamp corresponding to the collected fault data. After capturing the relevant fault data, the FPGA may stamp the fault data with the corresponding current timestamp to obtain the marked fault data, and then transmit the marked fault data to the fault analysis device according to the monitoring path constructed above;

[0097] When the fault analysis device receives the marked fault data, it can perform fault analysis in conjunction with the current timestamp therein. Specifically, the fault analysis device can obtain the local time inside the fault analysis device, and then the fault analysis device can align the current timestamp with the local time, and analyze the events corresponding to the local time of the fault analysis device under the current timestamp to determine whether there are operations or changes related to the fault of the device to be diagnosed, and then combine the corresponding events to accurately analyze the fault data.

[0098] It should also be emphasized that the above-mentioned fault analysis device can use waveform reconstruction or context association to perform fault diagnosis during analysis. The waveform reconstruction method can be to reassemble the captured fault data in chronological order to form a signal change waveform when the fault occurs for analysis; the context association method can be combined with other system states or events (such as system configuration, operating mode, and external events, etc.) for analysis. Of course, other methods can also be used, and this embodiment does not limit this.

[0099] In this embodiment, the device to be diagnosed can add a corresponding current timestamp to the fault data when collecting the fault data, so that the fault analysis device can analyze the fault data in combination with the current timestamp when performing fault diagnosis, thereby improving the accuracy of the analysis result.

[0100] Reference Figure 5 , Figure 5 This is a flow chart of the third embodiment of the fault diagnosis method proposed in the embodiments of the present application.

[0101] like Figure 5 As shown, this embodiment also proposes a fault diagnosis method, which is applied to a fault analysis device in an industrial control system, the fault analysis device is connected to a device to be diagnosed, and the method includes:

[0102] Step S50: acquiring fault data transmitted by the device to be diagnosed, wherein the fault data is acquired by collecting target monitoring information corresponding to a target monitoring item through the device to be diagnosed, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, wherein the target monitoring item is an item corresponding to a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0103] Step S60: performing fault diagnosis on the device to be diagnosed based on the fault data.

[0104] It should be understood that the above-mentioned fault analysis device can be any device for receiving fault data, such as a processor, etc., and this embodiment does not limit this. The above-mentioned fault data can be relevant data when a fault occurs in the operation of the device to be diagnosed, such as hardware status information data, function module status data, key data, key signal related data, error status data of each layer related to the bus, error count data, etc., and this embodiment does not limit this.

[0105] The above-mentioned device to be diagnosed may be provided with an IO module, wherein the IO module may be composed of a field programmable gate array (Field-Programmable Gate Array, FPGA), and of course, may also be other devices that implement similar functions. This embodiment is not limited to this, but for subsequent understanding, this embodiment and subsequent embodiments all use FPGA as the above-mentioned IO module for illustration.

[0106] In a specific implementation, the FPGA can first collect the target monitoring information corresponding to the target monitoring item, and when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the device to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the ability of rapid positioning and decoupling. At the same time, since this embodiment does not require the fault analysis device to actively obtain fault data, compared with the existing fault analysis device that requires the fault analysis device to have a fault data collection function when performing fault analysis, this embodiment does not require the fault analysis device to have this function, thereby improving the user experience, and enabling the fault analysis device to quickly and conveniently obtain the corresponding fault data.

[0107] It should be emphasized that, since the above embodiments describe specific implementation processes, the specific implementation processes in this embodiment can all refer to the above embodiments, and this embodiment will not elaborate on them.

[0108] Furthermore, in order to improve the accuracy and traceability of the fault data, the step of obtaining the fault data transmitted by the device to be diagnosed includes:

[0109] Acquire the marked fault data transmitted by the device to be diagnosed according to the monitoring path, wherein the monitoring path is constructed according to the current monitoring channel connected to the device to be diagnosed, and the marked fault data is obtained by the device to be diagnosed by time-marking the fault data according to the current timestamp;

[0110] The step of performing fault diagnosis on the device to be diagnosed based on the fault data comprises:

[0111] Fault diagnosis is performed on the device to be diagnosed based on the marked fault data.

[0112] It is understandable that the user can select the corresponding monitoring channel according to the current usage scenario. After determining the current monitoring channel, a monitoring path for monitoring can be established between the device to be diagnosed and the fault analysis device. After the establishment is completed, the collected fault data can be transmitted to the fault analysis device according to the monitoring path.

[0113] At the same time, after capturing relevant fault data, the FPGA can mark the fault data with the corresponding current timestamp to obtain the marked fault data, and then transmit the marked fault data to the fault analysis device according to the monitoring path constructed above. When the fault analysis device receives the marked fault data, it can perform fault analysis together with the current timestamp.

[0114] Furthermore, the step of performing fault diagnosis on the device to be diagnosed based on the marked fault data includes:

[0115] The local time is obtained, and based on the local time and the marked fault data, the fault diagnosis is performed on the device to be diagnosed in accordance with a preset analysis method, wherein the preset analysis method is a waveform reconstruction method or a context association method.

[0116] It should be understood that the above local time may be the time inside the fault analysis device.

[0117] Specifically, the fault analysis device can obtain the local time inside the fault analysis device, and then the fault analysis device can align the current timestamp with the local time, and analyze the event corresponding to the local time of the fault analysis device at the current timestamp according to a preset analysis method, to determine whether there are any operations or changes related to the fault of the device to be diagnosed, and then combine the corresponding events to achieve accurate analysis of the fault data.

[0118] It should also be noted that the above-mentioned preset analysis method can be a waveform reconstruction method or a context association method. The above-mentioned waveform reconstruction method can be to reassemble the captured fault data in time sequence to form a signal change waveform when the fault occurs for analysis; the above-mentioned context association method can be combined with the relationship with other system states or events (such as system configuration, operation mode, and external events, etc.) for analysis. Of course, other methods can also be used, and this embodiment does not limit this.

[0119] Other embodiments or specific implementations of the industrial control system described in this embodiment can refer to the above-mentioned embodiments corresponding to the device to be diagnosed, and will not be described in detail here.

[0120] In addition, to achieve the above purpose, this embodiment also proposes a device to be diagnosed, referring to Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the device to be diagnosed proposed in the embodiment of the present application, such as Figure 6 As shown, the device to be diagnosed includes:

[0121] The information collection module 601 is used to collect target monitoring information corresponding to the target monitoring item, wherein the target monitoring item is the function of the device to be diagnosed, and the target monitoring information is the information generated when the device to be diagnosed implements the function;

[0122] The data collection module 602 is used to collect the fault data corresponding to the target monitoring item when the target monitoring information reaches the preset capture trigger condition corresponding to the target monitoring item;

[0123] The data transmission module 603 is used to transmit the fault data to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

[0124] In this embodiment, the above-mentioned device to be diagnosed can first collect the target monitoring information corresponding to the target monitoring item, and when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the device to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities.

[0125] As an implementation method, the information collection module 601 is also used to configure each monitored item and configure the monitored information corresponding to each monitored item; when receiving a monitoring instruction, each monitored item is used as a target monitoring item, and the monitored information corresponding to each monitored item is used as target monitoring information; and the target monitoring information is collected.

[0126] As an implementation mode, the information collection module 601 is further used to determine the current monitoring channel connected to the fault analysis device, and to establish a corresponding monitoring path based on the current monitoring channel;

[0127] The data transmission module 603 is further used to transmit the fault data to the fault analysis device according to the monitoring path.

[0128] As an implementation mode, the data acquisition module 602 is further used to determine a current timestamp, and time-mark the fault data according to the current timestamp;

[0129] The data transmission module 603 is further used to transmit the marked fault data to the fault analysis device according to the monitoring path, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the marked fault data.

[0130] In addition, to achieve the above purpose, this embodiment also proposes a fault analysis device, referring to Figure 7 , Figure 7 This is a structural block diagram of the first embodiment of the fault analysis device proposed in the embodiment of the present application; Figure 7 As shown, the fault analysis device includes:

[0131] The data acquisition module 701 is used to acquire the fault data transmitted by the device to be diagnosed. The fault data is acquired by the device to be diagnosed collecting target monitoring information corresponding to the target monitoring item, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item. The target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function.

[0132] The fault diagnosis module 702 is used to perform fault diagnosis on the device to be diagnosed based on the fault data.

[0133] In this embodiment, the above-mentioned device to be diagnosed first collects the target monitoring information corresponding to the target monitoring item, and when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the device to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities. At the same time, since this embodiment does not require the fault analysis device to actively obtain fault data, compared with the existing fault analysis device that requires the fault analysis device to have a fault data collection function when performing fault analysis, this embodiment does not require the fault analysis device to have this function, thereby improving the user experience, and enabling the fault analysis device to quickly and conveniently obtain the corresponding fault data.

[0134] As an implementation manner, the data acquisition module 701 is further used to acquire the marked fault data transmitted by the device to be diagnosed according to the monitoring path, the monitoring path is constructed according to the current monitoring channel connected to the device to be diagnosed, and the marked fault data is obtained by the device to be diagnosed by time-marking the fault data according to the current timestamp;

[0135] The fault diagnosis module 702 is further configured to perform fault diagnosis on the device to be diagnosed based on the marked fault data.

[0136] As an implementation mode, the fault diagnosis module 702 is also used to obtain local time, and perform fault diagnosis on the device to be diagnosed based on the local time and the marked fault data according to a preset analysis method, and the preset analysis method is a waveform reconstruction method or a context association method.

[0137] In addition, to achieve the above purpose, this embodiment also proposes an industrial control system, referring to Figure 8 , Figure 8 This is a structural block diagram of the first embodiment of the industrial control system proposed in the embodiment of the present application, such as Figure 8 As shown, the system includes: a fault analysis device and a device to be diagnosed, wherein the device to be diagnosed is connected to the fault analysis device;

[0138] The device to be diagnosed is used to collect target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function;

[0139] The device to be diagnosed is further used to collect fault data corresponding to the target monitoring item when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item;

[0140] The fault analysis device is used to obtain fault data transmitted by the device to be diagnosed, and perform fault diagnosis on the device to be diagnosed based on the fault data.

[0141] In this embodiment, the above-mentioned device to be diagnosed can first collect the target monitoring information corresponding to the target monitoring item, and when the collected target monitoring information reaches the corresponding preset capture trigger condition, the fault data corresponding to the target monitoring item is collected, and the fault data is transmitted to the fault analysis device for fault diagnosis. Compared with the existing fault analysis device that cannot obtain effective fault data, resulting in difficulty in rapid positioning and decoupling, the device to be diagnosed in this embodiment can collect fault data when the target monitoring information reaches the corresponding preset capture trigger condition, and transmit it to the fault analysis device, so that the fault analysis device can obtain effective fault data, thereby improving the rapid positioning and decoupling capabilities.

[0142] As an implementation mode, the device to be diagnosed is further used to configure each item to be monitored, and configure the monitored information corresponding to each item to be monitored;

[0143] The device to be diagnosed is further used to, upon receiving a monitoring instruction, use each of the items to be monitored as a target monitoring item, and use the monitored information corresponding to each of the items to be monitored as the target monitoring information;

[0144] The device to be diagnosed is also used to collect the target monitoring information.

[0145] As an implementation mode, the device to be diagnosed is further used to determine a current monitoring channel connected to the fault analysis device, and to establish a corresponding monitoring path based on the current monitoring channel;

[0146] The device to be diagnosed is also used to transmit the fault data to the fault analysis device according to the monitoring path.

[0147] As an implementation mode, the device to be diagnosed is further used to determine a current timestamp, and time-mark the fault data according to the current timestamp;

[0148] The device to be diagnosed is further used to transmit the marked fault data to the fault analysis device according to the monitoring path;

[0149] The fault analysis device is further used to obtain the marked fault data transmitted by the device to be diagnosed according to the monitoring path;

[0150] The fault analysis device is further used to perform fault diagnosis on the device to be diagnosed based on the marked fault data.

[0151] As an implementation mode, the device to be diagnosed includes: an internal storage unit, the system further includes: an external storage unit, and the device to be diagnosed is also connected to the external storage unit;

[0152] The device to be diagnosed is further used to store the fault data to a target storage unit according to a preset storage mechanism, and the target storage unit is the internal storage unit and / or the external storage unit.

[0153] As an embodiment, the fault analysis device is also used to obtain local time, and perform fault diagnosis on the device to be diagnosed based on the local time and the marked fault data according to a preset analysis method, and the preset analysis method is a waveform reconstruction method or a context association method.

[0154] The specific structure of the industrial control system refers to the above method embodiment. Since the industrial control system adopts all the technical solutions of all the above embodiments, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0155] Other embodiments or specific implementations of the industrial control system described in this application can refer to the various fault diagnosis method embodiments, which will not be repeated here.

[0156] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A fault diagnosis method, characterized in that: The method is applied to a device to be diagnosed, the device to be diagnosed is connected to a fault analysis device, and the method comprises: Collecting target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function; When the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, collecting fault data corresponding to the target monitoring item; The fault data is transmitted to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

2. The method according to claim 1, characterized in that The step of collecting target monitoring information corresponding to the target monitoring item includes: Configure each item to be monitored, and configure the monitoring information corresponding to each item to be monitored; Upon receiving the monitoring instruction, each of the items to be monitored is used as a target monitoring item, and the monitored information corresponding to each of the items to be monitored is used as the target monitoring information; The target monitoring information is collected.

3. The method according to claim 1, characterized in that Before the step of collecting the target monitoring information corresponding to the target monitoring item, the method further includes: Determine a current monitoring channel connected to the fault analysis device, and establish a corresponding monitoring path based on the current monitoring channel; The step of transmitting the fault data to the fault analysis device comprises: The fault data is transmitted to the fault analysis device according to the monitoring path.

4. The method according to claim 3, characterized in that After the step of collecting the fault data corresponding to the target monitoring item, the method further includes: Determining a current timestamp, and time-stamping the fault data according to the current timestamp; The step of transmitting the fault data to the fault analysis device according to the monitoring path includes: The marked fault data is transmitted to the fault analysis device according to the monitoring path, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the marked fault data.

5. A fault diagnosis method, characterized in that: The method is applied to a fault analysis device in an industrial control system, the fault analysis device is connected to a device to be diagnosed, and the method comprises: Acquire the fault data transmitted by the device to be diagnosed, wherein the fault data is acquired by collecting target monitoring information corresponding to a target monitoring item through the device to be diagnosed, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function; Fault diagnosis is performed on the device to be diagnosed based on the fault data.

6. The method according to claim 5, characterized in that The step of obtaining the fault data transmitted by the device to be diagnosed includes: Acquire the marked fault data transmitted by the device to be diagnosed according to the monitoring path, wherein the monitoring path is constructed according to the current monitoring channel connected to the device to be diagnosed, and the marked fault data is obtained by the device to be diagnosed by time-marking the fault data according to the current timestamp; The step of performing fault diagnosis on the device to be diagnosed based on the fault data comprises: Fault diagnosis is performed on the device to be diagnosed based on the marked fault data.

7. The method according to claim 6, characterized in that The step of performing fault diagnosis on the device to be diagnosed based on the marked fault data comprises: The local time is obtained, and based on the local time and the marked fault data, the fault diagnosis is performed on the device to be diagnosed in accordance with a preset analysis method, wherein the preset analysis method is a waveform reconstruction method or a context association method.

8. A device to be diagnosed, characterized in that: The device to be diagnosed comprises: An information collection module, used for collecting target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function; A data acquisition module, configured to acquire fault data corresponding to the target monitoring item when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item; The data transmission module is used to transmit the fault data to the fault analysis device, so that the fault analysis device performs fault diagnosis on the device to be diagnosed based on the fault data.

9. A fault analysis device, characterized in that: The fault analysis device comprises: A data acquisition module, used to acquire the fault data transmitted by the device to be diagnosed, wherein the fault data is acquired by the device to be diagnosed for collecting target monitoring information corresponding to a target monitoring item, and is acquired when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function; A fault diagnosis module is used to perform fault diagnosis on the device to be diagnosed based on the fault data.

10. An industrial control system, characterized in that: The system comprises: a fault analysis device and a device to be diagnosed, wherein the device to be diagnosed is connected to the fault analysis device; The device to be diagnosed is used to collect target monitoring information corresponding to a target monitoring item, wherein the target monitoring item is a function possessed by the device to be diagnosed, and the target monitoring information is information generated when the device to be diagnosed implements the function; The device to be diagnosed is further used to collect fault data corresponding to the target monitoring item when the target monitoring information reaches a preset capture trigger condition corresponding to the target monitoring item; The fault analysis device is used to obtain fault data transmitted by the device to be diagnosed, and perform fault diagnosis on the device to be diagnosed based on the fault data.

Citation Information

Cited By

  • Industrial control system fault diagnosis method, computing device and storage medium

    CN119439970A

  • Method, computing device, and storage medium for industrial control system fault diagnosis

    CN119439970B