The present application claims priority from Japanese Patent Application No. 2005-282295, filed on Sep. 28, 2005, the entire content of which is fully incorporated herein by reference.
1. Field of the Invention
The present invention relates to a simulation device, for simulating a robot program including a detecting operation, using a vision sensor mounted to a robot.
2. Description of the Related Art
When a robot program is simulated, in addition to the simulation of the motion of a robot, the simulation of a detecting operation by means of a vision sensor may be also performed. For example, Japanese Unexamined Patent Publication No. 2005-135278 discloses a simulation device for simulating the motion of a robot, in which three-dimensional models of the robot, a workpiece and a vision sensor are indicated on a display. This simulation device is capable of indicating a three-dimensional model of the scope of the vision sensor so as to facilitate the determination of a reference point on an object to be measured and the position and the orientation of the robot for detecting the reference point.
In the above simulation device, however, it is not checked whether an obstacle exists within the scope of the vision sensor when the detection by the sensor is performed. Therefore, the existence of an obstacle may be found only after a camera or the like is used for imaging the object in the field. In this case, it is necessary to correct teaching points in the robot program to avoid interference between the robot and the obstacle. The work for correcting the teaching points takes a long time, as the work is generally carried out in the field by trial and error.
Accordingly, it is an object of the present invention to provide a simulation device for a robot in which the existence of an obstacle, which may interfere with the scope of a vision sensor when the vision sensor is used for the measurement, is judged off-line so as to reduce the workload of an operator in the field.
To this end, according to the present invention, there is provided a simulation device, for a robot, for simulating the motion of the robot off-line and the detection of an object by means of a vision sensor, the simulation device comprising: a display means for indicating images of the object, the vision sensor and an article around the object, and an image of a modeled scope of the vision sensor; and a judging means for judging whether the article around the object interferes with the modeled scope of the vision sensor, based on the images indicated on the display means.
The simulation device may further comprise a correcting means for correcting the position of the image of the vision sensor on the display means so as to avoid interference between the article around the object and the modeled scope of the vision sensor, when the judging means judges that the article around the object interferes with the modeled scope of the vision sensor.
The above and other objects, features and advantages of the present invention will be made more apparent by the following description, of preferred embodiments thereof, with reference to the accompanying drawings, wherein:
The present invention will be described below with reference to the drawings.
Next, as shown in
When the judgment result of step S3 is “Interference”, the position of the teaching point P1 or the position of the camera 22 is changed so as to avoid interference (step S4). Concretely, as shown in
When the judgment in step S3 is “Interference”, the teaching point may be consistently changed. However, as shown in
After the correction of the teaching point, another window 32 as shown in
When step S4 is completed, the procedure progresses to step S5. On the other hand, if the judgment in step S3 is “No interference”, the procedure progresses to step S5 without performing step S4. In step S5, it is judged whether all statements in the robot program have been executed (i.e., the simulation is completed). If yes, the procedure is terminated. Otherwise, the procedure is repeated from step S1.
According to the simulation device for the robot of the present invention, interference of an article with the scope of the vision sensor may be previously checked by off-line simulation. Further, when the interference occurs, the teaching operation may be carried out to avoid interference during the off-line simulation. Therefore, an operation for correcting the robot program in the field is unnecessary and the number of man-hours and the workload on the operator in the field may be greatly reduced.
While the invention has been described with reference to specific embodiments chosen for the purpose of illustration, it should be apparent that numerous modifications could be made thereto, by one skilled in the art, without departing from the basic concept and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-282295 (PAT. | Sep 2005 | JP | national |