Professional Documents
Culture Documents
Azarmipourcontrol System For in 4.02019
Azarmipourcontrol System For in 4.02019
Azarmipourcontrol System For in 4.02019
0
Mahyar Azarmipour† , Haitham Elfaham† , Caspar Gries§ and Ulrich Epple†
†
Chair of Process Control Engineering
RWTH Aachen University, Aachen, Germany
Email: {m.azarmipour, h.elfaham, epple}@plt.rwth-aachen.de
§ SYSGO GmbH, Klein-Winterheim, Germany
Email: caspar.gries@sysgo.com
5514
Waiting for In Processing Finished B. Simulations and Validations
Start Simulation is an important factor that must be considered
Recipe 3 Recipe 2 Recipe 1 and modified to meet the I4.0 requirements as mentioned in
Procedure
Sec. II-D. Bridging reality and virtual simulation, e.g., through
Group Control digital twins, corresponds to adopting information from the
Units virtual world to the real world i.e., in our case, the running
Single Control implementation. Scenarios like fast forward predictions, that
Units can be used by the operator as an assistance to detect system
M M M
failures and problems prior to occurrence through plant simu-
Fig. 4. Control Hierarchy lations, can be implemented. Furthermore, the aforementioned
cloud solutions allow a dynamic deployment of applications
but these applications must be tested for validity prior to be
D. Digital Twin used in operation. These simulations and validations should
The term Digital Twin (DT) was introduced by Grieves in not compromise the system safety and its resources manage-
2003 in University of Michigan. However, the definition of the ment.
term DT evolved and has been introduced in different contexts
C. Realtime and QoS Assurances
as shown in [20]. Despite the various definitions of a DT, one
common objective of DT is to virtualize the different aspects Real time execution and QoS (communication latency and
of a system according to use-case in the information world. safety) can be administered using VM as shown in Hypervisors
The DT technology is usually defined through three parts. of Type 1 in Sec. II-A. Furthermore, software abstraction can
Physical space, virtual space and the connection of two spaces allow the execution of RTOS (Real-Time Operating Systems)
[10]. This fulfills one of the main goals in context of industry ensuring the real time requirements while simultaneously run-
4.0, namely digitalization by mapping the physical production ning other VMs that handle other tasks (e.g. external interface).
systems in digital world to test their behavior. It does not D. Adaptability
only contain the model of the asset but also their interactions
and interfaces, as well as their manufacturing processes [17]. Adaptability on the control hardware level includes features
This can be used as a basis for data analyses for optimization, such as:
validation, fault diagnosis etc. • Scalability: in order to cope with the various available
operating systems and increasing dependencies by the
E. Asset Administration Shell, Industry 4.0 Component applications, different computation hardware are utilized
Asset Administration Shell (AAS) is a digital representation parallely. Different applications with different dependen-
of an asset during its life cycle. The objective of AAS is to cies can share the same hardware instead of running
provide consistent information about the asset. For example, on different hardware resources using hypervisors and
an AAS of a drill contains information about manufacturer, VMs. Virtualization is a key technology to provide highly
rotation speed, drilling depth etc. Uploading an AAS to the scalable resources to reduce under-utilized resources [14]
cloud is a common practice as it provides global access and • Deployment: undisrupted software updates and deploying
also ensures its availability despite the asset connectivity. new applications
• Resources management: distributing the available re-
III. F UNDAMENTAL F EATURES FOR PLC 4.0
sources amongst the running applications according to
A. Cloud Solutions - External Interface a defined adjustable scheme (priority, criticality, etc.)
Integrating IT solutions in automation is a pursued objective
in I4.0. In this regard, integrating cloud solutions in automation IV. PLC 4.0 C ONCEPT
increases the adaptability of automation system by allowing a Introducing a new architecture for the control device can
dynamic deployment of applications [8]. A realization of an serve as a solution to provide a seamless integration for
app-store [13] like concept in automation builds a dynamic the aforementioned features without compromising aspects
system of applications as a basis for an adaptable production. like security, safety, etc. The introduced architecture uses
These applications (and their required compiled libraries) can virtualization technology and provides a strict isolation of
be thus downloaded and executed in runtime provided that physical and virtual spaces maintaining security and allowing
the runtime environment provides such dynamic integration of for independent execution. Therefore, updating, resetting or
libraries and applications (cf. Sec. II). Furthermore, concepts modifying a partition can be done securely without affecting
like AAS should be safely and seamlessly integrated in the the operation of other running containers. Moreover, it pro-
new automation architecture. Hence, an external interface is vides the possibility of dynamically reallocating the resources
required which can be provided within a container. This con- according to the requirements. Two important aspects in this
tainer will have restricted rights (in terms of communication system are the real time communication between the partitions
and resources consumption) and will act as a portal to the and applications and the system security. Security deals with
external cloud systems. the external (e.g., cloud) and internal (e.g., another partition)
5515
AAS AAS
ERP MES SCADA
External
Access
Cloud
Firewall
Systembus
Admin Control Provisory Interface
Services Buffer
Engineering SCU GCU DT Data
Services SCU GCU HIL SIL
Hypervisor
5516
Hardware in the loop) and implementations can seamlessly be bidirectional or one directional, and can be specified by
integrate the digital world in the automation infrastructure. rights such as Read, Write, copy etc.
This unit offers the possibility of testing and validating the new
applications before being applied in control system. Moreover, B. Adaptability
it is also a platform for a parallel simulation of the running One of the main goals of I4.0 is adaptability. This indicates
control logic as a basis for fault diagnosis, optimization etc. the readiness of the production system to react to unplanned
changes. An example of such a system is a system that
D. Interface is designed to produce variants of a product. Adapting the
As mentioned before, in context of I4.0 the strict separation production in this case requires manipulating the control logic.
of automation pyramid layers is replaced by an interconnected In order to prevent an interrupt in the production, this should
hierarchy. Integrating an interface to a technology like cloud be done during run time. The proposed infrastructure offers a
computing in the control device is the basis for a high con- platform for updating the control logic or its OS.
nectivity and dynamic deployment. The interface meta class 1) Adaptability and Dynamic Change between Active con-
provides a portal to the cloud and contains the only partition trol: The provisory partition in Fig. 5 offers a platform for
that can communicate with the outside world to download and making changes in control logic or its softwares and OSs. The
upload required components. control logic can be modified, updated or optimized in order
to meet the new changes and conditions in production system.
V. S CENARIOS These necessary changes can be made while the active process
control runs unaffected forward. Thus the provisory and active
A. A platform for Digital Twin
process control can exchange their role so that the updated
DT builds a virtual model of involved physical entities, in control logic overtakes the handover of the production. In this
order to simulate their behavior [9]. This virtualization is a case the control and provisory partition should be assigned
basis for optimization of the production, machine learning, with the same rights and security level, since they both contain
fault diagnosis, etc. It consists of a physical and virtual space the control procedure of the production system.
as well as a real time communication between them. Thereby 2) Synchronization: Switching active process control and
the physical and virtual space are totally independent from Provisory requires a synchronization between control proce-
each other. DT can be investigate from different perspectives. dure so that the process control continues without interruption.
One of these perspectives is related to framework and infras- In the next research steps, the possibilities of synchronizing
tructure. Framework is studied in [11] based on CPPS and these procedures will be taken into consideration.
in [12] based on cloud computing. In [12], an architectural
framework for DT is introduced but an infrastructure for the VI. P ROTOTYPE R EALIZATION
interaction between virtual and physical space is not addressed. In this Section, the implementation of this virtualized sys-
The proposed control architecture in this paper provides an tem is discussed. For the implementation of device level a
infrastructure for digital twin, in which physical (control) and type 1 hypervisor is used. We use PikeOS hypervisor solution
virtual (provisory) space are absolutely separated from each of SYSGO GmbH. With the help of the hypervisor, real time
other and at the same time can communicate in real time. communication between partitions by means of FIFO Queue
The virtual space contains DT, plant models and data that can be established. In the different partitions, we use the
are needed for the simulation and physical space contains the runtime environment ACPLT/RTE ported to the real time OS
control logic. In this case the DT acts on control level to of PikeOS and the communication between function blocks
predict, optimize and fault diagnose of the control procedure. takes place by means of FIFO Queue (Real time). Furthermore,
In this infrastructure, Admin can control all the interactions we use Docker [15] as the Container technology to perform
between physical and virtual space. The benefits of using this the deployment in the different partitions.
infrastructure are as follows: Fig. 7 represents the plant used in our prototype. The plant
1) Offering real time operating systems and real time regulates the levels of the two comprised tanks. Each tank
communication between Partitions: Hypervisor (depending is equipped by a pump and flow controlled valve which that
on technology) offers a real time communication between control its level. Additionally, the tanks are equipped with a
partitions eliminating the need to use another technology in level sensor and two stages overflow prevention mechanism;
order to realize a real time communication. using two cascaded valves (one flow controlled valve and an-
2) Security: As mentioned before the communication can other pump-bypass valve) and an emergency overflowing pipe
be considered from two perspectives. These perspective are respectively. In the considered use-case, a uni-directional flow
the access to the VMs and the communication between them. from Tank 1 to Tank 2 is allowed. The objective is to control
The VMs are fully independent and separated from each other. the level at Tank 2 by the means of newly introduced strategy
The access to the VMs can be limited to the authorized that should replace the available one. Using the proposed PLC
persons. The communication between VMs can be controlled 4.0 architecture, we demonstrate a safe testing and eventually a
by manager unit. The manager can decide if two components smooth transition of control by toggling the control strategies.
are allowed to communicate or not. The communication can The PLC 4.0 concept for this plant is represented in Fig. 7. It
5517
AAS AAS
Cloud
Level-Control
Hypervisor
Hardware
contains a control partition that contains the control logic of [4] O. Givehchi, J. Imtiaz, H. Trsek and J. Jasperneite, ”Control-as-a-service
the real plant, provisory partition that contains the simulation from the cloud: A case study for using virtualized PLCs,” 2014 10th
IEEE Workshop on Factory Communication Systems (WFCS 2014),
of the plant which serves as a platform for testing and Toulouse, 2014, pp. 1-4. doi: 10.1109/WFCS.2014.6837587
validation purposes for the newly introduced control strategy. [5] G. J. popek and R. P. goldberg. formal requirements for virtualizable
The interface partition communicates with the cloud in order third generation architectures. Commun. ACM, 17(7):412-421, July
1974 T. Hegazy and M. Hefeeda, “Industrial Automation as a Cloud
to deploy the required control components. Service,” Parallel and Distributed Systems, IEEE Transactions on, vol.
In the next process steps, the volume of the liquid that flows 26, no. 10, pp. 2750–2763, 2015.
from tank 1 to tank 2 should be controlled by means of a [6] Thomas Goldschmidt, Stefan Hauck-Stattelmann, Somayeh
Malakuti, Sten Grüner, ”Container-based architecture for
flow controller. In this case an operator or higher automation flexible industrial control applications,” 2018 Journal of
levels such as MES communicate to Admin partition that the Systems Architecture, Volume 84, March 2018, Pages 28-36,
level controller should be replaced by a flow controller. This https://www.sciencedirect.com/science/article/pii/S1383762117304988
[7] T. Hegazy and M. Hefeeda, “Industrial Automation as a Cloud Service,”
triggers the deployment process of the control component to Parallel and Distributed Systems, IEEE Transactions on, vol. 26, no. 10,
the external interface partitions which is allowed by the Admin pp. 2750–2763, 2015.
partition. The flow controller should be tested and validated [8] Intel, Newsroom, https://newsroom.intel.com/news/new-breakthrough-
wind-river-software-platform-control-systems-transforms-future-
before being applied in control logic. This test is accomplished industrial-iot/, accessed: 21.09.2019
in provisory partition. After testing the flow controller it can [9] F. Tao and M. Zhang, “Digital Twin Shop-Floor: A New Shop-Floor
be sent to the control partition in order to replace the existing Paradigm Towards Smart Manufacturing,” in IEEE Access, vol. 5, pp.
20418-20427, 2017. doi: 10.1109/ACCESS.2017.2756069
strategy on the real plant control. [10] M. Grieves. (2014). Digital Twin: Manufacturing Excellence Through
Virtual Factory Replication. [Online]. Available: http://www.apriso.com
[11] L. Monostori, “Cyber-physical production systems: Roots, expectations
VII. C ONCLUSION and R&D challenges,” Procedia CIRP, vol. 17, pp. 9–13, Jan. 2014.
[12] D. Mourtzis, E. Vlachou, N. Milas, and N. Xanthopoulos, “A cloud-
Aspects like security, adaptability, scalability, etc., have im- based approach for maintenance of machine tools and equipment based
posed risks and difficulties integrating classic control systems on shopfloor monitoring,” Procedia CIRP, vol. 41, pp. 655–660, Jan.
2016.
into the newly introduced automation architecture in Industry [13] https://patents.google.com/patent/US9568908B2/en
4.0. In this paper, PLC 4.0, a new infrastructure for control [14] O. Agesen, A. Garthwaite, J. Sheldon, and P. Subrahmanyam. The
devices operation is introduced. This infrastructure comprises evolution of an x86 virtual machine monitor. ACM SIGOPS Operating
Systems Review, 44(4):318, 2010.
four meta classes: Admin, Control, Provisory and Interface. [15] Enterprise Container Platform for High-Velocity Innovation, On-
With the help of Hypervisor technology, we realize the meta line:https://www.docker.com/
classes thus isolating the different functionalities and carrying [16] M. Polke, U. Epple and M. Heim, Process Control Engineering, VCH
Verlagsgesellschaft mbH, D-69451 Weinheim, 1994, ISBN: 3-527-
them out in different partitions. PLC 4.0 offers a seamless 28689-6.
integration of PLC with concepts like DT, cloud computing, [17] Christian Dufour, Zareh Soghomonian, Wei Li, Hardware-In-the-Loop
IoT, etc. We present a prototype implementation that uses a Testing of Modern On-board Power Systems using Digital Twins, Opal-
RT Technologies, 1751 Richardson, suite 2525, Montréal, Canada CACI
simple automation plant to demonstrate the concept. International Inc, 300 M. Street, SE, Washington, DC 20003, USA
[18] R. Creasy, A. Jansen and A. JansenKristian Sandstrom¨ Virtualize
for Architecture Sustainability in Industrial Automation, International
R EFERENCES Conference on Computational Science and Engineering, 2013
[19] Robert. P. Goldberg and S. Hauck-Stattelmann, “Survey of virtual
[1] Jayavardhana Gubbi, Rajkumar Buyya, Slaven Marusic, Marimuthu machine research”, IEEE Computer Magazine, 1974, 7(6), pp. 34–45.
Palaniswami, Internet of Things (IoT): A vision, architectural elements, [20] Elisa Negri, Luca Fumagalli, Marco Macchi, A Review of the Roles of
and future directions, Future Generation Computer Systems 29 (2013) Digital Twin in CPS-based Production Systems, Procedia Manufactur-
[2] The smart factory, https://www2.deloitte.com/insights/us/en/focus/industry- ing, 2017
4-0/smart-factory-connected-manufacturing.html [21] Dmitry Namiot, Manfred Sneps-Sneppe, On Micro-services Architec-
[3] The smart factory, online: https://www2.deloitte.com/content/dam/ in- ture, International Journal of Open Information Technologies, 2014
sights/us/articles/4051 The-smart-factory/DUP The-smart-factory.pdf
5518