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:

Pluggable system solution helps tackle skills shortages and addresses DC power supply needs
Beckhoff Automation Enclosures, Cabling & Connectors
As a replacement for the conventional control cabinet, the MX-System from Beckhoff is a uniform modular automation system that can be used to completely replace traditional control cabinets with function modules in many applications.

Read more...
PC-based control for advanced hydrogen storage technology
Beckhoff Automation Fieldbus & Industrial Networking
Sufficient storage options for renewable energies are essential to use them as efficiently as possible. GKN Hydrogen offers a particularly compact and safe option, low-pressure metal hydride hydrogen storage systems with PC-based control from Beckhoff.

Read more...
Prestigious award recognises inventiveness and entrepreneurial courage
Beckhoff Automation News
Hans Beckhoff, managing director, owner and founder of Beckhoff Automation, was recently honoured with the widely acclaimed Rudolf Diesel Medal 2025. This medal honours him as a visionary pioneer in automation technology.

Read more...
Next-generation homebuilding
Beckhoff Automation Editor's Choice Motion Control & Drives
Promise Robotics, a Canadian startup is reinventing prefabrication. Advanced automation technology from Beckhoff and AI control a robotic solution for efficient prefabrication. As a result, onsite assembly becomes up to 70% faster.

Read more...
Digital transformation from the edge
DirectLogic Automation System Integration & Control Systems Design
Edge-enabled PLCs are an accessible and affordable way for most users to collect and create value from use field-sourced data.

Read more...
New modules for distributed integration of intrinsically safe signals
Beckhoff Automation IS & Ex
Beckhoff provides a compact acquisition solution for intrinsically safe signals up to zone 0/20 with the IP67-protected EtherCAT Box modules of the EPX series.

Read more...
Beckhoff’s XPlanar boosts productivity in medical device assembly
Beckhoff Automation Fieldbus & Industrial Networking
The intelligent transport system, XPlanar from Beckhoff provided the basis for an innovative system concept allowing the specialists at Automation NTH to reduce the space requirement of an assembly machine for medical diagnostic devices by a factor of 10.

Read more...
Powering southern Africa’s industrial evolution for over five decades
Oilpower System Integration & Control Systems Design
Established in 1974, Oilpower is a recognised name in South Africa’s hydraulic and pneumatic sector. What started as a small, family-run business has matured into a highly structured operation with specialised teams, experienced engineers and a reputation for technical excellence and reliability. Oilpower is celebrating its 50th anniversary this year

Read more...
Multi-touch panel generation in a smart design
Beckhoff Automation Operator Interfaces, Switches & Relays
Following over 25 years of successful in-house panel production and 12 years of expertise in multi-touch design, Beckhoff is bringing out a new smart panel design, the Next multi-touch panel generation.

Read more...
German Chancellor visits Beckhoff at Hannover Messe
Beckhoff Automation News
As part of the traditional Hannover Messe opening tour, Federal Chancellor of Germany, Olaf Scholz visited German company, Beckhoff Automation. Hans Beckhoff, managing director and owner of Beckhoff Automation, presented his company and its comprehensive expertise in the field of software and AI.

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