ROBOT FOR PERFORMING SCRAPING, ROBOT SYSTEM, METHOD, AND COMPUTER PROGRAM

20240051172 ยท 2024-02-15

Assignee

Inventors

Cpc classification

International classification

Abstract

A robot includes a base part; a pair of scrapers provided to the base part so as to face each other, the pair of scrapers each having a proximal end connected to the base part and a distal end for cutting a surface, and the pair of scrapers extending so as to approach or recede from each other progressively from the proximal end toward the distal end; and a movement mechanism unit for rotating the base part between a first orientation in which one of the pair of scrapers is closer to a workpiece than the other scraper, and a second orientation in which the other scraper is closer to the workpiece than the one scraper.

Claims

1. A robot configured to perform a scraping process to scrape and smoothen a surface of a workpiece, the robot comprising: a base; a pair of scrapers disposed at the base so as to be opposite to each other, each of the pair of scrapers having a proximal end connected to the base and a distal end configured to scrape the surface, the pair of scrapers extending so as to approach or separate from each other as extending from the proximal ends toward the distal ends; and a moving mechanism configured to rotate the base between: a first orientation in which one of the pair of scrapers is closer to the surface than the other of the pair of scrapers; and a second orientation in which the other of the pair of scrapers is closer to the surface than the one of the pair of scrapers.

2. The robot of claim 1, wherein the base extends along a first axis, wherein the pair of scrapers are arranged to be opposite to each other in a direction of the first axis, and wherein the moving mechanism rotates the base about a second axis orthogonal to the first axis.

3. The robot of claim 2, wherein the pair of scrapers are arranged symmetrically to each other with respect to a third axis orthogonal to the first axis and the second axis.

4. The robot of claim 1, wherein at least one of the pair of scrapers is movably disposed at the base such that a spacing between the pair of scrapers is variable.

5. The robot of claim 1, wherein at least one of the pair of scrapers is rotatably disposed at the base.

6. A robot system comprising: the robot of claim 1; and a control device configured to control the robot, wherein the control device controls the moving mechanism so as to: execute a first scraping process by pressing the distal end of the one of the pair of scrapers against the surface and moving the base in a first direction, while arranging the base at the first orientation; rotate the base from the first orientation to the second orientation, after the first scraping process; and execute a second scraping process by pressing the distal end of the other of the pair of scrapers against the surface and moving the base in a second direction opposite to the first direction, while arranging the base at the second orientation.

7. The robot system of claim 6, further comprising a cleaning device having an opening disposed between the distal ends of the pair of scrapers, and configured to suction chips produced by the scraping process through the opening or blow away the chips with a fluid sprayed from the opening.

8. A method of performing a scraping process to scrape and smoothen a surface of a workpiece, using the robot of claim 1, in which a processor controls the moving mechanism so as to: execute a first scraping process by pressing the distal end of the one of the pair of scrapers against the surface and moving the base in a first direction, while arranging the base at the first orientation; rotate the base from the first orientation to the second orientation, after the first scraping process; and execute a second scraping process by pressing the distal end of the other of the pair of scrapers against the surface and moving the base in a second direction opposite to the first direction, while arranging the base at the second orientation.

9. A computer-readable recording medium configured to record a computer program causing the processor to execute the method of claim 8.

Description

BRIEF DESCRIPTION OF DRAWINGS

[0009] FIG. 1 is a diagram of a robot system according to an embodiment.

[0010] FIG. 2 is a block diagram of the robot system illustrated in FIG. 1.

[0011] FIG. 3 is an enlarged view of an end effector illustrated in FIG. 1.

[0012] FIG. 4 is an enlarged view of a blade of a scraper illustrated in FIG. 3 as viewed from above.

[0013] FIG. 5 illustrates a state in which the scraper is pressed against a surface of a workpiece.

[0014] FIG. 6 illustrates a state in which a base is arranged at a first orientation.

[0015] FIG. 7 illustrates a first recess formed in the surface of the workpiece by one of the scrapers.

[0016] FIG. 8 illustrates a state in which the base is arranged at a second orientation.

[0017] FIG. 9 illustrates a second recess formed in the surface of the workpiece by the other of the scrapers.

[0018] FIG. 10 illustrates a plurality of recesses formed side by side in the surface of the workpiece.

[0019] FIG. 11 is a diagram for illustrating another example of the scraping process and illustrates recesses formed so as to extend from one end edge to the other end edge of the surface of the workpiece.

[0020] FIG. 12 illustrates an example of teaching points set with respect to the surface of the workpiece for forming a recess by the one of the scrapers.

[0021] FIG. 13 is a diagram for illustrating a speed command as a position control command and a speed command as a force control command.

[0022] FIG. 14 illustrates a trajectory along which the one of the scrapers actually moves during the scraping process.

[0023] FIG. 15 illustrates an example of teaching points set with respect to the surface of the workpiece for forming a recess by the other of the scrapers.

[0024] FIG. 16 illustrates a trajectory along which the other of the scrapers actually moves during the scraping process.

[0025] FIG. 17 illustrates an example of a time change characteristic of a pressing force during the scraping process.

[0026] FIG. 18 illustrates another example of a time change characteristic of the pressing force during the scraping process.

[0027] FIG. 19 is a diagram for illustrating a scraping process to form a plurality of rows of recesses.

[0028] FIG. 20 is a diagram for illustrating the scraping process to form the plurality of rows of recesses.

[0029] FIG. 21 is a diagram for illustrating a scraping process to form a plurality of rows of recesses.

[0030] FIG. 22 is a diagram for illustrating the scraping process to form the plurality of rows of recesses.

[0031] FIG. 23 is a diagram of a robot system according to another embodiment.

[0032] FIG. 24 is a block diagram of the robot system illustrated in FIG. 23.

[0033] FIG. 25 is an enlarged view of an end effector illustrated in FIG. 23.

[0034] FIG. 26 is an enlarged view of an end effector according to another embodiment.

[0035] FIG. 27 is a diagram for illustrating a scraping process, using the end effector illustrated in FIG. 26.

[0036] FIG. 28 is an enlarged view of an end effector according to still another embodiment.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

[0037] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In various embodiments described below, the same elements are designated by the same reference numerals and duplicate description will be omitted. In the following description, a positive x-axis direction of a robot coordinate system C1 illustrated in the drawings may be referred to as rightward, a positive y-axis direction may be referred to as frontward, and a positive z-axis direction may be referred to as upward.

[0038] A robot system 10 according to an embodiment will first be described with reference to FIG. 1 to FIG. 3. The robot system 10 is a system that performs a scraping process to scrape and smoothen a surface Q of a workpiece W. The scraping process is a process to scrape the surface Q of a workpiece W such that the dimensions of fine unevenness formed in the surface Q in a thickness direction of the workpiece W fall within a predetermined range (e.g., on the order of m).

[0039] The fine unevenness functions as a so-called oil retainer for storing lubricating oil in the surface Q to be used as a sliding surface. For example, the scraping process includes rough machining through which fine unevenness formed when a surface of a workpiece is machined by a milling machine or the like is made to be of a first dimension (e.g., 10 m) or less, and finish machining through which the fine unevenness is made to be of a second dimension (e.g., 5 m) or less, the second dimension being smaller than the first dimension after the rough machining.

[0040] The robot system 10 includes a robot 12, a force sensor 14, and a control device 16. In the present embodiment, the robot 12 is a vertical articulated robot and includes a moving mechanism 18 and an end effector 20. The moving mechanism 18 includes a robot base 22, a turning body 24, a lower arm 26, an upper arm 28, and a wrist 30. The robot base 22 is fixed on a floor of a work cell. The turning body 24 is disposed at the robot base 22 so as to be turnable about a vertical axis.

[0041] The lower arm 26 is disposed at the turning body 24 so as to be rotatable about a horizontal axis, and the upper arm 28 is rotatably disposed at a distal end of the lower arm 26. The wrist 30 includes a wrist base 30a disposed at a distal end of the upper arm 28 so as to be rotatable about an axis A1, and a wrist flange 30b disposed at the wrist base 30a so as to be rotatable about an axis A2. The axis A2 is orthogonal to the axis A1 and rotates about the axis A1.

[0042] A servo motor 32 (FIG. 2) is provided at each constituent element (the robot base 22, the turning body 24, the lower arm 26, the upper arm 28, and the wrist 30) of the moving mechanism 18. The servo motors 32 cause each respective movable element (the turning body 24, the lower arm 26, the upper arm 28, the wrist 30, and the wrist flange 30b) of the moving mechanism 18 to rotate about each respective drive shaft thereof in response to a command from the control device 16. As a result, the moving mechanism 18 can move and arrange the end effector 20 at any position and any orientation.

[0043] The end effector 20 is removably attached to the wrist flange 30b via the force sensor 14. Hereinafter, a configuration of the end effector 20 will be described with reference to FIG. 3. The end effector 20 includes a base 34, a mounting flange 36, a pair of scraper holders 38 and 40, and a pair of scrapers 42 and 44.

[0044] The base 34 is a rod-like member extending straight along an axis A3. The axis A3 is orthogonal to the axis A2 and rotates about the axis A2. The mounting flange 36 is a cylindrical member centered on the axis A2 and is fixed to a central part of a top surface 34a of the base 34. In the present embodiment, the mounting flange 36 is fixed to a distal end of the force sensor 14 using, for example, a fastener (a bolt or the like). The pair of scraper holders 38 and 40 are fixed to a bottom surface 34b of the base 34 so as to be spaced apart from each other in the axis A3 direction.

[0045] The pair of scrapers 42 and 44 are disposed at the base 34 so as to be opposite each other in the axis A3 direction. In the present embodiment, the pair of scrapers 42 and 44 are arranged symmetrically with respect to the axis A2. More specifically, the scraper 42 includes a handle 46 and a blade 48. The handle 46 is a flexible member extending substantially linearly along an axis A4 from a proximal end 46a to a distal end 46b of the handle 46 and is fixed to the scraper holder 38 at the proximal end 46a using, for example, a fastener (bolt or the like).

[0046] The blade 48 is an iron member extending along the axis A4 from a proximal end 48a to a distal end 48b of the blade 48, and the proximal end 48a is fixed to the distal end 46b of the handle 46. As illustrated in FIG. 4, when viewed from above, the distal end 48b of the blade 48 is curved so as to bulge outward from both ends along a width of the distal end 48b with proximity to a center of the blade 48. The blade 48 scrapes the surface Q of the workpiece W with the distal end 48b.

[0047] The proximal end 46a of the handle 46 defines a proximal end of the scraper 42, and the distal end 48b of the blade 48 defines a distal end of the scraper 42. The proximal end 46a of the scraper 42 is connected to the base 34 via the scraper holder 38, and the scraper 42 is thereby supported by the base 34. In the present embodiment, the axis A4 is inclined at an angle 1 with respect to the axis A3, and the scraper 42 extends closer to the scraper 44 from the proximal end 46a toward the distal end 48b.

[0048] The scraper 44 has the same configuration as the scraper 42. Specifically, the scraper 44 includes a handle 50 and a blade 52. The handle 50 is a flexible member extending substantially linearly along an axis A5 from a proximal end 50a to a distal end 50b of the handle 50 and is fixed to the scraper holder 40 at the proximal end 50a.

[0049] The blade 52 extends along the axis A5 from a proximal end 52a to a distal end 52b of the blade 52, and the proximal end 52a is fixed to the distal end 50b of the handle 50. As illustrated in FIG. 4, similarly to the blade 48, the distal end 52b of the blade 52 is curved so as to bulge outward from both ends along a width of the distal end 52b with proximity to a center of the blade 52. The blade 52 scrapes the surface Q of the workpiece W with the distal end 52b.

[0050] The proximal end 50a of the handle 50 defines a proximal end of the scraper 44, and the distal end 52b of the blade 52 defines a distal end of the scraper 44. The proximal end 50a of the scraper 44 is connected to the base 34 via the scraper holder 40, and the scraper 44 is thereby supported by the base 34.

[0051] In the present embodiment, the axis A5 is inclined at an angle 2 with respect to the axis A3, and the scraper 44 extends closer to the scraper 42 from the proximal end 50a toward the distal end 52b. Note that the inclination angle 1 of the axis A4 of the scraper 42 with respect to the axis A3 and the inclination angle 2 of the axis A5 of the scraper 44 with respect to the axis A3 are substantially equal to each other (1=2).

[0052] As described above, the pair of scrapers 42 and 44 are arranged so as to be opposite each other in the axis A3 direction, and extend so as to approach each other as extending from the proximal ends 46a and 50a toward the distal ends 48b and 52b. The distal end 48b of the scraper 42 and the distal end 52b of the scraper 44 are spaced apart from each other by a spacing in the axis A3 direction.

[0053] The force sensor 14 detects a pressing force F at which the moving mechanism 18 presses the scraper 42 or 44 against the surface Q of the workpiece W. For example, the force sensor 14 is a six-axis force sensor including a body having a cylindrical shape and a plurality of strain gauges disposed at the body (both not illustrated), and is interposed between the wrist flange 30b and the end effector 20. In the present embodiment, the force sensor 14 is arranged such that a central axis of the force sensor 14 coincides with the axis A2 (i.e., arranged concentrically with the wrist flange 30b and the mounting flange 36).

[0054] The control device 16 controls an operation of the robot 12. As illustrated in FIG. 2, the control device 16 is a computer including a processor 60, a memory 62, an I/O interface 64, an input device 66, and a display device 68. The processor 60 is communicably connected to the memory 62, the I/O interface 64, the input device 66, and the display device 68 via a bus 70, and performs arithmetic processing to execute the scraping process while communicating with these components.

[0055] The memory 62 includes a RAM, a ROM, or the like, and temporarily or permanently stores various types of data used in the arithmetic processing and various types of data generated during the arithmetic processing executed by the processor 60. The I/O interface 64 includes, for example, an Ethernet (trade name) port, a USB port, an optical fiber connector, or an HDMI (trade name) terminal, and performs wired or wireless data communication with an external device in accordance with a command from the processor 60. In the present embodiment, each of the servo motors 32 of the moving mechanism 18 and the force sensor 14 are communicably connected to the I/O interface 64.

[0056] The input device 66 includes a keyboard, a mouse, a touch panel, or the like, so as to enable an operator to input data. The display device 68 includes a liquid crystal display, an organic EL display, or the like, and displays various types of data in a visually recognizable manner in accordance with a command from the processor 60. The input device 66 or the display device 68 may be integrally embedded in a housing of the control device 16, or may be externally mounted at the housing of the control device 16 as a component separate from the housing.

[0057] As illustrated in FIG. 1, the robot coordinate system C1 is set for the robot 12. The robot coordinate system C1 is a coordinate system for controlling an operation of each movable element of the moving mechanism 18 and is fixed with respect to the robot base 22. In the present embodiment, the robot coordinate system C1 is set with respect to the moving mechanism 18 such that the origin of the robot coordinate system C1 is arranged at a center of the robot base 22 and the z-axis of the robot coordinate system C1 coincides with a turning axis of the turning body 24.

[0058] As illustrated in FIG. 3, a tool coordinate system C2 is set for the scraper 42. The tool coordinate system C2 is a coordinate system for defining a position and an orientation of the scraper 42 in the robot coordinate system C1 and is arranged at a known position with respect to the wrist flange 30b. In the present embodiment, the tool coordinate system C2 is set with respect to the scraper 42 such that the origin of the tool coordinate system C2 (a so-called TCP) is arranged at a center of the distal end 48b of the blade 48 in a state in which the handle 46 is not bent and the z-axis of the tool coordinate system C2 is parallel to the axis A4 (or a normal direction of the curved surface of the distal end 48b at the center of the distal end 48b).

[0059] When moving the scraper 42, the processor 60 of the control device 16 sets the tool coordinate system C2 in the robot coordinate system C1, and generates a command (a position command, a speed command, a torque command, or the like) for each of the servo motors 32 of the moving mechanism 18 to arrange the scraper 42 at a position and an orientation expressed through the set tool coordinate system C2. In this way, the processor 60 can position the scraper 42 at a position and an orientation of choice in the robot coordinate system C1.

[0060] On the other hand, a tool coordinate system C3 is set for the scraper 44. The tool coordinate system C3 is a coordinate system for defining a position and an orientation of the scraper 44 in the robot coordinate system C1 and is arranged at a known position with respect to the wrist flange 30b. The tool coordinate system C3 is set with respect to the scraper 44 such that the origin of the tool coordinate system C3 (TCP) is arranged at a center of the distal end 52b of the blade 52 in a state in which the handle 50 is not bent and the z-axis of the tool coordinate system C3 is parallel to the axis A5.

[0061] When moving the scraper 44, the processor 60 sets the tool coordinate system C3 in the robot coordinate system C1, and generates a command for each of the servo motors 32 of the moving mechanism 18 to arrange the scraper 44 at a position and an orientation expressed through the set tool coordinate system C3. In this way, the processor 60 can position the scraper 44 at a position and an orientation of choice in the robot coordinate system C1.

[0062] A sensor coordinate system C4 is set for the force sensor 14. The sensor coordinate system C4 is a coordinate system for defining a direction of a force acting on the force sensor 14. In the present embodiment, the sensor coordinate system C4 is set with respect to the force sensor 14 such that the origin of the sensor coordinate system C4 is arranged at a center of the force sensor 14 and the z-axis of the sensor coordinate system C4 coincides with the axis A2.

[0063] FIG. 5 illustrates a state in which the moving mechanism 18 presses the distal end 48b (or 52b) of the scraper 42 (or 44) against the surface Q of the workpiece W. When the moving mechanism 18 presses the distal end 48b (52b) of the scraper 42 (44) against the surface Q at the pressing force F in a direction orthogonal to the surface Q, a reaction force F of the pressing force F is applied from the surface Q to the force sensor 14 via the scraper 42 (44).

[0064] Each of the strain gauges of the force sensor 14 transmits detection data corresponding to the force acting on the force sensor 14 to the control device 16 at this time. Based on the detection data received from the force sensor 14 via the I/O interface 64, the processor 60 obtains forces fin the x-axis direction, the y-axis direction, and the z-axis direction of the sensor coordinate system C4 and torques around the x-axis direction, the y-axis direction, and the z-axis direction that act on the force sensor 14 at this time. The processor 60 calculates a magnitude of the reaction force F acting on the distal end 48b (52b) in the direction orthogonal to the surface Q, based on the forces f, the torques , and condition data CD of the scraper 42 (44) at this time.

[0065] The condition data CD includes, for example, at least one of an angle 3 between the axis A4 (axis A5) and the surface Q, a distance d1 between the axis A2 (or the origin of the sensor coordinate system C4) and the distal end 48b (52b) of the scraper 42 (44), a distance d2 between the axis A2 and the proximal end 46a (50a) of the scraper 42 (44), a distance d3 between the proximal end 46a (50a) and the distal end 48b (52b) of the scraper 42 (44), position data indicating a position and an orientation of the tool coordinate system C2 (C3) in the robot coordinate system C1, or bend data of the handle 46 (50) (e.g., a bend amount or an elastic modulus). In this way, the force sensor 14 detects the reaction force F as the pressing force F, and the control device 16 can determine the magnitude of the pressing force F (the reaction force F) based on the detection data of the force sensor 14.

[0066] The scraping process executed by the robot 12 will be described next. Note that the workpiece W may be placed at a known position in the robot coordinate system C1 such that a left end edge B1 (FIG. 10) of the workpiece W is closer to the moving mechanism 18 (to be specific, the robot base 22) than a right end edge B2. The processor 60 first operates the moving mechanism 18 to arrange the base 34 (i.e., the end effector 20) at a first orientation OR1. FIG. 6 illustrates a state in which the base 34 is arranged at the first orientation OR1.

[0067] When the base 34 is arranged at the first orientation OR1, the distal end 48b of the scraper 42 is closer to the surface Q of the workpiece W than the distal end 52b of the scraper 44. The axis A3 of the base 34 is arranged substantially parallel to an x-z plane of the robot coordinate system C1, the axis A4 of the scraper 42 is inclined at an angle 3_.sub.1 with respect to the surface Q, and the axes A1, A2, and A3 are substantially orthogonal to each other.

[0068] Next, in the state in which the base 34 is arranged at the first orientation OR1, the processor 60 presses the distal end 48b of the scraper 42 against the surface Q, moves the base 34 (end effector 20) rightward, and subsequently separates the distal end 48b from the surface Q. As a result, a recess R.sub.1 is formed in the surface Q as illustrated in FIG. 7. The recess R.sub.1 has a depth on the order of m and functions as the above-described oil retainer. In this manner, a first scraping process SC.sub.1 of forming the recess R.sub.1 with the scraper 42 is performed.

[0069] After the first scraping process SC.sub.1, the processor 60 operates the moving mechanism 18 to rotate the base 34 (end effector 20) from the first orientation OR1 illustrated in FIG. 6 to a second orientation OR2 illustrated in FIG. 8. When the base 34 is arranged at the second orientation OR2, the distal end 52b of the scraper 44 is closer to the surface Q than the distal end 48b of the scraper 42. The axis A3 of the base 34 is arranged substantially parallel to the x-z plane of the robot coordinate system C1, the axis A5 of the scraper 44 is inclined at an angle 3_.sub.2 with respect to the surface Q, and the axes A1, A2, and A3 are substantially orthogonal to each other.

[0070] Next, in a state in which the base 34 is arranged at the second orientation OR2, the processor 60 presses the distal end 52b of the scraper 44 against the surface Q at a position rightward from the recess R.sub.1, moves the base 34 (end effector 20) leftward, and subsequently separates the distal end 52b from the surface Q. As a result, a recess R.sub.2 is formed adjacent to a right side of the recess R.sub.1 in the surface Q as illustrated in FIG. 9. Similar to the recess R.sub.1, the recess R.sub.2 has a depth on the order of m. In this manner, a second scraping process SC.sub.2 of forming the recess R.sub.2 with the scraper 44 is performed.

[0071] Subsequently, the processor 60 repeats a series of operations to rotate the base 34 from the second orientation OR2 to the first orientation OR1, form a recess R.sub.2 m-1 (m is a positive integer) by pressing the distal end 48b of the scraper 42 against the surface Q and moving the base 34 rightward, rotate the base 34 from the first orientation OR1 to the second orientation OR2, and form a recess R.sub.2 m by pressing the distal end 52b of the scraper 44 against the surface Q and moving the base 34 leftward. As a result, a plurality of recesses R.sub.1 to R.sub.7 arranged side by side in the x-axis direction of the robot coordinate system C1 can be formed in the surface Q from a position near the left end edge B1 to a position near the right end edge B2 of the surface Q, as illustrated in FIG. 10.

[0072] FIG. 11 illustrates another example of the scraping process. In the example illustrated in FIG. 11, in the state in which the base 34 is arranged at the first orientation OR1, the processor 60 presses the distal end 48b of the scraper 42 against the surface Q at a position near the left end edge B1, moves the base 34 rightward to a position near the right end edge B2, and subsequently separates the distal end 48b from the surface Q. As a result, a recess R.sub.1 extending from the position near the left end edge B1 to the position near the right end edge B2 is formed in the surface Q as illustrated in FIG. 11. In this manner, a first scraping process SC.sub.1 of forming the recess R.sub.1 with the scraper 42 is performed.

[0073] After the first scraping process SC.sub.1, the processor 60 rotates the base 34 from the first orientation OR1 to the second orientation OR2, presses the distal end 52b of the scraper 44 against the surface Q at a position at a rear side of the right end of the recess R.sub.1, moves the base 34 leftward from a position near the right end edge B2 to a position near the left end edge B1, and subsequently separates the distal end 52b from the surface Q. In this manner, a second scraping process SC.sub.2 of forming a recess R.sub.2 with the scraper 44 is performed. As a result, the recess R.sub.2 extending from the position near the right end edge B2 to the position near the left end edge B1 is formed adjacent to a rear side of the recess R.sub.1 in the surface Q.

[0074] Subsequently, the processor 60 repeats a series of operations to rotate the base 34 from the second orientation OR2 to the first orientation OR1, form a recess R.sub.2 m-1 by pressing the distal end 48b of the scraper 42 against the surface Q and moving the base 34 rightward, rotate the base 34 from the first orientation OR1 to the second orientation OR2, and form a recess R.sub.2 m by pressing the distal end 52b of the scraper 44 against the surface Q and moving the base 34 leftward. Accordingly, a plurality of recesses R.sub.1, R.sub.2, . . . can be formed in the surface Q extending from the left end edge B1 to the right end edge B2 of the surface Q and arranged side by side in the y-axis direction of the robot coordinate system C1.

[0075] As described above, in the examples illustrated in FIG. 10 and FIG. 11, the processor 60 forms the recess R.sub.2 m-1 by pressing the scraper 42 against the surface Q and moving the scraper 42 rightward in a (2 m1)th scraping process SC.sub.2 m-1, and forms the recess R.sub.2 m by pressing the scraper 44 against the surface Q and moving the scraper 44 leftward in the 2m-th scraping process SC.sub.2m.

[0076] In this manner, the processor 60 alternately switches the scrapers 42 and 44 by rotating the base 34 between the first orientation OR1 and the second orientation OR2 to form the recess R.sub.2 m-1 with the scraper 42 and the recess R.sub.2 m with the scraper 44. For example, the processor 60 may rotate the base 34 between the first orientation OR1 and the second orientation OR2 by operating the servo motor 32 rotating the wrist 30 with respect to the upper arm 28 in order to rotate the wrist 30 about the axis A1.

[0077] Controls of the robot 12 in the scraping process will be described next in more detail with reference to FIG. 12 to FIG. 18. In order to form one recess R, a plurality of teaching points TP.sub.n are set with respect to the surface Q. FIG. 12 illustrates three teaching points TP.sub.n (n=1, 2, 3) set to form the above-described recess R.sub.2 m-1. Note that the three teaching points TP.sub.n illustrated in FIG. 12 are only examples, and that any number (e.g., four or more) of teaching points TP.sub.n may be set.

[0078] These teaching points TP.sub.n define coordinates in the robot coordinate system C1 at which the distal end 48b of the scraper 42 (i.e., the origin of the tool coordinate system C2: TCP) is to be positioned so as to form the recess R.sub.2 m-1. When performing the (2 m1)th scraping process SC.sub.2 m-1, the processor 60 arranges the base 34 at the first orientation OR1, starts a position control, and generates a position control command PC.sub.n for causing the moving mechanism 18 to move the scraper 42 to the teaching point TP.sub.n.

[0079] The processor 60 arranges the scraper 42 at the teaching points TP.sub.1.fwdarw.TP.sub.2.fwdarw.TP.sub.3 in this order by operating the respective servo motors 32 of the moving mechanism 18 in accordance with the position control command PC.sub.n. Through the position control, the processor 60 causes the scraper 42 (specifically, the distal end 48b) to move along a movement path MP defined by the plurality of teaching points TP.sub.n.

[0080] In the present embodiment, for ease of understanding, the surface Q of the workpiece W is substantially parallel to an x-y plane of the robot coordinate system C1, and a direction MD of the movement path MP is substantially parallel to the x-z plane of the robot coordinate system C1. The position control command PC.sub.n includes a speed command PC.sub.V_n defining a speed V.sub.P_n at which the scraper 42 (or the wrist flange 30b) is moved to the teaching point TN.

[0081] After the start of the position control, the processor 60 operates the moving mechanism 18 in accordance with a position control command PC.sub.1 to move the scraper 42 to the teaching point TP.sub.1. When the distal end 48b of the scraper 42 is arranged at the teaching point TP.sub.1, the distal end 48b is spaced apart upward from the surface Q as illustrated in FIG. 13.

[0082] When the scraper 42 reaches the teaching point TP.sub.1, the processor 60 starts a force control. After the start of the force control, the processor 60 controls a position of the wrist flange 30b of the moving mechanism 18 (or the origin of the tool coordinate system C2) based on the detection data of the force sensor 14 such that the pressing force F at which the moving mechanism 18 presses the scraper 42 against the surface Q of the workpiece W is controlled to be at a predetermined target value .

[0083] Specifically, in the force control, the processor 60 generates a force control command FC for controlling the position of the wrist flange 30b of the moving mechanism 18 in order to control the pressing force F (specifically, the reaction force F) obtained based on the detection data of the force sensor 14 to be at the target value . The processor 60 then adds the force control command FC to the position control command PC.sub.n to operate the servo motors 32 of the moving mechanism 18.

[0084] Accordingly, the processor 60 causes the scraper 42 (or the wrist flange 30b) to move in the direction MD of the movement path MP along the surface Q in accordance with the position control command PC.sub.n and causes the scraper 42 (wrist flange 30b) to move in a direction so as to approach or separate from the surface Q (i.e., the z-axis direction of the robot coordinate system C1) in accordance with the force control command FC.

[0085] The force control command FC includes a speed command FC.sub.V defining a speed at which the scraper 42 is moved in the z-axis direction of the robot coordinate system C1 in order to cause the pressing force F to reach the target value . In the force control, the processor 60 operates the moving mechanism 18 in accordance with the speed command FC.sub.V to move the scraper 42 (wrist flange 30b) in the z-axis direction of the robot coordinate system C1.

[0086] When the scraper 42 reaches the teaching point TP.sub.1, the processor 60 generates a speed command PC.sub.V_2 as a position control command PC.sub.2 for causing the scraper 42 to move to the teaching point TP.sub.2, and generates a speed command FC.sub.V_0 as the force control command FC. FIG. 13 schematically illustrates the speed command PC.sub.V_2 and the speed command FC.sub.V_0 generated by the processor 60 when the scraper 42 reaches the teaching point TP.sub.1.

[0087] After the scraper 42 reaches the teaching point TP.sub.1, the processor 60 operates the moving mechanism 18 in accordance with the speed command PC.sub.V_2 to move the scraper 42 in the direction MD along the surface Q to the teaching point TP.sub.2 at a speed V.sub.P_2 corresponding to (specifically, coincident with) the speed command PC.sub.V_2.

[0088] Along with this, the processor 60 generates the speed command FC.sub.V_0 in order to control the pressing force F to be at the target value and adds the generated speed command FC.sub.V_0 to the speed command PC.sub.V_2 for the servo motors 32 so as to cause the scraper 42 to move in a direction toward the surface Q (i.e., downward) at a speed V.sub.F_0 corresponding to (specifically, coincident with) the speed command FC.sub.V_0. As a result, the moving mechanism 18 causes the scraper 42 to move in a direction MD in FIG. 13 after passing though the teaching point TP.sub.1.

[0089] In FIG. 14, a trajectory TR that the scraper 42 (specifically, the distal end 48b) actually follows during the (2 m1)th scraping process SC.sub.2 m-1 is indicated by a solid line. After passing through the teaching point TP.sub.1, the scraper 42 moves toward the surface Q in the trajectory TR that is inclined to form an angle 4 (<90) with the surface Q and comes into contact with the surface Q at a position P1.

[0090] When distances between the teaching point TP.sub.1 and the position P1 in FIG. 14 in the x-axis direction and the z-axis direction of the robot coordinate system C1 are respectively a distance x1 and a distance z1, the distance x1, the distance z1, the speed command PC.sub.V_2 (speed V.sub.P_2), and the speed command FC.sub.V_0 (speed V.sub.F_0) satisfy the following equation (1).


z1/x1=FC.sub.V_0/PC.sub.V_2=V.sub.F_0/V.sub.P_2(1)

[0091] The angle 4, the distances x1 and z1, the speed command PC.sub.V_2 (speed V.sub.P_2), and the speed command FC.sub.V_0 (speed V.sub.F_0) also satisfy the following equation (2).


4=tan.sup.1(z1/x1)=tan.sup.1(FC.sub.V_0/PC.sub.V_2)=tan.sup.1(V.sub.F_0/V.sub.P_2)(2)

[0092] Thus, if x1=10 [mm] and z1=5 [mm] are set as machining conditions MC for the scraping process, then the angle 4 can be determined to be 426.6 by the equation (2). In this case, when the speed V.sub.P_2 (i.e., the speed command PC.sub.V_2) is set to 100 [mm/sec] as one of the machining conditions MC, the speed V.sub.F_0 (i.e., the speed command FC.sub.V_0) can be determined to be 50 [mm/sec] by the equation (1). In this manner, by appropriately setting the distances x1 and z1, the speed command PC.sub.V_2 (speed V.sub.P_2), and the speed command FC.sub.V_0 (speed V.sub.F_0) as the machining conditions MC, the angle 4 can be controlled to fall within a desired range (e.g., 15 to 35).

[0093] Note that the processor 60 may automatically determine at least one parameter of these machining conditions MC (x1, z1, 4, V.sub.P_2, PC.sub.V_2, V.sub.F_0, and FC.sub.V_0) in accordance with other parameters of the machining conditions MC input by the operator. For example, it is assumed that the operator inputs x1=10 [mm], z1=5 [mm], and V.sub.P_2 (PC.sub.V_2)=100 [mm/sec] as the machining conditions MC by operating the input device 66. In this case, based on the input data of the machining conditions MC and the above-described equations (1) and (2), the processor 60 automatically determines 4=26.6 and V.sub.F_0 (FC.sub.V_0)=50 [mm/sec] as other parameters of the machining conditions MC.

[0094] While the scraper 42 is in contact with the surface Q, the processor 60 causes the scraper 42 to move in the direction MD in accordance with the position control command PC.sub.2, and generates a speed command FC.sub.V_1 as the force control command FC for controlling the pressing force F to be at the target value through the force control. In accordance with the speed command FC.sub.V_1, the position of the wrist flange 30b of the moving mechanism 18 is shifted in the z-axis direction of the robot coordinate system C1 at a speed V.sub.F_1 corresponding to (specifically, coincident with) the speed command FC.sub.V_1.

[0095] A maximum value of the speed command FC.sub.V_1 (i.e., the speed V.sub.F_1) generated while the scraper 42 is in contact with the surface Q can be set to be greater than the speed command FC.sub.V_0 (i.e., the speed V.sub.F_0) generated before the scraper 42 comes into contact with the surface Q. In this way, the processor 60 causes the moving mechanism 18 to move the scraper 42 rightward along the surface Q while pressing the scraper 42 at the pressing force F having a magnitude corresponding to the target value , thereby executing the scraping process SC.sub.2 m-1 of scraping the surface Q with the distal end 48b of the scraper 42.

[0096] When the scraper 42 (or the wrist flange 30b) reaches a position corresponding to the teaching point TP.sub.2, the processor 60 terminates the force control and generates a position control command PC.sub.3 for causing the scraper 42 to move to the teaching point TP.sub.3. The processor 60 then operates the robot 12 in accordance with the position control command PC.sub.3 to move the scraper 42 right upward to the teaching point TP.sub.3.

[0097] As a result, the scraper 42 moves right upward in the trajectory TR that is inclined to form an angle 5 (<90) with the surface Q of the workpiece W, and the distal end 48b of the scraper 42 separates from the surface Q at a position P2. In this manner, the surface Q is scraped by the scraper 42 over a distance x2 from the position P1 to the position P2, and the (2 m1)th scraping process SC.sub.2 m-1 is completed.

[0098] Note that in the present embodiment, it is assumed that a coordinate of the position P2 in the x-axis direction of the robot coordinate system C1 is substantially equal to the teaching point TP.sub.2. Subsequently, the scraper 42 reaches the teaching point TP.sub.3 (or a position immediately below the teaching point TP.sub.3). The recess R.sub.2 m-1 having a length x2 in the x-axis direction of the robot coordinate system C1 is formed in the surface Q through the (2 m1)th scraping process SC.sub.2 m-1 executed as described above.

[0099] The processor 60 executes the 2m-th scraping process SC.sub.2 m of forming the above-described recess R.sub.2 m in a similar manner to the (2 m1)th scraping process SC.sub.2 m-1. Specifically, three teaching points TP.sub.n (n=1, 2, 3) for forming the recess R.sub.2 m are set along the surface Q as illustrated in FIG. 15. In the present embodiment, the teaching point TP.sub.n for forming the recess R.sub.2 m illustrated in FIG. 15 is symmetrical to the teaching point TP.sub.n for forming the recess R.sub.2 m-1 illustrated in FIG. 12 with respect to a plane parallel to a y-z plane of the robot coordinate system C1.

[0100] The processor 60 then executes the position control and the force control in the 2m-th scraping process SC.sub.2 m in a similar manner to the above-described (2 m1)th scraping process SC.sub.2 m-1. Specifically, after the scraper 42 reaches the teaching point TP.sub.3 illustrated in FIG. 14 in the (2 m1)th scraping process SC.sub.2 m-1, the processor 60 causes the base 34 to rotate to the second orientation OR2, starts the position control, and generates a position control command PC.sub.n for causing the moving mechanism 18 to move the distal end 52b of the scraper 44 (the origin of the tool coordinate system C3: TCP) to the teaching point TP.sub.n illustrated in FIG. 15.

[0101] When the scraper 44 reaches the teaching point TP.sub.1 illustrated in FIG. 15, the processor 60 starts the force control and generates a force control command FC for controlling the position of the wrist flange 30b of the moving mechanism 18 in order to control the pressing force F (the reaction force F) obtained based on the detection data of the force sensor 14 to be at the target value .

[0102] While the scraper 44 is in contact with the surface Q, the processor 60 causes the scraper 44 to move in the direction MD in accordance with the position control command PC.sub.2 and causes the position of the wrist flange 30b of the moving mechanism 18 to shift in the z-axis direction of the robot coordinate system C1 in accordance with the force control command FC. When the scraper 44 (or the wrist flange 30b) reaches a position corresponding to the teaching point TP.sub.2 in FIG. 15, the processor 60 then terminates the force control and generates a position control command PC.sub.3 for causing the scraper 44 to move to the teaching point TP.sub.3.

[0103] Through the position control and the force control, the processor 60 causes the distal end 52b of the scraper 44 to move along the trajectory TR illustrated in FIG. 16. As a result, the scraper 44 scrapes the surface Q over a distance x2 from a position P1 to a position P2 in FIG. 16, and thereby the recess R.sub.2 m having a length x2 is formed in the surface Q.

[0104] Note that when the (2 m1)th scraping process SC.sub.2 m-1 is completed (i.e., when the scraper 42 reaches the teaching point TP.sub.3 in FIG. 14), the processor 60 may cause the base 34 to rotate to the second orientation OR2, and subsequently start the position control for the 2m-th scraping process SC.sub.2 m and start an operation to move the scraper 44 to the teaching point TP.sub.1 in FIG. 15 set for the next recess R.sub.2m.

[0105] Similarly, when the 2m-th scraping process SC.sub.2 m is completed (i.e., when the scraper 44 reaches the teaching point TP.sub.3 in FIG. 16), the processor 60 may cause the base 34 to rotate to the first orientation OR1, and subsequently start the position control for the next scraping process SC.sub.2 m-1 and start an operation to move the scraper 42 to the teaching point TP.sub.1 in FIG. 12 set for the next recess R.sub.2 m-1.

[0106] Alternatively, when the (2 m1)th scraping process SC.sub.2 m-1 is completed, the processor 60 may start the position control for the 2m-th scraping process SC.sub.2m, and subsequently rotate the base 34 from the first orientation OR1 to the second orientation OR2 while causing the scraper 44 to move to the teaching point TP.sub.1 in FIG. 15.

[0107] Similarly, when the 2m-th scraping process SC.sub.2 m is completed, the processor 60 may start the position control for the next scraping process SC.sub.2 m-1, and subsequently rotate the base 34 from the second orientation OR2 to the first orientation OR1 while causing the scraper 42 to move to the teaching point TP.sub.1 in FIG. 12. In this case, the processor 60 executes an operation to move the scraper 42 or 44 to the next teaching point TP.sub.n and an operation to rotate the base 34 about the axis A1 in parallel.

[0108] FIG. 17 schematically illustrates a time change characteristic of the pressing force F when the force control is executed in the scraping process SC of forming the recesses R.sub.1 to R.sub.7 illustrated in FIG. 10. As illustrated in FIG. 17, after the processor 60 causes the scraper 42 or 44 to come into contact with the surface Q at the position P1, the pressing force F rapidly increases to reach a peak value F.sub.P. Subsequently, the pressing force F rapidly decreases as the scraper 42 or 44 approaches the teaching point TP.sub.2, and becomes 0 when the scraper 42 or 44 separates from the surface Q at the position P2.

[0109] Since the length x2 of each of the recesses R.sub.1 to R.sub.7 in FIG. 10 is comparatively short, a distance (x1+x2) between the teaching point TP.sub.1 and the teaching point TP.sub.2 is set to be comparatively short. In this case, the processor 60 causes the scraper 42 or 44 to move upward before (or when) the pressing force F reaches the target value of the force control. Thus, in the present embodiment, the peak value F.sub.P is equal to or smaller than a target value .

[0110] On the other hand, FIG. 18 schematically illustrates a time change characteristic of the pressing force F when the force control is executed in the scraping process SC for forming the recesses R.sub.1 and R.sub.2 illustrated in FIG. 11. As illustrated in FIG. 18, after the processor 60 causes the scraper 42 or 44 to come into contact with the surface Q at the position P1, the pressing force F rapidly increases to reach the target value .

[0111] Subsequently, the processor 60 causes the scraper 42 or 44 to move in the direction MD through the position control while controlling the position of the wrist flange 30b so as to continuously maintain the pressing force F at the target value through the force control. Subsequently, the pressing force F rapidly decreases as the scraper 42 or 44 approaches the teaching point TP.sub.2, and becomes 0 when the scraper 42 or 44 separates from the surface Q at the position P2. The processor 60 controls the pressing force F so as to have the magnitude illustrated in FIG. 17 or FIG. 18 by executing the force control.

[0112] Note that the processor 60 may continuously execute the force control in parallel with the position control until the scraper 42 or 44 reaches the teaching point TP.sub.3 after passing through the teaching point TP.sub.1. In this case, the position control becomes more predominant over the force control as the scraper 42 or 44 approaches the teaching point TP.sub.2, and the processor 60 causes the scraper 42 or 44 (wrist flange 30b) to move in a direction away from the surface Q (i.e., upward) before reaching a position corresponding to the teaching point TP.sub.2.

[0113] The processor 60 subsequently causes the scraper 42 or 44 to move away from the surface Q at the position P2 and move toward the teaching point TP.sub.3 along the trajectory TR that is inclined to form the angle 5. In this case, the position P2 is shifted from the teaching point TP.sub.2 toward the teaching point TP.sub.3 side (i.e., to the right side in FIG. 14 or to the left side in FIG. 16), and the end point of the trajectory TR of the distal end 48b or 52b of the scraper 42 or 44 is located below the teaching point TP.sub.3. Also in this case can the pressing force F be controlled as illustrated in FIG. 17 or FIG. 18.

[0114] As described above, in the present embodiment, the robot 12 includes the pair of scrapers 42 and 44 extending so as to approach each other as extending from the proximal ends 46a and 48a toward the distal ends 48b and 52b, and the moving mechanism 18 that rotates the base 34 between the first orientation OR1 and the second orientation OR2.

[0115] According to this configuration, the scrapers 42 and 44 are switched by rotating the base 34 between the first orientation OR1 and the second orientation OR2, and the recess R.sub.2 m-1 can be formed by the scraper 42 and the recess R.sub.2 m can be formed by the scraper 44. This makes it possible to shorten a time from the end of the (2 m1)th scraping process SC.sub.2 m-1 for forming one recess R.sub.2 m-1 to the start of the 2m-th scraping process SC.sub.2 m for forming the next recess R.sub.2m, and thus a plurality of recesses R can be consecutively and efficiently formed in the surface Q. Accordingly, the cycle time of the scraping process can be reduced, and thus the productivity can be improved.

[0116] In the present embodiment, the base 34 extends along the axis A3 (first axis), and the pair of scrapers 42 and 44 are arranged so as to be opposite each other in the axis A3 direction. The moving mechanism 18 rotates the base 34 about the axis A1 (second axis) arranged to be orthogonal to the axis A3. According to this configuration, the orientation OR of the base 34 can be quickly switched between the first orientation OR1 and the second orientation OR2 with high accuracy.

[0117] In the present embodiment, the pair of scrapers 42 and 44 are arranged symmetrically to each other with respect to the axis A2 (third axis) that is orthogonal to the axes A1 and A3. According to this configuration, when the orientation OR of the base 34 is switched between the first orientation OR1 and the second orientation OR2, the angles by which the base 34 is rotated about the axis A1 can be made common.

[0118] Accordingly, a movement amount of the base 34 at the time of switching the orientation OR can be minimized, and thus the cycle time of the scraping process can be reduced, and the control for switching the orientation OR can be simplified. Since the magnitudes of the moments applied to the wrist 30 can be equalized when the orientation OR of the base 34 is switched, the orientation of the end effector 20 can be controlled with high accuracy.

[0119] Note that, after forming the recess R.sub.7 illustrated in FIG. 10, the processor 60 may consecutively form a second row of recesses R.sub.8 to R.sub.14 on a rear side of the first row of the recesses R.sub.1 to R.sub.7. Such a scraping process will be described with reference to FIG. 19. After forming the recess R.sub.7 with the scraper 42, the processor 60 rotates the base 34 from the first orientation OR1 to the second orientation OR2, and forms the recess R.sub.8 adjacent to a rear side of the recess R.sub.7 with the scraper 44.

[0120] The processor 60 subsequently switches the orientation of the base 34 between the first orientation OR1 and the second orientation OR2 to form the recess R.sub.2 m-1 with the scraper 42 and form the recess R.sub.2 m with the scraper 44. Accordingly, as illustrated in FIG. 20, the second row of the recesses R.sub.8 to R.sub.14 is formed in order from the right end edge B2 to the left end edge B1 at the rear side of the first row of the recesses R.sub.1 to R.sub.7. Among the recesses R.sub.1 to R.sub.14, the teaching points TP.sub.1 to TP.sub.3 illustrated in FIG. 12 are set for the recess R.sub.2 m-1, and the teaching points TP.sub.1 to TP.sub.3 illustrated in FIG. 15 are set for the recess R.sub.2m. The processor 60 executes the position control and the force control described above to form the recesses R.sub.1 to R.sub.14.

[0121] Note that when the recess R.sub.6 is adjacent to the right end edge B2 as illustrated in FIG. 21, the processor 60 rotates the base 34 from the second orientation OR2 to the first orientation OR1 after forming the recess R.sub.6 with the scraper 44, and forms the recess R.sub.7 adjacent to a rear side of the recess R.sub.6 with the scraper 42.

[0122] The processor 60 subsequently switches the orientation of the base 34 between the first orientation OR1 and the second orientation OR2 to form the recess R.sub.2 m-1 with the scraper 42 and form the recess R.sub.2 m with the scraper 44. Accordingly, as illustrated in FIG. 22, the second row of the recesses R.sub.7 to R.sub.12 is formed in order from the right end edge B2 to the left end edge B1 at a rear side of the first row of the recesses R.sub.1 to R.sub.6.

[0123] Note that the processor 60 can also switch the orientation of the base 34 between the first orientation OR1 and the second orientation OR2 to form the recess R.sub.2 m-1 by moving the scraper 44 leftward and form the recess R.sub.2 m by moving the scraper 42 rightward. The processor 60 automatically executes the scraping process SC described above in accordance with a computer program PG. The computer program PG may be provided in a form recorded in the memory 62 as a computer-readable recording medium such as a semiconductor memory, a magnetic recording medium, or an optical recording medium.

[0124] A robot system 80 according to another embodiment will be described next with reference to FIG. 23 to FIG. 25. The robot system 80 differs from the robot system 10 described above in that the robot system 80 further includes a cleaning device 82. The cleaning device 82 includes a fluid device 84 and a hose 86. For example, the fluid device 84 is an electric pump for supplying or suctioning a fluid (e.g., compressed gas). One end of the hose 86 is connected to the fluid device 84 and the other end thereof has an opening 88. The fluid device 84 supplies a fluid to the hose 86 and sprays the fluid from the opening 88 to the outside. Alternatively, the fluid device 84 suctions outside air through the opening 88.

[0125] On the other hand, the robot 12 is provided with a mounting member 90 as illustrated in FIG. 25. The mounting member 90 includes a rod 92 and a retaining ring 94 fixed to a distal end of the rod 92. A proximal end of the rod 92 is fixed to a movable element (e.g., the upper arm 28 or the wrist 30) of the moving mechanism 18 or the end effector 20 (e.g., the base 34).

[0126] The hose 86 of the cleaning device 82 is inserted into the retaining ring 94 as to be fixed in an inside thereof. The retaining ring 94 retains the hose 86 such that the opening 88 of the hose 86 is arranged between the distal ends 48b and 52b of the pair of scrapers 42 and 44, and is directed toward the distal ends 48b and 52b.

[0127] While executing the scraping process SC with the scraper 42 or 44, the processor 60 operates the fluid device 84 to blow away chips produced by the scraping process with the fluid sprayed from the opening 88 or suction the chips into the hose 86 through the opening 88 by suctioning outside air from the opening 88. The cleaning device 82 can suppress the chips produced during the scraping process from adhering to the scraper 42 or 44, and can thus improve processing quality.

[0128] An end effector 100 according to another embodiment will be described next with reference to FIG. 26. The end effector 100 can be removably attached to the wrist flange 30b via the force sensor 14 instead of the above-described end effector 20. The end effector 100 differs from the above-described end effector 20 in the following configuration.

[0129] Specifically, in the end effector 100, each of the scraper holders 38 and 40 is disposed at the base 34 so as to be movable along the axis A3 direction. For example, a rail (not illustrated) extending along the axis A3 direction is disposed at the bottom surface 34b of the base 34, and each of the scraper holders 38 and 40 includes an engaging section slidably engaging with the rail at an upper surface of each of the scraper holders 38 and 40. Accordingly, the scraper holders 38 and 40 engage with the base 34 so as to be slidable along the axis A3 direction.

[0130] The scraper 42 is held by the scraper holder 38 such that the proximal end 46a of the handle 46 is rotatable about an axis A6. Similarly, the scraper 44 is held by the scraper holder 40 such that the proximal end 50a of the handle 50 is rotatable about an axis A7. The axes A6 and A7 are parallel to each other and orthogonal to the axis A3. Accordingly, the scraper 42 is rotatably disposed at the base 34 via the scraper holder 38, and the scraper 44 is rotatably disposed at the base 34 via the scraper holder 40.

[0131] The end effector 100 further includes scraper driving units 102, 104, and 106. The scraper driving unit 102 includes, for example, a servo motor and is fixed to the base 34. The scraper driving unit 102 synchronously moves the scraper holders 38 and 40 so as to approach or separate from each other in response to a command from the control device 16.

[0132] More specifically, a ball screw mechanism (not illustrated) is disposed inside the base 34, and the scraper driving unit 102 can synchronously move the scraper holders 38 and 40 (i.e., the scrapers 42 and 44) so as to approach or separate from each other by operating the ball screw mechanism. This makes it possible to change the spacing between the distal end 48b of the scraper 42 and the distal end 52b of the scraper 44.

[0133] On the other hand, the scraper driving unit 104 includes, for example, a servo motor and is fixed to the scraper holder 38. The scraper driving unit 104 rotates the scraper 42 around the axis A6 in response to a command from the control device 16, thereby changing the angle 1 of the axis A4 with respect to the axis A3.

[0134] Similarly, the scraper driving unit 106 includes, for example, a servo motor and is fixed to the scraper holder 40. The scraper driving unit 106 rotates the scraper 44 around the axis A7 in response to a command from the control device 16, thereby changing the angle 2 of the axis A5 with respect to the axis A3.

[0135] As an example, the operator may operate the input device 66 to input the spacing as one of the machining conditions MC. In this case, the processor 60 operates the scraper driving unit 102 to automatically arrange the scraper holders 38 and 40 such that the spacing between the distal ends 48b and 52b is the input spacing .

[0136] As another example, the operator may operate the input device 66 to input the angles 1 and 2 as the machining conditions MC. In this case, the processor 60 operates the scraper driving units 104 and 106 to rotate the scrapers 42 and 44 such that the input angles 1 and 2 are obtained.

[0137] As still another example, the operator may operate the input device 66 to input at least one parameter MC1 of the angles 1 and 2, the angle 3 illustrated in FIG. 5 (specifically, an angle 3_.sub.1 in FIG. 6 and an angle 3_.sub.2 in FIG. 8), the angle 6 at which the base 34 is rotated between the first orientation OR1 and the second orientation OR2, the above-described spacing , or dimensions DM of the scrapers 42 and 44 (e.g., the lengths of the blades 48 and 52 along the axes A4 and A5 directions) among the machining conditions MC.

[0138] The processor 60 may automatically determine a parameter MC2 other than the input parameter MC1 among the machining conditions MC in accordance with the parameter MC1. For example, the operator inputs the angle 3 and the dimensions DM as the parameter MC1. The processor 60 automatically determines the angles 1 and 2, the angle 6, and the spacing as the parameter MC2 in accordance with the input parameter MC1. The processor 60 causes the scraper driving unit 102 to move the scrapers 42 and 44, and causes the scraper driving units 104 and 106 to rotate the scrapers 42 and 44 so as to obtain the angle 1, the angle 2, and the spacing determined.

[0139] In this case, a data table DT1 may be stored in advance in the memory 62, the data table DT1 having stored the parameter MC1 (e.g., the angle 3 and the dimensions DM) and the parameter MC2 (e.g., the angle 1 or 2, the angle 6, and the spacing ) in association with each other. The processor 60 can search for the parameter MC2 corresponding to the input parameter MC1 in the data table DT1 to automatically determine the parameter MC2.

[0140] Note that the processor 60 may determine the parameter MC2 in accordance with the input parameter MC1 such that the angle 6 is minimized. According to this configuration, it is possible to reduce the movement amount of rotating the base 34 between the first orientation OR1 and the second orientation OR2 in the scraping process, and thus the cycle time can be reduced. The processor 60 may generate image data of an input screen for the operator to input the machining conditions MC and cause the display device 68 to display the image data.

[0141] As described above, in the present embodiment, the pair of scrapers 42 and 44 are movably disposed at the base 34 such that the spacing is variable. The scrapers 42 and 44 are rotatably disposed at the base 34. According to this configuration, by appropriately setting the machining conditions MC (the angles 1 and 2, and the spacing ), the arrangement of the scrapers 42 and 44 can be finely adjusted in accordance with application.

[0142] Note that the processor 60 may cause the scraper 42 or 44 to rotate with respect to the base 34 when executing the scraping process SC, using the end effector 100. This function will be described with reference to FIG. 27. In the example illustrated in FIG. 27, a protrusion E protruding upward from the surface Q is formed on the surface Q. In such a case, when the scraping process to scrape the surface Q to the left is executed with the scraper 44, the other scraper 42 may interfere with the protrusion E.

[0143] In order to avoid such interference, when executing the scraping process with the scraper 44, the processor 60 operates the scraper driving unit 104 based on position data of the protrusion E in the robot coordinate system C1 to rotate the scraper 42 so as to move away from the protrusion E, thereby making it possible to suppress the interference between the scraper 42 and the protrusion E.

[0144] Note that one of the scrapers 42 and 44 may be movably disposed at the base 34, and the other may be fixed to the base 34. For example, in the case where only the scraper 42 is disposed at the base 34 so as to be movable along the axis A3, the processor 60 may suppress the interference between the scraper 42 and the protrusion E by operating the scraper driving unit 102 based on the position data of the protrusion E in the robot coordinate system C1 to move the scraper 42 away from the protrusion E when executing the scraping process with the scraper 44.

[0145] In the end effector 100, one of the scrapers 42 and 44 may be rotatably disposed at the base 34, and the other may be non-rotatably fixed to the base 34. For example, the scraper 42 may be rotatably disposed at the scraper holder 38, and the scraper 44 may be non-rotatably fixed to the scraper holder 40 in a state where the axis A5 of the scraper 44 is inclined at the angle 2 with respect to the axis A3.

[0146] The blade 48 of the scraper 42 and the blade 52 of the scraper 44 may have dimensions DM different from each other. For example, a width of the blade 48 along a direction orthogonal to the axis A4 may be smaller (or larger) than a width of the blade 52 along a direction orthogonal to the axis A5. In this case, a width of the recess R.sub.2 m-1 formed by the scraper 42 is smaller (or larger) than a width of the recess R.sub.2 m formed by the scraper 44.

[0147] After forming all the recesses R.sub.1 to R.sub.7 illustrated in FIG. 10 with the scraper 42 as rough machining, the processor 60 may move the scraper 44 leftward so as to pass over the recesses R.sub.1 to R.sub.7 from the right end edge B2 to the left end edge B1, thereby forming the recess R.sub.2 illustrated in FIG. 11 overlapping the recesses R.sub.1 to R.sub.7 as finish machining.

[0148] According to this configuration, the processor 60 can selectively use the scrapers 42 and 44 to consecutively execute the rough machining and the finish machining. The width of the blade 48 of the scraper 42 that performs the rough machining may be smaller (or larger) than the width of the blade 52 of the scraper 44 that performs the finish machining.

[0149] Note that in the above-described embodiment, a case has been described in which the pair of scrapers 42 and 44 extend so as to approach each other as extending from the proximal ends 46a and 50a toward the distal ends 48b and 52b. However, the pair of scrapers 42 and 44 may extend so as to separate from each other as extending from the proximal ends 46a and 50a toward the distal ends 48b and 52b.

[0150] Such an embodiment is illustrated in FIG. 28. An end effector 20 illustrated in FIG. 28 differs from the above-described end effector 20 in that the positions of the scraper holder 38 and the scraper 42 and the positions of the scraper holder 40 and the scraper 44 are interchanged. In the end effector 20, the pair of scrapers 42 and 44 extend so as to separate from each other as extending from the proximal ends 46a and 50a toward the distal ends 48b and 52b.

[0151] The pair of scrapers 42 and 44 may be arranged symmetrically to each other with respect to the axis A2. Also in the end effector 20, the processor 60 can operate the moving mechanism 18 to rotate the base 34 between the first orientation OR1 in which the distal end 48b of the scraper 42 is closer to the surface Q of the workpiece W than the distal end 52b of the scraper 44 and the second orientation OR2 in which the distal end 52b of the scraper 44 is closer to the surface Q of the workpiece W than the distal end 48b of the scraper 42.

[0152] Note that in the end effector 20, similarly to the above-described end effector 100, the scrapers 42 and 44 may be disposed at the base 34 so as to be movable along the axis A3 direction, and the scrapers 42 and 44 may be rotatably disposed at the base 34. In this case, the end effector 20 may further include the scraper driving units 102, 104, and 106 described above.

[0153] In the embodiment described above, a case has been described in which the wrist 30 (i.e., the end effector 20) is disposed at the distal end of the upper arms 28 so as to be rotatable about the axis A1. However, the wrist 30 may be non-rotatably fixed to the distal end of the upper arm 28. In this case, the processor 60 operates the turning body 24, the lower arm 26, and the upper arm 28 to rotate the base 34 between the first orientation OR1 and the second orientation OR2.

[0154] The end effector 20, 20, or 100 may include an additional scraper in addition to the scrapers 42 and 44. For example, the end effector 20, 20, or 100 may include a first pair of scrapers 42A and 44A, and a second pair of scrapers 42B and 44B arranged opposite to each other in a direction orthogonal to the axes A3 and A2.

[0155] The structures of the end effectors 20, 20, and 100 described above are examples, and various other structures are conceivable. For example, the base 34 and the scrapers 42 and 44 may be configured to extend along a common arc axis. In this case, an assembly of the base 34 and the scrapers 42 and 44 has a substantially C-shaped profile.

[0156] In the embodiment described above, a case has been described in which the processor 60 executes the position control and the force control in parallel in the scraping process SC. However, the processor 60 can perform the scraping process SC by executing only the position control. In this case, by appropriately setting a plurality of teaching points TP.sub.n with respect to the surface Q of the workpiece W, the pressing force F during the scraping process can be controlled as illustrated in FIG. 17 or FIG. 18. In this case, the force sensor 14 can be omitted from the robot system 10 or 80.

[0157] For example, the force sensor 14 may be interposed between a work cell and the robot base 22, or may be disposed at any portion of the robot 12. The force sensor 14 may be provided, not only at the robot 12, but also at the workpiece W. For example, the pressing force F can be detected by interposing the force sensor 14 between the workpiece W and a placement surface on which the workpiece W is placed. The force sensor 14 is not limited to a six-axis force sensor, and may be, for example, a single-axis or a three-axis force sensor, or may be any sensor capable of detecting the pressing force F.

[0158] The robot 12 is not limited to being a vertical articulated robot, and may be any type of robot such as a horizontal articulated robot and a parallel link robot, or may be a movement machine including a plurality of ball screw mechanisms. Although the present disclosure has been described above through the embodiments, the above embodiments are not intended to limit the invention as set forth in the claims.

REFERENCE SIGNS LIST

[0159] 10, 80 Robot system [0160] 12 Robot [0161] 14 Force sensor [0162] 16 Control device [0163] 18 Moving mechanism [0164] 20, 20, 100 End effector [0165] 34 Base [0166] 42, 44 Scraper [0167] 60 Processor [0168] 82 Cleaning device