Control system and control method
A dual-simulation approach in control systems, combining system and local simulators, addresses the inefficiencies in simulating robot operations and environmental interactions, enhancing computational efficiency and robot autonomy.
Patent Information
- Application Number
- PCT/JP2023/020314
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-05
AI Technical Summary
Current control systems face excessive computational load and inefficiency in simulating operations of multiple machines and their environments, particularly when trying to verify robot operations and plan tasks, as they require simulating complex interactions between robots and their surroundings.
The implementation of a dual-simulation approach using both a system simulator and a local simulator, where the system simulator handles comprehensive system models and the local simulator focuses on specific robot and environment models, allowing for more targeted and efficient simulations with reduced computational load.
This dual-simulation approach enables effective utilization of simulation for faster calculations and increased autonomy of robots, reducing the burden on system integrators and improving the reliability of robot operations by allowing real-time control based on simulation results.
Smart Images

Figure JP2023020314_05122024_PF_FP_ABST
Abstract
Description
Control system and control method
[0001] The present disclosure relates to a control system and a control method.
[0002] Patent Document 1 discloses a system including a plurality of local controllers that respectively control a plurality of local devices including a robot, and a simulation unit that simulates operations that the plurality of local controllers cause the plurality of local devices to perform based on model information of the plurality of local devices.
[0003] Patent No. 6754883
[0004] The present disclosure provides a system that allows for more effective use of simulation.
[0005] A control system according to one aspect of the present disclosure includes a plurality of local controllers that respectively control a plurality of machines including a robot; a local simulator that simulates operations that the local controller corresponding to the robot will cause the robot to perform, based on a local model that includes a model of the robot and a model of the robot's surrounding environment; and a system simulator that simulates operations that the local controllers will cause the plurality of machines to perform, based on a system model that includes models of the plurality of machines and a model of the surrounding environment of the plurality of machines.
[0006] A control method according to another aspect of the present disclosure includes simulating operations to be performed by multiple machines by multiple local controllers based on a system model including models of the multiple machines and a model of the surrounding environment of the multiple machines; simulating operations to be performed by the robot by a local controller corresponding to the robot based on a local model including a model of the robot included in the multiple machines and a model of the surrounding environment of the robot; and controlling the robot based on the simulation results from the system model and the simulation results from the local model.
[0007] According to the present disclosure, a system that can more effectively utilize simulation can be provided.
[0008] 1 is a schematic diagram illustrating a configuration of a production system; 2 is a schematic diagram illustrating a configuration of a robot; 3 is a block diagram illustrating a functional configuration of a simulation device; 4 is a block diagram illustrating a functional configuration of a host controller; 5 is a block diagram illustrating a functional configuration of a local controller; 6 is a block diagram illustrating a hardware configuration of a control system; 7 is a flowchart illustrating a procedure for generating a local model; 8 is a flowchart illustrating a procedure for correcting a system model; 9 is a flowchart illustrating a procedure for generating a system model; 10 is a flowchart illustrating a procedure for generating constraints; 11 is a flowchart illustrating a procedure for task planning; 12 is a flowchart illustrating a procedure for task command; 13 is a flowchart illustrating a procedure for correcting a local model; 14 is a flowchart illustrating a control procedure; 15 is a flowchart illustrating a procedure for generating an operation path; 16 is a flowchart illustrating a procedure for checking interference.
[0009] Hereinafter, the embodiments will be described in detail with reference to the drawings. In the description, the same elements or elements having the same functions are denoted by the same reference numerals, and redundant description will be omitted.
[0010] [Production System] The production system 1 shown in Figure 1 is a system that produces products in real space. The products may be any tangible objects that are produced by mechanically processing and assembling one or more parts. Real space is the space in which tangible objects actually exist.
[0011] The production system 1 includes a production device 2 and a control system 3. The production device 2 performs processing steps on a workpiece W in real space to produce a product. The workpiece W is a tangible object that the production device 2 handles to form at least a part of the product. For example, the workpiece W may be a part to be assembled into the product, an intermediate product formed by assembling parts, or the final completed product itself.
[0012] The processing steps for the workpiece W include multiple tasks. A task is a set of operations whose order is determined in advance for a specific work purpose. At least one of the multiple tasks can be shared by two or more different processing steps. The execution order of the multiple tasks can be changed depending on the content of the processing step, but the order of operations within a single task cannot be changed. Examples of multiple tasks include carrying a base part into the work area, assembling parts to the base part, fixing parts to the base part by fastening or welding, etc., and carrying out the completed product from the work area after assembling one or more parts to the base part.
[0013] For example, the production device 2 includes a plurality of machines 5. The plurality of machines 5 includes at least a robot. The plurality of machines 5 may further include a machine other than a robot. Examples of machines other than a robot include, but are not limited to, a transport device that transports a workpiece W, a device that adjusts the position and posture of a workpiece W that is the object of work by a robot, and a machine tool that processes the workpiece W. Any structure can be included in the plurality of machines 5 as long as it is capable of executing a task on the workpiece W.
[0014] The multiple tasks may include two or more tasks that should be executed sequentially in series, or may include two or more tasks that can be executed simultaneously by multiple machines 5. Examples of tasks executed by a robot include transporting the workpiece W, assembling the workpiece W, fixing the workpiece W (e.g., fastening or welding), and carrying the workpiece W into and out of a peripheral machine such as a machine tool. Examples of tasks executed by a machine tool include opening and closing a door, chucking the carried-in workpiece W, rotating and moving the workpiece W, changing tools, placing and moving tools relative to the workpiece W, and releasing the chucking after processing.
[0015] 1 includes, but is not limited to, a conveying device 5A, robots 5B, 5C, and 5D, and a machine tool 5E. The number and types of machines 5 can be changed in any way as long as they include at least a robot.
[0016] The transport device 5A is driven by, for example, an electric motor or the like, and transports the workpiece W. Examples of the transport device 5A include a belt conveyor, a roller conveyor, and a carousel.
[0017] The robots 5B and 5C are vertical articulated robots, and as shown in Fig. 2, have an articulated arm 10 and an end effector 50. The end effector 50 acts on the workpiece W. Examples of the end effector 50 include a hand that grips the workpiece W, a suction nozzle that picks up the workpiece W, a welding torch that welds the workpiece W, or a screw tightening tool that tightens a screw on the workpiece W.
[0018] The articulated arm 10 is connected to an end effector 50 and changes the position and orientation of the end effector 50 by operating the articulated arms. For example, the articulated arm 10 includes a base 11, a swivel 12, a first arm 13, a second arm 14, a swinging unit 15, a third arm 17, a tip 18, and actuators 41, 42, 43, 44, 45, and 46. The base 11 is installed around the transport device 5A. The swivel 12 is provided on the base 11 so as to swivel about a vertical axis 21. The first arm 13 is connected to the swivel 12 so as to swivel about an axis 22 that intersects (e.g., is perpendicular to) the axis 21. The intersection may also be in a twisted relationship, such as a so-called three-dimensional intersection. The second arm 14 is connected to the tip of the first arm 13 so as to swivel about an axis 23 that is substantially parallel to the axis 22. The second arm 14 includes a swinging unit 15 and a rotating unit 16. The swinging unit 15 is connected to the tip of the first arm 13 and extends along an axis 24 that intersects (e.g., is perpendicular to) the axis 23. The rotating unit 16 is connected to the tip of the swinging unit 15 so as to rotate about the axis 24 and extends further along the axis 24. The third arm 17 is connected to the tip of the rotating unit 16 so as to swing about an axis 25 that intersects (e.g., is perpendicular to) the axis 24. The tip 18 is connected to the tip of the third arm 17 so as to rotate about an axis 26 that intersects (e.g., is perpendicular to) the axis 25. A work tool such as a hand, a suction nozzle, or a welding torch is attached to the tip 18.
[0019] Thus, the multi-joint arm 10 has a joint 31 connecting the base 11 and the swivel 12, a joint 32 connecting the swivel 12 and the first arm 13, a joint 33 connecting the first arm 13 and the second arm 14, a joint 34 connecting the swinging part 15 and the swivel 16 in the second arm 14, a joint 35 connecting the swivel 16 and the third arm 17, and a joint 36 connecting the third arm 17 and the tip 18.
[0020] The actuators 41, 42, 43, 44, 45, and 46 include, for example, electric motors and reducers, and drive the joints 31, 32, 33, 34, 35, and 36, respectively. For example, the actuator 41 rotates the rotating unit 12 around the axis 21, the actuator 42 swings the first arm 13 around the axis 22, the actuator 43 swings the second arm 14 around the axis 23, the actuator 44 rotates the rotating unit 16 around the axis 24, the actuator 45 swings the third arm 17 around the axis 25, and the actuator 46 rotates the tip end 18 around the axis 26.
[0021] The configuration of the articulated arm 10 can be changed as needed. For example, the articulated arm 10 may be a seven-axis redundant robot in which one more joint is added to the six-axis configuration described above, or may be a so-called SCARA type articulated robot.
[0022] 1 , the robot 5D is an autonomously movable robot. For example, the robot 5D is a robot similar to the robots 5B and 5C, but with a base 11 of the articulated arm 10 that is self-propelled. An example of the self-propelled base 11 is an electric automated guided vehicle (AGV).
[0023] At least one of the robots 5B, 5C, and 5D may have an environmental sensor 51, 52 at the tip 18 or the rotating part 12. The environmental sensor 51, 52 is, for example, a camera or an optical three-dimensional shape sensor, and acquires information about the surrounding environment of the robot 5B, 5C, or 5D.
[0024] The machine tool 5E performs cutting and other processes on the workpiece W that is carried in and out by the robots 5B and 5C. Examples of the machine tool 5E include an NC lathe, an NC milling machine, and a machining center. The production apparatus 2 may further include a peripheral device whose movement range overlaps with that of any of the robots 5B, 5C, and 5D. For example, the movement range of the robot 5C (peripheral device) may overlap with that of the robot 5B.
[0025] The production system 1 may further include one or more environmental sensors 6. Examples of the environmental sensor 6 include a load sensor provided at a position where the workpiece W can be placed, or a camera that photographs the position where the workpiece W can be placed. The environmental sensor 6 is, for example, a camera or an optical three-dimensional shape sensor, and acquires status information of at least a portion of the environment including the multiple machines 5 and objects surrounding the multiple machines 5. The environmental sensor 6 may be a load sensor that detects whether or not the workpiece W is present at a position where the workpiece W can be placed.
[0026] The control system 3 controls the multiple machines 5 to execute production corresponding to a production plan generated by, for example, a manufacturing execution system (MES). The control system 3 includes at least multiple local controllers 400 that respectively control the multiple machines 5. In the example of FIG. 1 , the multiple local controllers 400 include a local controller 400A that controls the transport device 5A, a local controller 400B that controls the robot 5B, a local controller 400C that controls the robot 5C, a local controller 400D that controls the robot 5D, and a local controller 400E that controls the machine tool 5E. Each of the multiple local controllers 400 controls the corresponding machine 5 based on a predetermined local control program.
[0027] The control system 3 further includes a system simulator 114. The system simulator 114 simulates operations that the local controllers 400 cause the multiple machines 5 to execute, based on a system model including models of the multiple machines 5 and a model of the surrounding environment of the multiple machines 5. The system simulator can simulate not only the operations of individual machines, but also the relationship between the combination of operations of the multiple machines 5 and the surrounding environment. By simulating the relationship between the combination of operations of the multiple machines 5 and the surrounding environment, it becomes possible to plan multiple tasks corresponding to a production plan (e.g., planning the execution order, etc.) through repeated trial and error without operating the actual machines. Furthermore, the simulation results can be used as a comparison to verify the operation results of the actual machines.
[0028] However, if all simulations for every purpose were performed using the system simulator 114, the computational load could become excessive. For example, the operation of a single robot can be verified by a simulation based on a model of the robot and a model of the robot's surrounding environment. Therefore, the control system 3 further includes a local simulator 418. The local simulator 418 simulates the operation that the local controller corresponding to the robot causes the robot to perform, based on a local model including the robot model and a model of the robot's surrounding environment.
[0029] 1 , for example, the control system 3 includes local simulators 418B, 418C, and 418D corresponding to the robots 5B, 5C, and 5D, respectively. The local simulator 418B simulates an action that the local controller 400B causes the robot 5B to perform, based on a local model including a model of the robot 5B and a model of the surrounding environment of the robot 5B. The local simulator 418C simulates an action that the local controller 400C causes the robot 5C to perform, based on a local model including a model of the robot 5C and a model of the surrounding environment of the robot 5C. The local simulator 418D simulates an action that the local controller 400D causes the robot 5D to perform, based on a local model including a model of the robot 5D and a model of the surrounding environment of the robot 5D.
[0030] In this way, by providing both the system simulator 114 and the local simulator 418, it is possible to selectively use the system simulator 114 or the local simulator 418 depending on the purpose, thereby reducing the calculation load on the entire control system 3. Furthermore, the local simulator 418, which can execute a simulation with a smaller calculation load than the system simulator 114, allows the simulation to be used in applications that require faster calculations, higher synchronization, etc. Therefore, the simulation can be used more effectively.
[0031] At least one of the local controllers 400B, 400C, and 400D (for example, the local controller 400B) may control the robot 5B based on the simulation results of the system simulator 114 and the simulation results of the local simulator 418B. By using both the system simulator 114 and the local simulator 418, the autonomy of the robot 5B can be increased and the burden on workers such as system integrators can be reduced.
[0032] As an example, the local controller 400B may operate the robot 5B based on the simulation result by the local simulator 418B so as to perform a task assigned to the robot 5B based on the simulation result by the system simulator 114. Furthermore, when causing the robot 5B to perform a predetermined task, the local controller 400B may change the movement path of the robot 5B based on the simulation result by the local simulator 418B so as to satisfy constraints set for the movement of the robot 5B based on the simulation result by the system simulator 114.
[0033] The simulation results of the system simulator 114 used to control the local controller 400B may be generated during a time period when the local controller 400B is not controlling the robot 5B. A state in which the local controller 400B is not controlling the robot 5B refers, for example, to a state in which the local controller 400B is not supplying power to the robot 5B to maintain the position of the robot 5B at a target position. The simulation results of the local simulator 418 used to control the local controller 400B may be generated while the local controller 400B is controlling the robot 5B. A state in which the local controller 400B is controlling the robot 5B refers, for example, to a state in which the local controller 400B is supplying power to the robot 5B to maintain the position of the robot 5B at a target position.
[0034] Similar to the local controller 400B, the local controller 400C may operate the robot 5C based on the simulation results by the system simulator 114 and the simulation results by the local simulator 418C. The local controller 400D may operate the robot 5D based on the simulation results by the system simulator 114 and the simulation results by the local simulator 418D.
[0035] The local simulator 418B may be incorporated as a program in the storage 493 of a circuit 490 (described below) of the local controller 400B. Similarly, the local simulator 418C may be incorporated in the storage 493 of the local controller 400B, and the local simulator 418D may be incorporated in the storage 493 of the local controller 400C. By providing the local simulators 418B, 418C, and 418C in the local controllers 400B, 400C, and 400D, respectively, it becomes easier to use simulations in applications that require faster calculations, such as generating movement paths for the robots 5B, 5C, and 5D while controlling the robots 5B, 5C, and 5D.
[0036] The system simulator 114 may be provided in hardware separate from the local controllers 400B, 400C, and 400D. For example, the control system 3 further includes a host controller 300, a data collection device 200, and a simulation device 100, and is provided in the simulation device 100.
[0037] The host controller 300 performs synchronous communication with the multiple local controllers 400. Synchronous communication means that communication with the multiple local controllers 400 is performed in each cycle in synchronization with a synchronization frame of a fixed communication cycle. The host controller 300 aggregates information obtained from the multiple local controllers 400 through synchronous communication to update environmental information, and sequentially assigns tasks to each of the multiple local controllers 400 based on a predetermined host control program and the environmental information. The host controller 300 may also update the environmental information based on the detection results from the environmental sensors 6.
[0038] The local control program stored in each of the multiple local controllers 400 includes one or more task programs for causing the machine 5 to execute one or more tasks that may be assigned by the upper controller 300. Each of the multiple local controllers 400 executes a task program corresponding to a task assigned by the upper controller 300, thereby causing the machine 5 to execute the assigned task.
[0039] Instead of the upper controller 300 assigning a task to each of the multiple local controllers 400, each of the multiple local controllers 400 may select and execute one or more task programs based on a comparison of the execution conditions of the one or more task programs with environmental information.
[0040] The data collection device 200 communicates with, for example, a host controller 300 via a network, and accumulates environmental information updated by the host controller 300 in a database in chronological order. The simulation device 100 includes a system simulator 114 and communicates with the data collection device 200 and the host controller 300 via a network. The simulation device 100 uses the system simulator 114 to simulate a combination of operations of multiple machines 5 and their relationship with the surrounding environment without operating the actual machines. For example, the simulation device 100 plans multiple tasks based on the simulation results of the system simulator 114 and provides the planning results to the host controller 300. The simulation device 100 may compare the simulation results of the system simulator 114 with the database of the data collection device 200 to detect a discrepancy between the operation results of the multiple machines 5 in the simulation and the operation results of the multiple machines 5 in real space.
[0041] The following describes in detail exemplary configurations of the simulation device 100, the data collection device 200, the host controller 300, and the local controller 400. In the description of the simulation device 100, the data collection device 200, and the host controller 300, when referring to the local controller 400 having the local simulator 418, only the local controller 400B may be mentioned for convenience. In addition, in the description of the local controller 400, the configuration of the local controller 400B will be illustrated as an example of the local controller 400 having the local simulator 418.
[0042] [Simulation Device] Fig. 3 is a block diagram illustrating an example of the functional configuration of the simulation device 100. As shown in Fig. 3, the simulation device 100 has, as functional components (hereinafter referred to as "functional blocks"), a program storage unit 111, a virtual control system 112, a system simulator 114, a result storage unit 115, and a display unit 116. The program storage unit 111 stores programs (e.g., the above-mentioned upper control program and local control program) that are executed by the upper controller 300 and the multiple local controllers 400 to control the multiple machines 5. The virtual control system 112 executes the programs stored in the program storage unit 111 in the same procedure as when the upper controller 300 and the multiple local controllers 400 control the multiple machines 5.
[0043] The system model storage unit 113 stores a system model including models of the multiple machines 5 and models of the surrounding environments of the multiple machines 5. Each model of the multiple machines 5 is data representing the arrangement, structure, shape, size, etc. of the corresponding machine 5 in real space. The model of the surrounding environment of the multiple machines 5 is data representing the arrangement, structure, shape, size, etc. of peripheral objects (e.g., structures such as frames, sensors such as cameras, and one or more workpieces W) constituting the surrounding environment of the multiple machines 5 in real space. The arrangement, structure, shape, and size in the system model are represented by, for example, polygon data, voxel data, sender data, image data, etc. The coordinate system based on the system model corresponds to a virtual space in which the multiple machines 5 and the surrounding environments of the multiple machines 5 are virtually arranged. The system model may further include information defining the relationship between the coordinate system based on the system model and a coordinate system based on at least one of the multiple local controllers 400.
[0044] The system simulator 114 simulates the operations that the local controllers 400 cause the machines 5 to execute, based on the system model stored in the system model storage unit 113 and the program stored in the program storage unit 111. For example, the system simulator 114 causes the model of robot 5B to operate in the virtual space by forward kinematics calculation based on the operation angles of the joints 31, 32, 33, 34, 35, and 36 calculated by the virtual control system 112 and the model of robot 5B. The same applies to robots 5C and 5D.
[0045] The system simulator 114 operates at least one of the models of the multiple machines 5 in the virtual space each time the results of program execution by the virtual control system 112 are updated, and stores the operation history of the multiple machines 5 in the virtual space in the result storage unit 115.
[0046] The display unit 116 displays on a monitor (for example, a user interface 195, described later) a virtual space in which multiple machines 5 are operating, based on the simulation results accumulated in chronological order in the result storage unit 115. For example, the display unit 116 reads out the simulation results accumulated in the result storage unit 115 in chronological order, converts the three-dimensional data included in the simulation results into two-dimensional data from a predetermined viewpoint, and displays the data on the monitor. As a result, a video of the virtual space in which multiple machines 5 are operating is played on the monitor.
[0047] The simulation device 100 may further include a condition generation unit 117. The condition generation unit 117 generates constraint conditions for the movement of the robot 5B based on the simulation results by the system simulator 114. Examples of constraint conditions include a movable range or a non-movable range. The movement of the robot 5B may be restricted due to factors other than the link structure of the robot 5B. For example, the movement of the robot 5B may be restricted to avoid impacts on surrounding objects. The surrounding objects include cables wired to the robot 5B. The condition generation unit 117 may generate constraint conditions for the movement due to factors other than the link structure of the robot 5B based on the simulation results by the system simulator 114.
[0048] Constraints on the movement of the robot 5B due to factors other than the link structure can be obtained by simulating the effects of the movement of the robot 5B on surrounding objects. Simulating the physical effects between two or more objects that are not integrated requires a large computational load. For this reason, it is difficult to execute such a simulation in the local controller 400B, which has limited computational resources. Therefore, by generating constraints in advance based on the simulation results of a system simulator 114 provided in a simulation device 100 separate from the local controller 400B, the generated constraints can be used during control of the robot 5B by the local controller 400B.
[0049] The simulation device 100 may further include a planning unit 118. The planning unit 118 plans a plurality of tasks based on the simulation results of the system simulator 114 and generates the planning results as the above-mentioned upper control program. For example, the planning unit 118 extracts a plurality of tasks necessary for production corresponding to the production plan, sets an execution order for the plurality of tasks, and requests the virtual control system 112 to execute the plurality of tasks in a virtual space in the set execution order. The virtual control system 112 executes the program in the program storage unit 111 so as to execute the plurality of tasks in the set execution order. The system simulator 114 operates models of a plurality of machines 5 in a virtual space based on the execution results of the program by the virtual control system 112 and stores the operation history of the models of the plurality of machines 5 in the virtual space in the result storage unit 115.
[0050] The planning unit 118 checks whether the execution results of the multiple tasks by the multiple machines 5 satisfy a predetermined condition based on the operation history stored in the result storage unit 115. For example, the planning unit 118 checks whether the execution time of the multiple tasks by the multiple machines 5 is equal to or less than a predetermined threshold. The planning unit 118 may also check whether the power consumption of the multiple machines 5 for executing the multiple tasks is equal to or less than a predetermined threshold. Thereafter, the planning unit 118 repeatedly changes the execution order of the multiple tasks and causes the multiple machines 5 to execute the multiple tasks in the virtual space in the changed execution order until the execution results of the multiple tasks by the multiple machines 5 satisfy the predetermined condition. The planning unit 118 generates, as a planning result, an execution order of the multiple tasks that has produced an execution result that satisfies the predetermined condition. The operation history of the multiple machines 5 that satisfy the predetermined condition may be stored in the result storage unit 115.
[0051] The planning result by the planning unit 118 is acquired as the above-mentioned upper control program by the upper controller 300 and executed. By the upper controller 300 executing the upper control program, the multiple machines 5 operate in the real space, and the operation history of the multiple machines 5 in the real space is accumulated in the data collecting device 200.
[0052] The simulation device 100 may further include a comparison unit 119. The comparison unit 119 compares the operation history stored in the result holding unit 115 with the operation history stored in the data collection device 200 to detect a discrepancy between the operation history of the multiple machines 5 in the real space and the operation history of the multiple machines 5 in the virtual space.
[0053] The simulation device 100 may further include a local model generation unit 120. The local model generation unit 120 generates a local model based on the system model stored in the system model storage unit 113. The local model generated by the local model generation unit 120 is used for simulation by the local simulator 418. When the local controllers 400B, 400C, and 400D include local simulators 418B, 418C, and 418D, respectively, the local model generation unit 120 may generate local models corresponding to the local simulators 418B, 418C, and 418D, respectively.
[0054] The local model generation unit 120 may generate a copy of the system model as the local model, or may generate a local model by extracting a part of the system model (by duplicating a part of the system model). Compared to the system model, the data size of the local model is reduced, and the calculation load on the local simulator is reduced, so simulation can be used for applications that require faster calculations.
[0055] The local model generation unit 120 may determine the range to be extracted as a local model based on the system model. By using the system model as a basis, it is possible to extract just the range necessary for the local model. For example, the local model generation unit 120 may identify, based on the system model, the range of motion of the model of robot 5B and one or more models included in the range of motion of the model of robot 5B, and determine the range to be extracted as a local model so as to include at least the model of robot 5B and the identified one or more models. The local model generation unit 120 may also identify the range of motion of the model of robot 5B and the one or more models included in the range of motion of robot 5B based on the results of a simulation of the movement of robot 5B by the system simulator 114.
[0056] The local model generation unit 120 may generate the local model by performing a predetermined data conversion on the copy of the system model. Even if the data formats of the local model and the system model are different, the local model can be easily generated based on the system model.
[0057] An example of data conversion is data granularity conversion. For example, the local model generation unit 120 may generate a local model by performing data conversion on a replica of the system model to reduce the granularity of the data. Compared to the system model, the data size of the local model is reduced, and the calculation load on the local simulator is reduced, allowing the simulation to be used in applications requiring faster calculations.
[0058] The local model generation unit 120 may include a range determination unit 121 and a model converter 122. The range determination unit 121 determines a range to be extracted as a local model based on a system model. The model converter 122 copies (extracts) the range determined by the range determination unit 121 from the system model and performs predetermined data conversion on the copied range to generate a local model. Even if the local model and the system model differ in both range and data format, the local model can be easily generated based on the system model. Furthermore, because data conversion is performed on the extracted range, the computational load for generating a local model can be reduced compared to performing data conversion on the entire system model.
[0059] The simulation device 100 may further include a system model correction unit 131. As will be described later, when a local model is corrected in any of the local controllers 400B, 400C, and 400D, the system model correction unit 131 corrects the system model based on the correction content of the local model. The system model correction unit 131 may directly acquire information on the correction content of the local model from each of the local controllers 400B, 400C, and 400D, or may acquire information on the correction content of the local model from at least one of the local controllers 400B, 400C, and 400D via the higher-level controller 300.
[0060] The information on the correction content of the local model may be the corrected local model or information indicating the correction content of the local model. When the corrected local model is acquired as the information on the correction content of the local model, the system model correction unit 131 extracts differences between the corrected local model and the system model and reflects the extracted differences in the system model. Examples of differences include differences in at least one of the layout, structure, shape, and size of the model.
[0061] When acquiring the information indicating the correction content of the local model, the system model correction unit 131 reflects the correction content of the local model in the system model. Examples of the information indicating the correction content include information indicating the amount and direction of change of at least one of the layout, structure, shape, and size of the model.
[0062] When the system model corrector 131 is further provided, both the local model and the system model can be easily adapted to the actual situation, thereby enabling more effective use of simulation.
[0063] The simulation device 100 may further include a system model generation unit 132. The system model generation unit 132 generates a new system model based on information acquired from the multiple local controllers 400 and stores the generated system model in the system model storage unit 113. The information acquired from the multiple local controllers 400 may include local models acquired from the local controllers 400B, 400C, and 400D, or may include information about the surrounding environment acquired by a sensor or the like provided on the machine 5. For example, the system model generation unit 132 generates a system model by integrating the information acquired from the multiple local controllers 400 into a single coordinate system through coordinate transformation. By aggregating information from the multiple local controllers 400, a system model can be easily generated. For example, if each of the multiple local controllers 400 holds information necessary for generating a system model before a system is constructed using the multiple local controllers 400, the system model can be easily generated by effectively utilizing the existing information in the multiple local controllers 400.
[0064] [Host Controller] FIG. 4 is a block diagram illustrating an example of the functional configuration of the host controller 300. As shown in FIG. 4, the host controller 300 has, as functional blocks, a task plan acquisition unit 311, a task plan storage unit 312, a local information aggregation unit 313, an environmental information storage unit 314, a task identification unit 315, a condition distribution unit 316, and a model distribution unit 317. The task plan acquisition unit 311 acquires the planning results from the planning unit 118 and stores the acquired planning results in the task plan storage unit 312 as a host control program. The local information aggregation unit 313 repeatedly acquires, in the above-mentioned communication cycle, information about the surrounding environment acquired by sensors or the like provided in the machine 5 from each of the multiple local controllers 400, and aggregates the information acquired in the same communication cycle to generate environmental information and store the environmental information in the environmental information storage unit 314.
[0065] The environmental information stored in the environmental information storage unit 314 is accumulated in chronological order by the data collection device 200. The environmental information storage unit 314 may be configured to store, in chronological order, multiple sets of environmental information repeatedly generated by the local information aggregation unit 313. This allows the data collection device 200 to be flexible in the frequency and timing of acquiring environmental information.
[0066] The task identification unit 315 identifies the next task to be executed by one of the multiple machines 5, based on the execution order of the multiple tasks in the planning results stored in the task plan storage unit 312 and the environmental information stored in the environmental information storage unit 314. For example, the task identification unit 315 extracts the next task (the task to be executed next) based on the planning results stored in the task plan storage unit 312. When the task identification unit 315 determines that the extracted task can be executed by the robot 5B, based on the environmental information stored in the environmental information storage unit 314, the task identification unit 315 identifies the extracted task as the next task to be executed by the robot 5B. The task identification unit 315 transmits an execution command for the identified task to the local controller 400B.
[0067] The condition distribution unit 316 acquires the above-mentioned constraint conditions generated by the condition generation unit 117 from the condition generation unit 117 along with identification information of the robot (e.g., robot 5B) that is the subject of the constraint conditions, and distributes the acquired constraint conditions to the robot identified by the identification information.
[0068] The model distribution unit 317 acquires the local model generated by the local model generation unit 120 from the local model generation unit 120 together with identification information of the robot (e.g., robot 5B) that is the target of the local model, and distributes the acquired local model to the robot identified by the identification information.
[0069] 5 is a block diagram illustrating an example of the functional configuration of the local controller 400 B. The local controller 400 B has, as functional blocks, a program storage unit 411, a path generation unit 413, a path storage unit 414, a control unit 415, a model acquisition unit 416, a local model storage unit 417, and a local simulator 418.
[0070] The program storage unit 411 stores a local control program. For example, the local control program includes one or more task programs. Each of the one or more task programs is a program that causes the robot 5B to execute a task of the production system 1. For example, each of the one or more task programs includes a plurality of operation commands in a time series. Each of the plurality of operation commands includes a position designation unit that determines a target position and a target posture of the tip unit 18, and a speed designation unit that determines a target movement speed to the target position and the target posture. Each of the plurality of operation commands may further include a path type designation unit that determines a type of operation path that the tip unit 18 will take to reach the target position and the target posture.
[0071] The position designation unit may determine the target position and target orientation of the tip portion 18 by the target angles of the joints 31, 32, 33, 34, 35, and 36. The speed designation unit may determine the target speed by the target rotational speed of the joints 31, 32, 33, 34, 35, and 36.
[0072] Examples of types of motion paths include the following: i) Linear path: A motion path that connects in a straight line from the position and posture at the start of movement in response to a motion command (hereinafter referred to as "start position and posture") to the target position and posture; ii) S-shaped path: A motion path that connects in an S-shaped curve from the start position and posture to the target position and posture; iii) Constant joint speed path: A motion path when the joints 31, 32, 33, 34, 35, and 36 are rotated at a constant speed from the start position and posture to the target position and posture.
[0073] The path generating unit 413 sequentially reads out a plurality of operation commands of the task program stored in the program storage unit 411, and generates an operation path according to the path type specified by the above-mentioned path type specifying unit. The operation path includes a target movement speed along the operation path.
[0074] The control unit 415 controls the motion of the robot 5B. Controlling the motion of the robot 5B includes moving the robot 5B along a generated motion path and holding the robot 5B in a fixed position.
[0075] The control unit 415 repeatedly controls the position of the robot 5B at a predetermined control cycle to control the motion of the robot 5B. In each control cycle, the control unit 415 calculates a target position and a target posture for the current control cycle (hereinafter collectively referred to as "cycle target positions") based on the motion path stored in the path storage unit 414, calculates target angles for the joints 31, 32, 33, 34, 35, and 36 corresponding to the cycle target positions (hereinafter referred to as "cycle target angles"), and supplies drive power to the actuators 41, 42, 43, 44, 45, and 46 so as to reduce the deviation between the cycle target angles of the joints 31, 32, 33, 34, 35, and 36 and the current angles. Note that, if the position designation unit determines the target positions and postures based on the target angles of the joints 31, 32, 33, 34, 35, and 36 in the motion command, the control unit 415 may calculate the cycle target angles based on the target angles of the position designation unit without performing inverse kinematics calculations.
[0076] The control unit 415 holds the robot 5B at a fixed position when, for example, there is no generated motion path in the path storage unit 414. In this case, the control unit 415 repeats the above-described control of the position of the robot 5B at a control period, with the target position and target posture set to constant values. In this way, when the control of the position of the robot 5B is continued with the target position and target posture set to constant values, the control of the robot 5B continues even if the robot 5B is stopped.
[0077] The local controller 400 further includes a local model storage unit 417 and a local simulator 418. The local model storage unit 417 stores a local model including a model of the robot 5B and a model of the surrounding environment of the robot 5B. The model of the robot 5B is data representing the arrangement, structure, shape, size, etc. of the robot 5B in real space. The model of the surrounding environment of the robot 5B is data representing the arrangement, structure, shape, size, etc. of objects that make up the surrounding environment of the robot 5B (e.g., other machines 5, structures such as frames, and one or more workpieces W) in real space. The coordinate system based on the local model corresponds to a virtual space in which the robot 5B and the surrounding environment of the robot 5B are virtually arranged.
[0078] The local simulator 418 simulates the operation that the local controller 400B causes the robot 5B to perform, based on the local model stored in the local model storage unit 417. For example, the local simulator 418 simulates the operation of the robot 5B along the operation path stored in the control unit 415. For example, the local simulator 418 operates the model of the robot 5B in the virtual space so that the tip end 18 moves along the operation path stored in the control unit 415.
[0079] The local controller 400 may further include a model acquisition unit 416. The model acquisition unit 416 acquires the local model for the robot 5B generated by the local model generation unit 120 of the simulation device 100 and stores the model in the local model storage unit 417. The model acquisition unit 416 may acquire the local model from the model distribution unit 317 of the higher-level controller 300.
[0080] The local controller 400 may further include a surrounding information acquisition unit 421, a local model correction unit 422, and a correction notification unit 423. The surrounding information acquisition unit 421 acquires state information of the surrounding environment of the robot 5B, for example, from the environmental sensors 51 and 52. If the environmental sensors 51 and 52 are cameras, the surrounding information acquisition unit 421 acquires state information of the surrounding environment by image processing of images acquired by the environmental sensors 51 and 52. The information acquired by the surrounding information acquisition unit 421 is transmitted to the local information aggregation unit 313 of the upper controller 300 and is also used to generate the above-mentioned environmental information. The surrounding information acquisition unit 421 may acquire state information of the surrounding environment based on the state of the robot 5B, without relying on the environmental sensors 51 and 52. For example, the surrounding information acquisition unit 421 may calculate the position of the tip 18 of the robot 5B based on the state of the robot 5B, and acquire position information of a surrounding object in contact with the tip 18 based on the calculation result of the position of the tip 18.
[0081] The local model correction unit 422 corrects the local model stored in the local model storage unit 417 based on the state information of the robot 5B and the state information of the surrounding environment of the robot 5B acquired by the surrounding information acquisition unit 421. For example, the local model correction unit 422 extracts differences between the space represented by the state information of the robot 5B and the state information of the surrounding environment of the robot 5B acquired by the surrounding information acquisition unit 421 and the space represented by the local model, and reflects the extracted differences in the local model. Examples of differences include differences in at least one of the model's layout, structure, shape, and size. The differences reflected in the local model by the local model correction unit 422 are limited to differences in the layout, structure, shape, and size of the model that are substantially unchanging, and do not include differences that may change over time, such as the layout of the workpiece W or the layout of moving parts of other machines 5. Because the layout of the base 11 of the robot 5C is substantially unchanging, differences in the layout of the base 11 of the robot 5C can be reflected in the local model by the local model correction unit 422.
[0082] The correction notification unit 423 transmits information regarding the correction content of the local model by the local model correction unit 422 to the system model correction unit 131. The correction notification unit 423 may transmit the information regarding the correction content of the local model to the system model correction unit 131 via the local information aggregation unit 313 of the higher-level controller 300. The correction notification unit 423 may transmit the corrected local model as the information regarding the correction content of the local model, or may transmit information indicating the correction content of the local model. Examples of the information indicating the correction content include information indicating the amount and direction of change of at least one of the arrangement, structure, shape, and size of the model.
[0083] The system model corrector 131 receives the correction content of the local model from the correction notifier 423 and corrects the system model based on the correction content of the local model, as described above.
[0084] The system model may also be updated based on the correction details of the local models in the local controllers 400C and 400D. Therefore, the surrounding information acquisition unit 421 may further acquire information about the surrounding environment of the robot 5B from the system model updated based on the correction details of each local model. The local model correction unit 422 may correct the local model stored in the local model storage unit 417 based on state information about the surrounding environment of the robot 5B that the surrounding information acquisition unit 421 further acquires from the system model. This results in the local models of the multiple local controllers 400 being corrected in a complementary manner, thereby improving the reliability of each local model.
[0085] The local controller 400 may further include a local model update unit 431 and an interference determination unit 432. The local model update unit 431 updates the local model based on changes in the surrounding environment of the robot 5B. When the local model has been corrected by the local model correction unit 422, the local model update unit 431 updates the corrected local model based on changes in the surrounding environment of the robot 5B.
[0086] For example, the local model update unit 431 extracts differences between the space represented by the state information of the robot 5B and the state information of the surrounding environment of the robot 5B acquired by the surrounding information acquisition unit 421, and the space represented by the local model, and reflects the extracted differences in the local model. Examples of differences include differences in at least one of the layout, structure, shape, and size of the model. The differences that the local model update unit 431 reflects in the local model are differences in the layout, structure, shape, and size of the model that may change over time. For example, differences due to changes over time in the layout of the workpiece W and the layout of moving parts of other machines 5 are reflected in the local model by the local model update unit 431.
[0087] The interference determination unit 432 determines whether the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B based on the simulation results of the local simulator 418, which are based on the local model updated by the local model update unit 431. For example, each time the local model is updated by the local model update unit 431, the interference determination unit 432 moves the model of the robot 5B in the virtual space along the movement path stored in the path storage unit 414, and determines whether the model of the robot 5B will interfere with the model of an object in the vicinity of the robot 5B. Interference means, for example, that the model of the robot 5B and the model of an object in the vicinity of the robot 5B partially overlap in the virtual space. It is possible to operate the robot 5B while verifying in real time whether the predetermined movement path of the robot 5B can adapt to changes in the surrounding environment.
[0088] The interference determination unit 432 may cause the local simulator 418 to execute a simulation while the control unit 415 continues to control the robot 5B, and determine whether or not the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B. For example, while the control unit 415 is operating the robot 5B along the movement path stored in the path storage unit 414, the interference determination unit 432 may cause the local simulator 418 to execute a simulation for at least a section of the movement path where the robot 5B has not yet moved, and determine whether or not the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B. The interference determination unit 432 may cause the local simulator 418 to execute a simulation based on a feedback value acquired from the robot 5B, and determine whether or not the actual movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B.
[0089] If the interference determination unit 432 determines that the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B, the control unit 415 may stop the movement of the robot 5B along the movement path. For example, the control unit 415 may stop updating the cycle target position along the movement path and continue to control the robot 5B while maintaining the subsequent cycle target position constant. If the control unit 415 determines that the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B, the control unit 415 may stop the control of the robot 5B. In this way, with the configuration in which the control unit 415 stops the movement of the robot 5B when the interference determination unit 432 determines that the robot 5B will interfere with a peripheral object, the movement of the robot 5B along the movement path is continued only when the interference determination unit 432 determines that the robot 5B will not interfere with a peripheral object.
[0090] When it is determined that the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B, the control unit 415 does not necessarily have to stop the robot 5B. In this case, the local controller 400B may notify the operator that it has been determined that the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B by displaying the information on a monitor, for example.
[0091] The path generation unit 413 may generate a movement path for the robot 5B based on the simulation result by the local simulator 418 while the control of the multiple machines 5 by the multiple local controllers 400 continues at least partially. For example, the path generation unit 413 may generate a movement path for the robot 5B based on the simulation result by the local simulator 418 while the control unit 415 continues to control the multiple machines 5. For example, the path generation unit 413 may generate a movement path that follows the movement path stored in the path storage unit 414 based on the simulation result by the local simulator 418 while the control unit 415 is operating the robot 5B along the movement path stored in the path storage unit 414.
[0092] As an example, the types of motion paths that can be specified by the path type specification unit of the motion command may include the above-mentioned "linear path," "S-shaped path," and "constant joint velocity path," as well as the following: iv) Autopath: A path generated from the movement start position and movement start posture to the target position and target posture so as not to interfere with surrounding objects.
[0093] Hereinafter, a movement command whose path designation unit is "autopath" will be referred to as an "autopath command." When the path generation unit 413 reads out an autopath command, it repeats the following process while the control unit 415 is operating the robot 5B based on the previously read movement command, to generate a movement path from the movement start position and movement start posture to the target position and target posture according to the autopath command. For example, the path generation unit 413 first provisionally generates a movement path from the movement start position and movement start posture to the target position and target posture, and requests the local simulator 418 to perform a simulation using the provisionally generated movement path. The local simulator 418 operates a model of the robot 5B along the provisionally generated movement path in virtual space, and the interference determination unit 432 determines whether the provisionally generated movement path of the robot 5B will interfere with an object surrounding the robot 5B. If it is determined that the provisionally generated movement path of the robot 5B will interfere with an object surrounding the robot 5B, the path generation unit 413 modifies the provisionally generated movement path by adding a via point that can avoid interference with the peripheral object to the provisionally generated movement path. Thereafter, the path generation unit 413 repeatedly corrects the movement path based on the simulation results by the local simulator 418 until it is determined that the corrected movement path will not interfere with objects surrounding the robot 5B. The local simulator 418 generates the corrected movement path at the time when it is determined that the robot 5B will not interfere with objects surrounding the robot 5B as a movement path corresponding to the autopath, and stores this in the path storage unit 414. The local simulator 418 makes it possible to use simulation during control.
[0094] For such simulation during control, it is advantageous to provide the local model storage unit 417 and the local simulator 418 in the local controller 400B together with the program storage unit 411, the path generation unit 413, the path storage unit 414, and the control unit 415. An example of providing the local model storage unit 417 and the local simulator 418 in the local controller 400B together with the program storage unit 411, the path generation unit 413, the path storage unit 414, and the control unit 415 is to provide the local model storage unit 417, the local simulator 418, the program storage unit 411, the path generation unit 413, the path storage unit 414, and the control unit 415 in an arithmetic circuit of the production system 1 integrated by a system bus.
[0095] As described above, the local controller 400B may control the robot 5B based on the simulation results by the system simulator 114 and the simulation results by the local simulator 418. For example, the local control program stored in the program storage unit 411 may include a plurality of task programs, and the local controller 400 may further include a task acquisition unit 433. The task acquisition unit 433 acquires a task execution command sent by the task identification unit 315. The local controller 400B controls the robot 5B to execute a task corresponding to the execution command.
[0096] As described above, the execution command is generated based on the planning results stored in the task plan storage unit 312, and the planning results stored in the task plan storage unit 312 are generated based on the simulation results by the system simulator 114. Therefore, controlling the robot 5B to execute a task corresponding to the execution command corresponds to controlling the robot 5B based on the simulation results by the system simulator 114.
[0097] The local controller 400B may control the robot 5B to execute a task corresponding to the execution command, based on the simulation result by the local simulator 418. In this case, the robot 5B is controlled based on the simulation result by the system simulator 114 and the simulation result by the local simulator 418.
[0098] For example, the robot 5B may stop the movement of the robot 5B along the movement path when the interference determination unit 432 determines that the movement path of the robot 5B for executing a task corresponding to the execution command will interfere with an object in the vicinity of the robot 5B, and may continue the movement of the robot 5B along the movement path when the interference determination unit 432 determines that the movement path will not interfere with the object in the vicinity of the robot 5B. As described above, whether or not the movement path of the robot 5B will interfere with an object in the vicinity of the robot 5B is determined based on the simulation result by the local simulator 418. Therefore, the robot 5B is controlled based on the simulation result by the system simulator 114 and the simulation result by the local simulator 418.
[0099] The path generation unit 413 may sequentially read out a plurality of operation commands of a task program corresponding to an execution command from among a plurality of task programs stored in the program storage unit 411, and when an autopath command is read out, may generate an operation path corresponding to the autopath based on the simulation results by the local simulator 418 and store the generated operation path in the path storage unit 414. The control unit 415 then operates the robot 5B along the operation path corresponding to the autopath. In this case as well, the robot 5B is controlled based on the simulation results by the system simulator 114 and the simulation results by the local simulator 418.
[0100] The local controller 400 may further include a condition acquisition unit 434 and a condition storage unit 435. The condition acquisition unit 434 acquires the constraint conditions generated by the condition generation unit 117 and stores them in the condition acquisition unit 434. The condition acquisition unit 434 may acquire the constraint conditions from the condition distribution unit 316 of the higher-level controller 300.
[0101] The local controller 400B may control the robot 5B based on the constraint conditions stored in the condition storage unit 435 and the simulation results by the local simulator 418. As described above, the constraint conditions are generated based on the simulation results by the system simulator 114. Therefore, controlling the robot 5B based on the constraint conditions and the simulation results by the local simulator 418 is equivalent to controlling the robot 5B based on the simulation results by the system simulator 114 and the simulation results by the local simulator 418.
[0102] For example, when the path generating unit 413 reads out an autopath command, it may generate a motion path corresponding to the autopath so as to satisfy the constraints based on the simulation results by the local simulator 418 .
[0103] In the above, the configuration of the local controller 400B has been described as an example of the local controller 400 having the local simulator 418. However, the configurations of the local controllers 400C and 400D having the local simulator 418 can be described by replacing "B" in the description of the local controller 400B with "C" or "D."
[0104] [Hardware Configuration] FIG. 6 is a block diagram illustrating an example of the hardware configuration of the control system 3. As shown in FIG. 6, the local controller 400 has a circuit 490. The circuit 490 has a processor 491, a memory 492, a storage 493, a driver circuit 494, and a communication port 495. The storage 493 is configured with one or more non-volatile memory devices such as a flash memory or a hard disk. The storage 493 stores a program for causing the local controller 400 to control the machine 5 and a local simulation program for implementing the local simulator 418 in the local controller 400. For example, the storage 493 stores a program for causing the local controller 400 to configure the above-mentioned functional blocks.
[0105] The memory 492 is composed of one or more volatile memory devices such as a random access memory. The memory 492 temporarily stores programs loaded from the storage 493. The processor 491 is composed of one or more arithmetic devices such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The processor 491 executes the programs loaded in the memory 492, causing the local controller 400 to configure each of the above-mentioned functional blocks. The results of calculations by the processor 491 are temporarily stored in the memory 492.
[0106] The driver circuit 494 operates the articulated arm 10 in response to a request from the processor 491. The communication port 495 communicates with the upper controller 300 via the control communication network NW1 in response to a request from the processor 491.
[0107] The upper controller 300 has a circuit 390. The circuit 390 has a processor 391, a memory 392, a storage 393, an input / output port 394, a communication port 395, and a communication port 396. The storage 393 is configured with one or more non-volatile memory devices such as a flash memory or a hard disk. The storage 393 stores a program for causing the upper controller 300 to update environmental information and assign tasks to the multiple local controllers 400. For example, the upper controller 300 stores a program for causing the upper controller 300 to configure the above-mentioned functional blocks.
[0108] The memory 392 is composed of one or more volatile memory devices such as a random access memory. The memory 392 temporarily stores programs loaded from the storage 393. The processor 391 is composed of one or more arithmetic devices such as a CPU or a GPU. The processor 391 executes the programs loaded in the memory 392, causing the upper controller 300 to configure each of the above-mentioned functional blocks. The results of calculations by the processor 391 are temporarily stored in the memory 392.
[0109] The input / output port 394 exchanges information with the environmental sensor 6 in response to a request from the processor 391. The communication port 395 communicates with the local controller 400 via the communication network NW1 in response to a request from the processor 391. The communication port 396 communicates with the simulation device 100 and the data collection device 200 via the communication network NW2 in response to a request from the processor 391. The communication network NW2 may be a network separate from the communication network NW1, or may be the same network as the communication network NW1.
[0110] The data collection device 200 includes a circuit 290. The circuit 290 includes a processor 291, a memory 292, a storage 293, a communication port 294, and a user interface 295. The storage 293 is configured with one or more non-volatile memory devices such as a flash memory or a hard disk. The storage 293 stores a program for causing the data collection device 200 to accumulate environmental information in chronological order.
[0111] The memory 292 is composed of one or more volatile memory devices such as a random access memory. The memory 292 temporarily stores programs loaded from the storage 293. The processor 291 is composed of one or more arithmetic devices such as a CPU or a GPU. The processor 291 executes the programs loaded into the memory 292. The results of calculations by the processor 291 are temporarily stored in the memory 292.
[0112] The communication port 294 communicates with the simulation device 100 and the upper controller 300 via the communication network NW2 in response to a request from the processor 291. The user interface 295 inputs and outputs information to and from the operator in response to a request from the processor 291. For example, the user interface 295 has a display device such as a liquid crystal monitor or an organic EL (Electro-Luminescence) monitor, and an input device such as a keyboard or a mouse. The input device may be integrated with the display device as a touch panel.
[0113] The simulation apparatus 100 includes a circuit 190. The circuit 190 includes a processor 191, a memory 192, a storage 193, a communication port 194, and a user interface 195. The storage 193 is configured with one or more non-volatile memory devices such as a flash memory or a hard disk. The storage 193 stores a system simulation program for implementing the system model storage unit 113 in the simulation apparatus 100. For example, the storage 193 stores a program for configuring the above-described functional blocks in the simulation apparatus 100.
[0114] The memory 192 is composed of one or more volatile memory devices such as a random access memory. The memory 192 temporarily stores programs loaded from the storage 193. The processor 191 is composed of one or more arithmetic devices such as a CPU or a GPU. The processor 191 executes the programs loaded in the memory 192, thereby configuring each of the above-mentioned functional blocks in the simulation apparatus 100. The results of calculations by the processor 191 are temporarily stored in the memory 192.
[0115] The communication port 194 communicates with the data collection device 200 and the upper controller 300 via the communication network NW2 in response to a request from the processor 191. The user interface 195 inputs and outputs information to and from the operator in response to a request from the processor 191. For example, the user interface 195 has a display device such as a liquid crystal monitor or an organic EL (Electro-Luminescence) monitor, and an input device such as a keyboard or a mouse. The input device may be integrated with the display device as a touch panel.
[0116] The above hardware configuration is merely an example and can be modified as appropriate. For example, the data collection device 200 may be incorporated into the simulation device 100. Furthermore, the simulation device 100 and the data collection device 200 may be incorporated into the upper controller 300.
[0117] [Control Procedure] As an example of a control method, a control procedure executed by the control system 3 will be illustrated. This control procedure includes simulating, based on a system model, operations to be performed by the multiple machines 5 by the multiple local controllers 400, simulating, based on a local model including a model of the robot 5B and a model of the surrounding environment of the robot 5B, operations to be performed by the local controller 400B, and controlling the robot 5B based on the simulation results of the system model and the simulation results of the local model.
[0118] The control procedures exemplified below may include at least one of a local model generation procedure, a system model correction procedure, a system model generation procedure, a constraint generation procedure, and a task planning procedure, which are executed by the simulation device 100, a task command procedure executed by the upper controller 300, and a local model correction procedure, a control procedure, an operation path generation procedure, and an interference check procedure, which are executed by the local controller 400. Examples of each procedure are given below.
[0119] (Local Model Generation Procedure) As shown in FIG. 7 , the simulation device 100 executes steps S01, S02, and S03. In step S01, the system simulator 114 simulates the movement of the robot 5B based on the system model in response to a request from the range determination unit 121. In step S02, the range determination unit 121 determines a range to be extracted as a local model based on the results of the simulation of the movement of the robot 5B by the system simulator 114. In step S03, the model converter 122 copies (extracts) the range determined by the range determination unit 121 from the system model and performs predetermined data conversion on the copied range to generate a local model. This completes the local model generation procedure. If the range to be extracted can be determined based on the system model without performing a simulation by the system simulator 114, step S01 can be omitted.
[0120] (System Model Correction Procedure) As shown in FIG. 8 , the simulation device 100 executes steps S11, S12, and S13. In step S11, the system model correction unit 131 waits for information regarding the correction content of the local model to be transmitted from the local controller 400B. In step S12, the system model correction unit 131 extracts differences between the corrected local model and the system model. In step S13, the system model correction unit 131 reflects the extracted differences in the system model. This completes the system model correction procedure.
[0121] (System Model Generation Procedure) The system model generation procedure shown in FIG. 9 is executed when multiple local controllers 400 hold information necessary for generating the system model before the system model is generated. For example, the simulation device 100 executes steps S21 and S22. In step S21, the system model generation unit 132 acquires state information of the machine 5 and state information of the surrounding environment of the machine 5 from each of the multiple local controllers 400. If at least one of the local controllers 400B, 400C, and 400D already holds a local model prior to the system model, the system model generation unit 132 may further acquire a local model from at least one of the local controllers 400B, 400C, and 400D. In step S22, the system model generation unit 132 integrates the information acquired from the multiple local controllers 400 into a single coordinate system by coordinate transformation to generate the system model. This completes the system model generation procedure.
[0122] (Constraint Condition Generation Procedure) The constraint condition generation procedure shown in FIG. 10 is executed when requested by an operator via input to the user interface 195. For example, the simulation device 100 executes steps S31, S32, and S33. In step S31, in response to a request from the condition generation unit 117, the system simulator 114 simulates the behavior of the robot 5B based on the system model. In step S32, the condition generation unit 117 evaluates the influence of the behavior of the robot 5B on surrounding objects based on the behavior of the model of the robot 5B in the virtual space. In step S33, the condition generation unit 117 generates constraint conditions for the behavior of the robot 5B based on the evaluation result of the influence on the surrounding objects. This completes the constraint condition generation procedure.
[0123] 11 , the simulation device 100 executes steps S41 and S42. In step S41, the planning unit 118 waits for a production plan to be acquired from an MES or the like. In step S42, the planning unit 118 provisionally generates a task plan corresponding to the production plan. For example, the planning unit 118 extracts a plurality of tasks required to carry out production corresponding to the production plan, and provisionally sets the execution order of the plurality of tasks.
[0124] Next, the simulation device 100 executes step S43. In step S43, the planning unit 118 requests the virtual control system 112 to execute multiple tasks in the virtual space in the provisionally set execution order. The virtual control system 112 executes the program in the program storage unit 111 so as to execute the multiple tasks in the provisionally set execution order. The system simulator 114 operates models of multiple machines 5 in the virtual space based on the execution results of the program by the virtual control system 112, and stores the operation history of the models of the multiple machines 5 in the virtual space in the result storage unit 115.
[0125] Next, the simulation device 100 executes step S44. In step S44, the planning unit 118 checks whether the execution results of the multiple tasks by the multiple machines 5 satisfy the predetermined adoption conditions based on the operation history stored in the result storage unit 115. If it is determined in step S44 that the execution results of the multiple tasks do not satisfy the adoption conditions, the simulation device 100 executes step S45. In step S45, the planning unit 118 corrects the provisionally set execution order. Thereafter, the simulation device 100 returns the process to step S43. Thereafter, the multiple tasks are repeatedly executed in the virtual space by the multiple machines 5 in the corrected execution order until the execution results of the multiple tasks satisfy the adoption conditions.
[0126] If it is determined in step S44 that the execution results of the multiple tasks satisfy the adoption conditions, the simulation device 100 executes step S46. In step S46, the planning unit 118 generates, as a planning result, the time sequence of the multiple tasks for which execution results satisfying the adoption conditions have been obtained. This completes the task planning procedure.
[0127] (Task Command Procedure) As shown in FIG. 12 , the upper controller 300 executes steps S51, S52, S53, and S54. In step S51, the task identification unit 315 waits for the task plan acquisition unit 311 to acquire the planning results from the planning unit 118 and store them in the task plan storage unit 312. In step S52, the task identification unit 315 waits for the next task to be executed by one of the multiple machines 5 based on the environmental information in the environmental information storage unit 314, which is updated by the local information aggregation unit 313 at regular communication intervals, and the planning results stored in the task plan storage unit 312. Hereinafter, a machine 5 that has become able to execute the next task will be referred to as a candidate machine 5. In step S53, the task identification unit 315 identifies the "next task" as the task to be executed next by the candidate machine 5. In step S54, the task identification unit 315 transmits an execution command for the identified task to the local controller 400 of the candidate machine 5.
[0128] Next, the upper controller 300 executes step S55. In step S55, the task identification unit 315 checks whether execution commands for all tasks included in the planning result by the planning unit 118 have been sent. If it is determined in step S55 that there are still tasks for which execution commands have not been sent, the upper controller 300 returns the process to step S52. If it is determined in step S55 that execution commands for all tasks have been sent, the upper controller 300 completes the task instruction procedure.
[0129] 13 , the local controller 400 executes steps S61, S62, and S63. In step S61, the local model correction unit 422 waits for the model acquisition unit 416 to acquire a local model and store it in the local model storage unit 417. In step S62, the local model correction unit 422 causes the surrounding information acquisition unit 421 to acquire state information of the surrounding environment of the robot 5B. In step S63, the local model correction unit 422 checks whether there is a difference between the space represented by the state information of the robot 5B and the state information of the surrounding environment of the robot 5B acquired by the surrounding information acquisition unit 421, and the space represented by the local model.
[0130] If it is determined in step S63 that there is a difference, the local controller 400 executes steps S64 and S65. In step S64, the local model correction unit 422 reflects the difference in the local model stored in the local model storage unit 417. In step S65, the correction notification unit 423 transmits information regarding the correction content of the local model made by the local model correction unit 422 to the system model correction unit 131. This completes the local model correction procedure. If it is determined in step S63 that there is no difference, the local controller 400 completes the local model correction procedure without executing steps S64 and S65.
[0131] (Control Procedure) As shown in FIG. 14 , the local controller 400B executes steps S71, S72, S73, S74, and S75. In step S71, the control unit 415 calculates the cycle target positions based on the motion paths stored in the path storage unit 414. In step S72, the control unit 415 calculates the cycle target angles of the joints 31, 32, 33, 34, 35, and 36. In step S73, the control unit 415 acquires the current angles (angle feedback values) of the joints 31, 32, 33, 34, 35, and 36. In step S74, the control unit 415 supplies drive power to the actuators 41, 42, 43, 44, 45, and 46 so as to reduce the deviation between the cycle target angles and the current angles. In step S75, the control unit 415 waits for the control period to elapse from the start of step S71. Thereafter, the local controller 400B returns the process to step S71. As long as the control of the robot 5B is continued, the local controller 400B repeats the above procedure.
[0132] (Operation Path Generation Procedure) The operation path generation procedure is executed while the control procedure of Fig. 14 is continuing. As shown in Fig. 15, the local controller 400B executes steps S81 and S82. In step S81, the path generation unit 413 reads out the operation command of the task program stored in the program storage unit 411. In step S82, the path generation unit 413 checks whether the operation command is an autopath command.
[0133] If it is determined in step S82 that the movement command is an autopath command, the local controller 400B executes steps S83, S84, and S85. In step S83, the path generation unit 413 provisionally generates a movement path from the movement start position and movement start posture to the target position and target posture. In step S84, the path generation unit 413 requests the local simulator 418 to perform a simulation using the provisionally generated movement path. The local simulator 418 operates the model of the robot 5B in virtual space along the provisionally generated movement path. In step S85, the interference determination unit 432 checks whether the provisionally generated movement path of the robot 5B will interfere with an object surrounding the robot 5B. Furthermore, the interference determination unit 432 checks whether the provisionally generated movement path of the robot 5B satisfies the constraint conditions stored in the condition storage unit 435.
[0134] If it is determined in step S85 that either the movement path of the robot 5B does not interfere with objects in the vicinity of the robot 5B or the movement path of the robot 5B satisfies the constraint conditions is not satisfied, the local controller 400B executes step S86. In step S86, the path generation unit 413 modifies the movement path. For example, the path generation unit 413 modifies the movement path by adding a via point that avoids interference with objects in the vicinity of the robot 5B and satisfies the constraint conditions. The local controller 400B then returns the process to step S84. Thereafter, the path generation unit 413 repeatedly modifies the movement path based on the simulation results by the local simulator 418 until both the movement path of the robot 5B does not interfere with objects in the vicinity of the robot 5B and the movement path of the robot 5B satisfies the constraint conditions are satisfied.
[0135] If it is determined in step S85 that the movement path of the robot 5B does not interfere with objects in the vicinity of the robot 5B and that the movement path of the robot 5B satisfies the constraint conditions, the local controller 400 executes step S87. In step S87, the path generation unit 413 generates the corrected movement path as a movement path corresponding to the autopath, and stores the generated movement path in the path storage unit 414.
[0136] Next, the local controller 400 executes step S88. In step S88, the path generation unit 413 checks whether all operation commands of the task program have been read. If it is determined in step S88 that there are operation commands that have not been read, the local controller 400 returns the process to step S81. If it is determined in step S88 that there are no operation commands that have not been read, the local controller 400 completes the operation path generation procedure.
[0137] (Interference Check Procedure) The interference check procedure is executed while the control procedure of Fig. 14 is continuing. As shown in Fig. 16, the local controller 400 executes steps S91 and S92. In step S91, the local model update unit 431 causes the surrounding information acquisition unit 421 to acquire state information of the surrounding environment of the robot 5B. In step S92, the local model update unit 431 checks whether there is a difference between the space represented by the state information of the robot 5B and the state information of the surrounding environment of the robot 5B acquired by the surrounding information acquisition unit 421, and the space represented by the local model.
[0138] If it is determined in step S92 that there is a difference, the local controller 400 executes steps S93, S94, and S95. In step S93, the local model update unit 431 reflects the difference in the local model. In step S94, in response to a request from the interference determination unit 432, the local simulator 418 operates the model of robot 5B in virtual space along the movement path stored in the path storage unit 414. In step S95, the interference determination unit 432 checks, based on the simulation results by the local simulator 418, whether or not there is interference between the model of robot 5B and models of objects surrounding robot 5B.
[0139] If it is determined in step S95 that the model of the robot 5B and the model of the peripheral object of the robot 5B will interfere with each other, the local controller 400 executes step S96. In step S96, the control unit 415 stops the operation of the robot 5B. Next, the local controller 400 executes step S97. If it is determined in step S95 that the model of the robot 5B and the model of the peripheral object of the robot 5B will not interfere with each other, the local controller 400 executes step S97 without executing step S96. If it is determined in step S92 that there is no difference, the local controller 400 executes step S97 without executing steps S92 to S96. In step S97, the interference determination unit 432 checks whether the operation of the robot 5B has been completed. If it is determined in step S97 that the operation of the robot 5B has not been completed, the local controller 400 returns the process to step S91. If it is determined in step S97 that the operation of the robot 5B has been completed, the local controller 400 completes the interference check procedure.
[0140] Although the embodiments have been described above, the present invention is not necessarily limited to the above-described embodiments, and can be modified within the scope of the gist thereof.
[0141] [Summary] The above-described embodiment includes the following configuration: (1) A control system 3 including: a plurality of local controllers 400 that respectively control a plurality of machines 5, including a robot 5B; a local simulator 418 that simulates the actions that the local controller 400 corresponding to the robot 5B causes the robot 5B to perform based on a local model including a model of the robot 5B and a model of the robot 5B's surrounding environment; and a system simulator 114 that simulates the actions that the local controllers 400 cause the plurality of machines 5 to perform based on a system model including models of the plurality of machines 5 and a model of the surrounding environment of the plurality of machines 5. The system simulator 114 can simulate not only the actions of individual machines 5, but also combinations of actions of multiple machines 5. However, simulating all types of simulations using the system simulator 114 may result in an excessively large computational load. For example, the actions of one robot 5B can be verified by a simulation based on a model of the robot 5B and a model of the robot 5B's surrounding environment. Therefore, by providing both the system simulator 114 and the local simulator 418, it is possible to selectively use the system simulator 114 and the local simulator 418 depending on the purpose, thereby reducing the computational load. Furthermore, the local simulator 418, which can execute a simulation with a smaller computational load than the system simulator 114, allows the simulation to be used in applications requiring faster computation or greater synchronicity. For example, the local simulator 418 can be installed near the local controller 400 (e.g., within the local controller 400), and the results of the simulation by the local simulator 418 can be reflected in real time in the control of the robot 5B by the robot controller 400. This allows for more effective use of the simulation.
[0142] (2) The control system 3 according to (1), further comprising a local model generation unit 120 that generates a local model based on the system model. Since the local model is generated by the system, usability is improved.
[0143] (3) The control system 3 according to (2), wherein the local model generation unit 120 generates a local model by extracting a part of the system model. This reduces the computational load on the local simulator 418, allowing the simulation to be used for applications requiring faster computation.
[0144] (4) The control system 3 according to (3), wherein the local model generation unit 120 includes a range determination unit 121 that determines a range to be extracted as a local model based on a system model, and generates a local model by extracting the range determined by the range determination unit 121. By basing the local model on the system model, it is possible to extract just the range necessary for the local model.
[0145] (5) The control system 3 according to any one of (2) to (4), wherein the local model generation unit 120 generates the local model by performing a predetermined data conversion on the system model. Even if the data formats of the local model and the system model are different, the local model can be easily generated based on the system model.
[0146] (6) The control system 3 according to (2), wherein the local model generation unit 120 includes a range determination unit 121 that determines a range to be extracted as a local model based on the system model, and a model converter 122 that performs predetermined data conversion on the determined range to generate a local model. Even if the local model and the system model differ in both range and data format, the local model can be easily generated based on the system model. Furthermore, because data conversion is performed on the extracted range, the computational load for generating the local model can be reduced compared to performing data conversion on the entire system model.
[0147] (7) The control system 3 according to any one of (1) to (6), further comprising: a local model correction unit 422 that corrects the local model based on state information of the robot 5B and the surrounding environment of the robot 5B; and a system model correction unit 131 that corrects the system model based on the correction of the local model by the local model correction unit 422. Both the local model and the system model can be easily adapted to actual conditions. Therefore, simulation can be more effectively utilized.
[0148] (8) The control system 3 according to any one of (1) to (7), further comprising a system model generation unit 132 that generates a system model based on information acquired from the plurality of local controllers 400. By aggregating information from the plurality of local controllers 400, the system model can be easily generated.
[0149] (9) The control system 3 according to any one of (1) to (8), wherein the local controller 400 includes a path generation unit 413 that generates a motion path of the robot 5B based on a simulation result by the local simulator 418 while the control of the multiple machines 5 by the multiple local controllers 400 continues at least partially, and a control unit 415 that causes the robot 5B to move along the motion path. The local simulator 418 allows the use of simulation during control.
[0150] (10) The control system 3 according to any one of (1) to (9), further comprising a local model update unit 431 that updates the local model based on changes in the surrounding environment of the robot 5B, and the local controller 400 has an interference determination unit 432 that determines whether or not the movement path of the robot 5B interferes with an object surrounding the robot 5B based on a simulation result by the local simulator 418 that is based on the updated local model. This makes it possible to operate the robot 5B while verifying in real time whether or not a predetermined movement path of the robot 5B can adapt to changes in the surrounding environment.
[0151] (11) The control system 3 according to any one of (1) to (10), wherein the local controller 400 controls the robot 5B based on a simulation result by the system simulator 114 and a simulation result by the local simulator 418. By using both the system simulator 114 and the local simulator 418, the autonomy of the robot 5B can be increased and the burden on workers such as system integrators can be reduced.
[0152] (12) The control system 3 according to (11) further includes a task specifying unit 315 that specifies a task to be executed by the robot 5B based on a simulation result by the system simulator 114, and the local controller 400 controls the robot 5B to execute the task based on a simulation result by the local simulator 418. By utilizing simulation for both the task specification and the task execution, the autonomy of the robot 5B can be increased.
[0153] (13) The control system 3 according to (12), wherein the local controller 400 has a path generation unit 413 that generates a movement path of the robot 5B for executing a task based on a simulation result by the local simulator 418, and causes the robot 5B to move along the movement path generated by the path generation unit 413. By utilizing simulation for both identifying the task and generating the movement path for executing the task, the autonomy of the robot 5B can be increased.
[0154] (14) The control system 3 according to (12) or (13), wherein the local controller 400 has an interference determination unit 432 that determines whether a movement path of the robot 5B operating to execute a task will interfere with a peripheral object of the robot 5B based on a simulation result by the local simulator 418, and operates the robot 5B to execute the task when the interference determination unit 432 determines that the movement path will not interfere with a peripheral object. By utilizing simulation for task identification and interference check, it is possible to achieve both autonomy and reliability.
[0155] (15) The control system 3 according to any one of (11) to (14), further comprising a condition generation unit 117 that generates constraint conditions for the operation of the robot 5B based on a simulation result by the system simulator 114, and the local controller 400 controls the robot 5B based on the constraint conditions and the simulation result by the local simulator 418. By utilizing simulation for both generating the constraint conditions and for control based on the constraint conditions, the autonomy of the robot 5B can be increased.
[0156] (16) The control system 3 according to (15), wherein the local controller 400 has a path generation unit 413 that generates a motion path of the robot 5B so as to satisfy constraint conditions based on a simulation result by the local simulator 418, and causes the robot 5B to move along the motion path generated by the path generation unit 413. By utilizing simulation to generate constraint conditions and a motion path that satisfies the constraint conditions, the autonomy of the robot 5B can be increased.
[0157] (17) A control method including: simulating operations to be performed by multiple machines 5 by multiple local controllers 400 based on a system model including models of the multiple machines 5 and a model of the surrounding environment of the multiple machines 5; simulating operations to be performed by the robot 5B by the local controller 400 corresponding to the robot 5B based on a local model including a model of the robot 5B included in the multiple machines 5 and a model of the surrounding environment of the robot 5B; and controlling the robot 5B based on the simulation results based on the system model and the simulation results based on the local model.
[0158] 5...machine, 5B...robot, 3...control system, 400...local controller, 114...system simulator, 117...condition generation unit, 118...planning unit, 120...local model generation unit, 121...range determination unit, 122...model converter, 131...system model correction unit, 132...system model generation unit, 315...task identification unit, 413...path generation unit, 415...control unit, 418...local simulator, 422...local model correction unit, 431...local model update unit, 432...interference detection unit.
Claims
1. A control system comprising: a plurality of local controllers each controlling a plurality of machines including a robot; a local simulator that simulates operations that the local controller corresponding to the robot has the robot perform, based on a local model including a model of the robot and a model of the robot's surrounding environment; and a system simulator that simulates operations that the local controllers have the machines perform, based on a system model including models of the machines and a model of the surrounding environment of the machines.
2. The control system according to claim 1, further comprising a local model generation unit that generates the local model based on the system model.
3. The control system according to claim 2, wherein the local model generation unit generates the local model by extracting a portion of the system model.
4. The control system according to claim 3, wherein the local model generation unit has a range determination unit that determines a range to be extracted as the local model based on the system model, and generates the local model by extracting the range determined by the range determination unit.
5. The control system according to claim 2, wherein the local model generation unit generates the local model by performing a predetermined data conversion on the system model.
6. The control system according to claim 2, wherein the local model generation unit comprises: a range determination unit that determines a range to be extracted as the local model based on the system model; and a model converter that performs predetermined data conversion on the determined range to generate the local model.
7. A control system according to any one of claims 1 to 6, further comprising: a local model correction unit that corrects the local model based on state information of the robot and the robot's surrounding environment; and a system model correction unit that corrects the system model based on the correction content of the local model by the local model correction unit.
8. The control system according to any one of claims 1 to 6, further comprising a system model generation unit that generates the system model based on information acquired from the plurality of local controllers.
9. A control system according to any one of claims 1 to 6, wherein the local controller comprises: a path generating unit that generates a motion path of the robot based on a simulation result by the local simulator while control of the multiple machines by the multiple local controllers continues at least partially; and a control unit that operates the robot along the motion path.
10. A control system as claimed in any one of claims 1 to 6, further comprising a local model update unit that updates the local model based on changes in the surrounding environment of the robot, wherein the local controller has an interference determination unit that determines whether or not the motion path of the robot will interfere with objects in the vicinity of the robot based on a simulation result by the local simulator based on the updated local model.
11. A control system according to any one of claims 1 to 6, wherein the local controller controls the robot based on a simulation result by the system simulator and a simulation result by the local simulator.
12. The control system according to claim 11, further comprising a task identification unit that identifies a task to be executed by the robot based on a simulation result by the system simulator, and the local controller controls the robot to execute the task based on the simulation result by the local simulator.
13. A control system as described in claim 12, wherein the local controller has a path generation unit that generates a motion path of the robot for executing the task based on a simulation result by the local simulator, and causes the robot to operate along the motion path generated by the path generation unit.
14. A control system as described in claim 12, wherein the local controller has an interference judgment unit that judges whether or not a motion path of the robot operating to execute the task will interfere with a peripheral object of the robot based on a simulation result by the local simulator, and operates the robot to execute the task when the interference judgment unit judges that the motion path will not interfere with the peripheral object.
15. The control system according to claim 11, further comprising a condition generating unit that generates constraint conditions for the operation of the robot based on the simulation results by the system simulator, and the local controller controls the robot based on the constraint conditions and the simulation results by the local simulator.
16. A control system as described in claim 15, wherein the local controller has a path generation unit which generates a motion path of the robot so as to satisfy the constraint conditions based on the simulation results by the local simulator, and operates the robot along the motion path generated by the path generation unit.
17. A control method comprising: simulating operations to be performed by a plurality of machines by a plurality of local controllers based on a system model including models of the plurality of machines and a model of the surrounding environment of the plurality of machines; simulating operations to be performed by the robot by a local controller corresponding to the robot based on a local model including a model of a robot included in the plurality of machines and a model of the surrounding environment of the robot; and controlling the robot based on a simulation result using the system model and a simulation result using the local model.
Citation Information
Patent Citations
Device for robot simulation, program, storage medium, and method
JP2007241857A
Synchronization control device, synchronization control system, synchronization control method, and simulation device
JP2020107127A
Control system, local controller and control method
JP6754883B1
