Information processing apparatus, information processing method, and non-transitory storage medium

Through information processing devices and methods, state data is used to calculate agent models and causal models, which simplifies the estimation of the causes of production line abnormalities, solves the problem of abnormality detection caused by complex causal relationships in the production line, and improves maintenance efficiency and accuracy.

CN118550252APending Publication Date: 2024-08-27OMRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311370679.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-11-10
Filing Date
2023-10-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In a production line, due to the large number of mechanisms and frequent changes in working conditions, it is difficult to accurately grasp the causal relationship between various mechanisms, making it difficult to detect abnormal causes. Especially for unskilled maintenance personnel, existing technology cannot easily and effectively estimate the cause of abnormalities. .

Method used

Provide an information processing device and method to detect anomalies by obtaining status data of each mechanism on the production line, calculate the agent model and causal model, estimate the cause of the anomaly, and display the estimation results through the display unit, including the coefficients of the agent model variables and the causal model, to help Users understand cause and effect.

Benefits of technology

It enables easy estimation of the causes of production line anomalies, helps users quickly identify the source of problems, and improves maintenance efficiency and accuracy. In particular, it simplifies anomaly detection and cause analysis through the generation of logistic regression calculation agent models and data causal models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550252A
    Figure CN118550252A
Patent Text Reader

Abstract

The invention provides an information processing apparatus, an information processing method, and a non-transitory storage medium. An information processing device (1) is provided with: an acquisition unit (113) that acquires status data for each of a plurality of mechanisms in a process performed on a production line; an abnormality detection unit (117) that detects an abnormality on the basis of the state data acquired by the acquisition unit; a proxy model calculation unit that calculates a proxy model on the basis of the state data when the abnormality is detected; and an estimation unit (119) that estimates the cause of the abnormality on the basis of the calculated proxy model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an information processing apparatus, an information processing method, and a non-transitory storage medium encoded with a computer-readable information processing program. Background Art

[0002] The production line in a factory or the like is composed of multiple mechanisms such as conveyors and robotic arms. If an abnormality occurs in any mechanism of the production line, the production of the product will stop, which may cause great damage. Therefore, in factories or the like, maintenance personnel regularly patrol the production line to confirm the occurrence of abnormalities or the presence of signs.

[0003] When an abnormality or its precursor is detected in a production line, the actual cause of the abnormality may exist in a mechanism before the mechanism that detected the abnormality. Therefore, in order to determine the actual cause of the abnormality, it is important to understand the cause-effect relationship of each mechanism in the production line. However, since there are many mechanisms that make up a production line and the working conditions of each mechanism change every day, it is difficult to accurately understand the cause-effect relationship of all mechanisms.

[0004] Therefore, in the past, skilled maintenance personnel, based on their own experience and intuition, grasped the cause-effect relationship between multiple mechanisms constituting a production line and detected abnormalities or their precursors in the production line. In order to enable unskilled maintenance personnel to perform such maintenance work, it is desired to develop a technology that visualizes the cause-effect relationship between multiple mechanisms constituting a production line.

[0005] For example, in the device disclosed in Japanese Patent Application Laid-Open No. 2022-80630, a technique is shown for visualizing the detection of abnormalities by easily modeling the relationship between devices in a production line.

[0006] On the other hand, there are many types of abnormalities, and in order to identify the factors of the abnormality, a large amount of abnormal data is often required, and the abnormality cannot be easily identified. Summary of the invention

[0007] The present disclosure has been made to solve the above-mentioned problems, and provides an information processing device, an information processing method, and an information processing program that can estimate the cause of abnormality in a simple manner.

[0008] According to an example of the present disclosure, an information processing device includes: an acquisition unit that acquires state data of each of a plurality of mechanisms in a process performed on a production line; an abnormality detection unit that detects an abnormality based on the state data acquired by the acquisition unit; a proxy model calculation unit that calculates a proxy model based on the state data when the abnormality is detected; and an estimation unit that estimates the cause of the abnormality based on the calculated proxy model. With this structure, the cause of the abnormality can be estimated in a simple manner based on the calculated proxy model.

[0009] The system further includes a causal model generation unit that generates a causal model based on the relationship between multiple institutions, the dependency relationship between multiple event phenomena associated with multiple institutions, or the control relationship between multiple institutions. The estimation unit estimates the cause of the abnormality based on the calculated proxy model and the causal model. With this structure, the cause of the abnormality can be estimated in a simple manner based on the calculated proxy model and the causal model.

[0010] The device further includes a transmission unit that transmits screen data for displaying the estimation result of the estimation unit. With this configuration, the estimation result can be displayed, so the cause of the abnormality can be easily estimated.

[0011] The transmission unit transmits screen data for displaying coefficients and causal models corresponding to the calculated variables of the proxy model. According to this configuration, the coefficients and causal models corresponding to the variables of the proxy model can be displayed, so it is easy to estimate the cause of the abnormality.

[0012] The transmitting unit transmits screen data displaying edges representing causal relationships between variables of the causal model adjusted based on coefficients corresponding to the calculated variables of the proxy model. According to this configuration, the edges representing causal relationships are adjusted based on the coefficients, making it easy to estimate the cause of the abnormality.

[0013] The variables of the causal model include a first variable that can be handled and a second variable that cannot be handled, and the sending unit sends screen data that distinguishes and displays the first variable and the second variable. According to this structure, since the variables that can be handled and the variables that cannot be handled can be distinguished and displayed, it is easy to estimate the cause of the abnormality.

[0014] The surrogate model calculation unit calculates the surrogate model by logistic regression using the state data of the abnormality vicinity when the abnormality is detected. According to this configuration, since the surrogate model is calculated by logistic regression, the cause of the abnormality can be estimated in a simple manner.

[0015] The anomaly detection unit calculates an anomaly score that changes over time based on the state data, and the proxy model calculation unit calculates the proxy model using the state data near the anomaly when the calculated anomaly score is greater than a specified value. According to this structure, since the proxy model is calculated using the state data near the anomaly, the cause of the anomaly can be estimated in a simple manner.

[0016] The anomaly detection unit calculates an anomaly score that changes over time based on the state data. The sending unit sends screen data that displays the change over time of the calculated anomaly score relative to the time. In addition, there is a time acceptance unit that accepts the selection input of the time. The proxy model calculation unit calculates the proxy model using the state data near the state data corresponding to the time accepted by the time acceptance unit. According to this structure, the selection input of the time is accepted, and the proxy model is calculated using the state data near the state data corresponding to the accepted time, so that the cause of the anomaly can be estimated in a simple manner.

[0017] The information processing device further includes an adjustment unit for adjusting parameters of the proxy model. According to this configuration, the parameters of the proxy model can be adjusted.

[0018] According to an example of the present disclosure, an information processing method has the following steps: acquiring status data of each of a plurality of mechanisms in a process performed on a production line; detecting an abnormality based on the acquired status data; calculating a proxy model based on the status data when the abnormality is detected; and estimating the cause of the abnormality based on the calculated proxy model. With this structure, the cause of the abnormality can be estimated in a simple manner based on the calculated proxy model.

[0019] According to an example of the present disclosure, an information processing program causes a computer to execute the following steps: acquiring status data of each of a plurality of mechanisms in a process performed on a production line; detecting an abnormality based on the acquired status data; calculating a proxy model based on the status data when the abnormality is detected; and estimating the cause of the abnormality based on the calculated proxy model. With this structure, the cause of the abnormality can be estimated in a simple manner based on the calculated proxy model.

[0020] The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a diagram schematically illustrating an example of a usage scenario of the process analysis device 1 which is one form of the information processing device according to the embodiment.

[0022] Figure 2 This is a diagram schematically illustrating an example of the hardware configuration of the process analysis device 1 according to the embodiment.

[0023] Figure 3 This is a diagram schematically illustrating an example of the hardware configuration of the PLC 2 according to the embodiment.

[0024] Figure 4 This is a diagram schematically illustrating an example of the software configuration of the process analysis device 1 according to the embodiment.

[0025] Figure 5 This is a diagram illustrating the processing of the first relationship identification unit 114 of the process analysis device 1 according to the embodiment.

[0026] Figure 6 This is another diagram illustrating the processing of the first relationship identification unit 114 of the process analysis device 1 according to the embodiment.

[0027] Figure 7 This is a flowchart for explaining the processing of the second relationship identification unit 115 of the process analysis device 1 according to the embodiment.

[0028] Figure 8 This is a conceptual diagram that expresses the program structure of the implementation method in a tree structure.

[0029] Fig. 9 This is a diagram for explaining an example of a control cause-effect relationship according to an embodiment.

[0030] Fig.10 This is a diagram illustrating the processing of the third relationship identification unit 116 of the process analysis device 1 according to the embodiment.

[0031] Fig.11 It is a flowchart explaining the processing in the data causal model generation unit 142 according to the embodiment.

[0032] Fig.12 This is a diagram for explaining the creation of undirected graph information based on state data according to an embodiment.

[0033] Fig.13 This is a diagram for explaining the control cause-effect relationship based on the state data 223 obtained by the third relationship specifying unit 116 in the manufacturing process performed by the production line 3 according to the embodiment.

[0034] Fig.14 It is a diagram for explaining abnormality detection in the abnormality detection unit 117 according to the embodiment.

[0035] Fig.15 This is another diagram for explaining abnormality detection in the abnormality detection unit 117 according to the embodiment.

[0036] Fig.16 This is a diagram for explaining the abnormality score according to the embodiment.

[0037] Fig.17 This is a flowchart for explaining the proxy model calculation in the proxy model calculation unit 118 according to the embodiment.

[0038] Fig.18 This is a diagram for explaining the concept of the proxy model in the embodiment.

[0039] Fig.19 This is a diagram for explaining the case of calculating a proxy model by logistic regression according to an embodiment.

[0040] Fig. 20 2 is a diagram illustrating regularization for suppressing overlearning according to an embodiment.

[0041] Fig.21 This is a flowchart for explaining the abnormality cause estimation by the estimation unit 119 according to the embodiment.

[0042] Fig. 22 It is a diagram for explaining the estimation of the abnormality cause in the estimation unit 119 according to the embodiment.

[0043] Fig.23 It is a diagram illustrating the excluded variables of the embodiment.

[0044] Fig.24 This is another diagram for explaining the estimation of the abnormality cause in the estimation unit 119 according to the embodiment.

[0045] Fig.25 This is another flowchart for explaining the calculation of the proxy model according to the embodiment. DETAILED DESCRIPTION

[0046] The embodiments are described in detail with reference to the accompanying drawings. In addition, the same reference numerals are given to the same or corresponding parts in the drawings, and their descriptions are not repeated. The various modifications described below can also be appropriately selectively combined.

[0047] Hereinafter, one embodiment of a process analysis device as one mode of an information processing device will be described with reference to the drawings.

[0048] <1. Application Examples>

[0049] Figure 1 1 is a diagram schematically illustrating an example of a usage scenario of the process analysis device 1 as one form of the information processing device according to the embodiment. Figure 1As shown, the process analysis device 1 of the embodiment obtains the state data 223 related to the state of the plurality of mechanisms 31 constituting the production line 3. The production line 3 can be composed of a plurality of devices as long as it can manufacture a certain article, or it can be composed of a single device such as a packaging machine. Each mechanism 31 can be composed of one or more devices as long as it can perform certain processes of the manufacturing process, or it can be composed of a part of a device. In the case where one mechanism 31 is composed of a part of a device, the plurality of mechanisms 31 can also be composed of one device. In the case where the same device performs multiple processes, they can also be regarded as different mechanisms 31. For example, in the case where the same device performs the first process and the second process, the device performing the first process can also be regarded as the first mechanism 31, and the device performing the second process can be regarded as the second mechanism 31. The state data 223 can also include all kinds of data related to the state of each mechanism 31 constituting the production line 3. Each mechanism 31 can be composed of a device such as a conveyor, a robot arm, a servo motor, a cylinder (molding machine, etc.), an adsorption pad, a cutting device, a sealing device, or a part of the device. Each mechanism 31 may be, for example, a composite device such as a printer, an installation machine, a reflow furnace, or a substrate inspection device. In addition to the above-mentioned devices that are accompanied by certain physical actions, each mechanism 31 may also include, for example, a device that detects certain information through various sensors, a device that obtains data from various sensors, a device that detects certain information from the obtained data, a device that processes the obtained data, and other devices that perform internal processing. As a specific example, in a production line having an optical sensor that detects a mark given to an object flowing in a conveyor, the optical sensor and the device that uses the information detected by the optical sensor can be processed as each mechanism 31. In addition, each piece of status data 223 may be, for example, data representing at least any state of torque, speed, acceleration, temperature, current, voltage, air pressure, pressure, flow rate, position, size (height, length, width), and area. Such status data 223 can be obtained by known measuring devices such as sensors and cameras. For example, flow rate can be obtained by a flow sensor. In addition, position, size, and area can be obtained by an image sensor.

[0050] In addition, the status data 223 may also be composed of data obtained from one or more measuring devices. In addition, the status data 223 may be data obtained directly from the measuring device, or may be data that can be obtained by applying certain processing to the data obtained from the measuring device, such as position data obtained from image data. Each piece of status data 223 is obtained corresponding to each mechanism 31. Each measuring device is appropriately configured in a manner that can monitor each mechanism 31 of the production line 3. The PLC 2 operates the production line 3 and collects each piece of status data 223 from each measuring device. The control unit 11 obtains the status data 223 related to the status of each mechanism 31 when the production line 3 is normally operated from the PLC 2.

[0051] In addition, the process analysis device 1 of the embodiment obtains a control program 222 for controlling the action of the production line 3. The control program 222 may include all kinds of programs for controlling the action of each mechanism 31 constituting the production line 3. The control program 222 may be composed of one program or a plurality of programs. The control program 222 may be described in at least any language of a ladder diagram language, a function block diagram language, a structured text language, an instruction list language, a sequential function chart language, and a C language, so that it can be executed in the PLC 2. In addition, in the embodiment, the action of the production line 3 is controlled by a PLC (programmable logic controller) 2. The process analysis device 1 obtains a plurality of status data 223 and a control program 222 from the PLC 2.

[0052] The process analysis device 1 specifies the cause-effect relationship (first cause-effect relationship) between the plurality of mechanisms 31 in the process executed on the production line 3. As an example, the first cause-effect relationship is also referred to as a design cause-effect model.

[0053] The process analysis device 1 analyzes the control program 222 and specifies the causal relationship (second causal relationship) between the plurality of mechanisms 31 based on the control program 222. As an example, the second causal relationship is also referred to as a control causal model.

[0054] The process analysis device 1 identifies the causal relationship (third causal relationship) between the plurality of mechanisms 31 by analyzing the acquired state data 223. As an example, the third causal relationship is also referred to as a data causal model.

[0055] The process analysis device 1 according to the embodiment estimates the cause of an abnormality based on each cause-and-effect model and the abnormality detection result.

[0056] <2. Hardware structure of process analysis device>

[0057] Figure 2 1 is a diagram schematically illustrating an example of the hardware configuration of the process analysis device 1 according to the embodiment. Figure 2 As shown, the process analysis device 1 of the embodiment is a computer formed by electrically connecting a control unit 11, a storage unit 12, a communication interface 13, an input device 14, an output device 15, and a driver 16. Figure 2 In the communication interface, the communication interface is recorded as "communication I / F".

[0058] The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), etc. as a hardware processor, and controls each component according to information processing. The storage unit 12 is an auxiliary storage device such as a hard disk drive or a solid state drive, and stores the process analysis program 17 executed by the control unit 11, etc.

[0059] The process analysis program 17 is a program for causing the process analysis device 1 to execute processing for analyzing the cause-effect relationship between the plurality of mechanisms 31 in the manufacturing process performed on the production line 3 using information on the process performed on the production line 3 , the state data 223 , the control program 222 , and the like.

[0060] The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. The process analysis device 1 can perform data communication via a network with the PLC 2 through the communication interface 13. In addition, the type of network can be appropriately selected from, for example, the Internet, a wireless communication network, a mobile communication network, a telephone network, a dedicated network, etc.

[0061] The input device 14 is a device for performing input, such as a mouse and a keyboard. The output device 15 is a device for performing output, such as a display and a speaker. An operator can operate the process analysis device 1 via the input device 14 and the output device 15 .

[0062] The drive 16 is, for example, a CD drive or a DVD drive, and is a drive device for reading a program stored in the storage medium 91. The type of the drive 16 can be appropriately selected according to the type of the storage medium 91. The process analysis program 17 can also be stored in the storage medium 91.

[0063] The storage medium 91 is a medium that stores information such as programs by electrical, magnetic, optical, mechanical or chemical action so that a computer, other device or machine can read the recorded information such as programs. The process analysis device 1 can also obtain the process analysis program 17 from the storage medium 91 .

[0064] Here, in Figure 2 In the embodiment, a disk-type storage medium such as a CD or a DVD is illustrated as an example of the storage medium 91. However, the type of the storage medium 91 is not limited to the disk type, and may be a type other than the disk type. As a storage medium other than the disk type, for example, a semiconductor memory such as a flash memory can be cited.

[0065] In addition, regarding the specific hardware structure of the process analysis device 1, it is possible to appropriately omit, replace, and add structural elements according to the implementation method. For example, the control unit 11 may also include multiple processors. The process analysis device 1 may also be composed of multiple information processing devices. In addition, in addition to being designed as an information processing device dedicated to the service provided, the process analysis device 1 may also be a general-purpose server device, PC (Personal Computer), etc.

[0066] <3.PLC>

[0067] Figure 3 2 is a diagram schematically illustrating an example of the hardware configuration of the PLC 2 according to the embodiment. Figure 3 As shown in FIG. 1 , the PLC 2 is a computer formed by electrically connecting a control unit 21, a storage unit 22, an input / output interface 23, and a communication interface 24. Thus, the PLC 2 is configured to control the operation of each mechanism 31 of the production line 3. Figure 3 In the , the input / output interface and the communication interface are respectively described as "input / output I / F" and "communication I / F".

[0068] The control unit 21 includes a CPU, a RAM, a ROM, etc., and is configured to perform various information processing based on programs and data. The storage unit 22 is composed of, for example, a RAM, a ROM, etc., and stores a control program 222, status data 223, etc. The control program 222 is a program for controlling the operation of the production line 3. The status data 223 is data related to the status of each mechanism 31. The input / output interface 23 is an interface for connecting to an external device, and is appropriately configured according to the external device connected. In the embodiment, the PLC 2 is connected to the production line 3 via the input / output interface 23. In addition, in the case where different status data can be obtained for a single device, the single device as the object can be regarded as a plurality of mechanisms 31 or a single mechanism 31. Therefore, the number of input / output interfaces 23 may be the same as the number of mechanisms 31 constituting the production line 3, or may be different from the number of mechanisms 31 constituting the production line 3.

[0069] The communication interface 24 is an interface for performing wired or wireless communication, such as a wired LAN module or a wireless LAN module. The PLC 2 can perform data communication with the process analysis device 1 via the communication interface 24 .

[0070] In addition, regarding the specific hardware structure of PLC 2, it is possible to appropriately omit, replace and add structural elements according to the implementation method. For example, the control unit 21 may also include a plurality of processors. The storage unit 22 may also be composed of the RAM and ROM included in the control unit 21. The storage unit 22 may also be composed of auxiliary storage devices such as a hard disk drive and a solid-state drive. In addition, in addition to being designed as an information processing device dedicated to the service provided, PLC 2 may also be replaced by a general-purpose desktop PC, tablet PC, etc. according to the object of control.

[0071] <4. Software Structure of Process Analysis Device>

[0072] Figure 4 Schematically illustrates an example of the software configuration of the process analysis device 1 according to the embodiment. Figure 4 As shown in FIG. 1 , the control unit 11 of the process analysis device 1 expands the process analysis program 17 stored in the storage unit 12 in the RAM. Then, the control unit 11 interprets and executes the process analysis program 17 expanded in the RAM through the CPU to control each component. Figure 4 As shown, the process analysis device 1 of the embodiment includes a first acquisition unit 111, a second acquisition unit 112, a third acquisition unit 113, a first relationship determination unit 114, a second relationship determination unit 115, a third relationship determination unit 116, an anomaly detection unit 117, an agent model calculation unit 118, an estimation unit 119 and a display unit 122 as software modules.

[0073] The first acquisition unit 111 acquires process data 220 and equipment installation position data 221 as information related to the process executed on the production line 3. The second acquisition unit 112 acquires a control program 222 for controlling the operation of the production line 3. The third acquisition unit 113 acquires status data 223. As the information related to the process executed on the production line 3 acquired by the first acquisition unit 111, the process data 220 and equipment installation position data 221 may be acquired from the PLC 2. Alternatively, they may be input by a user or acquired from information pre-stored in a storage unit.

[0074] The first relationship specifying unit 114 specifies the causal relationship (first causal relationship) between the plurality of mechanisms 31 in the process executed on the production line 3 based on the process data 220 and the equipment installation position data 221 acquired by the first acquiring unit 111 .

[0075] The second relationship identification unit 115 analyzes the control program 222 acquired by the second acquisition unit 112 , and identifies the causal relationship (second causal relationship) between the plurality of mechanisms 31 based on the control program 222 .

[0076] The third relationship identification unit 116 analyzes the status data 223 acquired by the third acquisition unit 113 , and identifies the causal relationship (third causal relationship) among the plurality of mechanisms 31 .

[0077] The abnormality detection unit 117 detects an abnormality in a process performed on the production line 3. Specifically, an abnormality score is calculated based on the state data 223 acquired by the third acquisition unit 113, and it is determined whether the abnormality score exceeds a predetermined threshold. The abnormality detection unit 117 determines that it is abnormal when the abnormality score exceeds a predetermined threshold. In this example, the abnormality score indicates the degree of deviation from the normal range.

[0078] The proxy model calculation unit 118 calculates the proxy model using the state data 223 near the abnormality based on the abnormality detection result. For example, the proxy model calculation unit 118 calculates the proxy model by logistic regression as an example using the state data 223 near the abnormality based on the abnormality detection result. The proxy model calculation unit 118 may also calculate the proxy model using the state data 223 near the abnormality when the abnormality score that changes over time as the abnormality detection result is greater than a predetermined value. The state data near the abnormality refers to state data with a close vector distance.

[0079] The proxy model calculation unit 118 may receive a selection input of a time from the user and calculate the proxy model using the state data 223 around the data corresponding to the time.

[0080] The estimation unit 119 acquires the respective causal models from the first to third relationship identification units 114 to 116 . The estimation unit 119 acquires the proxy model calculated by the proxy model calculation unit 118 .

[0081] The estimation unit 119 estimates the cause of the abnormality based on the causal model and the calculated proxy model. Specifically, the estimation unit 119 estimates the cause of the abnormality in at least one causal model of the plurality of causal models based on the coefficients corresponding to the variables of the calculated proxy model, and outputs it to the display unit 122. For example, as will be described later, the estimation unit 119 estimates the abnormality using the coefficients corresponding to the variables of the calculated proxy model and combining them with the causal model. Specifically, variables with high coefficients may be extracted and combined with the causal model. In addition, the edges representing the causal relationship between the variables may also be adjusted.

[0082] When an abnormality is detected through this adjustment, the user can easily identify the candidate factors and execute the recovery work in advance.

[0083] The various software modules of the process analysis device 1 are described in detail in the action examples described later. In addition, in the embodiment, an example in which the various software modules of the process analysis device 1 are implemented by a general-purpose CPU is described. However, part or all of the above software modules may also be implemented by one or more dedicated hardware processors. In addition, regarding the software structure of the process analysis device 1, software modules may be omitted, replaced, or added appropriately according to the embodiment.

[0084] <5.1 The first causal relationship>

[0085] Figure 5 This is a diagram illustrating the processing of the first relationship identification unit 114 of the process analysis device 1 according to the embodiment. However, the processing method described below is just an example, and various methods are possible.

[0086] Reference Figure 5 (A) shows the process data of materials MA and MB.

[0087] As the process data, the process sequence of the material MA and the variable name of the mechanism for the material MA are set.

[0088] In this example, as an example, a conveyor shaft (ProductFeed), a film feed sub-shaft (FilmFeedSub), and a top seal shaft (TopSeal) are set as the process order of the material MA.

[0089] As the process data, the process sequence of the material MB and variable information of the mechanism for the material MB are set.

[0090] In this example, as an example, a film feed main shaft (FilmFeedMain), a film feed sub shaft (FilmFeedSub), and a top seal shaft (TopSeal) are set as the process order of the material MB.

[0091] Figure 5 (B) is a diagram illustrating the process cause-effect relationship based on process data of materials MA and MB.

[0092] As shown in the figure, nodes corresponding to the conveyor axis (ProductFeed), the film feed sub-axis (FilmFeedSub), the top seal axis (TopSeal), and the film feed main axis (FilmFeedMain) are respectively provided.

[0093] In addition, a design causal relationship (design causal model) is generated, in which a vector from the film feed main axis (FilmFeedMain) toward the film feed sub-axis (FilmFeedSub), a vector from the film feed sub-axis (FilmFeedSub) toward the top sealing axis (TopSeal), and a vector from the conveyor axis (ProductFeed) toward the film feed sub-axis (FilmFeedSub) are set.

[0094] Figure 6 This is another diagram illustrating the processing of the first relationship identification unit 114 of the process analysis device 1 according to the embodiment. However, the processing method described below is only an example, and various methods are possible.

[0095] Reference Figure 6 (A) shows device setting location data.

[0096] As the device installation position data, a device name and information indicating a position where the device is installed and a direction related thereto are set in correspondence with each other.

[0097] In this example, as an example, a workpiece detection sensor (ProductDetectionSensorSignal) is set for the conveyor axis (ProductFeed), and vector information related to the right direction is set.

[0098] A product over mount detection sensor (ProductOverMountDetectionSensorSignal) is set for the conveyor axis (ProductFeed), and vector information related to the right direction is set.

[0099] A workpiece position deviation sensor (ProductMisplaceDetectionSensorSignal) is set for the film feed sub-axis (FilmFeedSub), and vector information related to the right direction is set.

[0100] A center seal heater (CenterHeaterDPC_MV) is set for the film feed sub-axis (FilmFeedSub), and vector information related to the left direction is set.

[0101] The top seal heater upper (TopSealHeaterDPC_MV) is set for the top seal axis (TopSeal), and vector information related to the left direction is set.

[0102] A top seal heater lower (TopSealLowerHeaterDPC_MC) is set for the top seal axis (TopSeal), and vector information related to the left direction is set.

[0103] Figure 6 (B) is a diagram illustrating the design cause-effect relationship based on the device setting location data.

[0104] Reference Figure 6 (B), for Figure 5 The design causal relationship (B) generates the design causal relationship (design causal model) based on the device setting location data. Figure 5 A node is added to the device setting position data of (B), and a design causal model with a causal relationship of the node added is generated.

[0105] Specifically, a vector is set from the conveyor axis (ProductFeed) to the workpiece detection sensor (ProductDetectionSensorSignal). Also, a vector is set from the conveyor axis (ProductFeed) to the workpiece overmount sensor (ProductOverMountDetectionSensorSignal).

[0106] Set the vector from the film feed sub-axis (FilmFeedSub) to the product position misalignment sensor (ProductMisplaceDetectionSensorSignal). Set the vector from the center seal heater (CenterHeaterDPC_MV) to the film feed sub-axis (FilmFeedSub). Set the vector from the top seal heater upper (TopSealHeaterDPC_MV) to the top seal axis (TopSeal). Set the vector from the top seal heater lower (TopSealLowerHeaterDPC_MC) to the top seal axis (TopSeal).

[0107] The first relationship specifying unit 114 generates the design cause-effect relationship (design cause-effect model) of the above-described structure based on the process data 220 and the equipment installation position data 221 .

[0108] <5.2 Second Causal Relationship>

[0109] Figure 71 is a flowchart for explaining the processing of the second relationship determination unit 115 of the process analysis device 1 according to the embodiment. However, the processing method described below is only an example, and various methods are possible. In the following description, for the sake of convenience, it is assumed that the production line 3 has four mechanisms F1 to F4 as the plurality of mechanisms 31, and the second relationship determination unit 115 obtains the control program 222 using the variables v1 to v4 corresponding to the four mechanisms F1 to F4.

[0110] First, the second relationship determination unit 115 performs a syntax analysis of the acquired control program 222, and constructs an abstract syntax tree based on the control program 222 (step S1401). In constructing the abstract syntax tree, a well-known syntax analysis method based on top-down syntax analysis or bottom-up syntax analysis may also be used. For example, in constructing the abstract syntax tree, a syntax analyzer that processes a string according to a specific formal syntax may also be used. When the construction of the abstract syntax tree is completed, the control unit 11 advances the processing to the next step S1402.

[0111] Figure 8 This is a conceptual diagram that expresses the program structure of the implementation method in a tree structure.

[0112] like Figure 8 2 shows an abstract syntax tree 2211 obtained from a syntax such as "if (a>0) [v1 = a;] ​​else [v2 = -a;]" in the control program 222. The abstract syntax tree is a data structure that expresses the structure of a program in a tree structure in order to explain the meaning of the program.

[0113] Specifically, the second relationship determination unit 115 omits tokens such as brackets that are not necessary for the interpretation of the meaning of the program from the tokens (lexical) used by the program, and extracts tokens related to the interpretation of the meaning of the program. Then, the second relationship determination unit 115 matches operators such as conditional branches with nodes, and matches operands such as variables with leaves. By performing grammatical analysis of the control program 222 in this way, the second relationship determination unit 115 can construct Figure 8 The abstract syntax tree shown in the example. In addition, the abstract syntax tree constructed in this way represents the relationship between variables, operators and nodes (the relationship between operations and the operated, etc.). Regarding the structure of the abstract syntax tree, the expression can be appropriately modified, changed, omitted, etc. within the scope of the content represented.

[0114] Refer again Figure 7 , the second relationship determination unit 115 extracts the variables (v1 to v4) related to each mechanism 31 and the operators including conditional branches and substitution operations from the abstract syntax tree constructed in step S1401 (step S1402). Figure 8In the case of the abstract syntax tree 2211 shown in FIG. 1 , the second relationship determination unit 115 extracts ("if", "v1", "=", "a", "v2", "=", and "-a") from the abstract syntax tree 2211. When the extraction is completed, the second relationship determination unit 115 proceeds to the next process.

[0115] The second relationship determination unit 115 arranges the variables and operators extracted in step S1402 in order, and limits the objects of monitoring the execution order to the parts associated with the variables (v1 to v4), and the variables (v1 to v4) correspond to the mechanisms 31 as the objects of determining the causal relationship (step S1403). In the above example, the second relationship determination unit 115 further extracts ("if", "v1", "=", "a", "v2", "=", and "-a").

[0116] Then, in the next step S1404, the second relationship determination unit 115 randomly selects a conditional branch and tries to execute the control program 222, thereby initializing the order of the limited variables (step S1403). Specifically, the second relationship determination unit 115 can initialize the order of the variables by monitoring the order of use of the limited variables during the trial execution of the control program 222.

[0117] Fig. 9 This is a diagram for explaining an example of a control cause-effect relationship according to an embodiment.

[0118] Fig. 9 (A) illustrates an example of initialization of the control program 222 using variables v1 to v4 corresponding to the four mechanisms F1 to F4.

[0119] Fig. 9 The graph 2212 of (A) shows the following sequential relationship of (1) to (5) as a result of initialization.

[0120] (1) Initially, the variable "v1" among the variables "v1" to "v4" is used.

[0121] (2) After variable "v1", variable "v2" is used with a probability of 0.5, and variable "v3" is used with a probability of 0.5.

[0122] (3) After variable "v2", variable "v3" is used with probability 1.

[0123] (4) After variable "v3", variable "v4" is used with probability 1.

[0124] (5) Finally, use the variable "v4" among variables "v1" to "v4".

[0125] The second relationship identification unit 115 can generate a control cause-effect relationship based on the control program through such initialization.

[0126] Fig. 9 (B) is a diagram illustrating the control cause-effect relationship based on the control program 222 generated by the second relationship identification unit 115 in the manufacturing process implemented by the production line 3.

[0127] Reference Fig. 9 (B) As a control causal model based on the control program, set the vector from the workpiece climbing sensor (ProductOverMountDetectionSensorSignal) to the conveyor axis (ProductFeed). Set the vector from the workpiece detection sensor (ProductDetectionSensorSignal) to the conveyor axis (ProductFeed). Set the vector from the film feed main axis (FilmFeedMain) to the film feed sub-axis (FilmFeedSub). Set the vector from the film feed sub-axis (FilmFeedSub) to the top seal axis (TopSeal). Set the vector from the conveyor axis (ProductFeed) to the film feed sub-axis (FilmFeedSub).

[0128] <5.3 The third causal relationship>

[0129] Fig.10 This is a diagram illustrating the processing of the third relationship identification unit 116 of the process analysis device 1 according to the embodiment. However, the processing method described below is just an example, and various methods are possible.

[0130] Reference Fig.10 The third relationship determination unit 116 includes a constraint model generation unit 140 and a data causal model generation unit 142 .

[0131] The constraint model generation unit 140 generates a constraint model that combines the design causal model and the control causal model based on the design causal model and the control causal model.

[0132] The data causal model generation unit 142 generates a data causal model based on the constraint model and the state data.

[0133] The following describes the generation of a data causal model.

[0134] Fig.11 It is a flowchart explaining the processing in the data causal model generation unit 142 according to the embodiment.

[0135] In the following description, for convenience of explanation, the production line 3 includes four mechanisms F1 to F4 as the plurality of mechanisms 31 .

[0136] Reference Fig.11 (A), the data causal model generation unit 142 obtains the status data 223 of each mechanism F1 to F4 (step S101).

[0137] Next, the data causal model generation unit 142 analyzes the status data (step S103 ).

[0138] Fig.11 (B) is a subroutine flowchart illustrating the analysis process of the status data.

[0139] Reference Fig.11 (B), the data causal model generation unit 142 calculates the feature quantity 2221 based on the status data 223 of each piece obtained in step S101 (step S1301). The type of feature quantity 2221 may not be particularly limited and may be appropriately selected according to the implementation method. In addition, the method for calculating the feature quantity 2221 may be appropriately determined according to the implementation method. As a specific example, in the present embodiment, the data causal model generation unit 142 calculates the feature quantity 2221 based on the status data 223 by the following method. First, in order to define the processing range for calculating the feature quantity 2221, the data causal model generation unit 142 divides the obtained status data 223 of each piece into each frame. The length of each frame may be appropriately set according to the implementation method.

[0140] The data causal model generation unit 142 may, for example, divide the state data 223 of each piece into frames of a constant time length. However, the production line 3 does not necessarily operate at a constant time interval. Therefore, if the state data 223 of each piece is divided into frames of a constant time length, the operation of each mechanism 31 reflected in each frame may deviate.

[0141] Therefore, the data causal model generation unit 142 may also frame-divide the state data 223 for each takt time. The takt time is the time taken for the production line 3 to produce a predetermined number of products. The takt time can be determined based on a signal for controlling the production line 3, such as a control signal for the PLC 2 to control the operation of each mechanism 31 of the production line 3.

[0142] Next, the data causal model generation unit 142 calculates the value of the feature quantity 2221 based on each frame of the state data 223. When the state data 223 is continuous value data such as measurement data, the data causal model generation unit 142 may calculate, for example, the amplitude, maximum value, minimum value, average value, variance value, standard deviation, instantaneous value (1-point sample), etc. in the frame as the feature quantity 2221. In addition, when the state data 223 is discrete value data such as detection data, the control unit 11 may calculate, for example, the "on" time, "off" time, duty ratio, "on" times, "off" times, etc. in each frame as the feature quantity 2221. Thus, when the calculation of each feature quantity 2221 is completed, the data causal model generation unit 142 advances the processing to the next step S1302. Each feature quantity becomes a node constituting the data causal model.

[0143] Next, the data causal model generation unit 142 calculates the correlation coefficient or partial correlation coefficient between each feature quantity 2221 (step S1302). The correlation coefficient can be calculated by the following formula 1. In addition, the partial correlation coefficient can be calculated by the following formula 2.

[0144] [Formula 1]

[0145]

[0146] In addition, ij represents the element in the i-th row and j-th column of matrix 2222. i and x j Corresponds to data representing the feature quantity 2221 calculated based on the individual status data 223. i and x j Respectively represent x i and x j The sample average of . n represents the number of feature quantities 2221 used in the relevant calculation.

[0147] [Formula 2]

[0148]

[0149] In addition, the matrix R(r ij ) is expressed as R -1 (r ij ), r ij Represents the element in the i-th row and j-th column of the inverse matrix of matrix 2222.

[0150] Thus, the data causal model generation unit 142 can obtain a matrix 2222 with correlation coefficients or partial correlation coefficients as each element. The correlation coefficients and partial correlation coefficients between the feature quantities 2221 represent the strength of the relationship between the corresponding mechanisms 31. That is, the strength of the relationship between the corresponding mechanisms 31 is determined by each element of the matrix 2222. When the calculation of the correlation coefficients or partial correlation coefficients between the feature quantities 2221 is completed, the data causal model generation unit 142 causes the processing to enter the next step S1303.

[0151] Next, the data causal model generation unit 142 constructs undirected graph information 2223 indicating the strength of the relationship between the corresponding mechanisms 31 based on the correlation coefficient or partial correlation coefficient between the feature quantities 2221 (step S1303 ).

[0152] For example, the data causal model generation unit 142 creates a node corresponding to each mechanism 31. And, when the value of the correlation coefficient or partial correlation coefficient calculated between two mechanisms 31 is above a threshold value, the control unit 11 connects the two corresponding nodes through an edge. On the other hand, when the value of the correlation coefficient or partial correlation coefficient calculated between two mechanisms 31 is less than the threshold value, the control unit 11 does not connect the two corresponding nodes through an edge. In addition, the threshold value can be a fixed value specified in the process analysis program 17, or it can be a set value that can be changed by an operator or the like. In addition, the thickness of the edge can also be determined corresponding to the size of the corresponding correlation coefficient or partial correlation coefficient. After the above-mentioned step S103, a directed graph representing the causal relationship between multiple mechanisms is constructed (step S105), and the constructed directed graph is output (step S106).

[0153] Fig.12 is a diagram illustrating the creation of undirected graph information based on state data in an implementation manner. Fig.12 As shown, undirected graph information 2223 can be created. As an example, four nodes corresponding to four institutions F1 to F4 are created. Moreover, edges are formed between the nodes of institutions F1 and F2, between the nodes of institutions F1 and F3, between the nodes of institutions F2 and F3, and between the nodes of institutions F3 and F4. In addition, corresponding to the correlation between institutions F1 and F3 and between institutions F3 and F4 being greater than the correlation between other institutions, the edges between the nodes of institutions F1 and F3 and between the nodes of institutions F3 and F4 are formed to be thicker than other edges. When the construction of undirected graph information 2223 representing the strength of the relationship between multiple institutions 31 is completed through the above process, the analysis and processing of the status data 223 of this embodiment is completed.

[0154] In addition, Fig.12In the example, the undirected graph information 2223 represents the formed undirected graph through an image. However, the output form of the undirected graph information 2223 may not be limited to an image, and may also be represented by text, etc. In addition, in the above example, by comparing the correlation coefficient or the partial correlation coefficient with the threshold, no edge is formed between nodes (institutions 31) with weak relationships. However, the method of removing edges between nodes with weak relationships may not be limited to such an example. For example, after forming a graph in which all nodes are connected by edges, the data causal model generation unit 142 may also delete the edges of the formed graph in order from the edges with small correlation coefficients or partial correlation coefficients in such a way that the fitness index (GFI, SRMR, etc.) representing the degree of deviation does not exceed the threshold.

[0155] The data causal model generation unit 142 applies the information of the constraint model to the created undirected graph information, adds a direction, and determines the order relationship of the plurality of mechanisms 31 in the production line 3 .

[0156] Fig.13 This is a diagram for explaining the control cause-effect relationship based on the state data 223 obtained by the third relationship specifying unit 116 in the manufacturing process performed by the production line 3 according to the embodiment.

[0157] Reference Fig.13 , in this example, an example of the generated data causal model is shown.

[0158] Set the vector from the product position deviation sensor (ProductMisplaceDetectionSensorSignal) to the conveyor axis (ProductFeed). Set the vector from the conveyor axis (ProductFeed) to the film feed sub-axis (FilmFeedSub). Set the vector from the film feed main axis (FilmFeedMain) to the product detection sensor (ProductDetectionSensorSignal). Set the vector from the center seal heater (CenterHeaterDPC_MV) to the top seal heater lower (TopSealLowerHeaterDPC_MC).

[0159] <6. Detection of abnormality>

[0160] Fig.14 It is a diagram for explaining abnormality detection in the abnormality detection unit 117 according to the embodiment.

[0161] Reference Fig.14 , the abnormality detection unit 117 detects abnormality based on the status data 223.

[0162] In this example, data of three variables P1 to P3 are described as an example.

[0163] Regarding variables P1 to P3, a three-axis three-dimensional space is set, and as a learned model, a data group representing a normal range and data representing an abnormal state are shown. The black point group data represents a data group representing a normal range. On the other hand, the shaded data indicates data that deviates from the normal range. The distance from the center point of the data group representing the normal range becomes the abnormality score. That is, the larger the distance, the higher the value of the abnormality score.

[0164] In this example, a three-dimensional space of three variables P1 to P3 is described, but it can of course be expanded to a multi-dimensional space corresponding to the number of variables.

[0165] Fig.15 This is another diagram for explaining abnormality detection in the abnormality detection unit 117 according to the embodiment.

[0166] Reference Fig.15 (A) shows the data change from point to point. In this example, a two-dimensional situation is shown, showing a change of Δx relative to the x-axis and a change of Δy relative to the y-axis. In the two-dimensional case, the distance change of Δx and Δy is calculated as the anomaly score.

[0167] Reference Fig.15 (B) shows the change in data from a distribution to a point. In the three-dimensional case, the change in distance from the center of the distribution to the point is calculated as the anomaly score.

[0168] As an example of an algorithm for calculating anomaly scores, anomaly detection based on Mahalanobis distance, LOF (Local Outlier Factor), Isolation Forest, or other anomaly detection algorithms may be used.

[0169] Fig.16 This is a diagram for explaining the abnormality score according to the embodiment.

[0170] Reference Fig.16 , shows the abnormality score calculated by the abnormality detection unit 117.

[0171] Specifically, the score value that changes along the time axis is shown. In this example, the case where the score value exceeds the threshold value TH1 at time T1 is shown.

[0172] The abnormality detection unit 117 detects an abnormality at time T1 based on the score value exceeding the threshold value TH1.

[0173] <7. Calculation of proxy model>

[0174] Fig.17 This is a flowchart for explaining the proxy model calculation in the proxy model calculation unit 118 according to the embodiment.

[0175] Reference Fig.17 The proxy model calculation unit 118 determines whether an abnormality has occurred (step S12). Specifically, it determines whether an abnormality detection result has been received from the abnormality detection unit 117. The abnormality detection unit 117 determines whether the abnormality score exceeds the threshold TH1, and determines that it is abnormal if the abnormality score exceeds the threshold TH1.

[0176] Next, the agent model calculation unit 118 extracts state data in the vicinity of the abnormality according to the abnormality detection result of the abnormality detection unit 117 (step S14 ).

[0177] Next, the proxy model calculation unit 118 calculates the proxy model (step S16 ).

[0178] Then, the processing ends (END).

[0179] Fig.18 This is a diagram for explaining the concept of the proxy model in the embodiment.

[0180] To simplify the description, we will refer to Fig.18 (A) illustrates the two-dimensional case of two variables x1 and x2. In addition, the same can be applied to multiple dimensions. The variables x1 and x2 can be state data, or can be state data obtained by dimensional compression of state data.

[0181] In the two-dimensional plane, the classification boundary for classifying normal and abnormal is shown. The case where abnormal state data exists outside the classification boundary is shown. The model of the classification boundary is generated by learning the data group representing the normal range.

[0182] Reference Fig.18 (B) extracts the state data near the abnormal state data. Specifically, extracts the state data near the variables x1 and x2 corresponding to the abnormal score notified as the abnormality detection result. The nearby range can be adjusted. As an example, the local degree (kernel width) can be adjusted using the parameter change tool described later.

[0183] As an example, in this example, the LIME (Local Interpretable Model-agnostic Explainations) algorithm and the exponential smoothing kernel are used to extract nearby state data. Alternatively, nearby state data may be extracted using the SHAP (SHapley Additive exPlanations) algorithm or other methods.

[0184] Reference Fig.18(C) , a proxy model is calculated based on the extracted nearby state data, and a classification boundary is set to separate normal and abnormal.

[0185] Fig.19 It is a diagram for explaining the situation of calculating the proxy model by logistic regression in the implementation mode.

[0186] Reference Fig.19 , the surrogate model is calculated using the so-called sigmoid function.

[0187] The proxy model based on logistic regression is expressed as follows.

[0188] [Formula 3]

[0189]

[0190] Then, by calculating the proxy model, the value of the coefficient ω for the variable x can be calculated as shown in the following equation.

[0191] [Formula 4]

[0192] ω1x1+ω2x2+ω3x3...

[0193] Fig. 20 2 is a diagram illustrating regularization for suppressing overlearning according to an embodiment.

[0194] Reference Fig. 20 , in this case, an example of L1 regularization is shown.

[0195] The surrogate model based on L1 regularized logistic regression is expressed as follows.

[0196] [Formula 5]

[0197] α||ω||1=α(|ω1|+|ω2|)

[0198] L1 regularization can reduce the number of dimensions, simplify the model, and improve the interpretability of the model. As an example, Lasso regression is used. Alternatively, Ridge regression can also be used.

[0199] The strength of regularization can be adjusted. As an example, the regularization coefficient α can be adjusted using a parameter change tool described later.

[0200] <8. Estimation of the cause of abnormality>

[0201] Fig.21 This is a flowchart for explaining the abnormality cause estimation by the estimation unit 119 according to the embodiment.

[0202] Reference Fig.21The estimation unit 119 obtains the causal model generated by the first relationship identification unit 114, the second relationship identification unit 115, and the third relationship identification unit 116 (step S20).

[0203] Next, the estimation unit 119 acquires the proxy model calculated by the proxy model calculation unit 118 (step S22 ).

[0204] Next, the estimation unit 119 performs a process of combining the acquired causal model and the calculated proxy model (step S24 ).

[0205] Then, the estimation unit 119 outputs the estimation result to the display unit 122 (step S26).

[0206] Then, the processing ends (END).

[0207] Fig. 22 It is a diagram for explaining the estimation of the abnormality cause in the estimation unit 119 according to the embodiment.

[0208] Reference Fig. 22 In this example, an estimation result screen 300 estimated by the estimation unit 119 and output to the display unit 122 is shown.

[0209] The estimation result screen 300 includes score data 310 , a causal model 301 , construction information 302 of a surrogate model, a parameter change tool 303 , and explanation information 304 based on the surrogate model.

[0210] The proxy model construction information 302 includes information related to the local data and information of the proxy model.

[0211] The parameter changing tool 303 includes a slider 303A that can adjust a parameter of the local degree (kernel width) and a slider 303B that can adjust a parameter of the regularization coefficient α that is the strength of L1 regularization.

[0212] The explanatory information 304 based on the proxy model displays important variables in the calculated proxy model and coefficients of the calculated proxy model corresponding to the variables in a graph together with numbers.

[0213] The right side of the graph represents positive values ​​and the left side represents negative values.

[0214] In addition, the estimation result screen 300 includes a button 330 for selecting a design causal model, a button 340 for selecting a control causal model, and a button 350 for selecting a data causal model, which are capable of accepting input from the user.

[0215] The estimation unit 119 can switch and output the estimation result according to the input from the user.

[0216] As an example, a case where the button 340 for selecting a control causal model is selected by the user is shown.

[0217] The score data 310 indicates the score value that changes along the time axis. In this example, it is shown that the score value exceeds the threshold value TH1 at time T1.

[0218] The abnormality detection unit 117 detects an abnormality at time T1 based on the score value exceeding the threshold value TH1.

[0219] The proxy model calculation unit 118 calculates a proxy model based on the abnormality detection result of the abnormality detection unit 117 .

[0220] As an example, the proxy model calculation unit 118 calculates the proxy model and outputs coefficients corresponding to the variables of the calculated proxy model.

[0221] In this example, a proxy model-based description is shown.

[0222] As an example, calculated coefficient data of variables of the proxy model are shown.

[0223] Specifically, it shows the situation where the film feed sub-axis (FilmFeedSub) is "45", the top seal axis (TopSeal) is "23", the conveyor axis (ProductFeed) is "-14", the film feed main axis (FilmFeedMain) is "4", and the workpiece detection sensor (ProductDetectionSensorSignal) is "-2".

[0224] The estimation unit 119 extracts the variables corresponding to the first and second highest coefficients of the calculated variables. In this example, the film feed sub-axis (FilmFeedSub) and the top seal axis (TopSeal) are extracted. In this example, the case of extracting the variables corresponding to the second highest coefficient is described, but the present invention is not limited to this, and the variables corresponding to the highest coefficient may be extracted, or the variables whose coefficients are greater than a specified value may be extracted.

[0225] In addition, this example shows a case where the button 340 for controlling the causal model is selected.

[0226] The estimation unit 119 determines the nodes of the film feed sub-axis (FilmFeedSub) and the top seal axis (TopSeal) in the control causal model.

[0227] The estimation unit 119 extracts nodes connected to the node in the selected control causal model.

[0228] The estimation unit 119 extracts the node of the conveyor axis (ProductFeed) connected to the film feed sub-axis (FilmFeedSub), and then extracts the node of the workpiece overmount sensor (ProductOverMountDetectionSensorSignal) and the node of the workpiece position misalignment sensor (ProductMisplaceDetectionSensorSignal) as nodes connected to the conveyor axis (ProductFeed).

[0229] In addition, the estimation unit 119 extracts the nodes of the workpiece detection sensor (ProductDetectionSensorSignal) and the film feed main axis (FilmFeedMain) as nodes connected to the film feed sub-axis (FilmFeedSub).

[0230] The estimation unit 119 extracts the film feed sub-axis (FilmFeedSub) as a node connected to the top seal axis (TopSeal).

[0231] In this example, as an example, the nodes of the film feed sub-axis (FilmFeedSub) and the top seal axis (TopSeal) having large coefficients of the extracted variables are shaded.

[0232] This makes it possible to easily check the correlation between nodes in the control causal model, thereby facilitating estimation of the cause of abnormality.

[0233] In addition, the estimation unit 119 adjusts the edge based on the calculated variable coefficient of the proxy model. Specifically, the larger the coefficient, the larger the thickness of the edge. In addition, when the coefficient is positive, the edge is set as a solid line, and when the coefficient is negative, the edge is displayed using a dotted line. In addition, in this example, the case of changing the thickness of the edge or the state of the line is described, but it is not limited to this, and it can also be given a color or made to flash.

[0234] This makes it possible to visually easily understand the strength of the correlation between the variables and to examine in which direction the parameters are desired to be adjusted.

[0235] In this example, the result when an abnormality occurs in the top seal shaft (TopSeal) is shown as an example.

[0236] By examining the control cause-effect model, it can be estimated that factors exist in, for example, the film feed sub-axis (FilmFeedSub) and the workpiece detection sensor (ProductDetectionSensorSignal) as factors of the abnormality.

[0237] In addition, it can be estimated that the film feed sub-axis (FilmFeedSub) having a large coefficient is likely to be a factor.

[0238] Furthermore, it can be confirmed that the sign of the coefficient is positive.

[0239] Therefore, as one of the measures to eliminate the abnormality, the possibility of eliminating the abnormality can be estimated by reducing the torque of the film feed sub-shaft (FilmFeedSub).

[0240] Since the coefficient of the workpiece detection sensor (ProductDetectionSensorSignal) is small, it can be estimated that the possibility of it becoming a factor is low.

[0241] Thereby, it is possible to easily perform estimation of the factor of abnormality, and also to estimate how it is desirable to adjust the factor.

[0242] Fig.23 It is a diagram illustrating the excluded variables of the embodiment.

[0243] Reference Fig.23 , shows a case where a conveyor axis (ProductFeed) is registered as an excluded variable. An excluded variable is a variable whose parameters are not easily adjusted.

[0244] It is assumed that the exclusion variable is registered in the storage unit 12 in advance.

[0245] Fig.24 This is another diagram for explaining the estimation of the abnormality cause in the estimation unit 119 according to the embodiment.

[0246] Reference Fig.24 In this example, the estimation result screen 300A estimated by the estimation unit 119 and output to the display unit 122 is shown. Fig. 22 Compared to the estimation result screen 300 described in , the display of the node corresponding to the conveyor axis (ProductFeed) is different.

[0247] Specifically, the estimation unit 119 obtains information related to the excluded variables registered in the storage unit 12 and performs processing combined with the causal model. In this example, a black circle is displayed to indicate that it is an excluded variable. This display makes it easy to confirm the correlation of the nodes in the control causal model, making it easy to estimate the cause of the abnormality.

[0248] In the above description, an abnormality is detected based on the case where the score value exceeds the threshold value TH1 at time T1 of the score data 310. In addition, a case where a proxy model is calculated based on data in the vicinity of the detected abnormality is described.

[0249] The time T1 may be set to allow the user to specify any time. For example, a user may specify any time using a pointing device to obtain a score value at the specified time. The user may extract data at the time as described above based on the obtained score value, and calculate a proxy model based on data near the extracted data. Furthermore, the user may extract the variables with the first and second highest coefficients, and display an estimate of the selected causal model in the same manner as described above.

[0250] Fig.25 This is another flowchart for explaining the calculation of the proxy model according to the embodiment.

[0251] Reference Fig.25 The agent model calculation unit 118 determines whether the input of time selection is accepted (step S30).

[0252] Next, the proxy model calculation unit 118 executes a parameter setting process (step S32 ). The parameter setting process sets parameters for calculating the proxy model based on the local degree (kernel width) and the regularization coefficient α set by the parameter changing tool 303 .

[0253] Next, the proxy model calculation unit 118 extracts the nearby state data corresponding to the state data at the selected time (step S34). As an example, in this example, the LIME (Local Interpretable Model-agnostic Explainations) algorithm and the exponential smoothing kernel are used to extract the nearby state data.

[0254] In addition, nearby status data may also be extracted in other ways.

[0255] Next, the proxy model calculation unit 118 calculates the proxy model (step S36). As an example, the proxy model is calculated by logistic regression as described above.

[0256] Then, the processing ends (END).

[0257] Through this process, a proxy model can be calculated at any time and its correlation with the causal model can be analyzed.

[0258] In this example, a case is described where a surrogate model is calculated and combined with a causal model to estimate the cause of an abnormality. However, the cause of an abnormality may be estimated based on at least the surrogate model without combining with the causal model.

[0259] For example, the cause of the abnormality can also be estimated based on the proxy model construction information 302 and the proxy model description information 304 .

[0260] The embodiments of the present invention have been described, but the embodiments disclosed this time should be considered to be illustrative in all aspects and not restrictive. The scope of the present invention is represented by the technical solutions of the present invention, and is intended to include all modifications within the meaning and scope equivalent to the technical solutions of the present invention.

Claims

1. An information processing device, wherein: The information processing device has: an acquisition unit that acquires status data of each of a plurality of mechanisms in a process performed on a production line; an abnormality detection unit that detects abnormality based on the status data acquired by the acquisition unit; an agent model calculation unit that calculates an agent model based on the state data when the abnormality is detected; and An estimation unit estimates a cause of the abnormality based on the calculated proxy model.

2. The information processing device according to claim 1, wherein: The information processing device further includes a causal model generating unit, which generates a causal model between variables based on the relationship between the plurality of mechanisms, the dependency relationship between a plurality of event phenomena associated with the plurality of mechanisms, or the control relationship between the plurality of mechanisms. The estimation unit estimates a cause of an abnormality based on the calculated proxy model and the causal model.

3. The information processing device according to claim 2, wherein: The information processing device further includes a transmission unit that transmits screen data that displays the estimation result of the estimation unit.

4. The information processing device according to claim 3, wherein: The transmitting unit transmits screen data that displays coefficients corresponding to the calculated variables of the proxy model and the causal model.

5. The information processing device according to claim 4, wherein: The transmitting unit transmits screen data displaying edges indicating causal relationships between variables of the causal model adjusted based on coefficients corresponding to the calculated variables of the proxy model.

6. The information processing device according to claim 3, wherein: The variables of the causal model include a first variable that can be handled and a second variable that cannot be handled. The transmitting unit transmits screen data for displaying the first variable and the second variable in a differentiated manner.

7. The information processing device according to claim 1, wherein: The proxy model calculation unit calculates the proxy model through logistic regression using state data of the vicinity of the abnormality when the abnormality is detected.

8. The information processing device according to claim 1, wherein: The abnormality detection unit calculates an abnormality score that changes over time based on the status data. The proxy model calculation unit calculates a proxy model using state data in the vicinity of the abnormality when the calculated abnormality score is equal to or greater than a predetermined value.

9. The information processing device according to claim 3, wherein: The abnormality detection unit calculates an abnormality score that changes over time based on the status data. The transmitting unit transmits screen data showing changes in the calculated abnormality score with respect to time over time, The information processing device further comprises a time receiving unit which receives a selection input of the time. The proxy model calculation unit calculates a proxy model using state data in the vicinity of state data corresponding to the time received by the time receiving unit.

10. The information processing device according to claim 1, wherein: The information processing device further includes an adjustment unit that adjusts parameters of the proxy model.

11. An information processing method, wherein: The information processing method has the following steps: Acquiring status data of each of a plurality of mechanisms in a process performed on a production line; Detect anomalies based on the acquired status data; Calculating a proxy model based on the state data when the anomaly is detected; and Estimate the cause of the anomaly based on the calculated surrogate model.

12. A non-transitory storage medium encoded with a computer-readable information processing program, wherein: The computer executes the following steps by reading the information processing program: Acquiring status data of each of a plurality of mechanisms in a process performed on a production line; Detect anomalies based on the acquired status data; Calculating a proxy model based on the state data when the anomaly is detected; and Estimate the cause of the anomaly based on the calculated surrogate model.