The present specification discloses a simulation method and a simulation system.
In the related art, a simulation method for simulating an operation of a robot or the like having a robot hand for gripping a workpiece has been disclosed (see, for example, Patent Literature 1). In Patent Literature 1, a shape model that models shapes of the workpiece, the robot hand, the robot, the surrounding environment, and the like, positional information indicating their positional relationship, an operation model of the robot, and the like are incorporated, and the gripping possibility for each shape of the robot hand is calculated. Then, control parameters of the robot hand in gripping the workpiece, such as an operation speed and a stop time of the robot hand, are changed based on the calculated gripping possibility.
In the simulation method as described above, it may be necessary to perform processing for setting the shape model, the operation model, and the like in association with each other each time a simulation is executed. In that case, a long time of preparation work is required to execute the simulation, which makes the preparation work cumbersome.
The present disclosure is primarily intended to simplify a preparation work for a simulation and to execute the simulation efficiently.
The present disclosure has taken the following means to achieve the main object described above.
A simulation method of the present disclosure is a simulation method for executing a simulation of a work system composed of multiple modules using a computer, the simulation method including: an acquisition step of acquiring module data in which various data including data relating to shapes of the multiple modules are grouped for each module; a structuring step of structuring a model of the work system in a virtual space by integrating the module data acquired in the acquisition step; and an execution step of executing the simulation using the model structured in the structuring step.
The simulation method of the present disclosure acquires module data in which various data including data relating to shapes of multiple modules are grouped for each module, integrates the acquired module data to structure a model of a work system in a virtual space, and executes a simulation using the structured model. Thus, it possible to quickly start a simulation by acquiring module data and structuring a model, even without performing the work of collecting or grouping the data of each module each time the simulation is executed. Therefore, the preparation work for the simulation can be simplified and the simulation can be executed efficiently.
Next, an embodiment of the present disclosure will be described with reference to the drawings.
Simulation system 10 includes cloud server 11 in which various data necessary for executing a simulation are registered, and multiple computers 41, 41B, . . . connected to cloud server 11 via network 19 to execute various processing, such as a simulation of work system 50.
Here, work system 50 will be described. Work system 50 is configured as a system for performing a predetermined work by picking up a workpiece by the operation of robot 60 fixed to work table 51. Examples of the workpiece include various components such as mechanical components and electronic components. An example of the predetermined work includes a mounting work in which robot 60 places a workpiece on board S and mounts the workpiece.
Board conveyance device 52 for conveying board S, and feeder 54 for supplying components as a workpiece are disposed on work table 51. Board conveyance device 52 has a pair of belt conveyors which are bridged in the lateral direction (X-axis direction) at intervals in the longitudinal direction (Y-axis direction), and conveys board S from left to right by the belt conveyor. Feeder 54 is configured as a tape feeder for feeding a tape in which multiple workpieces are accommodated at predetermined intervals to the rear (Y-axis direction). Feeder 54 is not limited to a tape feeder, and may be a tray feeder or the like for supplying a tray on which multiple workpieces are arranged.
Robot 60 includes vertically articulated robot arm 62 in which multiple links are rotatably coupled via joints, and control device 68 for controlling the entire system including robot 60. Robot arm 62 is provided with a servo motor, an encoder for detecting a rotation angle, and the like, which are not shown, at each joint. An end effector as a work tool is detachably attached to the tip link of robot arm 62. Examples of the end effector can include an electromagnetic chuck, a mechanical chuck, and a suction nozzle, and those selected according to the shape and material of the workpiece are attached thereto. In the present embodiment, mechanical chuck having a pair of chuck claws 64a which can be opened and closed (hereinafter referred to as chuck) 64 is attached thereto. A pressure from a pressure supply source (not shown) is supplied to chuck 64 via a pipe (not shown) disposed along each link or pipe 65 shown in
Further, camera 66 and light 67 are attached to the tip link of robot arm 62. Camera 66 includes an imaging element or the like for generating charges by lens and light receiving, and generates image data based on the charge of the image pickup device and output the image data to control device 68. Camera 66 captures an image for recognizing the position and the posture of the workpiece supplied by feeder 54, for example. Light 67 is a ring light in which light emission sources such as an LED are arranged in a ring shape, and is disposed coaxially with the lens of camera 66.
Control device 68 is composed of CPU, ROM, HDD, RAM, and the like, and stores a system program for managing the entire work system 50 and the like in addition to an operation program of robot 60. Further, although not shown, the operation program of board conveyance device 52 is stored in a programmable logic controller (PLC) of board conveyance device 52, and the operation program of feeder 54 is stored in a PLC of feeder 54. Detection signals from the encoder and the like of robot 60, image data from camera 66, operation signals from board conveyance device 52 and feeder 54, and the like are input to control device 68. Control device 68 outputs a control signal to chuck 64 as a servo motor or an end effector of robot 60, a control signal to camera 66 and light 67, a control signal to board conveyance device 52 and feeder 54, and the like. In the following description, board conveyance device 52 and feeder 54 constituting work system 50, robot 60 (robot arm 62), the end effector (chuck 64), camera 66, light 67, and the like each may be referred to as a module.
Simulation system 10 can execute a simulation for operating various work systems including work system 50 configured in this way in a virtual space. Cloud server 11 includes control section 12 having CPU, ROM, RAM, and the like, storage section 15 such as HDD that stores various application programs, various data, and the like, and communication section 16 that is connected to network 19 or the like and communicates with an external device such as computer 41. Control section 12 has module editor 13 and the like for generating module data 21 in which various data required for the simulation are grouped for each module. Storage section 15 has module database (module DB) 20 and the like in which multiple module data 21 are stored. Module data 21 includes not only the data of each module constituting the work system but also data of a workpiece which is a work target in the work system.
Here, module data 21 of cloud server 11 will be described.
Module data 21A in which the data of robot arm 62 (also referred to as robot A) of work system 50 is grouped, module data 21B to 21D in which the data of various other robots (robots B to D, etc.) are grouped, and the like are registered in robot data 20A. The various robots may be of a horizontal articulated type, a parallel link type, or the like in addition to the vertical articulated type. Module data 21A includes three-dimensional CAD data (hereinafter referred to as “3D CAD data”) relating to the shape of robot A, program data relating to an operation program for causing robot A to perform a predetermined work, and the like, and each data is referred to as configuration data. Similarly, module data 21B to 21D also include 3D CAD data of robots B to D and program data of robots B to D, respectively.
In addition, in end effector data 20B, module data 21E in which data of an end effector (chuck 64) detachably attached to robot A is grouped, module data 21F to 21H in which data of other types of end effectors detachably attached to robot A and respective types of end effectors detachably attached to robots B to D are grouped, and the like are registered. Further, in peripheral device data 20C, module data 211 in which data of feeder 54 (peripheral device A) is grouped, module data 21J in which data of camera 66 (peripheral device B) is grouped, module data 21K in which data of light 67 (peripheral device C) is grouped, module data 21L in which data of the conveyor (peripheral device D) as board conveyance device 53 is grouped, and the like are registered. Although not shown, in peripheral device data 20C, module data in which data of peripheral devices in a work system other than work system 50 are grouped is also registered. Further, in workpiece data 20D, module data 21M to 21P in which data of various workpieces A to D which are work targets are grouped, respectively, and the like are registered.
Here,
Further, as shown in
Further, configuration data 30 in module data 21 is also provided with interface (I/F) 32. That is, each configuration data 30 is provided with input/output I/F (I/O_I/F) 32a, soft I/F 32b, mechanical I/F 32c, wiring pipe I/F 32d, and physical calculation I/F 32e. These I/Fs 32a to 32e have the same function as I/Fs 22a to 22e and are shown in the same figure. Further, as shown in the figure, the corresponding I/Fs of I/Fs 22a to 22e and I/Fs 32a to 32e are connected to each other. For example, in
Computer 41 includes control section 42 having CPU, ROM, RAM, and the like, storage section 45 such as HDD that stores various application programs, various data, and the like, and communication section 46 that is connected to network 19 or the like and communicates with cloud server 11 and the like. Communication section 46 may communicate with control device 68 of work system 50 via network 19 or the like. Various instructions by an operator are input to computer 41 from input section 47 such as a keyboard or a mouse. In addition, computer 41 displays various information such as model M for a simulation, setting information, and an execution result on display section 48 such as a display. Other computers, such as computer 41B, are configured in the same manner as computer 41 and are communicably connected to cloud server 11 via network 19. Further, other computers, such as computer 41B, can also structure model M for a simulation using module data 21 to execute the simulation while receiving an input from input section 47B or displaying various information on display section 48B.
The operation of simulation system 10 thus configured will be described. First, processing when module data 21 described above is registered in cloud server 11 will be described.
Next, processing performed when computer 41 executes the simulation will be described.
Subsequently, control section 42 determines whether there is module data 21 including the machinery setting data and not including the program data in acquired module data 21 (S210). When it is determined that there is such module data 21, control section 42 determines whether there is a need for operation setting (S220), and when it is determined that there is a need, control section 42 receives and sets the operation content required for module data 21 from the operator (S230). Control section 42 makes an affirmative determination in S210 if there is module data including 3D CAD data 30D and machinery setting data 30E but not including the program data, as in the case of module data 21L of the conveyor illustrated in
Next, control section 42 structures model M in a virtual space in which each module data 21 is integrated by connecting I/F 22 of each selected module data 21 to each other (S240), and ends the model structuring processing. In S240, control section 42 receives a selection of I/F 22, which is a connection target, by an operator using input section 47, and connects I/F 22 that has received the selection to each other to integrate module data 21. It is assumed that the structured model M is displayed on display section 48.
When model M is structured in this way and the execution of the simulation is instructed from the operator, control section 42 executes the simulation.
Further, when it is determined in S320 that a correction is not necessary for the present simulation result, or it is determined in S340 that the simulation is not to be re-executed, control section 42 determines whether to update and register module data 21 in storage section 45 based on the instruction from the operator (S350). When it is determined that the update and registration are not to be performed, control section 42 ends the simulation execution processing. Further, when it is determined that the update and registration are to be performed, control section 42 updates and registers module data 21 including configuration data 30 that reflects the correction result of S330 (S360), and ends the simulation execution processing. Control section 42 is not limited to updating and registering module data 21 in storage section 45, and may register new module data 21 with which the correction history is associated in storage section 45. Further, control section 42 may register module data 21 associated with the correction history in module DB 20 of cloud server 11. In this way, the corrected module data 21 can be used by a third party on another computer to execute the simulation.
Here, the correspondence between the components of the present embodiment and the components of the present disclosure will be clarified. Robot 60 of the present embodiment corresponds to a robot, work system 50 corresponds to a work system, computer 41 (41B) corresponds to a computer, S200 of the model structuring processing of
Simulation system 10 described above acquires module data 21 in which various data including 3D CAD data are grouped for each module, integrates acquired module data 21 to structure model M in a virtual space, and executes a simulation. Therefore, the preparation work can be simplified and the simulation can be executed efficiently.
Further, since configuration data 30 relating to the operation program of the module and configuration data 30 relating to the machinery setting are included in module data 21, it is not necessary to set the operation program and the machinery setting each time the simulation is executed, and the preparation work can be further simplified.
Further, since module data 21 can be easily integrated by connecting module data 21 via I/F 22, the preparation work can be further simplified.
Further, since configuration data 30 is corrected and module data 21 is updated based on the correction according to the simulation result, the simulation result can be appropriately reflected in the next and subsequent simulations, and the preparation work can be further simplified without the need to correct configuration data 30 in the preparation work for the simulation.
It is needless to say that the present invention is not limited to the above-described embodiments, and can be implemented in various aspects as long as it belongs to the technical scope of the present invention.
For example, in the above-described embodiment, module data 21 includes program data 30B, characteristic data 30C, and the like; however, the configuration is not limited to this, and any data may be used as long as shape data such as at least 3D CAD data 30A is included.
In the above-described embodiment, module data 21 are connected to each other via I/F 22; however, the configuration is not limited to this, and each module data 21 may be connected by setting whether module data 21 are connected to each other.
In the embodiment described above, configuration data 30 is corrected and module data 21 is updated and registered; however, the configuration is not limited to this, and the update and registration of module data 21 need not be performed. However, it is preferable to update module data 21 in order to appropriately reflect the correction and to save labor for the next correction.
In the embodiment described above, computer 41 stores acquired module data 21 in storage section 45; however, the configuration is not limited to this. For example, cloud server 11 may be provided with an individual work area usable by each computer 41, and each computer 41 may store acquired module data 21 in the work area to perform simulation. Further, the module data is stored in cloud server 11 and computer 41 is operated as a simulator; however, the configuration is not limited to this. For example, the application itself of the simulator may exist on cloud server 11, the simulator may be operated on cloud server 11, and computer 41 may access cloud server 11 using communication section 46 and input section 47 to use the result of the simulation.
In the embodiment described above, work system 50 composed of multiple modules including robot 60 is exemplified; however, the configuration is not limited to this, and the work system only needs to be a system composed of multiple modules and may not include robot 60.
Here, the simulation system of the present disclosure may be configured as follows. For example, in the simulation method of the present disclosure, the module data may include at least one of data relating to an operation program of the module and data relating to a machinery setting of the module, as the various data. Thus, since it is not necessary to set and register the operation program and the machinery setting each time the simulation is executed, the preparation work can be further simplified. Note that, the operation program includes a ladder program, a cycle diagram, and the like.
In the simulation method of the present disclosure, in the structuring step, in the structuring step, when the module data including the data relating to the machinery setting and not including the data relating to the operation program is acquired, a setting relating to an operation of the module may be performed as necessary. In this way, even if the module data does not include the data relating to the operation program, the simulation can be executed by performing the setting relating to the operation in addition to the data relating to the machinery setting. As the setting relating to the operation, for example, in the case of a module such as a conveyor having a pattern of multiple operation speeds, its operation speed can be set, or in the case of a module such as a robot in which the machinery setting is set, its operation trajectory can be set.
In the simulation method of the present disclosure, an interface corresponding to a function of each module may be provided in the module data, and in the structuring step, the module data may be integrated by connecting the module data to each other via the interface. In this way, since the module data can be easily integrated, the preparation work can be further simplified.
The simulation method of the present disclosure may further include an update step of updating the module data by correcting the various data included in the module data based on a correction performed on the simulation executed in the execution step. In this way, since it is possible to appropriately reflect the simulation result in the next and subsequent simulations, it is possible to further simplify the preparation work without the need to correct the data in the preparation work.
The simulation system of the present disclosure is a simulation system for executing a simulation of a work system composed of multiple modules, the simulation system including: an acquisition section configured to acquire module data in which various data including data relating to shapes of the multiple modules are grouped for each module; a structuring section configured to structure a model of the work system in a virtual space by integrating the module data acquired in the acquisition section; and an execution section configured to execute the simulation using the model structured in the structuring section.
Similar to the simulation method described above, in the simulation system of the present disclosure, it possible to quickly start a simulation by acquiring module data and structuring a model, even without performing the work of collecting or grouping the data of each module each time a simulation is executed. Therefore, the preparation work for the simulation can be simplified and the simulation can be executed efficiently. Note that, in this simulation system, a function for realizing each step of the simulation method described above may be added.
The present invention can be applied to a manufacturing industry of a simulation system or the like.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2018/029942 | 8/9/2018 | WO | 00 |