Control system and control method

By generating feature data and scores, and selecting appropriate pattern data for data compression and recovery, the problem of low original data storage efficiency in abnormality monitoring processing in the existing technology is solved, and more efficient data recovery and resource utilization are achieved.

CN112639844BActive Publication Date: 2024-09-03OMRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980057521.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-23
Filing Date
2019-10-09
Publication Date
2024-09-03
Estimated Expiration
2039-10-09

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively compress and save original data during abnormal monitoring processing, resulting in a waste of resources and low processing efficiency.

Method used

By generating feature data and scores, selecting appropriate pattern data for data compression and recovery, and using feature data and scores to compress and recover data sets, the need for storage areas is reduced and the reproducibility of data recovery is improved.

Benefits of technology

In addition to abnormal monitoring and processing, it can also save original data more effectively, reduce resource requirements, and improve the efficiency and reproducibility of data recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112639844B_ABST
    Figure CN112639844B_ABST
Patent Text Reader

Abstract

The present invention relates to a control system and a control method. The control system includes: a generation unit that generates a data set corresponding to each unit interval; a feature extraction unit that generates feature quantity data based on the data set; and a score calculation unit that refers to learning data and calculates a score indicating the degree of deviation of the feature quantity data relative to the learning data. The feature quantity data and the score are output as a compression result of the data set. The control system includes a restoration unit that selects pattern data corresponding to a category determined based on the score included in the compression result, and uses the feature quantity data included in the compression result to make adjustments, thereby restoring the time change of the data set corresponding to the compression result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control system and a control method capable of storing time changes of input values. Background Art

[0002] In various production sites, there is a need to detect abnormalities occurring in machines or devices at an early stage to improve the equipment operating rate. As a typical abnormality monitoring method, data is collected from machines or devices, and it is determined whether some abnormality has occurred based on the collected data.

[0003] On the other hand, even if it is determined that some abnormality has occurred, sometimes no abnormality has actually occurred. Therefore, in addition to the monitoring results, it is often required to save the data collected from the machine or device (hereinafter also referred to as "raw data"). By performing a post-analysis on such saved raw data, it can be used for tuning the algorithm or threshold of abnormality monitoring.

[0004] Generally speaking, long-term storage of raw data requires a large amount of storage area, and therefore there is a demand to reduce the storage area as much as possible.

[0005] For example, Japanese Patent Laid-Open No. 05-089009 (Patent Document 1) discloses a network controller for transmitting and receiving compressed data. The network controller disclosed in Patent Document 1 adopts the following structure: a register is provided with data for setting whether data compression is to be performed, and when transmitting, the content set in the register is referred to, thereby outputting the original data or the data via the compression circuit to the transceiver, and when receiving, the content of the data received via the receiver is interpreted by the decision logic, and the data is imported into the inside as the original data or via the recovery circuit.

[0006] Furthermore, International Publication No. 2016 / 068895 (Patent Document 2) discloses a method of compressing original data by selecting a compression algorithm and adjusting parameters based on contextual knowledge.

[0007] Prior art literature

[0008] Patent Literature

[0009] Patent Document 1: Japanese Patent Laid-Open No. 05-089009

[0010] Patent Document 2: International Publication No. 2016 / 068895 Summary of the invention

[0011] Problems to be solved by the invention

[0012] Generally, resources must be allocated for the abnormality monitoring process itself, and it may not be possible to additionally perform the data compression process disclosed in Patent Documents 1 and 2. Therefore, a structure that can save raw data more efficiently in addition to the abnormality monitoring process is desired.

[0013] Technical means of solving problems

[0014] A control system according to an example of the present invention includes: a generating unit that generates a data set including time changes of one or more input values ​​corresponding to each unit interval; a feature extraction unit that generates feature quantity data based on the data set; and a score calculation unit that refers to learning data including feature quantity data labeled with a specific category and calculates a score indicating the degree of deviation of the feature quantity data from the learning data. The feature quantity data and the score are output as a compression result of the data set. The control system includes a restoration unit that refers to pattern data of each category prepared in advance, selects pattern data corresponding to a category determined according to the score included in the compression result, and uses the feature quantity data included in the compression result to make adjustments, thereby restoring the time changes of the data set corresponding to the compression result.

[0015] According to this structure, the control system outputs the characteristic quantity data and the score also used for abnormality monitoring as the compression result of the data set, thereby significantly reducing the required storage area compared with the case of directly storing the data set containing the time change of one or more input values. In addition, the pattern data corresponding to the category determined according to the score contained in the compression result is selected, and the characteristic quantity data contained in the compression result is used for adjustment, so as to restore the time change of the data set corresponding to the compression result, thereby simplifying the data recovery process.

[0016] In the above configuration, a plurality of the compression results may be outputted continuously, and the restoration unit may restore the time change of the data set continuously based on the respective compression results.

[0017] According to this configuration, even a time change over a plurality of unit sections can be appropriately compressed and restored.

[0018] In the above configuration, the feature data may include an average value and a standard deviation of a data set, and the restoration unit may perform denormalization on corresponding pattern data based on the average value and the standard deviation of the data set, thereby restoring the temporal variation of the data set.

[0019] According to this configuration, by using the average value and the standard deviation, data restoration with high reproducibility can be achieved.

[0020] In the above structure, the control system further includes a sampling unit that extracts a time variation of a data set corresponding to the compression result when a score included in the compression result exceeds a predetermined value.

[0021] According to this configuration, even when a time change different from the pattern data prepared in advance for each category occurs, the reproduction performance of the restored time change can be improved by adding new pattern data.

[0022] In the above configuration, when the degree of deviation of the time variation of the extracted data set from the pre-prepared pattern data exceeds a predetermined value, the sampling unit adds the time variation of the extracted data set as the pattern data to be referred to by the restoration unit.

[0023] According to this configuration, only pattern data different from previously prepared pattern data among pattern data extracted by the sampling unit is newly added, so that the storage area and processing efficiency can be improved.

[0024] In the above configuration, in addition to the feature data and the score, the pattern data added by the sampling unit is output as the compression result.

[0025] According to this configuration, even when a time change different from the pattern data prepared in advance occurs, the restored portion can refer to the added pattern data, thereby improving reproducibility.

[0026] In the above configuration, the restoration unit restores the time variation of the data set by referring to the pattern data added by the sampling unit in addition to the pattern data prepared in advance.

[0027] According to this configuration, the restoration unit refers to pattern data added by the sampling unit in addition to the pattern data prepared in advance, so that reproducibility can be improved.

[0028] In the above structure, the control system further includes: a determination unit that determines whether an abnormality occurs in a monitoring object associated with one or more input values ​​based on the score.

[0029] According to this configuration, in addition to the processing of saving and restoring a data set including a temporal change of one or more input values, it is possible to monitor the presence or absence of abnormality in the monitoring object using the same information.

[0030] The structure includes: a control device for controlling a control object; and an external device capable of communicating with the control device. Alternatively, the generation unit, the feature extraction unit, and the score calculation unit are configured in the control device, and the restoration unit is configured in the external device.

[0031] According to this configuration, the control device can execute a process of saving a data set including a temporal change of one or more input values, and restore the saved data set in the external device.

[0032] According to another example of the present invention, a control method is provided, which is executed in a control system including a control device for controlling a control object. The control method includes the following steps: generating a data set including time changes of one or more input values ​​corresponding to each unit interval; generating feature data based on the data set; and referring to learning data including feature data marked with a specific category, calculating a score indicating the degree of deviation of the feature data relative to the learning data. The feature data and the score are output as a compression result of the data set. And the control method includes the following steps: referring to the pattern data of each category prepared in advance, selecting the pattern data corresponding to the category determined according to the score contained in the compression result, and adjusting using the feature data contained in the compression result to restore the time change of the data set corresponding to the compression result.

[0033] According to this structure, the control system outputs the characteristic quantity data and the score also used for abnormality monitoring as the compression result of the data set, thereby significantly reducing the required storage area compared with the case of directly storing the data set containing the time change of one or more input values. In addition, the pattern data corresponding to the category determined according to the score contained in the compression result is selected, and the characteristic quantity data contained in the compression result is used for adjustment, so as to restore the time change of the data set corresponding to the compression result, thereby simplifying the data recovery process.

[0034] Effects of the Invention

[0035] According to the present invention, it is possible to realize a structure that can realize storage of raw data more efficiently in addition to abnormality monitoring processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram showing an example of the overall configuration of the abnormality monitoring system according to the present embodiment.

[0037] Figure 2 This is a functional block diagram for realizing the abnormality monitoring process in the abnormality monitoring system according to the present embodiment.

[0038] Figure 3 It is a schematic diagram showing a processing flow related to compression and restoration of raw data in the abnormality monitoring system according to the present embodiment.

[0039] Figure 4 It means Figure 3Schematic diagram of an example of the processing content of the processing related to the compression and restoration of the original data shown.

[0040] Figure 5 This is a block diagram showing a hardware configuration example of a control device constituting the abnormality monitoring system according to the present embodiment.

[0041] Figure 6 This is a block diagram showing a hardware configuration example of a support device constituting the abnormality monitoring system according to the present embodiment.

[0042] Figure 7 1 is a schematic diagram showing a processing flow that enables dynamic management of pattern data related to compression and restoration of raw data in the abnormality monitoring system according to the present embodiment.

[0043] Figure 8 This is a diagram for explaining the compression process of the raw data in the normal state in the abnormality monitoring system according to the present embodiment.

[0044] Fig. 9 This is a diagram for explaining the restoration process of the raw data in the normal state in the abnormality monitoring system according to the present embodiment.

[0045] Fig.10 This is a diagram for explaining the compression process of raw data at the time of abnormality in the abnormality monitoring system according to the present embodiment.

[0046] Fig.11 This is a diagram for explaining the restoration process of raw data at the time of abnormality in the abnormality monitoring system according to the present embodiment.

[0047] Fig.12 It is a schematic diagram showing a display example that displays only the monitoring results in the abnormality monitoring process according to the present embodiment.

[0048] Fig.13 1 is a schematic diagram showing a display example of restored raw data in the abnormality monitoring process according to the present embodiment.

[0049] Fig.14 This is a flowchart showing the processing flow of the compression processing of the raw data using the abnormality monitoring processing according to the present embodiment.

[0050] Fig.15 This is a flowchart showing the processing flow of the restoration process of the raw data using the abnormality monitoring process according to the present embodiment.

[0051] Fig.16 It is a schematic diagram showing an overall configuration example of an abnormality monitoring system according to a modified example of the present embodiment.

[0052] Fig.17It is a schematic diagram showing an overall configuration example of an abnormality monitoring system according to another modified example of the present embodiment.

[0053] [Explanation of Symbols]

[0054] 1: Abnormal monitoring system

[0055] 2: First Fieldbus

[0056] 4: Second fieldbus

[0057] 6: Local Area Network

[0058] 10: On-site device group

[0059] 12: Remote I / O device

[0060] 14: Relay group

[0061] 16, 124: I / O unit

[0062] 18: Image Sensor

[0063] 20: Camera

[0064] 22: Servo drive

[0065] 24: Servo motor

[0066] 50: Data compression phase

[0067] 60: Data recovery phase

[0068] 100: Control device

[0069] 102, 202: Processor

[0070] 104: Chipset

[0071] 106, 206: Main storage device

[0072] 108, 208: Secondary storage device

[0073] 110, 214: LAN controller

[0074] 112, 212: USB controller

[0075] 114: Memory card interface

[0076] 116: Memory Card

[0077] 118, 120: Fieldbus controller

[0078] 122: Internal bus controller

[0079] 126: System Program

[0080] 128: User program

[0081] 130, 131: Learning Data

[0082] 140: Internal DB

[0083] 150: Anomaly Monitoring Engine

[0084] 152: Dataset Generation Department

[0085] 154: Feature extraction unit

[0086] 156: Score Calculation Department

[0087] 158: Category determination department

[0088] 160, 170: Raw data

[0089] 162, 192: Compression results

[0090] 164: Score

[0091] 166: Feature data

[0092] 168: Pattern data

[0093] 169: Add pattern data

[0094] 180: Pattern setter

[0095] 182: Pattern Data Sampler

[0096] 190: Data Compression Department

[0097] 200: Support device

[0098] 204: Drive

[0099] 205: Storage Media

[0100] 216: Input

[0101] 218: Display

[0102] 220: Bus

[0103] 240: Data Recovery

[0104] 250: Data Mining Tools

[0105] 260: Data Recovery Tools

[0106] 300: Upper server

[0107] 400: HMI

[0108] 1661: First feature quantity data

[0109] 1662: Second feature quantity data DETAILED DESCRIPTION

[0110] The embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the same or corresponding parts in the drawings are denoted by the same reference numerals and their description will not be repeated.

[0111] <A. Application examples>

[0112] First, an example of a scenario to which the present invention is applicable will be described.

[0113] An example of a functional configuration of a control system capable of executing the abnormality monitoring process according to the present embodiment will be described. In the following description, the focus will be mainly on the abnormality monitoring process of the control system, and therefore the entire control system will also be referred to as an "abnormality monitoring system."

[0114] First, an overall configuration example of the abnormality monitoring system 1 according to the present embodiment will be described.

[0115] Figure 1 Schematic diagram showing an overall configuration example of an abnormality monitoring system 1 according to the present embodiment. Figure 1 The abnormality monitoring system 1 includes a control device 100 for controlling a control object and a support device 200 connectable to the control device 100 as main components. The abnormality monitoring system 1 also includes a host server 300 and a display device (Human Machine Interface (HMI), hereinafter also referred to as "HMI") 400 as optional structures.

[0116] The control device 100 generates a determination result indicating whether a monitoring object included in the control object has some abnormality. The control device 100 can also be embodied as a computer such as a programmable logic controller (PLC) (programmable controller).

[0117] More specifically, the control device 100 is connected to the field device group 10 via the first field bus 2 and to one or more HMIs 400 via the second field bus 4. Furthermore, the control device 100 is connected to the host server 300 via the local area network 6. The control device 100 exchanges data with the connected devices via each network.

[0118] The control device 100 has a control operation execution engine that executes various operations for controlling equipment or machinery. In addition to the control operation execution engine, the control device 100 also has an acquisition function, that is, acquiring data (hereinafter also referred to as "input data") acquired in the field device group 10 and forwarded to the control device 100. In addition, the control device 100 also has an abnormality monitoring function, that is, based on the acquired input data, etc., to monitor the presence or absence of abnormalities in the control object. By installing these functions in the control device 100, abnormalities generated in the control object can be monitored in a shorter period.

[0119] Regarding the abnormality monitoring function, the abnormality monitoring engine 150 installed in the control device 100 provides the monitoring function, and the internal database (database) (hereinafter also referred to as "internal DB") 140 installed in the control device 100 provides the storage function of various data. The internal DB 140 and the abnormality monitoring engine 150 will be described in detail later.

[0120] It is preferable to use a network that performs fixed-cycle communication and guarantees data arrival time as the first field bus 2 and the second field bus 4. As such a network that performs fixed-cycle communication, EtherCAT (registered trademark) and the like are known.

[0121] The field device group 10 includes a device for collecting the state value of the control object, or the manufacturing device or production line associated with the control (hereinafter also collectively referred to as the "field") as input data. As such a device for acquiring the state value, an input relay or various sensors are envisioned. The field device group 10 also includes a device for giving certain effects to the field based on the command value generated by the control device 100 (hereinafter also referred to as "output data"). As such a device for giving certain effects to the field, an output relay, a contactor, a servo drive and a servo motor, and any other actuator are envisioned. These field device groups 10 exchange data including input data and output data with the control device 100 via the first field bus 2.

[0122] Figure 1 In the illustrated configuration example, the field device group 10 includes a remote input / output (I / O) device 12 , a relay group 14 , an image sensor 18 , a camera 20 , a servo driver 22 , and a servo motor 24 .

[0123] The remote I / O device 12 includes a communication unit for communicating via the first field bus 2, and an input / output unit (hereinafter also referred to as an "I / O unit") for acquiring input data and outputting output data. Input data and output data are exchanged between the control device 100 and the field via such an I / O unit. Figure 12 shows an example in which digital signals serving as input data and output data are exchanged via the relay group 14 .

[0124] I / O units can also be connected directly to the fieldbus. Figure 1 An example is shown in which the I / O unit 16 is directly connected to the first field bus 2 .

[0125] The image sensor 18 performs image measurement processing such as pattern matching on the image data captured by the camera 20 , and transmits the processing result to the control device 100 .

[0126] The servo driver 22 drives the servo motor 24 based on output data (eg, position command, etc.) from the control device 100 .

[0127] As described above, data is exchanged between the control device 100 and the field device group 10 via the first field bus 2. The exchanged data is updated in an extremely short cycle of hundreds of microseconds to tens of milliseconds. This process of updating the exchanged data is also called I / O refresh processing.

[0128] The support device 200 is a device that supports the control device 100 in the preparation required for controlling the control object. Specifically, the support device 200 provides the following functions, namely, a development environment (program creation and editing tool, analyzer, compiler, etc.) for the program executed by the control device 100, a setting environment for setting parameters (configuration) of the control device 100 and various devices connected to the control device 100, a function of sending the generated user program to the control device 100, and a function of correcting / changing the user program executed on the control device 100 online. Furthermore, the support device 200 also provides a function of setting parameters and learning data, and the parameters define the abnormality monitoring process performed by the abnormality monitoring engine 150 installed in the control device 100.

[0129] The upper server 300 is connected to the control device 100 via the local area network 6, and exchanges necessary data with the control device 100. The upper server 300 has, for example, a database function, and collects data stored in the internal DB 140 of the control device 100 periodically or according to events. In the local area network 6, a general-purpose protocol such as Ethernet (registered trademark) may also be implemented.

[0130] The HMI 400 is connected to the control device 100 via the second field bus 4 , receives operations from a user, sends commands corresponding to the user operations to the control device 100 , and graphically displays processing results in the control device 100 .

[0131] Next, the abnormality monitoring process according to the present embodiment will be described.

[0132] Figure 2 2 is a functional block diagram for realizing the abnormality monitoring process in the abnormality monitoring system 1 according to the present embodiment. Figure 2 The abnormality monitoring engine 150 of the control device 100 obtains one or more input values ​​(input value 1, input value 2, ..., input value n) from the control object, generates feature quantities, etc., thereby outputting monitoring results including whether an abnormality has occurred.

[0133] In this embodiment, the concept of "frame" is introduced as a unit interval for determining whether a monitored object contained in a control object has some abnormality. A frame refers to a unit interval for determining whether a monitored object has some abnormality. Therefore, the determination of whether a monitored object has some abnormality is performed for each frame.

[0134] More specifically, the anomaly monitoring engine 150 includes a data set generating unit 152 , a feature extracting unit 154 , a score calculating unit 156 , and a category determining unit 158 ​​as main functional structures.

[0135] The data set generation unit 152 corresponds to a generation unit, and generates a data set including time changes of one or more input values ​​(input value 1, input value 2, . . . , input value n) for each frame from the control object based on the frame information.

[0136] The feature extraction unit 154 generates feature data including one or more feature quantities (feature quantity 1, feature quantity 2, ..., feature quantity m) through predetermined processing based on the data set generated by the data set generation unit 152. As the feature quantity, for example, the average value, maximum value, median value, minimum value, standard deviation, etc. within the frame can be used.

[0137] The score calculation unit 156 refers to the pre-prepared learning data 130 and calculates a value (hereinafter also referred to as a "score") indicating the degree of deviation of the feature quantity data (one or more feature quantities) generated by the feature extraction unit 154 from the learning data 130. Here, the learning data 130 includes feature quantity data marked with a specific category (e.g., normal or abnormal). Typically, the learning data 130 includes feature quantity data when normal, and in this case, the score refers to a value indicating the possibility that some abnormality has occurred in the monitored object.

[0138] As an example of an abnormality monitoring algorithm in the abnormality monitoring engine 150, the following method is adopted: based on the degree of deviation of the feature quantity data from the normal value group in the hyperspace, a score corresponding to the feature quantity data is calculated. In this case, the learning data 130 represents the normal value group in the hyperspace, which is equivalent to a "model" representing the monitoring object.

[0139] As such anomaly monitoring methods based on the degree of deviation, there are known methods such as: a method for detecting anomalies based on the shortest distance from each point to a normal value group (k-nearest neighbor method), a local outlier factor (LoF) method that includes a cluster containing a normal value group to evaluate the distance, and an isolation forest (iForest) method that uses a score calculated based on the path length.

[0140] When adopting an abnormality monitoring method based on the degree of deviation, the learning data 130 will include a group of feature quantities obtained under normal circumstances, and the abnormality monitoring engine 150 will calculate a score based on the degree of deviation of the object feature quantity relative to the group of feature quantities contained in the learning data 130. The score is a value representing the possibility of certain abnormalities occurring in the monitored object.

[0141] The category determination unit 158 ​​compares the score calculated by the score calculation unit 156 with a predetermined threshold value to determine whether the calculated score belongs to any category. In the abnormality monitoring process, typically, based on whether the calculated score is within the range specified by the threshold value, it is determined whether to classify into a category in which some abnormality does not occur in the monitored object or a category in which some abnormality occurs in the monitored object. This determined category is output as a determination result.

[0142] That is, the category determination unit 158 ​​operates as a determination unit that determines whether an abnormality has occurred in a monitoring object associated with one or more input values ​​based on the score.

[0143] The monitoring result of the abnormality monitoring process according to the present embodiment may include a score calculated by the score calculation unit 156 in addition to the determination result indicating whether an abnormality has occurred in the monitoring object.

[0144] The abnormality monitoring process according to this embodiment is realized by the functional structure as described above.

[0145] Next, a description will be given of a process related to compression and restoration of raw data using the abnormality monitoring process according to the present embodiment.

[0146] In this embodiment, the original data is irreversibly compressed to a large extent by utilizing the calculation results obtained by the abnormality monitoring engine 150. Furthermore, the compressed original data can be restored through a specific operation process, and by using the restored original data, various analyses can be performed when it is determined that some abnormality has occurred.

[0147] Figure 3Schematic diagram showing the process flow related to compression and restoration of raw data in the abnormality monitoring system 1 according to the present embodiment. Figure 3 The process related to the compression and restoration of the original data in the abnormality monitoring system 1 according to this embodiment includes a data compression phase 50 and a data restoration phase 60 .

[0148] The control device 100 has an abnormality monitoring engine 150 (a data set generation unit 152, a feature extraction unit 154, a score calculation unit 156, and a category determination unit 158). In the data compression stage 50, the control device 100 outputs a compression result for the raw data input corresponding to each data set interval (frame). The abnormality monitoring engine 150 also performs compression processing, and uses the compression result 162 equivalent to the monitoring result of the abnormality monitoring engine 150 obtained through feature extraction and abnormality monitoring to generate a compression result of the raw data.

[0149] The compression result 162 of the data set (raw data 160) by the abnormality monitoring engine 150 includes, for example, a score 164, which is a value indicating the possibility that some abnormality has occurred in the monitored object, and feature data 166, such as an average value or a standard deviation of the object frame. That is, the feature data 166 and the score 164 are output as the compression result 162 of the data set.

[0150] On the other hand, the upper server 300 as an example of an external device has a data restorer 240. In the data restoration stage 60, the compression result 162 from the abnormality monitoring engine 150 is restored to the original data 170 using the data restorer 240. The restoration to the original data 170 by the data restorer 240 refers to the pattern data 168. The pattern data 168 is a waveform equivalent to a frame of the original data, and a plurality of types are prepared in advance.

[0151] The data restorer 240 selects corresponding pattern data in the pattern data 168 in sequence to combine based on the compression result 162 from the anomaly monitoring engine 150, thereby restoring the original data 170. In this way, the data restorer 240 uses the compression result 162 obtained by the anomaly monitoring engine 150 and the pattern data 168 for restoration.

[0152] In the abnormality monitoring system 1 according to the present embodiment, the original data can be compressed and restored using the compression result 162 which is also the monitoring result generated by the abnormality monitoring process, so both the abnormality monitoring process and the storage of the original data can be efficiently realized.

[0153] Figure 4 It means Figure 3The schematic diagram of an example of the processing contents of the processing related to the compression and restoration of the original data shown. Figure 4 The raw data 160 shown. The data capacity that can fully express the waveform of the raw data 160 is set to 100%. The abnormality monitoring engine 150, which also functions as a data compressor, calculates feature data 166 from the raw data 160, and calculates a score 164 based on the calculated feature data 166. As an example, the feature data 166 includes first feature data 1661 indicating an average value in each frame and second feature data 1662 indicating a standard deviation of each frame.

[0154] Furthermore, the anomaly monitoring engine 150 determines which category the score 164 calculated for each frame belongs to. In this example, it is a classification problem with two categories (category A and category B). Typically, category A corresponds to a state where some anomalies have occurred in the monitored object, and category B corresponds to a state where some anomalies have not occurred in the monitored object.

[0155] The pattern data 168 is prepared in advance corresponding to each category. Figure 4 In the example shown, waveforms of frames belonging to category A and waveforms of frames belonging to category B are included.

[0156] In this way, the information obtained by compressing the original data 160 includes feature data 166 (first feature data 1661 and second feature data 1662 ), score 164 , and pattern data 168 .

[0157] On the other hand, the data restorer 240 restores the compression result of the raw data 160 to the original time waveform based on the waveform of each frame belonging to each classified category included in the pattern data 168 (temporal change of the raw data). Figure 4 In the illustrated example, according to the classification of each frame included in the score 164 , either the waveform of the frame belonging to category A or the waveform of the frame belonging to category B is selectively applied to restore the original data 170 .

[0158] like Figure 4 As shown, a plurality of compression results regarding the original data 160 are continuously output, and the data restorer 240 continuously restores the time variation of the data set (the original data 160) according to each compression result.

[0159] For example, if a manufacturing device is assumed to be a monitoring target, since the manufacturing device is in a stable operating state, the same pattern waveform is repeated in a normal state, while a different pattern waveform appears in an abnormal state.

[0160] An example of the effect of data compression in the abnormality monitoring system 1 according to the present embodiment can be estimated as follows.

[0161] For example, assuming that the I / O refresh processing is performed with a 250μs cycle (sampling frequency 4kHz), if the input data for abnormal monitoring processing is set to 10 variables (each two bytes), the amount of data that must be saved is 4kHz×10 variables×two bytes=80k bytes / sec.

[0162] Furthermore, if the frame length of the abnormality monitoring process is set to 100msec (the length of one data set: monitoring frequency 10Hz), and the calculated feature quantity is set to two types (two bytes each) of the average value and the standard deviation for each variable, the data volume of the generated feature quantity is 10Hz×10 variables×2 types×bytes=40 bytes / sec. That is, it can be compressed to about 0.5% of the original data 160. Moreover, for the score 164, it can also be compressed to about 0.25% of the original data 160 by the same calculation. Moreover, it can be estimated that the waveforms belonging to each category contained in the pattern data 168 are about 8% of the total data capacity of the original data 160.

[0163] Taking these compression ratios into consideration, by using the anomaly monitoring engine 150 , the original data 160 can be compressed to approximately 8% and stored.

[0164] As described above, in the abnormality monitoring system 1 according to the present embodiment, the raw data 160 can be significantly compressed by utilizing the processing such as feature extraction, score calculation, and category determination in the abnormality monitoring engine 150 .

[0165] <B. Hardware configuration example of each device>

[0166] Next, a hardware configuration example of main devices constituting the abnormality monitoring system 1 according to the present embodiment will be described.

[0167] (b1: Hardware Configuration Example of Control Device 100)

[0168] Figure 5 1 is a block diagram showing a hardware configuration example of the control device 100 constituting the abnormality monitoring system 1 according to the present embodiment. Figure 5The control device 100 includes a processor 102 such as a central processing unit (CPU) or a microprocessor (MPU), a chipset 104, a main storage device 106, a secondary storage device 108, a local area network controller 110, a universal serial bus (USB) controller 112, a memory card interface 114, an internal bus controller 122, a field bus controller 118, a field bus controller 120, and I / O units 124-1, 124-2, ...

[0169] The processor 102 reads various programs stored in the secondary storage device 108, expands them in the main storage device 106 and executes them, thereby realizing control corresponding to the control object and various processes described below. The chipset 104 controls each component together with the processor 102, thereby realizing the processing of the control device 100 as a whole.

[0170] In the secondary storage device 108, in addition to the system program 126 (equivalent to the control program) for realizing the functions provided by the control device 100, user programs executed using the execution environment provided by the system program 126 are stored. The system program 126 also stores the internal DB 140 and a program for realizing the abnormality monitoring engine 150.

[0171] The LAN controller 110 controls data exchange with other devices via the LAN 6. The USB controller 112 controls data exchange with the support device 200 via a USB connection.

[0172] The memory card interface 114 is configured to allow the memory card 116 to be removably loaded and unloaded, and is capable of writing data to the memory card 116 and reading various data (such as a user program and trace data) from the memory card 116 .

[0173] The internal bus controller 122 is an interface for exchanging data between the I / O units 124 - 1 , 124 - 2 , . . . mounted on the control device 100 .

[0174] The fieldbus controller 118 controls data exchange with other devices via the first fieldbus 2 . Similarly, the fieldbus controller 120 controls data exchange with other devices via the second fieldbus 4 .

[0175] Figure 5, shows a structural example in which the required functions are provided by executing a program by the processor 102, but part or all of these provided functions can also be implemented using a dedicated hardware circuit (such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA), etc.). Alternatively, the main part of the control device 100 can also be implemented using hardware that follows a general architecture (such as an industrial personal computer based on a general-purpose personal computer). In this case, virtual technology can also be used to execute multiple operating systems (OS) with different purposes in parallel, and execute the required applications on each OS.

[0176] (b2: Hardware Configuration Example of Support Device 200)

[0177] Next, as an example, the support device 200 according to the present embodiment is implemented by executing a program using hardware (for example, a general-purpose personal computer) conforming to a general-purpose architecture.

[0178] Figure 6 2 is a block diagram showing an example of the hardware configuration of the support device 200 constituting the abnormality monitoring system 1 according to the present embodiment. Figure 6 The support device 200 includes a processor 202 such as a CPU or an MPU, a driver 204 , a primary storage device 206 , a secondary storage device 208 , a USB controller 212 , a LAN controller 214 , an input unit 216 , and a display unit 218 . These components are connected via a bus 220 .

[0179] The processor 202 reads out various programs stored in the secondary storage device 208 , expands and executes the programs in the main storage device 206 , thereby realizing various processes described below.

[0180] The secondary storage device 208 includes, for example, a hard disk drive (HDD) or a solid state drive (SSD). Typically, the secondary storage device 208 stores various programs including a development program (not shown), a data mining tool 250, and a data recovery tool 260. The development program is used to create a user program executed in the support device 200, debug the created program, define the system structure, set various parameters, etc. The secondary storage device 208 may also store an OS and other necessary programs.

[0181] The drive 204 can write data to the storage medium 205 and read various data (user programs, trace data, time series data, etc.) from the storage medium 205. The storage medium 205 includes, for example, a storage medium 205 (for example, an optical storage medium such as a digital versatile disc (DVD)) that stores a computer-readable program in a non-disposable manner. The program or data stored therein is read from the memory card 116 or the storage medium 205 and installed in the internal storage area of ​​the secondary storage device 208 or the like.

[0182] Various programs executed by the support device 200 may be installed via the computer-readable memory card 116 or the storage medium 205, or may be installed by downloading from a server device on the network, etc. In addition, the functions provided by the support device 200 according to the present embodiment may also be implemented in the form of a part of a module provided by the OS.

[0183] The USB controller 212 controls data exchange with the control device 100 via the USB connection. The LAN controller 214 controls data exchange with other devices via an arbitrary network.

[0184] The input unit 216 includes a keyboard, a mouse, etc., and receives user operations. The display unit 218 includes a display, various indicators, etc., and outputs processing results from the processor 202. A printer may be connected to the support device 200.

[0185] Figure 6 2 shows a configuration example in which the processor 202 executes a program to provide the required functions, but part or all of the provided functions may be implemented using a dedicated hardware circuit (eg, ASIC or FPGA).

[0186] (b3: Hardware Configuration Example of Host Server 300)

[0187] As an example, the host server 300 according to this embodiment is implemented by executing a program using hardware (such as a general-purpose server) that complies with a general-purpose architecture. Figure 6 The hardware structure of the supporting device 200 shown is the same, so the detailed description will not be repeated.

[0188] (b4: Example of hardware configuration of HMI 400)

[0189] As an example, the HMI 400 according to the present embodiment is implemented by executing a program using hardware that complies with a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer). Figure 6The hardware structure of the supporting device 200 shown is the same, so the detailed description will not be repeated.

[0190] <C. Data compression and data recovery>

[0191] In the abnormality monitoring system 1 according to the present embodiment, the compression performance is improved by preparing the best pattern data, rather than by selecting the best algorithm disclosed in the patent document 2. In particular, when the original data is restored using the pattern data, the monitoring result (compression result 162) of the abnormality monitoring process is used, and the best pattern data can be selected without performing special processing related to data compression and restoration.

[0192] Such pattern data can be managed by the following methods: (1) a method using a set of pattern data collected in advance (static management); and (2) a method in which the waveform of a randomly set sampling interval and a waveform of an interval with a high probability of abnormality occurring are combined as pattern data in the control device 100 (dynamic management). The dynamic management of (2) is effective in improving the debugging performance when an abnormality occurs and the data reliability of the data saving / restoring method for irreversibly compressed data.

[0193] In dynamic management, necessary information including pattern data is sent from the control device 100 to a processing subject (host server 300, HMI 400, support device 200, etc.) that performs data recovery. The processing subject (host server 300, HMI 400, support device 200, etc.) is equivalent to an external device that can communicate with the control device 100. As a typical example, necessary information including pattern data is sent to the host server 300. For the sake of convenience, the description is advanced on the premise that the necessary information including pattern data is sent to the host server 300, but the sending destination is not limited to the host server 300, and may be any processing subject or the control device 100 itself.

[0194] (1) Static management

[0195] When using a set of pattern data collected in advance, it is first determined which category each frame belongs to. After collecting waveforms of multiple frames in each category, waveforms representing each category are selected and determined as pattern data. As a method for selecting waveforms representing each category, the following method is implemented, that is, among multiple frames belonging to the same category, a waveform with the highest reproducibility of the result of restoring other frames using the waveform of any frame is searched. The waveform with the highest reproducibility can be determined by searching for a waveform with the highest autocorrelation between the restored result of the frame and the original raw data.

[0196] (2) Dynamic Management

[0197] When the control device 100 collects and adds the required pattern data, the waveform at the time of abnormality, the threshold of the score, the threshold to be sent to the upper server 300, and the like are set in advance by the upper server 300. The upper server 300, which has received the additional pattern data from the control device 100, uses the algorithm described in (1) static management to determine whether to actually register the additional pattern data from the control device 100. That is, when it is determined that the reproducibility of the recovery result is improved by using the additional pattern data, the additional pattern data is registered in the upper server 300.

[0198] Figure 7 1 is a schematic diagram showing a processing flow that enables dynamic management of pattern data related to compression and restoration of raw data in the abnormality monitoring system 1 according to the present embodiment. Figure 7 The process flow shown is Figure 3 In addition to the processing flow shown, a pattern setter 180 and a pattern data sampler 182 are added. Furthermore, the compression result 162 also includes additional pattern data 169.

[0199] The pattern data sampler 182 extracts the waveform appearing in the original data 160 as pattern data, and outputs it as the additional pattern data 169. The pattern data sampler 182 specifies the waveform extracted by the pattern setter 180.

[0200] The pattern data sampler 182 may also extract the waveform of the frame used for calculating the score 164 as the additional pattern data 169 only when the score 164 calculated by the abnormality monitoring engine 150 exceeds a predetermined threshold. That is, when the score 164 included in the compression result 162 represents a predetermined value, the pattern data sampler 182 extracts the time change (original data) of the data set corresponding to the compression result 162. In addition to the feature data 166 and the score 164, the pattern data added by the pattern data sampler 182 is output as the compression result.

[0201] For example, if the score calculated for each frame is x and the score threshold is y, when conditions such as score x>threshold y or (score x / threshold y)>1 are met, the waveform of the frame may be extracted as pattern data.

[0202] Alternatively, a function random(t) that generates a random number between 0 and 1 may be used, and when a condition such as random(t)>Σ(x / y) is satisfied, the waveform of the frame may be extracted as pattern data. By adopting such a condition, additional pattern data 169 can be extracted not only when some abnormality occurs but also when it is normal.

[0203] The additional pattern data 169 extracted by the above-described processing is transmitted to the upper server 300 , and the upper server 300 updates the pattern data 168 as necessary.

[0204] By adopting Figure 7 The structure shown can add or update pattern data as needed for frames with relatively high scores (i.e., frames with certain abnormalities). By adopting this structure of adding or updating pattern data, the reproducibility of the original data when abnormalities occur can be improved, or it can also cope with the situation of new waveforms when abnormalities occur.

[0205] <D. Treatment example>

[0206] Next, a description will be given of a processing example of data compression and data restoration in the abnormality monitoring system 1 according to the present embodiment.

[0207] (d1: Compression / restoration of original data in normal state)

[0208] First, the compression / restoration process of the raw data in normal state will be described. As described above, by using the monitoring result (compression result 162) of the abnormality monitoring process, the data volume can be greatly reduced (for example, 10% or less) compared with the original raw data.

[0209] Figure 8 1 is a diagram for explaining the compression process of the raw data in the normal state in the abnormality monitoring system 1 according to the present embodiment. Figure 8 , the raw data 160 is input to the abnormality monitoring engine 150 to calculate the feature data 166. Furthermore, the calculated feature data 166 is input to the abnormality monitoring engine 150 together with the learning data 130 to calculate the score 164. The calculated feature data 166 and the score 164 are stored as time series data in the internal DB 140 or the like.

[0210] In this way, the raw data 160 in the normal state (i.e., the interval in which the score 164 is within the normal range) is compressed using pattern data equivalent to the waveform in the normal state used to generate the learning data 130. In addition, in general abnormality monitoring processing, most intervals are in a normal state. In order to reduce the network bandwidth and the storage area, it is preferable not to save the raw data 160 in the normal state or not to output the raw data 160 in the normal state to the outside.

[0211] Next, a description will be given of a process of restoring compressed data obtained by compressing original data in a normal state to original data.

[0212] In the recovery process, the original data is restored based on the compressed data according to the denormalization process. The data compression according to this embodiment is irreversible compression, so the restored original data is not completely consistent with the original original data, but can be used to identify abnormal waveforms or to link with other systems.

[0213] Fig. 9 1 is a diagram for explaining the restoration process of the raw data in the normal state in the abnormality monitoring system 1 according to the present embodiment. Fig. 9 The time series data of the score 164 and the feature data 166 are input as compressed data to the data restorer 240. The data restorer 240 restores the time series data using the pattern data corresponding to the waveform in the normal state used to generate the learning data 130.

[0214] However, the amplitude and bias of the original raw data 160 are usually inconsistent with the waveform shown in the pattern data. Therefore, the amplitude and bias are adjusted using the average value and standard deviation included in the feature data 166 to restore to the original data (denormalization using the feature).

[0215] More specifically, the displacement x of position i of the restored original data 170 is i ' is the displacement x of the corresponding position i using the pattern data i , the average value E(x) of the pattern data, the standard deviation S(x) of the pattern data, the average value μ of the feature data 166 and the standard deviation σ of the feature data 166, and are calculated by the inverse normalization shown below.

[0216] x i '=(x i -E(x) / S(x))×σ+μ

[0217] In this way, the feature data 166 includes the average value μ and the standard deviation σ of the data set (the original data of each frame), and the data restorer 240 denormalizes the corresponding pattern data based on the average value μ and the standard deviation σ of the data set (the original data of each frame), thereby restoring the time change of the object data set.

[0218] Furthermore, when a plurality of pattern data are registered, the pattern data having the highest autocorrelation may be selected and restored to the original data.

[0219] In this way, the data restorer 240 refers to the pattern data of each category prepared in advance, selects the pattern data corresponding to the category determined according to the score 164 contained in the compression result, and uses the feature data 166 contained in the compression result to make adjustments, thereby restoring the time changes of the data set corresponding to the monitoring result (compression result 162).

[0220] Through the compression process and the restoration process described above, the original data 160 in a normal state can be efficiently compressed and restored.

[0221] (d2: Compression / restoration of original data in case of abnormality)

[0222] Next, the compression and recovery of the original data at the time of abnormality will be described. The original data at the time of abnormality is useful for the purpose of abnormal cause analysis and omen analysis. Therefore, by determining whether the waveform that appears in the abnormality that occurs is the same as the pattern data (waveform) at the time of known abnormality, and extracting it as additional pattern data as needed, it is possible to compress and recover with higher accuracy.

[0223] Fig.10 1 is a diagram for explaining the compression process of raw data at the time of abnormality in the abnormality monitoring system 1 according to the present embodiment. Fig.10 , the raw data 160 is input to the abnormality monitoring engine 150 to calculate the feature data 166. Furthermore, the calculated feature data 166 is input to the abnormality monitoring engine 150 together with the learning data 130 (normal) generated based on the waveform in the normal state, thereby calculating the score 164. The calculated feature data 166 and the score 164 are stored as time series data in the internal DB 140 or the like.

[0224] Furthermore, when the calculated score 164 exceeds the threshold, the pattern data sampler 182 determines the degree of deviation from the known pattern data (learning data 131 (abnormality) generated based on the waveform at the time of abnormality). And, for the waveform with a large degree of deviation from the known pattern data, it is extracted as additional pattern data 169. That is, when the time variation of the extracted data set exceeds a predetermined value from the pre-prepared pattern data, the pattern data sampler 182 adds the time variation of the extracted data set as the pattern data referenced by the data restorer 240. In addition, as needed, the extracted additional pattern data 169 can be sent to the upper server 300 or stored in the control device 100.

[0225] Thus, the original data 160 at the time of abnormality (i.e., the interval in which the score 164 is within the abnormal range) is compressed using pattern data equivalent to the waveform at the time of abnormality used to generate the learning data 131. Alternatively, it is compressed using the additional pattern data 169 extracted during the abnormality monitoring process.

[0226] Next, a description will be given of a process of restoring compressed data obtained by compressing original data at the time of abnormality to original data.

[0227] The original data is restored in the same manner as the normal original data restoration process, based on the compressed data, using the pattern data and following the denormalization process. The pattern data used for restoration may be known pattern data, or, when a new waveform is generated during an abnormality, pattern data corresponding to the new waveform may be used (additional pattern data 169).

[0228] Fig.11 1 is a diagram for explaining the recovery process of the raw data at the time of abnormality in the abnormality monitoring system 1 according to the present embodiment. Fig.11 As compressed data, the time series data of the score 164 and the feature data 166 are input to the data restorer 240. The data restorer 240 uses the pattern data contained in the learning data 131 generated by the waveform at the time of abnormality for restoration. As needed, additional pattern data 169 may also be used for restoration for a specific interval.

[0229] In this way, the data restorer 240 restores the time change of the data set (original data) by referring to the additional pattern data 169 added by the pattern data sampler 182 in addition to the pattern data prepared in advance.

[0230] At this time, the amplitude and bias are adjusted by using the mean value and standard deviation contained in the feature data 166, and the original data is restored (using the denormalization of the feature data) in the same way as the restoration process of the original data in normal times. Fig. 9 The recovery process of the original data in the normal state shown is the same, so the detailed description will not be repeated.

[0231] In this way, the data restorer 240 refers to the pattern data of each category prepared in advance, selects the pattern data corresponding to the category determined according to the score 164 contained in the compression result, and uses the feature data 166 contained in the compression result to make adjustments, thereby restoring the time change of the data set corresponding to the compression result 162 (monitoring result).

[0232] By the compression process and the restoration process as described above, the original data 160 in the abnormal state can be efficiently compressed and restored.

[0233] (d3: Display example)

[0234] Next, advantages and the like of utilizing the raw data storage function in the abnormality monitoring process according to the present embodiment will be described.

[0235] Fig.12 It is a schematic diagram showing a display example that displays only the monitoring results in the abnormality monitoring process according to the present embodiment. Fig.131 is a schematic diagram showing a display example of restored raw data in the abnormality monitoring process according to the present embodiment.

[0236] Reference Fig.12 In the abnormality monitoring process according to the present embodiment, the presence or absence of abnormality is monitored using the feature quantity data 166 calculated based on the input data and the score 164 calculated based on the feature quantity data 166. On the other hand, it is not easy to infer why the abnormality occurred and what kind of situation occurred when the abnormality occurred by simply displaying these data.

[0237] In contrast, by displaying Fig.13 The restored raw data shown can help you understand at a glance what happened when an abnormality occurred. Furthermore, you can check the real cause of the abnormality by comparing it with past performance.

[0238] When certain abnormalities occur, not only is the information used to determine the abnormality (feature quantities and scores) displayed, but the original data (waveform) when the abnormality occurred is also restored and displayed, thereby allowing the user to easily understand or infer the actual state of the controlled object.

[0239] <E. Processing Flow>

[0240] Next, a description will be given of a process related to compression and restoration of raw data using the abnormality monitoring process according to the present embodiment.

[0241] (e1: compression processing)

[0242] Fig.14 This is a flowchart showing the processing flow of the compression processing of the raw data using the abnormality monitoring processing according to the present embodiment. Fig.14 This shows an example in which the control device 100 and the host server 300 respectively execute processing. Typically, the processor 102 of the control device 100 executes the system program 126 to implement each step of the control device 100, and similarly, the processor of the host server 300 executes a necessary program to implement each step of the host server 300.

[0243] Reference Fig.14 , the control device 100 determines whether the condition for starting the frame is satisfied (step S100). If the condition for starting the frame is not satisfied (No in step S100), the process of step S100 is repeated.

[0244] If the condition for starting a frame is satisfied (YES in step S100 ), control device 100 collects predetermined input data (step S102 ).

[0245] Then, the control device 100 determines whether the condition for ending the frame is satisfied (step S104). If the condition for ending the frame is not satisfied (No in step S104), the processing from step S102 onwards is repeated.

[0246] If the condition for ending the frame is satisfied (Yes in step S104), the control device 100 calculates feature data 166 from the data set including the input data collected in step S102 (step S106). Next, the control device 100 refers to the learning data 130 and calculates a score from the feature data 166 (step S108).

[0247] The control device 100 determines which category the object belongs to based on the calculated score (step S110). Typically, it is determined whether the object to be monitored is normal or whether some abnormality has occurred.

[0248] If it is determined that the calculated score belongs to the abnormal category ("abnormal" in step S100), the control device 100 calculates the degree of deviation of the target data set from the pattern data included in the pre-registered learning data 131 (step S112). Next, the control device 100 determines whether the calculated deviation exceeds a predetermined threshold value (step S114).

[0249] If the calculated degree of divergence exceeds a predetermined threshold value (YES in step S114 ), control device 100 extracts the target data set as additional pattern data 169 (step S116 ). Control device 100 stores the extracted additional pattern data 169 in its own device or transmits it to host server 300 .

[0250] If the calculated degree of divergence does not exceed a predetermined threshold value (No in step S114 ), the process of step S116 is skipped.

[0251] On the other hand, if it is determined that the calculated score belongs to the normal category (“normal” in step S100 ), the processing of steps S112 to S116 is skipped.

[0252] When the above series of processes are completed, the processes from step S100 onwards are repeated.

[0253] Then, the host server 300 determines whether the additional pattern data 169 is received from the control device 100 (step S200). If the additional pattern data 169 is not received from the control device 100 (No in step S200), the process of step S200 is repeated.

[0254] When the additional pattern data 169 is received from the control device 100 (YES in step S200 ), the host server 300 stores the additional pattern data 169 received from the control device 100 (step S202 ).

[0255] When the above series of processes are completed, the processes from step S200 onwards are repeated.

[0256] (e2: recovery process)

[0257] Fig.15 This is a flowchart showing the processing flow of the restoration process of the raw data using the abnormality monitoring process according to the present embodiment. Fig.15 This shows an example of executing the recovery process in the upper server 300. Typically, each step of the upper server 300 is realized by executing a necessary program by a processor of the upper server 300.

[0258] Reference Fig.15 The upper server 300 obtains the compression result (time series data of feature quantities and scores) stored in the control device 100 in response to a request from the user or the establishment of a predetermined condition (step S150).

[0259] Next, the host server 300 selects any frame among the restoration target frames as a target (step S152 ), and determines whether the selected frame belongs to the normal or abnormal category based on the score of the selected frame (step S154 ).

[0260] If it is determined that the frame selected as the object belongs to the normal category ("normal" in step S154), the host server 300 uses the pattern data associated with the learning data 130 generated based on the normal waveform to restore the original data (waveform) of the section of the object frame (step S156).

[0261] On the other hand, if it is determined that the frame selected as the object belongs to the abnormal category ("abnormal" in step S154), the upper server 300 uses the pattern data associated with the learning data 130 generated based on the waveform during the abnormality, or the additional pattern data 169, to restore the original data (waveform) of the interval of the object frame (step S158).

[0262] Then, the upper server 300 determines whether the restoration of the original data of all the restoration target frames has been completed (step S160). If the restoration of any original data in the restoration target frame is not completed (no in step S160), the upper server 300 selects the next frame as the target (step S162) and repeats the processing from step S154 onwards.

[0263] If the restoration of the original data is completed for all the restoration target frames (Yes in step S160 ), the host server 300 outputs the restored original data (step S164 ). Then, the data restoration process is completed.

[0264] <F. Modification>

[0265] Several modified examples are described below.

[0266] (f1: Restoration processing performed by the control device 100)

[0267] In the above description, a configuration example in which a processing subject (host server 300, HMI 400, support device 200, etc.) other than the control device 100 has the data restorer 240 is described, but the present invention is not limited thereto, and the data restorer 240 may be arranged in the control device 100. By arranging the data restorer 240 in the control device 100, the restored original data can be used, thereby realizing various data utilizations.

[0268] Fig.16 1 is a schematic diagram showing an overall configuration example of an abnormality monitoring system 1 according to a modified example of the present embodiment. Fig.16 In the abnormality monitoring system 1 shown, the original data can be compressed on the field side and restored in the control device 100. Thus, the control device 100 can utilize the restored original data.

[0269] More specifically, refer to Fig.16 The remote I / O device 12 has a data compression unit 190. The data compression unit 190 performs feature extraction and score calculation processing on the input data (raw data) obtained from the field. The data compression unit 190 generates a compression result 192 including the score 164 and the feature amount data 166, and sends it to the control device 100.

[0270] Furthermore, when the data compression unit 190 is installed on the site, it can be realized not only by a processor but also by a device capable of high-speed processing such as an FPGA, etc. By adopting such a device, the real-time nature of the program can be ensured.

[0271] The control device 100 includes a data restorer 240, and the data restorer 240 restores the compression result 192 to the original data 170. Thus, the control device 100 can access the restored original data 170. Typically, the user program 128 executed by the control device 100 can use the restored original data 170.

[0272] For example, the user program 128 can implement the following processing: based on the restored raw data 170, the time required for the waveform in the frame to rise is calculated, and if the calculated time is a rapid time below a predetermined threshold, any actuator is controlled to correct it to an appropriate time.

[0273] so, Fig.16 In the abnormality monitoring system 1 shown, since the original data 170 can be restored in the control device 100 , effective information can be referenced from the user program 128 or the like.

[0274] and then, Fig.16 The abnormality monitoring system 1 shown is effective even when there is a limit on the amount of data transferred between any device connected via the field bus and the control device 100. For example, it is effective when the sampling cycle in the device is short or when there is a large amount of information to be transferred.

[0275] Fig.16 In the abnormality monitoring system 1 shown, information when some abnormality occurs on the field side can be stored in the control device 100. By storing such information, data management with traceability can be realized.

[0276] Furthermore, by including processing using data of a specific frame in which some abnormality has occurred as a trigger in the user program 128, special processing or a self-diagnosis function at the time of abnormality can be easily implemented.

[0277] (f2: Restoration processing performed by the support device 200)

[0278] In the control device 100, control can also be performed based on feature data calculated from input data, but debugging of the user program 128 for performing such control is difficult. Therefore, by restoring the original data in the support device 200 and referring to the restored original data, debugging efficiency can be improved.

[0279] That is, the user program 128 executes processing based on the feature data, but the user program 128 itself can confirm the restored original data during online debugging or the like using the support device 200, thereby facilitating confirmation of its rationality.

[0280] Fig.17 1 is a schematic diagram showing an overall configuration example of an abnormality monitoring system 1 according to another modified example of the present embodiment. Fig.17 In the abnormality monitoring system 1 shown, the original data can be compressed on the field side and restored on the support device 200. Thus, the original data restored on the support device 200 side can be used.

[0281] More specifically, refer to Fig.17 The remote I / O device 12 has a data compression unit 190. The data compression unit 190 performs feature extraction and score calculation processing on the input data (raw data) obtained from the field. The data compression unit 190 generates a compression result 192 including the score 164 and the feature amount data 166, and sends it to the control device 100.

[0282] Furthermore, when the data compression unit 190 is installed on the site, it can be realized not only by a processor but also by a device capable of high-speed processing such as an FPGA, etc. By adopting such a device, the real-time nature of the program can be ensured.

[0283] The user program 128 executed by the control device 100 performs processing based on the feature amount data 166 included in the compression result 192 .

[0284] The compressed result 192 is forwarded to the support device 200, or the support device 200 can refer to the compressed result 192 stored in the control device 100. The support device 200 includes a data restorer 240, and the data restorer 240 restores the compressed result 192 to the original data 170. Thus, the support device 200 can refer to the restored original data 170. Typically, in the scenario where the user program 128 executed by the control device 100 is debugged on the support device 200, the restored original data 170 can be referred to, thereby making debugging more efficient.

[0285] Thus, in the user program 128 that uses the feature data to perform processing, only the user program 128 can be debugged alone, and comprehensive debugging such as confirming the consistency with the original data cannot be performed. In contrast, by installing the data restorer 240 in the support device 200, it becomes possible to confirm and record the restored original data, thereby making it easy to confirm whether the behavior of the user program 128 on the original data is appropriate.

[0286] For example, it is possible to create a user program 128 that monitors deviations using the variance in the feature data 166. In this case, the user program 128 that uses the variance as a condition can be used as a unit test to confirm the operation, but it is difficult to confirm whether it is accurately judged for actual data. In order to solve this problem, it has been envisioned to debug using the data tracking function installed in the control device 100 or to connect the measuring instrument to the actual sensor for confirmation, but there are the following problems: the former cannot cope with data compression in the device on the field bus, and the latter is time-consuming and labor-intensive.

[0287] To address this problem, debugging can be performed more easily by adopting the method described above.

[0288] <G. Notes>

[0289] The present embodiment described above includes the following technical ideas.

[0290] [Structure 1]

[0291] A control system, comprising:

[0292] A generating unit 152 generates a data set including time variations of one or more input values ​​corresponding to each unit interval;

[0293] The feature extraction unit 154 generates feature quantity data 166 based on the data set; and

[0294] The score calculation unit 156 refers to the learning data 130 including the feature amount data marked with a specific category, calculates a score 164 indicating the degree of deviation of the feature amount data from the learning data, and the feature amount data 166 and the score 164 are output as the compression result 162 of the data set, and the control system includes:

[0295] The restoration unit 240 refers to the pattern data 168 prepared in advance for each category, selects the pattern data corresponding to the category determined according to the score contained in the compression result, and adjusts it using the feature data contained in the compression result, thereby restoring the time change 170 of the data set corresponding to the compression result.

[0296] [Structure 2]

[0297] The control system according to structure 1, wherein

[0298] Continuously outputting a plurality of the compression results,

[0299] The restoration unit continuously restores the time change of the data set according to each of the compression results.

[0300] [Structure 3]

[0301] A control system according to structure 1 or 2, wherein

[0302] The feature data includes an average value 1661 and a standard deviation 1662 of the data set.

[0303] The restoration unit performs denormalization on the corresponding pattern data based on the mean value and the standard deviation of the data set, thereby restoring the time variation of the data set.

[0304] [Structure 4]

[0305] The control system according to any one of Structures 1 to 3 further includes:

[0306] When the score included in the compression result exceeds a predetermined value, the sampling unit 182 extracts the time variation of the data set corresponding to the compression result.

[0307] [Structure 5]

[0308] The control system according to structure 4, wherein

[0309] When the degree of deviation of the time change of the extracted data set from the pre-prepared pattern data exceeds a predetermined value, the sampling unit adds the time change of the extracted data set as the pattern data 169 to be referred to by the restoration unit.

[0310] [Structure 6]

[0311] The control system according to structure 5, wherein

[0312] In addition to the feature amount data and the score, pattern data 169 added by the sampling unit is output as the compression result.

[0313] [Structure 7]

[0314] A control system according to structure 5 or 6, wherein

[0315] The restoration unit refers to the pattern data 169 added by the sampling unit in addition to the previously prepared pattern data, and restores the time change of the data set.

[0316] [Structure 8]

[0317] The control system according to any one of Structures 1 to 7 further includes:

[0318] The determination unit 158 ​​determines whether an abnormality has occurred in the monitoring object associated with the one or more input values ​​based on the score.

[0319] [Structure 9]

[0320] A control system according to any one of structures 1 to 8, comprising:

[0321] A control device 100 controls a control object; and

[0322] The external device 200, 300, 400 can communicate with the control device.

[0323] The generating unit 152, the feature extracting unit 154 and the score calculating unit 156 are configured in the control device.

[0324] The restoration unit 240 is disposed in the external device.

[0325] [Structure 10]

[0326] A control method is performed in a control system 1 including a control device 100 for controlling a control object, the control method comprising:

[0327] Steps S100, S102, S104, generating a data set including time variations of one or more input values ​​corresponding to each unit interval;

[0328] Step S106, generating feature data 166 based on the data set; and

[0329] Step S108, referring to the learning data 130 including the feature data marked with a specific category, a score indicating the degree of deviation of the feature data relative to the learning data is calculated, and the feature data 166 and the score 164 are output as the compression result 162 of the data set, and the control method includes:

[0330] Steps S152, S154, S156, S158, and S160 refer to the pre-prepared pattern data 168 for each category, select the pattern data corresponding to the category determined based on the score contained in the compression result, and adjust it using the feature data contained in the compression result, thereby restoring the time change 170 of the data set corresponding to the compression result.

[0331] <H. Advantages>

[0332] In the abnormality monitoring system according to the present embodiment, the abnormality monitoring process can be used to realize the storage based on the compression of the original data. Moreover, the compressed original data can be appropriately restored using the pattern data. In this way, the abnormality monitoring process and the data compression and recovery process can be performed as a common process, so that the increase of the processing load related to the data storage can be prevented, and the efficient accumulation of the original data can be realized.

[0333] The embodiments disclosed this time should be considered as illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the claims.

Claims

1. A control system, comprising: A generating unit, generating a data set including time variations of one or more input values ​​corresponding to each unit interval, wherein the data set is derived from a monitoring object; a feature extraction unit that generates feature quantity data based on the data set, wherein the feature quantity data includes an average value and a standard deviation of the data set; as well as a score calculation unit, referring to learning data including feature quantity data marked with a specific category, calculating a score indicating a degree of deviation of the feature quantity data from the learning data, the score being a value indicating a possibility of abnormality occurring in the monitoring object associated with the one or more input values, and the feature quantity data and the score being output as a compression result of the data set, wherein the specific category is normal or abnormal, and the control system comprises: a restoration unit, referring to pattern data prepared in advance for each category, selecting pattern data corresponding to the category determined based on the score included in the compression result, and performing adjustment using feature quantity data included in the compression result, thereby restoring the time change of the data set corresponding to the compression result, The restoration unit performs denormalization on the corresponding pattern data based on the mean value and the standard deviation of the data set, thereby restoring the time variation of the data set.

2. The control system according to claim 1, wherein Continuously outputting a plurality of the compression results, The restoration unit continuously restores the time change of the data set according to each of the compression results.

3. The control system according to claim 1 or 2, further comprising: The sampling unit extracts a time change of a data set corresponding to the compression result when the score included in the compression result exceeds a predetermined value.

4. The control system according to claim 3, wherein The sampling unit adds the time change of the extracted data set as the pattern data to be referred to by the restoration unit when the degree of deviation of the time change of the extracted data set from the pre-prepared pattern data exceeds a predetermined value.

5. The control system according to claim 4, wherein In addition to the feature data and the score, pattern data added by the sampling unit is output as the compression result.

6. A control system according to claim 4 or 5, wherein The restoration unit refers to the pattern data added by the sampling unit in addition to the previously prepared pattern data to restore the time change of the data set.

7. The control system according to claim 1 or 2, further comprising: The determination unit determines whether an abnormality has occurred in the monitoring object associated with the one or more input values ​​based on the score.

8. The control system according to claim 1 or 2, comprising: A control device controls a control object; as well as an external device capable of communicating with the control device, The generating unit, the feature extracting unit, and the score calculating unit are configured in the control device. The restoration unit is disposed in the external device.

9. A control method is performed in a control system including a control device for controlling a control object, the control method comprising the following steps: Generate a data set including time variations of one or more input values ​​corresponding to each unit interval, wherein the data set is derived from a monitoring object; generating feature quantity data based on the data set; and Referring to learning data including feature quantity data marked with a specific category, a score indicating the degree of deviation of the feature quantity data relative to the learning data is calculated, the score being a value indicating the possibility of abnormality occurring in the monitoring object associated with the one or more input values, and the feature quantity data and the score being output as a compression result of the data set, wherein the specific category is normal or abnormal, the feature quantity data including an average value and a standard deviation of the data set, and the control method comprising the following steps: Referring to the pattern data prepared in advance for each category, the pattern data corresponding to the category determined according to the score included in the compression result is selected, and the pattern data corresponding to the category determined according to the score included in the compression result is adjusted using the feature amount data included in the compression result to restore the time change of the data set corresponding to the compression result, in, Based on the mean value and standard deviation of the data set, the corresponding pattern data is denormalized, thereby restoring the time variation of the data set.