Data collection device, program and data collection method

The data collection device facilitates easy database expansion and user-friendly operation by structuring data collection and processing through array and tag formats, addressing the challenges of complex industrial data collection.

JP7559080B2Active Publication Date: 2024-10-01YASKAWA DENKI KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022558718
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-29
Publication Date
2024-10-01
Estimated Expiration
2040-10-29

AI Technical Summary

Technical Problem

Existing data collection devices struggle with ease of database expansion and user-friendliness, particularly in industrial settings where data collection from various types of equipment is complex and diverse.

Method used

A data collection device and method that includes data collectors, analyzers, and a database accessor to arrange and process data in a structured format, allowing for flexible expansion and easy use by controlling the data flow through an application manager, using array and tag structure data formats.

Benefits of technology

Enables both easy expansion and user-friendly operation of databases by maintaining a consistent format, reducing processing loads, and supporting flexible adaptation to changing data needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559080000001
    Figure 0007559080000001
  • Figure 0007559080000002
    Figure 0007559080000002
  • Figure 0007559080000003
    Figure 0007559080000003
Patent Text Reader

Abstract

A data collection device 300 comprises: a data collector 311 that collects RAW data; a primary data analyzer 321 that acquires data for analysis, extracts a record for analysis of a predetermined type from the data for analysis on the basis of the data sequence of the data for analysis, and executes predetermined analysis processing for the extracted record for analysis to generate result data; a database accessor 331 that converts data for registration into a predetermined database format on the basis of the data sequence of the data for registration, and registers the converted data into a database 332; and an application manager 334 that controls the flow of data among the data collector 311, the primary data analyzer 321, and the database accessor 331.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a data collection device, a program, and a data collection method. [Background technology]

[0002] Patent Document 1 discloses a data collection device that collects data from each piece of equipment on a production line and adds the collected data to a database. This data collection device includes an acquisition means that acquires a file containing the data and a file name from the equipment, an extraction means that extracts additional information related to the data from the file name acquired by the acquisition means, and an addition means that adds the additional information extracted by the extraction means to the data in the file acquired by the acquisition means and adds the information to the database. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-225317 A Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present disclosure is to provide a data collection device that is effective in achieving both ease of database expansion and ease of database use. [Means for solving the problem]

[0005] A data collection device according to one aspect of the present disclosure includes one or more data collectors that collect RAW data in which one or more RAW records related to operation of industrial equipment are arranged for one or more types; a data analyzer that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which the one or more result records are arranged for one or more types; a database accessor that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the registration data in a database; and an application manager that controls the flow of data between the data collector, the data analyzer, and the database accessor.

[0006] A program according to another aspect of the present disclosure includes one or more data collectors that collect RAW data in which one or more RAW records related to operation of industrial equipment are arranged for one or more types; a data analyzer that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which the one or more result records are arranged for one or more types; a database accessor that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers it in a database; and an application manager that controls the flow of data between the data collector, the data analyzer, and the database accessor.

[0007] A data collection method according to yet another aspect of the present disclosure includes collecting RAW data from an industrial equipment, in which one or more RAW records related to operation of the industrial equipment are arranged by one or more types; acquiring the RAW data, extracting a predetermined type of analysis record from the RAW data based on the data arrangement of the RAW data, performing a predetermined analysis process on the extracted analysis record to generate one or more result records, and generating result data in which the one or more result records are arranged by one or more types; acquiring the result data, converting the result data into a predetermined database format based on the data arrangement of the result data, and registering it in a database. Effect of the Invention

[0008] According to the present disclosure, it is possible to provide a data collection device that is effective in achieving both ease of database expansion and ease of database use. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a schematic diagram illustrating a configuration of a production system. [Diagram 2] FIG. 2 is a schematic diagram illustrating a configuration of a robot. [Diagram 3] FIG. 2 is a block diagram illustrating a configuration of a data collection device. [Figure 4] 1 is a table illustrating sequence structure data. [Diagram 5] 1 is a graph for illustrating a primary analysis. [Figure 6] FIG. 2 is a schematic diagram illustrating tag structure data. [Figure 7] 1 is a graph for illustrating secondary analysis. [Figure 8] FIG. 2 is a block diagram illustrating a hardware configuration of the control system. [Figure 9] 11 is a flowchart illustrating a program registration procedure. [Figure 10] 1 is a flow chart illustrating a primary analysis procedure. [Figure 11]13 is a flowchart illustrating a procedure for registering a RAW record. [Figure 12] 1 is a flow chart illustrating a secondary analysis procedure. [Figure 13] 13 is a flowchart for supporting a modified example of the registration procedure of a RAW record. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments will be described in detail with reference to the drawings. In the description, the same elements or elements having the same functions are denoted by the same reference numerals, and duplicated description will be omitted.

[0011] [Production System] The production system 1 (robot system) shown in Fig. 1 is a system that produces workpieces. Hereinafter, all objects that are the subject of work in the production process of the workpieces are referred to as "workpieces." For example, "workpieces" include the final product in the production system 1, parts of the final product, and units that combine multiple parts.

[0012] The production system 1 includes one or more local devices 2 and a control system 3. For example, the production system 1 includes a plurality of local devices 2, and produces a workpiece through cooperative operation of the plurality of local devices 2. The cooperative operation means that the plurality of local devices operate to share a plurality of processes for obtaining at least one of the above-mentioned final products. The plurality of local devices may operate to share a plurality of processes for obtaining one final product on a process-by-process basis, or may operate to share a plurality of processes for obtaining a plurality of final products on a final product-by-final product basis.

[0013] Each of the multiple local devices 2 is a device that directly performs an operation on the workpiece 9 at the production site of the workpiece 9. The direct operation is an operation of imparting some kind of energy, such as thermal energy, kinetic energy, or potential energy, to the workpiece 9.

[0014] Each of the multiple local devices 2 is, for example, an industrial device. The multiple local devices 2 include at least a robot (at least one of the local devices 2 is a robot). The multiple local devices 2 also include an industrial device that cooperates with a robot. Specific examples of the industrial device that cooperates with a robot include other robots and NC machine tools.

[0015] 1 includes a transport device 2A, robots 2B and 2C, and a mobile robot 2D, but is not limited to this. The number and types of local devices 2 can be changed as appropriate as long as they include at least one robot.

[0016] The transport device 2A transports the workpiece 9 using, for example, an electric motor or the like as a power source. Specific examples of the transport device 2A include a belt conveyor and a roller conveyor. The robots 2B, 2C, and the mobile robot 2D perform work on the workpiece 9 transported by the transport device 2A. Specific examples of the work on the workpiece 9 include assembling another workpiece 9 (for example, a subpart) to a workpiece 9 (for example, a base part) transported by the transport device 2A, fastening (for example, bolt fastening) and joining (for example, welding) parts of the workpiece 9 transported by the transport device 2A, carrying the workpiece 9 into an NC machine tool installed around the transport device 2A, carrying the workpiece 9 out of the NC machine tool, etc.

[0017] For example, the robots 2B and 2C are six-axis vertical articulated robots, and as shown in Fig. 2, have a base 11, a rotating part 12, a first arm 13, a second arm 14, a third arm 17, a tip 18, and actuators 41, 42, 43, 44, 45, and 46. The base 11 is installed around the transport device 2A. The rotating part 12 is provided on the base 11 so as to rotate around a vertical axis 21. The first arm 13 is connected to the rotating part 12 so as to swing around an axis 22 that intersects (for example, perpendicular to) the axis 21. The intersection also includes a case where the two are in a twisted relationship, such as a so-called three-dimensional intersection. The second arm 14 is connected to the tip of the first arm 13 so as to swing around an axis 23 that is substantially parallel to the axis 22. The second arm 14 includes an arm base 15 and an arm end 16. The arm base 15 is connected to the tip of the first arm 13 and extends along an axis 24 that intersects (for example, perpendicular to) the axis 23. The arm end 16 is connected to the tip of the arm base 15 so as to swing around the axis 24. The third arm 17 is connected to the tip of the arm end 16 so as to swing around an axis 25 that intersects (for example, perpendicular to) the axis 24. The end 18 is connected to the tip of the third arm 17 so as to swing around an axis 26 that intersects (for example, perpendicular to) the axis 25. A work tool such as a hand, a suction nozzle, a welding torch, or the like is attached to the tip portion 18.

[0018] Thus, robots 2B and 2C have a joint 31 connecting the base 11 and the swivel 12, a joint 32 connecting the swivel 12 and the first arm 13, a joint 33 connecting the first arm 13 and the second arm 14, a joint 34 connecting the arm base 15 and the arm end 16 in the second arm 14, a joint 35 connecting the arm end 16 and the third arm 17, and a joint 36 connecting the third arm 17 and the tip 18.

[0019] The actuators 41, 42, 43, 44, 45, and 46 include, for example, electric motors and reducers, and drive the joints 31, 32, 33, 34, 35, and 36, respectively. For example, actuator 41 rotates rotating portion 12 around axis 21, swings first arm 13 around axis 22, swings second arm 14 around axis 23, rotates arm end 16 around axis 24, swings third arm 17 around axis 25, and rotates tip portion 18 around axis 26.

[0020] The specific configuration of the robots 2B and 2C can be changed as appropriate. For example, the robots 2B and 2C may be a seven-axis redundant robot in which one more joint is added to the six-axis vertical articulated robot, or may be a so-called SCARA type articulated robot.

[0021] Returning to FIG. 1, the mobile robot 2D is a robot capable of autonomous travel. The mobile robot 2D has a robot 10 configured similarly to the robots 2B and 2C, and an automated guided vehicle 50. The automated guided vehicle 50 autonomously travels to transport the robot 10. A specific example of the automated guided vehicle 50 is an electric so-called AGV (Automated Guided Vehicle).

[0022] The production system 1 may further include an environmental sensor 5. The environmental sensor 5 detects the state of the work environment of the multiple local devices 2 (hereinafter referred to as the "environmental state"). A specific example of the environmental sensor 5 is a camera that captures the work environment of the multiple local devices 2. The environmental sensor 5 may be a sensor that detects the presence or absence of a workpiece 9 at a predetermined position by laser light or the like, or may be a sensor that detects the size of the workpiece 9 or the like. The production system 1 may be provided with multiple environmental sensors 5.

[0023] The control system 3 controls a plurality of local devices 2. An example of the configuration of the control system 3 will be described in detail below.

[0024] [Control System] The control system 3 operates the multiple local devices 2 based on an operation program. The control system 3 includes multiple local controllers 100, a host controller 200, and a data collection device 300. The multiple local controllers 100 respectively control the multiple local devices 2. For example, each of the multiple local controllers 100 controls the corresponding local device 2 based on a predetermined operation program. For example, the multiple local controllers 100 include a local controller 100A that controls the transport device 2A, a local controller 100B that controls the robot 2B, a local controller 100C that controls the robot 2C, and a local controller 100D that controls the mobile robot 2D.

[0025] The local controller 100A controls the transport device 2A to transport the workpiece 9 based on a prepared operation program for transport control. The local controller 100B controls the actuators 41, 42, 43, 44, 45, and 46 of the robot 2B to operate the robot 2B based on a prepared operation program for robot control. The local controller 100C controls the actuators 41, 42, 43, 44, 45, and 46 of the robot 2C to operate the robot 2C based on a prepared operation program for robot control. The local controller 100D controls the unmanned transport vehicle 50 and the actuators 41, 42, 43, 44, 45, and 46 of the robot 10 to operate the mobile robot 2D based on a prepared operation program for robot control.

[0026] The upper controller 200 acquires information indicating the operating state of the corresponding local device 2 (hereinafter referred to as "operation information") from each of the multiple local controllers 100, acquires the detection result of the environmental state (hereinafter referred to as "environmental information") from the environmental sensor 5, and outputs an execution command of an operating program to each of the multiple local controllers 100 based on the acquired operation information and environmental information.

[0027] The host controller 200 communicates synchronously with the multiple local controllers 100. Synchronous communication means repeatedly communicating with the multiple local controllers 100 in a synchronous communication cycle synchronized with a synchronous frame of a fixed period. The host controller 200 repeatedly acquires operation information from each of the multiple local controllers 100, acquires environmental information from the environmental sensor 5, and outputs an execution command to any one of the multiple local controllers 100 as necessary based on the operation information and the environmental information, in synchronization with the synchronous communication cycle.

[0028] The data collection device 300 collects various data acquired and generated during control of the multiple local devices 2 by the multiple local controllers 100 and the upper controller 200, and accumulates the data in a database in a database format that can be analyzed later. The data accumulated by the data collection device 300 can be effectively utilized for improving productivity or preventive maintenance in the production system 1. The content of the data to be accumulated in the database may change depending on changes in the configuration of the production system 1, changes in the operation sequence of the production system 1, etc.

[0029] In contrast, the data collection device 300 includes one or more data collectors that collect RAW data in which one or more RAW records related to the operation of the industrial equipment are arranged for one or more types; a data analyzer that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which one or more result records are arranged for one or more types; a database accessor that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the registration data in a database; and an application manager that controls the flow of data between the data collector, the data analyzer, and the database accessor.

[0030] According to this configuration, by adding at least one of a data collector and a data analyzer and changing the data flow by the application manager, the contents registered in the database can be flexibly expanded while maintaining the database format. Therefore, it is effective in achieving both ease of database expansion and ease of use.

[0031] As shown in FIG. 3, for example, the data collection device 300 includes a collector storage unit 310, an analyzer storage unit 320, a database accessor 331, a database 332, an application storage unit 333, and an application manager 334.

[0032] The collector storage unit 310 stores one or more data collectors 311. For example, the collector storage unit 310 stores a plurality of data collectors 311. Each of the plurality of data collectors 311 is a program library that collects RAW data in which one or more RAW records related to the operation of one or more local devices 2 are arranged by one or more types. For example, each of the plurality of data collectors 311 is a dynamic link library that can be dynamically linked to an executable program. The RAW records are unprocessed records that have not been subjected to information processing by the data collection device 300.

[0033] Data in which one or more records are arranged for one or more types, such as the above-mentioned RAW data, will be referred to as "array structure data" below. With array structure data, it is possible to identify the type of a record by the arrangement of the record within the data.

[0034] Specific examples of array structure data include comma-separated text data (CSV data) and tab-separated text data. In CSV data, a single data set including a plurality of records corresponding to a plurality of types is stored separated by line breaks. In each data set, a plurality of records are arranged in a predetermined order of types, and the records are separated by commas. The type of each record can be identified by its position from the beginning of the corresponding data set.

[0035] The array structure data may include attribute definition data that defines attributes for one or more types of one or more records. An attribute means a property common to records belonging to the same type. A specific example of a common property is a value of a certain physical quantity expressed in a certain unit.

[0036] Fig. 4 is a table illustrating an example of array structure data. As shown in Fig. 4, array structure data 410 includes a header 411 and record data 412. The record data 412 is data in which a plurality of records are arranged in association with time for each of a plurality of types.

[0037] For example, the record data 412 includes multiple rows of data sets 413. Each data set 413 includes a time 415 and multiple records 414 corresponding to multiple types. A specific example of the time 415 is the acquisition time of the multiple records 414. In each data set 413, the multiple records 414 are arranged in order of type from the left.

[0038] The header 411 corresponds to the attribute definition data described above, and defines attributes for each of a plurality of series. When the array structure data illustrated in FIG. 4 is the above-mentioned RAW data, the header 411 defines the attributes of the RAW record for each of a plurality of types. The attributes of the RAW record may be a control command for operating the local device 2, or may be a detection value of the operation result of the local device 2. Specific examples of the attributes of the RAW record are shown below. Example 1-1) The movement amount (e.g., movement angle) of an actuator (e.g., actuators 41, 42, 43, 44, 45, 46) is expressed in degrees [rad]. Example 1-2) The operating speed of the actuator is expressed as angular velocity [rad / s]. Example 1-3) The driving force generated by the actuator is expressed as torque [N m]. Example 1-4) Represents the actuator drive current [A]. Example 1-5) A control command for the local device 2 is expressed by target coordinates (X [m], Y [m], Z [m]) and target attitude (θx [rad], θy [rad], θz [rad]) in a specified coordinate system. Example 1-6) Represents the actuator control mode (position control mode / torque control mode).

[0039] The attribute of the RAW record may be environmental information based on the detection result of the environmental sensor 5.

[0040] 3, the multiple data collectors 311 may correspond to multiple local devices 2, respectively, or at least any one of the multiple data collectors 311 may correspond to two or more local devices 2. Each of the multiple data collectors 311 may collect RAW data from, for example, the upper controller 200, or may collect RAW data from the local controller 100 of the corresponding local device 2. When each of the multiple data collectors 311 collects RAW data from the upper controller 200, it becomes possible to collect RAW data to which a time based on a unified timer is added.

[0041] Each of the multiple data collectors 311 may acquire RAW data generated by the upper controller 200 or the local controller 100, or may accumulate RAW records collected from the upper controller 200 or the local controller 100 to generate RAW data.

[0042] The analyzer storage unit 320 stores one or more primary data analyzers 321. For example, the analyzer storage unit 320 stores a plurality of primary data analyzers 321.

[0043] Each of the multiple primary data analyzers 321 is a program library that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined primary analysis process on the extracted analysis records to generate one or more result records, and generates result data in which one or more result records are arranged for one or more types. For example, each of the multiple primary data analyzers 321 is a dynamic link library that can be dynamically linked to an executable program. The result records are processed records that have been subjected to information processing by the data collection device 300.

[0044] The analysis data is also array structure data in which one or more records are arranged for one or more types. Each of the multiple primary data analyzers 321 acquires RAW data collected by any of the multiple data collectors 311 as analysis data, and extracts RAW records of a predetermined type from the RAW data as analysis records. When the RAW data includes the above-mentioned attribute definition data, each of the multiple primary data analyzers 321 may extract RAW records of a predetermined type based on the attribute definition data of the RAW data.

[0045] When the RAW data is arranged such that multiple RAW records for one or more types are associated with a time, the primary data analyzer 321 may extract from the multiple RAW records one or more result records that are RAW records whose values ​​have changed compared to the previous RAW record in chronological order.

[0046] 5A is a graph showing the time change of a RAW record expressed by a binary value, such as the control mode of the actuator described above, and includes a plurality of RAW records R10. The plurality of RAW records R10 shows a transition TR10 of the control mode.

[0047] When the primary data analyzer 321 extracts RAW records whose values ​​have changed from the previous RAW record in time order as one or more result records from multiple RAW records, two RAW records R11 and R12 are extracted from multiple RAW records R10, as shown in Fig. 5(b). Based on the RAW records R11 and R12 and their attribute of "representing a change point of the control mode", it is possible to represent the transition TR10 of the control mode in the same way as the multiple RAW records R10 represented. In this way, the process of thinning out records other than the change point can significantly reduce the amount of data required to represent the transition TR10.

[0048] Another specific example of the primary analysis process executed by the primary data analyzer 321 is given below. Example 2-1) Based on the attribute definition data of the RAW data, a RAW record indicating the operating speed of the actuator (hereinafter referred to as the "speed record") and a RAW record indicating the driving force of the actuator (hereinafter referred to as the "force record") are extracted. Based on the relationship between the speed record and the force record, the deterioration level of the actuator's reducer (an example of a result record) is generated. Result data is generated in which one or more result records are associated with one type and arranged, with a header that defines an attribute of one type as "deterioration level of the reducer". Example 2-2) Extract a RAW record (hereinafter referred to as a "mode record") indicating the control mode of the actuator based on the attribute definition data of the RAW data. Extract one or more mode records whose values ​​have changed from the previous mode record in chronological order as result records from multiple mode records. Generate result data in which one or more result records are associated with one type and arranged in the recorded data, and a header is added that defines the attribute of one type as "indicating a change point in the control mode."

[0049] The primary data analyzer 321 may generate result data in which one or more result records are arranged for each of one or more types in association with a time. The time in the result data may be the time when the result record was generated, or may be the time when the RAW record used to generate the result record was acquired.

[0050] The database accessor 331 is a program library that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the data in the database 332. For example, the database accessor 331 is a dynamic link library that can be dynamically linked to an executable program. The registration data is also array structure data in which one or more records are arranged for one or more types.

[0051] The database format is, for example, a tag structure format in which structured tags are attached to each record. A specific example of the tag structure format is the JavaScript Object Notation (JSON) format.

[0052] 6 is a schematic diagram illustrating tag structure data in which array structure data is converted into a tag structure format. The tag structure data includes a plurality of structured records 420. Each of the plurality of structured records 420 includes a record value 422 and a structured tag 421 attached to the record value 422.

[0053] The database accessor 331 may attach a structured tag to each of the one or more registration records based on the data array of the registration data, and register the one or more registration records in the database 332. When the registration data includes the above-mentioned attribute definition data, the database accessor 331 may attach a structured tag indicating an attribute to each of the one or more registration records based on the type of each of the one or more registration records and the attribute definition data of the registration data.

[0054] The database accessor 331 may attach a structure tag further indicating the arrangement within the type to each of the one or more registration records. For example, when the registration data arranges a plurality of registration records for each of one or more types in association with time, the database accessor 331 may attach a structure tag further indicating the time (an example of the arrangement within the type) to each of the plurality of registration records.

[0055] For example, the database accessor 331 acquires result data generated by any one of the multiple primary data analyzers 321 as data to be registered, converts the result data into a database format based on the data arrangement of the result data, and registers it in the database 332 .

[0056] As an example, the database accessor 331 attaches a structure tag to each of one or more result records based on the type of each of the one or more result records of the result data and the attribute definition data of the result data. For example, when the result data arranges multiple result records in association with time for the deterioration level of the reducer, the database accessor 331 attaches a structure tag indicating the attribute "deterioration level of the reducer" and the time to each of the multiple result records.

[0057] The database accessor 331 may further acquire RAW data collected by any one of the multiple data collectors 311 as data to be registered, convert the RAW data into a database format based on the data arrangement of the RAW data, and register the converted data in the database 332 .

[0058] As an example, the database accessor 331 may attach a structure tag to each of one or more RAW records based on the type of each of the one or more RAW records of the RAW data and the attribute definition data of the RAW data. For example, when the RAW data arranges a plurality of RAW records for each of "actuator operation amount", "actuator operation speed", "driving force generated by the actuator", and "actuator drive current" in association with time, the database accessor 331 attaches a structure tag indicating the attribute "actuator operation amount" and time to each of the plurality of RAW records belonging to "actuator operation amount". Furthermore, the database accessor 331 assigns a structured tag indicating the attribute "actuator operating speed" and time to each of the multiple RAW records belonging to "actuator operating speed".

[0059] The database accessor 331 also assigns structured tags indicating the attribute "driving force generated by the actuator" and time to each of the multiple RAW records belonging to "driving force generated by the actuator". The database accessor 331 also assigns structured tags indicating the attribute "driving current of the actuator" and time to each of the multiple RAW records belonging to "driving current of the actuator".

[0060] The application manager 334 controls the flow of data between the data collector 311 , the primary data analyzer 321 and the application store 333 .

[0061] For example, the application manager 334 controls the transfer of array structure data between the data collector 311, the primary data analyzer 321, and the application storage unit 333 based on the application program stored in the application storage unit 333. The transfer of array structure data includes storing the array structure data in a predetermined storage area and transferring a reference to the storage area. The application program is, for example, an executable program.

[0062] As an example, the application program may include the following processes. Process 1-1) One of the plurality of data collectors 311 is started at a predetermined time, and the raw data collected by the started data collector 311 is stored in the first storage area. Process 1-2) While transferring a reference to the first memory area as a memory area for data to be analyzed, one of the multiple primary data analyzers 321 is started, and the result record generated by the started primary data analyzer 321 is stored in the second memory area. Process 1-3) While passing the reference to the second storage area as a storage area for the registration data, the database accessor 331 is started, and the started database accessor 331 converts the result data into a database format and causes the result data to be registered in the database 332.

[0063] In this case, the application manager 334 causes the primary data analyzer 321 to acquire the raw data collected by the data collector 311 as data for analysis, and causes the database accessor 331 to acquire the result data generated by the primary data analyzer 321 as data for registration.

[0064] The application program may further include the following processes. Process 2-1) While passing the reference to the first storage area as a storage area for the registration data, the database accessor 331 is started, and the started database accessor 331 converts the RAW record into a database format and causes it to be registered in the database 332.

[0065] In this case, the application manager 334 causes the database accessor 331 to further acquire the raw data collected by the data collector 311 as registration data.

[0066] Whether the application manager 334 causes the database accessor 331 to acquire RAW data is determined depending on whether the application program includes process 2-1. The application storage unit 333 is an example of a setting storage unit that stores a necessity setting that determines whether or not RAW data needs to be registered. The application manager 334 switches whether or not to cause the database accessor 331 to acquire RAW data as data for registration based on the necessity setting of the setting storage unit.

[0067] The application program may be configured to switch whether or not to execute the process 2-1 based on one or more result records generated by the primary data analyzer 321. In this case, the application manager 334 switches whether or not to cause the database accessor 331 to acquire the RAW data as data for registration based on one or more result records generated by the primary data analyzer 321.

[0068] As an example, the application program may be configured to require execution of process 2-1 if an abnormality is found in one or more result records generated by the primary data analyzer 321, and to not require execution of process 2-1 if no abnormality is found in one or more result records generated by the primary data analyzer 321.

[0069] The data collection facility 300 may further comprise a database accessor 335 and the analyzer store 320 may further store one or more secondary data analyzers 322. The analyzer store 320 may store multiple secondary data analyzers 322.

[0070] The database accessor 335 (second database accessor) generates secondary data in which one or more secondary records are arranged for one or more types, based on the data read from the database 332. The secondary data is also array structure data in which one or more records are arranged for one or more types.

[0071] For example, the database accessor 335 reads data including multiple structured records from the database 332, generates attribute definition data for the array structure data based on the structured tags included in each structured record, and arranges the record values ​​included in each structured record into one or more types based on the attribute definition data.

[0072] Each of the multiple secondary data analyzers 322 (second data analyzers) is a program library that acquires secondary analysis data in which one or more secondary analysis records are arranged for one or more types, extracts secondary analysis records of a predetermined type from the secondary analysis data based on the data arrangement of the secondary analysis data, performs a predetermined secondary analysis process (second analysis process) on the extracted secondary analysis records to generate one or more secondary result records, and generates secondary result data in which one or more secondary result records are arranged for one or more types.

[0073] For example, each of the multiple secondary data analyzers 322 acquires the secondary data generated by the database accessor 335 as secondary analysis data, extracts a predetermined type of secondary analysis record from the secondary data based on the data arrangement of the secondary data, performs secondary analysis processing on the extracted secondary analysis record to generate one or more secondary result records, and generates secondary result data in which one or more secondary result records are arranged for each of one or more types.

[0074] A specific example of the secondary analysis process performed by database accessor 335 and secondary data analyzer 322 is given below. Example 3-1) The database accessor 335 reads data including a plurality of structured tags to which structured tags indicating the time within a predetermined period and the above-mentioned "deterioration level of the reducer" are attached from the database 332. The database accessor 335 generates a secondary record including record data in which the records of the plurality of read structured tags are arranged in correspondence with the time, and attribute definition data in which the attribute of the type is "deterioration level of the reducer". The secondary data analyzer 322 extracts a secondary analysis record indicating the deterioration level of the reducer from the secondary record. The secondary data analyzer 322 derives the recommended maintenance time when the deterioration level of the reducer reaches a predetermined level as a secondary result record based on the secondary analysis record. The secondary data analyzer 322 generates secondary result data in which a header defining an attribute of one type as "recommended maintenance time of the reducer" is attached to the record data in which one or more result records are arranged in correspondence with one type.

[0075] Fig. 7 is a graph for illustrating the derivation of the recommended maintenance timing. The horizontal axis of Fig. 7 represents elapsed time, and the vertical axis represents the deterioration degree of the reducer. The secondary data analyzer 322 derives a deterioration trend line TL1 based on multiple result records R20, and derives the elapsed time t1 at which the deterioration trend line TL1 intersects with a threshold value TV1 for recommending maintenance as the recommended maintenance timing.

[0076] When the data collection device 300 further includes a database accessor 335 and the analyzer storage unit 320 further stores a secondary data analyzer 322, the application program may further include the following processes. Process 3-1) The database accessor 335 is started at a predetermined time, and the secondary data generated by the started database accessor 335 is stored in the third storage area. Process 3-2) While transferring a reference to the third memory area as a memory area for secondary analysis data, one of the multiple secondary data analyzers 322 is started, and the secondary result record generated by the started secondary data analyzer 322 is stored in the fourth memory area. Process 3-3) While passing the reference to the fourth memory area as a memory area for registration data, the database accessor 331 is started, and the secondary result data is converted into a database format by the started database accessor 331 and registered in the database 332.

[0077] In this case, the application manager 334 causes the secondary data analyzer 322 to acquire the secondary data generated by the database accessor 335 as data for secondary analysis, and causes the database accessor 331 to acquire the secondary result data generated by the secondary data analyzer 322 as data for registration. The database accessor 331 further acquires the secondary result data, converts the secondary result data into a database format based on the data arrangement of the secondary result data, and further registers it in the database.

[0078] The analyzer storage unit 320 may store the identification information of the secondary data analyzer 322 in association with a record type required for the secondary analysis process. In this case, the application manager 334 may specify a target to be read from the database 332 based on the record type associated with the secondary data analyzer 322 in the analyzer storage unit 320, and cause the database accessor 335 to generate secondary data.

[0079] The data collection device 300 may further include a program registration unit 336. The program registration unit 336 acquires a new application program created by the user and stores it in the application storage unit 333.

[0080] The data collector 311, primary data analyzer 321, secondary data analyzer 322, database accessor 331, database accessor 335, etc. used by the application program are held by the data collection device 300. Therefore, an application program can be created by a simple task of defining the combination of the data collector 311, primary data analyzer 321, secondary data analyzer 322, database accessor 331, database accessor 335, the flow of array structure data, the execution time, etc.

[0081] As described above, the application program includes a necessity setting that determines whether or not to register RAW data, and the program registration unit 336 is an example of a setting acquisition unit that acquires the necessity setting that determines whether or not to register RAW data and stores it in the setting storage unit.

[0082] The program registration unit 336 may be further configured to acquire the data collector 311 created by the user and store it in the collector storage unit 310. In this case, the data collector 311 can be added in response to the addition of a local device 2, etc., and the RAW data to be collected can be flexibly expanded.

[0083] The program registration unit 336 may be further configured to acquire the primary data analyzer 321 or the secondary data analyzer 322 created by the user and store it in the analyzer storage unit 320. In this case, the contents of the primary analysis process and the secondary analysis process can be flexibly modified.

[0084] Fig. 8 is a block diagram illustrating a hardware configuration of the control system 3. As shown in Fig. 8, the local controller 100 has a circuit 190. The circuit 190 includes one or more processors 191, a memory 192, a storage 193, a communication port 194, and a driver circuit 195. The storage 193 has a computer-readable storage medium such as a non-volatile semiconductor memory. The storage 193 stores a control program for causing the local controller 100 to control the local device 2 based on an operation program.

[0085] The memory 192 temporarily stores the programs loaded from the storage medium of the storage 193 and the results of calculations by the processor 191. The processor 191 configures each functional block of the local controller 100 by executing the programs in cooperation with the memory 192. The communication port 194 communicates with the upper controller 200 via the first network line NW1 in accordance with a command from the processor 191. The driver circuit 195 outputs driving power to the local device 2 in accordance with a command from the processor 191.

[0086] The upper controller 200 has a circuit 290. The circuit 290 includes one or more processors 291, a memory 292, a storage 293, communication ports 294 and 295, and an input / output port 296. The storage 293 has a computer-readable storage medium, such as a non-volatile semiconductor memory. The storage 293 stores a program for causing the upper controller 200 to acquire operation information and environmental information, and output an execution command for an operation program based on the operation information and environmental information.

[0087] The memory 292 temporarily stores the programs loaded from the storage medium of the storage 293 and the results of calculations by the processor 291. The processor 291 configures each functional block of the host controller 200 by executing the above programs in cooperation with the memory 292. The communication port 294 communicates with the local controller 100 via the first network line NW1 in accordance with instructions from the processor 291. The communication port 295 communicates with the data collecting device 300 via the second network line NW2 in accordance with instructions from the processor 291. The input / output port 296 inputs and outputs information to and from the environmental sensor 5 in accordance with instructions from the processor 291.

[0088] The data collection device 300 includes a circuit 390. The circuit 390 includes one or more processors 391, a memory 392, a storage 393, a communication port 394, a display device 395, and an input device 396. The storage 393 includes a computer-readable storage medium, such as a non-volatile semiconductor memory. The storage 393 further includes, as program storage units, a collector storage unit 310, an analyzer storage unit 320, an application storage unit 333, a storage unit for a database accessor 331 and a database accessor 335, and a storage unit for a base program (e.g., an operating system) for configuring the application manager 334 and the program registration unit 336 in the data collection device 300. The storage 393 further includes a storage unit for a database 332.

[0089] The memory 392 temporarily stores the program loaded from the storage medium of the storage 393 and the calculation result by the processor 391. The processor 391 configures each functional block of the data collecting device 300 by executing the above program in cooperation with the memory 392. The communication port 394 communicates with the upper controller 200 via the second network line NW2 according to a command from the processor 391. The display device 395 and the input device 396 function as a user interface of the data collecting device 300. The display device 395 includes, for example, a liquid crystal monitor, and is used to display information to the user. The input device 396 is, for example, a keypad, and acquires information input by the user. The display device 395 and the input device 396 may be integrated into one device, such as a so-called touch panel. The display device 395 and the input device 396 may be provided in an external device connected to the data collecting device 300, or may be incorporated in the data collecting device 300.

[0090] Note that the circuits 190, 290, and 390 are not necessarily limited to circuits that configure each function by a program. For example, the circuits 190, 290, and 390 may configure at least some of their functions by dedicated logic circuits or ASICs (Application Specific Integrated Circuits) that integrate such circuits.

[0091] [Data collection procedure] Next, as an example of a data collection method, a data collection procedure executed by the data collection device 300 will be illustrated in detail. This procedure includes collecting RAW data in which one or more RAW records are arranged for one or more types from an industrial device, acquiring the RAW data, extracting a predetermined type of analysis record from the RAW data based on the data arrangement of the RAW data, performing a predetermined analysis process on the extracted analysis record to generate one or more result records, generating result data in which one or more result records are arranged for one or more types, acquiring the result data, converting the result data into a predetermined database format based on the data arrangement of the result data, and registering the result data in a database.

[0092] As an example, the data collection procedure includes a program registration procedure, a primary analysis procedure, a raw data registration procedure, and a secondary analysis procedure. Each procedure will be described in detail below.

[0093] (Program registration procedure) As shown in Fig. 9, the data collecting device 300 first executes steps S01 and S02. In step S01, the program registration unit 336 displays a programming screen on the display device 395. The programming screen includes, for example, an application definition area that defines a combination of the data collector 311, the primary data analyzer 321, the secondary data analyzer 322, the database accessor 331, and the database accessor 335, the flow of array structure data, and the execution time, an application registration operation unit (e.g., a button) that requests the registration of an application program, a collector registration operation unit (e.g., a button) that requests the registration of the data collector 311, and an analyzer registration operation unit (e.g., a button) that requests the registration of the primary data analyzer or the secondary data analyzer. In step S02, the program registration unit 336 checks whether the application registration operation unit requests the registration of an application program.

[0094] If it is determined in step S02 that registration of an application program has been requested, the data collection device 300 executes steps S03 and S04. In step S03, the program registration unit 336 generates an application program based on the contents entered in the application definition area. In step S04, the program registration unit 336 stores the application program in the application storage unit 333.

[0095] If it is determined in step S02 that registration of the application program has not been requested, the data collection device executes step S05. In step S05, the program registration unit 336 checks whether or not registration of the data collector 311 has been requested by the collector registration operation unit.

[0096] If it is determined in step S05 that registration of the data collector 311 has been requested, the data collection device executes steps S06, S07, and S08. In step S06, the program registration unit 336 displays a collector selection screen on the display device 395 for selecting one or more new data collectors 311 that have been generated in advance. In step S07, the program registration unit 336 waits for a selection input on the collector selection screen. In step S08, the program registration unit 336 stores in the collector storage unit 310 the one or more new data collectors 311 selected on the collector selection screen.

[0097] If it is determined in step S05 that registration of the data collector 311 has not been requested, the data collecting device 300 executes step S11. In step S11, the program registration unit 336 checks whether or not registration of the primary data analyzer 321 or the secondary data analyzer 322 has been requested by the analyzer registration operation unit.

[0098] If it is determined in step S11 that registration of the primary data analyzer 321 or the secondary data analyzer 322 has been requested, the data collection device 300 executes steps S12, S13, and S14. In step S12, the program registration unit 336 causes the display device 395 to display an analyzer selection screen for selecting one or more new primary data analyzers 321 or secondary data analyzers 322 that have been generated in advance. In step S13, the program registration unit 336 waits for a selection input on the analyzer selection screen.

[0099] In step S14, the program registration unit 336 stores one or more new primary data analyzers 321 or secondary data analyzers 322 selected on the analyzer selection screen in the analyzer storage unit 320. When storing the secondary data analyzer 322 in the analyzer storage unit 320, the program registration unit 336 may store in the analyzer storage unit 320 the identification information of the secondary data analyzer 322 and a record type required for the secondary analysis process in association with each other.

[0100] After steps S04, S08, and S14, the data collecting device 300 executes step S15. Even if it is determined in step S11 that registration of the primary data analyzer 321 and the secondary data analyzer 322 is not requested, the data collecting device 300 executes step S15. In step S15, the program registration unit 336 checks whether an input to complete programming has been made on the programming screen.

[0101] If it is determined in step S15 that an input to complete the programming has not been made, the data collection device 300 returns the process to step S02. If it is determined in step S15 that an input to complete the programming has been made, the program registration procedure is completed.

[0102] (Primary analysis procedure) As is clear from the above description, the data collection device 300 can execute multiple types of primary analysis processes. Fig. 10 is a flowchart illustrating a procedure for executing any one of the primary analysis processes. In the following, among the multiple types of primary analysis processes, the one primary analysis process targeted by the flowchart in Fig. 10 will be simply referred to as the "primary analysis process".

[0103] 10, the data collection device 300 first executes steps S21, S22, S23, S24, S25, S26, S27, and S28. In step S21, the application manager 334 waits for the execution time of the primary analysis process.

[0104] In step S22, the application manager 334 starts one or more of the multiple data collectors 311 to collect RAW data required for the primary analysis process. Each of the started one or more data collectors 311 collects RAW data. In step S23, the application manager 334 starts the primary data analyzer 321 for the primary analysis process using the RAW data collected in step S22 as analysis data. The started primary data analyzer 321 obtains the specified RAW data and extracts records for primary analysis from the RAW data.

[0105] In step S24, the primary data analyzer 321 performs a primary analysis process on the analysis records extracted in step S23 to generate one or more result records, and generates result data in which one or more result records are arranged for each of one or more types. In step S25, the application manager 334 starts the database accessor 331 using the result data generated in step S24 as registration data. The database accessor 331 obtains the specified result data, and reads out the first result record from the result data.

[0106] In step S26, the database accessor 331 generates a structured record by attaching a structure tag to the result record based on the data arrangement of the result data. In step S27, the database accessor 331 stores the structured record in the database 332. In step S28, the database accessor 331 checks whether or not registration of all the result records in the result data has been completed.

[0107] If it is determined in step S28 that an unregistered result record remains in the result data, the data collection device 300 executes step S29. In step S29, the database accessor 331 reads the next result record from the result data. After that, the data collection device 300 returns the process to step S26. After that, the reading, structuring, and registration of the result records are repeated until the registration of all the result records in the result data is completed.

[0108] If it is determined in step S28 that registration of all result records in the result data has been completed, the primary analysis procedure is completed. The data collection device 300 repeatedly executes the above process.

[0109] (RAW data registration procedure) As is clear from the above description, the data collection device 300 can acquire multiple types of RAW data. Fig. 11 is a flowchart illustrating a procedure for registering any one of the RAW data. In the following, among the multiple types of RAW data, one piece of RAW data targeted by the flowchart in Fig. 11 is simply referred to as "RAW data".

[0110] 11, the data collection device 300 first executes steps S31, S32, S33, S34, S35, and S36. In step S31, the application manager 334 waits for the time to collect RAW data. In step S32, the application manager 334 starts the data collectors 311 for collecting RAW data. Each of the started data collectors 311 collects RAW data.

[0111] In step S33, the application manager 334 uses the RAW data collected in step S32 as registration data and starts the database accessor 331. The database accessor 331 acquires the specified RAW data and reads the first RAW record from the RAW data.

[0112] In step S34, the database accessor 331 generates a structured record by attaching a structure tag to the RAW record based on the data arrangement of the RAW data. In step S35, the database accessor 331 stores the structured record in the database 332. In step S36, the database accessor 331 checks whether or not registration of all RAW records in the RAW data has been completed.

[0113] If it is determined in step S36 that an unregistered RAW record remains in the RAW data, the data collection device 300 executes step S37. In step S37, the database accessor 331 reads the next RAW record from the RAW data. After that, the data collection device 300 returns the process to step S34. After that, the reading, structuring, and registration of the RAW records are repeated until the registration of all the RAW records in the RAW data is completed.

[0114] If it is determined in step S36 that the registration of all RAW records in the RAW data has been completed, the procedure for registering the RAW data is completed. The data collection device 300 repeatedly executes the above process.

[0115] (Secondary Analysis Procedure) As is clear from the above description, the data collection device 300 can execute multiple types of secondary analysis processes. Fig. 12 is a flowchart illustrating a procedure for executing any one of the secondary analysis processes. In the following, of the multiple types of secondary analysis processes, one secondary analysis process that is the subject of the flowchart in Fig. 12 will be simply referred to as the "secondary analysis process".

[0116] 12, the data collection device 300 first executes steps S41, S42, S43, S44, S45, S46, S47, and S48. In step S41, the application manager 334 waits for the execution time of the secondary analysis process.

[0117] In step S42, the application manager 334 specifies the data to be read from the database 332 based on the record type required for the secondary analysis process, and causes the database accessor 335 to generate secondary data. For example, the application manager 334 specifies the data to be read from the database 332 based on the record type associated with the secondary data analyzer 322 for the secondary analysis process in the analyzer storage unit 320.

[0118] In step S43, the application manager 334 uses the secondary data generated in step S42 as data for secondary analysis and starts the secondary data analyzer 322 for secondary analysis processing. The started secondary data analyzer 322 obtains the specified secondary data and extracts records for secondary analysis from the secondary data.

[0119] In step S44, the secondary data analyzer 322 performs secondary analysis processing on the secondary analysis records extracted in step S43 to generate one or more secondary result records, and generates secondary result data in which the one or more secondary result records are arranged for one or more types.

[0120] In step S45, the application manager 334 uses the secondary result data generated in step S44 as registration data and starts the database accessor 331. The database accessor 331 obtains the specified secondary result data and reads the first secondary result record from the secondary result data.

[0121] In step S46, the database accessor 331 generates a structured record by attaching a structure tag to the secondary result record based on the data arrangement of the secondary result data. In step S47, the database accessor 331 stores the structured record in the database 332. In step S48, the database accessor 331 checks whether or not registration of all secondary result records in the secondary result data has been completed.

[0122] If it is determined in step S48 that an unregistered secondary result record remains in the secondary result data, the data collection device 300 executes step S49. In step S49, the database accessor 331 reads the next secondary result record from the secondary result data. The data collection device 300 then returns the process to step S46. Thereafter, the reading, structuring, and registration of the secondary result records are repeated until the registration of all secondary result records in the secondary result data is completed.

[0123] If it is determined in step S48 that the registration of all the secondary result records in the secondary result data has been completed, the secondary analysis procedure is completed. The data collection device 300 repeatedly executes the above process.

[0124] (Variation of RAW data registration procedure) As described above, the application manager 334 may switch whether or not to cause the database accessor 331 to acquire RAW data as data for registration based on one or more result records generated by the primary data analyzer 321. The procedure for registering RAW data in this case will be exemplified below.

[0125] 13, the data collection device 300 first executes steps S51 to S59, which are the same primary analysis procedure as steps S21 to S29. Then, the data collection device 300 executes step S61. In step S61, the application manager 334 checks whether or not RAW data needs to be registered based on one or more result records generated by the primary data analyzer 321 in the primary analysis process.

[0126] If it is determined in step S61 that registration of RAW data is necessary, the data collection device 300 executes steps S63 to S67, which are the same RAW data registration procedure as steps S33 to S37. If it is determined in step S61 that registration of RAW data is not necessary, the data collection device 300 omits registration of the RAW data. This completes the RAW data registration procedure.

[0127] [Effects of this embodiment] As described above, the data collection device 300 includes one or more data collectors 311 that collect RAW data in which one or more RAW records related to the operation of industrial equipment are arranged for one or more types; a primary data analyzer 321 that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which one or more result records are arranged for one or more types; a database accessor 331 that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the registration data in a database 332; and an application manager 334 that controls the flow of data between the data collector 311, the primary data analyzer 321, and the database accessor 331.

[0128] According to this data collection device 300, by adding at least one of the data collector 311 and the primary data analyzer 321 and changing the data flow by the application manager 334, it is possible to flexibly expand the contents registered in the database 332 while maintaining the database format. Therefore, it is effective in achieving both ease of expansion of the database 332 and ease of use of the database 332.

[0129] The database format is a tag structure format in which a structural tag is attached to each record, and the database accessor 331 may attach a structural tag to each of one or more registration records based on the data arrangement of the registration data, and register the records in the database 332. In this case, the ease of use of the database 332 is further improved by registering the data in the tag structure format.

[0130] The registration data includes attribute definition data that defines attributes for one or more types of one or more registration records, and the database accessor 331 may attach structured tags indicating attributes to each of the one or more registration records based on each type of the one or more registration records and the attribute definition data of the registration data. In this case, more appropriate structured tags can be easily attached to each record.

[0131] The database accessor 331 may attach a structural tag to each of the one or more registration records that further indicates the placement within the type, making it easier to attach more appropriate structural tags to each individual record.

[0132] The application manager 334 may cause the primary data analyzer 321 to acquire the raw data collected by the data collector 311 as data for analysis, and cause the database accessor 331 to acquire the result data generated by the primary data analyzer 321 as data for registration. In this case, the processing load on the database 332 can be reduced compared to reading and analyzing data that has been registered in the database 332 once.

[0133] The RAW data includes attribute definition data that defines attributes for one or more types of one or more RAW records, and the primary data analyzer 321 may extract analysis records of a predetermined type based on the attribute definition data of the RAW data. In this case, the analysis records can be easily extracted.

[0134] The application manager 334 may further cause the database accessor 331 to acquire the RAW data collected by the data collector 311 as data for registration. In this case, by registering the RAW data in addition to the result data in the database 332, it is possible to build a database 332 that can flexibly adapt to various needs that may arise in the future.

[0135] The data collection device 300 further includes a program registration unit 336 (setting acquisition unit) that acquires a necessity setting that determines whether or not to register RAW data and stores it in an application storage unit 333 (setting storage unit), and the application manager 334 may switch whether or not to cause the database accessor 331 to acquire the RAW data collected by the data collector 311 as data to be registered based on the necessity setting in the setting storage unit. In this case, the processing load on the database 332 can be further reduced by omitting to register RAW data not required by the user in the database.

[0136] The application manager 334 may switch whether or not to cause the database accessor 331 to acquire the RAW data collected by the data collector 311 as data for registration based on one or more result records generated by the primary data analyzer 321. In this case, more appropriate selection of the RAW data can be supported.

[0137] The data collection device 300 further includes a database accessor 335 that generates secondary data in which one or more secondary records are arranged for one or more types based on data read from the database 332, and a secondary data analyzer 322 that acquires secondary analysis data in which one or more secondary analysis records are arranged for one or more types, extracts secondary analysis records of a predetermined type from the secondary analysis data based on the data arrangement of the secondary analysis data, performs a predetermined second analysis process on the extracted secondary analysis records to generate one or more secondary result records, and generates secondary result data in which one or more secondary result records are arranged for one or more types, and the application manager 334 may cause the secondary data analyzer 322 to acquire the secondary data generated by the database accessor 335 as secondary analysis data, and cause the database accessor 331 to acquire the secondary result data generated by the secondary data analyzer 322 as registration data. In this case, multi-stage data analysis according to the accumulation status of data in the database 332 is possible, and further effective use of the database 332 can be promoted.

[0138] The data collection device 300 may further include an analyzer storage unit 320 that stores identification information of the secondary data analyzer 322 in association with a record type required for the second analysis process, and the application manager 334 may specify the target to be read from the database 332 based on the record type associated with the secondary data analyzer 322 in the analyzer storage unit 320 and cause the database accessor 335 to generate secondary data. In this case, the processing load on the database 332 can be further reduced by narrowing down the records to be read from the database 332 according to the contents of the secondary analysis.

[0139] The data collector 311 may collect RAW data in which multiple RAW records are arranged in association with time for one or more types, and the primary data analyzer 321 may extract, from the multiple RAW records, one or more result records whose values ​​have changed from the previous RAW record in chronological order. In this case, it is possible to easily reduce the processing load on the database 332 while suppressing a decrease in the amount of information contained in the multiple RAW records.

[0140] Although the embodiments have been described above, the present disclosure is not necessarily limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present disclosure. [Explanation of symbols]

[0141] 2...local equipment (industrial equipment), 300...data collection device, 311...data collector, 320...analyzer memory unit, 321...primary data analyzer (data analyzer), 322...secondary data analyzer (second data analyzer), 331...database accessor, 332...database, 333...application memory unit (setting memory unit), 334...application manager, 335...database accessor (second database accessor), 336...program registration unit (setting acquisition unit).

Claims

1. One or more data collectors that collect raw data in which one or more raw records related to the operation of industrial equipment are arranged by one or more types; a data analyzer that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which the one or more result records are arranged for one or more types; a database accessor that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the data in a database; A data collection apparatus comprising: an application manager that controls the flow of data between the data collector, the data analyzer, and the database accessor.

2. the database format is a tag structure format in which structure tags are attached to individual records, 2. The data collection device according to claim 1, wherein said database accessor adds a structure tag to each of said one or more registration records based on a data sequence of said registration data and registers said record in said database.

3. the registration data includes attribute definition data that defines attributes for each of the one or more types of the one or more registration records; 3. The data collection device according to claim 2, wherein the database accessor attaches a structural tag indicating an attribute to each of the one or more registration records based on the type of each of the one or more registration records and the attribute definition data of the registration data.

4. 4. The data collection apparatus of claim 3, wherein said database accessor attaches a structural tag to each of said one or more registration records further indicating placement within a type.

5. A data collection device as described in any one of claims 1 to 4, wherein the application manager causes the data analyzer to acquire the RAW data collected by the data collector as the analysis data, and causes the database accessor to acquire the result data generated by the data analyzer as the registration data.

6. the raw data includes attribute definition data that defines attributes for each of one or more types of the one or more raw records; 6. The data collection device according to claim 5, wherein the data analyzer extracts the analysis records of the predetermined type based on the attribute definition data of the raw data.

7. 7. The data collection device according to claim 5, wherein the application manager causes the database accessor to further acquire the raw data collected by the data collector as the registration data.

8. A setting acquisition unit that acquires a setting for determining whether or not the RAW data is to be registered and stores the setting in a setting storage unit, 8. The data collection device according to claim 7, wherein the application manager switches whether or not to cause the database accessor to acquire the raw data collected by the data collector as the registration data, based on the necessity setting in the setting storage unit.

9. 8. The data collection device according to claim 7, wherein the application manager switches whether or not to cause the database accessor to acquire the raw data collected by the data collector as the registration data based on the one or more result records generated by the data analyzer.

10. a second database accessor that generates secondary data in which one or more secondary records are arranged for one or more types based on the data read from the database; a second data analyzer that acquires secondary analysis data in which one or more secondary analysis records are arranged for one or more types, extracts secondary analysis records of a predetermined type from the secondary analysis data based on the data arrangement of the secondary analysis data, performs a predetermined second analysis process on the extracted secondary analysis records to generate one or more secondary result records, and generates secondary result data in which the one or more secondary result records are arranged for one or more types, A data collection device as described in any one of claims 5 to 9, wherein the application manager causes the second data analyzer to acquire the secondary data generated by the second database accessor as the data for secondary analysis, and causes the database accessor to acquire the secondary result data generated by the second data analyzer as the data for registration.

11. an analyzer storage unit that stores identification information of the second data analyzer and a record type required for the second analysis process in association with each other; The data collection device according to claim 10 , wherein the application manager specifies the target to be read from the database based on the record type associated with the second data analyzer in the analyzer storage unit and causes the second database accessor to generate the secondary data.

12. The data collector collects the raw data in which a plurality of raw records are arranged in association with a time for each of one or more types, 12. The data collection device according to claim 5, wherein the data analyzer extracts, from the plurality of RAW records, a RAW record whose value has changed relative to a RAW record immediately preceding it in time order as the one or more result records.

13. One or more data collectors that collect raw data from the industrial equipment, the raw data being one or more raw records related to the operation of the industrial equipment arranged by one or more types; a data analyzer that acquires the raw data, extracts a predetermined type of analysis record from the raw data based on a data arrangement of the raw data, performs a predetermined analysis process on the extracted analysis record to generate one or more result records, and generates result data in which one or more result records are arranged for each of one or more types; a database accessor that acquires the result data, converts the result data into a predetermined database format based on a data arrangement of the result data, and registers the result data in a database.

14. the database format is a tag structure format in which structure tags are attached to individual records, 14. The data collection device according to claim 13, wherein the database accessor adds a structure tag to each of the one or more result records based on a data arrangement of the result data and registers the result records in the database.

15. 15. The data collection device according to claim 13, wherein the database accessor further acquires the raw data, converts the raw data into the database format based on a data sequence of the raw data, and further registers the raw data in the database.

16. a second database accessor that generates secondary data in which one or more secondary records are arranged for one or more types based on the data read from the database; a second data analyzer that acquires the secondary data, extracts a predetermined type of secondary analysis record from the secondary data based on a data arrangement of the secondary data, performs a predetermined second analysis process on the extracted secondary analysis record to generate one or more secondary result records, and generates secondary result data in which one or more secondary result records are arranged for each of one or more types, The data collection device according to any one of claims 13 to 15, wherein the database accessor further acquires the secondary result data, converts the secondary result data into the database format based on a data arrangement of the secondary result data, and further registers the secondary result data in the database.

17. One or more data collectors that collect raw data in which one or more raw records related to the operation of industrial equipment are arranged by one or more types; a data analyzer that acquires analysis data in which one or more analysis records are arranged for one or more types, extracts analysis records of a predetermined type from the analysis data based on the data arrangement of the analysis data, performs a predetermined analysis process on the extracted analysis records to generate one or more result records, and generates result data in which the one or more result records are arranged for one or more types; a database accessor that acquires registration data in which one or more registration records are arranged for one or more types, converts the registration data into a predetermined database format based on the data arrangement of the registration data, and registers the data in a database; A program comprising: an application manager that controls the flow of data between the data collector, the data analyzer, and a database accessor.

18. One or more data collectors of a data collection device collect RAW data from the industrial equipment, the RAW data being one or more RAW records relating to the operation of the industrial equipment arranged by one or more types; A data analyzer of the data collection device acquires the raw data, extracts a predetermined type of analysis record from the raw data based on a data arrangement of the raw data, performs a predetermined analysis process on the extracted analysis record to generate one or more result records, and generates result data in which one or more result records are arranged for each of one or more types; a database accessor of the data collection device acquiring the result data, converting the result data into a predetermined database format based on a data arrangement of the result data, and registering the result data in a database.

Citation Information

Patent Citations

  • Data collection device, and control method and control program for the same

    JP2013225317A

  • Data acquisition system, acquisition device, information acquisition program, server device and server program

    JP2018055457A

  • Data analysis system

    WO2017216830A1