MOBILE ROBOT ON-BOARD VISION SYSTEM

Abstract: A mobile robot (12) or automatic guided vehicle having a multijointed robot arm (4). The robot arm (4) has a gripper (6) and charge coupled device camera (1) mounted at the free end of the arm (4). The gripper (6) is for engaging, holding and releasing workpieces (11). The robot arm (4) transfers workpieces (11) to and from process machines (13) for storage areas. The robot arm (4) finds the workpiece (11) or the place to set down by looking at two light emitting diodes (14) placed a known distance and orientation away from the workpiece (11) or set down place. The robot arm (4) and camera (1) are controlled by a computer on board the vehicle (12). The automatic guided vehicle (12) and robot arm (4) are used to transfer workpieces (11) from place to place in an automated manufacturing environment.

Description: This invention pertains to mobile robots or automatic guided vehicles (AGVs) and more particularly, to computer control and processing of visual images from a CCD camera in a computer controlled robotic arm. DESCRIPTION OF THE RELATED ART Present day assembly processes, such as automated flexible manufacturing systems or cells for manufacturing small, delicate parts such as integrated circuits, require that accurate workpiece transfer takes place between an automatic guided vehicle (hereinafter, AGV) and an assembly or process machine, or a workpiece storage location. The problem is highlighted in those systems in which fully automatic operation without human intervention is desired to complete the workpiece transfer. Typically, present day material handling systems require a high degree of docking or parking accuracy for such workpieces to be transferred successfully without human assistance. Particularly where small workpieces are involved, the typical AGV is not able to ascertain the precise location of a workpiece prior to transferring it automatically between the AGV and a process machine or storage location. Also desirable for successful workpiece transfer is for the presence or absence of a workpiece to be detectable. That is, if there is no workpiece at a process machine, that fact should be ascertainable automatically. Related to the problem of accurate workpiece transfer is the task of ensuring accurate parking of an AGV. Often, stops or cone shaped devices are used for mechanically guiding an AGV into a docking or parking position. These mechanical devices present the disadvantages of vibrating the AGV and of finding a suitable place in which to locate and mount them. In EP-A-0 120 197, there is described an optical track-following apparatus for an industrial robot according to the first part of claim 1. The apparatus includes means for illuminating a line to be followed or for producing a light-emitting line to be followed, an image of the line being focused on to a light sensitive panel from which correction signals for the robot are derived by a computer. It is an object of the present invention to provide an improved robot system. According to the present invention there is provided a visually guided robot system for transferring workpieces between work sites on work stations, wherein a vision device is provided on a robot arm to provide location information to the robot control system, characterized in that the vision device is attached to the robot arm adjacent to a robot arm gripper assembly, and in that the system further includes a nest means for holding a workpiece at a work station surface; and a pair of beacon devices located adjacent the nest means on a work station surface for viewing by said vision device to enable the robot system to determine the location of the work site on the work station. One example of the invention provides for a CCD camera mounted on the gripper end of a flexible, workpiece-manipulating, robot arm, which is in turn mounted upon an AGV or mobile robot. The gripper end of the robot arm includes a computer controllable gripper for grasping and releasing workpieces. The camera is rigidly mounted adjacent to the gripper and has fixed coordinates in the gripper coordinate system, or frame of reference. The invention also provides for at least two active or passive locating beacons in known positions with respect to the workpiece nest on a process machine. The beacons are detected by the camera and the visual information is then sent to a control computer on board the AGV, which processes the information and guides the robot arm in picking up or depositing workpieces. The visual information also can be used to guide the robot arm in pushing a switch located on the process machine, for the purpose of letting the process machine know that the AGV is ready to load or unload a workpiece. During a workpiece transfer sequence, the robot arm is guided with high precision to a workpiece nest, from which a workpiece is picked up or deposited, whichever the case may be. The high accuracy is achieved by use of the CCD camera, which provides visual information to the AGV computer about the position of the beacons with respect to the gripper end of the robot arm. This aspect of the invention is advantageous over prior art techniques in that the CCD camera being used as a guidance sensor is located adjacent to the gripper, giving a greatly expanded scale of view of the beacons with respect to the gripper. Also, because the camera is fixed in the gripper coordinate system, the camera always points in the same direction relative to the gripper, no matter how the gripper end of the robot arm is tilted or rotated. Thus, the targeted beacons can always be kept in view as the gripper moves toward the workpiece nest. This high degree of manipulative accuracy allows the robot arm to transfer very small parts, such as are associated with integrated circuit manufacture. Fully automatic parts transfer is, therefore, possible without necessity of human assistance. Because the robot arm gripper end can be accurately positioned anywhere within the reach of the arm, the AGV docking accuracy requirements correspondingly can be less. This is advantageous over prior art systems in which an AGV must be positioned with greater accuracy to effect successful load transfers. Not only is greater parking accuracy more difficult to achieve technically, but it is more expensive as well, since costlier guidance equipment must be used. One of the embodiments of the invention includes a beacon located in the workpiece nest. From the perspective of the CCD camera in the robot arm, the view of the beacon is blocked when a workpiece is present in the workpiece nest, and is not blocked when a workpiece is not present. Thus, the control computer can determine whether or not a workpiece is present in the nest. This feature prevents one workpiece from being placed upon another already in the nest, and prevents the AGV from attempting to pick up a workpiece which is not there. The task of material tracking is simplified as well, since the control computer can inform a supervisory computer that a workpiece is already at the designated process machine or that an expected workpiece is not there. Another embodiment of the invention utilizes the robot arm and CCD camera to achieve greater parking accuracy than may be obtainable from the primary navigation system. In this embodiment, the computer on board the AGV responsible for navigation receives data from the control computer. When the AGV gets within robot arm's length of the expected position of the desired parking location, the robot arm and camera search for the locating beacons on the process machine or other parking place and when they are found, the AGV navigation computer is able to determine with precision the AGV location with respect to the desired parking place. The guidance system then can accurately bring the AGV into the desired parking position. In a further embodiment, the robot arm is used to press a switch located on a process machine, to inform the process machine that a workpiece transfer is desired. A beacon is located near the switch and is for indicating the location of the switch to the CCD camera which, in cooperation with the control computer, guides the gripper end of the robot arm into sufficiently forceful contact with the switch to trip it. This beacon also is useful for signaling to the AGV as a part of a handshaking sequence. One of the advantages of the invention is in providing a single structure, namely, the robot arm and CCD camera, to effect more than one of the above features of the invention. A further advantage to using the CCD camera is its small size and weight, which is an important consideration when, as here, the camera is mounted upon the robot arm. These objects and advantages of the invention will be apparent from a reading of the specification in conjunction with the figures. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a perspective view showing the gripper end of the robot arm with the CCD camera mounted just above the gripper, and showing a workpiece nest and beacons on a process machine. Figure 2 is a side view showing an AGV with its robot arm manipulating a workpiece on a process machine. Figure 3 is a system level block diagram. Figure 4 is a block diagram illustrating the vision calibration mode. Figure 5 is a block diagram illustrating the teach mode. Figure 6 is a block diagram illustrating the playback mode. Figure 7 is a block diagram illustrating the subroutine used by the teach and playback modes to calculate centroids. Figure 8 shows the windows used in calculating centroids. Figure 9 is a block diagram illustrating the handshake sequence between an AGV and a process machine to initiate workpiece transfer between the AGV and the process machine. Figure 10 is a block diagram illustrating the handshake sequence between an AGV and a process machine at the termination of workpiece transfer between the AGV and the process machine. Figure 11 is a block diagram showing the control computer, CCD camera and robot arm. DESCRIPTION OF THE PREFERRED EMBODIMENTS As seen in Figure 1, a charge coupled device (CCD) camera 1 is mounted upon a robot arm gripper end 2. A vision cable 3 extends from the CCD camera back along the robot arm 4 to a general purpose computer (referred to herein as the control computer 24, shown in Figure 11) via interface circuitry 25 well known in the art. The robot arm 4 is connected to the control computer 24 via interface circuitry 25, as shown in Figure 11. Also mounted upon the robot arm gripper end 2, immediately subjacent to the CCD camera 1, is a gripper assembly 5 which includes opposing gripper fingers 6. The gripper fingers 6 are slidably mounted in an actuation box 7 in which there is a motor controlled by the control computer 24 to actuate a set of gears to slidably move simultaneously the fingers 6 together or apart, in the direction of the arrows 8 or 9 respectively. Mounted on each finger 6 is workpiece sensor 10 to sense the presence or absence of a workpiece, such as the workpiece 11 shown in Figure 2. Preferably, the sensors 10 are well known optical sensors or proximity detectors. As seen in Figure 2, the robot arm 4 is multijointed which gives it great flexibility. Joints can be seen at 20, 21, 22 and 23. Joint 23 is a swivel joint which allows the robot arm gripper end 2 to rotate about its axis. Turning now to Figure 2, an AGV 12 is shown upon which is mounted a robot arm 4 with a workpiece 11 held by the gripper fingers 6. The robot arm 4 and workpiece are shown in a position in which the robot arm can either deposit the workpiece by moving the gripper fingers 6 apart, or remove the workpiece by moving the fingers 6 together and retracting the robot arm toward the AGV 12. To deposit the workpiece requires spreading the fingers 6 until both of the the workpiece sensors 10 indicate to the control computer 24 that they no longer detect the presence of the workpiece 11. Similarly, removing the workpiece 11 from the process machine 13 requires that the fingers 6 be moved toward each other a sufficient distance to cause both workpiece sensors 10 to detect the presence of the workpiece. Referring back to Figure 1, a pair of locating beacons 14 is positioned in the upper surface 15 of the process machine 13, near a workpiece nest 16. The workpiece nest 16 is for holding a workpiece while operations are carried out upon it by the process machine. The two locating beacons 14 preferably are a pair of light emitting diodes (LEDs) and are detectable by the CCD camera 1. After the locating beacons 14 have been detected by the CCD camera 1, the control computer 24 processes the visual information from the camera 1, and from it determines positions of the locating beacons 14 with respect to the robot arm. The control computer 24 has stored in its memory the expected position of the workpiece nest with respect to the locating beacons, thus, after the control computer 24 knows the position of the locating beacons with respect to the robot arm, it is simple geometry to calculate the position of the workpiece nest with respect to the robot arm. With the position of the workpiece nest relative to the robot arm 4 known, the control computer 24 knows with great precision where to direct the robot arm in order to deposit or remove workpieces from the process machine 13. One embodiment of the invention includes a nest beacon 17 located within a workpiece nest 16 as shown in Figure 1. Preferably, this beacon also is an LED. The nest beacon 17 is visible to the CCD camera 1 when a workpiece is not present in the nest, and the nest beacon is not visible when the workpiece is in the nest. Consequently, prior to beginning a load/unload sequence, the control computer 24 can quickly determine whether or not a workpiece is already present in the nest by directing the robot arm to train the CCD camera 1 on the expected position of the nest. Another embodiment of the invention includes a pushbutton switch 18 and closely adjacent switch beacon 19, both mounted on the upper surface 15 of the process machine 13, as shown in Figure 1. Preferably, the switch beacon 19 is an LED. Ideally, the process machine 13 is computer controlled, and the switch beacon 19 and pushbutton switch 18 are used for positive handshaking between the AGV and process machine by pressing the switch with the robot arm gripper assembly 5 and monitoring the on/off condition of the beacon with the CCD camera 1. The control computer 24 locates the pushbutton switch 18 by finding the switch beacon 19 with the CCD camera 1. The gripper assembly 5 is sufficiently large and the pushbutton switch 18 close enough to the switch beacon 19 to allow the control computer 24 simply to direct the gripper assembly toward the switch beacon and be assured of coming into contact with the pushbutton switch. It is obvious that infrared (IR) LEDs could be used to perform the handshake sequence rather than using the LED/pushbutton-switch combination. In a similar vein, IR LEDs, or any other wavelength, could be used for all the beacons. IR is attractive since it is well known that typical CCD cameras are most sensitive to IR wavelengths, however, LEDs in the visible spectrum are preferred since it is easier to spot malfunctioning units. It is obvious that the locating beacons 14 can also be provided for storage locations as well as for the processing locations on the process machines. Thus, the AGV could store and retrieve parts from storage. SYSTEM OPERATION Turning now to Figure 3, an overall system view of the AGV workpiece transfer system is shown. After the AGV powers up at 100, the control computer 24 transfers from bubble memory, or other nonvolatile mass storage, the software necessary to run the AGV workpiece transfer system, as seen at 101. At 102 the decision is made by a human operator whether or not to calibrate the vision system. If the vision system has never been calibrated or if recalibration is required due to anything which could have caused rotation of the x-y plane of the CCD camera coordinate system about the optical axis of the CCD camera 1, then the operator will choose to calibrate the vision system at 103. The vision calibration mode is illustrated in Figure 4. The purpose of this mode is to find the relationship between the CCD camera x-y coordinate system and the gripper x-y coordinate system. The two x-y planes can be made parallel by mechanical alignment, however, it is more difficult to mechanically rotate the camera 1 to make sure that the two x-axes are parallel and the two y-axes are parallel. Thus, any rotational angle between the two sets of axes is found by the vision calibration mode 103, and coordinates of objects seen by the CCD camera 1 are adjusted mathematically by the control computer 24 to be in terms of the gripper coordinate system. Because both the camera 1 and gripper assembly 5 are mounted on the same structure (the robot arm gripper end 2), the relationship between the two coordinate systems remains fixed as long as none of the component parts of the gripper assembly or CCD camera are changed or otherwise disturbed. The overall frame of reference for the AGV workpiece transfer system is the AGV base coordinate system, and it is in this coordinate system that the control computer 24 works when it calculates the positions of the various structures, e.g., workpiece nest 16, located on the process machine 13. Therefore, the coordinates of objects detected by the CCD camera 1 must eventually be put in terms of the base coordinate system. The mechanical geometry of the robot arm is well known to the control computer 24, so, the coordinates of objects in the gripper coordinate system can be mathematically transformed by the control computer into coordinates in the AGV base coordinate system. Thus, by determining in vision calibration mode 103 the mathematical relationship between the CCD camera coordinate system and the gripper coordinate system, the control computer 24 can mathematically transform coordinates from the CCD camera coordinate system into coordinates in the AGV base coordinate system. Returning to Figure 3, the human operator decides at 104 whether or not to enter the teach mode 105. The purpose of the teach mode 105 is to find and store in the control computer 24 memory, the AGV base coordinates of each beacon, and the x, y and theta offsets for the workpiece nests, for each of the different logical process machine layouts of beacons and workpiece nest. Theta is an angle measured from a line parallel to the x-axis in the x-y plane. As an example, in a flexible manufacturing cell with ten process machines, there may be only three logical layouts involved. That is, more than one machine will have the same arrangement of beacons and workpiece nest with the same geometrical spacings and angles between the respective beacons and workpiece nest. Some of these logical layouts will have a pushbutton switch 18 associated with one of the beacons 19, and one embodiment of the invention includes a nest beacon 17 inside each workpiece nest 16. The teach mode 105 is illustrated in Figures 5, 7 and 8. Turning again to Figure 3, the human operator decides at 106 whether or not to enter the autorun mode 107. The autorun mode is the working mode for the AGV workpiece transfer system in which the AGV is transferring workpieces to and from various process machines or storage locations. The autorun mode is illustrated in Figures 6, 7 and 8. Figure 9 illustrates the handshake sequence between an AGV 12 and a process machine 13 which takes place prior to workpiece transfer. One of the purposes of the handshake is to inform both the AGV and the process machine that the other is ready to begin workpiece transfer. Figure 10 illustrates the handshake sequence which takes place between the AGV and the process machine after a workpiece has been successfully transferred. One of the purposes of the ending handshake is to let both the AGV and process machine know that the workpiece transfer has concluded and each of the parties to the transfer can now proceed with other tasks. A further purpose served by both handshake sequences is relevant where a central computer is scheduling work, keeping track of material flow, and controlling the AGV and process machines. That purpose is that the central computer is informed in a positive way when work is, and is not, successfully started and completed.

Claims: A visually guided robot system for transferring workpieces between work sites on work stations, wherein a vision device (1) is provided on a robot arm to provide location information to the robot control system, characterized in that the vision device is attached to the robot arm adjacent to a robot arm gripper assembly (5), and in that the system further includes a nest means (16) for holding a workpiece at a work station surface (15); and a pair of beacon devices (14) located adjacent the nest means (16) on a work station surface (15) for viewing by said vision device (1) to enable the robot system to determine the location of the work site on the work station. The visually guided robot system according to claim 1, further characterized by an additional beacon device (17) located within said nest means. The visually guided robot system according to claim 1, further characterized by handshake device (18) to enable the robot control system to know when a workpiece transfer is to begin and is to end. The visually guided robot system according to claim 3, characterized by a further beacon device (19) located adjacent to said handshake device (18). The visually guided robot system according to claim 1, characterized in that the robot arm gripper assembly has gripper fingers (6) and there is provided a sensor device (10) located in each gripper finger (6) to determine when the gripper assembly (2) is holding a workpiece.

Inventors: CHEN, NAI-YUNG, MCCLURE, VIRGE WARD
Applicants: TEXAS INSTRUMENTS INCORPORATED
Application year: 1987
Main classification: B25J19
IPC codes: B25J19, G06T1, B25J13, B23P19, B25J15, B25J5, H01L21, B23Q17, G05D1