# Software principles and concepts applied in the implementation of   cyber-physical systems for real-time advanced process control

**Authors:** Anders H. D. Andersen, Zhanhao Zhang, Steen H{\o}rsholt, Tobias K. S., Ritschel, John Bagterp J{\o}rgensen

arXiv: 2302.13595 · 2023-07-06

## TL;DR

This paper discusses software principles like shared data, timers, threads, and network communication in implementing cyber-physical systems for real-time process control, demonstrated through Linux and Python examples and a simulation.

## Contribution

It provides practical guidance on applying fundamental software principles in CPS for RT-APC, including implementation details for Linux and Python environments.

## Key findings

- Effective implementation of CPS principles demonstrated in Linux and Python
- Simulation results validate the proposed software design approach
- Highlights importance of network communication for remote control

## Abstract

Cyber-physical systems (CPSs) for real-time advanced process control (RT-APC) are a class of control systems using network communication to control industrial processes. In this paper, we use simple examples to describe the software principles and concepts used in the implementation of such systems. The key software principles are 1) shared data in the form of a database, files, or shared memory, 2) timers and threads for concurrent periodic execution of tasks, and 3) network communication between the control system and the process, and communication between the control system and the internet, e.g., the cloud to enable remote monitoring and commands. We show how to implement such systems for Linux operating systems applying the C programming language and we also comment on the implementation using the Python programming language. Finally, we present a complete simulation experiment using a real-time simulator.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2302.13595/full.md

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/2302.13595/full.md

## References

11 references — full list in the complete paper: https://tomesphere.com/paper/2302.13595/full.md

---
Source: https://tomesphere.com/paper/2302.13595