WO2021241384A1 - データ管理装置、及びデータ管理方法 - Google Patents

データ管理装置、及びデータ管理方法 Download PDF

Info

Publication number
WO2021241384A1
WO2021241384A1 PCT/JP2021/019120 JP2021019120W WO2021241384A1 WO 2021241384 A1 WO2021241384 A1 WO 2021241384A1 JP 2021019120 W JP2021019120 W JP 2021019120W WO 2021241384 A1 WO2021241384 A1 WO 2021241384A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
test data
computer
unit
time
Prior art date
Application number
PCT/JP2021/019120
Other languages
English (en)
French (fr)
Inventor
二寛 青木
Original Assignee
ファナック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ファナック株式会社 filed Critical ファナック株式会社
Priority to CN202180037310.9A priority Critical patent/CN115668151A/zh
Priority to US17/924,267 priority patent/US20230176559A1/en
Priority to JP2022526948A priority patent/JPWO2021241384A1/ja
Priority to DE112021003026.4T priority patent/DE112021003026T5/de
Publication of WO2021241384A1 publication Critical patent/WO2021241384A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection

Definitions

  • the present invention relates to a data management device and a data management method.
  • One aspect of the data management device of the present disclosure includes an input unit for inputting data output from at least one device, a storage unit for storing the data input by the input unit as test data, and an external unit.
  • a communication control unit that acquires test data requested based on a request from the device from the storage unit and controls transmission of the requested test data to the external device, and a request based on the transmission control of the communication control unit. It includes a communication unit that transmits the test data to the external device.
  • One aspect of the data management method of the present disclosure is to input data output from at least one device, store the input data as test data in a storage unit, and based on a request from an external device.
  • the requested test data is acquired from the storage unit, the requested test data is transmitted and controlled to the external device, and the requested test data is transmitted to the external device based on the transmission control.
  • test data of various devices for testing an application it is possible to provide test data of various devices for testing an application.
  • FIG. 1 is a diagram showing a functional configuration of the data management device 1 according to the first embodiment.
  • the data management device 1 is an information processing device such as a server that is communication-connected with various devices 2 used in the factory and a computer 3 such as a manufacturer of the device 2 for developing an application or a third party.
  • the device 2 includes, for example, a control device, a robot, a sensor, and the like, and the data management device 1 includes an interface for communicating with each of the devices 2.
  • the device 2 is not limited to a control device, a robot, and a sensor, but is not limited to a machine tool, an injection molding machine, an industrial machine such as an industrial robot, a peripheral device such as a transport vehicle or a conveyor, a tablet terminal for input by a worker, or a tablet terminal. It may include a mobile terminal such as a smartphone.
  • two or more control devices, a plurality of robots, a plurality of sensors, and the like may be connected to the data management device 1 as the device 2.
  • the device 2 of the control device will be described as a numerical control device (CNC) for controlling the machine tool, it may be a robot control device for controlling the robot.
  • CNC numerical control device
  • the computer 3 is a computer device such as a personal computer, a tablet terminal, or a smartphone.
  • the computer 3 requests the data management device 1 to transmit test data and acquires the requested test data in order to confirm the operation and debug the application 30 being developed.
  • the application 30 is stored in a storage unit (not shown) such as an HDD included in the computer 3 and executed by a control unit (not shown) such as a processor included in the computer 3. Further, two or more computers 3 may be connected to the data management device 1.
  • the data management device 1 has a control unit 10 and a storage unit 20. Further, the control unit 10 includes an input unit 11, an editing unit 12, a communication control unit 13, and a communication unit 14. The control unit 10 realizes each function of the present embodiment by executing predetermined software (data management program) stored in the storage unit 20.
  • the storage unit 20 is an SSD (Solid State Drive), an HDD (Hard Disk Drive), or the like, and stores predetermined software (data management program). Further, the storage unit 20 has a storage area for the robot data 21, the CNC data 22, and the sensor data 23.
  • FIG. 2 is a diagram showing an example of time-series data of a normal system of a robot.
  • time-series data of a plurality of items from the robot device 2 is output at predetermined sampling cycles, input to the input unit 11 described later, and sequentially recorded in the storage area of the robot data 21. Will be done.
  • the operating state, alarm information, and the like are recorded together with the robot model name and control program name that are key information.
  • the control program is said to be between the start and the end.
  • Time-series data of various items output from the robot are recorded in a cycle of 500 msec.
  • the time-series data in FIG. 2 is, for example, in the robot data 21 as test data of the file name "data001" whose data attributes are the device number "R001", the model “modelA”, the program "PROG_001", and the state "normal system”. Stored.
  • the data management device 1 detects the start of the control program "PROG_001” triggered by the fact that the status information of the robot task of the time-series data is switched to "RUNNING", and switches to "END". It is possible to detect the end by using that as a trigger.
  • the data management device 1 may record the time-series data of various items output from the robot from the start to the end of the control program in the robot data 21 at a predetermined sampling cycle such as 500 msec. In this case, the data management device 1 uses the time-series data as test data of the file name "data002" whose data attributes are the device number "R001", the model “modelA”, the program “PROG_002", and the state "normal system". It can be stored in the robot data 21.
  • the data management device 1 controls.
  • the time-series data of various items output from the robot from the start to the end of the program may be recorded at a predetermined sampling cycle such as 500 msec.
  • the data management device 1 uses the time-series data as test data of the file name "data003" whose data attributes are the device number "R001", the model “modelA”, the program "PROG_003", and the state "normal system". It can be stored in the robot data 21.
  • the data management device 1 causes the robot data 21 to execute.
  • the n normal time-series data output from the robot may be stored as the file names "data001" to "data00n".
  • the data management device 1 has a normal robot data table (not shown) in which the storage unit 20 is associated with n control programs and the corresponding n normal time series data file names. Can be stored (n is an integer greater than or equal to 2).
  • the data management device 1 may store in the robot data 21 time-series data of an abnormal system such as the robot device 2 stopping during operation as test data.
  • FIG. 3 is a diagram showing an example of time-series data of an abnormal system of a robot.
  • the control program "PROG_001-e” that stops during the work gripping operation and outputs the power off alarm information is executed in the robot device 2 of the model "model A” with the device number "R001".
  • the time-series data of various items output from the robot from the start to the stop of the control program is recorded in a cycle of 500 msec.
  • the alarm number “1” and the alarm message “power off” indicating an abnormality are recorded in the alarm information of the sampling 3.
  • the time-series data in FIG. 3 is, for example, as test data of a file name "data001-e” whose data attributes are the device number "R001", the model “modelA”, the program "PROG_001-e", and the state "abnormal system”. It is stored in the robot data 21.
  • the control program "PROG_002-” in which the robot device 2 of the model “model A” with the device number "R001” replaces the abnormal system control program "PROG_001-e” with the abnormal system work set operation.
  • the data management device 1 records the time-series data of various items output from the robot from the start to the stop of the control program at a predetermined sampling cycle such as 500 msec. You may do so.
  • the data management device 1 has a file name "data002-e” whose data attributes are the device number "R001”, the model “modelA”, the program “PROG_002-e”, and the state "abnormal system”. It can be stored in the robot data 21 as test data.
  • the device 2 of the robot of the model “model A” with the device number "R001” executes another control program "PROG_003-e” that performs an abnormal screw tightening operation
  • it is a data management device. 1 may record time-series data of various items output from the robot from the start to the stop of the control program at a predetermined sampling cycle such as 500 msec.
  • the data management device 1 has a file name "data003-e” whose data attributes are the device number "R001", the model “modelA”, the program "PROG_003-e", and the state "abnormal system". It can be stored in the robot data 21 as test data.
  • the data management device 1 causes the robot data 21 to output n output from the robot.
  • the time-series data of the abnormal system may be stored as "data00n-e" from the file names "data001-e”.
  • the data management device 1 corresponds to the storage unit 20 with n control programs of the abnormal system and the file names of the corresponding time-series data of the n abnormal systems, as in the case of the normal system.
  • the attached abnormal robot data table (not shown) can be stored.
  • the data management device 1 can be set by executing n normal system control programs and n abnormal system control programs by the device 2 of one robot of the model "model A" with the device number "R001".
  • N normal time-series data and n abnormal time-series data were acquired as test data, but the data is not limited to this.
  • the data management device 1 has n normal system control programs and n normal control programs for each of a plurality of devices 2 such as other robots of the model “model A” having the device number “R002” connected to the data management device 1.
  • the control programs of the abnormal system may be executed respectively.
  • the data management device 1 can acquire n normal time-series data and n abnormal time-series data from each of the plurality of devices 2 and store them in the robot data 21 as test data.
  • FIG. 4 is a diagram showing an example of time-series data of a normal system of a control device.
  • time-series data of a plurality of items from the device 2 of the control device is output at predetermined sampling cycles, input to the input unit 11 described later, and sequentially recorded in the CNC data 22. go.
  • the operating state, alarm information, and the like are recorded together with the model name and machining program name of the control device, which are key information.
  • the time-series data in FIG. 4 is stored in the CNC data 22 as test data having the data attributes of the device number "C001", the model "seriesA-1", the program "1001", and the data name "data1001" having the status "normal system".
  • a data management device is obtained by causing the device 2 of the control device of the model "series A-1" to execute m (for example, 100) normal machining programs with the device number "C001". 1 may store m time-series data of the normal system output from the control device in the CNC data 22 as the file names "data1001" to "data100m”. Further, although not shown, by causing the device 2 of the control device of the model "series A-1" to execute m machining programs of the abnormal system with the device number "C001", the data management device 1 can be used for the CNC data 22.
  • the time series data of m abnormal systems by the control device may be stored as "data100m-e" from the file names "data1001-e".
  • m is an integer of 2 or more.
  • the data management device 1 has a normal CNC data table (a normal CNC data table in which m normal processing programs and corresponding m normal time series data file names are associated with each other in the storage unit 20. (Not shown) can be stored.
  • the data management device 1 has an abnormal CNC data table (illustrated) in which the storage unit 20 is associated with m machining programs of the abnormal system and the file names of the corresponding time-series data of the m abnormal systems. Not) can be memorized.
  • the data management device is obtained by executing m normal system machining programs and m abnormal system machining programs by the device 2 of one control device of the model "series A-1" with the device number "C001".
  • m time-series data of a normal system and m time-series data of an abnormal system were acquired as test data, but the present invention is not limited to this.
  • the data management device 1 has a device number "C002" connected to the data management device 1 and has m normal machining programs and a machining program for each of a plurality of devices 2 such as other control devices of the model "series A-1".
  • the machining programs of m abnormal systems may be executed respectively.
  • the data management device 1 acquires m time-series data of the normal system and m time-series data of the abnormal system from each of the plurality of devices 2 and stores them in the CNC data 22 as test data. Can be done.
  • FIG. 5 is a diagram showing an example of time series data of the sensor. As shown in FIG. 5, for example, time-series data of a plurality of items such as vibration and temperature detected by the device 2 of a sensor arranged in a machine tool or the like are output at predetermined sampling cycles and input to be described later. It is input to the unit 11 and sequentially recorded in the sensor data 23.
  • the control unit 10 of the data management device 1 shown in FIG. 1 has a CPU (Central Processing Unit), a ROM, a RAM, a CMOS (Complementary Metal-Oxide-Semiconductor) memory, and the like, and these can communicate with each other via a bus. It is known to those skilled in the art.
  • the CPU is a processor that controls the data management device 1 as a whole.
  • the CPU reads out the system program and the application program stored in the ROM via the bus, and controls the entire data management device 1 according to the system program and the application program.
  • the control unit 10 is configured to realize the functions of the input unit 11, the editing unit 12, the communication control unit 13, and the communication unit 14.
  • CMOS memory is backed up by a battery (not shown), and is configured as a non-volatile memory in which the storage state is maintained even when the power of the data management device 1 is turned off.
  • the input unit 11 inputs, for example, time-series data output from each of the devices 2 by executing a program of a normal system or an abnormal system in each of the devices 2.
  • the input unit 11 stores each of the input time-series data as test data in any of the robot data 21, the CNC data 22, and the sensor data 23 according to the device 2.
  • the test data stored in the robot data 21, the CNC data 22, and the sensor data 23 may be acquired from each of the devices 2 by polling at a fixed cycle, or may be acquired at an individual cycle. Alternatively, data may be transmitted from the device 2 irregularly in response to the occurrence of a specific event.
  • the input unit 11 inputs time-series data via an interface having conversion functions such as an electric signal, a communication protocol, and a data format between the data management device 1 and the device 2. Further, when the device 2 complies with a protocol such as OPC UA (registered trademark) or MTConnect (registered trademark), the input unit 11 can input time series data in a predetermined data format by software.
  • the communication interface is not limited to wired communication, and the data management device 1 and the device 2 may be connected by, for example, a wireless LAN.
  • the communication control unit 13 acquires the requested test data from the storage unit 20 based on the request from the computer 3 which is an external device, and controls the transmission of the requested test data to the computer 3.
  • the communication unit 14 is a communication interface or the like, and based on the transmission control of the communication control unit 13, the requested test data is converted into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark). And send it to the computer 3.
  • OPC UA registered trademark
  • MTConnect registered trademark
  • the editorial unit 12 edits the test data stored in the robot data 21, the CNC data 22, and the sensor data 23 of the storage unit 20 in response to a request from the computer 3.
  • the editorial unit 12 stores the edited test data in the storage unit 20.
  • (1) when newly creating test data using the editing tool for the process, (2) when creating test data for load test etc. using the editing tool, ( A case of creating desired test data using an editing tool and a case of changing test data parameters using an editing tool will be described. In the following, the case where the device 2 is a robot will be described, but the same applies to the control device, the sensor, and the combination thereof.
  • FIG. 6 is a diagram showing an example of a setting screen of the editing tool.
  • the editorial unit 12 requests, for example, test data of a line that executes three steps of a work gripping operation, a work set operation, and a screw tightening operation from a computer 3 on one robot device 2.
  • the setting screen (for the process) of the editing tool is displayed on a display device (not shown) such as a liquid crystal display included in the computer 3.
  • the computer 3 inputs "3" to the number of processes on the setting screen (for processes) of the editing tool based on an input operation by the user via an input device (not shown) such as a keyboard or a touch panel included in the computer 3.
  • an input device such as a keyboard or a touch panel included in the computer 3.
  • FIG. 6 a screen for setting each of the three processes appears on the setting screen (for processes) of the editing tool displayed on the display device (not shown) of the computer 3.
  • the editorial unit 12 uses the selected model "model A" as key information and stores the storage unit 20. By searching the data stored in the device number, a candidate for the device number and the data may be specified.
  • the computer 3 may select the device number "R001" as one robot that performs each process based on the input operation of the user on the setting screen (for the process) of the editing tool of FIG. Further, the computer 3 uses the normal system test data "data001", “data002”, and “data003” as test data for each process of the work gripping operation, the work set operation, and the screw tightening operation based on the input operation of the user. May be selected respectively. Then, when the "save" button A on the setting screen (for the process) of the editing tool is pressed by the user, the computer 3 sends a signal including the setting contents set on the setting screen of the editing tool to the data management device 1. Send.
  • the editorial unit 12 has test data of the file names "data001”, “data002”, and “data003” having the data attribute of the model “modelA” and the device number "R001” based on the setting contents included in the signal received from the computer 3. Is read from the storage unit 20. The editorial unit 12 arranges the read test data of the file names "data001”, “data002”, and “data003” in the order of the steps, combines them, and stores them in the storage unit 20 as new test data (for example, the file name "data0123"). .. The communication control unit 13 acquires the created new test data from the storage unit 20 based on the request from the computer 3, and transmits and controls the requested new test data to the computer 3.
  • the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark) based on the transmission control of the communication control unit 13, and the computer 3 Send to.
  • the computer 3 can confirm the operation of the application 30 and debug the operation on the line where the three steps of the work gripping operation, the work set operation, and the screw tightening operation are executed by one robot device 2.
  • FIG. 7 is a diagram showing an example of a setting screen of an editing tool for creating new abnormal system test data.
  • FIG. 8 is a diagram showing an example of a setting screen of an editing tool for creating new test data in which a normal system and an abnormal system are combined.
  • FIG. 9 is a flowchart illustrating an editing process of test data according to the present embodiment.
  • the computer 3 inputs the number of processes to the setting screen (for processes) of the editing tool displayed on the display device (not shown) of the computer 3 based on the input operation of the user.
  • step S2 the computer 3 displays the setting screens for the number of processes input in step S1 on the setting screen (for processes) of the editing tool displayed on the display device (not shown) of the computer 3.
  • step S3 the computer 3 selects the model of each process based on the input operation of the user.
  • step S4 the editorial unit 12 of the data management device 1 identifies a candidate for the device number and data using the model of each process selected in step S3 as key information.
  • step S5 the computer 3 selects the device number and data of each process based on the input operation of the user.
  • step S6 the editing unit 12 of the data management device 1 is based on the setting contents set on the setting screen of the editing tool when the "save" button A on the setting screen (for the process) of the editing tool is pressed by the user. Then, new test data is created, and the created new test data is stored in the storage unit 20.
  • the editorial unit 12 has created new test data for a line that executes a plurality of processes with the device 2 of one robot based on a request from the computer 3, but the present invention is not limited to this.
  • the editorial unit 12 may create new test data of a line in which the devices 2 of the plurality of robots execute different processes based on the request from the computer 3.
  • FIG. 10 is a diagram showing an example of the setting screen of the editing tool. For example, a setting item for the number of times the process is repeated is added to the setting screen of the editing tool of FIG.
  • FIG. 11 is a diagram showing an example of a time series of each process in which each of the three robot devices 2 operates.
  • the editorial unit 12 inputs the next work at the time t 2 when the work of the process 1 is completed with respect to the work input at the time t 1 based on the required time of each process. It is detected that a residence time occurs from time t 3 to time t 4 until the work of step 2 is completed.
  • the editing unit 12 may display a message and / or a residence time at which the retention occurs on the setting screen of the editing tool. In this way, the editorial unit 12 can check whether or not retention occurs between the processes from the time required for each process of the combined test data.
  • FIG. 12 is a flowchart illustrating an editing process of test data when stagnation occurs.
  • the processes from step S11 to step S15 and step S20 are the same as those from step S1 to step S5 and step S6 in FIG. 9, and the description thereof will be omitted.
  • step S16 the computer 3 selects the number of times the process is repeated based on the input operation of the user.
  • step S17 the editorial unit 12 of the data management device 1 calculates the required time of each process from the test data of each process to be combined.
  • step S18 the editorial unit 12 of the data management device 1 determines whether or not retention occurs between the processes based on the required time of each process calculated in step S17. If retention occurs between the steps, the process proceeds to step S19. On the other hand, if no retention occurs between the steps, the process proceeds to step S20.
  • step S19 the editing unit 12 of the data management device 1 displays a message of stagnation occurrence and a stagnation time on the setting screen (for process) of the editing tool displayed on the display device (not shown) of the computer 3.
  • the case of creating new test data using the editing tool for the process has been described above.
  • FIG. 13 is a diagram showing an example of a setting screen of the editing tool.
  • the editorial unit 12 loads the application 30 from the computer 3 in order to confirm whether the application 30 can be normally processed even if a large number of robot devices 2 such as 100 are connected at the same time.
  • the setting screen (for the device) of the editing tool is displayed on the display device (not shown) of the computer 3.
  • the computer 3 inputs, for example, "100" to the number of devices of the device 2 on the setting screen (for the device) of the editing tool based on the input operation of the user.
  • a screen for setting each of the devices 2 of the 100 robots appears. ..
  • the editorial unit 12 searches for data stored in the storage unit 20 using the selected model "model A" as key information. By doing so, the candidate of the device number and the data may be specified.
  • the computer 3 may select the device number of each robot from “R001" to “R100” based on the input operation of the user on the setting screen (for the device) of the editing tool of FIG. Further, the computer 3 may select the test data "data011” as the test data of the normal system to be operated by each robot based on the input operation of the user. Then, when the "save" button A on the setting screen (for the device) of the editing tool is pressed by the user, the computer 3 sends a signal including the setting contents set on the setting screen of the editing tool to the data management device 1. Send.
  • the editorial unit 12 stores the test data of the file name "data011” from the device number "R001” to the device number "R100” with the data attribute of the model "modelA” based on the setting contents included in the signal received from the computer 3. Read from each unit 20.
  • the editorial unit 12 stores the read test data of the model "model A” from the device number "R001” to the file name "data011” of the device number “R100” in the storage unit 20 as new test data combined into one.
  • the communication control unit 13 acquires the created new test data from the storage unit 20 based on the request from the computer 3, and transmits and controls the requested new test data to the computer 3.
  • the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark) based on the transmission control of the communication control unit 13, and the computer 3 Send to.
  • the computer 3 can test the load test application 30 in which the equipment 2 of 100 robots is connected and operated.
  • the editorial unit 12 has created new test data using the test data of the normal system of the equipment 2 of the 100 robots, but the present invention is not limited to this.
  • FIG. 14 is a diagram showing an example of the setting screen of the editing tool.
  • the editorial unit 12 may, for example, create new test data as test data of an abnormal system in the test data of some of the equipment 2 of the equipment 2 of 100 robots.
  • the abnormal system test data “data011-e” may be selected as the test data of the device 2 of the device numbers “R001” and “R002” of the model “model A”.
  • the editorial unit 12 reads the test data of the file name “data011” of the device number “R100” from the device number “R001” in the model “model A” from the storage unit 20, but the present invention is not limited to this.
  • the editorial unit 12 reads the test data of the file name "data011” of the device 2 of one robot having the device number "R001” in the model “model A” from the storage unit 20, and the read test data is the remaining 99 pieces.
  • the model "model A” may be copied from the device number "R002" to the test data of the device 2 of each robot of the device number "R100".
  • the editorial unit 12 may create new test data by combining the test data of the devices 2 of the 100 robots into one, and store the test data in the storage unit 20.
  • the editorial unit 12 may create new test data for each of the 100 robot devices 2 to execute a plurality of processes.
  • the editorial unit 12 combines the normal test data of the file names “data001”, “data002”, and “data003” for each of the 100 robot devices 2. It is preferable to create test data for executing one step in advance and store it in the storage unit 20 as a file name "data0123" or the like.
  • FIG. 15 is a flowchart illustrating an editing process of test data when a plurality of devices 2 are selected.
  • step S31 the computer 3 inputs the number of devices of the device 2 to the setting screen (for the device) of the editing tool displayed on the display device (not shown) of the computer 3 based on the input operation of the user.
  • step S32 the computer 3 displays the setting screens for the number of devices input in step S31 on the setting screen (for the device) of the editing tool displayed on the display device (not shown) of the computer 3.
  • step S33 the computer 3 selects the model of each device 2 based on the input operation of the user.
  • step S34 the editorial unit 12 of the data management device 1 identifies a candidate for the device number and data using the model selected in step S33 as key information.
  • step S35 the computer 3 selects the device number and data of each device 2 based on the input operation of the user.
  • step S36 the editing unit 12 of the data management device 1 is based on the setting contents set on the setting screen of the editing tool when the "save" button A on the setting screen (for the device) of the editing tool is pressed by the user. Then, new test data is created, and the created new test data is stored in the storage unit 20.
  • the case of creating test data for load test etc. using an editing tool has been described above.
  • the editorial unit 12 cuts out a part of the test data stored in the storage unit 20 in response to a request from the computer 3. You may create new test data.
  • the speed reducer diagnosis application 30 for diagnosing the deterioration level of the speed reducer of the robot shaft will be described, but the same applies to applications other than the speed reducer diagnosis.
  • FIG. 16 is a diagram showing an example of time-series data of the deterioration level of the speed reducer of the shaft of the robot.
  • the vertical axis of FIG. 16 indicates the deterioration level, and the horizontal axis of FIG. 16 indicates the date.
  • the deterioration level in FIG. 16 is measured in a daily cycle based on a known method such as a fluctuation of the current value supplied to a motor (not shown) for driving the speed reducer and a fluctuation of the torque value generated by the motor. Then, the measured values from January 20, 2019 to February 5, 2019 are stored in the storage unit 20.
  • the speed reducer diagnosis application 30 based on the deterioration level of FIG.
  • FIG. 17A is a diagram showing an example of time-series data for speed reducer diagnosis having a date and time column and a deterioration level column.
  • FIG. 17B is a diagram showing an example of a setting screen of the editing tool. Specifically, when the editorial unit 12 receives a request for test data from the computer 3 for the speed reducer diagnosis application 30, the editorial unit 12 together with the time series data of the speed reducer diagnosis having the date and time column and the deterioration level column shown in FIG. 17A.
  • the setting screen of the editing tool shown in FIG. 17B is displayed on a display device (not shown) of the computer 3.
  • the time series data in FIG. 17A is the same as that in FIG.
  • the editorial unit 12 uses the selected "reducer diagnosis” as key information.
  • the computer 3 may acquire time-series data of the deterioration level from the data management device 1 and display the date column and the deterioration level column of the acquired time-series data as shown in FIG. 17A.
  • the computer 3 is based on the user's input operation to test, for example, whether or not the speed reducer diagnosis application 30 outputs an alert indicating an abnormality when the deterioration level is “4” or higher, as shown in FIG. 17B.
  • the speed reducer diagnosis application 30 When the date and time of "February 5, 2019 10:00" is selected by the editing tool, "4.2" may be displayed in the deterioration level column. Then, when the "save as separate data” button A1 of the editing tool is pressed by the user, the computer 3 transmits a signal including the setting contents set on the setting screen of the editing tool to the data management device 1.
  • the editorial unit 12 has the deterioration level “4.” of the date and time “February 5, 2019 10:00” based on the deterioration level data stored in the storage unit 20 based on the setting contents included in the signal received from the computer 3. 2 ”data is cut out.
  • the editorial unit 12 stores the cut out data in the storage unit 20 as new test data.
  • the communication control unit 13 acquires the created new test data from the storage unit 20 based on the request from the computer 3, and transmits and controls the requested new test data to the computer 3.
  • the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark) based on the transmission control of the communication control unit 13, and the computer 3 Send to.
  • OPC UA registered trademark
  • MTConnect registered trademark
  • the computer 3 determines whether or not the speed reducer diagnosis application 30 outputs an alert indicating an abnormality when the deterioration level is "4" or higher, that is, whether or not the speed reducer diagnosis application 30 operates as designed. Can be tested.
  • the editorial unit 12 searches the time-series data of the reducer diagnosis by the deterioration level (for example, "4" or higher), and uses the deterioration level data of the date and time "February 5, 2019 10:00" as an editing tool. It may be displayed.
  • FIG. 18 is a flowchart illustrating an editing process of test data when desired data is cut out from time series data.
  • step S41 the computer 3 selects a type of diagnosis target such as a speed reducer diagnosis on the setting screen of the editing tool displayed on the display device (not shown) of the computer 3 based on the input operation of the user.
  • a type of diagnosis target such as a speed reducer diagnosis
  • step S42 the editorial unit 12 of the data management device 1 identifies a candidate for the date and time and data using the type selected in step S41 as key information.
  • step S43 the computer 3 selects the date and time based on the input operation of the user.
  • step S44 the computer 3 displays the date and time data selected in step S43.
  • step S45 the editorial unit 12 of the data management device 1 cuts out the data of the date and time selected in step S43 when the "save as separate data" button A1 on the setting screen of the editing tool is pressed by the user, and new data is obtained. It is stored in the storage unit 20 as test data.
  • the editorial unit 12 cuts out data of one date and time based on a request from the computer 3 and creates new test data, but the present invention is not limited to this.
  • the editorial unit 12 may cut out data over a period specified by a request from the computer 3.
  • FIG. 19 is a diagram showing an example of a setting screen of the editing tool. As shown in FIG.
  • the editorial unit 12 when the editorial unit 12 receives a request for test data from the computer 3 to the speed reducer diagnosis application 30, the editorial unit 12 of the editing tool together with the time-series data having the date and time column and the deterioration level column of FIG. 17A.
  • the setting screen may be displayed on a display device (not shown) of the computer 3.
  • the computer 3 selects "reducer diagnosis (specified period)" as the type of diagnosis target in the editing tool of FIG. 19 based on the input operation of the user, the editorial unit 12 selects the selected "reducer diagnosis (decelerator diagnosis).
  • the date and time and the candidate of the deterioration level may be specified by searching the deterioration level stored in the storage unit 20 using "period designation)" as the key information.
  • the computer 3 displays the date column and the deterioration level column of the time series data on the display device (not shown) of the computer 3 as shown in FIG. 17A, and also displays the start date and time column and the start as shown in FIG. You may display an editing tool that includes a date and time degradation level column, an end date and time column, and an end date and time degradation level column.
  • the computer 3 selects "January 29, 2019 10:00" in the start date and time field, and selects "February 5, 2019 10:00" in the end date and time field, based on the input operation of the user.
  • the deterioration level column of the start date and time is displayed as "3”
  • the deterioration level column of the end date and time is displayed as "4.2".
  • the computer 3 transmits a signal including the setting contents set on the setting screen of the editing tool to the data management device 1.
  • the editorial unit 12 starts from the start date and time "January 29, 2019 10:00" to the end date and time "from the deterioration level data stored in the storage unit 20 based on the setting contents included in the signal received from the computer 3.
  • the deterioration level data for the period of "10:00 on February 5, 2019" is cut out.
  • the editorial unit 12 stores the cut out data in the storage unit 20 as new test data.
  • FIG. 20 is a flowchart illustrating an editing process of test data when a cutting period is specified.
  • the processes of steps S51 and S52 are the same as those of steps S41 and S42 of FIG. 18, and the description thereof will be omitted.
  • step S53 the computer 3 selects the start date and time based on the input operation of the user.
  • step S54 the computer 3 displays the data of the start date and time selected in step S53.
  • step S55 the computer 3 selects the end date and time based on the input operation of the user.
  • step S56 the computer 3 displays the data of the end date and time selected in step S55.
  • step S57 the editorial unit 12 of the data management device 1 cuts out the data for the period selected in steps S54 and S56 when the "save as separate data" button A1 on the setting screen of the editing tool is pressed by the user. , Stored in the storage unit 20 as new test data. The case of creating desired test data using an editing tool has been described above.
  • the time-series data of the deterioration level is "4" or more, which is determined to be abnormal in the reducer. Even if this happens, it is unlikely that the speed will exceed "10", which is determined to be broken. Therefore, it is difficult for the computer 3 to test whether or not the speed reducer diagnosis application 30 outputs an alert indicating that the speed reducer is damaged when the deterioration level is “10” or higher. Therefore, the editorial unit 12 cuts out a part of the test data stored in the storage unit 20 based on the request from the computer 3, and changes the parameter of the cut out test data, for example, the deterioration level to "10" or higher. Create test data.
  • the speed reducer diagnosis application 30 for diagnosing the deterioration level of the speed reducer of the robot shaft will be described, but the same applies to applications other than the speed reducer diagnosis.
  • FIG. 21A is a diagram showing an example of a setting screen of the editing tool.
  • the editorial unit 12 receives a request for test data from the computer 3 to the speed reducer diagnosis application 30, the date and time of the time series data of FIG. 17A is displayed on the display device (not shown) of the computer 3.
  • the column and the deterioration level column are displayed, and the setting screen of the editing tool of FIG. 21A is displayed.
  • the computer 3 selects "reducer diagnosis" as the type of diagnosis target in the editing tool of FIG. 21A based on the input operation of the user
  • the editorial unit 12 uses the selected "reducer diagnosis" as key information.
  • the date and time and the candidate of the deterioration level may be specified by searching the deterioration level stored in the storage unit 20.
  • the computer 3 may acquire time-series data of the deterioration level from the data management device 1 and display the date column and the deterioration level column of the acquired time-series data as shown in FIG. 17A.
  • the computer 3 is based on, for example, a user's input operation to test whether the speed reducer diagnostic application 30 outputs an alert indicating that the speed reducer is damaged when the deterioration level is "10" or higher.
  • "4.2" can be displayed in the deterioration level column.
  • FIG. 21B is a diagram showing an example of a setting screen of the editing tool after the deterioration level is changed.
  • the deterioration level in the deterioration level column is changed to "10.2" in the editing tool of FIG. 21A based on the input operation of the user, and the "save as separate data” button A3 is pressed by the user.
  • an input field for a change date and time and a "save” button A4 are displayed in the editing tool.
  • FIG. 21B A signal including the setting contents set on the setting screen of the editing tool of is transmitted to the data management device 1.
  • the editorial unit 12 has the deterioration level “4.” of the date and time “February 5, 2019 10:00” based on the deterioration level data stored in the storage unit 20 based on the setting contents included in the signal received from the computer 3. 2 ”data is cut out.
  • the editorial unit 12 changes the cut out data to the data of the deterioration level "10.2" of the date and time "February 5, 2020 10:00", and stores it in the storage unit 20 as new test data.
  • the communication control unit 13 acquires the created new test data from the storage unit 20 based on the request from the computer 3, and transmits and controls the requested new test data to the computer 3.
  • the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark) based on the transmission control of the communication control unit 13, and the computer 3 Send to.
  • the computer 3 determines whether or not the speed reducer diagnosis application 30 outputs an alert indicating damage to the speed reducer when the deterioration level is "10" or higher, that is, the speed reducer diagnosis application 30 operates as designed. You can test whether to do it or not.
  • FIG. 22 is a flowchart illustrating an editing process of test data when changing parameters from time series data.
  • the processes from step S61 to step S64 are the same as those from steps S41 to S44 in FIG. 18, and the description thereof will be omitted.
  • step S65 when the data in the deterioration level column is changed based on the user's input operation and the "save as separate data” button A3 is pressed by the user, the computer 3 inputs the change date and time in the editing tool. And the "Save” button A4 is displayed.
  • step S66 the computer 3 inputs the change date and time in the change date and time input field based on the user's input operation.
  • step S67 the editorial unit 12 of the data management device 1 inputs the date and time data selected in step S64 in steps S65 and S66 when the "save" button A4 on the setting screen of the editing tool is pressed by the user. It is changed to the changed contents and stored in the storage unit 20 as new test data.
  • the case of changing the parameters of the test data using the editing tool has been described above.
  • FIG. 23 is a flowchart illustrating the processing of the data management device 1.
  • step S71 the input unit 11 inputs time-series data from the device 2 such as a robot, a control device, and a sensor.
  • the device 2 such as a robot, a control device, and a sensor.
  • step S72 the storage unit 20 stores the time-series data input in step S71 in the storage unit 20.
  • step S73 the editorial unit 12 performs the editing process of any one of FIGS. 9, 12, 15, 15, 20, and 22 in response to the request from the computer 3, and uses it as new test data. It is stored in the storage unit 20.
  • step S74 the communication control unit 13 acquires the test data edited in step S73 from the storage unit 20, and controls transmission of the requested new test data to the computer 3.
  • step S75 the communication unit 14 transmits the requested new test data to the computer 3 based on the transmission control in step S74.
  • steps S71 and S72 in the flow of FIG. 23 may be omitted.
  • the data management device 1 of the first embodiment executes the programs of the normal system and the abnormal system on various devices 2 such as the robot, the control device, and the sensor, and the normal system and the abnormality output from the device 2 are executed.
  • the data management device 1 edits the test data based on the request from the computer 3, stores the edited test data, and transmits the edited test data to the computer 3.
  • the data management device 1 can provide test data of various devices for testing the application 30.
  • the computer 3 can then test the application 30.
  • the first embodiment has been described above.
  • the data management device 1 controls the transmission of the requested test data based on the transmission interval or the transmission time requested by the computer 3. By doing so, the application can be tested under the same conditions as the specifications of the target device.
  • the second embodiment will be described below.
  • FIG. 24 is a diagram showing a functional configuration of the data management device 1 according to the second embodiment.
  • the elements having the same functions as the elements of the data management device 1 of FIG. 1 are designated by the same reference numerals, and detailed description thereof will be omitted.
  • the data management device 1 according to the second embodiment has a control unit 10a and a storage unit 20.
  • the storage unit 20 has the robot data 21, the CNC data 22, and the sensor data 23, similarly to the storage unit 20 of the first embodiment.
  • the control unit 10a includes an input unit 11, an editing unit 12, a communication control unit 13a, and a communication unit 14.
  • the control unit 10 realizes each function of the second embodiment by executing predetermined software (data management program) stored in the storage unit 20.
  • the input unit 11, the editorial unit 12, and the communication unit 14 have the same functions as the input unit 11, the editorial unit 12, and the communication unit 14 in the first embodiment.
  • the communication control unit 13a acquires the requested test data from the storage unit 20 based on the request from the computer 3, and transfers the requested test data to the computer 3. Transmission control. Further, the communication control unit 13a according to the second embodiment converts (1) the time stamp at the time of creating the test data into the current time and controls transmission of the requested test data, or (2) is requested by the computer 3. Controls the transmission of the requested test data at the transmission interval.
  • the operation of the communication control unit 13a in each case will be described.
  • FIG. 25 is a diagram showing an example of a setting screen of a transmission tool.
  • the communication control unit 13a receives a test data transmission instruction from the computer 3, the communication control unit 13a displays the setting screen of the transmission tool on the display device (not shown) of the computer 3.
  • the communication control unit 13a uses the selected "robot" as key information. Then, the test data to be transmitted is specified by searching the test data stored in the storage unit 20.
  • the computer 3 may select, for example, the test data of the file name “data001” in FIG. 2 on the setting screen of the transmission tool of FIG. 25 based on the input operation of the user.
  • the "send" button A5 on the setting screen of the transmission tool is pressed by the user, the computer 3 transmits a signal including the setting contents set on the setting screen of the transmission tool to the data management device 1.
  • the communication control unit 13a reads out the test data of the file name "data001" from the storage unit 20 based on the setting contents included in the signal received from the computer 3.
  • the communication control unit 13a has a time stamp (for example, 9:00:105 on March 1, 2019, 9:00:00 on March 1, 2019) at the time of creating test data of the read file name "data001". : 605, etc.) is converted according to the current time (for example, 10:00: 505 on September 10, 2019, 10:00: 01: 005 on September 10, 2019, etc.), and the time of the test data is converted. Transmission control is performed to the computer 3 at the stamp interval (for example, 500 msec).
  • the communication unit 14 Based on the transmission control of the communication control unit 13, the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark), and transmits the requested test data to the computer 3. do.
  • the test data created in the past can be used as the current data, and can be used as if the data was transmitted in real time from the connected device 2.
  • FIG. 26 is a flowchart illustrating the test data transmission process according to the second embodiment.
  • step S81 the computer 3 inputs the type of the device 2 to be transmitted to the setting screen of the transmission tool displayed on the display device (not shown) of the computer 3 based on the input operation of the user.
  • step S82 the communication control unit 13a of the data management device 1 identifies a candidate for data to be transmitted using the type selected in step S81 as key information.
  • step S83 the computer 3 selects data based on the input operation of the user.
  • step S84 when the "send" button A5 of the transmission tool is pressed by the user, the computer 3 transmits the transmission instruction of the selected data to the data management device 1.
  • step S85 the communication control unit 13a converts the time stamp of the selected data according to the current time based on the transmission instruction from the computer 3, and controls the transmission to the computer 3 at the interval of the data time stamp.
  • step S86 the communication unit 14 transmits the selected data to the computer 3 based on the transmission control of the communication control unit 13a.
  • the case where the time stamp at the time of test data creation is converted to the current time and the requested test data is transmitted and controlled has been described above.
  • FIG. 27 is a diagram showing an example of a setting screen of a transmission tool.
  • the communication control unit 13a receives a test data transmission interval change instruction from the computer 3, the communication control unit 13a displays the setting screen of the transmission tool on the display device (not shown) of the computer 3.
  • the communication control unit 13a uses the selected "sensor" as key information.
  • the test data to be transmitted is specified by searching the test data stored in the storage unit 20.
  • the computer 3 may select, for example, the test data of FIG.
  • the computer 3 selects the selected test data transmission interval to "1 sec” or the like on the setting screen of the transmission tool of FIG. 27 based on the input operation of the user.
  • the "send" button A5 on the setting screen of the transmission tool is pressed by the user, the computer 3 transmits a signal including the setting contents set on the setting screen of the transmission tool to the data management device 1.
  • the communication control unit 13a reads out the test data of the file name “data2001” from the storage unit 20 based on the setting contents included in the signal received from the computer 3.
  • the communication control unit 13a replaces the read test data of the file name "data2001” with the 1-minute interval indicated by the time stamp of the test data, and controls transmission to the computer 3 at the 1-second interval indicated by the setting content.
  • the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark), and transmits the requested test data to the computer 3. do.
  • OPC UA registered trademark
  • MTConnect registered trademark
  • FIG. 28 is a flowchart illustrating a test data transmission process when the transmission interval is changed.
  • the processes from step S91 to step S93, step S95, and step S97 are the same as steps S81 to S83, step S84, and step S86 in FIG. 26, and the description thereof will be omitted. ..
  • step S94 the computer 3 selects the data transmission interval selected in step S93.
  • step S96 the communication control unit 13a controls transmission of the data selected in step S93 to the computer 3 at the transmission interval selected in step S94, based on the transmission instruction from the computer 3.
  • the case where the test data is transmitted and controlled at the transmission interval requested by the computer 3 has been described above.
  • the data management device 1 of the second embodiment executes the programs of the normal system and the abnormal system on various devices 2 such as the robot, the control device, and the sensor, and the normal system and the abnormality output from the device 2 are executed.
  • the data management device 1 converts the time stamp of the test data according to the current time based on the request from the computer 3 and sends the test data to the computer 3, or sends the test data to the computer 3 at the instructed transmission interval. Send it.
  • the data management device 1 can provide test data of various devices for testing the application 30.
  • the data management device 1 can make the user of the computer 3 use the test data created in the past as the current data, and can use it as if it were the data transmitted in real time from the connected device 2. ..
  • the second embodiment has been described above.
  • the communication control unit 13a of the data management device 1 converts the time stamp of the test data according to the current time in response to the request from the computer 3 and controls the transmission of the test data to the computer 3 or requests.
  • the test data was controlled to be transmitted to the computer 3 at the transmitted transmission interval, but the present invention is not limited to this.
  • the editing unit 12 of the data management device 1 receives an instruction to change the time stamp of the test data from the computer 3, the editing unit 12 edits the time stamp of the test data and sets the transmission time, and the communication control unit 13a sets the setting.
  • the test data may be transmitted to the computer 3 at the transmitted transmission time.
  • FIG. 29A is a diagram showing an example of the setting screen of the editing tool.
  • FIG. 29B is a diagram showing an example of a setting screen of an editing tool including a list of time stamps of selected test data.
  • FIG. 29C is a diagram showing an example of a setting screen of the editing tool after editing the time stamp of the selected test data.
  • the editorial unit 12 receives an instruction to change the time stamp of the test data from the computer 3, the editorial unit 12 displays the setting screen of the editing tool on the display device (not shown) of the computer 3.
  • the computer 3 selects "robot" as the type of the device 2 to be edited in the editing tool of FIG. 29A based on the input operation of the user, the editorial unit 12 uses the selected "robot" as key information.
  • the computer 3 may select, for example, the file name “data001” of the test data of FIG. 2 on the setting screen of the editing tool of FIG. 29A based on the input operation of the user. Then, as shown in FIG. 29B, the computer 3 displays a list of time stamps of the selected test data on the screen of the editing tool.
  • the computer 3 edits the time stamp of the selected test data based on the input operation of the user, as shown in FIG. 29C. Then, when the "change" button A6 on the setting screen of the editing tool is pressed by the user, the computer 3 transmits a signal including the setting contents set on the setting screen of the editing tool to the data management device 1.
  • the editorial unit 12 reads out the test data of the file name "data001" from the storage unit 20 based on the setting contents included in the signal received from the computer 3.
  • the editorial unit 12 changes each of the time stamps of the test data of the read file name "data001" to the time stamps included in the setting contents, and stores them in the storage unit 20 as new test data.
  • the time can be set according to the shift of the factory, or the date and time can be set to a special condition such as a leap year, and the operation of the application 30 is tested according to the working environment at the actual site such as the factory. be able to.
  • the communication control unit 13a controls transmission of the test data to the computer 3 based on the time of the changed time stamp of the new test data.
  • the communication unit 14 Based on the transmission control of the communication control unit 13, the communication unit 14 converts the requested test data into a protocol compliant with the device 2 such as OPC UA (registered trademark) and MTConnect (registered trademark), and transmits the requested test data to the computer 3. do.
  • the test data created in the past can be used as data at a time freely set by the user including the future, and can be used as if the data was transmitted from the connected device 2.
  • FIG. 30 is a flowchart illustrating an editing process of test data when the time stamp is changed.
  • step S101 the computer 3 selects the type of the device 2 to be edited on the setting screen of the editing tool displayed on the display device (not shown) of the computer 3 based on the input operation of the user.
  • step S102 the editorial unit 12 of the data management device 1 identifies data candidates using the type selected in step S101 as key information.
  • step S103 the computer 3 selects data based on the input operation of the user.
  • step S104 the computer 3 displays the time stamp of the data selected in step S103.
  • step S105 the computer 3 edits the time stamp displayed in step S104 based on the input operation of the user.
  • step S106 the editorial unit 12 of the data management device 1 edited the time stamp of the data selected in step S103 in step S105 when the "change" button A6 on the setting screen of the editing tool was pressed by the user. It is changed to a time stamp, created as new test data, and stored in the storage unit 20.
  • step S107 when the time of the time stamp changed in step S106 is reached, the communication control unit 13a of the data management device 1 transmits and controls the new test data created in step S106 to the computer 3.
  • step S108 the communication unit 14 transmits test data to the computer 3 based on the transmission control of the communication control unit 13a.
  • the data management device 1 is not limited to the above-described embodiment, and is within a range in which the object can be achieved. Includes deformation, improvement, etc.
  • the data management device 1 is exemplified as a device different from the computer 3, but a part or all of the functions of the data management device 1 are performed by the computer. 3 may be provided.
  • the server may include a part or all of the control unit 10 and the storage unit 20 of the data management device 1.
  • each function of the data management device 1 may be realized by using the virtual server function or the like on the cloud.
  • the data management device 1 may be a distributed processing system in which each function of the data management device 1 is appropriately distributed to a plurality of servers.
  • Each function included in the data management device 1 in the first embodiment, the second embodiment, and the modified example of the second embodiment can be realized by hardware, software, or a combination thereof.
  • what is realized by software means that it is realized by a computer reading and executing a program.
  • Non-transitory computer-readable media include various types of tangible recording media (Tangible storage media).
  • Examples of non-temporary computer-readable media include magnetic recording media (eg, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg, magneto-optical disks), CD-ROMs (Read Only Memory), and CD-.
  • the program may also be supplied to the computer by various types of temporary computer-readable media (Transity computer readable medium).
  • temporary computer-readable media include electrical, optical, and electromagnetic waves.
  • the temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
  • the step of describing the program to be recorded on the recording medium is not only the processing performed in chronological order but also the processing executed in parallel or individually even if it is not necessarily processed in chronological order. Also includes.
  • the data management device and the data management method of the present disclosure can take various embodiments having the following configurations.
  • the data management device 1 of the present disclosure includes an input unit 11 for inputting data output from at least one device 2, a storage unit 20 for storing the data input by the input unit 11 as test data, and a computer.
  • the request is based on the communication control unit 13 that acquires the requested test data from the storage unit 20 based on the request from 3 and controls the transmission of the requested test data to the computer 3 and the transmission control of the communication control unit 13.
  • a communication unit 14 for transmitting the tested test data to the computer 3 is provided. According to the data management device 1, it is possible to provide test data of various devices for testing the application 30.
  • the data management device 1 may further include an editing unit 12 for editing test data stored in the storage unit 20 in response to a request from the computer 3.
  • the data management device 1 can create new test data by combining test data of a plurality of processes.
  • the data management device 1 can use the test data created in the past as data at a time freely set by the user including the future, as if from the connected device 2. It can be used like transmitted data.
  • the communication control unit 13a performs transmission control of the test data requested based on the transmission interval or the transmission time requested by the computer 3. May be good. By doing so, the data management device 1 can use the test data created in the past as the current data, and can be used as if it were the data transmitted in real time from the connected device 2.
  • data output from at least one device 2 is input, the input data is stored in the storage unit 20 as test data, and is requested based on a request from the computer 3.
  • the test data is acquired from the storage unit 20, the requested test data is transmitted and controlled to the computer 3, and the requested test data is transmitted to the computer 3 based on the transmission control. According to this data management method, the same effect as in (1) can be obtained.
  • test data stored in the storage unit 20 may be edited in response to a request from the computer 3. By doing so, the same effect as in (2) can be obtained.
  • transmission control of the requested test data may be performed based on the transmission interval or transmission time requested by the computer 3. By doing so, the same effect as in (3) can be obtained.

Abstract

アプリケーションをテストするための様々な機器のテストデータを提供すること。 データ管理装置は、少なくとも1つの機器から出力されるデータを入力する入力部と、前記入力部により入力された前記データをテストデータとして記憶する記憶部と、外部装置からの要求に基づいて要求されたテストデータを前記記憶部から取得し、要求されたテストデータを前記外部装置に送信制御する通信制御部と、前記通信制御部の送信制御に基づいて、要求されたテストデータを前記外部装置に送信する通信部と、を備える。

Description

データ管理装置、及びデータ管理方法
 本発明は、データ管理装置、及びデータ管理方法に関する。
 工作機械や産業用ロボット等の機器に発生する異常を検知するアプリケーションや、当該機器に含まれる工具等の部品の劣化の度合いを監視するアプリケーション等が、工作機械メーカやサードパーティ等により開発されている。アプリケーションの開発では、アプリケーションに応じた機器のテストデータを予め用意し、アプリケーションが設計通りに動作するか否かのデバッグ等を行う必要がある。
 この点、アプリケーションの開発を、パーソナルコンピュータ上で動作してデバイスの動作をエミュレートするデバイスエミュレータを利用して、効率的にアプリケーションを開発する技術が知られている。例えば、特許文献1参照。
特開2004-185595号公報
 工作機械メーカやサードパーティ等のアプリケーション開発者がアプリケーションを開発する際、実際の工作機械や産業用ロボット等の機器を用意してテストすることはかなりのコストや工数がかかり、スムーズに開発することが難しい。
 換言すれば、開発したアプリケーションが対応する機器を全て揃えてテストすることは難しく、アプリケーション開発者が色々なテストデータを用意することは難しい。
 そこで、アプリケーションをテストするための様々な機器のテストデータを提供することが望まれている。
 (1)本開示のデータ管理装置の一態様は、少なくとも1つの機器から出力されるデータを入力する入力部と、前記入力部により入力された前記データをテストデータとして記憶する記憶部と、外部装置からの要求に基づいて要求されたテストデータを前記記憶部から取得し、要求されたテストデータを前記外部装置に送信制御する通信制御部と、前記通信制御部の送信制御に基づいて、要求されたテストデータを前記外部装置に送信する通信部と、を備える。
 (2)本開示のデータ管理方法の一態様は、少なくとも1つの機器から出力されるデータを入力し、入力された前記データをテストデータとして記憶部に記憶し、外部装置からの要求に基づいて要求されたテストデータを前記記憶部から取得し、要求されたテストデータを前記外部装置に送信制御し、前記送信制御に基づいて、要求されたテストデータを前記外部装置に送信する。
 一態様によれば、アプリケーションをテストするための様々な機器のテストデータを提供することができる。
第1実施形態に係るデータ管理装置の機能構成を示す図である。 ロボットの正常系の時系列データの一例を示す図である。 ロボットの異常系の時系列データの一例を示す図である。 制御装置の正常系の時系列データの一例を示す図である。 センサの時系列データの一例を示す図である。 編集ツールの設定画面の一例を示す図である。 新たな異常系のテストデータを作成するための編集ツールの設定画面の一例を示す図である。 正常系と異常系とが組み合わさった新たなテストデータを作成するための編集ツールの設定画面の一例を示す図である。 第1実施形態に係るテストデータの編集処理を例示するフローチャートである。 編集ツールの設定画面の一例を示す図である。 3つのロボットの機器それぞれが稼働する各工程の時系列の一例を示す図である。 滞留が発生する場合のテストデータの編集処理を例示するフローチャートである。 編集ツールの設定画面の一例を示す図である。 編集ツールの設定画面の一例を示す図である。 複数の機器を選択する場合のテストデータの編集処理を例示するフローチャートである。 ロボットの軸の減速機の劣化レベルの時系列データの一例を示す図である。 日時欄及び劣化レベル欄を有する減速機診断の時系列データの一例を示す図である。 編集ツールの設定画面の一例を示す図である。 時系列データから所望のデータを切り出す場合のテストデータの編集処理を例示するフローチャートである。 編集ツールの設定画面の一例を示す図である。 切り出す期間を指定する場合のテストデータの編集処理を例示するフローチャートである。 編集ツールの設定画面の一例を示す図である。 劣化レベル変更後の編集ツールの設定画面の一例を示す図である。 時系列データからパラメータを変更する場合のテストデータの編集処理を例示するフローチャートである。 データ管理装置の処理について説明するフローチャートである。 第2実施形態に係るデータ管理装置の機能構成を示す図である。 送信ツールの設定画面の一例を示す図である。 第2実施形態に係るテストデータの送信処理を例示するフローチャートである。 送信ツールの設定画面の一例を示す図である。 送信間隔を変更する場合のテストデータの送信処理を例示するフローチャートである。 編集ツールの設定画面の一例を示す図である。 選択したテストデータのタイムスタンプの一覧を含む編集ツールの設定画面の一例を示す図である。 選択したテストデータのタイムスタンプの編集後の編集ツールの設定画面の一例を示す図である。 タイムスタンプを変更する場合のテストデータの編集処理を例示するフローチャートである。
 以下、第1実施形態の一例について説明する。
<第1実施形態>
 図1は、第1実施形態に係るデータ管理装置1の機能構成を示す図である。
 データ管理装置1は、工場内で利用される様々な機器2、及びアプリケーションを開発する機器2の製造メーカやサードパーティ等のコンピュータ3と通信接続されたサーバ等の情報処理装置である。
 機器2は、例えば、制御装置、ロボット、センサ等を含み、データ管理装置1は、機器2それぞれと通信するためのインタフェースを備える。なお、機器2は、制御装置、ロボット、センサに限定されず、工作機械、射出成形機、産業用ロボット等の産業機械、搬送車やコンベア等の周辺機器、作業者が入力を行うタブレット端末やスマートフォン等の携帯端末を含んでもよい。
 また、2以上の複数の制御装置、複数のロボット、複数のセンサ等が機器2としてデータ管理装置1と接続されてもよい。
 また、制御装置の機器2は、工作機械を制御する数値制御装置(CNC)として説明するが、ロボットを制御するロボット制御装置でもよい。
 コンピュータ3は、パーソナルコンピュータ、タブレット型端末、又はスマートフォン等のコンピュータ装置である。コンピュータ3は、開発しているアプリケーション30の動作確認やデバッグを行うために、データ管理装置1にテストデータの送信を要求し、要求したテストデータを取得する。なお、アプリケーション30は、コンピュータ3に含まれるHDD等の記憶部(図示しない)に記憶され、コンピュータ3に含まれるプロセッサ等の制御部(図示しない)により実行される。
 また、2以上の複数のコンピュータ3がデータ管理装置1と接続されてもよい。
 データ管理装置1は、制御部10と記憶部20とを有する。また、制御部10は、入力部11、編集部12、通信制御部13、及び通信部14を有する。制御部10は、記憶部20に記憶された所定のソフトウェア(データ管理プログラム)を実行することで、本実施形態の各機能を実現する。
 記憶部20は、SSD(Solid State Drive)やHDD(Hard Disk Drive)等であり、所定のソフトウェア(データ管理プログラム)を記憶する。また、記憶部20は、ロボットデータ21、CNCデータ22、及びセンサデータ23の記憶領域を有する。
<ロボットデータ21>
 図2は、ロボットの正常系の時系列データの一例を示す図である。
 図2に示すように、例えば、ロボットの機器2から複数の項目の時系列データが、所定のサンプリング周期毎に出力されて後述する入力部11に入力され、ロボットデータ21の記憶領域に順次記録されていく。この例では、キー情報となるロボットの機種名と制御プログラム名とともに、動作状態やアラーム情報等が記録されている。
 また、この例では、装置番号「R001」で機種「modelA」のロボットの機器2が制御プログラム「PROG_001」を実行しワーク把持動作を行った場合における、制御プログラムの開始から終了までの間に当該ロボットから出力される各種項目の時系列データが500msec周期で記録されている。図2の時系列データは、例えば、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_001」、状態「正常系」とするファイル名「data001」のテストデータとして、ロボットデータ21に格納される。
 なお、制御プログラム「PROG_001」の開始と終了を知らせる方法として、図2に示すように、ロボットの機器2が制御プログラム「PROG_001」を開始すると制御プログラム名とともに、ロボットのタスク状態情報として「RUNNING」を出力し、終了すると「END」を出力するようにしてもよい。そうすることで、データ管理装置1は、時系列データのロボットのタスクの状態情報が「RUNNING」に切り替わったことをトリガーにして制御プログラム「PROG_001」の開始を検出し、「END」に切り替わったことをトリガーにして終了を検出することができる。
 同様に、図示しないが、装置番号「R001」で機種「modelA」のロボットの機器2が制御プログラム「PROG_001」に換えて、制御プログラム「PROG_002」を実行しワークセット動作を行った場合には、データ管理装置1は、制御プログラムの開始から終了までの間に当該ロボットから出力される各種項目の時系列データを、500msec等の所定のサンプリング周期でロボットデータ21に記録するようにしてもよい。この場合、データ管理装置1は、時系列データを、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_002」、状態「正常系」とするファイル名「data002」のテストデータとして、ロボットデータ21に格納することができる。
 また、図示しないが、装置番号「R001」で機種「modelA」のロボットの機器2が他の制御プログラム「PROG_003」を実行しねじ締付動作を行った場合には、データ管理装置1は、制御プログラムの開始から終了までの間に当該ロボットから出力される各種項目の時系列データを、500msec等の所定のサンプリング周期で記録するようにしてもよい。この場合、データ管理装置1は、時系列データを、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_003」、状態「正常系」とするファイル名「data003」のテストデータとして、ロボットデータ21に格納することができる。
 また、装置番号「R001」で機種「modelA」のロボットの機器2にn個(例えば、100個)の正常系の制御プログラムをそれぞれ実行させることで、データ管理装置1は、ロボットデータ21に、ロボットから出力されたn個の正常系の時系列データをファイル名「data001」から「data00n」として格納するようにしてもよい。この場合、データ管理装置1は、記憶部20に、n個の制御プログラムと、対応するn個の正常系の時系列データのファイル名と、を対応付けした正常系ロボットデータテーブル(図示しない)を記憶することができる(nは2以上の整数)。
 また、データ管理装置1は、ロボットデータ21に、ロボットの機器2が動作中に停止する等の異常系の時系列データをテストデータとして記憶してもよい。
 図3は、ロボットの異常系の時系列データの一例を示す図である。
 図3に示すように、例えば、装置番号「R001」で機種「modelA」のロボットの機器2に、ワーク把持動作中に停止しpower offのアラーム情報を出力する制御プログラム「PROG_001-e」を実行させることで、制御プログラムの開始から停止するまでの間に当該ロボットから出力される各種項目の時系列データが500msec周期で記録されている。この例では、サンプリング3のアラーム情報に異常を示すアラーム番号「1」とアラームメッセージ「power off」が記録されている。図3の時系列データは、例えば、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_001-e」、状態「異常系」とするファイル名「data001-e」のテストデータとして、ロボットデータ21に格納される。
 同様に、図示しないが、装置番号「R001」で機種「modelA」のロボットの機器2が異常系の制御プログラム「PROG_001-e」に換えて、異常系のワークセット動作を行う制御プログラム「PROG_002-e」を実行する場合には、データ管理装置1は、制御プログラムの開始から停止するまでの間に当該ロボットから出力される各種項目の時系列データを、500msec等の所定のサンプリング周期で記録するようにしてもよい。この場合、データ管理装置1は、時系列データを、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_002-e」、状態「異常系」とするファイル名「data002-e」のテストデータとして、ロボットデータ21に格納することができる。
 また、図示しないが、装置番号「R001」で機種「modelA」のロボットの機器2が異常系のねじ締付動作を行う他の制御プログラム「PROG_003-e」を実行する場合には、データ管理装置1は、制御プログラムの開始から停止するまでの間に当該ロボットから出力される各種項目の時系列データを、500msec等の所定のサンプリング周期で記録するようにしてもよい。この場合、データ管理装置1は、時系列データを、データ属性が装置番号「R001」、機種「modelA」、プログラム「PROG_003-e」、状態「異常系」とするファイル名「data003-e」のテストデータとして、ロボットデータ21に格納することができる。
 また、装置番号「R001」で機種「modelA」のロボットの機器2にn個の異常系の制御プログラムをそれぞれ実行させることで、データ管理装置1は、ロボットデータ21に、ロボットから出力されたn個の異常系の時系列データをファイル名「data001-e」から「data00n-e」として格納するようにしてもよい。この場合、データ管理装置1は、記憶部20に、正常系の場合と同様に、n個の異常系の制御プログラムと、対応するn個の異常系の時系列データのファイル名と、を対応付けした異常系ロボットデータテーブル(図示しない)を記憶することができる。
 なお、装置番号「R001」で機種「modelA」の1つのロボットの機器2がn個の正常系の制御プログラム及びn個の異常系の制御プログラムをそれぞれ実行することで、データ管理装置1は、n個の正常系の時系列データ及びn個の異常系の時系列データがテストデータとして取得されたが、これに限定されない。例えば、データ管理装置1は、データ管理装置1に接続される装置番号「R002」で機種「modelA」の他のロボット等の複数の機器2それぞれにn個の正常系の制御プログラム及びn個の異常系の制御プログラムをそれぞれ実行させるようにしてもよい。データ管理装置1は、複数の機器2それぞれからn個の正常系の時系列データ及びn個の異常系の時系列データを取得し、テストデータとしてロボットデータ21に格納することができる。
<CNCデータ22>
 図4は、制御装置の正常系の時系列データの一例を示す図である。
 図4に示すように、例えば、制御装置の機器2から複数の項目の時系列データが、所定のサンプリング周期毎に出力されて後述する入力部11に入力され、CNCデータ22に順次記録されていく。この例では、キー情報となる制御装置の機種名と加工プログラム名とともに、動作状態やアラーム情報等が記録されている。
 図4の時系列データは、データ属性が装置番号「C001」、機種「seriesA-1」、プログラム「1001」、状態「正常系」とするデータ名「data1001」のテストデータとして、CNCデータ22に格納することができる。
 同様に、図示しないが、装置番号「C001」で機種「seriesA-1」の制御装置の機器2にm個(例えば、100個)の正常系の加工プログラムをそれぞれ実行させることで、データ管理装置1は、CNCデータ22に、制御装置から出力されるm個の正常系の時系列データをファイル名「data1001」から「data100m」として格納するようにしてもよい。また、図示しないが、装置番号「C001」で機種「seriesA-1」の制御装置の機器2にm個の異常系の加工プログラムをそれぞれ実行させることで、データ管理装置1は、CNCデータ22に、制御装置によるm個の異常系の時系列データをファイル名「data1001-e」から「data100m-e」として格納するようにしてもよい。なお、mは2以上の整数である。
 この場合、データ管理装置1は、記憶部20に、m個の正常系の加工プログラムと、対応するm個の正常系の時系列データのファイル名と、を対応付けした正常系CNCデータテーブル(図示しない)を記憶することができる。また、データ管理装置1は、記憶部20に、m個の異常系の加工プログラムと、対応するm個の異常系の時系列データのファイル名と、を対応付けした異常系CNCデータテーブル(図示しない)を記憶することができる。
 なお、装置番号「C001」で機種「seriesA-1」の1つの制御装置の機器2がm個の正常系の加工プログラム及びm個の異常系の加工プログラムをそれぞれ実行することにより、データ管理装置1は、m個の正常系の時系列データ及びm個の異常系の時系列データをテストデータとして取得したが、これに限定されない。例えば、データ管理装置1は、データ管理装置1に接続される装置番号「C002」で機種「seriesA-1」の他の制御装置等の複数の機器2それぞれにm個の正常系の加工プログラム及びm個の異常系の加工プログラムをそれぞれ実行させるようにしてもよい。そうすることで、データ管理装置1は、複数の機器2それぞれからm個の正常系の時系列データ及びm個の異常系の時系列データを取得し、テストデータとしてCNCデータ22に格納することができる。
<センサデータ23>
 図5は、センサの時系列データの一例を示す図である。
 図5に示すように、例えば、工作機械等に配置されたセンサの機器2により検出された振動、温度等の複数の項目の時系列データが、所定のサンプリング周期毎に出力されて後述する入力部11に入力され、センサデータ23に順次記録されていく。
<制御部10>
 図1に示すデータ管理装置1の制御部10は、CPU(Central Processing Unit)、ROM、RAM、CMOS(Complementary Metal-Oxide-Semiconductor)メモリ等を有し、これらはバスを介して相互に通信可能に構成される、当業者にとって公知のものである。
 CPUはデータ管理装置1を全体的に制御するプロセッサである。CPUは、ROMに格納されたシステムプログラム及びアプリケーションプログラムを、バスを介して読み出し、前記システムプログラム及びアプリケーションプログラムに従ってデータ管理装置1全体を制御する。これにより、図1に示すように、制御部10が、入力部11、編集部12、通信制御部13、及び通信部14の機能を実現するように構成される。RAMには一時的な計算データや表示データ等の各種データが格納される。また、CMOSメモリは図示しないバッテリでバックアップされ、データ管理装置1の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。
 入力部11は、例えば、機器2それぞれが正常系又は異常系のプログラムを実行することで機器2それぞれから出力される時系列データを入力する。入力部11は、入力された時系列データそれぞれを、機器2に応じてロボットデータ21、CNCデータ22、及びセンサデータ23のいずれかにテストデータとして記憶する。
 ロボットデータ21、CNCデータ22、及びセンサデータ23に記憶されるテストデータは、一定の周期で機器2のそれぞれからポーリングにより取得されてもよいし、個別の周期で取得されてもよい。あるいは、特定のイベントの発生に応じて不定期に機器2からデータが送信されてもよい。
 なお、入力部11は、データ管理装置1と機器2との間の電気信号、通信プロトコル及びデータフォーマット等の変換の機能を備えたインタフェースを介して、時系列データを入力する。
 また、機器2がOPC UA(登録商標)やMTConnect(登録商標)等のプロトコルに準拠している場合、入力部11は、ソフトウェアにより所定のデータフォーマットで時系列データを入力することができる。通信インタフェースは有線には限られず、例えば無線LANによりデータ管理装置1と機器2とが接続されてもよい。
 通信制御部13は、外部装置であるコンピュータ3からの要求に基づいて、要求されたテストデータを記憶部20から取得し、要求されたテストデータをコンピュータ3に送信制御する。
 通信部14は、通信インタフェース等であり、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 編集部12は、コンピュータ3からの要求に応じて記憶部20のロボットデータ21、CNCデータ22、センサデータ23に記憶されたテストデータを編集する。編集部12は、編集したテストデータを記憶部20に記憶する。
 以下、編集部12の動作について、(1)工程用の編集ツールを用いて新たにテストデータを作成する場合、(2)編集ツールを用いて負荷試験用等のテストデータを作成する場合、(3)編集ツールを用いて所望のテストデータを作成する場合、及び(4)編集ツールを用いてテストデータのパラメータを変更する場合について説明する。なお、以下では、機器2がロボットの場合について説明するが、制御装置、センサ、及びそれらの組合せについても同様である。
(1)工程用の編集ツールを用いて新たにテストデータを作成する場合について
 図6は、編集ツールの設定画面の一例を示す図である。
 図6に示すように、編集部12は、例えば、コンピュータ3から1つのロボットの機器2でワーク把持動作、ワークセット動作、及びねじ締付動作の3工程を実行するラインのテストデータの要求を受け付けた場合、編集ツールの設定画面(工程用)をコンピュータ3に含まれる液晶ディスプレイ等の表示装置(図示しない)に表示する。
 コンピュータ3は、コンピュータ3に含まれるキーボードやタッチパネル等の入力装置(図示しない)を介しユーザによる入力操作に基づいて、編集ツールの設定画面(工程用)の工程数に「3」を入力する。これにより、図6に示すように、コンピュータ3の表示装置(図示しない)に表示される編集ツールの設定画面(工程用)には、3つの工程それぞれの設定を行う画面が現れる。
 例えば、コンピュータ3がユーザの入力操作に基づいて工程1から工程3それぞれにおいて機種「modelA」のロボットを選択した場合、編集部12は、選択された機種「modelA」をキー情報にして記憶部20に記憶されるデータを検索することで装置番号とデータとの候補を特定してもよい。コンピュータ3は、図6の編集ツールの設定画面(工程用)において、ユーザの入力操作に基づいて各工程を行う1つのロボットとして装置番号「R001」を選択してもよい。また、コンピュータ3は、ユーザの入力操作に基づいて、ワーク把持動作、ワークセット動作、及びねじ締付動作の各工程のテストデータとして、正常系のテストデータ「data001」、「data002」、「data003」をそれぞれ選択してもよい。
 そして、コンピュータ3は、編集ツールの設定画面(工程用)の「保存」ボタンAがユーザにより押下された場合、編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、データ属性が機種「modelA」で装置番号「R001」のファイル名「data001」、「data002」、「data003」のテストデータを記憶部20から読み出す。編集部12は、読み出したファイル名「data001」、「data002」、「data003」のテストデータを工程の順番に並べて組み合わせ新たなテストデータ(例えば、ファイル名「data0123」)として記憶部20に記憶する。
 通信制御部13は、コンピュータ3からの要求に基づいて、作成された新たなテストデータを記憶部20から取得し、要求された新たなテストデータをコンピュータ3に送信制御する。そして、通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、コンピュータ3は、1つのロボットの機器2でワーク把持動作、ワークセット動作、及びねじ締付動作の3工程を実行するラインにおける、アプリケーション30の動作確認やデバッグ等を行うことができる。
 なお、編集部12は、新たな正常系のテストデータを作成したが、新たな異常系のテストデータを作成してもよく、正常系と異常系とが組み合わさった新たなテストデータを作成してもよい。
 図7は、新たな異常系のテストデータを作成するための編集ツールの設定画面の一例を示す図である。
 図8は、正常系と異常系とが組み合わさった新たなテストデータを作成するための編集ツールの設定画面の一例を示す図である。
 そうすることで、1つのロボットに異常系の動作を繰り返し動作させたり、複数のロボットに異常系の動作をさせたりすることができ、普段できないようなテストデータを作成することができる。
 図9は、本実施形態に係るテストデータの編集処理を例示するフローチャートである。
 ステップS1において、コンピュータ3は、ユーザの入力操作に基づいて、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面(工程用)に工程数を入力する。
 ステップS2において、コンピュータ3は、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面(工程用)に、ステップS1で入力された工程数分の設定画面を表示する。
 ステップS3において、コンピュータ3は、ユーザの入力操作に基づいて、各工程の機種を選択する。
 ステップS4において、データ管理装置1の編集部12は、ステップS3で選択された各工程の機種をキー情報にして装置番号とデータとの候補を特定する。
 ステップS5において、コンピュータ3は、ユーザの入力操作に基づいて、各工程の装置番号とデータとを選択する。
 ステップS6において、データ管理装置1の編集部12は、編集ツールの設定画面(工程用)の「保存」ボタンAがユーザにより押下された場合、編集ツールの設定画面に設定された設定内容に基づいて、新たなテストデータを作成し、作成した新たなテストデータを記憶部20に記憶する。
 なお、編集部12は、コンピュータ3からの要求に基づいて1つのロボットの機器2で複数の工程を実行するラインの新たなテストデータを作成したが、これに限定されない。例えば、編集部12は、コンピュータ3からの要求に基づいて複数のロボットの機器2それぞれが互いに異なる工程を実行するラインの新たなテストデータを作成してもよい。
 例えば、3つのロボットの機器2(装置番号「R001」、「R002」、「R003」)がそれぞれ制御プログラム「PROG_001」、「PROG_010」、「PROG_030」を実行するラインの工程がある場合、編集部12は、ファイル名「data001」、「data010」、「data030」のテストデータを組み合わせることにより、当該ラインの工程を想定したテストデータを作成することができる。
 図10は、編集ツールの設定画面の一例を示す図である。
 なお、図10の編集ツールの設定画面には、例えば、工程の繰り返し回数の設定項目が追加されている。この場合、編集部12は、組み合わせたファイル名「data001」、「data010」、「data030」のテストデータから、各工程の所要時間が分かる。
 図11は、3つのロボットの機器2それぞれが稼働する各工程の時系列の一例を示す図である。
 図11に示すように、編集部12は、例えば、各工程の所要時間に基づいて、時刻tに投入したワークに対する工程1の作業が完了した時刻tに次のワークを投入した場合、工程2の作業が完了するまでの時刻tから時刻tにおいて滞留する時間が発生することを検知する。この場合、編集部12は、図10に示すように、編集ツールの設定画面に滞留が発生するメッセージ及び/又は滞留時間を表示してもよい。
 このように、編集部12は、組み合わせるテストデータの各工程の所要時間から、工程間で滞留が発生するかどうかをチェックすることができる。
 図12は、滞留が発生する場合のテストデータの編集処理を例示するフローチャートである。
 なお、図12に示す編集処理において、ステップS11からステップS15、及びステップS20の処理は、図9のステップS1からステップS5、及びステップS6と同様であり、説明は省略する。
 ステップS16において、コンピュータ3は、ユーザの入力操作に基づいて、工程の繰り返し回数を選択する。
 ステップS17において、データ管理装置1の編集部12は、組み合わせる各工程のテストデータから、各工程の所要時間を計算する。
 ステップS18において、データ管理装置1の編集部12は、ステップS17で計算された各工程の所要時間に基づいて、工程間で滞留が発生するか否かを判定する。工程間で滞留が発生する場合、処理はステップS19に進む。一方、工程間で滞留が発生しない場合、処理はステップS20に進む。
 ステップS19において、データ管理装置1の編集部12は、コンピュータ3の表示装置(図示しない)に表示される編集ツールの設定画面(工程用)に、滞留発生のメッセージと滞留時間とを表示する。
 以上、工程用の編集ツールを用いて新たにテストデータを作成する場合について説明した。
 (2)編集ツールを用いて負荷試験用等のテストデータを作成する場合について
 図13は、編集ツールの設定画面の一例を示す図である。
 図13に示すように、編集部12は、例えば、100個等の多数のロボットの機器2を同時に接続してもアプリケーション30が正常に処理できるかを確認するため、コンピュータ3からアプリケーション30の負荷試験用のテストデータの要求を受け付けた場合、編集ツールの設定画面(装置用)をコンピュータ3の表示装置(図示しない)に表示する。
 コンピュータ3は、ユーザの入力操作に基づいて、編集ツールの設定画面(装置用)の機器2の装置数に、例えば「100」を入力する。これにより、図13に示すように、コンピュータ3の表示装置(図示しない)に表示される編集ツールの設定画面(装置用)には、100個のロボットの機器2それぞれの設定を行う画面が現れる。
 例えば、コンピュータ3がユーザの入力操作に基づいて機種「modelA」のロボットを選択した場合、編集部12は、選択された機種「modelA」をキー情報にして記憶部20に記憶されるデータを検索することで装置番号とデータとの候補を特定してもよい。コンピュータ3は、図13の編集ツールの設定画面(装置用)において、ユーザの入力操作に基づき各ロボットの装置番号を「R001」から「R100」を選択してもよい。また、コンピュータ3は、ユーザの入力操作に基づいて、各ロボットに動作させる正常系のテストデータとして、テストデータ「data011」を選択してもよい。
 そして、コンピュータ3は、編集ツールの設定画面(装置用)の「保存」ボタンAがユーザにより押下された場合、編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、データ属性が機種「modelA」で装置番号「R001」から装置番号「R100」のファイル名「data011」のテストデータを記憶部20からそれぞれ読み出す。編集部12は、読み出した機種「modelA」で装置番号「R001」から装置番号「R100」のファイル名「data011」のテストデータを1つに組み合わせた新たなテストデータとして記憶部20に記憶する。
 通信制御部13は、コンピュータ3からの要求に基づいて、作成された新たなテストデータを記憶部20から取得し、要求された新たなテストデータをコンピュータ3に送信制御する。そして、通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、コンピュータ3は、100個のロボットの機器2を繋いで動作させる負荷試験のアプリケーション30のテストを行うことができる。
 なお、編集部12は、100個のロボットの機器2の正常系のテストデータを用いて新たなテストデータを作成したが、これに限定されない。
 図14は、編集ツールの設定画面の一例を示す図である。
 図14に示すように、編集部12は、例えば、100個のロボットの機器2のうち一部の機器2のテストデータに異常系のテストデータとする新たなテストデータを作成してもよい。図14では、機種「modelA」の装置番号「R001」、「R002」の機器2のテストデータとして異常系のテストデータ「data011-e」が選択されるようにしてもよい。
 また、編集部12は、機種「modelA」で装置番号「R001」から装置番号「R100」のファイル名「data011」のテストデータを記憶部20からそれぞれ読み出したが、これに限定されない。例えば、編集部12は、機種「modelA」で装置番号「R001」である1つのロボットの機器2のファイル名「data011」のテストデータを記憶部20から読み出し、読み出したテストデータを残り99個の機種「modelA」で装置番号「R002」から装置番号「R100」ぞれぞれのロボットの機器2のテストデータとしてコピーしてもよい。そして、編集部12は、100個のロボットの機器2のテストデータを1つに組み合わせた新たなテストデータを作成し、記憶部20に記憶してもよい。
 また、編集部12は、100個のロボットの機器2それぞれに複数の工程を実行させる新たなテストデータを作成してもよい。この場合、編集部12は、例えば、図6に示すように、100個のロボットの機器2それぞれについて、ファイル名「data001」、「data002」、「data003」の正常系のテストデータを組み合わせた3つの工程を実行するテストデータを予め作成し、ファイル名「data0123」等として記憶部20に記憶することが好ましい。
 図15は、複数の機器2を選択する場合のテストデータの編集処理を例示するフローチャートである。
 ステップS31において、コンピュータ3は、ユーザの入力操作に基づいて、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面(装置用)に機器2の装置数を入力する。
 ステップS32において、コンピュータ3は、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面(装置用)に、ステップS31で入力された装置数分の設定画面を表示する。
 ステップS33において、コンピュータ3は、ユーザの入力操作に基づいて、各機器2の機種を選択する。
 ステップS34において、データ管理装置1の編集部12は、ステップS33で選択された機種をキー情報にして装置番号とデータとの候補を特定する。
 ステップS35において、コンピュータ3は、ユーザの入力操作に基づいて、各機器2の装置番号とデータとを選択する。
 ステップS36において、データ管理装置1の編集部12は、編集ツールの設定画面(装置用)の「保存」ボタンAがユーザにより押下された場合、編集ツールの設定画面に設定された設定内容に基づいて、新たなテストデータを作成し、作成した新たなテストデータを記憶部20に記憶する。
 以上、編集ツールを用いて負荷試験用等のテストデータを作成する場合について説明した。
 (3)編集ツールを用いて所望のテストデータを作成する場合について
 編集部12は、記憶部20に記憶されるテストデータのうち、コンピュータ3からの要求に応じてテストデータの一部を切り出して新たなテストデータを作成してもよい。
 以下、ロボットの軸の減速機の劣化レベルを診断する減速機診断を行うアプリケーション30の場合について説明するが、減速機診断以外のアプリケーションについても同様である。
 図16は、ロボットの軸の減速機の劣化レベルの時系列データの一例を示す図である。図16の縦軸は劣化レベルを示し、図16の横軸は日付を示す。図16の劣化レベルは、例えば、減速機を駆動するモータ(図示しない)に供給される電流値の変動や当該モータが発生するトルク値の変動等、公知の手法に基づいて1日周期で測定され、2019年1月20日から2月5日までの測定値が記憶部20に記憶されている。
 なお、図16の劣化レベルに基づく減速機診断のアプリケーション30では、劣化レベルが「4」以上の場合、減速機に異常があると判定して当該異常を知らせるアラートを出力し、劣化レベルが「10」以上の場合、減速機が壊れたと判定して破損を知らせるアラートを出力する。
 図17Aは、日時欄及び劣化レベル欄を有する減速機診断の時系列データの一例を示す図である。図17Bは、編集ツールの設定画面の一例を示す図である。
 具体的には、編集部12は、コンピュータ3から減速機診断のアプリケーション30に対するテストデータの要求を受け付けた場合、図17Aに示す日時欄及び劣化レベル欄を有する減速機診断の時系列データとともに、図17Bに示す編集ツールの設定画面をコンピュータ3の表示装置(図示しない)に表示する。なお、図17Aの時系列データは、図16と同じである。
 例えば、コンピュータ3がユーザの入力操作に基づいて図17Bの編集ツールにおいて診断対象の種類として「減速機診断」を選択した場合、編集部12は、選択された「減速機診断」をキー情報にして記憶部20に記憶される劣化レベルを検索することで日時及び劣化レベルの候補を特定してもよい。そして、コンピュータ3は、データ管理装置1から劣化レベルの時系列データを取得し、図17Aに示すように、取得した時系列データの日付欄と劣化レベル欄とを表示してもよい。コンピュータ3は、例えば、劣化レベルが「4」以上の場合に減速機診断のアプリケーション30が異常を示すアラートを出力するか否かをテストするために、ユーザの入力操作に基づいて、図17Bの編集ツールで「2019年2月5日10:00」の日時が選択された場合、劣化レベル欄に「4.2」と表示してもよい。
 そして、コンピュータ3は、編集ツールの「別データとして保存」ボタンA1がユーザにより押下された場合、編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、記憶部20に記憶される劣化レベルのデータから日時「2019年2月5日10:00」の劣化レベル「4.2」のデータを切り出す。編集部12は、切り出したデータを新たなテストデータとして記憶部20に記憶する。
 通信制御部13は、コンピュータ3からの要求に基づいて、作成された新たなテストデータを記憶部20から取得し、要求された新たなテストデータをコンピュータ3に送信制御する。そして、通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、コンピュータ3は、劣化レベルが「4」以上の場合に減速機診断のアプリケーション30が異常を示すアラートを出力するか否か、すなわち減速機診断のアプリケーション30が設計通りに動作するか否かをテストすることができる。
 なお、編集部12は、減速機診断の時系列データを劣化レベル(例えば、「4」以上)で検索し、日時「2019年2月5日10:00」の劣化レベルのデータを編集ツールに表示してもよい。
 図18は、時系列データから所望のデータを切り出す場合のテストデータの編集処理を例示するフローチャートである。
 ステップS41において、コンピュータ3は、ユーザの入力操作に基づいて、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面において減速機診断等の診断対象の種類を選択する。
 ステップS42において、データ管理装置1の編集部12は、ステップS41で選択された種類をキー情報にして日時とデータとの候補を特定する。
 ステップS43において、コンピュータ3は、ユーザの入力操作に基づいて、日時を選択する。
 ステップS44において、コンピュータ3は、ステップS43で選択された日時のデータを表示する。
 ステップS45において、データ管理装置1の編集部12は、編集ツールの設定画面の「別データとして保存」ボタンA1がユーザにより押下された場合、ステップS43で選択された日時のデータを切り出し、新たなテストデータとして記憶部20に記憶する。
 なお、編集部12は、コンピュータ3からの要求に基づいて1つの日時のデータを切り出して新たなテストデータを作成したが、これに限定されない。例えば、編集部12は、コンピュータ3からの要求により指定された期間に亘るデータを切り出してもよい。
 例えば、劣化レベルが「3」以上の期間を切り出したテストデータを使用して、劣化レベルが「4」以上になるとメールを送信するアプリケーションの機能をテストすることができる。
 図19は、編集ツールの設定画面の一例を示す図である。
 図19に示すように、編集部12は、コンピュータ3から減速機診断のアプリケーション30に対するテストデータの要求を受け付けた場合、図17Aの日時欄及び劣化レベル欄を有する時系列データとともに、編集ツールの設定画面をコンピュータ3の表示装置(図示しない)に表示するようにしてもよい。
 例えば、コンピュータ3がユーザの入力操作に基づいて図19の編集ツールにおいて診断対象の種類として「減速機診断(期間指定)」を選択した場合、編集部12は、選択された「減速機診断(期間指定)」をキー情報にして記憶部20に記憶される劣化レベルを検索することで日時及び劣化レベルの候補を特定してもよい。コンピュータ3は、コンピュータ3の表示装置(図示しない)に、図17Aに示すように、時系列データの日付欄と劣化レベル欄とを表示するともに、図19に示すように、開始日時欄、開始日時の劣化レベル欄、終了日時欄、及び終了日時の劣化レベル欄を含む編集ツールを表示してもよい。コンピュータ3は、ユーザの入力操作に基づいて、開始日時欄で「2019年1月29日10:00」を選択し、終了日時欄で「2019年2月5日10:00」を選択する。これにより、開始日時の劣化レベル欄は「3」と表示され、終了日時の劣化レベル欄は「4.2」と表示される。
 そして、コンピュータ3は、編集ツールの「別データとして保存」ボタンA1がユーザにより押下された場合、編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、記憶部20に記憶される劣化レベルのデータから、開始日時「2019年1月29日10:00」から終了日時「2019年2月5日10:00」の期間の劣化レベルのデータを切り出す。編集部12は、切り出したデータを新たなテストデータとして記憶部20に記憶する。
 図20は、切り出す期間を指定する場合のテストデータの編集処理を例示するフローチャートである。
 なお、図20に示す編集処理において、ステップS51及びステップS52の処理は、図18のステップS41及びステップS42と同様であり、説明は省略する。
 ステップS53において、コンピュータ3は、ユーザの入力操作に基づいて、開始日時を選択する。
 ステップS54において、コンピュータ3は、ステップS53で選択された開始日時のデータを表示する。
 ステップS55において、コンピュータ3は、ユーザの入力操作に基づいて、終了日時を選択する。
 ステップS56において、コンピュータ3は、ステップS55で選択された終了日時のデータを表示する。
 ステップS57において、データ管理装置1の編集部12は、編集ツールの設定画面の「別データとして保存」ボタンA1がユーザにより押下された場合、ステップS54及びステップS56で選択された期間のデータを切り出し、新たなテストデータとして記憶部20に記憶する。
 以上、編集ツールを用いて所望のテストデータを作成する場合について説明した。
 (4)編集ツールを用いてテストデータのパラメータを変更する場合について
 例えば、図16に示すように、劣化レベルの時系列データは、減速機に異常があると判定される「4」以上になることがあっても、減速機が壊れたと判定される「10」以上になることはあまりない。このため、コンピュータ3は、劣化レベルが「10」以上の場合に減速機診断のアプリケーション30が減速機の破損を示すアラートを出力するか否かをテストすることが難しい。
 そこで、編集部12は、コンピュータ3からの要求に基づいて記憶部20に記憶されるテストデータの一部を切り出し、切り出したテストデータのパラメータ、例えば劣化レベルを「10」以上に変更して新たなテストデータを作成する。
 以下、ロボットの軸の減速機の劣化レベルを診断する減速機診断を行うアプリケーション30の場合について説明するが、減速機診断以外のアプリケーションについても同様である。
 図21Aは、編集ツールの設定画面の一例を示す図である。
 図21Aに示すように、編集部12は、コンピュータ3から減速機診断のアプリケーション30に対するテストデータの要求を受け付けた場合、コンピュータ3の表示装置(図示しない)に、図17Aの時系列データの日時欄及び劣化レベル欄を表示するとともに、図21Aの編集ツールの設定画面を表示する。
 例えば、コンピュータ3がユーザの入力操作に基づいて図21Aの編集ツールにおいて診断対象の種類として「減速機診断」が選択された場合、編集部12は、選択された「減速機診断」をキー情報にして記憶部20に記憶される劣化レベルを検索することで日時及び劣化レベルの候補を特定してもよい。そして、コンピュータ3は、データ管理装置1から劣化レベルの時系列データを取得し、図17Aに示すように、取得した時系列データの日付欄と劣化レベル欄とを表示してもよい。コンピュータ3は、劣化レベルが「10」以上の場合に減速機診断のアプリケーション30が減速機の破損を示すアラートを出力するか否かをテストするために、ユーザの入力操作に基づいて、例えば図21Aの編集ツールで「2019年2月5日10:00」の日時が選択された場合、劣化レベル欄に「4.2」と表示することができる。
 図21Bは、劣化レベル変更後の編集ツールの設定画面の一例を示す図である。
 例えば、コンピュータ3は、ユーザの入力操作に基づいて、図21Aの編集ツールにおいて劣化レベル欄の劣化レベルが「10.2」に変更され、「別データとして保存」ボタンA3がユーザにより押下された場合、図21Bに示すように、編集ツールにおいて変更日時の入力欄、及び「保存」ボタンA4を表示する。コンピュータ3は、ユーザの入力操作に基づいて、例えば、変更日時の入力欄に「2020年2月5日10:00」が入力され、「保存」ボタンA4がユーザにより押下された場合、図21Bの編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、記憶部20に記憶される劣化レベルのデータから日時「2019年2月5日10:00」の劣化レベル「4.2」のデータを切り出す。編集部12は、切り出したデータを日時「2020年2月5日10:00」の劣化レベル「10.2」のデータに変更し、新たなテストデータとして記憶部20に記憶する。
 通信制御部13は、コンピュータ3からの要求に基づいて、作成された新たなテストデータを記憶部20から取得し、要求された新たなテストデータをコンピュータ3に送信制御する。そして、通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、コンピュータ3は、劣化レベルが「10」以上の場合に減速機診断のアプリケーション30が減速機の破損を示すアラートを出力するか否か、すなわち減速機診断のアプリケーション30が設計通りに動作するか否かをテストすることができる。
 図22は、時系列データからパラメータを変更する場合のテストデータの編集処理を例示するフローチャートである。
 なお、図22に示す編集処理において、ステップS61からステップS64の処理は、図18のステップS41からステップS44と同様であり、説明は省略する。
 ステップS65において、コンピュータ3は、ユーザの入力操作に基づいて、劣化レベル欄のデータが変更され、「別データとして保存」ボタンA3がユーザにより押下された場合、編集ツールにおいて変更日時の入力欄、及び「保存」ボタンA4を表示する。
 ステップS66において、コンピュータ3は、ユーザの入力操作に基づいて、変更日時の入力欄に変更日時を入力する。
 ステップS67において、データ管理装置1の編集部12は、編集ツールの設定画面の「保存」ボタンA4がユーザにより押下された場合、ステップS64で選択された日時のデータをステップS65及びステップS66で入力された内容に変更し、新たなテストデータとして記憶部20に記憶する。
 以上、編集ツールを用いてテストデータのパラメータを変更する場合について説明した。
<データ管理装置1の処理>
 本実施形態に係るデータ管理装置1の処理に係る動作について説明する。
 図23は、データ管理装置1の処理について説明するフローチャートである。
 ステップS71において、入力部11は、ロボット、制御装置、センサ等の機器2から時系列データを入力する。
 ステップS72において、記憶部20は、ステップS71で入力された時系列データを記憶部20に記憶する。
 ステップS73において、編集部12は、コンピュータ3からの要求に応じて、図9、図12、図15、図18、図20、及び図22のいずれかの編集処理を行い、新たなテストデータとして記憶部20に記憶する。
 ステップS74において、通信制御部13は、ステップS73で編集されたテストデータを記憶部20から取得し、要求された新たなテストデータをコンピュータ3に送信制御する。
 ステップS75において、通信部14は、ステップS74の送信制御に基づいて、要求された新たなテストデータをコンピュータ3に送信する。
 なお、記憶部20に機器2からの時系列データが既に記憶されている場合、図23のフローのうちステップS71及びステップS72の処理は、省略されてもよい。
 以上により、第1実施形態のデータ管理装置1は、ロボット、制御装置、センサ等の様々な機器2に正常系及び異常系のプログラムを実行することで、機器2から出力される正常系及び異常系の時系列データをテストデータとして記憶する。データ管理装置1は、コンピュータ3からの要求に基づいてテストデータを編集し、編集したテストデータを記憶するとともに、コンピュータ3に送信する。
 これにより、データ管理装置1は、アプリケーション30をテストするための様々な機器のテストデータを提供することができる。そして、コンピュータ3は、アプリケーション30のテストを行うことができる。
 以上、第1実施形態について説明した。
<第2実施形態>
 次に、第2実施形態について説明する。第2実施形態では、データ管理装置1は、第1実施形態の機能に加えて、コンピュータ3から要求された送信間隔又は送信時刻に基づいて要求されたテストデータの送信制御を行う。
 こうすることで、アプリケーションが対象とする機器の仕様と同様の条件でアプリケーションをテストすることができる。
 以下に、第2実施形態について説明する。
 図24は、第2実施形態に係るデータ管理装置1の機能構成を示す図である。なお、図1のデータ管理装置1の要素と同様の機能を有する要素については、同じ符号を付し、詳細な説明は省略する。
 図24に示すように、第2実施形態に係るデータ管理装置1は、制御部10a、及び記憶部20を有する。
 記憶部20は、第1実施形態の記憶部20と同様に、ロボットデータ21、CNCデータ22、及びセンサデータ23を有する。
 制御部10aは、入力部11、編集部12、通信制御部13a、及び通信部14を有する。制御部10は、記憶部20に記憶された所定のソフトウェア(データ管理プログラム)を実行することで、第2実施形態の各機能を実現する。
 入力部11、編集部12、及び通信部14は、第1実施形態における入力部11、編集部12、及び通信部14と同等の機能を有する。
 通信制御部13aは、第1実施形態の通信制御部13と同様に、コンピュータ3からの要求に基づいて、要求されたテストデータを記憶部20から取得し、要求されたテストデータをコンピュータ3に送信制御する。
 また、第2実施形態に係る通信制御部13aは、(1)テストデータ作成時のタイムスタンプを現在時刻に変換して要求されたテストデータを送信制御する、あるいは(2)コンピュータ3から要求された送信間隔で要求されたテストデータを送信制御する。
 以下、それぞれの場合の通信制御部13aの動作について説明する。
 (1)テストデータ作成時のタイムスタンプを現在時刻に変換して要求されたテストデータを送信制御する場合について
 図25は、送信ツールの設定画面の一例を示す図である。
 図25に示すように、通信制御部13aは、例えば、コンピュータ3からテストデータの送信指示を受け付けた場合、送信ツールの設定画面をコンピュータ3の表示装置(図示しない)に表示する。コンピュータ3は、ユーザの入力操作に基づいて、図25の送信ツールにおいて送信対象の機器2の種類として「ロボット」が選択された場合、通信制御部13aは、選択された「ロボット」をキー情報にして記憶部20に記憶されるテストデータを検索することで送信するテストデータの候補を特定する。そして、コンピュータ3は、ユーザの入力操作に基づいて、図25の送信ツールの設定画面において、例えば、図2のファイル名「data001」のテストデータを選択してもよい。
 コンピュータ3は、送信ツールの設定画面の「送信」ボタンA5がユーザにより押下された場合、送信ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 通信制御部13aは、コンピュータ3から受信した信号に含まれる設定内容に基づいて、ファイル名「data001」のテストデータを記憶部20から読み出す。通信制御部13aは、読み出したファイル名「data001」のテストデータ作成時のタイムスタンプ(例えば、2019年3月1日9:00:00:105や、2019年3月1日9:00:00:605等)を現在時刻(例えば、2019年9月10日10:00:00:505や、2019年9月10日10:00:01:005等)に合わせて変換し、テストデータのタイムスタンプの間隔(例えば、500msec)でコンピュータ3に送信制御する。
 通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、過去に作成したテストデータを現在のデータとして使うことができ、あたかも接続した機器2からリアルタイムで送信されたデータのように使うことができる。
 図26は、第2実施形態に係るテストデータの送信処理を例示するフローチャートである。
 ステップS81において、コンピュータ3は、ユーザの入力操作に基づいて、コンピュータ3の表示装置(図示しない)に表示された送信ツールの設定画面に送信対象の機器2の種類を入力する。
 ステップS82において、データ管理装置1の通信制御部13aは、ステップS81で選択された種類をキー情報にして送信するデータの候補を特定する。
 ステップS83において、コンピュータ3は、ユーザの入力操作に基づいて、データを選択する。
 ステップS84において、コンピュータ3は、送信ツールの「送信」ボタンA5がユーザにより押下された場合、選択されたデータの送信指示をデータ管理装置1に送信する。
 ステップS85において、通信制御部13aは、コンピュータ3からの送信指示に基づいて、選択されたデータのタイムスタンプを現在時刻に合わせて変換し、データのタイムスタンプの間隔でコンピュータ3に送信制御する。
 ステップS86において、通信部14は、通信制御部13aの送信制御に基づいて、選択されたデータをコンピュータ3に送信する。
 以上、テストデータ作成時のタイムスタンプを現在時刻に変換して要求されたテストデータを送信制御する場合について説明した。
 (2)コンピュータ3から要求された送信間隔でテストデータを送信制御する場合について
 図27は、送信ツールの設定画面の一例を示す図である。
 図27に示すように、通信制御部13aは、例えば、コンピュータ3からテストデータの送信間隔変更指示を受け付けた場合、送信ツールの設定画面をコンピュータ3の表示装置(図示しない)に表示する。コンピュータ3は、ユーザの入力操作に基づいて、図27の送信ツールにおいて送信対象の機器2の種類として「センサ」が選択された場合、通信制御部13aは、選択された「センサ」をキー情報にして記憶部20に記憶されるテストデータを検索することで送信するテストデータの候補を特定する。そして、コンピュータ3は、ユーザの入力操作に基づいて、図27の送信ツールの設定画面において、例えば、図5のテストデータ(例えば、ファイル名「data2001」)を選択してもよい。また、コンピュータ3は、ユーザの入力操作に基づいて、図27の送信ツールの設定画面において、選択したテストデータの送信間隔を「1sec」等に選択する。
 コンピュータ3は、送信ツールの設定画面の「送信」ボタンA5がユーザにより押下された場合、送信ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 通信制御部13aは、コンピュータ3から受信した信号に含まれる設定内容に基づいて、ファイル名「data2001」のテストデータを記憶部20から読み出す。通信制御部13aは、読み出したファイル名「data2001」のテストデータを、当該テストデータのタイムスタンプが示す1分間隔に替えて、設定内容が示す1秒間隔でコンピュータ3に送信制御する。
 通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、過去に作成したテストデータを現在のデータとして使うことができ、あたかも接続した機器2からリアルタイムで送信されたデータのように使うことができる。さらに、時間を短縮してアプリケーションの動作をテストすることができる。
 図28は、送信間隔を変更する場合のテストデータの送信処理を例示するフローチャートである。
 なお、図28に示す送信処理において、ステップS91からステップS93、ステップS95、及びステップS97の処理は、図26のステップS81からステップS83、ステップS84、及びステップS86と同様であり、説明は省略する。
 ステップS94において、コンピュータ3は、ステップS93で選択されたデータの送信間隔を選択する。
 ステップS96において、通信制御部13aは、コンピュータ3からの送信指示に基づいて、ステップS93で選択されたデータを、ステップS94で選択された送信間隔でコンピュータ3に送信制御する。
 以上、コンピュータ3から要求された送信間隔でテストデータを送信制御する場合について説明した。
 以上により、第2実施形態のデータ管理装置1は、ロボット、制御装置、センサ等の様々な機器2に正常系及び異常系のプログラムを実行することで、機器2から出力される正常系及び異常系の時系列データをテストデータとして記憶する。データ管理装置1は、コンピュータ3からの要求に基づいてテストデータのタイムスタンプを現在時刻に合わせて変換してテストデータをコンピュータ3に送信したり、指示された送信間隔でテストデータをコンピュータ3に送信したりする。
 これにより、データ管理装置1は、アプリケーション30をテストするための様々な機器のテストデータを提供することができる。そして、データ管理装置1は、過去に作成したテストデータを現在のデータとしてコンピュータ3のユーザに使用させることができ、あたかも接続した機器2からリアルタイムで送信されたデータのように使用させることができる。
 以上、第2実施形態について説明した。
<第2実施形態の変形例>
 第2実施形態では、データ管理装置1の通信制御部13aがコンピュータ3からの要求に応じてテストデータのタイムスタンプを現在時刻に合わせて変換してテストデータをコンピュータ3に送信制御したり、要求された送信間隔でテストデータをコンピュータ3に送信制御したが、これに限定されない。例えば、データ管理装置1の編集部12は、コンピュータ3からテストデータのタイムスタンプの変更指示を受け付けた場合、テストデータのタイムスタンプを編集して送信時刻を設定し、通信制御部13aは、設定された送信時刻になるとテストデータをコンピュータ3に送信してもよい。
 図29Aは、編集ツールの設定画面の一例を示す図である。図29Bは、選択したテストデータのタイムスタンプの一覧を含む編集ツールの設定画面の一例を示す図である。図29Cは、選択したテストデータのタイムスタンプの編集後の編集ツールの設定画面の一例を示す図である。
 図29Aに示すように、編集部12は、コンピュータ3からテストデータのタイムスタンプの変更指示を受け付けた場合、編集ツールの設定画面をコンピュータ3の表示装置(図示しない)に表示する。コンピュータ3は、ユーザの入力操作に基づいて、図29Aの編集ツールにおいて編集対象の機器2の種類として「ロボット」が選択された場合、編集部12は、選択された「ロボット」をキー情報にして記憶部20に記憶されるテストデータを検索することで編集するテストデータの候補を特定する。そして、コンピュータ3は、ユーザの入力操作に基づいて、図29Aの編集ツールの設定画面において、例えば、図2のテストデータのファイル名「data001」を選択してもよい。そして、コンピュータ3は、図29Bに示すように、選択したテストデータのタイムスタンプの一覧を編集ツールの画面に表示する。
 例えば、コンピュータ3は、図29Cに示すように、ユーザの入力操作に基づいて、選択したテストデータのタイムスタンプを編集する。そして、コンピュータ3は、編集ツールの設定画面の「変更」ボタンA6がユーザにより押下された場合、編集ツールの設定画面に設定された設定内容を含む信号を、データ管理装置1に送信する。
 編集部12は、コンピュータ3から受信した信号に含まれる設定内容に基づいて、ファイル名「data001」のテストデータを記憶部20から読み出す。編集部12は、読み出したファイル名「data001」のテストデータのタイムスタンプそれぞれを、設定内容に含まれるタイムスタンプに変更して新たなテストデータとして記憶部20に記憶する。
 例えば、工場のシフトに合わせて時刻を設定したり、うるう年等の特殊条件の日時に設定したりすることができ、工場等の実際の現場における作業環境に応じて、アプリケーション30の動作をテストすることができる。
 通信制御部13aは、新たなテストデータの変更されたタイムスタンプの時刻に基づいて、当該テストデータをコンピュータ3に送信制御する。
 通信部14は、通信制御部13の送信制御に基づいて、要求されたテストデータをOPC UA(登録商標)やMTConnect(登録商標)等の機器2が準拠するプロトコルに変換し、コンピュータ3に送信する。
 これにより、過去に作成したテストデータをユーザが未来を含む自由に設定した時刻のデータとして使うことができ、あたかも接続した機器2から送信されたデータのように使うことができる。
 図30は、タイムスタンプを変更する場合のテストデータの編集処理を例示するフローチャートである。
 ステップS101において、コンピュータ3は、ユーザの入力操作に基づいて、コンピュータ3の表示装置(図示しない)に表示された編集ツールの設定画面において編集対象の機器2の種類を選択する。
 ステップS102において、データ管理装置1の編集部12は、ステップS101で選択された種類をキー情報にしてデータの候補を特定する。
 ステップS103において、コンピュータ3は、ユーザの入力操作に基づいて、データを選択する。
 ステップS104において、コンピュータ3は、ステップS103で選択されたデータのタイムスタンプを表示する。
 ステップS105において、コンピュータ3は、ユーザの入力操作に基づいて、ステップS104で表示されたタイムスタンプを編集する。
 ステップS106において、データ管理装置1の編集部12は、編集ツールの設定画面の「変更」ボタンA6がユーザにより押下された場合、ステップS103で選択されたデータのタイムスタンプをステップS105で編集されたタイムスタンプに変更し、新たなテストデータとして作成して記憶部20に記憶する。
 ステップS107において、データ管理装置1の通信制御部13aは、ステップS106で変更されたタイムスタンプの時刻になった場合、ステップS106で作成された新たなテストデータをコンピュータ3に送信制御する。
 ステップS108において、通信部14は、通信制御部13aの送信制御に基づいて、テストデータをコンピュータ3に送信する。
 以上、第1実施形態、第2実施形態、及び第2実施形態の変形例について説明したが、データ管理装置1は、上述の実施形態に限定されるものではなく、目的を達成できる範囲での変形、改良等を含む。
<変形例>
 第1実施形態、第2実施形態、及び第2実施形態の変形例では、データ管理装置1は、コンピュータ3と異なる装置として例示したが、データ管理装置1の一部又は全部の機能を、コンピュータ3が備えるようにしてもよい。
 あるいは、データ管理装置1の制御部10、及び記憶部20の一部又は全部を、例えば、サーバが備えるようにしてもよい。また、クラウド上で仮想サーバ機能等を利用して、データ管理装置1の各機能を実現してもよい。
 さらに、データ管理装置1は、データ管理装置1の各機能を適宜複数のサーバに分散される、分散処理システムとしてもよい。
 なお、第1実施形態、第2実施形態、及び第2実施形態の変形例における、データ管理装置1に含まれる各機能は、ハードウェア、ソフトウェア又はこれらの組み合わせによりそれぞれ実現することができる。ここで、ソフトウェアによって実現されるとは、コンピュータがプログラムを読み込んで実行することにより実現されることを意味する。
 プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(Non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(Tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えば、フレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば、光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM)を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(Transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は、無線通信路を介して、プログラムをコンピュータに供給できる。
 なお、記録媒体に記録されるプログラムを記述するステップは、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
 以上を換言すると、本開示のデータ管理装置、及びデータ管理方法は、次のような構成を有する各種各様の実施形態を取ることができる。
 (1)本開示のデータ管理装置1は、少なくとも1つの機器2から出力されるデータを入力する入力部11と、入力部11により入力されたデータをテストデータとして記憶する記憶部20と、コンピュータ3からの要求に基づいて要求されたテストデータを記憶部20から取得し、要求されたテストデータをコンピュータ3に送信制御する通信制御部13と、通信制御部13の送信制御に基づいて、要求されたテストデータをコンピュータ3に送信する通信部14と、を備える。
 このデータ管理装置1によれば、アプリケーション30をテストするための様々な機器のテストデータを提供することができる。
 (2) (1)に記載のデータ管理装置1において、コンピュータ3からの要求に応じて記憶部20に記憶されたテストデータを編集する編集部12をさらに備えてもよい。
 そうすることで、データ管理装置1は、複数の工程のテストデータを組み合わせて新たなテストデータを作成することができる。また、データ管理装置1は、テストデータのタイムスタンプを編集することで、過去に作成したテストデータをユーザが未来を含む自由に設定した時刻のデータとして使うことができ、あたかも接続した機器2から送信されたデータのように使うことができる。
 (3) (1)又は(2)に記載のデータ管理装置1において、通信制御部13aは、コンピュータ3から要求された送信間隔又は送信時刻に基づいて要求されたテストデータの送信制御を行ってもよい。
 そうすることで、データ管理装置1は、過去に作成したテストデータを現在のデータとして使うことができ、あたかも接続した機器2からリアルタイムで送信されたデータのように使うことができる。
 (4)本開示のデータ管理方法は、少なくとも1つの機器2から出力されるデータを入力し、入力されたデータをテストデータとして記憶部20に記憶し、コンピュータ3からの要求に基づいて要求されたテストデータを記憶部20から取得し、要求されたテストデータをコンピュータ3に送信制御し、送信制御に基づいて、要求されたテストデータをコンピュータ3に送信する。
 このデータ管理方法によれば、(1)と同様の効果を奏することができる。
 (5) (4)に記載のデータ管理方法において、コンピュータ3からの要求に応じて記憶部20に記憶されたテストデータを編集してもよい。
 そうすることで、(2)と同様の効果を奏することができる。
 (6) (4)又は(5)に記載のデータ管理方法において、コンピュータ3から要求された送信間隔又は送信時刻に基づいて要求されたテストデータの送信制御を行ってもよい。
 そうすることで、(3)と同様の効果を奏することができる。
 1 データ管理装置
 10、10a 制御部
 11 入力部
 12 編集部
 13、13a 通信制御部
 14 通信部
 20 記憶部
 21 ロボットデータ
 22 CNCデータ
 23 センサデータ
 2 機器
 3 コンピュータ

Claims (6)

  1.  少なくとも1つの機器から出力されるデータを入力する入力部と、
     前記入力部により入力された前記データをテストデータとして記憶する記憶部と、
     外部装置からの要求に基づいて要求されたテストデータを前記記憶部から取得し、要求されたテストデータを前記外部装置に送信制御する通信制御部と、
     前記通信制御部の送信制御に基づいて、要求されたテストデータを前記外部装置に送信する通信部と、
     を備えるデータ管理装置。
  2.  前記外部装置からの要求に応じて前記記憶部に記憶されたテストデータを編集する編集部をさらに備える請求項1に記載のデータ管理装置。
  3.  前記通信制御部は、前記外部装置から要求された送信間隔又は送信時刻に基づいて要求されたテストデータの送信制御を行う、請求項1又は請求項2に記載のデータ管理装置。
  4.  少なくとも1つの機器から出力されるデータを入力し、
     入力された前記データをテストデータとして記憶部に記憶し、
     外部装置からの要求に基づいて要求されたテストデータを前記記憶部から取得し、要求されたテストデータを前記外部装置に送信制御し、
     前記送信制御に基づいて、要求されたテストデータを前記外部装置に送信する、
     データ管理方法。
  5.  前記外部装置からの要求に応じて前記記憶部に記憶されたテストデータを編集する、請求項4に記載のデータ管理方法。
  6.  前記外部装置から要求された送信間隔又は送信時刻に基づいて要求されたテストデータの送信制御を行う、請求項4又は請求項5に記載のデータ管理方法。
PCT/JP2021/019120 2020-05-27 2021-05-20 データ管理装置、及びデータ管理方法 WO2021241384A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202180037310.9A CN115668151A (zh) 2020-05-27 2021-05-20 数据管理装置及数据管理方法
US17/924,267 US20230176559A1 (en) 2020-05-27 2021-05-20 Data management device and data management method
JP2022526948A JPWO2021241384A1 (ja) 2020-05-27 2021-05-20
DE112021003026.4T DE112021003026T5 (de) 2020-05-27 2021-05-20 Datenverwaltungsvorrichtung und Datenverwaltungsverfahren

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020092572 2020-05-27
JP2020-092572 2020-05-27

Publications (1)

Publication Number Publication Date
WO2021241384A1 true WO2021241384A1 (ja) 2021-12-02

Family

ID=78744439

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/019120 WO2021241384A1 (ja) 2020-05-27 2021-05-20 データ管理装置、及びデータ管理方法

Country Status (5)

Country Link
US (1) US20230176559A1 (ja)
JP (1) JPWO2021241384A1 (ja)
CN (1) CN115668151A (ja)
DE (1) DE112021003026T5 (ja)
WO (1) WO2021241384A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200209A (ja) * 1996-01-24 1997-07-31 Fujitsu Ltd 中継装置テスト方式
JP2009026248A (ja) * 2007-07-23 2009-02-05 Csk Holdings Corp エミュレーション装置及びエミュレーションプログラム
JP2009288954A (ja) * 2008-05-28 2009-12-10 Mitsubishi Electric Corp 実機模擬データシミュレータ装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004185595A (ja) 2002-07-26 2004-07-02 Ricoh Co Ltd 情報処理装置およびそのプログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200209A (ja) * 1996-01-24 1997-07-31 Fujitsu Ltd 中継装置テスト方式
JP2009026248A (ja) * 2007-07-23 2009-02-05 Csk Holdings Corp エミュレーション装置及びエミュレーションプログラム
JP2009288954A (ja) * 2008-05-28 2009-12-10 Mitsubishi Electric Corp 実機模擬データシミュレータ装置

Also Published As

Publication number Publication date
US20230176559A1 (en) 2023-06-08
JPWO2021241384A1 (ja) 2021-12-02
DE112021003026T5 (de) 2023-04-20
CN115668151A (zh) 2023-01-31

Similar Documents

Publication Publication Date Title
US10671503B2 (en) Mobile application interactive user interface for a remote computing device monitoring a test device
EP3232280B1 (en) Field device maintenance apparatus, method for maintaining a field device, and storage medium
WO2015136959A1 (ja) 制御システム、方法、プログラムおよび情報処理装置
US11513506B2 (en) Configuring an industrial automation system for internet-of-things accessibility
EP3699709B1 (en) Servo motor adjusting device and servo motor adjusting method
EP3232380B1 (en) Device maintenance apparatus, method for maintaining device, and storage medium
CN112612238A (zh) 设置装置和plc系统
JP2019135467A (ja) 故障診断システム
JP2018088177A (ja) 情報処理装置、情報処理システム、情報処理方法、および情報処理プログラム
TWI498844B (zh) 工程工具
JP6442131B2 (ja) 制御システムおよび制御装置
CN111610754A (zh) 画面制作装置和画面制作系统
WO2021241384A1 (ja) データ管理装置、及びデータ管理方法
KR101981910B1 (ko) 프로그래머블 표시기
JP6969454B2 (ja) 制御装置、制御方法、および、制御プログラム
JP6169236B1 (ja) 稼働状況監視装置
JP6919679B2 (ja) 機器保全装置、機器保全方法、機器保全プログラム及び記録媒体
JP2018045681A (ja) 稼働状況監視装置
CN108983083B (zh) 电动工具开关调试控制方法、装置及系统
JP6779411B1 (ja) 教師データ生成装置、教師データ生成方法、教師データ生成プログラムおよび記憶媒体
JP2020013296A (ja) 監視制御システム
JP2021060965A (ja) 設定装置およびplcシステム
JP2020047306A (ja) 機器保全装置、機器保全方法、機器保全プログラム及び記録媒体
KR20170122484A (ko) Hmi 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21814374

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022526948

Country of ref document: JP

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 21814374

Country of ref document: EP

Kind code of ref document: A1