You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

A Flexible Task Design for Industrial Embedded Systems

Research group:

Publication Type:

Conference/Workshop Paper


46th Annual Conference of the IEEE Industrial Electronics Society






The run-time context in industrial embedded systems varies from bare-metal microcontrollers, to multicore-processors running real-time operating systems. Due to the longevity of industrial systems, reusability and evolvability are often considered crucial quality attributes. This paper presents a new flexible task design that enables tasks to be agnostic to run-time context. Evaluations of the design were made by conducting experiments using a proof of concept implementation of the proposed design. The experiments were based on typical industrial constructs, such as periodic tasks, and event signaling from interrupts. Findings from the experiments show that tasks can be more agnostic to run-time context and still deliver functionality normally used within industry. The results indicate that it is feasible to improve reusability and evolvability between different run-time contexts, and in addition, support hybrid configurations that can reduce resource usage, since e.g. a thread can be easily shared among several tasks.


author = {Niclas Ericsson and Johan {\AA}kerberg and Mats Bj{\"o}rkman and Tomas Lennvall and Stig Larsson and Hongyu Pei-Breivold},
title = {A Flexible Task Design for Industrial Embedded Systems},
month = {November},
year = {2020},
booktitle = {46th Annual Conference of the IEEE Industrial Electronics Society },
publisher = {IEEE},
url = {}