The present invention concerns a control system for a robot with multi-core architecture, comprising virtual machines, as well as a method for controlling robots having such a control system.
Based on our company-internal experience robots are controlled through motion control, while process applications, for example, welding guns, have their own process controls, different from this concept. These separate controls communicate via field busses. For example, the motion control reports to the process control that the robot has approached a welding spot, whereupon the process control closes the welding gun and loads it with welding current. When the welding process is finished, the process control reports this to the motion control, which then approaches the next welding spot.
Unfortunately this involves that the time of information transfer varies. This variation can range between a minimum, which is preset by the transmission time of the field bus, and a maximum, which results from adding the cycle times of the one control, the field bus and the other control. These variations, the so-called jitter, affect the repeatability of the robot processes.
The present invention has the objective of improving a robot control.
This objective is achieved through a control comprising the characteristics of Claim 1 or a method involving the characteristics of Claim 8. Advantageous further developments of the invention are included in the sub-claims.
An invention-based control has the objective of controlling a robot or an arrangement of several robots. For a more compact representation we would place under the general term control also a regulation, i.e., presetting of control factors in consideration of repatriated actual values.
The control system comprises a multi-core architecture with at least two, in particular at least three, preferably four, six or more, preferably double integer computing engines. In a preferred embodiment, the multi-core architecture is formed by a microprocessor on a chip with several computing engines, wherein in this context the term computing engine refers to an at least basically complete central processing unit (CPU), which comprises its own arithmetic logic unit, its own register, its own instruction decoder and/or its own floating point unit. Similarly a multi-core architecture in the sense of the present invention can be formed also by multi-threaded-CPUs with several program counters and register sets, acting as several cores. It is even possible to combine them, for example, combining a dual core processor with two threads per core, as, for example the IBM Power5 processor, or an eight core processor with four threads per core, as for example, the Sun UltraSPARC T1 processor.
According to the invention, at least one, preferably two or several virtual machines are represented by means of the multi-core architecture. One virtual machine in the sense of the present invention involves especially an instance or computing environment, which is preferably software or programmatically implemented, and which preferably acts as an independent, physical computer, which means that several virtual machines can run simultaneously on the same physical computer. In particular, a virtual machine can comprise or be its own operating system and/or its own runtime environment, under or in which programs can be implemented. In particular, it is possible to provide within those virtual machines runtime environments which, on their part, act as virtual machines, for example, a Java Virtual Machine or KUKA.PLC ProConOs by the applicant.
According to the invention, a process control, which controls one, several or all process applications of one robot or several robots of a robot arrangement, is implemented by a first virtual machine, which comprises one or several computing engines of the multi-core architecture.
In a preferred embodiment, a motion control, which controls one, several or all drivers of this robot or this robot arrangement, is implemented by a second virtual machine, which comprises one or several further computing engines of the multi-core architecture.
Therefore, the process control is integrated as a virtual machine directly into the robot control of at least one particular computing engine of a multi-core architecture, in which the motion control is implemented as the other virtual machine of the multi-core architecture. This has the advantage that the above-mentioned jitter can be reduced or prevented, especially when in one preferred embodiment these two virtual machines are synchronized. In addition, or alternatively, it is possible to reduce hardware, installation space, operating energy, waste heat and/or wiring costs and/or to share resources, such as special input and/or output facilities, memory devices, communication networks, interfaces and the like. In addition or alternatively, besides motion control, an invention-based implementation of a process control as further virtual machine can increase mutual, process-oriented robot programming, mutual user and/or policy management, diagnosis and/or recording for motion and process control, and/or allow for an implementation of an integrated safety monitoring system of robot motions and process applications and/or increase the system availability. Especially when in a preferred embodiment both virtual machines have a shared memory, it is possible to improve archiving and/or Online-quality control, because the required data is available in one location and therefore simultaneously available.
Advantageously, this allows the robot manufacturer to provide a container with definite interfaces, in which the process manufacturer can easily integrate his process control. In particular, this makes it possible to simplify modifications of a process control. Preferably, this reduces the risk that a slow or defective process control impedes or sabotages the motion control. Advantageously, it is also possible to perform a restart of the process control without restarting the motion control. It is also of advantage that on different virtual machines different runtime environments or operating systems are realized, as, for example, VxWorks (SMP), Windows CE or VxWin, QNX, On Time RTOS32 or EUROS. Correspondingly, a virtual machine, which has been provided for a particular task, especially a process control, involves in particular a virtual machine that is equipped to perform this particular task, possibly after it has been implemented in a container.
Especially when the multi-core architecture comprises an additional computing engine, a third virtual machine can be provided for user communication, data processing and/or data administration. While, preferably, the first and/or second virtual machine comprise real-time operating systems (RTOS) for process or motion control, the preferred embodiment of the third virtual machine does not real-time capabilities (N-RTOS), but can, for example, perform a Windows operating system. In the present case, user communication involves especially data input by a user, for example, by means of a keyboard or graphic based, especially through mouse or touch screen, and/or data input, especially on a monitor, data administration involves especially organizing and/or saving data, data processing involves a logical and/or arithmetic combination of data. Accordingly, the third virtual machine can be used especially for programming, performing and/or modifying the motion and/or process control.
In a preferred embodiment, each computing engine is used only by one virtual machine. In an alternative embodiment, two or more virtual machines can jointly access one or several computing engines. In a preferred development of the invention, the second virtual machine has two computing engines, the first virtual machine has one computing engine. In a preferred embodiment, at least two, preferably all computing engines are identical, i.e., the multi-core architecture is symmetrical, so that the virtual machines can be distributed selectively to the different cores. However, similarly it is also possible to provide an asymmetrical multi-core architecture, which has the advantage that the cores and virtual machines can be specifically adapted to one another.
Preferably, two or more, in particular all virtual machines of the multi-core architecture have a shared memory, respectively. This shared memory (SM) can comprise, respectively, the complete physical memory of the multi-core architecture or only a particular section of it. This allows for quick, reliable data exchange. At the same time, it is possible to provide programmatically a shared memory as an individual section of a physical memory. In a preferred development of the invention, a virtual machine can access the shared memory of two additional virtual machines or an individual section of it. For example, all virtual machines can be provided with an absolute system time clock. In a similar manner, provision can be made that in particular only two virtual machines have access to the shared memory instead of all virtual machines, especially in order to prevent data corruption or an impairment of real-time capability.
In a preferred embodiment, the motion control is able to store in the shared memory images of a bus by means of which it communicates with the drivers and/or sensors, so that the process control can preferably have access to them, especially to engine and joint positions or the values of other sensors, for example, distance sensors, only in reading mode. In particular, the process control can set flags in the shared memory and in this way inform the motion control about the process status and preferably command the processing of further motion steps. In general, one or several virtual machines can control, especially by means of pointers and/or spin locks, the access to the shared memory. In addition or alternatively, a data range of a virtual I/O-driver can be displayed in a shared memory.
In addition or alternatively to this communication via shared memories, a bus for communication of one virtual machine with one or several further virtual machines can be provided. In this context, a bus involves especially generalized a physical or virtual network and/or network protocol, in particular a field bus and preferably a real-time-capable bus, especially an EtherCAT.
The virtual machine is able to communicate via this or any additional bus with robot drivers. In addition or alternatively, the virtual machine is able to communicate via this or any additional bus with process application peripheries, input and/or output facilities for user communication, memory devices and/or interfaces. It is therefore possible that different busses are involved, or two or several communications can take place via the same bus. For example, the motion control can communicate via a real-time-capable field bus with the drivers of a robot or a robot arrangement. In one embodiment, the process control can communicate via this bus also with its periphery and the motion control, thus receiving directly the data of the drivers. Similarly, the communication between motion control and drivers, on the one hand, and process control and periphery, on the other hand, can also take place via different field busses and the process control can receive data of the drivers from the shared memory by displaying an image of the field busses between motion control and drivers.
In a preferred embodiment, a safety monitoring system has been provided. Preferably, this can be provided in a virtual machine in the sense of the present computing environment, i.e., especially in a preferably programmatically defined instance environment of the multi-core architecture. In particular, this can involve the second virtual machine. In a preferred embodiment, different cores of the second virtual machine can be provided for motion control and for a safety monitoring system, provided the second virtual machine has at least two computing engines. Similarly, it can be preferred to distribute the redundant, preferably diverse safety monitoring system, to two or more cores and/or two or more virtual machines. Preferably, the safety monitoring system communicates with the process control via a virtual I/O driver, which has a data range that can be displayed in the shared memory. In this context, a safety monitoring system involves especially the professional comparison of actual values of the robots or robot arrangements with permissible limit values, the monitoring of workspaces and/or shelters, entrance ways and the like.
In particular, a process application in the sense of the present invention can involve a cutting application, especially a cutting application with a solid blade or a cutting application without a solid blade, as, for example, a water jet cutting or laser cutting application. In this context, such a cutting application can involve also a general machining application, especially a milling and/or sawing application. In particular, a periphery of such a cutting application can comprise a robot-controlled cutting or milling head which have drivers and, preferably sensors, for example, for distance or position measurements.
In addition or alternatively, a process application can involve a joining application, especially a gluing, welding, screwing, riveting and/or sticking application. In particular, a periphery of such a joining application can comprise a robot-controlled glue or rivet gun or welding gun, a robot-controlled screwdriver or grabber, or the like, which have drivers and, preferably, sensors.
Moreover, in addition or alternatively, a process application can involve a surface processing application, especially a coating application, preferably a varnishing and/or polishing application. In particular, a periphery of such a surface processing application can comprise a robot-controlled spray gun, a robot-controlled polishing disc, or the like, which have drivers and, preferably, sensors.
Furthermore, in addition or alternatively, a process application can involve a transportation application, especially a grabbing application. In this context, a grabbing application involves generally a detachable, mechanical, especially a form and/or friction locking, pneumatic and/or (electro) magnetic fixation of a work piece to a robot. In particular, a periphery of such a transportation application can comprise a mechanical, (electro) magnetic and/or vacuum gripper.
As mentioned above, in one preferred embodiment, two or more virtual machines have been synchronized. For this purpose, one or several virtual machines can receive synchronization interrupts from a different virtual machine. In addition or alternatively, it is also possible to synchronize via an absolute system timer, with which the virtual machines to be synchronized communicate.
Further advantages and characteristics are included in the sub-claims and the embodiments. To this end, the only figure shows, partly in schematized form, the following:
As indicated in
This process application is controlled by a process control. As indicated in
Each of these two virtual machines V1, V2 has different, real-time-capable runtime environments or operating systems. In this way, it is easy for a process manufacturer to integrate his process control in the control system.
As indicated in
On the one hand, the three virtual busses communicate via the virtual bus or busses B and, on the other hand, via the shared memory M1 . . . M3.
For example, the process control communicates with the Windows application for user communication via the internal, multi-user-capable virtual TCP/UDP/IP-network B. For example, in this way a process control surface can be displayed on the monitor and/or the hand-held controller. Additionally, it is possible by means of routing via the second virtual machine V2 to communicate by means of the runtime environment VxWorks (SMP) with an engineering system for the process control.
The shared memory M1 is available as communication interface for motion control. The respective functionality of this memory is preset by the process control manufacturer and the process control can access the memory in reading and writing mode. Since the process control runs on a separate computing engine C3, the process control cannot make any direct invocations into the motion control or the Windows application. Instead, all desired functionalities which should trigger actions in the motion control have to be displayed on the shared memory and respectively programmed on the side of the motion control. When the function has been performed, the motion control can respond by returning a status or error message. It is recommended not to wait for this response actively circling on the spot but to analyze the response in the cycle of the process control.
For communication with the drivers A, including their sensors, for example, angular encoders or the like, the following mechanisms are available for the process control: it is possible to display cyclically data images of the field busses between drivers A and the second virtual machine V2 in the address space of the process control in the shared memory M1. The administration of access to these data images takes place via this shared memory M1. Here pointers and spin locks for locking the accesses can be filed. In addition or alternatively, it is possible to communicate acyclic via the virtual TCP/UDP/IP network B, for example, by means of CoE (CAN application layer over EtherCAT). For this purpose, it is possible to use with EtherCAT the remote API.
For communication with the motion control and/or the safety monitoring system, a virtual I/O driver is available, the data range of which is also displayed in the shared memory. Administration also takes place via pointers and spin locks for locking.
By means of the shared memory, the process control can access also the global administration data of the motion control, such as the global EtherCAT system time, and is thus able to synchronize via the absolute system time precisely with the motion control.
Number | Date | Country | Kind |
---|---|---|---|
10 2011 107 169 | Jul 2011 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
6973560 | Rice et al. | Dec 2005 | B1 |
7344122 | Gasaway et al. | Mar 2008 | B2 |
7409487 | Chen et al. | Aug 2008 | B1 |
7783838 | Agesen et al. | Aug 2010 | B1 |
7945908 | Waldspurger et al. | May 2011 | B1 |
7962545 | Knauerhase et al. | Jun 2011 | B2 |
8037210 | Tang et al. | Oct 2011 | B2 |
8468356 | Sahita et al. | Jun 2013 | B2 |
8547868 | Ding et al. | Oct 2013 | B2 |
20020055910 | Durbin | May 2002 | A1 |
20040128670 | Robinson et al. | Jul 2004 | A1 |
20040181782 | Findeisen | Sep 2004 | A1 |
20050160151 | Rawson, III | Jul 2005 | A1 |
20070260831 | Michael et al. | Nov 2007 | A1 |
20080028410 | Cherkasova et al. | Jan 2008 | A1 |
20080059769 | Rymarczyk et al. | Mar 2008 | A1 |
20080092137 | Anderson et al. | Apr 2008 | A1 |
20080141220 | Kim et al. | Jun 2008 | A1 |
20090132057 | Kettu et al. | May 2009 | A1 |
20090133042 | Forin et al. | May 2009 | A1 |
20090165134 | Flake et al. | Jun 2009 | A1 |
20090182979 | Farrell et al. | Jul 2009 | A1 |
20100118884 | Hendel et al. | May 2010 | A1 |
20100161929 | Nation et al. | Jun 2010 | A1 |
20100205602 | Zedlewski et al. | Aug 2010 | A1 |
20110022773 | Rajamony et al. | Jan 2011 | A1 |
20110061043 | Rydh et al. | Mar 2011 | A1 |
20110126203 | Fahrig | May 2011 | A1 |
20110145510 | Woffinden | Jun 2011 | A1 |
20110320825 | Greiner et al. | Dec 2011 | A1 |
20120011500 | Faraboschi et al. | Jan 2012 | A1 |
20130067135 | Pandey et al. | Mar 2013 | A1 |
20130215754 | Tripathi et al. | Aug 2013 | A1 |
Number | Date | Country |
---|---|---|
101403983 | Apr 2009 | CN |
101488098 | Jul 2009 | CN |
101911019 | Dec 2010 | CN |
10 2006 012 042 | Sep 2007 | DE |
10 2006 040 416 | Mar 2008 | DE |
10 2008 058 518 | May 2010 | DE |
2 341 405 | Jul 2011 | EP |
Entry |
---|
German Patent Office; Search Report in German Patent Application No. 10 2011 107 169.9 dated Sep. 30, 2013; 8 pages. |
Zhang, J.; Chen, K; Zuo, B.; Ma, R,; Dong, Y.; Guan, H.: “Performance Analysis Towards a KVM-Based Embedded Real-Time Virtualization Architecture”, in: Proceedings of the 5th IEEE International Conference on Computer Sciences and Convergence Information, Nov. 30, 2010-Dec. 2, 2010, S. 421-426. |
Chinese Patent Office; Office Action in Chinese Patent Application No. 201210244542.4 dated Apr. 17, 2014; 12 pages. |
Wong et al.; Publication entitled “Implementation Of Asymmetric Multiprocessing Framework in Humanoid Robot” dated Dec. 31, 2010; 6 pages. |
Chinese Patent Office; Search Report in Chinese Patent Application No. 201210244542.4 dated Apr. 5, 2014; 2 pages. |
Number | Date | Country | |
---|---|---|---|
20130018507 A1 | Jan 2013 | US |