VERSATILE ROBOT CONTROL SYSTEM

Abstract: An impoved, versatile robot control system (10) comprises a general purpose computer (14) with a general purpose operating system in electronic communication with a real-time computer subsystem (16). The general purpose computer includes a program execution module (18) to selectively start and stop processing of a program of robot instructions (24) and to generate a plurality of robot move commands (26). The real-time computer subsystem (16) includes a move command data buffer (34) for storing the plurality of move commands (26) , a robot move module (32) linked to the data buffer (34) for sequentially processing the moves and calculating a required position for a robot mechanical joint. The real-time computer subsystem (16) also includes a dynamic control algorithm (38) in software communication with the move module (32) to repeatedly calculate a required actuator activation signal (50/52) from a robot joint position feedback signal (44/46).

Description: VERSATILE ROBOT CONTROL SYSTEM Field of the Invention This invention relates to an apparatus and method for controlling a robot, and more particularly, to a versatile control system suitable for controlling robots of various electromechanical configurations. Copyright Notification Portions of this patent application contain materials that are subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document, or the patent disclosure, as it appears in the Patent and Trademark Office. Background of the Invention Industrial robots and similar highly flexible machine tools gained commercial acceptance during the late 1970s. Since then, the use of industrial robots has only increased, particularly for automobile manufacturing . The guiding purpose for industrial robots is manufacturing flexibility. Robots allow assembly lines and work cells to make different articles with no or minimal manual equipment changes. The list of robot applications in manufacturing is long and ever increasing. Examples include computer vision inspection, spot and arc welding, spray painting, drilling, part placement, and adhesive application. The boundary between robots and machine tools is not strictly defined. Compared with conventional machine tools, robots generally have more joints (or axes) of motion thereby offering more degrees of freedom for positioning an end effector. In the robotics field, the term "end effector" has been adopted to cover the variety of active equipment carried by robots. Such equipment varies according to the manufacturing application, e.g. spot welding. Robots generally include positioning arms with mechanical joints, actuators such as motors for causing movement about the joints, and sensors which aid in determining the position (or pose) of the robot. Although most include these core components, industrial robots new and old otherwise vary greatly in their electromechanical configurations . For example, some robots rely only on revolute, (i.e. rotary) joints, while some are equipped with combinations of linear and revolute axes. Robots with a series of extending arms and revolute joints have been labeled articulating robots. Even among a given class of robots there is mechanical variation. The revolute joints of articulating robots may be, for example, offset from their supporting arm - a shoulder joint, centered to the supporting arm - an elbow joint or axially aligned with the supporting arm - a wrist joint. Likewise, linear joints may be co-linear or orthogonal. Actuators and feedback sensors are another source of the varying configurations. For example, some robots are equipped with stepper motors, others servo motors. Electronic control systems are employed to control and program the actions of robots. For the necessary coordinated action between the end effector and the robot positioning, robot control systems preferably provide some level of software programming and an interface to field I/O and end effector subsystems. Conventional robot control systems are collections of customized electronics that vary according to robot configuration and robot manufacturer. In manufacturing processes, robots are directed by a list of control instruction to move their end effector through a series of points in the robot workspace. The sequence (or program) of robot instructions are preferably maintained in a non-volatile storage system (e.g. a computer file on magnetic-disk). Manufacturing companies, the robot users, through their engineers and technicians, have come to demand two important features from manufacturing control systems. First, robot users seek control systems implemented using commercially standard computers and operating systems rather than customized proprietary systems. This trend toward the use of commercially standard computer hardware and software has been labeled the "open systems movement." Control systems based on standard computers are preferred because they offer robot users simplified access to manufacturing data via standard networks and I/O devices (e.g. standard floppy drives), the ability to run other software, and a competitive marketplace for replacement and expansion parts . Underlying the open systems movement is the goal of reducing robot users' long-term reliance on machine tool and robot manufacturers for system changes and maintenance. A second feature sought by robot users is a common operator and programmer interface for all robots, facility (if not company) wide. A common user interface for all robots reduces the need for specialized operator training on how to use the customized proprietary systems . With respect to the open-systems feature, efforts at delivering a robot control system based on standard, general purpose computer systems have not been fully successful because of the limitations of general purpose operating systems. Robot safety and accuracy requirements dictate that robot control systems be highly reliable, i.e. crash resistant, and tied to real-time. The multi-feature design objectives for general purpose operating systems such as Microsoft Windows NT ® have yielded very complex, somewhat unreliable software platforms. Moreover, such systems cannot guarantee execution of control loops in real-time. With respect to the common operator interface features, attempts to offer even limited standards to operator interfaces have not extended beyond a specific robot manufacturer. Notwithstanding the difficulty in getting different robot manufacturers to cooperate, the wide variety of electromechanical configurations has heretofore substantially blocked the development of robot control systems with a common operator interface. Accordingly, it would be desirable to provide an improved robot control system that both employs commercially standard computer systems and accommodates robots of different configurations. Specifically, it would be desirable to provide the advantages of open systems and a common operator interface to robot control . Summary of the Invention Robot control systems of the present invention provide robot control via commercially standard, general purpose computer hardware and software . The control systems and methods according to the present invention are usable with robots of varying electromechanical configurations thereby allowing a common operator interface for robots from different robot manufacturers. The present invention provides a control system for running or processing a program of robot instructions for robots equipped with a mechanical joint, a mechanical actuator to move the joint and a position feedback sensor. The robot mechanical actuators receive an activation signal and the feedback sensor provides a position signal . A control system according to the present invention includes a general purpose computer with a general purpose operating system and a real-time computer subsystem in electronic communication with the general purpose computer and operably linked to the mechanical actuator and the position feedback sensor. The general purpose computer includes a program execution module to selectively start and stop processing of the program of robot instructions and to generate a plurality of robot move commands. Within the real-time computer system is a move command data buffer for storing a plurality of move commands. The real-time computer subsystem also includes a robot move module and a control algorithm. The move module is linked to the data buffer to sequentially process the plurality of move commands and calculate a required position for the mechanical joint. The control algorithm is in software communication with the robot move module to repeatedly calculate a required activation signal from the feedback signal and the required position for the mechanical joint. Another aspect of the present invention provides a robot control system suitable for controlling robots of different electromechanical configurations. The control system includes a robot-independent computer unit in electronic and software communications with a robot-specific controller unit. The robot-independent computer unit is operably linked to the robot by an I/O interface and includes a video display and a first digital processor running an operator interface module for creating a sequence of robot move commands. The robot-specific controller unit includes a second digital processor running a real-time tied operating system and a robot move module for executing the robot move commands. ω t t H H o o σι O σι TJ H- n H- H- TJ O ø> O ≤ φ rr K H- φ rr trJ rr Mi φ ω Ω O Hi CL H- 0 Hi 3 0 3 H( Ml H O 0 ) g j 0 3 tr Hi O O Φ O TJ O Φ 3 σ Φ 3 Q-, (D rr 3 rr o* φ tr TJ Φ H- Hi Φ Ω 3 φ tr Ml Ω 0 Mi (D Ml C C CD H H- TJ n 0 0 c Φ rr Ω O Mi Hi 0 H- rr Φ 3 H- CO O fD O n c 3 J TJ rr CD 0 O Ml ^ CD rr 3 H- ø ) rr 3 C m Hi rr IQ rr rr 3 tr c r C H- H rr * : TJ Φ Φ Hi CL, IQ rr •« H- CL H H- d Hi H rr 0 Φ O 3 φ O M Φ Φ O \-> O C O 3 φ 0 Φ 0 n 0 ) H- rr 0 ) IQ φ CD O !D CL, o Φ Φ Φ 3 O H| Hi ø ) CQ CQ l-h 3 0 ) rr 0 ) H- rr 3 Φ 3 rr H- CO H-" Ω φ TJ 0 ) ^. rr H- 3 O H- 0 ) H- rr 3 3 H- rr Mi Ω Φ rr Ω Φ rr CL Mi rr 0 ) m ^ H- 3 ^ O 3 ^ 3 3 ► τ| rr Φ 3 ^ O H- Hi Ω H- tr Hi M- H- H- tr H P- 0 O IQ 1-5 fD 3 IQ rr O Ω CQ H Ω 3 H- rr 3 ø) 0 ) O co Hi φ Ω tr r- l-h O 3 O Ω 3 Ml Ω Φ Ml Ω H- rr Ω CL, 0 ) d - Hi IQ 3 rr 3 T CQ O Φ Ml rr ϊ ω O σ α rr H- H- c; rr i 9 3 H- rr a Φ rr rr rr O H- O ^ rr φ 3 Φ £ JO 3 0 # H- ifl 3 ?o tr O O < O 3 ^ » CO H- 3^ H- 3 rr Ω Hi 0 ) Ml O Hi ø ) H Ω fD rr M O c CL, M φ O 0 M Φ 3 Φ M H- O Φ O Φ tr 0 ) ø ) ^ Ω Φ H- TJ Φ o 3 n C 3 Mi 3 CO IQ 3 3 Ω Φ CL O Ω LQ Φ 3 Φ U1 3 O fD -. 0J CO l ^ 3 rr t rr CO I- 1 3 ø ) tr H- CD 0) CL rr C Hi rr rr Mi sQ rr rr φ rJ Ξ H- O O ø ) Ω O ø) Mi Ω CO Φ Ω Φ Hi Hi ø ) 0 ) H- Hi C H- H- JD 3 JU H- O Mi Ml H- rr ø ) Ω Ml 3 H- O T Ω Ω 0 0 ) rr Φ 3 O O rr H- CQ o H- CQ h- 1 H- t CO 3 rr O φ 3 O H- Hi 3 t- 1 O O O 3 rr O V TJ 3 {D 1 n Φ -. (0 ≤ CL, 3 rr Ω CO Ml 0 ) 3 H, Φ φ H- Hi (D 0 ) fD TJ 0 ) h- 1 fl ) rr 0J O ø j CD TJ tr 0 ) rr H- ^ CL CL CQ Ω O Ω 3 0 ) fD O H- rr 0J H- H. ι-( O H- H- 0 ) Φ IQ H- 3 cr 3 H- rr Φ ω tr 3 CL to O CO 3 H- 3 3 O Φ f ? 3 3 O C 0 ) Ω 3 φ J 3 H rr H- 0 ) H- 3 O H- Φ 0 P. TJ tr Φ Φ ^ α Ω Hi Hi Ω O CQ 3 3 < rr 0 tr fD 3 Ξ CL rr σ α 3 o T 3 ≤ H- M O 0 ) Ω CL rr H- ø ) Φ 3 0 TJ • < H- H, 0 Φ n 3 H- rr ^ ø) TJ S' 3 ) 3 CO rr O φ rr Ω Hi Hi Φ h- J tr rr O rr O cr Φ Mi 0 rr j H- CQ s: Ml φ H- Hi O Mi 0 ) H- Mi O H- ^ rr tr fD Φ 3 Φ rr H- O IQ H- Hi Ω H- H- Ω O C O O 0 ) 0 ) tr en Mi 3 h- 1 P- T rr t Φ O i n rr tr CL, 3 IQ O 3 H- Φ ø ) Hi σ Ω 0 ) rr H- fD fD 0 ) Φ c ≤ o CL, 3 0 ) CD Hi Q c 3 3 CQ Ω t- 1 Φ 3 Φ (D fD H- <! tr t- 1 <! rr Φ ct. rr 3 tr t- 1 ø ) O H( CL, ( Q 3 Mi CQ O Φ H- TJ α, § • CO 3 ø> H- 1 C 0 ) Φ Φ Ml H CD t- 1 rr H- *. 0 ) ø ) φ H- Φ 3 3 o co O fD rr Φ CO rr 3 CD O - 0 tr rV H- rr Ω 3 rr 3 Hi 3 Ml Ml O 0 ) Mi CL O 0 ) H- rr H- rr O o Hi φ 3 P- O CL, O rr CQ φ H- 0 CL M, H- Mi H O tr ^ O ω rr Φ s: O r O CQ O CL, rr Hi CQ Hi C 0 0 3 3 *-< 0 ) 3 C 3 J TJ o CO 0 c 3 O 3 Φ ø ) ø ) Mi 0 ) d n H fD rr tr Φ CD t ^ 3 CL, IQ C O Φ rr Hi CQ φ o 3 O O < Φ H- <! CO o> CD TJ H- 3 ^ 3 rr CD rr CD Hi M H- 0 ) rr 3 0 ) o rr σ H- W- 1- 3 H- ^ IQ Mi n rr c 0 ) O φ tr Φ 3 J Φ Φ 3 rr O TJ Mi n tr ω 0 3 fD IQ Φ O Φ O rr Φ rr IQ C Hi ø ) IQ H- Ω IQ Ω IQ H- Hi Hi P- n (D rr rr ≤ 0 ≤ rr 3 H 3 Φ Hi rr 0 ) rr 3 Hi O Φ rr O H- φ Q 0 H< O CO 0 Φ Φ O i 0 ) -> Φ Qi 3 3 Hi ø) 3 3 Ml C 3 rr Mi O H- 3 0 3 T Mi 0 ) 3 rr CO Ml 3 L Φ O IQ φ Hi 3 ø ) Ml 3 O Ml SU i n tr V O rr Ω Hi 3 Ml O Hi 0 ) 0 0 rr 3 φ rr O J o 0J Φ 0 ) Hi O ø ) Φ H- Mi CL 0 ) rr Mi tr CL 0 ) 3 V 0J 0 Hi Hi 3 ø ) CL, rr Ω HJ ø ) tr H- 0 ) fD 3 rr φ 3 TJ I- 1 - TJ t CL, CD Φ Ω φ H- ^ CQ rr rr 0 rr CO H C D. K CL, s: 0 ) TJ Ω 3 0J rr 3" ø ) * 3 H- TJ I-! H- φ H- øj 3 ø ) O CD CQ 3 Φ co 3 N. O rr TJ 3 Mi 3 Hi φ Hi Hi Φ H- to fD Ml O ID Φ CQ Φ » rr CL, IQ 0 ) Ω SD CO τ O K. H- 3 0 ) 3 fD rr Φ φ rr M rr ø ) O 3 φ 3 3 J Φ o 3 Mi LQ 3 rr Φ Φ rr demonstrating the role of the configuration variable in control systems according to the present invention; FIGURE 6 is likewise an exemplary operator interface display screen generated in response to data stored in the configuration variable specifying a rotational joint configuration; and FIGURE 7 is an exemplary operator interface display screen generated in response to data stored in the configuration variable specifying a linear joint. Description of the Preferred Embodiments The invention disclosed herein is, of course, susceptible of embodiment in may different forms. Shown in the drawings and described herein below in detail are preferred embodiments of the invention. It is to be understood, however, that the present disclosure is an exemplification of the principles of the invention and do not limit the invention to the illustrated embodiments. In the FIGURES, a single block or cell may indicate several individual software and/or hardware components that collectively perform the identified single function. Likewise, a single line may represent several individual signals or several instances of software data sharing or interconnection. Robots as well as other manufacturing machines include positioning arms with mechanical joints, positioning actuators such as motors for causing movement about the joints, and position feedback sensors which provide an indication the position of some part of the robot. As used herein, the term "mechanical actuator" is a reference to the variety of devices used for robot motion. Exemplary robot actuators are hydraulic pistons, pneumatic pistons, servo motors, stepper motors and linear motors. Referring to FIGURE 1, the elements of a control system 10 are shown with an industrial robot 4, a Cincinnati Milacron 776 robot. Robot 4 includes a series of revolute joints 5, 6, 7 and 8, corresponding servo motors and an end effector 9. Control system 10 includes a general purpose computer 14 and a real-time computer subsystem 16. The phrase "general purpose computer, " as used herein, is a reference to commercially standard computers which are designed for multiple applications as opposed to CPU-based electronics customized for a specific application such as device control . Examples include the well-known group of computers conventionally labeled IBM- compatible personal computers, or more simply PCs. PCs are based on complex instruction set (CISC) CPUs from Intel Corporation (INTEL), Advanced Micro Devices, Inc. (AMD) and VIA Technologies, Inc. The related, evolving CPU product line from INTEL includes CPU chipsets available under the designations "80486 ® ," "Pentium ® ," "Pentium ® II," "Pentium ® III." An exemplary CPU product line for general purpose computers by AMD is available under the designation "AMD-K6 ® ." VIA Technologies, Inc. CPUs for general purpose computers are sold under the designation "Cyrix ® ." General purpose computers based on reduced instruction set (RISC) CPUs are also well known. Examples include computers based on the Alpha ® chipset available from the Compaq Computer Corporation. As indicated in FIGURE 1, general purpose computer 14 operates with a general purpose operating system. The phrase "general purpose operating system" is a reference to commercially standard operating systems such as those available from the Microsoft Corp. under the designations MS-DOS ® , Windows 95 ® , Windows 98 ® , Windows ® NT and Windows 2000 ® . Other examples of general purpose operating systems include Macintosh ® (Apple Computers, Inc.), UNIX (various resellers), Open VMS ® (Compaq Computer Corporation) . Installed for running on the general purpose computer are a program execution module 18, an operator interface module 20, and watchdog communication code segments 22. The term "module," as used herein is a reference to a software element such as a program, subprogram, software process, subroutine, or grouping of code segments and the like. The software modules of control system 10 are preferably discrete executable programs which run as discrete processes. Unless otherwise indicated, the software modules and code segments are configured to share access to a variety of software variables and constants as needed through subroutine calls, common shared memory space, and the like. Program execution module 18 processes programs of robot instructions 24, which can be stored as data files as represented in FIGURE 1. From robot instruction programs 24, program execution module 18 generates robot move commands 26 for delivery to real-time computer subsystem 16. Via execution module 18, the relatively more human readable robot instructions 24 generated by a robot operator are interpreted and translated into move commands 26 for real-time computer subsystem 16. As well, program execution module 18 allows operator control of the running of robot programs 24 by selectively starting and stopping the transfer of move commands 26 to real-time computer subsystem 16 in response to prompts from the operator via operator interface module 20. Operator interface module 20 is operably linked to an operator display screen 28, a keyboard and/or mouse 30, and other standard peripherals as desired. In a preferred embodiment, display screen 28 is a touch screen which allows a robot operator to input prompts and data through both displays and keyboard/mouse 30. With robot operator prompts and selections, operator interface module 20 allows robot instruction files 24 to be loaded from disk and processed (or executed) by program execution module 18 for controllably moving robot 4. Operator interface module 20 generates operator screens and accepts from the operator numeric data and prompts. Numeric data entries are communicated to other program modules as necessary. Prompts by the robot operator to start and stop the running of a robot program are received by operator interface module 20 and forwarded to execution module 18. In addition to accepting operator inputs for loading, starting and stopping programs 24, operator interface 20 preferably includes an editor for use by an operator to generate new programs of robot instructions 25. Because the present invention provides a control system which relies upon general purpose computers such as a Windows NT PC, it is equally possible to generate robot programs on another PC such as an office PC and then transfer the file to general purpose computer 14 through standard peripherals such as disk drives or computer network connections. General purpose computer 14 is electronically linked for data exchange (i.e. communication) with realtime computer subsystem 16. Real-time computer subsystem 16 preferably includes a hardware, firmware and software combination designed for process control applications. As opposed to general purpose computers with general purpose operating systems, real-time computers provide for substantially uninterruptible execution of calculations required for a plurality of control loops with relatively fast cycle times (e.g. 0.5-2 msec). Because of the extensive signal processing requirements, the CPU computer of real-time computer subsystem 16 is preferably a DSP-based computer. In this category of DSP-based control computers, the systems commercially available from Delta Tau Data Systems, Inc. (Chatsworth, CA) under the designations "PMAC", "PMAC2," "Turbo PMAC" and "UMAC" are presently preferred. Real-time computer subsystem 16 includes a robot move module 32, a move command data buffer 34, kinematic models 36, servo control algorithms 38, and watchdog intercommunication code segments 40. Real-time subsystem 16 also includes I/O hardware and software drivers to provide an operable link to the positioning related electronics of robot 4. Represented by block 42 are the hardware and software components necessary for receiving and translating robot feedback signals 44 into computer data feedback signals 46. Likewise, block 48 represents the components necessary for converting computer data setpoints 50 into actuator-appropriate activation signals 52. Activation signals 52 and feedback signals 44 may be analog signals, digital signals or combinations of both depending upon the configuration of robot 4. For example, the typical motor-with-amplifier actuator calls for an analog activation signal. Newer, so-called "smart" devices can be directly activated by digital signals, however. Thus, the type of signal conversion performed by I/O systems 42 and 48 varies by robot configuration . Robot move module 32 is resident in real-time computer subsystem 16 to accept move commands 26 and feedback signals 44/46 to generate the necessary activation signals 50/52. Robot move module 32 relies upon kinematic models 36 and servo control algorithms 38 to translate move commands 26 required joint positions and then appropriate activation signal setpoints 50. In a preferred embodiment of the present invention, move commands 26 are expressed as changes in joint position or as changes in end-effector position. Move commands based on joint position rely upon a predefined range on a one-dimensional joint axis model, for example, +90 degrees to -90 degrees for a revolute axis and 0 to 1200 millimeters (mm) for a linear joint. An example of a move command based on joint position is "set joint one at 60 degrees." In a preferred embodiment of the present invention, robot move module 32 is programmed to accept joint move commands as a function call specifying the position of all robot mechanical joints 5, 6, 7 and 8, thereby allowing only one or all joints to be moved. Move commands expressed as end-effector positions rely upon a predefined, but customary, three- dimensional coordinate system for locating the end- effector. A move command based on end-effector position is a call to move the end effector to a point in the end- effector's workspace. For joint position move commands, robot move module 32 includes software models for translating data from feedback signals 46 into joint position. The required calculation varies according to joint type and the type feedback signal available. For example, a feedback sensor directly measuring an indication of joint position require limited translation, while a feedback sensor measuring the number of rotations of a positioning motor may require a more complex translation. To process move commands based on end-effector position, robot move module 32 additionally includes a kinematic model for calculating the required. position of joints 5, 6, 7 and 8, given a desired position for end effector 9. More specifically, real-time computer subsystem 16 uses kinematic model algorithms for computation of the forward and inverse kinematics of the robot . Forward kinematics computation refers to the determination of end-effector position and orientation given known joint positions or actuator positions of the robot. Inverse kinematics is the determination of the joint angle or actuator positions given an end-effector position. The required combination of individual joint axes models and overall kinematics models is represented in FIGURE 1 by block 36. Kinematic algorithms are described in other patents and the technical literature. See, for example, Chapters 3 and 4 of Craig, John J. Introduction to Robotics: Mechanics and Control, 2nd Ed. , Addison-Wesley, 1989. The specific models employed vary according to the electromechanical configuration of the robot to be controlled. Because the positioning actuator and feedback sensor combination make up a dynamic system, real-time computer subsystem 16 also includes control algorithms 38 to provide the required dynamic calculations. Preferred among available closed loop servo motor control schemes is a proportional-integral-derivative (PID) with feedforward algorithm. Data buffer 34 is a software variable available to programs in both general purpose computer 14 and realtime computer subsystem 16 for storing multiple move commands 26 received from program execution module 18. Although the desired storage capacity for data buffer 34 can vary, in a preferred embodiment of the present invention data buffer 34 and connected modules are preferably configured such that from 2 to 10, and more preferably from 3 to 4 , move commands are stored. With move command data buffer 34, control system 10 provides for substantially continuous, uninterrupted control of robot 4 even in response to program execution delays in general purpose computer 14. As noted above, general purpose computers running general purpose operating systems are relatively unreliable, exhibiting unpredictable control program interruption. Specific motion control of robot 4 by real-time computer subsystem 16 is not affected by unpredictable delays in operations of general purpose computer 14 because robot move module 32 can continue to draw move commands 26 from data buffer 34. Although a variety of data transfer mechanisms are available to provide electronic and software-level communication between general purpose computer 14 and real-time computer subsystem 16, a commercially standard data bus backplane is preferred. The data bus connection is symbolically represented in FIGURE 1 by reference numeral 54. The ISA bus, the PCI bus, and the VME bus are exemplary standard data buses, with the ISA bus being presently preferred. For convenient space-saving connection to data bus 54, the computer mother board portions of general purpose computer 14 and real-time computer subsystem 16 are data bus cards. As used herein, the term "bus card" is a reference to printed circuit boards with electronic components and a tab with a plurality of contacts that is received in the card slots of a data bus chassis. The DSP real-time computers available from Delta Tau Data Systems, Inc. noted above are available as ISA data bus cards . In a preferred embodiment, control system 10 includes a security (or "watchdog") communication (blocks 22 and 40) between general purpose computer 14 and realtime computer subsystem 16. Flowchart FIGURE 2 shows the preferred code segments for maintaining the watchdog management. As illustrated, a preferred watchdog scheme includes code segments operating in both general purpose computer 14 and real-time computer subsystem 16. Resident in general purpose computer 14 is a status code segment 56 and resident in the real-time computer subsystem are a timer code segment 58, a timer reset code segment 60, and a fail safe code segment 62. The code segments interact with two software variables: an activity software switch (ASW) 64 for indicating whether programs in general purpose computer 14 are active and/or error free, and a timer variable (TV) 66 for storing an elapsed time indication. Timer variable 66 is resident in real-time computer subsystem 16 while activity software switch 64 is shared via data bus 54 or other means. Activity software switch 64 is implemented as an integer software variable with an unset position being represented by zero and a set, or active position, being represented by one. Status code segment 56 optionally, but preferably, runs sequentially with program execution module 18 (box 68) and repeatedly sets activity software switch 64 to the active position (box 74) . After the completion of a run cycle of program execution module 18, status code segment 56 examines other software variables which indicate special errors (box 70) or delays in the processing of other programs (box 72) in the general purpose computer 14. Accordingly, if program execution module 18 is interrupted or if errors or other delays are detected, activity switch 64 is not set. Timer code segment 58 counts down timer variable 66 according to elapsing time. Timer code segment 58 is preferably a system service function of real-time computer subsystem 16 and expressed in execution cycles. When the activity software switch is in the active position (box 76) , timer reset code segment 60 repeatedly resets the timer variable to a predetermined amount of time (box 78; preferably two seconds) and repeatedly sets the activity software switch back to the unset position (box 80) . Fail safe code segment 62 responds to an overrun of timer variable 66 (box 82) by shutting down robot 4 via activation signals 50/52 and other robot I/O. Acting together, code segments 56, 58, 60 and 62, provide a watchdog service which will shut down robot 4 if the operation of general purpose computer 14 is stopped or delayed for more than two seconds. Referring back to FIGURE 1, another feature of the present invention is that the software provided for general purpose computer 14 is suitable for controlling robots of various electromechanical configurations. According to this aspect of the invention, general purpose computer 14 serves as a robot-independent computer unit while real-time computer subsystem 16 serves as a somewhat robot-specific controller unit, or customized interface or adapter to the robot. Important to the multi-configuration aspect of the present invention is the enhanced versatility of operator interface module 20. Viewed together, FIGURES 3 and 4 demonstrate the challenge of working with robots of different electromechanical configurations. FIGURE 3 is side view of articulating robot 4 from FIGURE 1 in slightly larger scale to reveal greater detail . The arms of robot 4 are connected by a series of revolute (or rotary) joints 5, 6, 7 and 8. In contrast, FIGURE 4 is side view of a robot 86 which is equipped with a revolute, torso joint 87 and two linear joints 88 and 89. Assigning joint numbers from the base up, the second and third joints of robot 4 are of a different type than the second and third joints of robot 86. To overcome this difference in configuration, the operator interface of the present invention includes a configuration variable for storing data specifying the electromechanical configuration of the robot and display generating code segments for each type of configuration. In a preferred embodiment, the configuration variable is defined and/or sized to store data defining the type of robot joint, linear or revolute, and whether a specified revolute joint is windable, i.e. capable of turning more than 360 degrees. FIGURES 5 through 7 provide an example of how operator interface module 20 uses the configuration variable to accommodate different types of robots. As illustrated in FIGURE 5, a display selecting code segment 90 responds to an operator request to set limits for joint/axis 3 (box 92) . Code segment 90 checks in configuration variable 94 for data specifying whether joint 3 is linear or revolute (box 96) . Depending upon whether the third joint of the robot to be controlled is revolute as with robot 4 or linear as with robot 86, code segment 90 selects one of two available displays for setting joint limits. For a revolute joint type, box 98 is selected and the revolute joint/axis display of FIGURE 6 is generated at screen 28. For a linear joint type, box 100 is selected and the linear joint/axis display of FIGURE 7 is generated. The foregoing specification and drawings are to be taken as illustrative but not limiting of the present invention. Still other configurations and embodiments utilizing the spirit and scope of the present invention are possible, and will readily present themselves to those skilled in the art.

Claims: WE CLAIM : 1. A control system for processing a program of robot instructions for robots having a mechanical joint, a mechanical actuator to move the joint and a position feedback sensor, the mechanical actuator being adapted to receive an activation signal and the feedback sensor providing a position signal, the control system comprising : a general purpose computer with a general purpose operating system, said general purpose computer including a program execution module to selectively start and stop processing of the program of robot instructions and to generate a plurality of robot move commands; and a real-time computer subsystem in electronic communication with said general purpose computer and operably linked to the mechanical actuator and the position feedback sensor, a move command data buffer for storing said plurality of move commands, a robot move module linked to said data buffer to sequentially process said plurality of move commands and calculate a required position for the mechanical joint, and a control algorithm in software communication with said robot move module to repeatedly calculate a required activation signal from the feedback signal and said required position for the mechanical joint. 2. The control system according to claim 1 further comprising a watchdog intercommunication between said real-time computer subsystem and said general purpose computer for detecting faults in operation of said general purpose computer. 3. The control system according to claim 2 wherein said watchdog intercommunication includes: a timer variable for storing an elapsed time indication; CD Ω s TJ CQ CD Hi CD TJ S CQ Hi CO TJ TJ < rr 0 tr H tr 0 ) φ 0 ^ 0) Φ 0 c 0 ø ) ø ) 3 Φ φ c μ- 0 ) μ- CD Φ μ- 0 ) Hi Hi CD H{ 3 TJ Hi CL rr CL rr μ- 3 α rr TJ μ- μ- CL c φ Φ 1 Ω rr 1 0 rr ø ) ø ) rr H- rr CL rr rr 3" μ- O rr rr ø ) CO μ- σ Hi Φ 3 φ 0 μ- μ- 0 ø) μ- μ- Hi φ 0 C Hi Hi 3 3 rr 3 μ- 3 3 Φ 3 Φ CD 3 3 Φ φ 0 CL Φ φ Ω CL O 01 μ- μ, ø) Hi CD 0 ø) 0J ø ) C H- 3 rr Ω ø ) CD 3 ø ) Ω ø ) ≤ 3 ø ) 3 ø) Ω ø ) rr tr CL Φ tr <! 0 0 ) CL Ω <; 0 μ- TJ CL 3 Ω ø ) CD CL Φ 0 ) 3 Hi μ- rr- 0 ) 3 rr r c CQ 0 rr ^ CQ Hi TJ ø ) C Hi μ- Hi T μ- Ω rr rr ø ) ø ) Hi μ- tr CD Φ < Hi μ- c μ- Φ <! μ- c 3 tr Φ ø ) 3 Ω CL 3 c rr 3 ø ) 0 ø ) rr h- 1 C TJ μ- 0) rt φ Hi rr rr μ- φ O Φ Φ tr σ Φ 3 Φ rr tr Φ Hi rr C C μ- 3 H| . 3 H, c 0 Hi CD ω ø) ^ Hi 0 Hi CO 3 < CQ 0 ) φ rr Φ ø) φ rr Φ ii 0 CD μ- Ω ø ) . CO Hi rr Φ ω CD φ CD Hf Ω Φ rr rr 0 Hi 1 μ- 0 ) C Φ CL 0 rr c CD ø ) 0 rr ^ 0 CL Φ TJ Hi 3 tr TJ Hi 0 tr Φ μ- Hi CL Φ c CL O Ω O *<: rr O rr C Φ Φ TJ CD TJ Φ Hj CD ^ 0 CD ≤ ø) "< TJ 0 0 0 ) O TJ ø ) CO CQ CL μ- CD ø ) CD Ω ø ) Φ CD CO Hi CD Φ Φ 0 μ- φ rr Φ rr Φ Hi TJ rr 0 Ω ø ) Φ μ- rr CD CQ Ω O CL rr Φ μ- rr Φ Hi Φ CL rr rr CQ rr £ μ- 3 rr φ rr 3 O 0 rr Φ 3 Φ μ- Φ 3 μ- ø) 3 Φ Hi rr μ- Φ 3 μ- CO C CL φ 0 Hi CQ 3 0 Ω μ- 3 Hi CQ 3 Ξ Φ Hi CO φ 3 3 Φ rr 3 0 3 CQ 0 3 CQ μ- rr 0 Φ • ^ rr rr H- 3 Φ Hi Φ 0 ) rr Φ Hi CQ TJ O μ- Hi Ω T Hi CD 3 3 CD Ω Hi 3 0 CD μ- ≤ 3 0 0> c ø ) Hi rr CL ø) tr 3 Hi φ CO Φ 3 μ- Φ Hi t- 1 rr < μ- Φ μ- μ- Φ 3 μ- rr CD rr «.. Φ ø ) CL TJ μ- CL μ- 3 TJ rr rr rr rr Ω ø ) *<: Hi Hi Φ 3 to Φ φ μ- μ- ø ) tr CL μ- ø ) 0 ) CO ø) CL 0 ) μ- 0 3 l_l. 0 ) ø ) Ω rr rr Ω μ- rr 3 3 CQ H-" tr c H- 3 tr rr Φ ø ) rr 3 ø ) Φ CO -• Φ ø ) CD 3 D, μ- CL μ- 3 P-, rr CQ CL < rr r φ < < CD 0 μ- 1 ø ) ø ) μ- μ- φ to ø ) *<; Φ μ- 0 ) C ^ μ- μ- 3 3 CL ø ) Hi rr CL rr μ- 3 C 3 CQ CQ H- φ μ- μ- ^ C rr Hi φ < α ø j O 3 μ- Φ CL 0J CO ø ) CD H- Ω 3 CD 3 CD ø ) 0 CD Ω ø) 3 ø ) 0 ) H, tr TJ 0 Ω Hi Φ μ- rr μ- μ- Φ Φ CD Φ CD H rr rr 3 μ- C ø ) CL 0 ) ) CD μ- Ω ø ) rr μ- rr rr Ω CQ rr μ- $. < μ- μ- CO μ- CQ rr rr 1 0 ) 3 μ- CL ø ) Φ 3 3 ø ) rr Φ μ- μ- rr ø ) 3 Hi φ CQ μ- "< 3 < 3 H- h- 1 CQ Φ CL Φ Φ φ 3 Hi Hi Φ rr 0 ) 0 7. The control system according to claim 1 wherein said general-purpose computer and said real-time computer subsystem are electronically linked via an ISA data bus . 8. The control system according to claim 1 further comprising a data bus for receiving bus cards and wherein said real-time computer subsystem includes a first bus card with a central processing unit and said general purpose computer includes a second bus card with a central processing unit, both said first and said second bus cards being installed in said data bus. 9. The control system according to claim 1 wherein said real-time computer subsystem includes a digital signal processor (DSP) based computer. 10. The control system according to claim 1 wherein said general purpose computer is an Intel Pentium ® processor based computer. 11. The control system according to claim 1 wherein said general purpose computer is a DEC/Compaq Alpha ® processor based computer. 12. The control system according to claim 1 wherein said general purpose operating system is a not tied to real-time. 13. The control system according to claim 1 wherein said general purpose operating system is a member of the group consisting of a Windows-NT ® , a Windows 2000 ® , a Windows 95 ® , a Windows 98 ® , an Open VMS ® , a PC/MS DOS, and a Unix. 14. The control system according to claim 1 wherein said general purpose computer is an Intel Pentium ® processor based computer and said general purpose operating system is a Microsoft Windows NT ® . 15. The control system according to claim 1 wherein the mechanical actuator is a servo motor and said control algorithm is a servo control algorithm. 16. The control system according to claim 1 wherein said robot move module includes a kinematics model for calculating a required joint position in response to a move command. 17. A versatile robot control system suitable for controlling robots of different electromechanical configurations, the control system comprising: a robot-independent computer unit including a video display and a first digital processor running an operator interface module for creating a sequence of robot move commands ; and a robot-specific controller unit operably linked to the robot and including a second digital processor running a real-time tied operating system and a robot move module for executing said robot move commands, said robot specific controller unit being in electronic communication with said robot independent computer unit. 18. The control system according to claim 17 wherein said general-purpose computer and said real-time computer subsystem are electronically linked via a standard data bus . 19. The control system according to claim 17 wherein said first digital processors runs an operator interface module including: a configuration variable for storing data specifying the electromechanical configuration of the robot ; a first code segment for generating a first operator display according to a first electromechanical configuration; a second code segment for generating a second operator display according to a second electromechanical configuration; and a third code segment for selecting said first or second code segment according to said electromechanical configura ion. 20. The control system according to claim 19 wherein said first code segment generates an operator display requesting operating limits for a revolute joint. 21. The control system according to claim 19 wherein said second code segment generates an operator display requesting operating limits for a linear joint. 22. The control system of claim 19 wherein said configuration variable is defined to store data specifying a robot joint type. 23. The control system of claim 19 wherein said configuration variable is defined to store data specifying a linear joint type. 24. The control system of claim 19 wherein said configuration variable is defined to store data specifying a revolute joint type. 25. The control system of claim 19 wherein said configuration variable is defined to store data specifying whether a robot joint is windable. 26. An operator interface module for controlling robots of different electromechanical configurations, the operator interface module comprising: a first code segment for generating a first operator display according to a first electromechanical configuration; a second code segment for generating a second operator display according to a second electromechanical configuration; and a third segment for selecting said first or second code segment according to said electromechanical configuration . 27. The operator interface according to claim 26 wherein said first code segment generates an operator display requesting operating limits for a revolute joint. 28. The operator interface according to claim 26 wherein said second code segment generates an operator display requesting operating limits for a linear joint. 29. The operator interface module of claim 26 wherein said configuration variable is defined to store data specifying a robot joint type. 30. The operator interface module of claim 26 wherein said configuration variable is defined to store data specifying a linear joint type. 31. The operator interface module of claim 26 wherein said configuration variable is configured to store data specifying a revolute joint type. 32. The operator interface module of claim 26 wherein said configuration variable is defined to store data specifying whether a robot joint is windable .

Inventors: LAPHAM JOHN R, LAPHAM, JOHN, R.
Applicants: ROBOTIC WORKSPACE TECHNOLOGIES, ROBOTIC WORKSPACE TECHNOLOGIES, INC.
Application year: 2001
Main classification: G06F19
IPC codes: B25J9, B25J13, B25J19, G05B19