Defect Analysis Equipment
The failure analysis device addresses the challenge of identifying malfunction sources in multi-functional control systems by grouping devices and analyzing logs to pinpoint failure causes, enhancing troubleshooting efficiency.
Patent Information
- Application Number
- JP2021188883
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2041-11-19
AI Technical Summary
Existing control systems struggle to identify the cause of malfunctions across multiple devices with different functions, as existing technologies only analyze output from individual devices, failing to provide comprehensive information on the source of failures.
A failure analysis device that groups control devices and compares their logs to detect suspected defects, allowing for the extraction of potential failure causes by analyzing log data and system structure, and providing a user interface for manual log designation when automated detection fails.
Enables identification of the source of malfunctions within complex control systems by comparing logs and system structures, facilitating quicker troubleshooting and reducing downtime.
Smart Images

Figure 0007572934000001 
Figure 0007572934000002 
Figure 0007572934000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a fault analysis apparatus for a control system. [Background technology]
[0002] In recent years, control systems that communicate and control a large number of devices have become widespread in various fields, and are also being adopted in Train Control Management Systems (TCMS), etc.
[0003] In the development of such control systems, there is a need to efficiently identify the cause of a malfunction in a control system in order to reduce development and operation costs and shorten the downtime when a malfunction occurs.Patent Document 1 proposes a log analysis device that compares logs output by multiple devices that are highly similar to each other and calculates the importance of the malfunction based on the difference. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2012-203431 A Summary of the Invention [Problem to be solved by the invention]
[0005] In Patent Document 1, the analysis only targets the output to the control device of the controlled device, and therefore does not anticipate obtaining information to identify which control device is causing the malfunction in a control system in which data flows vertically and horizontally between multiple control devices, including those with different functions. Therefore, an object of the present invention is to provide information that is useful for identifying which part of a control system is causing a malfunction, for a control system that is composed of multiple control devices, including those with different functions. [Means for solving the problem]
[0006] In order to solve the above problems, one representative fault analysis device of the present invention has an analysis range of at least a plurality of control device groups of a control system, and has a suspected fault log detection unit that compares the output logs of the control device groups to detect suspected fault logs, a suspected fault log designation screen display unit that displays a screen for accepting the designation of a suspected fault log if no suspected fault log is detected by the suspected fault log detection unit, and a candidate fault cause extraction unit that extracts candidate fault causes of the control device group based on the suspected fault logs detected by the suspected fault log detection unit or the suspected fault logs designated and accepted by the suspected fault log designation screen display unit. Effect of the Invention
[0007] According to the present invention, it is possible to provide information useful for identifying which part of a control system is causing a malfunction, for a control system made up of a plurality of control devices, including those with different functions. Problems, configurations and effects other than those described above will become apparent from the description of the following embodiments. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating a hardware configuration of a failure analysis device. [Diagram 2] FIG. 2 is a functional block diagram of the failure analysis device. [Diagram 3] FIG. 3 is a diagram showing an example of the configuration of a control system to be analyzed by the failure analysis device. [Figure 4] FIG. 4 is a diagram illustrating an example of a log specification. [Diagram 5] FIG. 5 is a diagram illustrating an example of a system structure. [Figure 6] FIG. 6 is a flowchart showing the operation of the failure analysis device. [Figure 7] FIG. 7 is a diagram illustrating an example of an operation of the fault analysis device for detecting a suspected fault log. [Figure 8] FIG. 8 is a diagram showing an example of a suspected fault log designation screen of the fault analysis device. [Figure 9] FIG. 9 is a diagram illustrating an example of the operation of the malfunction cause candidate detection unit of the malfunction analysis device. [Figure 10] FIG. 10 is a diagram showing an example of a defect cause candidate display screen of the defect analysis device. [Figure 11] FIG. 11 is a diagram illustrating an example of a program structure. [Figure 12] FIG. 12 is a diagram showing an example of a program structure represented as a graph structure. [Figure 13] FIG. 13 is a diagram illustrating an example of a defect cause candidate display screen of the defect analysis device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The embodiments will be described with reference to the drawings. Note that the embodiments described below do not limit the invention according to the claims, and not all of the elements and combinations described in the embodiments are essential to the solution of the invention. In the description of the drawings, the same parts are indicated by the same reference numerals.
[0010] [Example 1] <Failure analysis equipment> 1 is a diagram showing the hardware configuration of a fault analysis device 10. As shown in the figure, the fault analysis device 10 includes a processor 101, a main memory device 102, an auxiliary memory device 103, an input device 104, an output device 105, and a communication device 106.
[0011] The processor 101 is configured using, for example, a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). The main memory 102 is a device that stores programs and data, and is, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), or an NVRAM (Non Volatile RAM). The processor 101 and the main memory 102 configure an information processing device. The processor 101 reads out and executes a program stored in the main memory 102, thereby realizing various functions of the failure analysis device 10. The auxiliary memory 103 is, for example, a SSD (Solid State Drive), a hard disk drive, an optical storage device, a read / write device for a recording medium, or the like. The programs and data stored in the auxiliary memory 103 are loaded into the main memory 102 as needed.
[0012] The input device 104 is a device that acquires information from a user, such as a keyboard, a mouse, a touch panel, etc. The output device 105 is a device that provides information to a user, such as a liquid crystal monitor, an LCD (Liquid Crystal Display), a graphic card, a speaker, etc. The communication device 106 is a wired or wireless communication interface that realizes communication with other devices via a communication means such as a LAN, and examples of such a communication device include a NIC (Network Interface Card), a wireless communication module, a USB (Universal Serial Interface) module, and a serial communication module.
[0013] 2 is a functional block diagram of the failure analysis device. The log acquisition unit 201 acquires logs recorded in a plurality of control devices included in the control system 21 via the communication device 106, and is executed by the processor 101, the main memory device 102, the input device 104, and the communication device 106. The control system 21 is a system that controls equipment, and is the subject of analysis by the failure analysis device 10 . The log acquired by the log acquisition unit 201 is communication data between the control devices constituting the control system 21 .
[0014] The log specification storage unit 202 stores the specification of the log to be recorded in the control device included in the control system 21 , and is performed in the auxiliary storage device 103 .
[0015] The suspected fault log detection unit 203 analyzes the log acquired by the log acquisition unit 201 based on the log specifications stored in the log specification storage unit 202, and detects logs (suspected fault logs) that are presumed to have been output due to a fault in the control system 21. It is executed by the processor 101 and the main memory device 102.
[0016] The suspected fault log specification screen display unit 204 receives specification of a suspected fault log from the user of the fault analysis device 10 when the suspected fault log detection unit 203 cannot detect a suspected fault log.
[0017] The system structure storage unit 205 stores information relating to the structure of the control system 21 and is implemented in the auxiliary storage device 103 .
[0018] The malfunction cause candidate detection unit 206 analyzes the suspected malfunction log obtained by the suspected malfunction log detection unit 203 or the suspected malfunction log designation screen display unit 204 based on the system structure stored in the system structure storage unit 205, and detects candidate causes of malfunctions in the control system 21. It is executed by the processor 101 and the main memory device 102.
[0019] The defect cause candidate display unit 207 displays the defect cause candidates detected by the defect cause candidate detection unit 206 to the user of the defect analysis device 10. It is executed by the processor 101, the main memory device 102, and the output device 105.
[0020] <Control system> 3 is a diagram showing an example of the configuration of a control system 21 that is the target of analysis by the failure analysis device 10. The control system 21 includes an information display device 301, a system control device 302, a communication device group 303, and an equipment control device group 304. Each of these has a different function. The communication device group 303 and the equipment control device group 304 include a plurality of devices having the same function. That is, the communication device group 303 includes a communication device A3031, a communication device B3032, and a communication device C3033, and the equipment control device group 304 includes an equipment control device A3041, an equipment control device B3042, and an equipment control device C3043 having the same function. However, it goes without saying that the devices included in the control system 21 are not limited to these in terms of functionality, and the number of devices and the combination of devices that communicate with each other are also examples.
[0021] The information display device 301 is an interface for monitoring the control status and inputting instructions between the system control device 302. The system control device 302 controls the operation of each equipment control device via a communication device. The communication devices A3031-C3033 manage the distribution and transfer of information between the system control device and other communication devices and equipment control devices. The equipment control devices A3041-C3043 refer to devices that control the movement of machines and the flow of electricity within the devices, and include devices such as air conditioning and brakes.
[0022] In this embodiment, the term "control device" simply refers to each device included in the control system 21 and targeted for failure analysis, ie, the information display device, the system control device, the communication device, and the equipment control device.
[0023] In this embodiment, control devices that have the same function and operate in a similar manner are classified into a group (hereinafter, such a group may be referred to as an "equipment group" or a "control device group"). Equipment control devices A to C that have similar functions (e.g., air conditioning) are collectively referred to as an equipment control device group. Therefore, for example, a train has an equipment control device (air conditioning) group consisting of the air conditioning of each car (equipment control device (air conditioning) A of car 1, equipment control device (air conditioning) B of car 2, equipment control device (air conditioning) C of car 3) or an equipment control device (brake) group consisting of the brakes of each car (equipment control device (brake) A of car 1, equipment control device (brake) B of car 2, equipment control device (brake) C of car 3). However, it is not necessary that there are multiple control devices in the control device group, and there may be cases where there is only one control device in the control device group.
[0024] <Log specification> The log specifications stored in the log specification storage unit 202 will be described below. Fig. 4 is a diagram showing an example of a log specification. Each line of the log specification 40 represents specifications related to one piece of data, and includes a transmission path 401, a data position 402, data contents 403, a data change classification 404, and device specific data 405 as data items. The contents of the communication data log include the time, sender, destination, data location, and data content value (data value). The log is collected at intervals of approximately several hundred milliseconds to several seconds, but is not limited to this. The log may be called an output log from the sender side.
[0025] The transmission path 401 indicates the source and destination of the data. The data position 402 indicates the position of the data in the log. The data content 403 describes the content of the data, such as the device number (a number that identifies the device, such as 1 for air conditioning and 2 for brakes), control abnormality (whether or not a control abnormality has been detected), and control mode A validity (whether or not control mode A (e.g., cooling) is valid). The data change classification 404 classifies the form of change in the value of the data, such as discrete (changes at regular intervals, such as 0, 1, ...), continuous (continuous changes due to physical actions, such as current, voltage, and pressure), and Boolean (binary change, such as the presence or absence of an abnormality). The device specific data 405 indicates whether or not it is expected that the values will be different for each device, even if they are the same type of device.
[0026] <System Structure> The system structure stored in the system structure storage unit 205 will be described below. Fig. 5 is a diagram showing an example of the system structure. Each row of the system structure 50 represents one device, and includes a device 501, a group 502, a connected device (controlled) 503, and a connected device (controlling) 504 as items.
[0027] Device 501 is a name that identifies the device. Group 502 is a group to which the device belongs, and devices having the same type of function belong to a group with the same name. Connecting device (controlled) 503 and connecting device (controlling) 504 are names of devices to which the device connects via communication means. Here, in the control system 21, data giving control commands flows from the connecting device (controlled) to the connecting device (controlling), and data showing the results of control flows from the connecting device (controlling) to the connecting device (controlled). Therefore, for example, with regard to the system control device, data of control commands flows from the information display device to the system control device and further from the system control device to the communication device A, while data of the control results flows from the communication device A to the system control device and further from the system control device to the information display device.
[0028] <Steps of defect analysis> 6 is a flowchart showing the operation of the failure analysis device. The operation based on the flowchart of FIG. 6 is as follows. Step 601: Select the extraction range of the logs to be analyzed in the following steps. Selection is performed by specifying conditions such as the start time, end time, and target device of the log. When specifying the target device, at least two or more control device groups can be specified. Step 602: Suspected malfunction logs are detected from the logs in the range specified in step 601. Step 603: It is determined whether a suspected malfunction log was detected in step 602. Step 604: If no suspected fault log has been detected in step 603, a suspected fault log designation from the user is accepted. Step 605: Based on the suspected malfunction log from step 603 or step 604, the cause of the malfunction is analyzed. Step 606: The analysis results of step 605 are displayed as possible causes of the defect.
[0029] <Method for detecting suspicious logs> Step 602 will be further explained. Fig. 7 is a diagram showing an example of the operation of the malfunction analysis device for detecting a suspected malfunction log. Log 70 shows a log related to communication data from device control device A3041 to communication device A3031, log 71 shows a log related to communication data from device control device B3042 to communication device B3032, and log 72 shows a log related to communication data from device control device C3043 to communication device C3033, all for the same time and the same data. Here, device control device A3041, device control device B3042, and device control device C3043 are expected to operate in the same way, and the same data is provided from communication device A3031, communication device B3032, and communication device C3033 except for data that depends on the devices.
[0030] Dates and times 701, 711, 721 indicate the times when each log was acquired, data positions 702, 712, 722 indicate the positions of data in each log, and data values 703, 713, 723 indicate data items related to the values of the data contents in each log. For example, if the data contents at data position 1 indicate an equipment number, the data contents at data position 2 indicate a control abnormality, and the data contents at data position 3 indicate that control mode A is enabled, then log 70 indicates that for equipment number 1 (e.g., air conditioning), the control abnormality (whether an abnormality is detected on the air conditioning side (True) or not (False)) is False (no abnormality detected) and control mode A enabled (whether mode A (cooling) is enabled or not) is True (enabled).
[0031] Comparing logs 70, 71, and 72, only log 71 has a data value 713 that is False for the data at data position 3. In this way, when the logs of a group of devices that are expected to operate in a similar manner are compared, if there is data indicating that the devices are not operating in a similar manner, this is detected as a suspected malfunction log.
[0032] Methods of detecting that operations are not similar include detecting that the number of logs having the same data value is small, or detecting that the data value deviates by a certain amount from the average or median of all data. This method can be determined according to the data change classification 404 in the log specifications 40, and is suitable for the change form of the data value. Also, data that corresponds to the device specific data 405 is not subject to detection, since it is normal for each device to have a different value.
[0033] <Method of specifying suspicious logs> Step 604 will be further described. 8 is a diagram showing an example of a suspected fault log designation screen of the fault analysis device. The suspected fault log designation screen 80 includes an OK button 801, a condition designation section 802, and a log designation section 803.
[0034] The condition specification unit 802 accepts specification of a date and time range and a transmission route as conditions related to the log to be displayed in the log specification unit 803. For example, if there is a device at the site that is suspected of malfunctioning, a range that includes the device is specified. The log specification unit 803 displays the logs specified in the condition specification unit 802 and accepts specification of the suspected malfunction log. There are no particular limitations on the method of specification, and it may be, for example, by clicking on a location on the screen to be specified (for example, a location where control mode A enable of device control device B is set to False). When the user presses the decision button 801 after designating the suspected malfunction log in the log designation section 803, step 604 ends.
[0035] <Methods for analyzing the cause of defects> Step 605 will be further explained. FIG. 9 is a diagram showing an example of the operation of the malfunction cause candidate detection unit 206 of the malfunction analysis device. The arrows in FIG. 9 indicate the data flow from the connection device (controlling) to the connection device (controlled) in the system structure 50. An example in which a suspected malfunction log is detected is shown as in legend 91. In this case, the method of analyzing the malfunction cause is to trace the data flow in the specified analysis range back from the destination control device group to the source control device group, and detect the suspected malfunction log by comparing the output logs of the control devices in the control device group (hereinafter, for convenience, may be referred to as "output logs of the control device group"). The source device of the suspected malfunction log detected on the most source control device group side is set as the main candidate for the malfunction cause. In addition, the source devices of other suspected malfunction logs are also set as candidates for the malfunction cause.
[0036] For example, in FIG. 9, the system control device 302 analyzes the log of the information display device 301 for a malfunction, then the communication device group 303 analyzes the log of the system control device 302 for a malfunction, then the log between the communication control devices is analyzed, and finally the equipment control device group 304 analyzes the log of the communication device group 303 for a malfunction, in order to detect possible causes of the malfunction.
[0037] <Cause of defect> Step 606 will be further described. Fig. 10 is a diagram showing an example of a defect cause candidate display screen. The defect cause candidate display screen 100 is a component of the defect cause candidate display unit 207, and includes a device display indicator 1001, a defect cause candidate indication indicator 1002, and a defect cause candidate indication indicator 1003.
[0038] The device display indicator 1001 displays a graphic representing each device included in the control system 21. The malfunction cause candidate indicator 1002 and the malfunction cause candidate indicator 1003 display a graphic representing the malfunction cause candidate and the malfunction cause candidate identified in step 605, respectively.
[0039] <Actions and Effects> This embodiment can provide useful information for identifying which part of a control system is causing a malfunction in a control system consisting of multiple control devices (multiple control device groups), including those with different functions.
[0040] [Example 2] This embodiment differs from the first embodiment in that information about the program that runs the device is added to the information stored in the system structure storage unit 205, and the program is included in the candidates for the cause of the malfunction detected by the malfunction cause candidate detection unit 206 for more detailed analysis. In the following description, components that are the same as or equivalent to those in the first embodiment described above are given the same reference numerals, and the description thereof will be simplified or omitted.
[0041] First, the program structure stored in the system structure storage unit 205 will be described. FIG. 11 is a diagram showing an example of the program structure. Each line of the program structure 110 represents a structural unit of a program executed in any device (e.g., air conditioning) of the control system 21, and includes a function 1101, a called function 1102, and external device communication data 1103 as items. The function 1101 is a name that identifies a structural unit of the program. Normally, a function is related to various calculations executed when a device operates and functions. Note that the structural unit of the program handled in the program structure 110 may be a structural unit other than a function, such as a component, a module, or a class, but in this embodiment, a function is handled as a structural unit of the program. The called function 1102 is the name of a function that the function calls when executed. The external device communication data 1103 is data that is accessed in the function and communicates with the outside of the device. For example, data at data position 2 is output by function_d of a device control device (e.g., air conditioning).
[0042] Next, a method in which the defect cause candidate detection unit 206 analyzes the defect cause in step 605 will be described with reference to FIG. 12. FIG. 12 is a diagram showing an example of the program structure 110 expressed as a graph structure. Functions include function_a 1201, function_b 1202, function_c 1203, and function_d 1204, and function_b 1202 accesses communication data (1) 1205, and function_d accesses communication data (2) 1206. Here, when communication data (2) is detected as a suspected defect log, function_d that accesses it is set as the first candidate for the defect cause (e.g., a bug). Furthermore, function_a that affects the operation of function_d is set as the second candidate for the defect cause, and function_b and function_c that further affect the operation of function_a are set as the third candidate for the defect cause. Here, in addition to the function call relationship shown in FIG. 12, indexes such as the complexity of the function may be taken into consideration when ranking the defect causes. For example, it is considered that the higher the complexity of the function, the higher the possibility of the defect occurring.
[0043] The defect cause candidate display screen displayed in step 606 will be described. Fig. 13 is a diagram showing an example of the defect cause candidate display screen of the defect analysis device according to the embodiment 2. The defect cause candidate display screen 100 displays a rank 1301, a device 1302, and a function 1303 based on the result of step 605 described above.
[0044] <Actions and Effects> According to this embodiment, it is possible to expand the scope of possible causes of malfunctions to include the programs that operate the device, and to identify them in more detail.
[0045] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present invention. [Explanation of symbols]
[0046] 10...fault analysis device, 101...processor, 102...main memory device, 103...auxiliary memory device, 104...input device, 105...output device, 106...communication device, 21...control system, 201...log acquisition unit, 202...log specification memory unit, 203...suspected fault log detection unit, 204...suspected fault log designation screen display unit, 205...system structure memory unit, 206...fault cause candidate detection unit, 207...fault cause candidate display unit, 30 1...information display device, 302...system control device, 303...communication device group, 304...device control device group, 3031...communication device A, 3032...communication device B, 3033...communication device C, 3041...device control device A, 3042...device control device B, 3043...device control device C, 40...log specification, 401...transmission path, 402...data position, 403...data content, 404...data change classification, 405...device specific data, 50...system System structure, 501...device, 502...group, 503...connected device (controlled), 504...connected device (controlling), 601-606...step, 70, 71, 72...log, 701, 711, 721...date and time, 702, 712, 722...data position, 703, 713, 723...data value, 80...suspected malfunction log specification screen, 801...decision button, 802...condition specification section, 803...log specification section, 91...legend, 100...cause of malfunction Candidate display screen, 1001...device display indicator, 1002...main cause candidate indicator for malfunction, 1003...candidate cause indicator for malfunction, 110...program structure, 1101...function, 1102...callee function, 1103...external device communication data, 1201-1204...function_a-function_d, 1205, 1206...communication data (1), communication data (2), 1301...order, 1302...device, 1303...function
Claims
1. A failure analysis device for analyzing at least a plurality of control device groups of a control system, a suspected fault log detection unit that compares output logs of the control device group and detects a suspected fault log; a suspected malfunction log designation screen display unit that displays a screen for accepting designation of a suspected malfunction log when the suspected malfunction log detection unit does not detect the suspected malfunction log; a malfunction cause candidate detection unit that extracts candidates for malfunction causes of the control device group based on the suspected malfunction log detected by the suspected malfunction log detection unit or the suspected malfunction log designated by the suspected malfunction log designation screen display unit; A failure analysis device having the following.
2. 2. The failure analysis device according to claim 1, wherein the failure cause candidate detection unit detects failure cause candidates by tracing communication data flow of the group of control devices from a transmission destination to a transmission source.
3. 3. The fault analysis device according to claim 2, wherein the fault cause candidate detection unit determines, as a main candidate for the fault cause, a device that has transmitted a suspected fault log detected on the most source control device group side.
4. a log acquisition unit for acquiring an output log of the control device group; a log specification storage unit for storing specifications relating to data items of a log; a system structure storage unit that stores a system structure; a defect cause candidate display unit that displays the defect cause candidates; The failure analysis apparatus according to claim 2 or 3, further comprising:
5. The system structure storage unit stores information regarding programs of devices in the control system; 5. The fault analysis device according to claim 4, wherein the fault cause candidate detection section detects a structural unit of a program as a fault cause candidate.
6. 6. The fault analysis device according to claim 5, wherein the fault cause candidate detection section detects structural units of a program that are fault cause candidates together with a ranking of the fault causes.
7. A failure analysis method for analyzing at least a plurality of control device groups of a control system, comprising: selecting a scope of log analysis; comparing the output logs of the control device group to detect a suspected malfunction log; accepting a designation of a suspected malfunction log when the suspected malfunction log detection unit detects no suspected malfunction log; extracting candidates for the cause of a malfunction in the control device group based on the suspected malfunction log detected by the suspected malfunction log detection unit or the suspected malfunction log designated by the suspected malfunction log designation screen display unit; A failure analysis method comprising:
8. 8. The failure analysis method according to claim 7, further comprising the step of displaying on a screen a failure cause candidate indicator indicating failure cause candidates of the group of control devices.
Citation Information
Patent Citations
Log analyzing method and its execution device, and recording medium with recorded processing program thereof
JP2002207612A
Log analyzer
JP2012203431A
Information processor, log analysis system, log analysis method and log analysis program
JP2012234273A
Information processing apparatus and program
JP2015099533A
Log analysis device, log analysis method and computer program
JP2020154935A
