The invention relates to a method for the synchronous control of several manipulators, such as several industrial robots. It also relates to an apparatus for the synchronous control of a manipulator, such as an industrial robot, in a group of interconnected control units of a plurality of manipulators having storage means at least for storing a control program for the manipulator, communications means for transmitting and receiving control information to and from other control units to be synchronized and processor means for executing the control program as a function of the control information received.
In industrial practice in the case of widely used manipulators, e.g. industrial robots, it is necessary in certain manipulating processes for them to perform mutually coordinated, i.e. synchronous movements or the like. This is e.g. the case if two robots are used for joining and a third robot for welding the joined articles. For this purpose it is necessary in known industrial robots to at least temporarily synchronize regularly present programmable control units, so that at least during certain critical phases a clearly defined, relative movement sequence is ensured.
For this purpose the control programs of known cooperating manipulators contain specific synchronization instructions, which are translated by the interpreter programs transmitting the control program in specific machine instructions and there are then specific method sequences for synchronizing the corresponding manipulators.
In known methods inputs and outputs of robot control units are used for synchronization between the robots. A communication can take place both by means of field bus systems and by means of directly wired inputs and outputs of the control units. This specifically means that the control program for a manipulator contains one or more synchronization instructions and then by means of the operated communication hardware corresponding synchronization signals are transmitted directly to the inputs of affected, other control units.
It is considered disadvantageous in this connection that the handling of inputs and outputs is complicated and error-prone. In addition, there are additional system engineering costs, because the physical inputs and outputs or the field bus system must firstly be made available. The control units to be synchronized must also be constructed in coinciding manner so that the particular inputs and outputs have the same significance, which restricts the possible uses of such methods. As the control units do not normally communicate with one another directly by means of a field bus, but instead by means of an interconnected stored programmable system control (system SPC) the latter must take account of a corresponding mapping of the inputs and outputs.
Thus, an extended communication between cooperating control units, apart from a modification to the control programs, also involves an adaptation of the input and output configuration, linked with additional lines in the case of physical inputs and outputs, additional programming costs for the SPC, etc. The synchronization points within the program, i.e. program points where there are synchronization instructions, must be clear and unambiguous, so that it is necessary in known synchronization methods to use an individual output for each synchronization point, because otherwise in the case of a set or record selection within the control program, i.e. a selection of specific program parts, which correspond to a specific geometrical position of the manipulator, the synchronization can take place at an incorrect geometrical position.
Methods for the synchronous control of cooperating robots are e.g. known from EP 1 186 386 A2 and EP 1 090 722 A2. The aforementioned documents disclose the synchronous working of a plurality of robots, which as a function of their instantaneous operation can be subdivided into master robots, slave robots and “normal”, i.e. independent robots. By means of communication lines there is an active exchange of position data and interpolation data (on-line calculated intermediate positions of movements with a high time density), which the master regularly transmits to all the slaves, so that on a higher hierarchic plane the control unit of the master robot performs a master control function for all participating robots.
The master-slave concept is more particularly considered to be disadvantageous, because in this way a robot or a control unit must participate in every synchronization, so that there is a restriction during practical use regarding the flexibility of such a synchronization concept. In this connection EP 1 090 722 A2 discloses a synchronous control unit for several robots and their controls, which as a function of the group formed (group in connection with a specific application of robots to be synchronized), can either be used as a master, a slave or group-independent. For this purpose several complete, independent program sequences are loaded or stored in each control unit (master program, slave program, normal program), whereof in each case one is processed depending on the group formed. Therefore the program sequences must be coordinated and fixed from the outset.
In addition, all the participating robots, i.e. masters and slaves, wait for one another following a specific number of synchronously performed interpolation steps before there is a further programming or movement. Thus, all the synchronous sequences are time-lengthened, because in certain circumstances some robots are prevented from performing additional operations in the meantime or all the robots must wait for the slowest.
Furtheron, the continuous transmission of position and interpolation data implemented in the prior art is complicated and fault-prone from the data-engineering standpoint. Whilst obviating the aforementioned disadvantages, the problem of the invention is to provide a flexible method and an apparatus suitable for the performance thereof for the synchronous control of manipulators, accompanied by the simplification of communications between two or more control units, whilst ensuring a reliable reaction of the control program in the case of set selection. The invention is based on the further problem of making synchronization processes more reliable from the control engineering standpoint and of shorter duration.
In the case of a method of the aforementioned type, the problem is solved in that the control units of specific manipulators exchange control information according to data structures contained in a corresponding control program, through which control units to be synchronized and synchronization points in the control programs taking place there can be clearly identified, and that on reaching the synchronization points the program sequence in the control units to be synchronized is continued according to contents of the data structures in conjunction with already exchanged control information or is interrupted up to the arrival of corresponding information from other control units to be synchronized.
For solution purposes the invention also provides an apparatus of the aforementioned type, wherein the storage means additionally store a plurality of control-relevant data structures, wherein through the control data contained in the data structures synchronization points in the control program and the control units to be synchronized are clearly identifiable, wherein the transmission times of the control information correspond to the times of reaching the synchronization points, and wherein the program sequence in the processor means or a corresponding movement of the manipulator can be continued according to the control data contained in the data structures in conjunction with already exchanged control information or can be stopped at least up to the reception of corresponding information from other control units to be synchronized.
As a result of the control method or apparatus according to the invention interconnected configured control devices of manipulators can be synchronized in a random manner without complex and error-prone hardware requirements. With respect to the sequence of the control programs synchronization is clearly fixed, so that in the case of a set selection within the control programs there can be no conflicts between the manipulators to be synchronized such as collisions. According to a further development of the invention the exchange of control information between balanced control units takes place on a common hierarchic level. Consequently there is no master control unit, which must necessarily participate in every synchronization. Instead all the participating control units are flexibly synchronizable with one another without it being necessary to fix beforehand specific program constellations or without it being necessary to store in the control units multiple program sequences.
In order to make the synchronization method according to the invention as simple and efficient as possible, according to a preferred further development of the invention by means of the data structures at least identification data for the synchronization points, option data for program sequence control and address data of the control units to be synchronized are defined.
The identification data are, according to a further development of the invention, preferably strings through which the synchronization points can be clearly identified within a program. According to a further development of the inventive control method, the control information indicate the reaching of a synchronization point by the transmitting control unit. According to the invention, the further program sequence is obtained in conjunction with the contents of the data structures contained in the control units.
According to a preferred further development of the invention, the option data are simple binary digits, i.e. bits, which can assume the values 0 and 1. The option data make it possible to inform the control unit how the robot has to behave on reaching a synchronization point.
The address data are preferably in the form of a list of IP addresses.
The control units preferably communicate with one another through the use of Ethernet technology and the UDP protocol for data transmission. The user datagram protocol (UDP) communication protocol is related to the frequently used TCP/IP protocol, but allows a higher transmission rate due to lower management expenditure. The control information to be transmitted are packed in datagrams of specific maximum size and addressed by means of the IP addresses, which clearly identify a computer (a control unit). Therefore, according to a further development of the apparatus according to the invention, the control information at least contain identification data for the synchronization points reached and address data for identifying the transmitting apparatus. Thus, the invention ensures a rapid, standardized information transmission between the control units to be synchronized.
Information transmission takes place by means of a communication network with star topology, which for this purpose preferably has a hub.
The invention is described in greater detail hereinafter relative to the attached drawings, wherein show:
a, b, c Path-time diagrams to illustrate cooperation between three manipulators with temporary synchronization.
a A diagrammatic representation of the data structure used in the method according to the invention.
b A diagrammatic representation of the control information used in the method according to the invention.
In the situations shown in
In
In the case of
In the case of the above-discussed examples of
These facts are again given in
The synchronization instruction of step S1 is diagrammatically shown in
String 4.1 is an alphanumeric string and is used for clearly identifying within a control program specific synchronization points. The user gives each of the programmed synchronization points a clear and appropriate name (“start”, “fetch”, “end”, etc.). The same synchronization point must then have the same name in the other control units participating in synchronization, so that a synchronization with this synchronization point is possible and there is certainty in the case of a set selection within the program.
As a simple binary digit the wait option 4.2 can only assume the values 0 and 1, i.e. it is set (value 1) or not set (value 0). The latter case is also called the setting of a no-wait option. If the wait option is set (value 1), the corresponding control unit waits until all the other control units participating in the synchronization and therefore indicated in the control unit list 4.3 have also reached the synchronization point, i.e. have transmitted their corresponding messages (cf.
The control unit list 4.3 is in the form of a list of IP addresses of control units participating in a synchronization. These are the IP addresses to which the control unit transmits the aforementioned messages when it has itself reached the synchronization point and for whose messages it is possibly waiting (with wait option set). The transmission of the message is independent of whether the corresponding control unit subsequently interrupts program execution (wait option) or continues with program execution (no-wait option).
b diagrammatically shows a control information 4′ according to the invention as transmitted or exchanged by the participating control units on reaching a synchronization point.
A control information 4′ according to the invention is a data packet, whose contents 4.1′, 4.2′ can be used by the receiving robot control units for control purposes (cf.
The identification data 4.1′ are preferably in the form of an alphanumeric string through which it is possible to clearly identify the synchronization point where the information 4′ has been transmitted.
The address data 4.2′ are preferably in the form of an IP address of the transmitting control unit, so that the receiving control units can clearly establish which control unit has transmitted the control information 4′.
In the case of a set wait option (cf.
The following
In
In the case of
After reaching point 23, the control unit of robot 1 encounters a synchronization instruction where the wait option 4.2 is not set (value 0; cf.
The control sequence of
The storage means 6.1–6.3′ of the control units 5.1–5.3′, apart from storing control programs, also file IP addresses of the particular control unit through which the control units can be clearly identified and operated.
In the communication of the star interconnected control units 5.1–5.3′ the latter are completely balanced. None of the control units has a master status and can therefore handle program synchronizations according to the invention with any other control unit.
Number | Date | Country | Kind |
---|---|---|---|
102 35 943 | Aug 2002 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4288849 | Yoshida et al. | Sep 1981 | A |
4633385 | Murata et al. | Dec 1986 | A |
4754427 | Okayama | Jun 1988 | A |
5084826 | Hariki et al. | Jan 1992 | A |
5173648 | Kawamura et al. | Dec 1992 | A |
5204942 | Otera et al. | Apr 1993 | A |
5254923 | Kanitani | Oct 1993 | A |
5450573 | Gronemeyer | Sep 1995 | A |
5798627 | Gilliland et al. | Aug 1998 | A |
5825981 | Matsuda | Oct 1998 | A |
Number | Date | Country |
---|---|---|
1 090 722 | Apr 2001 | EP |
1 186 386 | Mar 2002 | EP |
Number | Date | Country | |
---|---|---|---|
20040030452 A1 | Feb 2004 | US |