ROBOT SYSTEM AND ROBOT CONTROL APPARATUS
20170248936 · 2017-08-31
Inventors
Cpc classification
B25J9/1676
PERFORMING OPERATIONS; TRANSPORTING
G05B2219/40196
PHYSICS
International classification
Abstract
A robot system includes: a robot; an illumination apparatus disposed in or around the robot; and a control apparatus that controls the robot and the illumination apparatus, wherein the control apparatus includes a robot control unit that operates the robot on the basis of a program, an operation area prediction unit that predicts an operation area of the robot on the basis of the program, and an illumination control unit that turns on or off the illumination apparatus on the basis of the operation area predicted by the operation area prediction unit to display the operation area.
Claims
1. A robot system: comprising: a robot; an illumination apparatus provided at least one of in the robot and disposed around the robot; and a control apparatus that controls the robot and the illumination apparatus, wherein the control apparatus includes a robot control unit that operates the robot on the basis of a program, an operation area prediction unit that predicts an operation area of the robot on the basis of the program, and an illumination control unit that turns on or off the illumination apparatus on the basis of the operation area predicted by the operation area prediction unit to display the operation area.
2. The robot system according to claim 1, wherein the illumination apparatus is disposed so that the illumination apparatus can illuminate a floor over an illumination area including a projection area where all operations of the robot are projected onto the floor, and the illumination control unit controls the illumination apparatus to illuminate an area corresponding to an area where the operation area where the robot is predicted to be disposed is projected onto the floor, on the basis of the predicted operation area.
3. The robot system according to claim 1, wherein the operation area prediction unit divides the program into a plurality of program parts, and predicts the operation area for each of the program parts, and the illumination control unit turns on or off the illumination apparatus so as to display the operation area predicted for each of the program parts.
4. The robot system according to claim 1, wherein the operation area prediction unit predicts the operation area of the robot by the program from present time to predetermined time.
5. A robot control apparatus comprising: an operation area prediction unit that predicts an operation area of a robot on the basis of a program for operating the robot; and an illumination control unit that turns on or off an illumination apparatus provided at least one of in the robot and disposed around the robot, on the basis of the operation area predicted by the operation area prediction unit, to display the operation area.
6. The robot control apparatus according to claim 5, wherein the operation area prediction unit divides the program into a plurality of program parts, and predicts the operation area for each of the program parts, and the illumination control unit turns on or off the illumination apparatus so as to display the operation area predicted for each of the program parts.
7. The robot control apparatus according to claim 5, wherein the operation area prediction unit predicts the operation area of the robot by the program from present time to predetermined time.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DESCRIPTION OF EMBODIMENTS
[0034] A robot system 1 according to an embodiment of the present invention will be described below with reference to the drawings.
[0035] As illustrated in
[0036] In the example illustrated in
[0037] In the example of
[0038] As illustrated in
[0039] That is, as illustrated in
[0040] A method for rewriting the program before operation of the robot 2, as control of the illumination apparatus 4 by the control apparatus 3, will be described below with reference to the flowchart of
[0041] The control apparatus 3 first causes the reading unit 11 to read out the data of the position of each light emitting portion 8 stored in the storage unit 9 and the program for operating the robot 2 from the storage unit 9, before the robot 2 is operated by the robot control unit 10 (Step S1).
[0042] The operation area prediction unit 12 installs breakpoints in the read program to divide the read program into a plurality of program parts, and predicts the operation area S from an operation locus of the robot 2, which can be taken, regarding each divided program part.
[0043] More specifically, the operation area prediction unit 12 sets, for example, breakpoints t1, t2, . . . tj at equal intervals of lines in the read program (Step S2).
[0044] Next, respective previous breakpoints of the breakpoints t1, t2, . . . tj in chronological order at the time of operation of the program are selected from t1, t2, . . . tj to be set to breakpoints t1-, t2-, . . . tj-. In a case where previous breakpoints do not exist, the beginning of the program is set to be the breakpoints (Step S3). Then, a constant i is initialized to 1 (Step S4).
[0045] The operation area prediction unit 12 obtains the operation area S through which the robot 2 passes, using the program from the breakpoint ti- to the breakpoint ti, by computing (Step S5).
[0046] The calculated operation area S is compared with the respective positions of the light emitting portions 8, and the light emitting portions 8 whose distances to the operation area S are smaller than a threshold value d are identified (Step S6). Herein, in a case where the light emitting portions 8 are disposed in the operation area S, the distance to the operation area S is zero, and is smaller than the threshold value d, and therefore the light emitting portions 8 are inevitably identified as the light emitting portions 8 whose distances are smaller than the threshold value d. On the other hand, in a case where the light emitting portions 8 are disposed outside the operation area S, the light emitting portions 8 are identified as a case where the (shortest) distance from the operation area S is smaller than the threshold value d.
[0047] In a time period from the breakpoint ti- to the breakpoint ti, the light emitting portions 8 identified in Step S6 are turned on, and an instruction for turning off other light emitting portions 8 are added to the program (Step S7). Then, the constant i is incremented by 1 (Step S8).
[0048] Thereafter, it is determined whether or not all the breakpoints are processed (i>j or not) (Step S9). In a case where all the breakpoints are not processed (i≦j), the processes from Step S5 are repeated.
[0049] In a case where all the breakpoints are processed, the program rewritten in Step S7 is stored (Step S10).
[0050] The control apparatus 3 controls the robot 2 and the illumination apparatus 4 in accordance with the stored program.
[0051] Consequently, the operation area S of the robot 2 is predicted for each of the program parts divided by the breakpoints. Additionally, an instruction for turning on the light emitting portions 8 near the predicted operation area S is added to the program, and this program is stored. Accordingly, when the robot 2 is operated in accordance with the stored program, the light emitting portions 8 in the vicinity of the operation area S where robot 2 will operate is turned on for each of the program parts divided by the breakpoints, and other light emitting portions 8 are turned off. In
[0052] That is, an operator who exists in the vicinity of the operation area S can recognize whether or not he/she is in the vicinity of the operation area S, since the operation area S of the robot 2 right after operation is displayed by turning on the light emitting portions 8.
[0053] Conventionally, in a case where a sensor detects that an operator enters the operation area S, the operator himself/herself does not notice that he/she enters the operation area S. According to this embodiment, the operation area S of the robot 2 can be previously displayed to the operator. Therefore, there is an advantage of avoiding contact between the robot 2 and the operator without stop or reduction in speed of the robot 2.
[0054] In this embodiment, the breakpoints are set so as to equally divide the number of lines of the program. Alternatively, the breakpoints may be set such that actual operation of the robot 2 is predicted and substantially equal time intervals are attained.
[0055] Conditional branch sometimes exists in the program of the robot 2. Therefore, in such a case, it is difficult to predict the operation area S by simply reading the program.
[0056] In a case where the conditional branch exists in the program, the breakpoint may be set right after the conditional branch. Additionally, in the program part including the conditional branch, all the light emitting portions 8 which are probable to be turned on after the conditional branch may be turned on.
[0057] In this embodiment, the light emitting portions 8 are arranged in a matrix manner on the floor. However, the present invention is not limited to this configuration. That is, as an example different from placing them on the floor, the light emitting portions may be disposed on a part of the robot 2, as illustrated in
[0058] As an example different from placing a large number of the light emitting portions 8, such as LED light sources, at the points on the floor, light emitting portions 8 disposed above the robot 2, for example, on a ceiling may illuminate the floor with the predetermined wide illumination areas. In the example of
[0059] In this case, as illustrated in the flowchart of
[0060] As illustrated in
[0061] Each light emitting portion 8 illuminates the floor in the illumination area with the radius r. However, in place of the above, according to the size of the predicted operation area S of the robot 2, the light emitting portions 8 may be turned on so as to change the radii of circles representing the illumination areas. Additionally, in place of representation of the operation area S by turning on or off of the light emitting portions 8, the illumination direction of each light emitting portion 8 may be moved in accordance with the operation area S of the robot 2.
[0062] As illustrated in
[0063] As illustrated in
[0064] That is, as illustrated in
[0065] In Step S6B, the light emitting portions 8 which can illuminate in the illumination direction θ in which the operation area S exists are identified.
[0066] In Step S7A, a distance d from the robot 2 to the farthest outline of the operation area S is calculated, and the depression angle α for the illumination area of each light emitting portion 8 is calculated such that the illumination area of the floor by each of the identified light emitting portions 8 is substantially equal to the distance d from the robot 2.
[0067] Thereafter, in Step S7B, in a time period from a breakpoint ti- to a breakpoint ti, each of the light emitting portions 8 identified in Step S6B is turned on at the depression angle calculated in Step S7A, and an instruction for turning off other light emitting portions 8 are added to the program. Processes other than the above are the same as the processes in
[0068] In each of the above embodiments, the instruction for turning on and off the identified light emitting portions 8 is added to all the program parts divided by the breakpoints in the program prior to the operation of the robot 2. In place of the above, before execution of the respective program parts, the operation locus of the robot 2 may be calculated, the light emitting portions 8 to be turned on may be successively identified, and the identified light emitting portions 8 may be turned on at the time of execution of the program parts.
[0069] That is, as illustrated in
[0070] Next, all the light emitting portions 8 each disposed at a position where the distance to the calculated operation area S is smaller than d are identified (Step S23).
[0071] Then, all the identified light emitting portions 8 are turned on, and other light emitting portions 8 are turned off (Step S24).
[0072] It is determined whether or not the robot 2 is in operation (Step S25). In a case where the robot 2 is in operation, the processes from Step S21 are repeated. In a case where the operation of the robot 2 is stopped, the operation is suspended until the operation is started (Step S26). In a case where the operation of the robot 2 is started, the processes from Step S21 are repeated.
[0073] Thus, turning on or off of the light emitting portions 8 is controlled while the operation area S of the robot 2 is predicted in real time without adding the instruction for turning on the light emitting portions 8 to the whole program. Therefore, there is an advantage that standby time before start of the operation of the robot 2 can be shortened even in a case where the program is long.
[0074] In this case, since the calculation of the operation area S is continued during the operation of the robot 2, the number of calculations may be reduced by periodic calculation. Additionally, in a case where a conditional branch exists in the program, all probable light emitting portions 8 which are probable to be turned on by the conditional branch during a time period Δt may be turned on.