Introduction

The ongoing fourth industrial revolution forces manufacturers around the globe to face significant changes in their possibilities to plan and steer production processes and overlying operations (Zheng et al., 2021; Zhong et al., 2017). Despite all the advantages the connection and network technologies offer (e.g. digital value chain, one-piece flow concept, circular economy), there are crucial thresholds to overcome in order to implement digitalization technologies in a successful and sustainable way (Enyoghasi & Badurdeen, 2021; Gupta et al., 2021; Reiman et al., 2021). These thresholds can be divided into investment (economic related) and socio-cultural (management and psychology related) challenges. Regarding investment issues, especially SMEs face a serious problem, as most digitalization approaches are highly scalable, making the amortization time for necessary investments much longer for this kind of businesses (Müller et al., 2018). This also includes the required human capital to implement infrastructural changes within a company. To sustain the digital change in the manufacturing environment, responsible managers must be aware of potentials and possible threats on the technical as well as working environment layer (Akkaya, 2019).

To contribute to the solution of these issues, this paper focusses on two main objectives:

  1. a.

    Reducing the investment costs for smaller companies by using mainly open source software (SW) and cost-effective but suitablē hardware (HW),

  2. b.

    Development of a resilient Cyber Physical Production System (CPPS) which can be used to educate engineering students and therefore future production managers as well as other interested parties from the manufacturing industry segment in the topic of digitalization and associated technologies.

In order to create a case study which fulfills the requirements of (a) and (b), an already existing metal forming aggregate at the Smart Forming Lab (SFL) at the Chair of Metal Forming (CMF) of the Montanuniversitaet Leoben was chosen (Ralph et al., 2020). For this purpose, the CMFs rolling mill aggregate was used, as it can serve as an ideal example of how retrofitting from sensor application up to implemented machine learning algorithms can be integrated successfully in a low-cost (LC) resilient digitalization layer architecture (Ralph et al., 2021a, 2021b, 2021c). This brownfield approach is also a common initial state within the metal forming and metallurgical environment, as the production asset life span tends to be significantly higher than in other industry segments (Ball et al., 2020; Elkins et al., 2004). Especially considering SMEs and their lower investment budget, brownfield approaches dominate when it comes to digitalization approaches in comparison to corresponding greenfield investments (Sorensen et al., 2019).

Further considering this financial restrictions, most SMEs face, LC solutions based on open-source software tend to be a suitable option for the implementation of Industry 4.0 related digitalization approaches (Buer et al., 2021; Denicolai et al., 2021; Dutta et al., 2021). Furthermore, as the metal forming industry heavily relies on process models to decrease the quality related costs, this software can support the integration of these models within the manufacturing operations, as most solutions tend to have more suitable interfaces to connect directly with simulation related program environments (Ralph et al., 2021a, 2021b, 2021c; Schwarz et al., 2021). One disadvantage of this approach are the required skill sets to maintain and adapt such open-source solutions, as IT skills remain a scarce resource especially in SMEs operating in the manufacturing environment (Dethine et al., 2020; Eller et al., 2020; Kergroach, 2020).

For this reason, this paper demonstrates a new approach for the transformation of outdated machine systems into CPPS, demonstrated by a rolling mill system initially put into operation in 1954. The novelty within this approach is the focus on suitable low-cost hardware and open-source software wherever applicable, to consider the limited financial capabilities of most SMEs and similar facilities. Furthermore, by taking into account the possible lack of IT-specialists within this environment, the user-friendliness in terms of operating and mainting this kind of CPPS was another special focus of this work. Based on the rolling mill example, this paper describes the most important principles of sheet metal rolling and an SME tailored CPPS approach in (2), followed by the initial setup before the transformation of the respective machine system in (3). Section 4 describes the required and applied sensor technology (4.1) as well as the digitization of the given sensor data (4.2), whereas the sensor selection was based on the principle of low-cost by maintaining sufficent accuracy, connectivity and reliability. In (5), the upfollowing digitalization approach including an appropriate HMI is discussed, based on the same requirements as in (4). Section 6 demonstrates the development, implementation and validation of the machine learning algorithm for the system including an additional GUI for the ML application. In (7), the resulting LC user-friendly CPPS is summarized and discussed, followed by a conclusion and a corresponding outlook in (8).

Fundamentals of the rolling process and CPPS

Within this chapter, the most important characteristics of the rolling process as well as a common definition of a CPPS are introduced. Based on these definitions, the case study will be elaborated, beginning with the initial state (3), followed by digitization (4) and digitalization (5) and the developed data driven (black box) digital twin setup (6) (Ralph & Stockinger, 2020).

The rolling process

According to DIN 8580, rolling belongs to the manufacturing processes of forming under compressive loads and to the group of direct forming processes. During the process, a sheet material is formed through the roll gap between at least two rotating rolls, leading to a reduction in the cross-section of the rolled material. (German Institute for Standardization).

During the rolling process, a force flow occurs through the roll stand as a result of the load applied to the processed material. All parts of the roll stand that are directly or indirectly affected from the force flow, undergo an elastic deformation (Wang et al., 2017). Affected parts are the rolls, roll bearings, load cells, adjusting elements and the roll stand itself. This elastic deformation causes the roll gap to increase, from the initial (set) gap s0 to s1, whereas the difference between is defined as ∆s (Fig. 1).

$$ \Delta s = s_{1} - s_{0} $$
(1)
Fig. 1
figure 1

Geometry change during rolling

The end thickness of the rolled sheet h1 can be calculated according to the Gage-meter equation (Lee & Lee, 1999). The Gage-meter equation specifies the expected exit thickness of the rolled material h1 depending on the initial roll gap height s0 and the elastic deformation, which depends on the rolling force FR and the stand modulus C. The elastic deformation of the aggregate is characterized by C and corresponds to the slope of the roll stand module in the rolling gap diagram.

$$ h_{1} = s_{0} + \frac{{F_{R} }}{C} $$
(2)

The rolling gap diagram shows the rolling force FR over s0 and initial material thickness h0 (Fig. 2).

Fig. 2
figure 2

Work diagram for rolling for a defined s0

The point of intersection between the roll stand characteristic curve, defined by the slope C, and the materials characteristic curve, defined by the material module in the rolling gap diagram is called the working point (A). A provides information on the exit height of the rolled sheet h1 as a function of FR (Fig. 2).

It is important to note that the influence of sheet metal width is not considered as influencing factor of C, but included in the material module. The first hypothesis this paper aims to test can be stated as follows:

  • The friction state and resulting rolling force deviations mainly depend on the initial sheet geometry.

    Therefore, the contact surface in the roll gap increases the resulting rolling force significantly more than the effect of a rougher surface topology. In addition, the approximated linear behavior of C is given for one s0.

    The second hypothesis tested within this work and to be elaborate more deeply in Sect. 6 is defined as follows:

  • The stand modulus C behaves non-linear as a function of varying s0 and the overall difference between h0 and h1, ∆h.

Similar to hypothesis 1, an influence on the material behavior (e.g. due to work hardening) can be observed, although the authors state that the force flow through the machine system also contributes significantly to the change in h1, which as a consequence results in a dependency of C on ∆h.

$$ \Delta h = h_{0} - h_{1} $$
(3)

Cyber physical production systems (CPPS)

CPPS can be defined as a derivative from Cyber Physical Systems (CPS), especially tailored to the production segment. Although CPS and CPPS are heavily researched in the past years, there is still no standardized definition for this technology framework (Wu et al., 2020).

According to Wu et al. (2020), the most accepted definition can be derived from the work of Cardin (2019) who extended a previous definition from Monostori et al. (2016) to the following statements:

  1. 1.

    CPPS are superordinate systems within systems.

  2. 2.

    CPPS consist of cooperative elements, those connect with each other situationally appropriate, on and between all different levels within the production environment, from the processes itself, through involved machines up to overlaying networks, e.g. MES or ERP-systems.

  3. 3.

    CPPS enhance decision making processes in real-time in a resilient and robust way, with respect to time as well as foreseen and unforeseen events (Wu et al., 2020).

The fulfillment of (1), (2) and (3) for the case study presented in this paper will be demonstrated in the following chapters. In order to do so, these very broad conditions have to be concretized. Despite this requirements, the practicability for learning purposes as well as financial restrictions (e.g. for the implementation in a SME or academic learning environment) were considered. Most important, the user friendliness of a CPPS will also be in focus of this study. Therefore, the development of shop-floor friendly, intuitive Human Machine Interfaces (HMIs) are a central point in this work. Additionally, LC solutions to avoid expensive maintenance and update plans were used wherever possible. Table 1 summarizes the specifications of the LC user centered CPPS developed within this paper.

Table 1 LC user centered CPPS: further adaption and concretization by the authors (Wu et al., 2020)

Initial machine and digitalization set up

This chapter describes the initial state of the existing infrastructure at the SFL, whereas (3.1) focusses on the IT-layer structure and (3.2) shows the initial state of the rolling mill system to integrate into the layer architecture.

The six-layer architecture at the SFL

Figure 3 shows the initial layer system implemented at the SFL. Before the integration of the milling system, a CNC lathe (type EMCOTURN E65) was connected with a power measurement unit into a condition monitoring system, powered by a WAGO controller with integrated warm memory storage (type PFC200 G2 2ETH RS). The unrefined data (e.g. phase currents, voltages) is pre-processed, agglomerated and uploaded on the internal server structure at the SFL, using the structured text (STS) based WAGO e-cockpit SW, after A/D transmission via additional modules (type WAGO 750-494). Within the STS environment, an additional condition monitoring system and corresponding GUI was programmed. The server-stored data is extracted autonomously with a Python based script, running on the same server environment. This script extracts and transforms the data into a set up SQL database, from which most important project management (PM) data is published near real time on a PHP based PM tool (Ralph et al., 2021a, 2021b, 2021c).

Fig. 3
figure 3

Initial state of the six-layer architecture at the SFL (Ralph et al., 2021a, 2021b, 2021c)

The layer architecture was initially created with the purpose of connecting different machine systems at the SFL step by step, including not only condition monitoring and PM-related data, but also process data and, as final objective, resulting in different LC user centered CPPS. Therefore, the five criteria defined in Table 1 were already considered within the planning and development of this structure (Fig. 3).

The rolling mill system

The rolling mill system at the SFL at the CMF is a duo rolling mill and was built and put into operation in 1954. The hand wheel at the top of the rolling mill is used to adjust the height of the roll gap (Fig. 4) and rotates the guide spindle via gears, which increases or decreases the height of the rolling gap depending on the direction of rotation. An adjustment of 0.07 mm per gear tooth was used as a parameter for adjusting the roll gap height.

Fig. 4
figure 4

Rolling mill system: initial state

More than a decade ago, the machine was equipped with two load cells to measure the rolling force on the left and right guide spindle. Figure 5 shows the initial load cell mounted between the left guide spindle and the roll chock. The data acquisition during a milling process, in order to obtain the actual FR with corresponding time increments, was done with a proprietary Windows XP based DAQ system, with a maximum data transmission frequency of 22.5 Hz.

Fig. 5
figure 5

Load cell of the left guide spindle: initial state

Retrofitting and digitization

The following subchapters describe the sensor retrofitting (4.1) as well as corresponding digitization (4.2) and therefore coupling of the calibrated sensors to the SFLs six-layer architecture. All actions taken for the sensor selection, calibration and implementation underly the assumptions made in (2.1) (the required physical quantities) and (3.2) (the physical limits of the machine system itself).

Sensor retrofitting

In order to choose appropriate sensors to meet the criteria of a LC user centered CPPS, the required specifications were defined in first instance. Based on these requirements, the sensor technology was selected. In addition to the required magnitude of the sensors, parameters such as linearity and resolution play a major role in the resulting quality of the recorded data and in the selection of suitable sensor technologies. Furthermore, the maximum resolution of the DAQ system must be taken into account, as in most terms the bottleneck is not the measurement of an analog signal or the signal transfer through an A/D converter but the buffering and writing of gathered data on the controlling unit (Fig. 3, data acquisition layer). In order to implement a machine learning algorithm based on Eqs. (1) and (2) and therefore satisfy condition III, Table 2 shows the minimum quantities to be measured to achieve such a system. The measurement range is a result of the rolling mill systems specifications.

Table 2 Quantities and corresponding range to be measured to ensure valid data gathering within the required operational range

For the measurement of FR, the already existing load cells had to be replaced, as the maximum measurement range of each cell was defined with 150 kN. Furthermore, after calibration and analysis of the resulting data, a significant deviation between both cells and high non-linearity in each measurement system was detected, indicating a malfunction within at least one of them.

For the new load cell measurement system, despite the specified range, the following requirements had to be fulfilled:

  1. a.

    The measuring system must be able to withstand an overload to avoid measuring errors and shortened lifespan (Table 1, V).

  2. b.

    The load cells must have a high linearity in order to be able to resolve the rolling force to a sufficient degree during the rolling process (Table 1) (III).

    Additionally, the initial roll gap s0 and with it, the change of the gap during the rolling process had to be measured with sufficient linearity and within the defined range. Based on heuristic knowledge and basic calculations, the deflection of the roll gap could be defined in the range of tenths of a millimeter, while the maximum height of the roll gap is constricted by the machines’ geometry to 20 mm. Since the linearity of a sensor is specified as a percentage of the measuring range, two conditions must be met:

  3. c.

    The sensor must be able to measure a distance greater than the maximum adjustable roll gap and

  4. d.

    must have a high linearity in order to be able to resolve the deflection of the roll gap to a sufficient degree during rolling (Table 1, III).

To meet the requirements of (c), (d), and the defined measurement range in a cost-effective manner (Table 1, I), a linear variable differential transformer (LVDT) sensor was chosen. In addition, an angle sensor was attached to the gear of the hand wheel for demonstration purposes to students and other interested parties at the SFL.

Table 3 shows the finally selected sensors and their specifications.

Table 3 Selected sensors and their specifications for the transformation of the rolling mill system according to the fundamental equations pointed out in Sect. 2

Table 4 defines the external electronics used to transfer the sensor signals into a suitable analog signal for the DAQ system. For the LVDT sensor, the external electronics from the same manufacturer was used. External electronics from a third-party supplier were installed for the load cells. These mV transmitters can be individually configured to the specifications and requirements of the load cell and can therefore also be used if the load cells are replaced.

Table 4 External electronics and specifications from the sensors to be implemented

In order to mount the selected sensors on the rolling mill, mechanical adaptions had to be made. Since the diameter of the new load cells is larger than the width of the roller supports, the entire contact surface at the bottom of the load cell cannot be supported. This could lead to a falsification of the measurement results. In order to be able to use the entire contact surface of the new load cell, an intermediate plate was installed between the roll chock and the load cell. To connect the guide spindle with the load cell, an additional adaptor was designed to transmit the rolling force coaxially (Figs. 6, 7).

Fig. 6
figure 6

Construction scheme of the new designed load measurement unit

Fig. 7
figure 7

Resulting implementation of the new designed load measurement unit

The LVDT sensor was mounted between the two roll chocks. In order to prevent interferences with the inductive measuring principle, the sensor holder is made of non-magnetic material (Fig. 8).

Fig. 8
figure 8

Mounted LVDT sensor

The multiturn encoder was mounted directly on the machine rack. The resulting angle after manual roll gap changing is derived via the connection of the sensor with one of the two main gears at the mill, which are connected to the hand wheel via a defined gear transmission ratio. To consider the surface roughness of the gear and therefore ensure contact between the sensor and the gear, a pre-stressed spring is applied to ensure continuous contact (Fig. 9).

Fig. 9
figure 9

Mounted multiturn encoder

Digitization

In order to convert the analog signals from the external electronics (Table 4) into signals suitable for computer-aided processing, the devices were connected to the already existing WAGO node 1 (Fig. 3, data acquisition layer). This node consists of a WAGO PFC200 G2 2ETH RS controller coupled with I/O modules (Fig. 10). The I/O modules used are from the same supplier (type 750-453) and are designed for transforming analog signals in the range of 0 to 20 mA. As already mentioned, the resolution depends on the DAQ, which can resolve the analog signals of the sensors in 15 bit, therefore the analog signal of each sensor can be resolved in 215 equivalent steps.

Fig. 10
figure 10

Controller and I/O modules

Figure 11 shows the corresponding connections of the three mill sensors with the used I/O module.

Fig. 11
figure 11

Circuit diagram of the connection rolling mill sensors/DAQ

Figure 12 shows the final digitization framework for all three sensor types, from the physical measurement entity to the implementation into the layer framework. It is important to note that the used WAGO DAQ system isn’t the most cost efficient possibility to connect the machine within such a system (e.g. Arduino based microcontroller would have been a more LC alternative). Under consideration of practicability and longtime maintainability, the use of a standardized framework which operates on industrial standards like the WAGO system or other comparable solutions was chosen. Another reason for this decision is the user friendly back end GUI, that comes within the SW and that allows non IT-personnel to supervise and even extend programmed functionalities with basic IT knowledge (e.g. the usage of predefined module blocks within the SW instead of STS coding). This advantages also apply for the first developed front end GUI, which is also based on the same framework.

Fig. 12
figure 12

Sensor connection and A/D conversion

Digitalization

This chapter describes the transformation of digitalized sensor data within the layer architecture. After A/D conversion, resulting digital signals have to be transformed into real physical quantities. This is done within the data preprocessing layer (Fig. 3) using STS based programming and an additional Python script. Additionally, state dependent data gathering frequency is set within this layer (5.1), fullfilling the requirements of I and II (Table 1). (5.2) describes the adaption of the first front-end GUI for the rolling mill setup (according to Table 1, IV).

Data pre-processing layer

Before working with the digitized signal data is possible, transformation of the resulting data into corresponding physical quantities has to be done. This operation is carried out within the data pre-processing layer (Fig. 3) using the STS environment provided by the WAGO SW. All three sensor types can be calibrated linearly under consideration of their characteristic linearity (Table 3). As a result, a linear equation was programmed for each input channel, whereas the two individual coefficients were derived as a result of the range restriction of the specific device.

$$ f\left( {physical quantity} \right) = a + b*bit\_value $$
(4)

Figure 13 visualizes the transformation of the current signal into its physical value on the example of the load cells used schematically.

Fig. 13
figure 13

A/D input signal to physical quantity transformation: example rolling mill

Table 5 displays the resulting coefficients for all three sensor types on the basis of Eq. (4).

Table 5 Coefficients for the linear characteristic curve of implemented sensors according to Tables 3 and 4

The resulting FR is then obtained summarizing the values from both load cells within the STS environment. This approach also ensures that eccentric sheet insertion can be measured and do not result in a higher measurement error.

To fulfill requirement II. (Table 1), two different sampling rates for all rolling mill channels were defined. The first one is enabled continuously. In this case, 1 Hz was set within the STS. This low frequency is used to work as a simple condition monitoring system, giving warnings over the WAGO GUI (Sect. 5.2) whenever sensor values are out of calibrated range. For the actual processing, via a trigger that can be manually turned on within the GUI, a sampling frequency of 500 Hz was determined. In this case a Boolean variable is turned TRUE, which activates the higher rate, whereas the lower frequency stays enabled. After the actual process, the user can end the measurement again manually through the GUI, which sets the Boolean equal FALSE again. The major advantage through the manual activation is the possibility of measuring unconventional processes or trials, which would not be measured if the higher sampling rate would be activated by a force or dilation triggered algorithm (e.g. very thin sheets with low resulting FR, very soft material with low ∆s).While the continuous data gathered is directly stored on the CMFs’ internal server, the actual 500 Hz measurements have to be refined additionally before data science and machine learning algorithms can be used on it. This refinement algorithm is carried out within a simple Python script, which deletes numerical artefacts and duplicates from the given raw data. Numerical artefacts are lines that may occur due to buffering issues on the used controller unit. As the controller is initially not able to obtain frequency rates above 100 Hz, a script that uses the controllers’ RAM instead of warm memory was written and implemented in the STS environment. Nevertheless, the buffering operation stores data points until a defined extend, before submitting these data points to be actually written on the controllers’ internal memory. During the writing process, doubled data points within the same time stamp occur. Additionally, lines with zeros or NaN values are a result of this procedure. To avoid errors at upcoming mathematical operations (6.2, 6.3), these data points and corresponding rows have to be filtered first.

WAGO based GUI

The already existing WAGO GUI was extended with an additional layer for the rolling mill system, taking into account the preferences of involved technicians on the shop-floor level. The GUI runs on the controlling unit and is available through the corresponding IPv4 address with all computing devices within the SFL network. Figure 14 shows the STS programmed rolling mill layer within the GUI. Additional to the two resulting loading force values and sum of both, another variable is visualized, which is named “max load until reset”. This variable returns the maximum value stored at a current measurement. If the “Max Reset” button is pressed, the variable is set to 0. The same function is given for the variable “max roll gap until reset”, to be able to see the maximum height and force within a measurement, whereas all other variables defined return the real time value from the respective sensors. Depending on the status of the Boolean “Run Measurement”, the sampling rate is whether 1 Hz (Boolean = FALSE, button = GREEN (Fig. 14) or 500 Hz (Boolean = TRUE, button = RED). The parenthesized integer next is coupled with a counter in the STS, which counts up for each measurement executed within the same day. If the day within the timestamp changes, the counter is reset to 0. As the automatic export of high frequency measurement data is done in single files, named “YEAR-MONTH-TRIAL-NR”, the Python filter algorithm can easily distinguish between appending files within the defined folder. In order to prevent overloading of the rolling stand and power train, the visualization of force only contains a range of 0–300 kN. This ensures that the aggregate is not permanently operated at its load limit.

Fig. 14
figure 14

Rolling mill layer of the WAGO GUI

As mentioned in 5.2, the data storage from the I/O module is executed directly in the hot memory of the controller. Therefore, another layer was developed, which shows the actual CPU load of the respective controller. If this load exceeds 60%, writing and therefore accurate data gathering from connected sensors cannot be guaranteed. This value is reached within this setup if both connected aggregates are activated and the sampling frequency of the rolling mill exceeds about 0.560 kHz. If 60% are reached, another Boolean in the STS is set TRUE and a warning signal is shown at the main display. Figure 15 shows the CPU load GUI both connected machines disabled.

Fig. 15
figure 15

CPU load layer of Node 1: connected machines turned off

Machine learning algorithm and decision enhancing digital twin

After successful digitization (4) and digitalization (Sect. 5), III. (Table 1) has to be fulfilled. For this purpose, the connected rolling mill system had to be equipped with a suitable and efficient algorithm to support decision making within the milling process. As the correlation between the most important variables (Sect. 2.1) is rather complex in practice, a data driven modelling approach was chosen in first instance. This data driven model should be resilient, robust and easy to understand. Therefore, the complex and non-linear real-physical interrelationships between the machine system and processed material were discretized and transformed into a system of interdependent linear equations, calculated within the Python environment (Sect. 6.4). To avoid unrealistic or unreproducible results, a statistical approach was chosen (Sect. 6.1). Additionally, as the focus in this work lies on the calibration of the stand module C with all relevant dependencies, a well characterized material (Sect. 6.2) was chosen for the first setup. As a result, the second front-end GUI mentioned initially in this paper is presented and explained (Sect. 6.5).

Experimental setup

According to hypothesis 1 and 2 (2.1), the stand module C is a function of the processed sheet width b as well as ∆h and s0. Despite this statement, another important influencing factor in practice is the usage of an appropriate lubricant. Therefore, the following dependencies have been investigated within this experiment:

$$ C = C\left( {s_{0} , b, \Delta h, \mu_{lubricant} } \right) $$
(5)

For the initial calibration, µlubricant describes the change between sufficient lubrication and no lubrication. To be able to develop a data driven prediction model for the rolling process, three different rolling schedules (V1, V2 and V3) were defined (Table 6). The main objective of this setup was to get a broad set of data points for different s0(∆h), to investigate the influence of different combinations of these variables. To ensure comparability, an initial thickness of 6 mm and a final s0 of 0.5 mm was defined for each rolling schedule.

Table 6 Defined rolling schedules for data gathering, from high height reduction per process step (V1) to moderate (V3)

By varying the rolling schedules according to Table 6, it is possible to investigate if different cumulated strain paths (Eq. 6) have an influence on the elastic behaviour of the mill stand and therefore C.

$$ C \left( {\Delta h_{ij} , s_{{0_{k} }} } \right) = !C \left( {\Delta h_{lm} , s_{{0_{n} }} } \right) $$
(6)

For the investigation of the influence of b, three widths for the initial test and calibration data setup were chosen. For the validation of the resulting equation system, two additional widths were defined, one between the three first and one out of initial range, to be able to proof interpolation as well as extrapolation capabilities of the system (Table 7). For this validation experiments, rolling steps 1–4 from V1 were used, followed by a direct height reduction from 1.75 to 0.75 mm (Table 6, s0(V1)). The fifth step was spared out to be able to see if the interpolation between known s0 would obtain valid results within the developed machine learning algorithm.

Table 7 Defined sheet widths and corresponding rolling schedules for data gathering

To investigate the influence of lubrication on C, two different test series were defined, whereas test and calibration data sets were mirrored for both process friction states (Table 8).

Table 8 Defined lubrication schemes for the corresponding rolling schedules and sheet widths defined in Tables 6 and 7

The sheet specimen for the rolling process has to be entered manually (Fig. 4). To avoid measuring errors due to deviations in the reproducibility of single process steps within the rolling schedule, a statistical approach has been chosen. For this experiment, twelve sheets for each tested rolling schedule, test series and width were cut out of two identical raw sheets. In sum, 216 sheets for the creation of test and calibration data were used, split into three different rolling schedules, three different widths and to different test series (Table 9). To ensure a smooth transition into the milling system, the initial length of each specimen was set to 135 mm. Additionally, each sheet was deburred and cleaned before treatment.

Table 9 Specimen classification: resulting executed rolling schedules for the gathering of test/calibration data

The configuration shown in Table 9 for each test series ensures a continuous reduction of s0. In sum, 1736 milling process steps were carried out to gather the required test and calibration data. Figure 16 shows the processed specimens before and after rolling.

Fig. 16
figure 16

Processed sheet specimens: rolled (T1, top); initial (T2, bottom)

Table 10 shows the setup for the gathering of validation data. For this purpose, only 36 additional specimens were used and processed within T1 (no lubrication) and rolling schedule V1, whereas back up material was kept if the validation attempt in the resulting algorithm would fail. Including all process steps, a total of 1904 milling operations delivered output for the data driven modelling of the corresponding machine learning algorithm (Sect. 6.4).

Table 10 Specimen classification: rolling schedule, corresponding lubrication scheme and sheet with for the validation data

Deformation behavior of used material under rolling conditions

The material used in this study is EN AW-1050A, also referred to as Al 99.5, which is considered as technically pure aluminum due to its low content of constituents. Pure aluminum shows excellent ductility, exhibiting exceptionally good deformation behavior even after severe cold working. The hardening of the material introduced by forming can be attributed to the introduction and the multiplication of dislocations during their migration. For deformations such as in a cold rolling process, the face-centered cubic (fcc) crystal structure determines the slip systems: primarily, slip is observed on {111} < 110 > -slip systems since the Peierl’s stress is lowest in this direction. The stacking fault energy of about 170 mJm−2 in pure aluminum, which is comparatively high for fcc-structured metals, determines the predominant deformation mechanism of slip, rather than developing deformation twins (Simon, 1979).

The increase in strength introduced by cold working can be described in terms of increasing dislocation density. As a rough estimate, the dislocation density can be approximated by the increase in strength using Eq. (7).

$$ \sigma = 0.5Gb\rho^{\frac{1}{2}} $$
(7)

In Eq. (7), \({\upsigma }\) is referred to as the strength, G is the shear modulus of the respective material, b is the burgers vector and \({\uprho }\) is the dislocation density. The higher the dislocation density, the lower the mean free path between the dislocations. As a result of their interaction, strength increases due to reduced mobility. The dislocation increase depends on the selected forming degrees, which are introduced into the material at certain height reductions ∆h due to the rolling schedule. This increase in dislocations is opposed by certain softening processes since the condition including a high dislocation density is thermodynamically unstable. The most essential softening mechanisms represent recrystallization and recovery, the latter being crucial for aluminum due to the high stacking fault energy. For recrystallization to occur, both a critical degree of deformation and an elevated temperature of about 40% of the melting temperature are required, whereas both conditions are not met within this experimental setup (Gottstein, 2004).

During the rolling of a pure aluminum sheet, part of the applied forming energy is stored as deformation energy, the other, much larger part, dissipates in heat, driven by two phenomena: (1) the plastic deformation itself and resulting internal friction and (2) caused by tribological effects at the interface between the rolls and the sheet metal or the lubricant. These conditions favor the recovery processes which are characterized by facilitated cross-slipping of screw dislocations and climbing of step dislocations, thus causing annihilation of dislocations and therefore decreasing the dislocation density and the effect of cold working. These softening processes are diffusion-dependent, which occur at an accelerated rate under temperature increase, although room temperature is already sufficient to continue these processes to equilibrium when considering pure aluminum (Hasegawa & Kocks, 1979).

Therefore, strengthening due to cold working is already reduced at short time periods, leading to the conclusion that these processes do not have an effect on the corresponding strength values. Despite the recovery effect, the heat transfer within the tribology system is of utmost importance for the rolling process within this case study.

Aluminum is furthermore characterized by its high thermal conductivity, which at approximately 220 W(mK)−1 exceeds that of conventional steel grades by a factor of three. For this reason, the dissipated forming heat and heat generated by friction between the rolls and the sheet surface spreads rapidly over the entire specimen. As a result, the heat is more easily transferred to the lubricant and dissipated in this fluid. This phenomenon can have a substantial influence on the resulting behavior of the rolled specimen, especially considering different friction states (Ostermann, 2014).

Despite cold work hardening and thermal expansion, the elastic properties of the used material significantly contribute to the resulting process parameters in rolling. After the force is locally removed from the processed specimen, the elastic component of the strain applied results in an increase of the thickness h1. As a result, materials with a lower Young’s Modulus (YM) are increasing height after rolling significantly more than stiffer materials (Fig. 17).

Fig. 17
figure 17

Elastic stiffness and corresponding effect on h1 during rolling

Resulting experimental data

As expected from plastic deformation fundamentals, the resulting geometry changes of the tested specimens after rolling varies. The maximum bearable local plastic deformation wasn’t exceeded at any specimen within the experiment, therefore the law of constant volume (Eq. 8) applies.

$$ \ln \frac{{l_{1} }}{{l_{0} }} + \ln \frac{{b_{1} }}{{b_{0} }} + \ln \frac{{h_{1} }}{{h_{0} }} = \varphi_{l} + \varphi_{b} + \varphi_{h} = 1 $$
(8)

According to Eq. (8), l1 can be obtained if b1 and h1 as well as the initial geometry is known. Before the resulting test and calibration data is analyzed from a black box point of view, a first indication about whether there is a difference between the two data series can be made after measuring the resulting sheet width of each specimen. This was made on three reproducible locations at each specimen, according to Fig. 18. Table 11 shows the mean value at each measured point for each calibration and validation series, additionally divided into test series T1 and T2.

Fig. 18
figure 18

Sheet width measurement after rolling

Table 11 Specimen classification: resulting sheet widths of the exectuded rolling processes, measured at three points per sheet (test/calibration data)

As visualized in Table 11, the highest deviation in sheet width is 0.36%, which leads the authors to the statement that no differentiation between test and calibration data can be made. This also supports the theory, that the population of investigated specimens is valid. According to Sect. 6.2 and from a materials science point of view, there should also be no significant difference between sheets of same initial width that were rolled in different rolling schedules. Table 12 shows the standard deviation of all widths within a test series (V1, V2 and V3).

Table 12 Standard deviation of widths for T1 and T2 according to Table 11

Additional material related tests

To ensure that the definition of a CPPS according to Table 1 is fulfilled, additional validations were carried out (Condition III and V). The higher deviation between T1 and T2 within the same width indicates differences between the two test series, which, according to the authors, is the result of a changed tribology system. To investigate if this change significantly contributes to the resulting material behavior, tensile tests were carried out additionally. In order to characterize the mechanical anisotropy of the rolled sheets properly, a small but normed geometry was chosen to obtain stress–strain curves with 0°, 45° and 90° to the rolling direction for B1 and B2. For B3, only 0° specimens could be realized with scientific validity. It is important to note that the resulting h1 of each specimen varies as the final s0 was kept constant but the resulting cumulated force diverges significantly and therefore, the elastic spring back behavior as well as work hardening and force related heat expansion of the used Aluminum alloy contributes to the final thickness to different extends (Fig. 19). Table 13 shows the initial properties of each specimen used for additional tensile tests. For each sheet, three tensile tests specimens for each examined direction were produced, one sheet per corresponding test data series for T1 and T2. Figure 19 shows the normed specimen geometry, according to DIN EN 10002-1 (German Institute for Standardization), for the performed tensile tests.

Fig. 19
figure 19

Tensile test: initial geometry (German Institute for Standardization)

Table 13 Statistical comparison of h1 and resulting cross section for all tensile test specimens according to the initial rolling schedule

The higher deviation in the cross section is a result of the sample production, which were cut out with a water jet cutter at the CMF. More important, it can be stated that the resulting h1 for sheets that undergo the same treatment, except friction state (T1, T2) vary significantly. For each state, the height of rolled sheets without lubrication is effectively higher than with. As a result of the higher FR applied, the sum of elastic suspension of stand parts involved in the force flow during the rolling process is significantly higher. Therefore, the same degree of forming is not achieved as with the T1 series, and the plate thickness of the T2 series does not reach the same h1 as that with lubrication, especially when large height reductions within the process were set. Figures 20 and 21 show the comparison of a specimen with B1 (Fig. 20) and B2 (Fig. 21) for both friction states. A small but reproducible effect on strength due to anisotropy can be observed.

Fig. 20
figure 20

Specimen nr. 14: mechanical anisotropy T1/T2

Fig. 21
figure 21

Specimen nr. 86: mechanical anisotropy T1/T2

To investigate the influence of friction, the following Figs. 22, 23, 24 show the direct comparison between a specific rolling direction and both investigated test series. Figure 22 compares different tensile test specimens for 0°, 45° and 90° to rolling direction, for specimen nr. 14 (B1). The same comparison was made in Fig. 23 for specimen nr. 86 (B2). In Fig. 24, the smallest width within the test and calibration series (specimen nr. 98, B3) is compared in rolling direction.

Fig. 22
figure 22

Direct comparison: specimen nr. 14

Fig. 23
figure 23

Direct comparison: specimen nr. 86

Fig. 24
figure 24

Direct comparison: specimen nr. 98

The initial strip is commonly produced by hot rolling. This treatment already elongates the grains in the rolling direction, therefore the grains align themselves along a preferred orientation. The resulting microstructure exhibits a so-called rolling texture, as visualized in Fig. 25. The resulting anisotropy of the grain orientation also commonly affects the mechanical properties. The considerably larger number of grain boundaries to be overcome 90° to the rolling direction generally leads to an obstruction of the sliding processes. To determine the extent of anisotropy on sheet materials, tensile specimens are therefore regularly extracted and tested at 0°, 45° and 90° to the rolling direction. The recovery discussed in Sect. 6.2, however, leads to another phenomenon that is essential in explaining the low influence of anisotropy on macromechanical properties (Figs. 20 and 21), namely the polygonization of small-angle grain boundaries. This effect results in a substructure that forms globular sub grains. In optical microscopy images (OMI), this rearrangement is difficult to detect. In this case, the Barker electrolytic etching was used to visualize the microstructure (Figs. 25, 26, 27, 28), only showing the superposed deformation structure. It can be assumed that the progressed recovery stage in the pure aluminum used in this experimental setup is most likely responsible for the similar deformation properties between the directions in the tensile test (Humphreys & Hatherly, 2007).

Fig. 25
figure 25

Exemplary OMI: initial microstructure in rolling direction (T1 /specimen nr. 86, 0°)

Fig. 26
figure 26

Exemplary OMI: microstructure after the rolling process (T1 /specimen nr. 86, 0°)

Fig. 27
figure 27

Exemplary OMI: microstructure after the rolling process (T1 /specimen nr. 86, 45°)

Fig. 28
figure 28

Exemplary OMI: microstructure after the rolling process (T1 /specimen nr. 86, 90°)

Table 14 summarizes the resulting ultimate tensile strength (UTS) of each tested specimen under consideration of tested degree to rolling direction.

Table 14 Statistical comparison of UTS for tensile test specimens according to the initial rolling schedule

The low but significant differences in UTS between different measured directions of one specimen can be explained as stated previously. The reproducible deviations in UTS between different specimens are a result of geometric differences, as specimens with different h1 and therefore initial cross sections have different damage mechanisms dominating. The thinner the respective specimen, the more the plane stress state dominates, which results in higher resistance against damage and therefore slightly higher UTS values.

Data based experimental results

As stated in Sect. 6.4, the higher resulting friction within the tribological system of test series T2 result in a higher elastic suspension of the stand components of the rolling aggregate. This phenomenon leads to a higher increase of h0 as well as h1 in T2 compared to T1. Despite the resulting higher h1, the rolling mill and especially the mill stand has to apply higher forces than in the tribologic system with adequate lubrication. Figure 29 demonstrates this effect on the resulting FR on an exemplary rolling force hysteresis, where the same specimen from T1 is compared with T2. The effect of higher FR for T2 occurs in all different widths, as Figs. 30B2 and 31B3 demonstrate.

Fig. 29
figure 29

Example of a rolling hysteresis: B1 for s0 = 1.75 mm

Fig. 30
figure 30

Example of a rolling hysteresis: B2 for s0 = 1.75 mm

Fig. 31
figure 31

Example of a rolling hysteresis: B3 for s0 = 1.75 mm

Figure 32 shows a direct comparison between B1, B2 andB3 from the same rolling schedule and s0, for T1 (Fig. 32, top) and T2 (Fig. 32, bottom).

Fig. 32
figure 32

Rolling hysteresis: resulting FR as a function of initial sheet width: comparison between T1 (top) and T2 (bottom)

The unnatural angular curve progression is a result of the sample rate during rolling (500 Hz). To obtain smoother results, a controlling unit (Sect. 4.2, Fig. 10) capable of higher frequency would have to be implemented. As this plot only serves as a complementary visualization and the maximum valid sample rate is sufficient for the development of the machine learning algorithm (Sect. 6.6), the controlling unit is not changed within this case study.

For the development of the algorithm described in this paper, the maximum rolling force FR is of importance, whereas the curve progression is not relevant for the resulting digital twin. The usage of the maximum resulting force as FR can be seen as valid, as the deviation between this value and corresponding data points within the rolling process doesn`t exceed 0.05%. Figure 33 shows an exemplary FR(time) curve from a rolling process carried out.

Fig. 33
figure 33

Exemplary rolling force–time curve

Figure 34 shows the resulting data points for each process step within the test and calibration data setup, divided in test series and initial widths. In this diagram, a clear correlation between FR, ∆h(s0), Bi and Ti can be identified. As expected, test and validation data points for the same B, V and T cannot be separated. Therefore, no difference between those sets will be made in the following visualizations.

Fig. 34
figure 34

Resulting data points (1736) from the test and calibration data series

As described in Sect. 6.4, a difference between the maximum roll gap (s) and the resulting h1 of a specimen occurs. This effect can be demonstrated by plotting the same data points as a function of the maximum s (Figs. 35 and 36, yellow surface) and h1 (Figs. 35 and 36, blue surface). As visualized in Fig. 34, the difference between T1 (Fig. 35) and T2 (Fig. 36) can be seen due the offset of data points to higher FR with T2. The dependencies described in Eq. (6) (Sect. 6.1) and the effect of cold working (Sect. 6.2) result in higher rolling forces with increasing ∆h and decreasing s0. As expected, the difference in the tribological system results in significantly higher FR in T2 in comparison to T1. Also, higher FR correlates with increasing initial sheet width. These effects are cumulative, resulting in a maximum offset of FR between B1/T2 and B3/T1 at maximum value of the product ∆h*s0.

Fig. 35
figure 35

Comparison between resulting s (yellow plane) and h1 (blue plane) for B1, B2 and B3 within test series T1 (Color figure online)

Fig. 36
figure 36

Comparison between resulting s (yellow plane) and h1 (blue plane) for B1, B2 and B3 within test series T2 (Color figure online)

In order to validate the stated hypotheses regarding the correlation of introduced variables, the validation data were implemented into the T2 plane (Fig. 37). For a better visualization, only the V1 rolling schedule for each introduced B was plotted within. The resulting diagram shows a clear linear correlation between different widths and the corresponding s0 of V1. Furthermore, the modification of V1 at s0 = 1.75 mm (with a following s0 of 0.75 mm instead of 1.00 mm) also supports the correlations stated by the authors within this paper.

Fig. 37
figure 37

Implementation of validation data: comparison with V1 of test and calibration data sets

Result based machine learning algorithm

According to the statements made in the last subsections of Sect. 6, the developed machine learning algorithm operates on linear interpolation and extrapolation of given test, calibration and validation data (Fig. 38). The first setup is based on the logic demonstrated in Fig. 2, whereas the material curve was also modeled linear. For each given FR and corresponding h1, the algorithm interpolates with linear weighting functions between the initial data to obtain the working point A. This results in a new h1, which is used as new input h1 within a loop. As a result, a complete rolling schedule is obtained and in situ adapted during a carried out rolling process. To develop this digital twin further and realize actual machine learning, final data of an executed rolling scheme is added to the respective initial data set (T1 or T2) resulting in an overall adaption of the linearized functions for the characteristic rolling mill and material curve. Although it would be possible to use predefined machine learning algorithms (e.g. using the sci.py kit available within the Python environment), this logic has the advantage of a simple adaptability for other materials. Furthermore, it is easy to understand and adapt for learning students and other interested parties within the SFL at the Montanuniversität Leoben.

Fig. 38
figure 38figure 38

Fundamental logic for the Python based rolling schedule iterator

Machine learning GUI

The logic visualized in Fig. 38 (Sect. 6.6) serves as a basis for the second front end GUI (Table 1, IV). This GUI is also developed using the open source version of Qt Creator. The corresponding code was programmed using C++ and translated directly into Python within an appropriate translation framework (e.g. qtpy). As a result, the visualization can be started within the Python environment (e.g. using PyCharm or MS Visual Studio).

Figure 39 shows the resulting GUI for an exemplary rolling mill schedule. The possibility of including other materials is also considered.

Fig. 39
figure 39

Resulting front end GUI for the rolling scheme iterator

The highlighted sequence (Fig. 39, green) indicates that no adaptions have been made and the generator calculated the complete scheme from the given input parameters (Fig. 39: Material, Rolling Force, h0, demanded final h1 after schedule, T1 or T2). After a rolling step, the real h1 can be measured on two points (Fig. 39, End height front end h1, End height back end h1). Additionally, a change in width (according to Eq. (8), Sect. 6.3) or lubrication can be typed in, which also changes the result according to the fundamental logic (Fig. 38). Figure 40 demonstrates the influence of varying these parameters after a rolling step.

Fig. 40
figure 40

Changed parameters based on Fig. 38 after the first rolling step: increased width and deviation between measured and predicted h1

The user-given input parameters are triggering the machine logic. Furthermore, these parameters were also written into the initial database, which serves as fundament for the whole logic. Based on this data base extension, the logic is able to shift the boundaries for the extrapolation (if a B, s0 out of the initial widths is given) or generate new interpolation data points within the given boundaries. Regardless which condition is met, the algorithm changes its final interpolation logic by changing material and stand related slopes and intercepts. As this adaption is made via linear weighting functions between a small step increment, the influence on the change is rapidly decreasing with increasing distance from the generated data points. As the point cloud gets denser with every data input, the prediction gets more accurate with each rolling process carried out. Figure 41 shows an overview of this loop.

Fig. 41
figure 41

Overview of the interaction between the database, the corresponding logic (back-end GUI) and visualization (front-end GUI)

Results and discussion

For the development of a LC user centered CPPS, the chosen forming equipment, a rolling mill aggregate built in 1954, was digitized and digitalized from the implementation of state of the art sensor technology to the integration of a self-learning digital twin with corresponding GUI. For all necessary development steps, cost efficient but robust solutions were chosen, in order to be able to use this case study as a possible framework for SMEs and (academic) learning factories to develop CPPS based on similar technologies and in alignment with the initial definition stated by the authors in (2.2). Another focus within this paper, a wide and high usability for all interested parties of the developed solution was realized with two different front end and two easy to understand back end GUIs. The usage of LC and mostly open source software solutions is another advantage of this framework, as continuous updates are made in the open source community and expensive software maintenance is not necessary. Figure 42 shows the final data flow at the rolling mill, from analog sensor signals to the Python logic.

Fig. 42
figure 42

Resulting data flow for the digitalized rolling mill

To demonstrate the fulfilment of all criteria for a LC user-centered CPPS according to Table 1, Fig. 43 shows the final integration of the system in the layer architecture.

Fig. 43
figure 43

Resulting layer architecture for the developed CPPS

Depending on the state of the machine (measurement on: 500 Hz; measurement off: 1 Hz) a data flow into the MES is automatically enabled or not (Fig. 43, red arrow).

In general, both hypotheses stated initially can be defined as valid. According to the presented architecture, for a resilient and sustainable implementation of the proposed system, further adaptions depending on the existing infrastructure, available skill sets and budget have to be made. One major advantage of this LC approach is the utilization of industry standard software for the Level 2 automation of the resulting CPPS, which is crucial regarding to legal issues in case of a malfunction within the system in the operational industrial context. While the enhancing decision-making logic is provided by a LC open-source alternative within Python, the only direct machine connection is executed by a certified industrial standard software. This mixed-source approach also ensures the resilience of the machine system within the CPPS and additionally prevents unplanned downtimes due to possible malfunctions within the ML algorithm. As the process-material interaction becomes more complex, a simple numerical substitution as demonstrated in this work might also not be efficient anymore. By using Python and its available interfaces to other programs, e.g. Finite Element Analysis software can additionally be connected to the system if the resulting complexity requires that. Another important advantage is that Python has a relatively low entrance barrier for respective workers (e.g. free/LC online tutorials), ensuring that no highly specialized IT-personnel is required for maintaining such an algorithm. In general, this approach can be used as a fundament for further adaption and optimization depending on the machine system and corresponding process to be transformed in a CPPS. The focus on LC technologies and digitization approaches based on a brownfield environment provides a reasonable method, especially but not restricted to SMEs, to accelerate their shopfloor digitalization and therefore remain competitive in a globalized and digitalized manufacturing environment.

Conclusion and outlook

This paper describes the successful transformation from a proprietary machine system to a LC user centered CPPS. Although the resulting integrated machine learning algorithm is based on a purely data-driven modeling approach, the respective material has to be and was considered. Without complementary experiments, the number of possible dependencies between input parameters would result in a far more complex system. The usage of a e.g. neural network based algorithms could be an alternative. A huge disadvantage of a more complex logic, however, would be the missing link between real physical effects and resulting prediction. Especially when considering different, more complex materials then the technical pure aluminum used in this case study, an overfitting effect could be the result. In general, a strict separation between material and machine parameters is not possible, as the dependencies and interactions are too complex to distinguish without a significant error or unreasonable computational and modeling efforts.

To extend the demonstrated framework for other material/process combinations, different alloys with different initial conditions will be implemented in the future. Furthermore, with the support of more advanced material characterization experiments (e.g. REM/EBSD), the prediction of grain size and corresponding anisotropy as a function of the thermomechanical treatment will be investigated. In general, the integration of temperature as an additional depended variable results in a far more complex equation system. To solve such a system in an adequate and reproducible way, the integration of finite element analysis connected to the framework within the Python logic will be investigated, whereas the reduction of computational time can be seen as most critical within such simulations. To decrease this parameter, direct coupling of Python based input and output files will be included. After successful coupling, the proposed extended algorithm will be able to predict micromechanical material properties as a function of the thermomechanical treatment. This information can be used to send recommendations into the MES-layer (Fig. 43), which can optimize necessary upstream or downstream heat treatment processes based on this information.