System Integration & Control Systems Design


Machine learning for all areas of automation

June 2019 System Integration & Control Systems Design

Beckhoff now offers a machine learning (ML) solution that is seamlessly integrated into TwinCAT 3 software. Building on established standards, TwinCAT 3 Machine Learning brings to ML applications the advantages of system openness from PC-based control. In addition, the TwinCAT solution supports machine learning in real-time, allowing it to handle even demanding tasks like motion control. These capabilities provide machine builders and manufacturers with an optimum foundation to enhance machine performance, e.g. through prescriptive maintenance, process self-optimisation and autonomous detection of process anomalies.

The fundamental concept of machine learning is not to follow the classic engineering route of designing solutions for specific tasks and then turning these into algorithms, but to learn the desired algorithms from process data instead. With this alternative approach, powerful ML models can be trained and then used to deliver superior solutions. In automation technology, this opens up new possibilities and optimisation potential in many areas, including predictive maintenance and process control, anomaly detection, collaborative robotics, automated quality control and machine optimisation.

The models to be learned are trained in an ML framework, such as MATLAB or TensorFlow, and then imported into the TwinCAT runtime via the Open Neural Network Exchange Format (ONNX), a standardised data exchange format used to describe trained models. The TwinCAT runtime incorporates the following new functions for this purpose:

• TwinCAT 3 Machine Learning Inference Engine for classic ML algorithms, such as support vector machine (SVM) and principal component analysis (PCA).

• TwinCAT 3 Neural Network Inference Engine for deep learning and neural networks, such as multilayer perceptrons (MLPs) and convolutional neural networks (CNNs).

Model results are directly executable in real-time

Inference i.e. the execution of a trained ML model, can be performed directly in real-time with a TwinCAT TcCOM object. With smaller networks, system response times of less than 100 s corresponding to a TwinCAT cycle time of 50 s are supported. Models can be called via PLC, C/C++ TcCOM interfaces or a cyclical task.

Through seamless integration with the control technology, the multi-core support provided by TwinCAT 3 is also available for machine learning applications. This means, for instance, that different task contexts can access a particular TwinCAT 3 Inference Engine without restricting each other. All the fieldbus interfaces and data available in TwinCAT can be fully accessed as well. This allows ML solutions to use immense amounts of data, for example, for complex sensor data fusion (data merging), and it also means that real-time interfaces to actuators are available to enable, among other things, optimal control.

For more information contact Michelle Murphy, Beckhoff Automation, +27 11 795 2898, [email protected], www.beckhoff.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Modernising Vertical Filter Press Machines with Future-Focused Control Systems
System Integration & Control Systems Design
Project and Industry Pressure Filter Specialists approached us to modernise vertical filter press machines for the Minerals and Metals industry. The goal was to improve reliability, reduce downtime, ...

Read more...
PC-based control in the plastics industry
Beckhoff Automation Fieldbus & Industrial Networking
Nissei Plastic, an injection moulding machine manufacturer based in Japan is implementing a worldwide tend towards open automation systems from experienced specialists using PC and EtherCAT-based control technology from Beckhoff.

Read more...
PC-based control for flat wire motors for electric vehicles
Beckhoff Automation Editor's Choice Motion Control & Drives
Special machine manufacturer, ruhlamat Huarui Automation Technologies has unveiled the second generation of its mass production line for flexible stators with bar winding (pins). This enables an extremely short production cycle and line changeover times, supported by PC- and EtherCAT-based control technology from Beckhoff.

Read more...
Project & industry
System Integration & Control Systems Design
Project and Industry This project involved delivering a complete electrical, instrumentation, and automation solution for a new OEM drum-twister machine, replacing an ageing unit in a major cabling production ...

Read more...
PC-based control optimises robotic parts handling on plastics machinery
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
NEO is a cartesian robot developed by INAUTOM Robótica in Portugal for parts removal on plastics machinery. Its aim is to increase system productivity. NAUTOM Robótica has entered into a strategic partnership with Bresimar Automação to increase the working speed of the cartesian robots using advanced control and motion solutions from Beckhoff. The result is a comprehensive, future-proof automation solution for its entire family of cartesian robots.

Read more...
PC-based control for flat wire motors for electric vehicles
Beckhoff Automation Fieldbus & Industrial Networking
Special machine manufacturer, ruhlamat Huarui Automation Technologies unveiled the second generation of its mass production line for flexible stators with bar winding. This enables extremely short production cycle and line changeover times, supported by PC- and EtherCAT-based control technology from Beckhoff.

Read more...
Hans Beckhoff receives German Mechanical Engineering Award
Beckhoff Automation News
Hans Beckhoff has received the 2025 German Mechanical Engineering Award. This prestigious award honours entrepreneurs who have set standards in machine and system engineering, driven innovation, and taken on social responsibility.

Read more...
Intuitive CNC HMIs with simulation functionality
Beckhoff Automation SCADA/HMI
The TwinCAT 3 automation software from Beckhoff offers two new function libraries for CNC-specific user interfaces. These were used to create an advanced, intuitive HMI application specifically for CNC purposes and to simulate part machining using real-time data.

Read more...
It’s a risky business not to challenge standard language
System Integration & Control Systems Design
On the surface, contracts all look alike. Once you’ve seen one, you’ve seen them all, or so it seems. Maybe so, but hidden within the standard language can be language that shifts the other party’s risk to you.

Read more...
PC-based control technology in additive manufacturing
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
As an open control platform, PC-based control supports different engineering approaches, including low-code programming. The machine builder, Additive Industries uses this to create the code for the TwinCAT runtime of its 3D printers.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved