Dispersion system and dispersion device constituting dispersion system
By detecting communication errors and comparing information in the distributed control system, the cause of the abnormality is inferred, which solves the problem of difficulty in determining the cause of the bad situation in the existing technology and improves the fault recovery efficiency of the system.
Patent Information
- Application Number
- CN202280092588.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-10
- Filing Date
- 2022-12-29
- Publication Date
- 2024-10-08
AI Technical Summary
The existing distributed control system has difficulty in estimating the cause of the adverse situation when faced with an abnormal situation, and it takes a long time to recover from the abnormal state.
By detecting communication errors in a distributed system and comparing communication error information with device information using methods such as CRC calculations, the cause of the communication error can be estimated.
It can effectively estimate the causes of malfunctions in distributed systems and shorten recovery time from abnormal conditions.
Smart Images

Figure CN118749189A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a distributed system in which a plurality of units (distributed devices) constitute the entire system, and a communication technology in the distributed system. The distributed system includes a communication system composed of a plurality of communication devices, and a distributed control system for controlling a control object such as the entire system. In addition, the distributed control system can be applied to industrial devices such as semiconductor inspection devices and medical inspection and analysis devices. Background Art
[0002] Industrial devices such as semiconductor inspection devices and medical inspection and analysis devices generally use electronic control systems with analog input and output paths from multiple control substrates managed centrally to sensors and actuators mounted on the devices. At this time, it is necessary to respond to the diversification of demand for devices in recent years, but in the current system, the amount of wiring increases and the redesign of the substrate due to functional expansion, so it is urgent to improve the design productivity of electronic systems.
[0003] Therefore, as described in Patent Document 1, by applying a network-type distributed control system to the electronic system in the device, analog wiring can be reduced and functional expandability is expected to be improved. On the other hand, due to the complexity of the system structure in the device in recent years, the probability of electrical abnormalities between the mounted devices has increased. However, the current situation is that there is a lack of means to infer the cause and factor of the malfunction.
[0004] In addition, patent document 2 is a control system having multiple control objects set on a robot and a distributed control system for decentralized control of the multiple control objects, comprising: an abnormality management unit, which manages the presence or absence of abnormalities in multiple functional units constituting the control system; and a display control unit, which displays the multiple functional units on the display unit respectively, and the display control unit displays the functional units among the multiple functional units that have not generated abnormalities on the display unit in a first manner, and displays the functional units that have generated abnormalities on the display unit in a second manner different from the first manner.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2018-22939
[0008] Patent Document 2: Japanese Patent Application Publication No. 2021-120165 Summary of the invention
[0009] Problems to be solved by the invention
[0010] However, in the technology described in Patent Document 1, as described above, it is difficult to estimate the cause and factor of the bad situation. In addition, in the technology described in Patent Document 2, it is necessary to prepare the causal relationship between the abnormal event and its factor in advance in the control system. That is, when an unexpected abnormality occurs, its cause cannot be determined, and it takes time to recover from the abnormal state to the normal state. Therefore, the subject of the present invention is to estimate the cause of the bad situation in a distributed system composed of multiple distributed devices.
[0011] Means for solving problems
[0012] According to the above, in the present invention, a distributed system composed of a plurality of distributed devices and having a communication path between the distributed devices is taken as an object. In addition, in each distributed device, a communication error in the communication is detected, and communication error information indicating the content of the detected communication error is compared with device information indicating the characteristics of the distributed system or the distributed devices constituting the distributed system, so as to infer the cause of the communication error.
[0013] More specifically, in a distributed system composed of multiple distributed devices that can communicate via a communication path, the distributed devices each have: a communication port that receives communication signals from other distributed devices; a storage unit that stores device information representing characteristics of the distributed system; and an inspection unit that detects a communication error through the communication signal, compares communication error information that represents the communication error and includes the time when the communication error occurred, the type of the communication error, and the location where the communication error was detected with the device information to infer the cause of the communication error.
[0014] The present invention also includes a distributed device constituting the distributed system. Furthermore, a method for estimating a cause of abnormality using the distributed system also includes one embodiment of the present invention.
[0015] Effects of the Invention
[0016] According to the present invention, it is possible to estimate the cause of a malfunction in a dispersed system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a diagram showing a configuration example of a distributed control system in one embodiment of the present invention.
[0018] Figure 2 This is a diagram showing the details of the serial communication unit in the first embodiment.
[0019] Figure 3 This is a diagram showing a data packet used in the distributed control system 1 in the first embodiment.
[0020] Figure 4This is a diagram showing an example of the data structure of a communication signal (packet) used in the distributed control system 1 in the first embodiment.
[0021] Figure 5 This is a diagram showing a situation in which a communication error is detected in the first embodiment.
[0022] Figure 6 This is a diagram showing the correspondence between abnormal patterns occurring in communication signals and their detection units in the first embodiment.
[0023] Figure 7 This is a diagram showing the correspondence between the estimated content based on the communication error information in the first embodiment and the device information to be referred to.
[0024] Figure 8 This is a flowchart showing the process of estimating the cause of abnormality occurrence in the first embodiment.
[0025] Fig. 9 This is a diagram showing an example of an industrial device equipped with the distributed control system in the second embodiment.
[0026] Fig.10 This is a diagram showing an example of statistical results of communication error information for each communication port in the second embodiment.
[0027] Fig.11 This is a diagram showing a graph that visualizes the intervals at which communication errors occur in Example 2 and a graph showing the operation history of each control device.
[0028] Fig.12 This is a diagram showing a communication error monitoring screen that displays an estimated cause of occurrence of an abnormality in the distributed control system in the third embodiment.
[0029] Fig.13 It is a diagram showing an application example of each embodiment. DETAILED DESCRIPTION
[0030] Hereinafter, an embodiment of the present invention will be described. In this embodiment, a distributed control system for controlling a control object including the system itself is taken as an example of a distributed system. Figure 1 FIG. 1 is a diagram showing a configuration example of a distributed control system 1 in the present embodiment. Figure 1In the distributed control system 1, there is a communication master station 10, a communication path 11, and a communication substation 12. Here, the communication master station 10 and the communication substation 12 correspond to the distributed device of the present invention. In addition, these communication master station 10 and the communication substation 12 respectively have a serial communication unit 101 and a communication port 102. Among them, the communication port 102 communicates with other devices (communication master station 10 and communication substation 12). That is, the communication master station 10 and the communication substation 12 respectively send and receive communication signals to each other. In addition, the serial communication unit 101 has a CRC operation unit 20, which detects a communication error as a bad condition in the distributed control system 1 and infers the cause of the bad condition.
[0031] The specific processing of each of these configurations will be described in each embodiment. The CRC calculation unit 20 is a type of inspection unit that detects a malfunction such as a communication error in the distributed control system 1 and estimates a cause of the malfunction.
[0032] The communication master station 10 and the communication slave station 12 have a storage unit for storing device information indicating characteristics of the distributed control system 1. The device information may be information indicating characteristics of the communication master station 10, the communication slave station 12, or an industrial device in which the distributed control system 1 is installed.
[0033] In addition, in the present embodiment, in order to execute operations and settings for centrally managing the entire distributed control system 1, it is preferable to connect to the central processing unit 13.
[0034] In addition, the fault conditions in this embodiment include various fault conditions such as communication errors, obstacles, failures, degradation, abnormalities, etc. In addition, the fault conditions include fault conditions in the distributed control system 1, the communication master station 10, the communication slave station 12, or the industrial device. The above is the end of the description of this embodiment, and the following describes each embodiment showing more specific contents.
[0035] Example 1
[0036] Below, refer to Figure 1 Example 1 is described. Figure 1 In the above, the devices constituting the distributed control system 1 are as described above. In addition, the communication master station 10 has: a master station communication control unit 100, which manages the overall communication in the distributed control system 1; a serial communication unit 101, which transmits data by receiving or sending a communication signal; and a communication port 102, which becomes the physical layer of the communication function. In addition, the master station communication control unit 100 is connected to the serial communication unit 101, and the serial communication unit 101 is connected to the communication port 102. In addition, the communication master station 10 can also be connected to the central processing unit 13 in order to perform operations and settings of the distributed control system 1.
[0037] In addition, the communication substation 12 has: a substation communication control unit 120, a serial communication unit 101 and a communication port 102, the substation communication control unit 120 manages the response to the communication main station 10 or the relay of communication to other communication substations 12, and the serial communication unit 101 and the communication port 102 are the same as the serial communication unit 101 and the communication port 102 of the communication main station 10.
[0038] Here, the communication master station 10 is connected to the communication slave station 12 via the communication port 102 and the communication path 11. In addition, the communication slave station 12 is connected to other communication slave stations 12 or the communication master station 10 via the communication port 102 and the communication path 11. In addition, the communication master station 10 and the communication slave station 12 transmit arbitrary data to each other through serial communication.
[0039] In addition, the distributed control system 1 can be installed in industrial devices that perform various businesses such as production and transportation. Moreover, in the industrial device, when a fault or noise occurs, it is expected that the communication signal transmitted in the communication path 11 will also be abnormal. In the present invention, the distributed control system 1 detects the abnormality generated by the communication signal in the communication path 11 as a communication error in the communication master station 10 or the communication slave station 12. In addition, the distributed control system 1 infers the cause of the communication error based on the information of the communication error. The following describes the operation of serial communication and the detection of communication errors. In addition, the details of the example of being installed in an industrial device are described in Example 2.
[0040] Figure 2 1 is a diagram showing the details of the serial communication unit 101 in this embodiment. The serial communication unit 101 includes a CRC calculation unit 20 as a kind of check unit, an encoding unit 21, a serialization unit 22, a decoding unit 23, a deserialization unit 24, and a sampling unit 25. In addition, the detailed operation of these units will be described later.
[0041] Figure 3 1 is a diagram showing a data packet 3 used in the distributed control system 1 in this embodiment. The data packet 3 is a form of a communication signal communicated in the distributed control system 1, and these data packets may contain code data such as data codes and control codes. The data packet 3 of this embodiment includes a CRC part 30, a data part 31, a time part 32, a command part 33, and an address part 34.
[0042] The CRC part 30 is a value used to check whether there is an error in the binary array of the data packet 3, which is generally called a cyclic redundancy check, and is calculated according to an arbitrary polynomial based on the binary array constituting the data packet 3. The data part 31 stores any data that the communication main station 10 or the communication substation 12 wants to transmit through communication. The time part 32 stores the time when the data packet 3 is issued. The command part 33 stores the attributes of the value of the data part 31, such as system settings and error information. The address part 34 stores the destination to which the data packet 3 should be transmitted.
[0043] Next, a communication error occurring in communication of the distributed control system 1 will be described by taking noise occurring in a communication signal as an example. Figure 4 : is a diagram showing an example of the data structure of a communication signal (data packet) in the present embodiment. In the serial communication that is the object of the present embodiment, when a binary array representing arbitrary data is transmitted as a communication signal, sometimes the reliability of the communication signal and additional information are added by converting it into another binary array. For example, in the 8B10B encoding technology, an 8-bit binary array is converted into a 10-bit binary array. As a result, the arrangement of 1 and 0 of the communication signal is dispersed, and the DC component contained in the signal is reduced as much as possible, thereby improving the quality of the communication signal. In such a coding technology, the converted binary array is defined in advance, and the converted binary array is often classified into a data code representing a normal numerical value and a control code of a special binary array that can be used in the control of the communication.
[0044] The serial communication of the distributed control system 1 in this embodiment applies such a coding technique. Figure 4 As shown, the communication signal of the distributed control system 1 is synchronized with the clock 40, and a defined binary array such as serial data 41 is transmitted with a constant width. At this time, the control code 42 is a special binary array used for communication control, and the data code 43 is a binary array representing a normal numerical value, which are both defined in advance. Therefore, when the data packet 3 is transmitted, it is composed of at least one data code.
[0045] Here, again use Figure 2The basic operation of the serial communication unit 101 is described. First, the operation of the transmission side of the serial communication unit 101 is described. The master station communication control unit 100 or the slave station communication control unit 120 inputs the transmitted data packet 3 to the CRC calculation unit 20. The CRC calculation unit 20 calculates the CRC value (cyclic redundancy check value) of the data packet 3 and stores it in the CRC unit 30 of the data packet 3. The encoding unit 21 converts the data packet 3 into a defined data code 43. At this time, the CRC calculation unit 20 divides the data packet 3 into data units that can be converted by the encoding unit 21 and inputs them to the encoding unit 21 in sequence. The data code 43 converted by the encoding unit 21 is input to the serialization unit 22 and transmitted by 1 bit.
[0046] In addition, the communication signal is transmitted to the communication main station 10 or the communication substation 12 via the communication port 102 and the communication path 11. At this time, in the case where there is no data code 43 to be transmitted, the serialization unit 22 transmits the control code 42 instead. In addition, with respect to the control code 42, at least one control code defined in advance is forwarded in sequence. Therefore, in all communication paths 11 possessed by the distributed control system 1, the control code 42 or the data code 43 is continuously transmitted. Here, continuous transmission includes transmitting a communication signal in a predetermined cycle, transmitting a transmission signal sporadically, transmitting a communication signal without gaps, and transmitting a transmission signal including a virtual signal. In addition, sporadic transmission also includes a case where the transmission is temporarily stopped.
[0047] Next, the operation of the receiving side of the serial communication unit 101 is described. The communication signal received by the communication port 102 via the communication path 11 is initially input to the sampling unit 25. In the sampling unit 25, the input communication signal is sampled at an appropriate timing according to 1-bit data. In addition, the sampled communication signal is restored to the data code 43 in the deserialization unit 24 and forwarded to the decoding unit 23. In addition, in the deserialization unit 24, when the control code 42 is received, it is also forwarded to the decoding unit 23. At this time, in the deserialization unit 24, when the value of the received communication signal is 1 or 0 and does not change within a constant time, a disconnection check is continuously performed to determine that the communication is interrupted.
[0048] In the decoding unit 23, when the data code 43 is received, it is decoded into normal data and forwarded to the CRC calculation unit 20. In addition, this forwarding can also be performed only when the data code 43 is received. In this case, in the decoding unit 23, a code error check is continuously performed to confirm whether the received control code 42 or data code 43 is a defined correct binary array. In addition, in the decoding unit 23, when the control code 42 is continuously received, a control code reception check is performed to confirm whether it is the order of the control code 42 defined in advance.
[0049] In addition, in the CRC calculation unit 20, the data forwarded from the decoding unit 23 is sequentially converted into the data packet 3, and the CRC value of the data packet 3 is calculated again. At this time, a cyclic redundancy check is performed to confirm whether the CRC value stored in the data packet 3 is consistent with the newly calculated CRC value. In addition, in the CRC calculation unit 20, a data packet timeout check is performed to receive the first data code 43 and confirm whether the reception of the data packet 3 is completed within a constant time.
[0050] As described above, in the receiving side operation of the serial communication unit 101, the code error check, control code reception check, cyclic redundancy check, data packet timeout check, and disconnection check are continuously operated. When an abnormality occurs in each check, these results are notified to the communication control unit as a communication error.
[0051] Here, use Figure 5 The communication operation when noise 50 is generated in the distributed control system 1 will be described. Figure 5 FIG. 4 is a diagram showing a situation where a communication error is detected in this embodiment. Figure 5 , it indicates that an abnormality caused by noise 50 occurs in the communication path 11 connecting two communication slave stations 12. In this case, the serial communication unit 101 connected to the two communication ports 51 detects a communication error. In the communication slave station 12, when the serial communication unit 101 detects a communication error, the slave station communication control unit 120 is notified. In the slave station communication control unit 120, the time when the communication error notification is received, the type of the communication error, and the information of the communication port 51 that detected the communication error are stored in the data packet 3. At this time, the data packet 3 is transmitted to the communication master station 10 through the communication port 102 as the communication error information 52 by serial communication.
[0052] In addition, the same operation is performed when noise is generated in the communication path 11 between the communication main station 10 and the communication substation 12, but the information of the communication error detected in the communication main station 10 can also be stored in the communication main station 10 or directly forwarded to the central processing unit 13. In short, in all the communication main stations 10 and the communication substations 12, the generation time, error type, and detected communication port 102 are recorded for each communication error information detected.
[0053] So far, the basic functions including the operation of the serial communication of the distributed control system 1 have been described. Next, a method of estimating the cause of abnormality in the distributed control system 1 will be described. Figure 6 1 is a diagram showing the correspondence between the abnormality pattern generated by the communication signal transmitted in the communication path 11 and its detection unit. Figure 6In the above, the case where the communication signal data is garbled as an abnormality is described. When noise is mixed in the communication signal, an error occurs in the binary array of the control code 42 or the data code 43 being transmitted, and garbled data may occur. In addition, four modes of generating garbled data are considered.
[0054] When the control code 42 or the data code 43 is an undefined binary array, this can be detected by the code error check as described above.
[0055] When receiving the data code 43, if another data code 43 is accidentally received, the data code 43 is substantially transmitted only when the data packet 3 is forwarded, and therefore, this can be detected by a cyclic redundancy check.
[0056] Here, the data code 43 is transmitted only when forwarding the data packet 3, and the data code 43 should be received continuously, so that the reception of the data code 43 constituting the data packet 3 is completed within a constant time. Therefore, in the case where the control code 42 unexpectedly becomes another data code 43, this can be detected by the packet timeout check.
[0057] In the event that a control code 42 unexpectedly becomes another control code 42, this can be detected by the control code reception check as described above.
[0058] Next, a case where a communication signal is interrupted due to a failure or the like in the distributed control system 1 will be described.
[0059] When the communication signal is interrupted, generally, the voltage change of the communication signal does not occur within a constant time. That is, the 1 and 0 of the communication signal received by the serial communication unit 101 do not change, and this can be detected by the disconnection check. In this way, the abnormal pattern of the communication signal that may occur in the communication path 11 can be detected separately. In addition, in the distributed control system 1, based on the communication error information and various information of the industrial device equipped with the distributed control system 1, the location with a high possibility of the communication error factor (abnormal factor) is estimated.
[0060] Here, Figure 770 and the device information 71 to be referred to. First, the information on the communication error includes the type of communication error, the time when the communication error occurs, and the information on the communication port 102 where the communication error is detected. In addition, by collecting the information on the communication errors issued by the communication master station 10 or the communication substation 12, the number of occurrences of various communication errors can be obtained. As described above, the device information 71 is information indicating the characteristics of the distributed control system 1 as an example of a distributed system. As an example of the device information 71, operating information such as the control process of the distributed control system 1, such as an industrial device, and the location or function of the equipment in the industrial device are included. In addition, it is preferred that the device information 71 is stored in a storage unit (not shown) of the serial communication unit of each communication substation and the communication master station 10.
[0061] Thus, the communication error determination elements include four types: communication port information 700, occurrence count information 701 (communication count), occurrence time information 702, and error type information 703. By combining these determination elements, the estimation content 70 based on the communication error estimation is determined.
[0062] First, the CRC calculation unit 20 combines the communication port information 700 with the number of occurrence information 701, thereby being able to estimate the abnormal communication path 704. Figure 5 As shown, when an abnormality occurs in the communication path 11, a communication error is detected in at least one of the communication ports 102 connected to the abnormal communication path 11. Therefore, in the distributed control system 1, the communication paths 11 connected to the two groups of communication ports 102 where the communication errors are most detected within a certain fixed time can be estimated as abnormal communication paths 704.
[0063] In this case, the communication error is likely to be caused by a device located near the abnormal communication path 704. Therefore, by having the CRC calculation unit 20 refer to the device configuration information 710 of the industrial device included in the device information 71, the devices located near the abnormal communication path 704 can be listed.
[0064] Next, by using the information 702 of the plurality of occurrence times by the CRC operation unit 20, it is possible to obtain the information 705 of the interval at which the communication error occurs. This information is particularly effective for abnormalities that occur periodically. In this case, it is highly likely that the cause of the communication error is a device having a drive frequency that is similar to the information 705 of the generation interval. Therefore, by referring to the information 711 of the drive frequency of the device of the industrial device included in the device information 71 by the CRC operation unit 20, it is possible to list the devices that are highly likely to be the cause of the abnormality.
[0065] Furthermore, in the information 702 of the time when the communication error occurred, the equipment in the industrial device operating at the same time as the information is likely to be the cause of the abnormality. Therefore, by referring to the information 712 of the device's operation plan and operation history, the equipment operating when the communication error occurred can be listed.
[0066] Here, in the distributed control system 1, it is difficult to predict how the noise voltage or noise current affects the communication signal being transmitted in the communication path 11. In the distributed control system 1, the CRC operation unit 20 can detect the data garbled code generated when the data is affected by noise during a predetermined period (relatively short time) through the aforementioned code error check, cyclic redundancy check, data packet timeout check, and control code reception check.
[0067] On the other hand, in the disconnection check, in order to detect disconnection, the condition is that the communication signal has no displacement for a constant time. At this time, in addition to the situation where the communication signal is constantly interrupted, it can also be judged that it is affected by noise for a relatively long time. Therefore, by combining the information 703 of the type of communication error and the information 701 of the number of occurrences by the CRC operation unit 20, it is judged that the obstacle in the distributed control system 1 is serious when the following conditions are met. Here, the following situation is expressed in the condition: the more the number of times the communication error occurs, the more disconnection is detected in the communication error.
[0068] Here, use Figure 8 The process of estimating the cause of the abnormality occurrence based on the communication error information and the device information 71 will be described. Figure 8 1 is a flowchart showing the process of estimating the cause of abnormality in this embodiment. In addition, for the convenience of explanation below, the communication substation 12 is connected to a control device required for the operation of the industrial device.
[0069] When a malfunction occurs in the device control, that is, the distributed control system 1, first in step S80, the CRC calculation unit 20 checks whether a communication error occurs. If no communication error occurs (No), the process moves to step S81. If a communication error occurs (Yes), the process moves to step S84.
[0070] In addition, in step S81, the CRC calculation unit 20 checks whether the control value is updated. As a result, with respect to each control value (for example, the control value), the communication of the distributed control system 1 cannot be established without being updated, and input / output via communication cannot be performed to the control device. In this case, it is determined that it is not updated (Yes), and the process moves to step S83. Then, in step S83, the CRC calculation unit 20 determines that the system is not established due to a failure of the communication master station 10 or a defective device power supply.
[0071] On the other hand, if the update of some control values can be performed normally in step S81 (No), the process moves to step S82. At this time, regarding the control values corresponding to the abnormality, the modes such as non-update, control value deviate, and abnormal update frequency of the control values are considered. Therefore, in step S82, the CRC calculation unit 20 determines that the failure of the communication substation 12 corresponding to the input and output of the control value or the control device connected to the communication substation 12 is considered first.
[0072] In step S84, the CRC operation unit 20 counts the number of occurrences of each communication error type. Then, in step S89, the CRC operation unit 20 determines the severity of the device failure at the current stage based on the counted number of occurrences. In addition, it is preferred that the specific severity is defined for each industrial device introduced into the distributed control system 1.
[0073] In step S85, the CRC operation unit 20 collects statistics of the number of communication errors and the information of the communication port where the communication errors are detected, and uses the statistics to estimate the abnormal communication path 11. In step S810, the CRC operation unit 20 determines the control device near the communication path 11 estimated in step S85 as a candidate for the control device where the abnormality occurs. Here, the vicinity includes the control device connected to the estimated communication path 11 and the control device at a predetermined position such as the nearest configuration.
[0074] Next, in step S86, the CRC operation unit 20 analyzes the communication error generation interval, that is, determines the generation interval. In addition, in step S811, the CRC operation unit 20 determines the control device of the driving frequency that is close to the analyzed communication error generation interval as a candidate for the control device that has an abnormality. Here, close means a predetermined relationship such as a difference being less than a threshold value.
[0075] Next, in step S87, the CRC calculation unit 20 determines the time history when the communication error occurred. Then, in step S812, the CRC calculation unit 20 compares the operation history or operation plan of the distributed control system 1 or the industrial device equipped with the distributed control system 1. Using the result, the CRC calculation unit 20 determines the control device that was operating at the time when the communication error occurred as a candidate for the control device that has an abnormality.
[0076] Then, in step S88, the CRC operation unit 20 estimates the control device considered as the cause of the abnormality and the severity of the obstacle caused. Then, before step S812, the CRC operation unit 20 extracts the control device that is the cause of the abnormality from the candidates determined in steps S810, S811, and S812. Therefore, for example, the CRC operation unit 20 sequentially extracts the control devices with more conditions used for determination in each step as the control devices that are the cause of the abnormality. Here, the extracted control device can be a predetermined number of upper-level control devices, or a device with conditions greater than the predetermined number. This concludes the description of Example 1.
[0077] Example 2
[0078] Next, Example 2 will be described. In this example, the distributed control system 1 is installed in an industrial device. Fig. 9 FIG. 1 is a diagram showing a configuration example when the distributed control system 1 in this embodiment is mounted on an industrial device. Fig. 9 In the figure, the industrial device 90 has: a communication main station 10, a communication path 11, a communication substation 12, an input / output substrate 93, and a control device 94. The input / output substrate 93 inputs and outputs control instructions or feedback values to the control device 94 via communication, and the control device 94 is a control object such as an actuator or a sensor constituting the industrial device.
[0079] The communication stations 91 and 92 have the same functions as the communication station 12 , and the control device 95 has the same functions as the control device 94 . Furthermore, the communication path 96 has the same functions as the communication path 11 .
[0080] In this embodiment, regarding the estimation of the abnormality factor of the distributed control system 1, an estimation example when the control device 95 is the abnormality factor is described. Figure 8 The presumptive process is shown.
[0081] In this embodiment, as in Example 1, Figure 8 As described in the description of , as a communication error, the type of communication error is detected. Fig.10 1 is a diagram showing an example of the statistical result of the communication error information for each communication port in this embodiment. Here, as the statistical result of the communication error information, the statistical result of the number of times the communication error occurs is used. Fig.10 The statistical result 1000 shows the communication port 102 provided for each communication master station 10 or communication slave station 12 and the number of times communication errors are detected for each communication port 102. The statistical result 1000 is calculated by the CRC operation unit 20.
[0082] Here, by using the statistical result 1000, it is known that a communication error has occurred.
[0083] That is, the communication error count 1001 corresponding to the communication port 102 of the communication main station 10, the communication error count 1002 corresponding to the communication port 102 of the communication substation 91, and the communication error count 1003 corresponding to the port 1 of the communication substation 92 of the statistical result 1000 are used. At this time, the communication error count 1002 and the communication error count 1003 are prominent, and the number of communication errors is large. In addition, since no disconnection communication error occurs, the CRC calculation unit 20 can infer that an abnormality caused by noise has occurred in the communication path 96 connecting the communication substation 91 and the communication substation 92.
[0084] in addition, Fig.11 The figure shows a graph 1100 that visualizes the intervals at which communication errors occur and a graph 1102 that shows the operation history of each control device. Here, the vertical axis of the graph 1100 shows the number of times communication errors occur, and the horizontal axes of the graphs 1100 and 1102 show the passage of time. In addition, it can be seen that in the example of the graph 1100, noise is mixed into the communication path 96 at the frequency of the interval 1101 at which communication errors occur. In addition, the control device 94 or the control device 95 that is operating at each time is shown.
[0085] Through the process so far, the CRC calculation unit 20 can finally estimate the cause of the abnormality. As the content, for example, it is estimated that the control device 95 (device) shown below is most likely to be the cause of the abnormality in the device.
[0086] Devices arranged near the communication path 96 determined based on the statistical result 1000;
[0087] A device having a driving frequency similar to the communication error generation interval 1101 determined from the graph 1100 ;
[0088] ・The device whose operation timing coincides with the time when the communication error occurs.
[0089] In the above-described second embodiment, in an industrial device incorporating the control system, even if an abnormality occurs in the device due to an unknown failure or noise inside the device, the cause of the abnormality can be estimated. This concludes the description of the second embodiment.
[0090] Example 3
[0091] Next, in the third embodiment, the output of the estimated generation factor will be described. Fig.121 is a diagram showing a communication error monitoring screen 1200 that displays the estimated cause of abnormality in the distributed control system 1 in this embodiment. The communication error monitoring screen 1200 is preferably composed of Figure 1 The display device connected to the central processing unit 13 is displayed. In addition, it can also be displayed on the terminal device 902 described later.
[0092] In addition, Fig.12 In FIG. 1 , the communication error monitoring screen 1200 includes a network display screen 1201 that displays the configuration of the distributed control system 1 introduced into the industrial device, and an error information screen 1202 that displays communication error information.
[0093] The error information screen 1202 includes an error history screen 1203, an error message screen 1204, and an error cause list screen 1205. Here, the error history screen 1203 displays the type of communication error, the time of occurrence, etc. When a communication error occurs in the distributed control system 1, the error message screen 1204 displays the error message. The error cause list screen 1205 displays the device as a candidate for an abnormal cause in the distributed control system 1. Here, as in the communication error monitoring screen 1200, by visually displaying the status of the communication error that has occurred in the distributed control system 1 and the location of the estimated abnormal cause described in the second embodiment, it can help the early normal recovery of the industrial device. This is the end of the description of the third embodiment.
[0094] Next, application examples of each embodiment will be described. Fig.13 1 is a diagram showing an application example of each embodiment. In this application example, a plurality of distributed control systems 1 can be managed by a central processing unit 13. Fig.13 A server device 130 having a central processing unit 13 is provided. The server device 130 is connected to a network 901 and a terminal device 902. The terminal device 902 inputs various instructions to the server device 130 or outputs the processing results of the server device 130. The output includes a communication error monitoring screen 1200. In addition, the server device 130 can be realized by a so-called computer and can be called a cloud system.
[0095] In addition, the server device 130 is connected to a plurality of distributed control systems 1 via a network 901 such as the Internet. As a result, the server device 130 can receive the cause of the abnormality from each distributed control system 1. In addition, at least a part of the estimation of the cause of the abnormality in the first embodiment may be executed by the server device 130. Furthermore, in the configuration of the first embodiment, the central processing unit 13 may also execute at least a part of the estimation of the cause of the abnormality.
[0096] The above is the end of the description of the embodiments and examples of the present invention, but the present invention is not limited thereto. For example, as a distributed system, a system other than the distributed control system 1 such as a communication system is also included. In addition, the present invention also includes the following aspects. In addition, the following distributed control system can be replaced by a distributed system including a communication system.
[0097] (1) A distributed control system having at least one communication master station and at least one communication slave station,
[0098] The communication main station and the communication substation, or the communication substation and other communication substations are connected via a communication path.
[0099] The communication main station or the communication substation continuously transmits any one of the data code or the control code,
[0100] The communication master station or the communication slave station performs error detection each time the data code or the control code is received, and issues a communication error when an error occurs.
[0101] The distributed control system defines a feature of a signal anomaly generated in the communication path based on the communication error,
[0102] Furthermore, the time when the communication error occurs, the type of the communication error, and the location where the communication error is detected are recorded.
[0103] The distributed control system estimates an electrical cause of a communication error by comparing operation information such as a control process of an industrial device equipped with the distributed control system and a position of equipment in the device with the plurality of pieces of communication error information.
[0104] (2) In the distributed control system of (1),
[0105] The data code and the control code are both binary arrays pre-defined in the distributed control system.
[0106] When receiving the data code or the control code, the communication master station or the communication slave station detects a communication error of a code error in the case where the binary array is not defined.
[0107] (3) In the distributed control system of (1),
[0108] The distributed control system has a data packet incorporating at least one of the data codes,
[0109] The communication master station and the communication substation perform a redundant cycle check when receiving the data packet, and detect a communication error of a redundant cycle check error when the redundant cycle check is abnormal.
[0110] (4) In the distributed control system of (1),
[0111] The distributed control system has a data packet incorporating at least one of the data codes,
[0112] The communication master station and the communication slave station receive the data code, and if a constant number of the data codes cannot be received after a constant time, a communication error of a timeout in receiving the data packet is detected.
[0113] (5) In the distributed control system of (1),
[0114] The communication master station and the communication slave station detect a communication error of a control code reception error when the control code is not received according to a predefined sequence of the control code while the control code is continuously received.
[0115] (6) In the distributed control system of (1),
[0116] The communication master station or the communication slave station detects a communication error of disconnection when the value of the communication signal does not shift within a constant time.
[0117] (7) In the distributed control system of any one of (1) to (6),
[0118] The communication path connected to the communication port having the largest number of communication error detections is determined to be the communication path located near a cause of abnormality based on the communication port having issued the communication error and the number of occurrences of the communication error.
[0119] (8) In the distributed control system of any one of (1) to (6),
[0120] The interval between occurrences of the communication errors is determined based on a time point from when at least one of the communication errors occurs to when at least one of the communication errors occurs next time.
[0121] (9) In the distributed control system of (7) or (8),
[0122] The industrial device has a control device including at least one actuator or at least one sensor, and the control device is connected to the communication substation.
[0123] The distributed control system estimates a cause of the communication error.
[0124] confirming whether or not at least one control value collected by the distributed control system during the control process of the industrial device is updated when the communication error does not occur;
[0125] In the case where all the control values are not updated, it is determined that the communication master station is faulty.
[0126] When at least one of the control values is not updated, it is determined that a corresponding control device or communication substation has failed.
[0127] (10) In the distributed control system of (9),
[0128] In at least one of the communication errors, the severity of the failure occurring in the industrial device is determined based on the distribution of the types of the communication errors and the number of occurrences thereof.
[0129] (11) In the distributed control system of (9),
[0130] When the communication error occurs, the device information of the industrial device equipped with the distributed control system is compared.
[0131] In the communication path where the communication error occurred, the control devices arranged near the communication path are sequentially selected as candidates for the cause of the communication error.
[0132] The corresponding control devices are listed in the order of the candidates as the communication error generation factors.
[0133] (12) In the distributed control system of (9),
[0134] When the communication error occurs, the device information of the industrial device equipped with the distributed control system is compared.
[0135] comparing the communication error generation interval with the driving frequency of the control device,
[0136] The control devices having the driving frequency close to the generation interval are sequentially selected as candidates for the cause of the communication error.
[0137] The corresponding control devices are listed in the order of the candidates as the communication error generation factors.
[0138] (13) In the distributed control system of (9),
[0139] When the communication error occurs, the device information of the industrial device equipped with the distributed control system is compared.
[0140] Based on the time when the communication error occurs and the control plan or operation history of the industrial device, the control devices that are operating at the time when the communication error occurs are sequentially selected as candidates for the cause of the communication error.
[0141] The corresponding control devices are listed in the order of the candidates as the communication error generation factors.
[0142] (14) In the distributed control system of any one of (10) to (13),
[0143] The control devices are listed as the communication error generation factors in descending order of the conditions that are candidates for the communication error generation factors.
[0144] (15) In the distributed control system of (1),
[0145] The distributed control system uses a data packet incorporating at least one of the data codes,
[0146] The communication port has a serial communication part,
[0147] The serial communication unit continues to transmit the control code without forwarding the data packet,
[0148] After the transmission preparation of the data packet is completed and the transmission of the control code being transmitted is completed, the data code contained in the data packet is immediately transmitted in sequence,
[0149] After completing the transmission of the data packet, the communication master station or the slave station immediately starts transmitting the control code again.
[0150] (16) In the distributed control system of (1),
[0151] The communication master station is connected to the central computing device.
[0152] The communication master station or the communication slave station has a communication control unit.
[0153] The communication control unit is connected to the serial communication unit.
[0154] The communication error is detected by the serial communication unit,
[0155] The communication substation stores the time when the communication error is detected and the information of the communication error in the data packet,
[0156] forwarded to the communication master via the communication path,
[0157] The communication master station notifies the central processing unit of the time when the communication error is detected and the communication error information.
[0158] The communication master station notifies the central processing unit of the information of the communication error forwarded from the communication slave station and the time of occurrence of the information.
[0159] (17) In the distributed control system of (14),
[0160] The device comprises an output device for visually displaying the configuration of the distributed control system, information on the communication error, and information on candidates for causes of the communication error.
[0161] (18) A method for estimating a cause of abnormality using the distributed control system of any one of (1) to (17).
[0162] Description of Reference Numerals
[0163] 1…Distributed control system, 10…Communication master station, 100…Master station communication control unit, 101…Serial communication unit, 102…Communication port, 11…Communication path, 12…Communication slave station, 120…Slave station communication control unit, 20…CRC operation unit, 21…Encoding unit, 22…Serialization unit, 23…Decoding unit, 24…Deserialization unit, 25…Sampling unit, 3…Data packet, 30…CRC unit, 31…Data unit, 32…Time unit, 33…Command unit, 34…Address unit, 40…Clock, 41…Serial data, 42…Control code, 43…Data code, 5 0…noise, 51…communication port, 52…communication error information, 90…industrial device, 91…communication substation, 92…communication substation, 93…input / output board, 94…control device, 95…control device, 96…communication path, 1000…statistical results, 1100…chart, 1101…interval of communication error occurrence, 1102…chart, 1200…communication error monitoring screen, 1201…network display screen, 1202…error information screen, 1203…error history screen, 1204…error message screen, 1205…error cause list screen.
Claims
1. A distributed system, comprising a plurality of distributed devices capable of communicating via a communication path, characterized in that: The dispersing devices respectively have: A communication port that receives communication signals from other distributed devices; a storage unit storing device information indicating characteristics of the distributed system; as well as The inspection unit detects a communication error through the communication signal, compares communication error information indicating the communication error and including a time when the communication error occurred, a type of the communication error, and a location where the communication error was detected with the device information to infer a cause of the communication error.
2. The dispersion system according to claim 1, characterized in that The communication port of the other distributed device continuously outputs the communication signal to the distributed device, and the communication port continuously outputs the communication signal to the other distributed device.
3. The dispersion system according to claim 2, characterized in that The inspection unit of the distributed device performs error detection when receiving the received communication signal, and detects the communication error based on the result of the error detection.
4. The dispersion system according to claim 3, characterized in that The inspection unit of the distributed device estimates a code error as the generation factor when the received communication signal is an undefined binary array.
5. The dispersion system according to claim 3, characterized in that: The communication signal is a data packet containing more than one data code. The inspection unit of the distributed device performs a redundant loop check on the data packet, and infers a redundant loop check error as the generation factor when the redundant loop check is abnormal.
6. The dispersion system according to claim 3, characterized in that The communication signal is a data code, When the inspection unit of the distributed device cannot receive a fixed number of the data codes within a fixed time, it estimates a timeout in receiving the communication signal as the generation factor.
7. The dispersion system according to claim 3, characterized in that The communication signal is a control code, If the inspection unit of the distributed device does not receive the control code according to the previously defined sequence of the control codes while the communication port continuously outputs the communication signal, a reception error of the control code is estimated as the generation factor.
8. The dispersion system according to claim 3, characterized in that When the value of the communication signal does not shift within a constant time, the inspection unit estimates that the disconnection of the communication is the generation factor.
9. The dispersion system according to claim 3, characterized in that: The inspection unit of the distribution device specifies the communication path connected to the communication port having the largest number of communication error detections as the communication path close to the occurrence of the communication error.
10. The dispersed system according to any one of claims 1 to 9, characterized in that The distributed system is a distributed control system further including a control device, wherein the communication signal is a control code including a control value for controlling the control device. The multiple distributed devices are a communication master station and multiple communication substations in the communication. The inspection unit confirms whether the multiple control values are updated. When the multiple control values are not updated, it is judged that the communication main station has a fault. When a part of the multiple control values are not updated, it is judged that the control device or the communication substation has a fault.
11. The dispersed system according to claim 10, characterized in that The distributed control system is mounted on an industrial device including an actuator and a sensor.
12. The dispersion system according to claim 11, characterized in that The inspection unit determines the severity of the failure occurring in the industrial device based on the distribution of the types of the communication errors and the number of occurrences thereof.
13. A distributed device capable of communicating with other distributed devices via a communication path to form a distributed system, characterized in that: The dispersing device has: A communication port for receiving communication signals from the other distributed devices; a storage unit storing device information indicating characteristics of the distributed system; as well as The inspection unit detects a communication error through the communication signal, compares communication error information indicating the communication error and including a time when the communication error occurred, a type of the communication error, and a location where the communication error was detected with the device information to infer a cause of the communication error.
14. The dispersion device according to claim 13, characterized in that The communication port of the other distributed device continuously outputs the communication signal to the distributed device, and the communication port continuously outputs the communication signal to the other distributed device.
15. The dispersion device according to claim 14, characterized in that The inspection unit performs error detection when receiving the received communication signal, and detects the communication error based on the result of the error detection.
16. The dispersion device according to claim 15, characterized in that The inspection unit estimates a code error as the generation factor when the received communication signal is an undefined binary array.
17. The dispersion device according to claim 15, characterized in that The communication signal is a data packet containing more than one data code. The inspection unit performs a redundant loop check on the data packet, and infers a redundant loop check error as the generation factor when the redundant loop check is abnormal.
18. The dispersion device according to claim 15, characterized in that The communication signal is a data code, When the inspection unit cannot receive a fixed number of the data codes within a fixed time, it estimates a timeout in receiving the communication signal as the generation factor.
19. The dispersion device according to claim 15, characterized in that The communication signal is a control code, If the inspection unit does not receive the control code according to the order of the control codes defined in advance while the communication port continuously outputs the communication signal, a reception error of the control code is estimated as the generation factor.
20. The dispersion device according to claim 15, characterized in that When the value of the communication signal does not shift within a constant time, the inspection unit estimates that the disconnection of the communication is the generation factor.
Citation Information
Patent Citations
Distributed control device and distributed control system
JP2018022939A
Control system
JP2021120165A
