ROBOT SYSTEM AND METHOD FOR CONTROLLING THE ROBOT SYSTEM
A robot system includes a robot, a controller, and a laser emitter which is configured to emit a laser beam to a target workpiece and which is configured to be moved by the robot. The controller is configured to control the laser emitter to emit the laser beam based on information regarding an arbitrarily-shaped work path and movement information of the laser emitter. The controller is configured to determine whether or not a reference position of the arbitrarily-shaped work path on the target workpiece is located in a predetermined range of the laser emitter while the laser emitter is moving. The controller is further configured to control the laser emitter to emit the laser beam to the arbitrarily-shaped work path if the reference position is located in the predetermined range.
Latest KABUSHIKI KAISHA YASKAWA DENKI Patents:
- ROBOT CONTROL SYSTEM, ROBOT CONTROLLER, AND ROBOT CONTROL METHOD
- Program creation device, program creation method, and program
- Processed product production apparatus, processed product production method, computer-readable storage medium, and processed product production system
- Rotary electric machine
- Robot system
The present application is a continuation application of the U.S. patent application Ser. No. 13/369,301 filed Feb. 9, 2012, which claims priority to Japanese Patent Application No. 2011-086135 filed Apr. 8, 2011. The contents of these applications are incorporated herein by reference in their entirety.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a robot system and method for controlling the robot system.
2. Description of the Background Art
A robot system including a laser emitting portion capable of emitting a laser beam is known in general. Japanese Patent Laying-Open No. 2008-43971 discloses a robot system including a laser emitting apparatus (laser emitting portion) capable of emitting a laser beam to a target workpiece. This robot system is formed to emit a laser beam to an arbitrarily-shaped work locus in a state where the laser emitting apparatus is positioned (stopped) at a prescribed position.
SUMMARY OF THE INVENTIONAccording to one aspect of the present invention, a robot system includes a robot, a controller, and a laser emitter which is configured to emit a laser beam to a target workpiece and which is configured to be moved by the robot. The controller is configured to control the laser emitter to emit the laser beam based on information regarding an arbitrarily-shaped work path and movement information of the laser emitter. The controller is configured to determine whether or not a reference position of the arbitrarily-shaped work path on the target workpiece is located in a predetermined range of the laser emitter while the laser emitter is moving. The controller is further configured to control the laser emitter to emit the laser beam to the arbitrarily-shaped work path if the reference position is located in the predetermined range.
According to another aspect of the present invention, a method for controlling a robot system includes determining whether or not a reference position of an arbitrarily-shaped work path on a target workpiece is located in a predetermined range of a laser emitter of the robot system while the laser emitter is moving. The laser emitter is controlled to emit a laser beam to the target workpiece based on information regarding the arbitrarily-shaped work path and movement information of the laser emitter if the reference position is located in the predetermined range.
The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
An embodiment of the present invention is now described with reference to the drawings.
First, the structure of a robot system 100 according to the embodiment of the present invention is described with reference to
The robot system 100 according to the embodiment of the present invention is a robot system for remote laser welding emitting a laser beam from a position spaced (position spaced about 500 mm, for example) from a target workpiece to perform laser welding. The robot system 100 includes a robot 1, a robot control apparatus 2 controlling the robot 1, and a pendant (programming pendant) 3 to teach operations of the robot 1, as shown in
The robot 1 is a multi-joint type robot having a plurality of joints. The robot 1 includes a plurality of servomotors (not shown) to drive each joint, and the laser scanner 4 mounted on an end portion of the robot can be moved by each servomotor.
The robot control apparatus 2 is connected to the robot 1 through a robot instruction cable 10 to be capable of communication, as shown in
The robot control apparatus 2 further includes a robot locus calculation portion 24 calculating a movement locus of the robot 1 at every prescribed control cycle on the basis of the interpretation of the command interpretation portion 23 and a servo control portion 25 controlling each servomotor provided in the robot 1 on the basis of the calculation result by the robot locus calculation portion 24. The robot control apparatus 2 is provided with a servo simulation portion 26 presuming a current state of the end portion of the robot 1 (current position and posture of the laser scanner 4) on the basis of an operation instruction transmitted from the servo control portion 25 to each servomotor and a focus calculation portion 27 calculating a focal position (welding position) on the basis of the current position and posture of the end portion of the robot 1 presumed by the servo simulation portion 26. There is a slight time lag between the timing to transmit the operation instruction from the servo control portion 25 and the timing to operate the robot 1 on the basis of the operation instruction. Consequently, the servo simulation portion 26 presumes the current position and posture of the laser scanner 4 in consideration of the time lag. Processing for welding performed by the focus calculation portion 27 will be described later. The focus calculation portion 27 is an example of the “control portion” in the present invention.
The pendant 3 is provided to prepare the operation programs of the robot 1 and the welding information regarding laser welding (information regarding a welding speed and a welding locus). The pendant 3 has a display portion 31 and an operation portion 32 including a plurality of operation buttons, as shown in
The laser scanner 4 has a function of emitting a laser beam output from the laser oscillator 5 to the target workpiece. The laser beam output from the laser oscillator 5 is supplied to the laser scanner 4 through a fiber 13. As shown in
Next, a procedure for preparing information regarding an arbitrarily-shaped welding locus with the PC 6 is described with reference to
An arbitrary shape preparation tool, which is software (application program) previously installed on the PC 6, is run, whereby an arbitrary shape preparation tool screen 62 is displayed on a display portion 61 (see
When a straight line is drawn, for example, the straight line is drawn by specifying a starting point and an end point in a preparation area 62b with a pointer 62c after selecting a straight line from the line type item 62a, as shown in
When a circular arc is drawn, the circular arc is drawn by specifying a center point and a size in the preparation area 62b with the pointer 62c after selecting a circular arc from the line type item 62a, as shown in
When an ellipse is drawn, the ellipse is drawn by specifying a center point and a size in the preparation area 62b with the pointer 62c after selecting an ellipse from the line type item 62a, as shown in
The user can arbitrarily combine a straight line, a circular arc, and an ellipse drawn in the aforementioned manners in the preparation area 62b to prepare the arbitrarily-shaped welding locus, as shown in
Next, a preparation procedure prior to welding is described with reference to
First, the information regarding the arbitrarily-shaped welding locus prepared with the PC 6 is loaded onto the robot control apparatus 2. Specifically, the memory card 110 storing the information regarding the welding locus is inserted into the device slot 33 of the pendant 3 to load the information onto the data storage portion 22. Alternatively, the information regarding the welding locus stored in the PC 6 or the USB memory may be loaded onto the data storage portion 22 through the USB terminal 34 with the USB cable or the USB memory.
The operations of the robot 1 are taught to the robot control apparatus 2 while the robot 1 is moved with the pendant 3. A section where welding is performed (welding section) is set with the pendant 3. The welding section is set by specifying a size on a laser welding condition file screen 311 described later and teaching a first reference point B1 and a second reference point B2 described later.
Welding information regarding laser welding (information regarding a welding speed and a welding locus) is set. Specifically, when laser welding is performed on the basis of the arbitrarily-shaped welding locus prepared by the PC 6, “arbitrary shape” is selected as an interpolation type on the laser welding condition file screen 311 displayed on the display portion 31 (see
A value of laser output and a welding speed are set on the laser welding condition file screen 311. According to this embodiment, multiple pieces of the information (file) regarding the arbitrarily-shaped welding locus prepared by the PC 6 can be loaded onto the data storage portion 22 to be stored, and a desired welding locus is selected by specifying a file number (FILE No. in
A reference position and a reference direction of the arbitrarily-shaped welding locus prepared with the PC 6 are taught to the robot control apparatus 2 while the robot 1 is moved with the pendant 3. Specifically, as shown in
Next, the processing for welding by the focus calculation portion 27 performed when the robot system 100 according to this embodiment performs laser welding is described with reference to
At a step S1 in
An expression for obtaining the position LB1 of the first reference point B1 as viewed from the laser scanner coordinate system {L} is shown as the following expression (1).
LB1(X)B1,YB1)=(RLT)1·RB1 (1)
In the aforementioned expression (1), LB1 represents the position of the first reference point B1 as viewed from the laser scanner coordinate system {L}, XB1 represents the X-coordinate of the position LB1 of the first reference point B1 as viewed from the laser scanner coordinate system {L}, YB1 represents the Y-coordinate of the position LB1 of the first reference point B1 as viewed from the laser scanner coordinate system {L}, RLT represents the current position and posture of the laser scanner 4 as viewed from the robot coordinate system {R} presumed by the servo simulation portion 26, and RB1 represents the position of the first reference point B1 as viewed from the robot coordinate system {R}. (RLT)−1 denotes inverse transform of RLT, and represents the current position and posture of the origin of the robot coordinate system {R} as viewed from the laser scanner coordinate system {L}.
The focus calculation portion 27 determines whether or not the position LB1 of the first reference point B1 is in a welding start range A1 (see
Next, an expression for determining whether or not the position LB1 of the first reference point B1 is in the welding start range A1 is shown as the following expression (2-5). The expressions (2-1) to (2-4) are for describing a procedure for calculating the expression (2-5).
First, an X-coordinate and a Y-coordinate located in the welding start range A1 shown in
X≦d1/2×cos(α) (2-1)
Y≦d2/2×sin(α) (2-2)
These expressions are transformed to obtain the following expressions (2-3) and (2-4).
4X2/d12≦cos2(α) (2-3)
4Y2/d22≦sin2(α) (2-4)
Then, the expression (2-5) to be satisfactory in a case where the position LB1 of the first reference point B1 is located in the welding start range A1 is obtained from the aforementioned expressions (2-3) and (2-4).
4(XB12/d12+YB12/d22)≦1 (2-5)
In the aforementioned expression (2-5), XB1 represents the X-coordinate of the position LB1 of the first reference point B1 as viewed from the laser scanner coordinate system {L}, YB1 represents the Y-coordinate of the position LB1 of the first reference point B1 as viewed from the laser scanner coordinate system {L}, d1 represents the X-axis diameter of the welding start range A1, and d2 represents the Y-axis diameter of the welding start range A1.
The focus calculation portion 27 repeats this determination until the position LB1 of the first reference point B1 enters the welding start range A1. As shown in
Next, an expression for acquiring the number of control cycles N in the welding section is shown as the following expression (3).
N=D/(V×Δt) (3)
In the aforementioned expression (3), N represents the number of control cycles in the welding section (integer of at least 0), D represents the locus information of welding (length of a welding locus in this case), V represents the welding speed, and Δt represents the control cycle. If the right side of the expression (3) cannot be divided, N is set to a value obtained by discarding all digits to the right of the decimal point of D/(V×Δt).
Thereafter, the focus calculation portion 27 acquires a welding start point RWs as viewed from the robot coordinate system {R} on the basis of the position RB1 of the first reference point B1 as viewed from the robot coordinate system {R} and the reference direction (direction from the first reference point B1 toward the second reference point B2) at a step S4. Then, the focus calculation portion 27 acquires a position RWk of a welding point as viewed from the robot coordinate system {R} in the control cycle at k-th time in the welding section at a step S5. Here, k is an integer (where 0≦k≦N).
Next, an expression for acquiring the position RWk of the welding point as viewed from the robot coordinate system {R} in the control cycle at k-th time is shown as the following expression (4).
RWk=RWs+D(k/N) (4)
In the aforementioned expression (4), RWk represents the position of the welding point as viewed from the robot coordinate system {R} in the control cycle at k-th time, RWs represents the welding start point as viewed from the robot coordinate system {R}, D represents the locus information of welding (length of a welding locus in this case), and N represents the number of control cycles in the welding section.
At a step S6, the focus calculation portion 27 acquires a position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time. Specifically, the focus calculation portion 27 calculates the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time on the basis of the current position and posture RLT of the laser scanner 4 as viewed from the robot coordinate system {R} presumed by the servo simulation portion 26 and the position RWk of the welding point as viewed from the robot coordinate system {R} in the control cycle at k-th time.
Next, an expression for acquiring the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is shown as the following expression (5).
LWk(Xk,Yk)=(RLT)−1·RWk (5)
In the aforementioned expression (5), LWk represents the position of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time, Xk represents the X-coordinate of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time, Yk represents the Y-coordinate of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time, RLT represents the current position and posture of the laser scanner 4 as viewed from the robot coordinate system {R} presumed by the servo simulation portion 26, RWk represents the position of the welding point as viewed from the robot coordinate system {R} in the control cycle at k-th time, and k represents an integer (where 0≦k≦N). (RLT)−1 denotes inverse transform of RLT, and represents the current position and posture of the origin of the robot coordinate system {R} as viewed from the laser scanner coordinate system {L}.
At a step S7, the focus calculation portion 27 determines whether or not the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is in a welding range A2 (see
Next, an expression for determining whether or not the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is in the welding range A2 is shown as the following expression (6). The expression (6) is calculated through a procedure similar to the case of the aforementioned expression (2-5).
4(Xk2/d32+Yk2/d42)≦1 (6)
In the aforementioned expression (6), Xk represents the X-coordinate of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time, Yk represents the Y-coordinate of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time, d3 represents the X-axis diameter of the welding range A2, and d4 represents the Y-axis diameter of the welding range A2.
At a step S8, the focus calculation portion 27 controls the laser scanner 4 to emit a laser beam to the welding point Wk in the control cycle at k-th time if the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is in the welding range A2, as shown in
At the step S9, the focus calculation portion 27 determines whether or not k is equal to N, and terminates the processing for welding if k is equal to N. If k is not equal to N(k<N), the focus calculation portion 27 increments k at a step S10 to repeat the steps S5 to S10 until k becomes equal to N. In the robot system 100 according to this embodiment, whether or not to emit a laser beam from the current position and posture RLT of the laser scanner 4 is determined at every control cycle Δt of the robot 1, and hence the movement speed of the laser scanner 4 does not depend on the welding speed V, dissimilarly to a case where the position and posture of the laser scanner 4 at the start of laser beam emission and the position and posture of the laser scanner 4 at the end of laser beam emission are previously set.
Furthermore, according to this embodiment, the position of the laser scanner 4 may be simply adjusted by the operations of the robot 1 such that the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is located in the welding range A2, and a movement locus of the laser scanner 4 and the welding locus may not be matched. Furthermore, in the robot system 100 according to this embodiment, whether or not the position LWk of the welding point as viewed from the laser scanner coordinate system {L} in the control cycle at k-th time is located in the welding range A2 is determined, whereby the robot system 100 can correspond to the arbitrarily-shaped welding locus regardless of whether or not the laser scanner 4 is moving.
According to this embodiment, as hereinabove described, the robot system 100 is provided with the focus calculation portion 27 controlling the laser scanner 4 to emit a laser beam on the basis of the information regarding the arbitrarily-shaped welding locus and the current position and posture RLT of the laser scanner 4, whereby the focus calculation portion 27 can control the laser scanner 4 to emit the laser beam in consideration of the movement state of the laser scanner 4, and hence the laser beam can be properly emitted to the arbitrarily-shaped welding locus in response to the movement of the laser scanner 4 even when the laser scanner 4 in motion emits the laser beam. Consequently, welding corresponding to the arbitrarily-shaped welding locus can be performed.
According to this embodiment, as hereinabove described, the focus calculation portion 27 is so formed as to control the laser scanner 4 to emit a laser beam on the basis of the information regarding the arbitrarily-shaped welding locus prepared with the PC 6 and the current position and posture RLT of the laser scanner 4. Thus, the information regarding the arbitrarily-shaped welding locus can be easily prepared with the PC 6, which is an external device, and welding corresponding to the arbitrarily-shaped welding locus can be performed.
According to this embodiment, as hereinabove described, the device slot 33 accepting the information regarding the arbitrarily-shaped welding locus prepared with the PC 6 through the memory card 110 is provided on the pendant 3. The information regarding the arbitrarily-shaped welding locus prepared by the PC 6 can be acquired through the device slot 33 on the basis of the operation of the pendant 3 through the file screen 311. Furthermore, the focus calculation portion 27 is so formed as to control the laser scanner 4 to emit a laser beam on the basis of the information regarding the arbitrarily-shaped welding locus accepted by the device slot 33 and the current position and posture RLT of the laser scanner 4. Thus, the information regarding the arbitrarily-shaped welding locus prepared with the PC 6 can be easily accepted by the device slot 33 through the memory card 110, and hence welding corresponding to the arbitrarily-shaped welding locus prepared with the PC 6, which is an external device, can be easily performed.
According to this embodiment, as hereinabove described, the focus calculation portion 27 is so formed as to acquire the welding point Wk corresponding to the arbitrarily-shaped welding locus on the basis of the information regarding the arbitrarily-shaped welding locus and the first reference point B1 and the reference direction (direction from the first reference point B1 toward the second reference point B2) taught by the pendant 3, and control the laser scanner 4 to emit a laser beam to the acquired welding point Wk. Thus, the arbitrarily-shaped welding locus prepared by the PC 6, which is an external device, can be easily reflected in the work area 200 of the target workpiece with the first reference point B1 and the reference direction, and hence welding corresponding to the arbitrarily-shaped welding locus prepared with the PC 6, which is an external device, can be easily performed.
According to this embodiment, as hereinabove described, the robot system 100 is formed to correspond to an arbitrary shape prepared by arbitrarily combining the different line types, which are a straight line, a circular arc, and an ellipse. Thus, the arbitrarily-shaped welding locus can be prepared by arbitrarily combining the three line types, which are a straight line, a circular arc, and an ellipse, and hence the robot system 100 having a high degree of freedom for a welding locus can be provided.
According to this embodiment, as hereinabove described, the focus calculation portion 27 is so formed as to determine whether or not the welding point Wk corresponding to the arbitrarily-shaped welding locus is located in the welding range A2 to which the laser scanner 4 can emit a laser beam regardless of whether or not the laser scanner 4 is moving, and control the laser scanner 4 to emit a laser beam if the welding point Wk is located in the welding range A2. Thus, a laser beam is not emitted if the welding point Wk is not located in the welding range A2, and hence the laser scanner 4 can be inhibited from emitting a laser beam to an improper position by emitting the laser beam despite the welding point Wk to which the laser beam cannot be emitted from the current position and posture RLT of the laser scanner 4.
According to this embodiment, as hereinabove described, the laser scanner 4 includes the galvanometer mirror 42 actuatable for emitting a laser beam to the target workpiece while changing the direction of the laser beam, and the focus calculation portion 27 is so formed as to control the laser scanner 4 to emit a laser beam to a plurality of welding points Wk along the arbitrarily-shaped welding locus while actuating the galvanometer mirror 42 regardless of whether or not the laser scanner 4 is moving. Thus, the focus of the laser beam can follow the welding locus to perform welding while the galvanometer mirror 42 controls the emitting direction of the laser beam, regardless of whether or not the laser scanner 4 is in motion by the robot 1. Furthermore, the laser scanner 4 may not always be moved to follow the welding locus, and hence useless time in a machining operation can be minimized.
According to this embodiment, as hereinabove described, the focus calculation portion 27 is so formed as to determine whether or not the first reference point B1 serving as the reference position of the arbitrarily-shaped welding locus is located in the welding start range A1 of the laser scanner 4, and start determining whether or not the welding point Wk is located in the welding range A2 of the laser scanner 4 if the first reference point B1 is in the welding start range A1. Thus, the focus calculation portion 27 starts determining whether or not the welding point Wk is located in the welding range A2 of the laser scanner 4 when the laser scanner 4 gets so close to the arbitrarily-shaped welding locus that the first reference point B1 enters the welding start range A1 of the laser scanner 4, and hence an unnecessary control operation for determining whether or not the welding point Wk is in the welding range A2 despite the fact that the laser scanner 4 is located a great distance from the arbitrarily-shaped welding locus can be inhibited to reduce the load on the focus calculation portion 27.
According to this embodiment, as hereinabove described, the welding start range A1 (the X-axis diameter and the Y-axis diameter both are 180 mm) of the laser scanner 4 is set to be smaller than the welding range A2 (the X-axis diameter and the Y-axis diameter both are 200 mm) to which a laser beam can be emitted. Thus, the welding start range A1 having an area smaller than that of the welding range A2 can be employed to move the laser scanner 4 until the first reference point B1 previously enters the welding start range A1. Therefore, the welding range A2 having a relatively large area can be employed to reliably capture the plurality of welding points Wk continuously when welding is actually performed, and hence welding corresponding to the arbitrarily-shaped welding locus can be reliably performed.
According to this embodiment, as hereinabove described, the robot system 100 determines whether or not the position LWk of the welding point is located in the welding range A2 on the basis of the laser scanner coordinate system {L} as viewed from the laser scanner 4 different from the robot coordinate system {R} when determining whether or not the welding point Wk is located in the welding range A2 to which a laser beam can be emitted. At this time, the focus calculation portion 27 transforms the position RWk of the welding point and the current position RLT of the laser scanner 4 both as viewed from the robot coordinate system {R} into the position LWk of the welding point and the current position (RLT)−1 of the laser scanner 4 both as viewed from the laser scanner coordinate system {L}, and thereafter determines whether or not the position LWk of the welding point into which the position RWk of the welding point is transformed is located in the welding range A2. Thus, the robot system 100 can determine whether or not the position LWk of the welding point is located in the welding range A2 on the basis of the position of the laser scanner 4 in motion, and hence the focus calculation portion 27 can easily perform control processing based on operations of the laser scanner 4.
According to this embodiment, as hereinabove described, the focus calculation portion 27 is so formed as to move the welding range A2 to which a laser beam can be emitted by moving the laser scanner 4 by the robot 1 and sequentially determine whether or not the plurality of welding points Wk are located in the welding range A2. Thus, the laser scanner 4 may not be moved to follow the arbitrarily-shaped welding locus exactly during welding, and hence useless time in a machining operation can be minimized due to the simplified movement of the laser scanner 4.
According to this embodiment, as hereinabove described, the reference direction of the arbitrarily-shaped work locus is defined by the direction from the first reference point B1 toward the second reference point B2 (direction X), and the focus calculation portion 27 is so formed as to move the welding start range A1 of the laser scanner 4 by moving the laser scanner 4 along the reference direction (direction X) by the robot 1 and determine whether or not the first reference point B1 is located in the welding start range A1. Thus, the robot system 100 can reliably determine whether or not to start welding by simply moving the laser scanner 4 along the reference direction previously defined, and hence useless time in a machining operation can be minimized due to the simplified movement of the laser scanner 4.
Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, the spirit and scope of the present invention being limited only by the terms of the appended claims.
For example, while the robot system performing remote laser welding by emitting a laser beam is shown as an example of the robot system in the present invention in the aforementioned embodiment, the present invention is not restricted to this. The present invention may alternatively be applied to a robot system performing work such as cutting of a target workpiece by a laser beam, for example, other than welding.
While the device slot (acceptance portion) allowing the memory card to be read and the USB terminal (acceptance portion) are provided on the pendant 3 serving as the teaching apparatus in the present invention in the aforementioned embodiment, the present invention is not restricted to this. In the present invention, the acceptance portion may be provided on the robot control apparatus other than the teaching apparatus, for example.
While the device slot allowing the memory card to be read and the USB terminal are shown as examples of the acceptance portion in the present invention in the aforementioned embodiment, the present invention is not restricted to this. In the present invention, an acceptance portion allowing a portable recording medium other than the memory card and the USB memory, for example, to be read may be employed, or an acceptance portion corresponding to connection such as LAN connection (including wired and wireless connection), other than USB connection may be employed. Furthermore, the information regarding the arbitrarily-shaped work locus may be transmitted from the PC (external information terminal) to the pendant (teaching apparatus) or the robot control apparatus through the Internet if the PC (external information terminal) and the pendant (teaching apparatus) or the robot control apparatus can be connected to the Internet. In this case, an Internet connection portion of the pendant (teaching apparatus) or the robot control apparatus functions as the acceptance portion.
While the robot system is formed to be capable of corresponding to the arbitrary shape prepared by combining the three different line types, which are a straight line, a circular arc, and an ellipse in the aforementioned embodiment, the present invention is not restricted to this. In the present invention, the robot system may be formed to be capable of corresponding to an arbitrary shape prepared by combining line types such as a sine curve and a cosine curve, for example, other than a straight line, a circular arc, and an ellipse.
While the PC is shown as an example of the external device in the present invention in the aforementioned embodiment, the present invention is not restricted to this. In the present invention, an external device (external information terminal) such as a portable telephone terminal or a personal digital assistance (PDA), for example, other than the PC may be employed. Furthermore, while the external device and the pendant (teaching apparatus) are provided separately from each other in the aforementioned embodiment, the present invention is not restricted to this, but both may be integrated. In other words, the function of the pendant (teaching apparatus) may be integrated in the PC or the like, which is an external device, and the PC may be connected to the robot control apparatus. Alternatively, the pendant may be formed to be capable of preparing the arbitrarily-shaped welding locus thereon.
While the processing performed by the focus calculation portion serving as the control portion is described with the flow-driven flowchart in which processing is performed in order along the lines of a processing flow for convenience of description in the aforementioned embodiment, the present invention is not restricted to this. In the present invention, the processing performed by the control portion may be event-driven processing performed on a one-event basis. In this case, the processing performed by the control portion may be completely event-driven processing or a combination of event-driven processing and flow-driven processing.
Claims
1. A robot system comprising:
- a robot;
- a laser emitter configured to emit a laser beam to a target workpiece and configured to be moved by the robot; and
- a controller configured to control the laser emitter to emit the laser beam based on information regarding an arbitrarily-shaped work path and movement information of the laser emitter and configured to determine whether or not a reference position of the arbitrarily-shaped work path on the target workpiece is located in a predetermined range of the laser emitter while the laser emitter is moving, the controller being configured to control the laser emitter to emit the laser beam to the arbitrarily-shaped work path if the reference position is located in the predetermined range.
2. The robot system according to claim 1, wherein
- the controller is configured to control the laser emitter to emit the laser beam based on the information regarding the arbitrarily-shaped work path prepared with a work path preparation device and the movement information of the laser emitter.
3. The robot system according to claim 2, further comprising a teaching apparatus to teach an operation of the robot, wherein
- the controller is configured to control the laser emitter to emit the laser beam based on the information regarding the arbitrarily-shaped work path prepared with the teaching apparatus serving as the work path preparation device and the movement information of the laser emitter.
4. The robot system according to claim 2, further comprising a teaching apparatus to teach an operation of the robot, wherein
- the controller is configured to control the laser emitter to emit the laser beam based on the information regarding the arbitrarily-shaped work path prepared with an external device serving as the work path preparation device, different from the teaching apparatus and the movement information of the laser emitter.
5. The robot system according to claim 4, further comprising an acceptor accepting the information regarding the arbitrarily-shaped work path prepared with the external device, wherein
- the controller is configured to control the laser emitter to emit the laser beam based on the information regarding the arbitrarily-shaped work path accepted by the acceptor and the movement information of the laser emitter.
6. The robot system according to claim 5, wherein
- the acceptor includes a recording medium reader capable of accepting the information regarding the arbitrarily-shaped work path prepared with the external device through a portable recording medium.
7. The robot system according to claim 5, wherein
- the acceptor is provided on the teaching apparatus, and
- the information regarding the arbitrarily-shaped work path can be acquired through the acceptor based on an operation of the teaching apparatus.
8. The robot system according to claim 4, wherein
- the teaching apparatus teaches a reference position and a reference direction of the arbitrarily-shaped work path prepared with the external device, and
- the controller is configured to acquire information regarding a position to be worked corresponding to the arbitrarily-shaped work path based on the information regarding the arbitrarily-shaped work path and the reference position and the reference direction taught by the teaching apparatus, and control the laser emitter to emit the laser beam to the position to be worked which is acquired by the controller.
9. The robot system according to claim 4, wherein
- the external device includes an external information terminal.
10. The robot system according to claim 1, wherein
- a shape of the arbitrarily-shaped work path includes a shape obtained by combining different types of lines.
11. The robot system according to claim 1, wherein
- the controller is configured to determine whether or not a position to be worked corresponding to the arbitrarily-shaped work path is located in a working range to which the laser beam can be emitted from the laser emitter regardless of whether or not the laser emitter is moving, and control the laser emitter to emit the laser beam if the position to be worked is located in the working range.
12. The robot system according to claim 11, wherein,
- the laser emitter includes a mirror member actuatable for emitting the laser beam to the target workpiece while changing a direction of the laser beam, and
- the controller is configured to control the laser emitter to emit the laser beam to the position to be worked along the arbitrarily-shaped work path while changing the direction of the laser beam by actuating the mirror member regardless of whether or not the laser emitter is moving.
13. The robot system according to claim 11, wherein
- the controller is configured to determine whether or not a reference position of the arbitrarily-shaped work path is located in a prescribed range of the laser emitter when the laser emitter is moving, and start determining whether or not the position to be worked is located in the working range if the reference position is in the prescribed range.
14. The robot system according to claim 13, wherein
- the prescribed range of the laser emitter is set to be smaller than the working range to which the laser beam can be emitted.
15. The robot system according to claim 11, wherein
- the laser emitter is configured to be moved by the robot based on a first coordinate system based on the robot, and
- the controller is configured to determine whether or not the position to be worked is located in the working range based on a second coordinate system based on the laser emitter different from the first coordinate system regardless of whether or not the laser emitter is moving, and control the laser emitter to emit the laser beam if the position to be worked is located in the working range.
16. The robot system according to claim 15, wherein
- the movement information of the laser emitter includes information regarding a current position of the laser emitter, and
- the controller is configured to transform the information regarding the arbitrarily-shaped work path and the information regarding the current position of the laser emitter both defined based on the first coordinate system into the information regarding the arbitrarily-shaped work path and the information regarding the current position of the laser emitter both defined based on the second coordinate system based on the current position of the laser emitter, and thereafter determine whether or not the position to be worked is located in the working range using the information regarding the arbitrarily-shaped work path and the information regarding the current position of the laser emitter both defined based on the second coordinate system, and control the laser emitter to emit the laser beam if the position to be worked is located in the working range.
17. The robot system according to claim 11, wherein
- the controller is configured to move the working range to which the laser beam can be emitted by moving the laser emitter by the robot, and determine whether or not the position to be worked is located in the working range.
18. The robot system according to claim 13, wherein
- the reference position of the arbitrarily-shaped work path includes a first reference point related to a working start position and a second reference point related to a working end position,
- a reference direction of the arbitrarily-shaped work path is defined by a direction from the first reference point toward the second reference point, and
- the controller is configured to move the prescribed range of the laser emitter by moving the laser emitter along the reference direction by the robot, and determine whether or not the reference position is located in the prescribed range.
19. The robot system according to claim 1, wherein
- the movement information of the laser emitter includes information regarding a current position of the laser emitter,
- the laser emitter includes a mirror member actuatable for emitting the laser beam to the target workpiece while changing a direction of the laser beam, and
- the controller is configured to control the laser emitter to emit the laser beam to a position to be worked along the arbitrarily-shaped work path while changing the direction of the laser beam by actuating the mirror member based on the information regarding the arbitrarily-shaped work path and the information regarding the current position of the laser emitter in motion.
20. The robot system according to claim 5, wherein
- the acceptor is provided on the teaching apparatus,
- the external device and the teaching apparatus are formed to be capable of communicating with each other, and
- the information regarding the arbitrarily-shaped work path can be transmitted from the external device to the teaching apparatus provided with the acceptor to be acquired by the teaching apparatus.
21. A method for controlling a robot system, comprising:
- determining whether or not a reference position of an arbitrarily-shaped work path on a target workpiece is located in a predetermined range of a laser emitter of the robot system while the laser emitter is moving; and
- controlling the laser emitter to emit a laser beam to the target workpiece based on information regarding the arbitrarily-shaped work path and movement information of the laser emitter if the reference position is located in the predetermined range.
Type: Application
Filed: Apr 22, 2014
Publication Date: Aug 7, 2014
Applicant: KABUSHIKI KAISHA YASKAWA DENKI (Kitakyushu-shi)
Inventors: Yuki OE (Fukuoka), Keiji MAKINO (Fukuoka)
Application Number: 14/258,017
International Classification: B23K 26/08 (20060101);