1 Introduction

Energy and Resource Efficient (ERE) manufacturing has become an important research topic, both as industry is one of the major world energy consumers, as well for the need of sustainable development at planetary level [5]. Furthermore, availability of technologies such as Internet of Things (IoT) are paving the way to the vision of Industry 4.0 and Cyber Physical Systems (CPS), with important improvements in the efficient usage of energy and resources in manufacturing [7].

2 Related Work

This work focuses on the vision of the Cyber-Physical Production Systems (CPPS), by exploiting embedded systems and network capabilities and proposes (i) the application of a novel approach to ERE control of a serial line, based on heuristic rules, and (ii) an ICT architecture fit to the application of the proposed control to an actual line used for educational purposes. Related work will be addressed in the next sections.

2.1 ERE Autonomous Machine Control

Although production systems performance has been extensively studied over the years, only recently, at factory and production line level, [1, 2, 10] have studied planning and scheduling methods able to level energy consumption peaks to reduce energy related expenses. Among the most interesting contributions, [8] has started to study effective use of machine tool stand-by modes, while [3, 4] have explored energy-aware switching off-on policies at machine and line level; nonetheless, the existing models are still incomplete: they focus only on energy consumption and are based on statistical models of stochastic inter-arrival times, neglecting availability of real-time data for local processing.

Some of the authors of this article have recently studied [9] an energy-aware control based on heuristic rules for a serial line, based on three basic functionalities: (i) each machine builds and continuously updates its digital twin, including upstream buffer and operational statesFootnote 1, plus foreseen end of processing; (ii) each machine shares its digital twin with the other machines, and (iii) when a machine ends processing, depending on its and other machines’ state, can autonomously decide its current state, e.g. enacting stand-by mode. This autonomous control has been studied by [9] with simulation experiments in different configurations and with different sets of heuristic rules, and has shown interesting potential resource savings.

2.2 CPS Digital/Physical Architectures and Communication

The most interesting developments for our work are related to digitisation reference architectures and communication in manufacturing. As [6] puts in, Cyber Manufacturing Systems (CMS) and Industrial Internet of Things (IIoT) are the industrial counterparts of CPS and IoT and are not individual technologies, but are instead an interdisciplinary mixture of mechatronics, computer science, production systems theory and communication. With respect to communication, the CMS infrastructures raise new challenges for communication as information exchange [6]. Furthermore, common “reference architectures [...] for the development of solutions by multiple actors” are neededFootnote 2, as can be the case of CMS. An example reference ICT architecture is proposed by the EU project BEinCPPS (www.beincpps.eu).

Among the communication standards for CMS, OPC-UAFootnote 3 is the most promising standard architecture at application layer for connection of an automation cell with the factory level, integrating machinery and workstations.

3 Aim of the Research and Approach

This work focuses on deployment of a Cyber Physical Production System, based on the autonomous control studied by [9], in a laboratory setting (Experience Lab) in Technical University of Braunschweig, Institut für Werkzeugmaschinen und Fertigungstechnik (TUBs IWF), with the aim of improving production systems operation in terms of efficiency in resource usage, and leads to the following research items, discussed in below sections: Sect. 4.1: system requirements for autonomous control in the line; Sect. 4.2: data and communication structure; Sects. 5.1 and 5.2: alternative deployment architectures.

4 Research Findings

4.1 System Configuration and Requirements

The line studied in this work, used for educational and training purposes, is composed by machine modules (including drilling, press, heating tunnel) linked by transfer line (transport belt system + RFID. Each module is equipped with Siemens PLCs, providing communication over industrial Ethernet and sensors for energy and compressed air consumption monitoring. Each machine module, by sharing its digital twin with the other modules, should be able to change state to stand-by when possible, in order to save resources, such as energy and compressed air.

4.2 Conceptual Model of the System Under Study and Autonomous Control

Table 1 shows the main elements of digital twin data structure of each machine i in the serial line.

Table 1. Digital twin data structure for ERE control (main elements)

Figure 1 shows the conceptual model of the cyber physical system that builds up one generic machine. The model is built in Modelio (www.modelio.org) with SysML, a specialized language for System Engineering design, development and validation, and is represented by an Internal Block Diagram, showing the main components and the information data exchange among them.

The state of each machine (i) must be updated depending on the following events: (a) entry of a part into upstream buffer (i); (b) entry of a part into machine (i); (c) exit of a part from machine (i). The corresponding methods are listed in the ‘ERE control machine i’ block which updates the variables of the ‘Machine i digital twin’ block and receives external data such as presence and expected exit time of an upstream job. Information exchange is also shown with the physical counterpart of machine i, such the events related to entry and exit from the machine and buffer and with the environment, such as exogenous parameters processing time (PT).

Fig. 1.
figure 1

SysML internal block diagram of Autonomous machine i

The proposed ERE control has been studied with different heuristic rules sets; for the scope of this article we will study the CurrentJobAware (CJA) policy proposed in [9], which is based on the comparison between the time interval available for machine i after end processing before next job arrival and the threshold time (TT), over which it is feasible and convenient to switch machine i to stand-by (as proposed by [8]). The difference, if positive, triggers stand-by mode transition.

Fig. 2.
figure 2

Considered implementation options for CJA policy

5 Conceptual Design of the ICT Architecture for the CPS-ized Line

5.1 Centralized and Distributed Approaches

In order to deploy the CJA to an actual production line, two approaches are considered: a centralized execution of CJA policy on a single computer or server and a distributed execution of the policy directly on the affected PLC of the machine.

A central approach has several advantages. The overall architecture is simple. Due to the clear distinction of tasks and competencies, the maintainability is increased. Since all digital twins are on a single computer, the amount of exchanged data is considered small and communication between digital twins is instant. Despite the increased maintainability, a single point of failure is introduced in the system.

Using a distributed approach may appear more reliable. On the other hand, the amount of exchanged data may be increased since each PLC communicates with each other. Furthermore, in a changing setting, each PLC has to be reconfigured in order to execute the CJA policy correctly. The implementation of a subsidiary information service is suggested to overcome this problem and publish updated configurations to the PLCs. A failure in the information service does not directly lead to downtimes on machines since the policy itself is executed on the PLC.

However, in both cases further backup policies are required in order to ensure an operational mode in case of a system failure (e.g. bus error, CJA policy stopped working). For instance, a heartbeat signal can be used to recognize failures and active the backup policy, e.g. leaving standby mode. In case of a central approach, the CJA policy may be extended by a redundancy system to increase reliability.

5.2 Integration of CJA Policy

Depending on the given or desired automation system, multiple deployment options exist. Hereafter, four options are presented. Since a computer based CJA policy execution uses OPC UA for communication, most options are based on this standard.

Figure 2(a) shows a deployment scenario based on large scale plants with a separate field bus and terminal bus for security and reliability. The CJA policy is executed on a computer connected to the terminal bus of the plant. The SCADA system or a PLC providing a OPC UA server is used as broker between digital twins and physical machines. Building on an existing system, this approach does not require new connections between the existing systems.

Alternatively, the computer running the CJA policy can be connected directly to the service bus of the plant (Fig. 2(b)). As already mentioned, OPC UA becomes common among PLC vendors, which provides a unified protocol stack for communication with the PLCs regardless of its vendor.

As shown in Fig. 2(c), the CJA policy can be implemented on a single PLC. Unless the PLCs are not already connected, no further connections are required. Communication can be based on a vendor specific or common protocol.

The last considered scenario deploys the CJA policy on each PLC of the machines (Fig. 2(d)). In this scenario, OPC UA can be utilized for communication or a common vendor specific protocol is used in case of a heterogeneous setup. The implementation of a subsidiary information service is suggested as described in Sect. 5.1.

5.3 On-Going Experimentation

We are currently experimenting the central approach option (see Fig. 2(a) deployed in (i) an OPC UA server, implementing the data structure presented in Sect. 4.2, deployed into the IWF Experience Lab and (ii) a CJA policy deployed in a OPC UA client on a laptop computer. OPC UA server is implemented on SCADA System SIMATIC WinCCFootnote 4 while the OPC UA client exploits Open Source OPC UA implementation open62451 (https://open62541.org).

The system is composed by five machines in a serial line, with parameters and energy profile as in Table 2. In this first experiment phase, the signals coming from the line (such as part finished, processing time left and consumed energy) are simulated by a WinCC program running on a personal computer.

Table 2. Machine parameters and energy profile

In the first experiment set-up, besides showing a first validation of the solution, with the CJA policy controlling only the fourth machine in the line we aimed at checking out step by step the correct triggering of the CJA policy. The experiment has been run with an inter-arrival time (IAT) of 30 s, obtained by having all parts to be produced loaded on the first machine buffer at the beginning of the run, with a first machine processing time of 30 s. We have run four test runs by varying the number of parts produced from 2 to 20 parts. Output of the test run is the total make-span MS (s) and the total energy consumption of machine 4 (CEn) on which the CJA policy is implemented.

The current line configuration, with a machine saturation around 50%, allows 15 s available time (due to difference between average cycle time and processing time) to trigger the CJA policy nearly each cycle. On the other hand, the energy profile is characterized by interesting trade off between idle mode and standby overall energy consumption, as a stand by cycle generates each time a power up cycle, with energy consumption peak of 40 kWh for 2 s. Table 3 shows results of first four test runs (where CEn = Consumed energy, MS = make-span):

Table 3. First test run results

The first test runs are promising: energy saving could be in the long run more than 15% of the baseline, even in a system affected by disturbances, considering as well the trade off between idle time and standby + power up energy consumption, while running on one machine only. Furthermore, it appears that the make-span might be increased maximum to 6%, which can be reduced easily by more advanced versions of CJA policy, able to trigger a power-up state change in advance (e.g. 2 s), to have the machine ready in idle mode right when needed.

We are currenly extending each of the four test run, such as running the same run more times while allowing different disturbances series to affect the system, and then averaging the results in order to get more sensible assessment of the experiment values reported in Table 3.

6 Conclusions and Further Steps

This work discusses two alternative approaches, centralized and distributed, for the deployment of the ERE autonomous control under study in the TUBs IWF Experience Lab, evidencing their characteristics and drawbacks, in terms of manteinability and reliability. For this, deployment scenarios with different configurations options, leading to different degrees of centralization have been identified. The work is based on state of the art methods and tools, such as OPC-UA communication and model based design (SysML), as proposed by previously cited EU project BEinCPPS.

The centralized approach appears to be easier for students able to work with tools such as MatLab, but should be deployed by taking into account disturbances and synchronization problems. The distributed approach based on local processing in embedded systems, might be more reliable and interesting from an industrial point of view, but needs more efforts.

The first performed test runs are promising, as they show CJA policy can obtain significant energy savings, potentially with no substantial effect on the line productivity, even with a simple version of the ERE control running only on one machine of the line. Limitation of the experiments run so far are that we have performed only one test run for each combination of system configuration and parts produced and the design of experiment should be extended to accomodate more system parameters variations (e.g. interarrival times and threshold time).

Further steps for this work, besides completing a full design of experiment to study the behaviour of the CJA policy on the whole line, include further implementation, experimentation and evaluation of the CJA policy and of the alternative ICT architectures discussed in this article, such as the distributed approach (e.g. Fig. 2, option d), with extension of experiments to other potentially interesting sets of ERE heuristic rules, including disturbances/failures, and, finally, study of the proposed approach to more complex production configurations, such as flow shops or job shops. Furthermore, possible field of research is the study of how each machine can autonomously identify its expected processing time and threshold time, taken in this work as exogenous parameters.