Fieldbus & Industrial Networking


PC-based control for university studies

April 2024 Fieldbus & Industrial Networking

The IDEA box developed at Heilbronn University of Applied Sciences (HHN) is designed to introduce students to the topic of Industry 4.0 in a simple and practical way. At the core of the corresponding demo case is PC-based control from Beckhoff, with the C6015 ultra-compact Industrial PC, TwinCAT and EtherCAT Terminals as a flexible I/O system.

The “magic suitcase full of future technologies” – as Professor Thomas Pospiech, the initiator of the project, calls it – will benefit students from the technical faculty at HHN. It enables numerous industrial application scenarios illustrating the increasing convergence of IT and automation to be implemented and solved directly in the lecture hall.

The idea behind the box

Students build their own electrical circuits with sensors, and program the IDEA box so it can read and process the sensor signals. The result may be a graphical display of the development of the measured variables over time, an alarm that is triggered on all IDEA boxes in the lecture hall when limit values are exceeded or not reached, or the activation of a motor in the box. Data communication is transferred to the students’ smartphones via the internet. The IDEA box is particularly intended to enable students to implement their own ideas due to its wide range of possible uses.

Overall, the demo case covers all the basics of conventional automation technology, from data acquisition and processing via capacitive and inductive proximity switches, for example, to simple single-axis positioning tasks. Pospiech adds: “Time-critical applications are also possible, allowing students to gain experience at the limits of the control cycle time.”

The IDEA box is a small case, with a volume of about 9 litres, containing the C6015 ultra-compact Industrial PC, an EK1818 EtherCAT coupler, and several EtherCAT terminals, in addition to a Raspberry Pi single-board computer, and the sensor and actuator technology. This allows students to operate DC and stepper motors and also a synchronous servomotor. Various interfaces and slots also enable users’ own developments to be connected and networked – for example with microcontrollers. This allows cyber-physical system concepts to not only be explained, but actually implemented by students.

System openness through PC-based control

Another contributing factor with regard to the high degree of flexibility is the expansion options; for example, the two existing modules in the case lid – with either the sensor technology or the microcontroller technology – can be replaced by new developments. This makes it possible to integrate new learning content, e.g., an image processing module, without having to completely rebuild the IDEA box. The communication technology is just as flexible as the setup, thus providing students with as many technical requirements as possible. For example, the C6015 communicates with the I/O terminals via EtherCAT, and with cloud solutions via MQTT. ADS, OPC UA, Modbus, WLAN and the I2C data bus are also implemented.

For Pospiech, this kind of system openness is essential in order to teach students over as broad a spectrum as possible: “In PC-based control from Beckhoff, I particularly appreciate this openness to any software and technologies that may come our way, and therefore have to be taught. The industrial PC is ideal for this purpose, especially since only this IPC can achieve the level of functionality at such a high packing density. Another major advantage is that TwinCAT also allows other software packages such as MATLAB/Simulink to be integrated easily and in full,” he says.

The IDEA box was first used at the start of the 2020 semester, which according to Pospiech brought a rather unexpected advantage of the extremely compact demo case to the fore: “With the onset of the COVID-19 pandemic, we very quickly switched to online lectures, with the huge advantage that students could simply take the IDEA box home with them and work in the same practice-based way as at the university,” he explains.

Expansion to include multi-axis motion and robotics

The motion control expansion box has been developed as a way to teach multi-axis movements and robotics kinematics. It contains the required power supply, and EtherCAT couplers and terminals in the case lid. In addition, there is a single stepper motor, a two-axis kinematic system, and inside the case two different linear axes, one of which has a pendulum mechanism. The C6015 provides the control intelligence to the connected IDEA basic box. As Pospiech explains: “Using a stepper motor with, for example a spindle, the purely mathematical programming can be combined very effectively with the mechanical properties as a way of providing optimal illustration of the overall mechatronic system, with the aspects of motor, rotary motion, spindle or spindle pitch, and feed or reference run. And this is where a major advantage of TwinCAT becomes apparent, because a wide variety of motors – whether stepper motor or servomotor – are handled in exactly the same way in the software application. This means students can be given the knowledge they need based on one motor, and then easily transfer what they’ve learned to another motor to reinforce it.”

More complex functions such as cam plates, anti-oscillation algorithms and resonance-free positioning can also be implemented with the motion control box and the linear axis with pendulum mechanism. This is helped by the fact that the modular design is applied systematically, i.e., the axes can be easily exchanged, for example as a way of understanding a control engineering model based on the balancing of a ball. The dual-SCARA kinematics are primarily intended to teach the topics of manual referencing and forward and reverse transformation. By combining multiple axes, the complexity can be increased. For example, the robot kinematics and the spindle axis can be combined into a pick-and-place unit by means of a simple conversion.

A digital twin through model integration

A CAD model of the motion control box, which can be linked kinematically to the PLC program, gives students their first experience with a digital twin. For Pospiech this is particularly important when considering the future: “Virtual commissioning of the digital machine twin allows development steps to be brought forward, and subsequent processing steps to be run in parallel – a prerequisite for Germany to remain competitive as a production location from a global perspective. Our students should be given the best possible training for exactly that.”

According to Pospiech, TwinCAT once again offers significant advantages due to its openness. “The oscillation of the pendulum, for example, is not recorded via sensor technology, but is simulated via a corresponding MATLAB/Simulink model integrated directly in TwinCAT. A total of five such physical behaviour models run on the C6015 ultra-compact industrial PC, including those for flexible components such as the toothed belt. Communication between the digital twin and the controller runs bidirectionally via TwinCAT ADS.” All geometric distances of the moving components or assemblies can be determined through the integration of virtual sensors in the underlying Unity model. For example, collisions can be detected and robot workspaces can be monitored dynamically. The information can be generated in the Unity model and communicated via feedback to the PLC. This information is processed in the controller in turn, and corresponding functions are executed so that appropriate actions are taken.

The IDEA box was developed especially for use in a teaching environment. In recent years, however, it has become apparent that the system is also of great interest to industry as a way to find suitable solutions as quickly as possible in a wide variety of areas. In addition, Heilbronn University of Applied Sciences makes all programs created during the lectures freely available so that the box can be distributed as widely as possible and inspire young people in particular to take up technical professions. Further expansion stages will also play a part in this, including the control of six-axis kinematics via augmented reality.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Comprehensive solutions for the food and beverage sector
RS South Africa Fieldbus & Industrial Networking
RS South Africa is reinforcing its commitment to the country’s dynamic food and beverage sector, backed by a comprehensive portfolio of over 800 000 products, extensive technical expertise and end-to-end service capabilities.

Read more...
PC-based control for a food capsule and pod packaging machine
Beckhoff Automation Editor's Choice
For TME, a machine builder specialising in the packaging of powdered foods, Beckhoff’s PC-based control technology offers unlimited opportunities when it comes to performance and innovative capacity in terms of flexibility, scalability and openness.

Read more...
Case History 198: Cascade control overcomes valve problems
Michael Brown Control Engineering Fieldbus & Industrial Networking
A large petrochemical refinery asked me to perform an audit on several critical base layer control loops. This article deals with a problem found on a valve controlling the flow of fuel to a heat exchanger.

Read more...
Improved networking technology for fire and gas detection
Omniflex Remote Monitoring Specialists Fieldbus & Industrial Networking
Critical alarm and event management technology supplier, Omniflex has worked with the South African Nuclear Energy Corporation to upgrade equipment providing digital and analogue signals for its safety critical fire and gas alarm systems.

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...
Next-generation PLC technology with advanced chatbot functionality
Beckhoff Automation IT in Manufacturing
Beckhoff is taking automation technology to the next level with TwinCAT PLC++. Both engineering and runtime are noticeably faster, without compromising on TwinCAT’s signature strengths of seamless integration, compatibility and openness.

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...
PC-based control for fertiliser
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
On a farm in the USA, valuable ammonia is extracted from slurry and processed into ammonium sulphate. NSI Byosis has transformed this complex process into a flexible modular system. This modular approach requires an automation solution with flexible scalability in both hardware and software, which this Dutch company has found in PC-based control from Beckhoff.

Read more...
Loop signature 28: Things to consider when tuning.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
I was giving a course at a remote mine in the middle of the Namibian desert. We were discussing tuning responses, and as I always do on my courses, I mentioned that in my opinion ¼ amplitude damped tuning is not desirable, and is in fact not good.

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...