Simulation device, control system, simulation method and program

Through the simulation device and the simulation manager, the coordinated actions of multiple machines are simulated in the simulation space, the problem of poor coordination actions of multiple machines in the prior art is solved, and effective coordinated relationship reproduction and progress adjustment in non-real-time simulation is realized .

CN115836258BActive Publication Date: 2024-11-15YASKAWA DENKI KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180044241.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-23
Filing Date
2021-03-02
Publication Date
2024-11-15
Estimated Expiration
2041-03-02

AI Technical Summary

Technical Problem

The prior art is difficult to properly simulate coordinated actions between multiple machines in the simulation space, especially in non-real-time simulations, and the relationship between coordination relationships and control progress of multiple machines cannot be effectively reproduced.

Method used

Using a simulation device, including a first simulator and a second simulator, control the simulation progress by simulating the control of the first machine and the second machine by simulating the first controller and the second controller, and through the simulation manager to control the progress relationship, Combined with the communication simulator, it simulates communication delays and realizes appropriate simulation of coordinated actions of multiple machines.

Benefits of technology

Even in non-real-time simulation, the coordination relationship and control progress of multiple machines can be effectively reproduced, which improves the coordinated action simulation effect in the simulation space and can adjust the simulation progress under different control cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115836258B_ABST
    Figure CN115836258B_ABST
Patent Text Reader

Abstract

The simulation device (100) includes: a first simulator, which simulates the control of a first machine by a first controller; a second simulator, which simulates the control of a second machine by a second controller; and a simulation manager (110) which controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a simulation device, a control system, a simulation method and a program. Background Art

[0002] Patent document 1 discloses a robot simulator, comprising: a model storage unit storing model information related to a robot and obstacles; and an information processing unit generating a path based on the model information that avoids collision between the robot and obstacles and enables the front end of the robot to move from a starting position to an end position.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2018-134703 Summary of the invention

[0006] Problems to be solved by the invention

[0007] The present invention provides a device effective for appropriately simulating the coordinated actions of a plurality of devices.

[0008] Means for solving problems

[0009] A simulation device involved in one aspect of the present invention includes: a first simulator, which simulates the control of a first machine by a first controller; a second simulator, which simulates the control of a second machine by a second controller; and a simulation manager, which controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.

[0010] According to another aspect of the present invention, a control system is provided, comprising: a simulation device having a communication simulator, wherein the communication simulator causes a receiving side simulator to obtain communication data generated by a sending side simulator at a timing based on a predetermined virtual delay time; an actual control system, wherein the actual control system includes a first controller and a second controller; and a virtual delay setting unit, wherein the virtual delay setting unit causes the virtual delay time to correspond to the communication delay time between the first controller and the second controller.

[0011] A control system involved in yet another aspect of the present invention includes: an actual control system, which includes the above-mentioned simulation device, a first controller and a second controller; and a comparison image generating unit, which generates a comparison image for comparing the control progress of the first machine by the first controller, the control progress of the second machine by the second controller, the simulation progress performed by the first simulator and the simulation progress performed by the second simulator.

[0012] A simulation method according to another aspect of the present invention includes: simulating control of a first machine by a first controller through a first simulator; simulating control of a second machine by a second controller through a second simulator; and controlling the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.

[0013] The program involved in yet another aspect of the present invention enables the device to consist of: a first simulator, which simulates the control of a first machine by a first controller; a second simulator, which simulates the control of a second machine by a second controller; and a simulation manager, which controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.

[0014] Effects of the Invention

[0015] According to the present invention, it is possible to provide a device that is effective in appropriately simulating the coordinated operations of a plurality of devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram illustrating the structure of the equipment system.

[0017] Figure 2 is a schematic diagram illustrating the structure of a robot.

[0018] Figure 3 is a block diagram illustrating the structure of a simulation device.

[0019] Figure 4 is a block diagram illustrating the structure of a simulation manager.

[0020] Figure 5 is a block diagram illustrating the structure of a communication simulator.

[0021] Figure 6 This is a schematic diagram illustrating the transition of communication data generated by the simulator on the transmission side, the contents of the communication buffer, and the communication data acquired by the simulator on the reception side.

[0022] Figure 7 It is a table illustrating communication definitions.

[0023] Figure 8 This is a block diagram illustrating the structure of a data collection device.

[0024] Fig. 9 This is a block diagram illustrating the hardware configuration of a simulation device and a data collection device.

[0025] Fig.10 is a flow chart illustrating the simulation process.

[0026] Fig.11is a flowchart illustrating the reproduction speed adjustment process.

[0027] Fig.12 This is a flowchart showing a modified example of the simulation process.

[0028] Fig.13 is a flow chart illustrating a single simulation process.

[0029] Fig.14 is a flowchart illustrating the adjustment process of the virtual delay time.

[0030] Fig.15 is a flowchart illustrating the abnormality monitoring process. DETAILED DESCRIPTION

[0031] Hereinafter, the embodiments will be described in detail with reference to the drawings. In the description, the same reference numerals are given to the same components or components having the same functions, and repeated descriptions are omitted.

[0032] (Machine System)

[0033] Figure 1 The machine system 1 shown is a system that coordinates the operation of a plurality of machines 3. As a specific example of the machine system 1, a production system that coordinates the operation of a plurality of machines 3 for workpiece production can be cited, but the purpose of the operation of the plurality of machines 3 is not necessarily limited to workpiece production.

[0034] To coordinate the actions of multiple machines 3 means, for example, to make multiple machines share the execution of multiple actions for achieving the same purpose, and may also include making other machines act according to the action results of any one machine. In the case where the "same purpose" is the production of workpieces, the machine system 1 may make multiple machines 3 share the execution of multiple operations for obtaining a workpiece, or may make multiple machines 3 share the execution of multiple operations for each of multiple workpieces.

[0035] The machine system 1 includes a plurality of machines 3, an actual control system 5 for controlling the plurality of machines 3, a simulation device 100, and a data collection device 200. The number of machines 3 is not particularly limited. The plurality of machines 3 may also include robots. Figure 1 A conveyor 3A and robots 3B and 3C are shown in FIG.

[0036] The conveyor 3A conveys the workpiece by power of an electric motor, for example. Specific examples of the conveyor 3A include a belt conveyor, a roller conveyor, and the like. The robots 3B and 3C perform operations on the workpieces conveyed by the conveyor 3A. Specific examples of operations on the workpieces include assembling other workpieces (for example, auxiliary parts) to the workpieces (for example, base parts) conveyed by the conveyor 3A, fastening (for example, bolting) or joining (for example, welding) the parts in the workpieces conveyed by the conveyor 3A, and the like.

[0037] The actions of the conveyor 3A and the robots 3B and 3C may also include coordinated actions of the conveyor 3A and the robots 3B and 3C. For example, the robots 3B and 3C may also perform work on the workpiece at the timing when the conveyor 3A places the workpiece at a predetermined work position. The conveyor 3A may also interrupt the conveyance of the workpiece during the execution of the work of the robots 3B and 3C, and resume the conveyance of the workpiece after the work of the robots 3B and 3C is completed.

[0038] The actions of the conveyor 3A and the robots 3B and 3C may include coordinated actions of the robots 3B and 3C. For example, the robot 3B may arrange the auxiliary parts at a predetermined assembly position in the base part conveyed by the conveyor 3A, and the robot 3C may fasten or join the auxiliary parts arranged by the robot 3B to the base part. In the case where the auxiliary parts are fastened or joined to the base part at multiple locations, the robots 3B and 3C may share the fastening or joining of the multiple locations.

[0039] Figure 2 Schematic diagrams illustrating the schematic structure of robots 3B and 3C. For example, robots 3B and 3C are 6-axis vertical multi-joint robots, and have a base 11, a rotating part 12, a first arm 13, a second arm 14, a third arm 17, a front end 18, and actuators 41, 42, 43, 44, 45, and 46. The base 11 is arranged around the conveyor 3A. The rotating part 12 is arranged on the base 11 in a manner of rotating around a vertical axis 21. The first arm 13 is connected to the rotating part 12 in a manner of swinging around an axis 22 that intersects (for example, is orthogonal to) the axis 21. The intersection also includes a situation in which the relationship is in a torsion relationship such as a so-called three-dimensional intersection. The second arm 14 is connected to the front end of the first arm 13 in a manner of swinging around an axis 23 that is substantially parallel to the axis 22. The second arm 14 includes an arm base 15 and an arm end 16. The arm base 15 is connected to the front end of the first arm 13 and extends along an axis 24 that intersects (for example, is orthogonal to) the axis 23. The arm end 16 is connected to the front end of the arm base 15 so as to rotate around the axis 24. The third arm 17 is connected to the front end of the arm end 16 so as to swing around the axis 25 intersecting (e.g., orthogonal) the axis 24. The front end 18 is connected to the front end of the third arm 17 so as to rotate around the axis 26 intersecting (e.g., orthogonal) the axis 25.

[0040] In this way, robots 3B and 3C have: a joint 31 connecting the base 11 and the rotating part 12; a joint 32 connecting the rotating part 12 and the first arm 13; a joint 33 connecting the first arm 13 and the second arm 14; a joint 34 connecting the arm base 15 and the arm end 16 in the second arm 14; a joint 35 connecting the arm end 16 and the third arm 17; and a joint 36 connecting the third arm 17 and the front end 18.

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

[0042] The specific structure of the robots 3B and 3C can be changed as appropriate. For example, the robots 3B and 3C may be 7-axis redundant robots with one additional axis joint added to the above-mentioned 6-axis vertical multi-joint robot, or may be so-called scalar multi-joint robots.

[0043] The control system 4 controls the plurality of devices 3. The control system 4 will be described in detail below.

[0044] (Control System)

[0045] The control system 4 includes an actual control system 5 and a simulation device 100. The actual control system 5 controls a plurality of machines 3. The actual control system 5 may also include a plurality of controllers 7 that respectively control the plurality of machines 3, and a controller 6 that can communicate with the plurality of controllers 7. Figure 1 2 shows a controller 7A for controlling the conveyor 3A, a controller 7B for controlling the robot 3B, a controller 7C for controlling the robot 3C, and a controller 6 capable of communicating with the controllers 7A, 7B, and 7C.

[0046] The controller 7A is a motor controller that repeatedly executes the segment processing for moving the conveyor 3A according to the control command in a predetermined control cycle. In the present embodiment, the "segment processing" refers to the processing assigned and determined for each cycle, and the content is not particularly limited as long as it is a processing for each cycle. Hereinafter, the control command for the controller 7A is referred to as the "transport control command", the segment processing executed by the controller 7A is referred to as the "transport segment processing", and the control cycle for executing the transport segment processing is referred to as the "transport control cycle".

[0047] The transport control instruction includes, for example, a transport target position and a moving speed of the workpiece to the transport target position. For example, the transport segmentation process includes: calculating the motion target value of the conveyor 3A for each transport control cycle based on the transport control instruction; and operating the conveyor 3A according to the motion target value.

[0048] The controller 7B is a robot controller that repeatedly executes the segment processing for moving the robot 3B according to the control instruction in a predetermined control cycle. Hereinafter, the control instruction for the controller 7B is referred to as the "first robot control instruction", the segment processing executed by the controller 7B is referred to as the "first robot segment processing", and the control cycle for executing the first robot segment processing is referred to as the "first robot control cycle".

[0049] The first robot control instruction includes, for example, an execution instruction of a task program. The task program is an action program including one or more action commands arranged in a time series. The task program is prepared in advance and stored in the controller 7B. The one or more action commands respectively include a target position / posture of the front end portion 18 and a target moving speed of the front end portion 18 to reach the target position / posture.

[0050] The first robot segment processing includes: calculating the target position / posture of the front end portion 18 of each first robot control cycle based on the first robot control instruction; calculating the action target values ​​of the actuators 41, 42, 43, 44, 45, 46 for moving the front end portion 18 to the calculated target position / posture through inverse kinematics operation; and actuating the actuators 41, 42, 43, 44, 45, 46 according to the calculated action target values.

[0051] The controller 7C is a robot controller that repeatedly executes the segment processing for moving the robot 3C according to the control instruction in a predetermined control cycle. Hereinafter, the control instruction for the controller 7C is referred to as the "second robot control instruction", the segment processing executed by the controller 7C is referred to as the "second robot segment processing", and the control cycle for executing the second robot segment processing is referred to as the "second robot control cycle".

[0052] The second robot control instruction includes, for example, an execution instruction of a task program. The task program is an action program including one or more action commands arranged in a time series. The task program is prepared in advance and stored in the controller 7C. The one or more action commands respectively include a target position / posture of the front end portion 18 and a target moving speed of the front end portion 18 to reach the target position / posture.

[0053] The second robot segment processing includes: calculating the target position / posture of the front end portion 18 of each second robot control cycle based on the second robot control instructions; calculating the action target values ​​of the actuators 41, 42, 43, 44, 45, 46 for moving the front end portion 18 to the calculated target position / posture through inverse kinematics operations; and actuating the actuators 41, 42, 43, 44, 45, 46 according to the calculated action target values.

[0054] The controller 6 is, for example, a programmable logic controller, and repeatedly executes a segmented process in a predetermined control cycle to coordinate the actions of the plurality of machines 3. Hereinafter, the segmented process executed by the controller 6 is referred to as "system segmented process", and the control cycle for executing the system segmented process is referred to as "system control cycle".

[0055] The system segmentation process includes: receiving status information of multiple machines 3 and workpieces from multiple controllers 7, etc.; determining the machine 3 (hereinafter referred to as the "controlled object machine") that should start a new action based on a predetermined system program and status information; and sending a control instruction for starting a new action to the controller 7 of the controlled object machine 3. For example, in the case where the conveyor 3A is the controlled object machine, the controller 6 sends a transport control instruction for causing the conveyor 3A to perform a new action to the controller 7A based on the system program. In the case where the robot 3B is the controlled object machine, the controller 6 sends a first robot control instruction for causing the robot 3B to perform a new action to the controller 7B based on the system program. In the case where the robot 3C is the controlled object machine, the controller 6 sends a second robot control instruction for causing the robot 3C to perform a new action to the controller 7C based on the system program.

[0056] As an example, the controller 6 may also confirm whether the workpiece is arranged at the working position for the robots 3B and 3C based on the status information, and when it is determined that the workpiece is arranged at the working position, the controller 6 sends a transport control instruction to stop the conveyor 3A from transporting the workpiece to the controller 7A, and sends a first robot control instruction and a second robot control instruction including an execution instruction of a task program for the workpiece to the controllers 7B and 7C, respectively. In addition, the controller 6 may also confirm whether the work of the robots 3B and 3C on the workpiece is completed based on the status information, and when it is determined that the work of the robots 3B and 3C on the workpiece is completed, the controller 6 sends a transport control instruction to restart the conveyor 3A from transporting the workpiece to the controller 7A.

[0057] In this way, the controller 6 sends the transport control command and the first robot control command, and the controllers 7B and 7C (second controllers) operate the robots 3B and 3C in a coordinated manner with the operation of the conveyor 3A based on the control of the controller 7A (first controller). In addition, the controller 7A (second controller) operates the conveyor 3A in a coordinated manner with the operation of the robots 3B and 3C based on the control of the controllers 7B and 7C (first controller).

[0058] The controller 6 can also confirm, based on the status information, whether the first auxiliary part is configured at the specified first assembly position in the base part through the robot 3B, and when it is determined that the first auxiliary part is configured at the first assembly position, send a second robot control instruction to the robot 3C containing an execution instruction for the task program for fastening or joining the first auxiliary part to the base part.

[0059] The controller 6 can also confirm whether the first auxiliary part is fastened or joined to the base part through the robot 3C based on the status information. When it is determined that the first auxiliary part is fastened or joined to the base part, the controller 6 sends a first robot control instruction including an execution instruction of a task program for configuring the second auxiliary part at a specified second assembly position in the base part to the robot 3B.

[0060] The controller 6 can also confirm whether a second auxiliary part is configured at the second assembly position through the robot 3B based on the status information, and when it is determined that the second auxiliary part is configured at the second assembly position, send a second robot control instruction to the robot 3C containing an execution instruction of a task program for fastening or joining the second auxiliary part to the base part.

[0061] In this way, the controller 6 sends the first robot control command and the second robot control command, and the controller 7C (second controller) causes the robot 3C to move in a coordinated manner with the movement of the robot 3B under the control of the controller 7B (first controller). In addition, the controller 7B (second controller) causes the robot 3B to move in a coordinated manner with the movement of the robot 3C under the control of the controller 7C (first controller).

[0062] As described above, the controller 6 can communicate with the plurality of controllers 7, and therefore the controllers 7 can also communicate with each other indirectly via the controller 6. The controllers 7 may also be able to communicate with each other directly.

[0063] The controller 6 sending a control instruction to the controller 7 is equivalent to the controller 6 controlling the machine 2 including the controller 7 and the machine 3. For example, the controller 6 sending a control instruction to the controller 7A is equivalent to the controller 6 controlling the machine 2A including the controller 7A and the conveyor 3A. The controller 6 sending a control instruction to the controller 7B is equivalent to the controller 6 controlling the machine 2B including the controller 7B and the robot 3B. The controller 6 sending a control instruction to the controller 7C is equivalent to the controller 6 controlling the machine 2C including the controller 7C and the robot 3C.

[0064] Therefore, the controller 6 is equivalent to a controller that controls the plurality of machines 2A, 2B, and 2C. The controllers 7B and 7C operating the robots 3B and 3C in a manner coordinated with the operation of the conveyor 3A based on the control of the controller 7A is equivalent to the controllers 7B and 7C (second controllers) operating the robots 3B and 3C in a manner coordinated with the operation of the machine 2A based on the control of the controller 6 (first controller).

[0065] The controller 7A causes the conveyor 3A to move in a manner coordinated with the movements of the robots 3B and 3C based on the control of the controllers 7B and 7C, which is equivalent to the controller 7A (second controller) causing the conveyor 3A to move in a manner coordinated with the movements of the machines 2B and 2C based on the control of the controller 6 (first controller).

[0066] The controller 7C operating the robot 3C in coordination with the operation of the robot 3B under the control of the controller 7B is equivalent to the controller 7C (second controller) operating the robot 3C in coordination with the operation of the machine 2B under the control of the controller 6 (first controller).

[0067] The controller 7B causing the robot 3B to move in coordination with the movement of the robot 3C under the control of the controller 7C is equivalent to the controller 7B (second controller) causing the robot 3B to move in coordination with the movement of the machine 2C under the control of the controller 6 (first controller).

[0068] The simulation device 100 simulates the control of multiple machines 3 by the actual control system 5. In the simulation of such a whole system, it is also necessary to appropriately simulate the coordination relationship between the multiple machines 3. However, the simulation of each of the multiple machines 3 is not necessarily performed in real time. For example, the simulation of the transport segmentation process performed by the controller 7A includes calculating the action target value of the conveyor 3A for each transport control cycle based on the transport control instruction, and calculating the action amount of the conveyor 3A corresponding to the action target value, but the operation time of the simulation is not limited to being consistent with the transport control cycle. Therefore, if the control of the controller 6 and the multiple controllers 7 are simulated separately, it is impossible to appropriately simulate the relationship between the control progress of the controller 6 and the control progress of the controller 7, and the relationship between the control progress of the controller 7 and the control progress of the controller 7, and it is impossible to reproduce the coordination relationship between the multiple machines 3 in the simulation space.

[0069] In contrast, the simulation device 100 is configured to perform: simulating the control of the first machine by the first controller through the first simulator; simulating the control of the second machine by the second controller through the second simulator; and controlling the simulation progress of the first simulator and the simulation progress of the second simulator based on the relationship between the control progress of the first controller and the control progress of the second controller.

[0070] Thus, even in a non-real-time simulation executed at an elapsed time different from the actual time, the relationship between the simulation progress based on the first simulator and the simulation progress based on the second simulator can be easily made to correspond to the relationship between the control progress of the first controller on the first machine and the control progress of the second controller on the second machine. Therefore, the coordination relationship of the plurality of machines 3 can be easily reproduced in the simulation space.

[0071] For example Figure 3 As shown, the simulation device 100 has a plurality of simulators 101 and 102 and a simulation manager 110 as a functional structure.

[0072] As an example of the plurality of simulators 102, Figure 3 1 shows simulators 102A, 102B, and 102C corresponding to the controllers 7A, 7B, and 7C, respectively. The simulator 102A simulates the control of the conveyor 3A by the controller 7A. For example, the simulator 102A simulates the transport segmentation process performed by the controller 7A. The simulation of the transport segmentation process includes: calculating the motion target value of the conveyor 3A for each transport control cycle based on the transport control instruction; and calculating the motion amount of the conveyor 3A corresponding to the motion target value.

[0073] The simulator 102B simulates the control of the robot 3B by the controller 7B. For example, the simulator 102B simulates the first robot segment processing performed by the controller 7B. The simulation of the first robot segment processing includes: calculating the target position / posture of the front end portion 18 of each first robot control cycle based on the first robot control instruction; calculating the motion target values ​​of the actuators 41, 42, 43, 44, 45, 46 for moving the front end portion 18 to the calculated target position / posture by inverse kinematics calculation; and calculating the motion amounts of the actuators 41, 42, 43, 44, 45, 46 corresponding to the calculated motion target values.

[0074] The simulator 102C simulates the control of the robot 3C by the controller 7C. For example, the simulator 102C simulates the second robot segment processing performed by the controller 7C. The simulation of the second robot segment processing includes: calculating the target position / posture of the front end portion 18 of each second robot control cycle based on the second robot control instruction; calculating the motion target values ​​of the actuators 41, 42, 43, 44, 45, 46 for moving the front end portion 18 to the calculated target position / posture by inverse kinematics calculation; and calculating the motion amounts of the actuators 41, 42, 43, 44, 45, 46 corresponding to the calculated motion target values.

[0075] The simulator 101 simulates the control of the machines 2A, 2B, and 2C by the controller 6. For example, the simulator 101 simulates the system segmentation processing of the controller 6. The simulation of the system segmentation processing includes: obtaining virtual state information of multiple machines 3 and workpieces based on the simulation results of multiple simulators 102A, 102B, and 102C; determining the machine 3 (hereinafter referred to as the "controlled object machine") that should start a new action based on a predetermined system program and virtual state information; and sending a control instruction for starting a new action to the simulator 102 of the controlled object machine 3.

[0076] Simulators 102B and 102C (second simulators) can also simulate the control of robots 3B and 3C (second machine) by controllers 7B and 7C (second controllers) so that the simulation results of the actions of robots 3B and 3C (second machine) are coordinated with the simulation results of the actions of conveyor 3A (first machine) by simulator 102A (first simulator).

[0077] Simulators 102B and 102C (second simulators) can also simulate the control of robots 3B and 3C (second machine) by controllers 7B and 7C (second controllers) so that the simulation results of the actions of robots 3B and 3C (second machine) are coordinated with the simulation results of the actions of machine 2A (first machine) by simulator 101 (first simulator).

[0078] Simulator 102A (second simulator) can also simulate the control of conveyor 3A (second machine) by controller 7A (second controller) so that the simulation results of the action of conveyor 3A (second machine) are coordinated with the simulation results of the action of robots 3B and 3C (first machine) by simulators 102B and 102C (first simulators).

[0079] Simulator 102A (second simulator) can also simulate the control of conveyor 3A (second machine) by controller 7A (second controller) so that the simulation results of the action of conveyor 3A (second machine) are coordinated with the simulation results of the action of machines 2B and 2C (first machine) by simulator 101 (first simulator).

[0080] Simulator 102C (second simulator) can also simulate the control of robot 3C (second machine) by controller 7C (second controller) so that the simulation results of the actions of robot 3C (second machine) are coordinated with the simulation results of the actions of robot 3B (first machine) by simulator 102B (first simulator).

[0081] Simulator 102C (second simulator) can also simulate the control of robot 3C (second machine) by controller 7C (second controller) so that the simulation results of the action of robot 3C (second machine) are coordinated with the simulation results of the action of machine 2B (first machine) by simulator 101 (first simulator).

[0082] Simulator 102B (second simulator) can also simulate the control of controller 7B (second controller) over robot 3B (second machine) so that the simulation results of the actions of robot 3B (second machine) are coordinated with the simulation results of the actions of robot 3C (first machine) by simulator 102C (first simulator).

[0083] Simulator 102B (second simulator) can also simulate the control of controller 7B (second controller) over robot 3B (second machine) so that the simulation results of the action of robot 3B (second machine) are coordinated with the simulation results of the action of machine 2C (first machine) by simulator 101 (first simulator).

[0084] The simulation manager 110 controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller. For example, the simulation manager 110 may control the simulation progress of the simulator 101 and the simulation progress of the simulators 102A, 102B, and 102C so that the relationship between the simulation progress of the simulator 101 (first simulator) and the simulation progress of the simulators 102A, 102B, and 102C (second simulator) corresponds to the relationship between the control progress of the controller 6 (first controller) and the control progress of the controllers 7A, 7B, and 7C (second controller). Thus, the relationship between the simulation progress performed by the simulator 101, the simulation progress performed by the simulator 102A, the simulation progress performed by the simulator 102B, and the simulation progress performed by the simulator 102C corresponds to the relationship between the control progress performed by the controller 6, the control progress performed by the controller 7A, the control progress performed by the controller 7B, and the control progress performed by the controller 7C.

[0085] The simulation manager 110 may also control the execution timing of the first segmented processing repeatedly executed by the first simulator and the execution timing of the second segmented processing repeatedly executed by the second simulator in a manner corresponding to the relationship between the execution timing of the first segmented processing repeatedly executed under the control of the first controller and the execution timing of the second segmented processing repeatedly executed under the control of the second controller.

[0086] For example, the simulation manager 110 can control the execution timing of the system segment processing repeated by the simulator 101 and the execution timing of the transport segment processing, the first robot segment processing and the second robot segment processing repeated by the simulators 102A, 102B, and 102C, so that the relationship between the execution timing of the system segment processing repeated by the simulator 101 and the execution timing of the transport segment processing, the first robot segment processing and the second robot segment processing repeated by the simulators 102A, 102B, and 102C corresponds to the relationship between the execution timing of the system segment processing repeated by the control of the controller 6 (first controller) and the execution timing of the transport segment processing, the first robot segment processing and the second robot segment processing repeated by the control of the controllers 7A, 7B, and 7C.

[0087] The simulation manager 110 may also control the execution timing of the first segmented process repeated by the first simulator and the execution timing of the second segmented process repeated by the second simulator based on the first control cycle representing the repetition cycle of the first segmented process of the first controller and the second control cycle representing the repetition cycle of the second segmented process of the second controller. For example, the simulation manager 110 may control the execution timing of the system segmented process repeated by the simulator 101 and the execution timing of the transport segmented process, the first robot segmented process, and the second robot segmented process repeated by the simulators 102A, 102B, and 102C based on the system control cycle, the transport control cycle, the first robot control cycle, and the second robot control cycle.

[0088] As an example, Figure 4 As shown, the simulation manager 110 includes a counter 111, a cycle information storage unit 112, a selection unit 113, and an execution unit 114. The counter 111 counts the number of simulation cycles. The cycle information storage unit 112 stores the system control cycle, the transport control cycle, the first robot control cycle, and the second robot control cycle.

[0089] The selection unit 113 selects at least one of the simulator 101 and the simulators 102A, 102B, and 102C based on the system control cycle, the transport control cycle, the first robot control cycle, the second robot control cycle, and the number of simulation cycles. For example, when the number of simulation cycles counted from the last execution of the system segmentation process becomes the number of simulation cycles corresponding to the system control cycle, the selection unit 113 selects the simulator 101. Here, the number of simulation cycles corresponding to the comparison target time such as the system control cycle refers to, for example, the number of simulation cycles when the time obtained by multiplying the number of simulation cycles by a predetermined simulation reference time becomes longer than the comparison target time.

[0090] The selection unit 113 selects the simulator 102A when the number of simulation cycles counted since the last execution of the transport segment processing becomes the number of simulation cycles corresponding to the transport control cycle. The selection unit 113 selects the simulator 102B when the number of simulation cycles counted since the last execution of the first robot segment processing becomes the number of simulation cycles corresponding to the first robot control cycle. The selection unit 113 selects the simulator 102C when the number of simulation cycles counted since the last execution of the second robot segment processing becomes the number of simulation cycles corresponding to the second robot control cycle.

[0091] The number of simulation cycles corresponding to the system control cycle, the number of simulation cycles corresponding to the transport control cycle, the number of simulation cycles corresponding to the first robot control cycle, and the number of simulation cycles corresponding to the second robot control cycle may all be greater than 1. For example, the length of the above-mentioned simulation reference time may be equal to or less than the length of the shortest control cycle among the system control cycle, the transport control cycle, the first robot control cycle, and the second robot control cycle.

[0092] The execution unit 114 causes at least one simulator selected by the selection unit 113 to execute the segmentation process. For example, when the simulator 101 is selected by the selection unit 113, the execution unit 114 causes the simulator 101 to execute the system segmentation process, when the simulator 102A is selected by the selection unit 113, the execution unit 114 causes the simulator 102A to execute the transport segmentation process, when the simulator 102B is selected by the selection unit 113, the execution unit 114 causes the simulator 102B to execute the first robot segmentation process, and when the simulator 102C is selected by the selection unit 113, the execution unit 114 causes the simulator 102C to execute the second robot segmentation process.

[0093] When receiving an instruction for independent simulation, the simulation manager 110 may select an independent execution simulator from the simulators 101 and 102 and execute the simulation using the independent execution simulator regardless of the progress of the simulation using other simulators.

[0094] return Figure 3 The simulation device 100 may be configured to simulate the operation of the first device and the operation of the second device based on the simulation result of the first simulator and the simulation result of the second simulator.

[0095] For example, the simulation device 100 further includes a model storage unit 121 and an operation simulation unit 122. The model storage unit 121 stores model information of a plurality of machines 3. The model information of the machine 3 includes information on the structure of the machine 3 and the dimensions of each part.

[0096] The motion simulation unit 122 simulates the motion of the plurality of machines 3 based on the simulation results of the simulators 101 and 102. For example, the motion simulation unit 122 simulates the motion of the conveyor 3A based on the motion amount of the conveyor 3A calculated by the simulator 102A and the model information of the conveyor 3A stored in the model storage unit 121. In addition, the motion simulation unit 122 simulates the motion of the robot 3B by performing forward kinematics calculations based on the motion amounts of the actuators 41, 42, 43, 44, 45, 46 calculated by the simulator 102B and the model information of the robot 3B stored in the model storage unit 121. Similarly, the motion simulation unit 122 simulates the motion of the robot 3C by performing forward kinematics calculations based on the motion amounts of the actuators 41, 42, 43, 44, 45, 46 calculated by the simulator 102C and the model information of the robot 3C stored in the model storage unit 121.

[0097] The action simulation unit 122 may also simulate the action of the first machine and the action of the second machine after both the simulation results of the first simulator and the simulation results of the second simulator are updated. For example, after simulating the actions of the plurality of machines 3, the action simulation unit 122 may simulate the actions of the plurality of machines 3 again at the timing when the simulators 101 and 102 all execute the segmented processing for more than one cycle. The action simulation unit 122 may also generate a simulation image of the actions of the plurality of machines 3 based on the simulation results of the actions of the plurality of machines 3, and display it on a display device 196 described later.

[0098] The simulation device 100 may be configured to exchange communication data between the first simulator and the second simulator to reproduce the communication performed directly or indirectly between the first controller and the second controller. For example, the simulation device 100 further includes a communication simulator 130 and a communication data storage unit 141 .

[0099] The communication data storage unit 141 includes at least one communication buffer 150. The communication buffer 150 is used to temporarily store the communication data for handover between the first simulator and the second simulator. The communication buffer 150 may also include a plurality of storage areas arranged from upstream to downstream in the data transmission direction. The communication data temporarily stored in the communication buffer 150 is sequentially transmitted from upstream to downstream in the data transmission direction.

[0100] The communication simulator 130 exchanges communication data between the first simulator and the second simulator to reproduce the communication performed directly or indirectly between the first controller and the second controller. For example, the communication simulator 130 exchanges communication data between the simulator on the sending side and the simulator on the receiving side in the simulators 101, 102A, 102B, and 102C in a manner that reproduces the communication performed directly or indirectly between the controller on the sending side and the controller on the receiving side in the controllers 6, 7A, 7B, and 7C. The communication simulator 130 may also cause the simulator on the receiving side to obtain the communication data generated by the simulator on the sending side at a timing based on a predetermined virtual delay time.

[0101] For example, Figure 5 As shown, the communication simulator 130 includes a communication counter 131 , a communication data storage unit 133 , a communication data transmission unit 132 , and a communication data reading unit 134 .

[0102] The communication counter 131 counts the number of communication cycles. The communication data storage unit 133 stores the communication data generated by the simulator on the sending side in the communication buffer 150. For example, the communication data storage unit 133 stores the communication data generated by the simulator on the sending side in the most upstream storage area of ​​the communication buffer 150. Every time the number of communication cycles is counted, the communication data transmission unit 132 transmits the communication data to a storage area downstream in the communication buffer 150. The communication data reading unit 134 reads the communication data transmitted by the communication data transmission unit 132 to the most downstream storage area, and causes the simulator on the receiving side to acquire the communication data.

[0103] When the communication cycle number counted after the communication data is stored in the communication buffer 150 becomes the communication cycle number corresponding to the virtual delay time, the communication data reading unit 134 reads the communication data stored in the communication buffer 150 and causes the simulator on the receiving side to acquire the data. The communication cycle number corresponding to the virtual delay time refers to, for example, the communication cycle number for which the time obtained by multiplying the communication cycle number by a predetermined communication reference time becomes greater than the virtual delay time.

[0104] As an example, the communication buffer 150 may also include a number of storage areas corresponding to the above-mentioned virtual delay time. The number of storage areas corresponding to the virtual delay time means that, for example, the time obtained by multiplying the number of communication cycles in which the communication data stored in the most upstream storage area is transmitted to the most downstream storage area by the above-mentioned communication reference time corresponds to the virtual delay time. For example, satisfying the following formula is an example of the number of storage areas corresponding to the virtual delay time.

[0105] Number of storage areas = virtual delay time / communication reference time + 1... (1)

[0106] If the number of storage areas of communication buffer 150 corresponds to the virtual delay time, the number of communication cycles until communication buffer 150 reads the communication data stored in communication buffer 150 corresponds to the virtual delay time.

[0107] The communication counter 131 may also count the number of communication cycles synchronously with the counting of the simulation cycles by the counter 111. The communication counter 131 may also count the number of communication cycles at a frequency higher than the frequency at which the counter 111 counts the simulation cycles. For example, the communication counter 131 may also count the number of communication cycles at a frequency that is an integer multiple of the frequency at which the counter 111 counts the simulation cycles.

[0108] For example, the communication reference time may be the same as the simulation reference time, or may be shorter than the simulation reference time. The communication reference time may also be an integer fraction of the simulation reference time.

[0109] Figure 6 1 is a schematic diagram illustrating the transition of communication data generated by the simulator on the sending side, the contents of the communication buffer 150, and the communication data acquired by the simulator on the receiving side. Figure 6 In FIG. 1 , the communication buffer 150 has four storage areas 151 , 152 , 153 , and 154 arranged from upstream to downstream in the data transmission direction. However, the number of communication data stored in the communication buffer 150 is not limited to four.

[0110] The signal waveform TS is a graph illustrating a signal (hereinafter referred to as a "communication signal") included in the communication data generated by the simulator on the transmitting side, and the signal waveform RS is a graph illustrating the communication signal acquired by the simulator on the receiving side. In either graph, the horizontal axis represents the number of communication cycles, and the vertical axis represents the value of the communication signal.

[0111] Signal waveforms TS and RS illustrate communication signals that represent information using two values: “OFF” and “ON”. When signal waveforms TS and RS are low, the communication signal is “OFF”, and when signal waveforms TS and RS are high, the communication signal is “ON”.

[0112] In the communication cycle CS1, the communication data transmission section 132 transmits each communication data already stored in the communication buffer 150 to a storage area downstream. For example, the communication data transmission section 132 transmits the communication data stored in the storage area 153 to the storage area 154, transmits the communication data stored in the storage area 152 to the storage area 153, and transmits the communication data stored in the storage area 151 to the storage area 152. The communication data stored in the most downstream storage area 154 is overwritten by the communication data transmitted from the storage area 153.

[0113] Next, the communication data storage unit 133 stores "OFF" as the current value of the signal waveform TS in the most upstream storage area 151. As a result, in the communication cycle CS1, "OFF" is stored in all the storage areas 151, 152, 153, and 154. The communication data reading unit 134 reads "OFF" stored in the most downstream storage area 154 and causes the receiving simulator to acquire the data. As a result, the current value of the signal waveform RS becomes "OFF".

[0114] The communication data transmission unit 132, the communication data storage unit 133, and the communication data reading unit 134 repeat the same processing each time the communication cycle number is counted by the communication counter 131. After the communication cycle CS1, in the communication cycle CS3 in which the communication cycle number is counted up by two by the communication counter 131, since the current value of the signal waveform TS is "ON", it is in a state where "ON" is stored in the most upstream storage area 151 and "OFF" is stored in the other storage areas 152, 153, and 154. The communication data reading unit 134 reads "OFF" stored in the most downstream storage area 154 and causes the receiving simulator to obtain the data, so the current value of the signal waveform RS is maintained at "OFF".

[0115] After the communication cycle CS3, in the communication cycle CS5 in which the communication counter 131 counts up the number of communication cycles by two, since the current value of the signal waveform TS is "OFF", it is in a state where "OFF" is stored in the storage area 151, "ON" is stored in the storage areas 152 and 153, and "OFF" is stored in the storage area 154. The communication data reading unit 134 reads "OFF" stored in the storage area 154 at the most downstream and causes the simulator for receiving to acquire the data, so the current value of the signal waveform RS is still maintained at "OFF".

[0116] In the communication cycle CS6 following the communication cycle CS5, "ON" stored in the storage area 151 in the communication cycle CS3 reaches the storage area 154. Since the communication data reading unit 134 reads it and causes the receiving simulator to acquire the data, the current value of the signal waveform RS changes to "ON".

[0117] After communication cycle CS6, in communication cycle CS8 in which the communication counter 131 counts up the number of communication cycles twice, "OFF" stored in storage area 151 in communication cycle CS5 reaches storage area 154. Since the communication data reading unit 134 reads it and causes the receiving simulator to acquire the data, the current value of the signal waveform RS changes to "OFF".

[0118] Thus, in the change of the signal waveform RS, a delay occurs in the number of communication cycles until the communication data stored in the most upstream storage area 151 reaches the most downstream storage area 154. That is, in the change of the signal waveform RS, a delay occurs in the number of communication cycles obtained by subtracting 1 from the number of storage areas in the communication buffer 150. The delayed number of communication cycles simulates the communication delay time of the time obtained by multiplying the number by the above-mentioned communication reference time.

[0119] Return to Figure 3 The communication simulator 130 may also establish corresponding multiple communication definitions for multiple sending-side simulators and multiple receiving-side simulators, and acquire communication data from the sending-side simulator and enable the receiving-side simulator to acquire communication data according to each of the multiple communication definitions.

[0120] For example, the simulation device 100 further includes a communication map 142. The communication map 142 stores a plurality of communication definitions. The plurality of communication definitions may also include a virtual delay time. In this case, the communication simulator 130 may also enable the simulator on the receiving side to obtain the communication data generated by the simulator on the sending side at a timing based on the virtual delay time according to each of the plurality of communication definitions.

[0121] The simulation device 100 may further include a communication buffer allocation unit 143. The communication buffer allocation unit 143 allocates a communication buffer of a size corresponding to the virtual delay time to each of the plurality of communication definitions. For example, the communication buffer allocation unit 143 allocates a communication buffer including a number of storage areas corresponding to the virtual delay time to each of the plurality of communication definitions. As an example, the communication buffer allocation unit 143 allocates a communication buffer including a number of storage areas satisfying the above formula (1) to each of the plurality of communication definitions.

[0122] The communication simulator 130 may also execute, for each of the plurality of communication definitions, a process of storing the communication data generated by the simulator on the transmission side in the communication buffer 150. The communication simulator 130 may also execute, for each of the plurality of communication definitions, a process of reading the communication data stored in the communication buffer 150 and causing the simulator on the reception side to acquire the data when the number of communication cycles counted after the communication data is stored in the communication buffer 150 becomes the number of communication cycles corresponding to the virtual delay time.

[0123] For example, Figure 5As shown, the communication data storage unit 133 may refer to the communication map 142 and execute, for each of the plurality of communication definitions, the communication data generated by the simulator on the sending side to be stored in the most upstream storage area of ​​the communication buffer 150. The communication data transfer unit 132 may transfer the communication data to a downstream storage area in the communication buffer 150 for each of the plurality of communication definitions each time the number of communication cycles is counted. The communication data reading unit 134 may refer to the communication map 142 and execute, for each of the plurality of communication definitions, the processing of reading the communication data transferred by the communication data transfer unit 132 to the most downstream storage area and causing the simulator on the receiving side to acquire the communication data.

[0124] Figure 7 is a table illustrating a plurality of communication definitions stored in the communication map 142. Figure 7 In FIG. 1 , one row of the table represents one communication definition 160 . The communication definition 160 includes a transmission side definition 161 , a reception side definition 162 , and a virtual delay time 163 .

[0125] The sender definition 161 includes the identification information and address of the simulator on the sender side. The address is the address of the storage area (hereinafter referred to as the "send storage area") where the communication data generated by the simulator on the sender side is written. The receiver definition 162 includes the identification information and address of the simulator on the receive side. The address is the address of the storage area (hereinafter referred to as the "receive storage area") where the simulator on the receive side reads the communication data during simulation.

[0126] The communication data storage unit 133 reads the communication data stored in the transmission storage area based on the communication definition 160, and stores it in the storage area at the most upstream of the communication buffer 150. The communication data reading unit 134 reads the communication data stored in the storage area at the most downstream of the communication buffer 150, and stores it in the reception storage area based on the communication definition 160.

[0127] The simulation device 100 may be configured to change the simulation progress speed of the simulators 101 and 102 according to the designated playback speed. In addition, the simulation device 100 may be configured to interrupt the simulation of the simulators 101 and 102 according to a stop instruction. For example, the simulation device 100 further includes a progress speed adjustment unit 171 and an interruption unit 172.

[0128] The progress speed adjustment unit 171 obtains the designation of the reproduction speed from, for example, the input device 195 described later, and changes the simulation progress speed of the simulators 101 and 102 according to the designation of the reproduction speed. For example, the progress speed adjustment unit 171 causes the counter 111 to count the number of simulation cycles in a predetermined simulation period, and changes the simulation period according to the designation of the reproduction speed. For example, the progress speed adjustment unit 171 increases the reproduction speed by shortening the simulation period, and decreases the reproduction speed by lengthening the simulation period.

[0129] The interruption unit 172 receives a stop instruction from, for example, an input device 195 described later, and, in response to the stop instruction, interrupts the simulation of the simulators 101 and 102. For example, the interruption unit 172 interrupts the counting of the number of simulation cycles by the counter 111.

[0130] The control system 4 may also be configured to set the above-mentioned virtual delay time by comparing the simulation result of the simulation device 100 with the actual control result of the actual control system 5. In addition, the control system 4 may also be configured to detect an abnormality in the actual control system 5 by comparing the simulation result of the simulation device 100 with the actual control result of the actual control system 5.

[0131] For example, the control system 4 may further include a data collection device 200. The data collection device 200 collects virtual data representing the simulation result of the simulation device 100 and real data representing the control result of the actual control system 5.

[0132] like Figure 8 As shown, the data collection device 200 includes a real data storage unit 201, a virtual data storage unit 202, and a deviation evaluation unit 203. The real data storage unit 201 acquires and accumulates real data from the controller 6. The virtual data storage unit 202 acquires and accumulates virtual data from the simulation device 100.

[0133] The deviation evaluation unit 203 evaluates the deviation between the virtual data and the real data. For example, the deviation evaluation unit 203 converts the simulation cycle number into the elapsed time by multiplying the simulation cycle number by the simulation reference time, and then evaluates the deviation between the occurrence time of various events in the virtual data and the occurrence time of various events in the real data.

[0134] When the control system 4 further includes the data collection device 200, the simulation device 100 may further include a data accumulation unit 181 and a virtual delay setting unit 144. The data accumulation unit 181 obtains the simulation results of the simulators 101, 102A, 102B, and 102C from the simulation manager 110, obtains the simulation results of the actions of the plurality of machines 3 from the action simulation unit 122, and accumulates them in the virtual data storage unit 202.

[0135] The virtual delay setting unit 144 makes the virtual delay time correspond to the communication delay time in the actual control. The virtual delay setting unit 144 may also perform processing to make the virtual delay time correspond to the communication delay time in the actual control for each of the plurality of communication definitions. For example, the virtual delay setting unit 144 repeatedly obtains the evaluation result of the deviation from the deviation evaluation unit 203, and changes the virtual delay time of each of the plurality of communication definitions to reduce the evaluation result of the deviation until the evaluation result of the deviation becomes less than a predetermined calibration level.

[0136] The data collection device 200 may further include an abnormality detection unit 204. The abnormality detection unit 204 detects abnormality of the actual control system 5 based on comparison between the control progress of the controllers 6, 7A, 7B, 7C and the simulation progress of the simulators 101, 102A, 102B, 102C.

[0137] For example, the abnormality detection unit 204 detects abnormality of the actual control system 5 based on the evaluation result of the deviation of the deviation evaluation unit 203. For example, the abnormality detection unit 204 detects abnormality of the actual control system 5 when the evaluation result of the deviation of the deviation evaluation unit 203 exceeds a predetermined abnormality detection level.

[0138] The data collection device 200 may further include a comparison image generation unit 205. The comparison image generation unit 205 generates a comparison image that compares the control progress of the controllers 6 and 7 with the simulation progress of the simulators 101 and 102, and displays it on the display devices 196 and 296 described later. For example, the comparison image generation unit 205 generates a comparison image including a timing chart that indicates the occurrence time of various events in the virtual data and the occurrence time of various events in the real data.

[0139] Fig. 9 2 is a block diagram illustrating the hardware configuration of the simulation device 100 and the data collection device 200. Fig. 9 As shown, the simulation device 100 has a circuit 190. The circuit 190 includes one or more processors 191, a memory 192, a storage 193, a communication port 194, an input device 195, and a display device 196. The storage 193 is a storage medium that can be read by a computer, such as a non-volatile semiconductor memory. The storage 193 stores a program that causes the simulation device 100 to be configured as: a first simulator that simulates the control of the first controller on the first machine; a second simulator that simulates the control of the second controller on the second machine; and a simulation manager 110 that controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.

[0140] The memory 192 temporarily stores the program loaded from the storage medium of the storage 193 and the calculation results of the processor 191. The processor 191 executes the above program by cooperating with the memory 192, thereby constituting each functional block of the simulation device 100. The communication port 194 communicates with the data collection device 200 and the controller 6 via the network line NW according to the instructions from the processor 191. The input device 195 and the display device 196 function as the user interface of the simulation device 100. The input device 195 is, for example, a keyboard, etc., which obtains the user's input information. The display device 196 includes, for example, a liquid crystal monitor, etc., which is used to display information to the user. The input device 195 and the display device 196 can also be integrated as a so-called touch panel. The input device 195 and the display device 196 can be assembled in the simulation device 100, or can be set in an external device connected to the simulation device 100.

[0141] The data collection device 200 has a circuit 290. The circuit 290 includes one or more processors 291, a memory 292, a storage 293, a communication port 294, an input device 295, and a display device 296. The storage 293 has a storage medium that can be read by a computer, such as a non-volatile semiconductor memory. The storage 293 stores a program that causes the data collection device 200 to constitute a real data storage unit 201 that acquires and accumulates real data from the controller 6, a virtual data storage unit 202 that acquires and accumulates virtual data from the simulation device 100, and a deviation evaluation unit 203 that evaluates the deviation between virtual data and real data.

[0142] The memory 292 temporarily stores the program loaded from the storage medium of the storage 293 and the calculation results of the processor 291. The processor 291 executes the above program by cooperating with the memory 292, thereby constituting each functional block of the data collection device 200. The communication port 294 communicates with the simulation device 100 and the controller 6 via the network line NW according to the instructions from the processor 291. The input device 295 and the display device 296 function as a user interface of the data collection device 200. The input device 295 is, for example, a keyboard, etc., which obtains the user's input information. The display device 296 includes, for example, a liquid crystal monitor, etc., which is used to display information to the user. The input device 295 and the display device 296 can also be integrated as a so-called touch panel. The input device 295 and the display device 296 can be assembled in the data collection device 200, or can be set in an external device connected to the data collection device 200.

[0143] In addition, the circuit 190 and the circuit 290 are not necessarily limited to the functions formed by the program. For example, the circuit 190 and the circuit 290 may also form at least a part of the functions by a dedicated logic circuit or an ASIC (Application Specific Integrated Circuit) integrating the dedicated logic circuit. In terms of hardware, the simulation device 100 and the data collection device 200 do not need to be separated, and the simulation device 100 and the data collection device 200 may also be formed by a single computer.

[0144] (Simulation process)

[0145] Next, as an example of a simulation method, a simulation process performed by the simulation device 100 is illustrated. The process includes: simulating the control of a first machine by a first controller by a first simulator; simulating the control of a second machine by a second controller by a second simulator; and controlling the simulation progress of the first simulator and the simulation progress of the second simulator based on the relationship between the control progress of the first controller and the control progress of the second controller.

[0146] like Fig.10 As shown, the simulation device 100 first executes steps S01, S02, S03, and S04. In step S01, the counter 111 starts counting the number of simulation cycles. In step S02, the selection unit 113 selects at least one of the simulator 101, simulators 102A, 102B, and 102C based on the system control cycle, the transport control cycle, the first robot control cycle, the second robot control cycle, and the number of simulation cycles.

[0147] In step S03, the execution unit 114 causes each of the at least one simulator selected by the selection unit 113 to execute the segmentation process. In step S04, the operation simulation unit 122 checks whether all of the simulators 101 and 102 have executed the segmentation process for one cycle or more.

[0148] In step S04, when it is determined that the simulators 101 and 102 have all executed the segment processing for more than one cycle, the simulation device 100 executes steps S05 and S06. In step S05, the action simulation unit 122 simulates the actions of the plurality of machines 3 based on the simulation results of the simulators 101 and 102. In step S06, the action simulation unit 122 generates a simulation image of the actions of the plurality of machines 3 based on the simulation results of the actions of the plurality of machines 3, and displays it on the display device 196 or the like.

[0149] Next, the simulation device 100 executes step S07. In step S04, if it is determined that there are simulators 101 and 102 that have not executed the segmentation process for more than one cycle, the simulation device 100 does not execute steps S05 and S06 but executes step S07. In step S07, the simulation manager 110 confirms whether the simulation of a series of controls in the actual control system 5 is completed.

[0150] In step S07, when it is determined that the simulation of a series of controls in the actual control system 5 is not completed, the simulation device 100 executes steps S08, S09, S11, S12, S13, and S14. In step S08, the communication data transmission unit 132 transmits the communication data to a downstream storage area in the communication buffer 150. In step S09, the communication data storage unit 133 performs a process of storing the communication data generated by the simulator on the sending side in the most upstream storage area of ​​the communication buffer 150 for each of a plurality of communication definitions. In step S11, the communication data reading unit 134 performs a process of reading the communication data transmitted by the communication data transmission unit 132 to the most downstream storage area for each of a plurality of communication definitions and causes the simulator on the receiving side to obtain the communication data.

[0151] In step S12, the data accumulation unit 181 obtains the simulation results of the simulators 101, 102A, 102B, and 102C from the simulation manager 110, obtains the simulation results of the actions of the plurality of machines 3 from the action simulation unit 122, and accumulates them in the virtual data storage unit 202. In step S13, the progress speed adjustment unit 171 and the interruption unit 172 perform a reproduction speed adjustment process. The specific content of step S13 will be described later. In step S14, the counter 111 counts up the number of simulation cycles. After that, the simulation device 100 returns the process to step S02. The simulation device 100 repeats the above simulation cycle until the simulation of a series of controls in the actual control system 5 is completed.

[0152] In step S07 , when it is determined that the simulation of a series of controls in the actual control system 5 is completed, the simulation process of the simulation device 100 is completed.

[0153] Fig.11 2 is a flowchart illustrating the process of adjusting the reproduction speed in step S13. Fig.11 As shown, the simulation device 100 first executes step S21. In step S21, the progress speed adjustment unit 171 checks whether the simulation period has passed after the number of simulation cycles has reached the current value.

[0154] If it is determined in step S21 that the simulation cycle has not passed, the simulation device 100 executes step S22. In step S22, the interruption unit 172 confirms whether a stop command has been input. If it is determined in step S22 that a stop command has been input, the simulation device 100 executes step S23. In step S23, the interruption unit 172 waits for input of a restart command. Thus, before the restart command is input, the counting of the number of cycles by the counter 111 is interrupted, and the simulation of the simulators 101 and 102 is interrupted.

[0155] Next, the simulation device 100 executes step S24. If it is determined in step S22 that the stop instruction has not been input, the simulation device 100 does not execute step S23 but executes step S24. In step S24, the progress speed adjustment unit 171 confirms whether a designation of a reproduction speed has been input.

[0156] If it is determined in step S24 that the reproduction speed designation has been input, the simulation device 100 executes step S25. In step S25, the progress speed adjustment unit 171 changes the simulation cycle according to the reproduction speed designation. Thereafter, the simulation device 100 returns the process to step S21. If it is determined in step S24 that the reproduction speed designation has not been input, the simulation device 100 does not execute step S25 and returns the process to step S21. Thereafter, the above process is repeated until the simulation cycle has passed. If it is determined in step S21 that the simulation cycle has passed, the reproduction speed adjustment process is completed.

[0157] Fig.12 1 is a flowchart showing a modified example of the simulation process. This modified example illustrates a process in which the simulation device 100 selectively performs coordinated simulation and individual simulation. Fig.12 As shown, the simulation apparatus 100 first executes step S31. In step S31, the simulation manager 110 confirms whether an instruction to coordinate simulation is input to the input device 195 or the like.

[0158] If it is determined in step S31 that no instruction for coordinated simulation is input to the input device 195, etc., the simulation apparatus 100 executes step S32. In step S32, the simulation manager 110 confirms whether an instruction for individual simulation is input to the input device 195, etc. In step S32, if it is determined that no instruction for individual simulation is input to the input device 195, etc., the simulation apparatus 100 returns the process to step S31.

[0159] If it is determined in step S31 that an instruction for coordinated simulation is input to the input device 195, etc., the simulation apparatus 100 executes step S33. In step S33, the simulation manager 110 coordinates the simulations of the simulators 101 and 102. The specific process of step S33 is as follows: Fig.10As illustrated in steps S01 to S14.

[0160] When it is determined in step S32 that an instruction for the individual simulation is input to the input device 195 or the like, the simulation apparatus 100 executes step S34. In step S34, the simulation manager 110 executes the individual simulation.

[0161] Fig.13 is a flowchart illustrating the individual simulation process in step S34. Fig.13 As shown, the simulation device 100 first executes steps S41, S42, S43, S44, and S45. In step S41, the simulation manager 110 selects a single execution simulator from the simulators 101 and 102 based on the indication of the single simulation.

[0162] In step S42, the simulation manager 110 causes the individual execution simulator to execute the segmentation process. In step S43, the operation simulation unit 122 simulates the operation of the machine 3 corresponding to the individual execution simulator based on the simulation result of the individual execution simulator.

[0163] In step S44, the action simulation unit 122 generates a simulation image of the action of the machine 3 based on the simulation result of the action of the machine 3 corresponding to the individual execution simulator, and displays it on the display device 196, etc. In step S45, the simulation manager 110 confirms whether the simulation of a series of controls performed by the controller corresponding to the individual execution simulator is completed.

[0164] In step S45, if it is determined that the simulation of a series of controls performed by the controller corresponding to the independent execution simulator is not completed, the simulation device 100 returns the process to step S42. In step S45, if it is determined that the simulation of a series of controls performed by the controller corresponding to the independent execution simulator is completed, the independent simulation is completed.

[0165] (Adjustment process of virtual delay time)

[0166] Next, the adjustment process of the virtual delay time based on the simulation results is illustrated. Fig.14 As shown, the data collection device 200 first executes steps S51 and S52. In step S51, the deviation evaluation unit 203 waits for the control of the actual control system 5 to be completed and accumulates real data in the real data storage unit 201. In step S52, the deviation evaluation unit 203 evaluates the deviation between the virtual data and the real data.

[0167] Next, the simulation device 100 executes step S53. In step S53, the virtual delay setting unit 144 checks whether the evaluation result of the divergence degree by the divergence evaluation unit 203 is equal to or lower than the calibration level.

[0168] In step S53, when it is determined that the evaluation result of the degree of deviation is not less than the calibration level, the simulation device 100 executes steps S54 and S55. In step S54, the virtual delay setting unit 144 changes the virtual delay time of each of the plurality of communication definitions to reduce the degree of deviation. In step S55, the virtual delay setting unit 144 causes the simulation device 100 to perform a simulation of a series of controls performed by the actual control system 5 again. Thereafter, the simulation device 100 returns the process to step S52.

[0169] In step S53, if it is determined that the evaluation result of the degree of deviation is below the calibration level, the simulation device 100 executes step S56. In step S56, the communication buffer allocation unit 143 allocates a communication buffer having a size corresponding to the virtual delay time set by the virtual delay setting unit 144 to each of the plurality of communication definitions. At this point, the adjustment process of the virtual delay time is completed.

[0170] (Anomaly Detection Process)

[0171] Next, the abnormality detection process of the data collection device 200 is illustrated. Fig.15 As shown, the data collection device 200 first executes steps S61, S62, and S63. In step S61, the deviation evaluation unit 203 waits for the control of the actual control system 5 to be completed and accumulates the real data in the real data storage unit 201. In step S62, the deviation evaluation unit 203 evaluates the deviation between the virtual data and the real data. In step S63, the abnormality detection unit 204 confirms whether the evaluation result of the deviation degree of the deviation evaluation unit 203 exceeds the above-mentioned abnormality detection level.

[0172] In step S63, if it is determined that the evaluation result of the degree of divergence does not exceed the abnormality detection level, the data collection device 200 returns the process to step S61. Thereafter, the evaluation of the divergence between the virtual data and the real data is repeated until the evaluation result of the degree of divergence exceeds the abnormality detection level.

[0173] In step S63, when it is determined that the evaluation result of the degree of deviation exceeds the abnormality detection level, the data collection device 200 executes steps S64 and S65. In step S64, the abnormality detection unit 204 detects the abnormality of the actual control system 5. In step S65, the abnormality detection unit 204 reports the abnormality of the actual control system 5 by displaying it on the display device 196, 296, etc. At this time, the comparison image generation unit 205 may also generate a comparison image comparing the control progress of the controller 6, 7 with the simulation progress of the simulator 101, 102, and display it on the display device 196, 296, etc. described later.

[0174] (Effects of this embodiment)

[0175] As described above, the simulation device 100 includes: a first simulator, which simulates the control of a first machine by a first controller; a second simulator, which simulates the control of a second machine by a second controller; and a simulation manager 110, which controls the simulation progress of the first simulator and the simulation progress of the second simulator in a manner corresponding to the relationship between the control progress of the first controller and the control progress of the second controller.

[0176] According to the simulation device 100, even in a non-real-time simulation executed at an elapsed time different from the actual time, the relationship between the simulation progress based on the first simulator and the simulation progress based on the second simulator can be easily made to correspond to the relationship between the control progress of the first controller on the first machine and the control progress of the second controller on the second machine. Therefore, the relationship between the action of the first machine and the action of the second machine can be easily reproduced in the simulation space. Therefore, appropriate simulation of the coordinated actions of a plurality of devices is effective.

[0177] The simulation manager 110 may also control the execution timing of the first segmented process repeated by the first simulator and the execution timing of the second segmented process repeated by the second simulator in a manner corresponding to the relationship between the execution timing of the first segmented process repeated under the control of the first controller and the execution timing of the second segmented process repeated under the control of the second controller. In this case, simulation progress adjustment can be performed more easily.

[0178] The simulation manager 110 may also control the execution timing of the first segmented process repeated by the first simulator and the execution timing of the second segmented process repeated by the second simulator based on the first control cycle indicating the repetition cycle of the first segmented process by the first controller and the second control cycle indicating the repetition cycle of the second segmented process by the second controller. In this case, even when the first control cycle is different from the second control cycle, simulation progress adjustment can be easily performed.

[0179] The simulation manager may also include: a counter 111 that counts the number of simulation cycles; a selection unit 113 that selects at least one of the first simulator and the second simulator based on the first control cycle and the second control cycle and the number of simulation cycles; and an execution unit 114 that causes the at least one simulator selected by the selection unit 113 to execute the segment processing. In this case, it is easier to perform simulation progress adjustment according to the difference between the first control cycle and the second control cycle.

[0180] The selection unit 113 may select the first simulator when the number of simulation cycles counted since the last execution of the first segmented process becomes the number of simulation cycles corresponding to the first control period, and may select the second simulator when the number of simulation cycles counted since the last execution of the second segmented process becomes the number of simulation cycles corresponding to the second control period. In this case, it is easier to perform simulation progress adjustment according to the difference between the first control period and the second control period.

[0181] The number of simulation cycles corresponding to the first control period and the number of simulation cycles corresponding to the second control period may both be greater than 1. In this case, the progress of the simulation can be adjusted with higher accuracy.

[0182] The simulation device 100 may further include an operation simulation unit 122 that simulates the operation of the first device and the second device based on the simulation results of the first simulator and the simulation results of the second simulator. In this case, the simulation results can be effectively used to confirm the virtual operation of the first device and the second device.

[0183] The operation simulation unit 122 may simulate the operation of the first device and the operation of the second device after both the simulation results of the first simulator and the simulation results of the second simulator are updated. In this case, a simulation image can be efficiently generated.

[0184] The second simulator can also simulate the control of the second machine by the second controller so that the simulation result of the action of the second machine is coordinated with the simulation result of the action of the first machine by the first simulator. In this case, the progress adjustment of the simulation is more effective.

[0185] The simulation device 100 may further include a communication simulator 130 that exchanges communication data between the first simulator and the second simulator in a manner that reproduces the communication performed directly or indirectly between the first controller and the second controller. In this case, the relationship between the control of the first machine by the first controller and the control of the second machine by the second controller can be simulated more appropriately.

[0186] The communication simulator 130 may also cause the receiving simulator to acquire the communication data generated by the transmitting simulator at a timing based on a predetermined virtual delay time. In this case, the relationship between the control of the first device by the first controller and the control of the second device by the second controller can be simulated more appropriately.

[0187] The communication simulator 130 may also include: a communication counter 131 that counts the number of communication cycles; a communication data storage unit 133 that stores the communication data generated by the simulator on the transmission side in the communication buffer 150; and a communication data reading unit 134 that reads the communication data stored in the communication buffer and causes the simulator on the reception side to acquire the data when the number of communication cycles counted after the communication data is stored in the communication buffer 150 becomes the number of communication cycles corresponding to the virtual delay time. In this case, communication delay can be easily simulated even in non-real-time simulation.

[0188] Alternatively, the communication buffer 150 includes a plurality of storage areas arranged from upstream to downstream in the data transmission direction, the communication data storage unit 133 stores the communication data generated by the simulator on the transmission side in the storage area on the most upstream side of the communication buffer, the communication simulator 130 further includes a communication data transmission unit 132, which transmits the communication data to a storage area on the downstream side of the communication buffer each time the number of communication cycles is counted, and the communication data reading unit 134 reads the communication data transmitted by the communication data transmission unit 132 to the storage area on the most downstream side and causes the simulator on the receiving side to acquire the communication data. In this case, it is possible to more easily simulate communication delay.

[0189] The communication buffer 150 may include a plurality of storage areas 151, 152, 153, and 154, the number of which corresponds to the virtual delay time. In this case, the communication delay can be simulated more appropriately.

[0190] The communication simulator 130 may also perform acquisition of communication data from the simulator on the sending side and acquisition of communication data by the simulator on the receiving side based on a plurality of communication definitions 160 that respectively correspond to a plurality of simulators on the sending side and a plurality of simulators on the receiving side for each of the plurality of communication definitions 160. In this case, since a plurality of communications can be simulated in unison, control involving a plurality of communications can be easily simulated.

[0191] Alternatively, the plurality of communication definitions 160 may each include a virtual delay time 163 from the simulator on the transmitting side to the simulator on the receiving side, and the communication simulator 130 may cause the simulator on the receiving side to acquire the communication data generated by the simulator on the transmitting side at a timing based on the virtual delay time 163 for each of the plurality of communication definitions. In this case, control including a plurality of communications can be simulated more appropriately.

[0192] The simulation device 100 may further include a communication buffer allocation unit 143 that allocates a communication buffer of a size corresponding to the virtual delay time 163 for each of the plurality of communication definitions 160, and the communication simulator 130 includes: a communication counter 131 that counts the number of communication cycles; a communication data storage unit 133 that stores the communication data generated by the simulator on the sending side in the communication buffer 150 for each of the plurality of communication definitions 160; and a communication data reading unit 134 that reads the communication data stored in the communication buffer 150 for each of the plurality of communication definitions 160 when the number of communication cycles counted after the communication data is stored in the communication buffer 150 becomes the number of communication cycles corresponding to the virtual delay time 163, and causes the simulator on the receiving side to acquire the data. In this case, the communication delay of each of the plurality of communications can be easily simulated.

[0193] The simulation device 100 may further include a progress speed adjustment unit 171 that changes the simulation progress speed of the first simulator and the simulation progress speed of the second simulator according to the designated playback speed. In this case, by freely adjusting the simulation speed, the simulation result can be used more effectively.

[0194] The simulation device 100 may further include an interruption unit 172 that interrupts the simulation by the first simulator and the simulation by the second simulator in response to a stop instruction. In this case, since the simulation can be freely interrupted, the simulation result can be used more effectively.

[0195] The simulation manager 110 may also select a single simulator from the first simulator and the second simulator when receiving a single simulation instruction, and execute the simulation of the single simulator regardless of the simulation progress of the other simulators. In this case, the staged simulation of the single action and the coordinated action is effective.

[0196] The control system 4 may also include: a simulation device 100 having a communication simulator 130 that causes a simulator on the receiving side to acquire communication data generated by a simulator on the transmitting side at a timing based on a predetermined virtual delay time; an actual control system 5 that includes a first controller and a second controller; and a virtual delay setting unit 144 that causes the virtual delay time 163 to correspond to the communication delay time between the first controller and the second controller. In this case, the relationship between the action of the first device and the action of the second device can be more easily reproduced in the simulation space more appropriately.

[0197] The control system 4 may further include an abnormality detection unit 204 that detects abnormalities in the actual control system 5 based on comparison of the control progress of the first controller on the first machine, the control progress of the second controller on the second machine, the simulation progress by the first simulator, and the simulation progress by the second simulator. In this case, by comparing with the simulation tuned to match the actual control system 5, it is possible to quickly detect abnormalities in the actual control system 5.

[0198] The control system 4 may also include: a simulation device 100; an actual control system 5 including a first controller and a second controller; and a comparison image generation unit 205 that generates a comparison image for comparing the control progress of the first machine by the first controller, the control progress of the second machine by the second controller, the simulation progress by the first simulator, and the simulation progress by the second simulator. In this case, by providing an interface that allows easy visual confirmation of the relationship between the control progress of the first machine by the first controller, the control progress of the second machine by the second controller, the simulation progress by the first simulator, and the simulation progress by the second simulator, appropriate manual tuning of simulation conditions and rapid visual abnormality detection can be promoted.

[0199] As mentioned above, although embodiment was described, this invention is not necessarily limited to the said embodiment, Various changes are possible within the range which does not deviate from the summary.

[0200] Explanation of symbols:

[0201] 3A…Conveyor (first machine, second machine)

[0202] 3B, 3C…Robots (first machine, second machine)

[0203] 4…Control system

[0204] 5…Actual control system

[0205] 6…Controller (first controller)

[0206] 7A, 7B, 7C...Controller (first controller, second controller)

[0207] 100…Simulation device

[0208] 101…Simulator (First Simulator)

[0209] 102A, 102B, 102C ... simulators (first simulator, second simulator)

[0210] 110…Simulation Manager

[0211] 111…Counter

[0212] 113…Selection Department

[0213] 114…Executive Department

[0214] 122…Motion Simulation Department

[0215] 130…Communication Simulator

[0216] 131…Communication counter

[0217] 132…Communication Data Transmission Department

[0218] 133…Communication data storage unit

[0219] 134…Communication data reading unit

[0220] 143…Communication buffer allocation unit

[0221] 144…Virtual delay setting unit

[0222] 150…Communication buffer

[0223] 151, 152, 153, 154… storage area

[0224] 160…Communication Definition

[0225] 163…Virtual delay time

[0226] 171…Progression speed adjustment department

[0227] 172…Interruption

[0228] 204…Abnormality Detection Department

[0229] 205…Comparison image generation unit

Claims

1. A simulation device, comprising: a first simulator configured to perform a first simulation of a first control of a first machine, wherein the first control is performed by a first controller; a second simulator configured to perform a second simulation of a second control of a second machine, wherein the second control is performed by a second controller so that the second machine acts in coordination with the first machine; as well as a simulation manager configured to control the progress of the first simulation and the progress of the second simulation to keep a simulation relationship between a progress speed of the first simulation and a progress speed of the second simulation equal to a relationship between a progress speed of the first control and a progress speed of the second control, The first control includes a plurality of first segmented processes, and the first controller is configured to execute each of the plurality of first segmented processes in a first control cycle, The second control includes a plurality of second segmented processes, and the second controller is configured to execute each of the plurality of second segmented processes in a second control cycle, the second control cycle being different from the first control cycle, The simulation manager is configured to control execution timing of each of the plurality of first segmented processes in the first simulation and execution timing of each of the plurality of second segmented processes in the second simulation based on the first control cycle and the second control cycle to maintain the simulation relationship.

2. The simulation device according to claim 1, wherein: The simulation manager comprises: a counter configured to count the number of simulation cycles; a selection section configured to select the first simulator in response to determining that the number of simulation cycles becomes a number corresponding to the first control period, and select the second simulator in response to determining that the number of simulation cycles becomes a number corresponding to the second control period; and An execution section is configured to cause the first simulator to execute one of the first segmented processes in response to the selection of the first simulator, and to cause the second simulator to execute one of the second segmented processes in response to the selection of the second simulator.

3. The simulation device according to claim 1 or 2, wherein: The system further includes an operation simulation unit that simulates the operation of the first machine and the operation of the second machine based on a result of the first simulation and a result of the second simulation.

4. The simulation device according to claim 3, wherein: The operation simulation section is configured to simulate the operation of the first machine and the operation of the second machine in response to determining that both the result of the first simulation and the result of the second simulation are updated.

5. The simulation device according to claim 1 or 2, wherein: The simulation device further includes a communication simulator configured to transmit communication data between the first simulator and the second simulator to simulate communication performed between the first controller and the second controller.

6. The simulation device according to claim 5, wherein: The communication simulator is configured as follows: causing the first simulator to generate the communication data by performing at least a portion of the first simulation, The second simulator is caused to acquire the communication data generated by the first simulator after a predetermined virtual delay time.

7. The simulation device according to claim 6, wherein: The communication simulator comprises: a communication data storage unit configured to store the communication data generated by the first simulator in a communication buffer; a communication counter configured to count the number of communication cycles after the communication data is stored in the communication buffer; and The communication data reading section is configured to read the communication data stored in the communication buffer and cause the second simulator to acquire the read communication data in response to determining that the number of communication cycles becomes a number corresponding to the virtual delay time.

8. The simulation device according to claim 7, wherein: The communication buffer includes a plurality of storage areas arranged from the upstream end to the downstream end in the data transmission direction, The communication data storage unit is configured to store the communication data generated by the first simulator in a storage area at an upstream end of the communication buffer. The communication simulator further includes a communication data transmission section configured to transfer the communication data to an adjacent storage area along the data transmission direction each time the communication cycle number is counted, The communication data reading section is configured to read out the communication data transmitted by the communication data transmission section to the storage area at the downstream end of the communication buffer, and to cause the second simulator to acquire the read communication data.

9. The simulation device according to claim 8, wherein: The communication buffer includes the plurality of storage areas whose number corresponds to the virtual delay time.

10. The simulation device according to claim 5, wherein: The communication simulator is configured to be based on a plurality of communication definitions such that the receiving-side simulator acquires the communication data according to each of the plurality of communication definitions, each of the plurality of communication definitions associating the sending-side simulator with the receiving-side simulator.

11. The simulation device according to claim 1 or 2, wherein: The system further includes a progress speed adjustment unit configured to change the progress speed of the first simulation and the progress speed of the second simulation in response to the specification of the reproduction speed.

12. The simulation device according to claim 1 or 2, wherein: The system further includes an interruption unit configured to interrupt the first simulation and the second simulation in response to an interruption instruction.

13. The simulation device according to claim 1 or 2, wherein: The simulation manager is configured to, in response to receiving an indication of a separate simulation, cause the first simulator to perform the first simulation regardless of progress of the second simulation.

14. A control system comprising: The simulation device according to claim 6; the first controller and the second controller; as well as The virtual delay setting unit is configured to set the virtual delay time so as to correspond to the communication delay time between the first controller and the second controller.

15. The control system of claim 14, wherein: Also included is an abnormality detection section configured to detect abnormalities of the first and second controllers based on a comparison among the progress of the first controller, the progress of the second controller, the progress of the first simulation, and the progress of the second simulation.

16. A control system comprising: The simulation device according to claim 1 or 2; the first controller and the second controller; as well as A comparison image generating section is configured to generate a comparison image that compares the progress of the first control, the progress of the second control, the progress of the first simulation, and the progress of the second simulation.

17. A simulation method comprising: performing a first simulation of a first control of a first machine, wherein the first control is performed by a first controller; executing a second simulation of a second control on a second machine, wherein the second control is executed by a second controller so that the second machine acts in coordination with the first machine; controlling the progress of the first simulation and the progress of the second simulation to keep the relationship between the progress speed of the first simulation and the progress speed of the second simulation equal to the relationship between the progress speed of the first control and the progress speed of the second control, The first control includes a plurality of first segmented processes, and the first controller is configured to execute each of the plurality of first segmented processes in a first control cycle, The second control includes a plurality of second segmented processes, and the second controller is configured to execute each of the plurality of second segmented processes in a second control cycle, the second control cycle being different from the first control cycle, Controlling the progress of the first simulation and the progress of the second simulation includes controlling the execution timing of each of the plurality of first segmented processes in the first simulation and the execution timing of each of the plurality of second segmented processes in the second simulation based on the first control cycle and the second control cycle.

18. A recording medium storing a program, wherein the program causes a device to: a first simulator configured to perform a first simulation of a first control of a first machine, wherein the first control is performed by a first controller; a second simulator configured to perform a second simulation of a second control of a second machine, wherein the second control is performed by a second controller so that the second machine acts in coordination with the first machine; and a simulation manager configured to control the progress of the first simulation and the progress of the second simulation to keep the relationship between the progress speed of the first simulation and the progress speed of the second simulation equal to the relationship between the progress speed of the first control and the progress speed of the second control, The first control includes a plurality of first segmented processes, and the first controller is configured to execute each of the first segmented processes in a first control cycle. The second control includes a plurality of second segmented processes, the second controller is configured to execute each of the second segmented processes in a second control period, the second control period being different from the first control period, The simulation manager is configured to control an execution timing of each of the plurality of first segmented processes in the first simulation and an execution timing of each of the plurality of second segmented processes in the second simulation based on the first control cycle and the second control cycle.