TwinCAT 3 unites PC Control and science for simplified cable robot operation

High-bay warehouses with conventional automated storage and retrieval machines are in widespread use and firmly established. However, the payload in relation to the total mass that has to be moved is very small. Within the scope of a project sponsored by the German Federal Ministry of Education and Research (BMBF), “EffizienzCluster LogistikRuhr”, researchers at the University of Duisburg-Essen have now eliminated this disparity with the help of parallel cable robots. In doing so they benefitted from the inexpensive and flexible control technology enabled by PC-based Control. Furthermore, the scientific know-how existing in Matlab®/Simulink® models can be integrated into the controller in the simplest way using TwinCAT 3 software.

In the prototype of a cable-robot-based high-bay warehouse at the University of Duisburg-Essen, use was made of a reliable and inexpensive industrial control platform consisting of PC Control and TwinCAT 3, which efficiently integrates the scientific know-how implemented in Matlab®/Simulink® models.

In the prototype of a cable-robot-based high-bay warehouse at the University
of Duisburg-Essen, use was made of a reliable and inexpensive industrial control
platform consisting of PC Control and TwinCAT 3, which efficiently integrates the
scientific know-how implemented in Matlab®/Simulink® models.

Automated storage and retrieval machines (SRM) are used today in intralogistics. By means of a rail-mounted drive unit and a lifting unit, a storage/retrieval device is positioned in front of the high rack, which puts goods into storage or removes them again in a targeted manner. In the process, current SRMs move the large mass of 1 to 2 tonnes of drive unit, mast and lifting unit in order to transport small parts with a payload of only 20 to 50 kg. In order to avoid this, a light-weight platform with an integrated storage/retrieval device now replaces the complete drive and lifting unit. This platform is moved in front of the high rack as a so-called cable robot with eight tensioned cables. The result is a mechanically simple and extremely light-weight system, which on top of that can be constructed in the most diverse sizes without the mass-related height limits that need to be observed with traditional high-bay warehouses.

New concept with energy-saving and performance potential

The enormous reduction in mass of the cable robot technology, which amounts to over 90 % compared with conventional technology, leads to enormous increases in performance and a very good energy balance at the same time. The concept has already been implemented in 2012 at the University of Duisburg-Essen with a 6-m high, 12-m wide and 1-m deep prototype. It was realized by the two departments of Mechatronics and Transport Systems/Logistics as well as the department of Computer Application in Design. Dr. Tobias Bruckmann from the Faculty of Mechatronics summarizes the result as follows: “We have achieved an extremely improved mass ratio, because the end effector which has to be moved – the light-weight platform with the storage/retrieval device – weighs only 80 kg and can take a payload of up to 20 kg. A model calculation, based on a simple model and idealized assumptions, resulted in a reduction in energy consumption of about 70 % compared to a conventional storage and retrieval machine.”

The high-performance C6640 Control Cabinet IPC and the modular EtherCAT Terminal system form the inexpensive and flexibly adaptable control hardware for the research project.

The high-performance C6640 Control Cabinet IPC and the modular EtherCAT
Terminal system form the inexpensive and flexibly adaptable control hardware
for the research project.

Regarding the attainable storage/retrieval performance, there is similarly a high optimization potential. Typical SRM values, i.e. a platform speed of 6 m/s and a platform acceleration of 5 m/s2, were taken as design specifications at the start of the project. Christian Sturm, also from the Faculty of Mechatronics, adds: “Winch drives with a rating of 7 kW are required in order to attain these values.
In our prototype we even use 14 kW drives, enabling considerably higher speeds and acceleration, especially since the more powerful and thus heavier drives don’t have to be moved as they do in the classic storage and retrieval machine, so their higher mass has no impact.”

High-performance, industrially compatible control technology as the basis

In order to ensure a safe system operation at all times, highest demands are placed on the control system. In addition to that, eight servo drives have to be driven synchronously, and force sensors and angle encoder for all eight cables have to be read simultaneously. These measured values supply the data for a model-based controller that demands a high-performance real-time platform. Dr. Tobias Bruckmann adds: “Since this controller was implemented in Matlab®/ Simulink®, the TwinCAT 3 automation suite from Beckhoff represented an ideal, powerful and affordable solution. Instead of prototype control systems for academic use, it was thus possible to make use of proven standard components.”

The light-weight platform with storage/retrieval device is moved and positioned by eight cable winches.

The light-weight platform with storage/retrieval device
is moved and positioned by eight cable winches.

The C6640 Control Cabinet PC provides more than enough computing performance for the entire control technology. It communicates by EtherCAT with sensors and drives as well as with components of the light-weight platform, such as the storage/retrieval device and the laser scanner for fine positioning. Since the cable robot operation requires extremely reliable measurements of the cable forces, the researchers use the EL3356-0010 Analog Input Terminal with eXtreme Fast Control (XFC), as Christian Sturm explains: “In order to be able to move the light-weight platform precisely and with as little vibration as possible, the cable tensions are measured by load cells and EL3356-0010 EtherCAT Terminals. These values are then processed by the control algorithms implemented in Matlab®/Simulink®. In the process we highly benefitted from the XFC oversampling function with an oversampling factor of 10. The EL3356-0010 offers an outstanding sampling rate here, which already provides considerably smoothed signals in relation to our current control cycle time of 1 ms. In this way the signals can be processed in the controllers without any further preprocessing. Furthermore, parameterization and connection are very simple and also the terminals are very cost-efficient.”

A critical advantage of the control system is its industrial compatibility. It therefore represents the ideal basis for further work on the actual main thrust of the research – the control algorithms. Dr. Tobias Bruckmann confirms this: “Instead  of decentralized controllers for drives and platform, we need only one central real-time PC with a wide data bus and it doesn’t matter whether we have to transmit measured values over just one metre or over twenty metres to the platform. In earlier prototypes data acquisition and, in particular, motor control over large distances were rather complex. We were surprised at how simple the commissioning of our new, large prototype was.” And there is another benefitfactor: “The Beckhoff technology also offers a great advantage with regard to practical use, in other words series production, because on the one hand we can use the familiar Matlab®/Simulink® world and on the other the user can make unlimited use of common IEC 61131-3 languages. Thanks to this universality it is not necessary to integrate a second control system , for example for the addition of safety functionality – PC Control is ready to provide everything which is required for industrial use on a single platform.”

The openness of TwinCAT 3 as a milestone for developing future-proof systems

The researchers view the simple interfacing of Matlab®/Simulink® with TwinCAT 3 as a true milestone, because only that enables them to access an industrially compatible system in a simple manner from their scientific field of work. In addition, the entire hardware level can be structured very simply and modularly using TwinCAT 3 and EtherCAT. Christian Sturm explains: “All components connected to the EtherCAT system are represented as a hardware image under TwinCAT 3, so that all devices can be linked to the controller with ease via communication with our software module. In addition the system can be extended, for example with further I/O modules, simply and above all inexpensively thanks to the scalabe EtherCAT system – at a fraction of the costs compared to conventional systems.”

Dr. Tobias Bruckmann and Christian Sturm see two great strengths that distinguish TwinCAT 3: the Matlab®/Simulink® models can run on highperformance industrial hardware that is also suitable for extensive plants. In addition, the hardware can be constructed simply and flexibly from inexpensive modules.

Dr. Tobias Bruckmann and Christian Sturm see
two great strengths that distinguish TwinCAT 3:
the Matlab®/Simulink® models can run on highperformance
industrial hardware that is also
suitable for extensive plants. In addition, the
hardware can be constructed simply and flexibly
from inexpensive modules.

TwinCAT 3 similarly offers potential for future developments. Its support for multi-core technology, for instance, is of particular importance, especially with regard to industrial use, since the tasks necessary for this such as warehouse management and safety concepts can be outsourced to their own processor cores if necessary. In addition there is the openness through integration into Visual Studio®, which according to Dr. Tobias Bruckmann is a very attractive feature. The academic users would be only too willing to use this new programming technology to create a complete project, from real-time programming to the visualization in Visual Studio®. The next step for the cable robot project is to integrate software blocks written in C/C++ as well and in this way to be able to access other hardware interfaces, for example a camera system.

Source beckhoff.com