@inproceedings{ReindlMeierNiemetz, author = {Reindl, Andrea and Meier, Hans and Niemetz, Michael}, title = {Software Framework for the Simulation of a Decentralized Battery Management System Consisting of Intelligent Battery Cells}, series = {2019 IEEE Student Conference on Research and Development (SCOReD), 15-17 Oct. 2019, Bandar Seri Iskandar, Malaysia}, booktitle = {2019 IEEE Student Conference on Research and Development (SCOReD), 15-17 Oct. 2019, Bandar Seri Iskandar, Malaysia}, doi = {10.1109/SCORED.2019.8896284}, pages = {75 -- 80}, abstract = {Conventional battery management systems typically adopt hierarchical master-slave architectures. With regard to an uninterruptible power supply, the most significant disadvantage of central structures is the dependency of the errorfree function of the superior master board. The decentralized battery management system presented in this paper, consisting of consumers, generators and intelligent battery cells, is controlled without any central coordination authority. For this purpose, an intelligent control algorithm and a leader election algorithm are implemented on the microcontrollers of the battery cells. To test different control and election strategies, a software framework is presented for the complete simulation of the decentralized battery management system consisting of equal participants.}, language = {en} } @inproceedings{JupkeReindlMeieretal., author = {Jupke, Michael and Reindl, Andrea and Meier, Hans and Niemetz, Michael}, title = {Bidirectional DC-DC Converter with Digital Droop Parameterization}, series = {26th 2021 International Conference on Applied Electronics (AE): 7-8 Sept. 2021 Pilsen, Czech Republic}, booktitle = {26th 2021 International Conference on Applied Electronics (AE): 7-8 Sept. 2021 Pilsen, Czech Republic}, editor = {Pinker, Jiř{\´i}}, publisher = {Institute of Electrical and Electronics Engineers}, isbn = {978-80-261-0972-3}, doi = {10.23919/AE51540.2021.9542920}, pages = {1 -- 6}, abstract = {The key for decentralized battery systems is a robust and communication-less control strategy for autonomous power sharing of parallel-connected DC-DC converters. Battery systems improve the reliability and quality of power supply in renewable energy systems and enable power supply for off-grid, mobile applications, including islanded grids, home storage, and electric vehicles. In many cases, components with different electrical properties require different voltage levels. An adaptation is consequently essential and is normally implemented in DC grids for the batteries via bidirectional DC-DC converters. The power flow in both directions can thus be ensured. To achieve a power distribution in parallel connected DC-DC converters, a droop control in the form of a virtual internal resistor can be used. This paper presents a novel approach of a DC-DC converter with a digitally parameterizable droop resistor, whose voltage regulation is based on an analog operational amplifier circuit to ensure low delays and robustness. The droop resistor is adjusted with a microcontroller, which offers the possibility to apply a higher-level control for load sharing via an interface. Mathematical correlations are used to clearly define the parameters of the control. Furthermore, the circuit was completely simulated and tested in the hardware setup. The shown results verify the functionality and indicate only minor deviations. Therefore, this circuit is important for future use in distributed battery systems.}, language = {en} } @inproceedings{HerboldReindlMeieretal., author = {Herbold, Florian and Reindl, Andrea and Meier, Hans and Niemetz, Michael and Kr{\"a}mer, Stefan}, title = {Secure Software Updates: Challenges and Solutions for Embedded IoT Systems}, series = {Proceedings of the 9th Embedded Systems Workshop: July 1-3, 2021 Horomerice, Czech Republic}, booktitle = {Proceedings of the 9th Embedded Systems Workshop: July 1-3, 2021 Horomerice, Czech Republic}, editor = {Kub{\´a}tov{\´a}, Hana and Fišer, Petr and Boreck{\´y}, Jaroslav}, isbn = {978-80-01-06858-8}, pages = {5 -- 13}, abstract = {The invention of the internet made the development of intelligent networking of millions of embedded systems possible. This enabled smart buildings, power grids and cities as well as applications in the fields of health, agriculture and industry. These systems frequently perform safety-critical applications and operations. This makes it urgent to protect these sensible systems as effectively as possible. Especially firmware updates are often the weak point in the systems. If unauthorised persons gain access to the system during the update, malware can be injected or sensitive data can be read and stolen. This paper describes the challenges of secure firmware updates. To protect an embedded system from potential attackers, the concepts integrity, authenticity and confidentiality have to be adhered during the update process. Otherwise, there is an increased risk of modifying or reverse engineering the firmware image. Likewise, inadequately protected software can enable the installation of third-party firmware as well as the installation of firmware on a third-party system. Threat prevention is presented with solutions derived from functional safety and IT security. Aspects of protection against errors in the transmission of updates and against attacks aiming to compromise the system are explained. Finally, a possible sequence of a secure update process is examined in detail for a real embedded system implementation. For this purpose, the preparation, transmission and installation of a firmware update in the bootloader are discussed}, language = {en} } @inproceedings{ReindlSingerMeieretal., author = {Reindl, Andrea and Singer, Thomas and Meier, Hans and Niemetz, Michael and Park, Sangyoung}, title = {Framework to Test DC-DC Converters Developed for a Decentralized Battery Management System}, series = {2021 International Conference on Applied Electronics (AE): 7-8 Sept. 2021, Pilsen, Czech Republic}, booktitle = {2021 International Conference on Applied Electronics (AE): 7-8 Sept. 2021, Pilsen, Czech Republic}, publisher = {IEEE}, doi = {10.23919/AE51540.2021.9542882}, pages = {1 -- 6}, abstract = {DC- DC converters control the power flow and thus the power distribution between the components on different voltage levels. They are essential for (dis)charging batteries and influence the safety and stability of the entire battery management system (BMS). Therefore, testing the functionality and the reliability of DC-DC converters is crucial. This is especially true for decentralized battery management systems (DBMS), where multiple nodes communicate to collectively control the system. The used DC-DC converters are modified to parameterize them during operation via microcontroller interfaces. Integrating the communication into the control loop requires an analysis of the control behavior due to additional delays. Therefore, this paper proposes a framework to test DC-DC converters considering the control and communication perspectives. The response time, the control accuracy and stability of these DC-DC converters, e.g., under continuous and abrupt load changes, are measured in automated tests. The dedicated software framework simulates the DBMS and stimulates the hardware components (e.g. electronic loads, data acquisition) via respective interfaces (CAN, RS232). This allows the test of various DC-DC converters with flexibly adaptable load and power generation profiles. An initial application validates the test framework by verifying the aforementioned aspects and thus the applicability of a DC-DC converter within the DBMS.}, language = {en} } @inproceedings{ReindlMeierNiemetzetal., author = {Reindl, Andrea and Meier, Hans and Niemetz, Michael and Park, Sangyoung}, title = {Decentralized Battery Management System with Customized Hardware Components}, series = {IEEE 19th Student Conference on Research and Development (SCOReD), Sustainable Engineering and Technology towards Industry Revolution: 23-25 Nov. 2021, Kota Kinabalu, Malaysia}, booktitle = {IEEE 19th Student Conference on Research and Development (SCOReD), Sustainable Engineering and Technology towards Industry Revolution: 23-25 Nov. 2021, Kota Kinabalu, Malaysia}, publisher = {IEEE}, doi = {10.1109/SCOReD53546.2021.9652737}, pages = {350 -- 355}, abstract = {With an increasing number of sold electric vehicles (EVs), a large number of used batteries will be at disposal. How to deal with these resources is one of the major challenges in reducing the environmental impact of batteries throughout their entire life cycle. Heterogeneous cell parameters due to the different usage histories are a challenge for second-life use. The effort and cost of remanufacturing required to test and assemble a new battery pack is a further concern. Systems that combine battery packs/modules without full reassembly offer advantages such as cost and reusability. A decentralized battery management system (DBMS) provides a suitable architecture for such systems involving different types of batteries. In this paper, an architecture for a decentralized, battery state-dependent control is shown. The proposed DBMS supports various types of batteries, is scalable and flexibly adaptable for a wide range of applications. Despite the significant advantages, there are increased requirements to meet for the hardware implementation and the applied control strategies. Therefore, the necessary hardware components and their requirements are described and the hardware implementations are provided.}, language = {en} } @inproceedings{ReindlMeierNiemetz, author = {Reindl, Andrea and Meier, Hans and Niemetz, Michael}, title = {Scalable, Decentralized Battery Management System Based on Self-organizing Nodes}, series = {Architecture of computing systems - ARCS 2020: 33rd international conference, Aachen, Germany, May 25-28, 2020, proceedings}, volume = {12155}, booktitle = {Architecture of computing systems - ARCS 2020: 33rd international conference, Aachen, Germany, May 25-28, 2020, proceedings}, editor = {Brinkmann, Andr{\´e} and Karl, Wolfgang and Lankes, Stefan and Tomforde, Sven and Pionteck, Thilo and Trinitis, Carsten}, publisher = {Springer International Publishing}, address = {Cham}, isbn = {978-3-030-52793-8}, doi = {10.1007/978-3-030-52794-5_13}, pages = {171 -- 184}, abstract = {Due to the transition to renewable energy sources and the increasing share of electric vehicles and smart grids, batteries are gaining in importance. Battery management systems (BMSs) are required for optimal, reliable operation. In this paper, existing BMS topologies are presented and evaluated in terms of reliability, scalability and flexibility. The decentralisation of BMSs and associated advantages are shown. A scalable, reconfigurable BMS based on a distributed architecture of self-organized, locally controlled nodes is proposed. For distributed system control, producers, batteries and consumers each are equipped with a local microcontroller based control unit, which monitors and controls the local parameters with its own computing and communication resources. Features, advantages and challenges to overcome of the proposed approach are described.}, language = {en} } @inproceedings{ReindlLangerMeieretal., author = {Reindl, Andrea and Langer, T. and Meier, Hans and Niemetz, Michael}, title = {Comparative Reliability Analysis for Single and Dual CAN (FD) Systems}, series = {27th 2022 International Conference on Applied Electronics (AE): 6-7 September 2022, Pilsen, Czech Republic}, booktitle = {27th 2022 International Conference on Applied Electronics (AE): 6-7 September 2022, Pilsen, Czech Republic}, publisher = {IEEE}, isbn = {9781665494816}, doi = {10.1109/AE54730.2022.9920078}, pages = {1 -- 6}, abstract = {Modern cyber-physical systems, such as autonomous vehicles, advanced driver assistance systems, automation systems and battery management systems, result in extended communication requirements regarding the reliability and the availability. The Controller Area Network (CAN) is a broadcast-based protocol which is still used as a standard for serial communication between individual microcontrollers due to its reliability and low power consumption. In addition, it provides mechanisms for detecting transmission errors and retransmitting messages in the event of an error. The enhancement CAN Flexible Data-Rate (CAN FD) offers increased data rates and transmission rates in order to meet the data throughput requirements. In this paper, the mechanisms for reliable data transmission in a CAN FD network are analyzed. To improve reliability, a second identical CAN-FD network is added to the system, using the additional CAN interface already available on common microcontrollers. The redundant communication network is examined in terms of failure rates and the mean time to failure. The reliability over the operation time is calculated for the single and the redundant version of the CAN FD network using the failure rate limits of the ASIL levels.}, language = {en} } @misc{ReindlErikssonNiemetzetal., author = {Reindl, Andrea and Eriksson, Lars and Niemetz, Michael and Sangyoung, Park and Meier, Hans}, title = {Control Concepts for a Decentralized Battery Management System Decentralized Battery Management System Global Control Level}, series = {16th International Renewable Energy Storage Conference (IRES2022), 20 to 22 September 2022, D{\"u}sseldorf}, journal = {16th International Renewable Energy Storage Conference (IRES2022), 20 to 22 September 2022, D{\"u}sseldorf}, publisher = {Eurosolar}, language = {en} } @inproceedings{WetzelReindlMeieretal., author = {Wetzel, Daniel and Reindl, Andrea and Meier, Hans and Niemetz, Michael and Farmbauer, Michael}, title = {A Customized Python Interface for Windows OS for a Low Budget USB-to-CAN-Adapter}, series = {International Conference on Electrical, Computer and Energy Technologies (ICECET 2022): 20-22 July 2022, Prague, Czech Republic}, booktitle = {International Conference on Electrical, Computer and Energy Technologies (ICECET 2022): 20-22 July 2022, Prague, Czech Republic}, publisher = {IEEE}, address = {Piscataway, NJ, USA}, isbn = {978-1-66547-087-2}, doi = {10.1109/ICECET55527.2022.9872574}, pages = {5}, abstract = {Over the last three decades, the Controller Area Network (CAN) has become the dominant communication in embedded systems. Especially for automotive systems it offers advantages including high robustness, low error rate and high reliability combined with low power consumption. Therefore, learning the basics of this bus system is substantial in this field. Nowadays, various media about the functionality and use of CAN exist which make it easy to read into the topic. But often, theory alone is not sufficient. To deepen the understanding, practical implementation contributes significantly. However, affordable and easy-to-use CAN devices for training purposes are scarce. Existing equipment can be divided into expensive professional devices, which have many functions and inexpensive ones for hobbyists, which require difficult configurations. Therefore, a practical solution is a low-budget device equipped with an overlay which deals with the time consuming configurations. This paper covers the development of a python interface for a purchasable cost effective CAN device for Windows OS. The intention is to create an easy-to-use program that enables beginners to get in touch with CAN and collect practical experience. At the start, a brief explanation of the CAN functionality is given. After that, we introduce the hardware used in this project. Next, the software part covers the development of the interface and the integration of this interface into python-can. Furthermore, a virtual playground is introduced for testing purposes. Also, to demonstrate the functionality of the interface, a test program is executed in conjunction with a logic analyzer.}, language = {en} } @inproceedings{KoernerReindlMeieretal., author = {K{\"o}rner, Patrick and Reindl, Andrea and Meier, Hans and Niemetz, Michael}, title = {A Theoretical Comparison of Different Virtual Synchronous Generator Implementations on Inverters}, series = {2022 24th European Conference on Power Electronics and Applications (EPE'22 ECCE Europe): 05-09 September 2022, Hannover, Germany}, booktitle = {2022 24th European Conference on Power Electronics and Applications (EPE'22 ECCE Europe): 05-09 September 2022, Hannover, Germany}, publisher = {IEEE}, pages = {9}, abstract = {The goal to overcome the global climate crisis leads to a rising demand for the usage of Renewable Energy Sources (RES). Decentralized control strategies are needed to allow the integration of RES into the grid. The Virtual Synchronous Generator (VSG) is proposed as a method to add virtual inertia to the grid by emulating the rotating mass of a Synchronous Generator (SG) on the control algorithm of an inverter. This paper presents the VSG control structure as well as the mathematical description in a unified form. Due to the fact that classical droop control can be seen as a special form of the VSG, their correlation is highlighted by evaluating the steady state output characteristics of the inverter. Furthermore, a theoretical comparison between different VSG topologies, including the VISMA-Method 2 and the synchronverter, is given. In order to achieve better voltage stability, principles to add virtual impedance to the inverter's output are described.}, language = {en} } @inproceedings{MeierReindlWetzeletal., author = {Meier, Hans and Reindl, Andrea and Wetzel, Daniel and Niemetz, Michael}, title = {Comparative Analysis of CAN, CAN FD and Ethernet for Networked Control Systems}, series = {Embedded World 2021 Exhibition \& Conference: 1.-5.3.2021, digital, conference proceedings}, booktitle = {Embedded World 2021 Exhibition \& Conference: 1.-5.3.2021, digital, conference proceedings}, publisher = {WEKA Fachmedien}, abstract = {Networked control systems as e.g., battery management systems, smart grids or vehicular systems, consist of sensors, actuators and controllers with a communication network in the control loop. The data rate and the reliability of the underlying communication network are key factors since delays or message losses directly affect the system control. In addition, the processor load caused by the communication is significant as it influences the calculation of system states and the setting of control parameters. The power consumption of the communication network has a further impact on the energy efficiency of the respective application. In this paper, the communication technologies Controller Area Network (CAN), Controller Area Network Flexible Data-rate (CAN FD) and Ethernet are compared in the context of networked control systems with focus on a decentralized battery management system. First, the message processing time and the processor load are measured. With regard to energy efficiency, the maximum power consumption is determined. The Bit Error Rates (BER) and the Residual Error Rates (RER) are calculated to evaluate the reliability. Finally, the receive FIFO load under high traffic conditions is examined. Index Terms—Networked control systems, decentralized battery management system, microcontrollers, communication systems, Ethernet, Controller Area Network (CAN), Controller Area Network Flexible Data-rate (CAN FD) energy efficiency, energy consumption, bit error rate, residual error rate, processor load.}, language = {en} } @inproceedings{ReindlWetzelNiemetzetal., author = {Reindl, Andrea and Wetzel, Daniel and Niemetz, Michael and Meier, Hans}, title = {Leader Election in a Distributed CAN-Based Multi-Microcontroller System}, series = {2023 3rd International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME), 19-21 July 2023, Tenerife, Canary Islands, Spain}, booktitle = {2023 3rd International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME), 19-21 July 2023, Tenerife, Canary Islands, Spain}, publisher = {IEEE}, address = {Piscataway, NJ, USA}, isbn = {979-8-3503-2297-2}, doi = {10.1109/ICECCME57830.2023.10252250}, pages = {1 -- 8}, abstract = {In a distributed system, functionally equivalent nodes work together to form a system with improved availability, reliability and fault tolerance. Thereby, the purpose is to achieve a common control objective. As multiple components cooperate to accomplish tasks, coordination between them is required. Electing a node as the temporary leader can be a possible solution to perform coordination. This work presents a self-stabilizing algorithm for the election of a leader in dynamically reconfigurable bus topology-based broadcast systems with a message and time complexity of O(1). The election is performed dynamically, i.e., not only when the leader node fails, and is criterion-based. The criterion used is a performance related value which evaluates the properties of the node regarding the ability to perform the tasks of the leader. The increased demands on the leader are taken into account and a re-election is started when the criterion value drops below a predefined level. The goal here is to distribute the load more evenly and to reduce the probability of failure due to overload of individual nodes. For improved system availability and reduced fault rates, a management level consisting of leader, assistant and co-assistant is introduced. This reduces the number of required messages and the duration in case of non-initial election. For further reduction of required messages to uniquely determine a leader, the CAN protocol is exploited. The proposed algorithm selects a node with an improved failure rate and a reduced message and hence time complexity while satisfying the safety and termination constraints. The operation of the algorithm is validated using a hardware test setup.}, language = {en} } @inproceedings{ReindlLausserErikssonetal., author = {Reindl, Andrea and Lausser, Florian and Eriksson, Lars and Park, Sangyoung and Niemetz, Michael and Meier, Hans}, title = {Control Oriented Mathematical Modeling of a Bidirectional DC-DC Converter - Part 1: Buck Mode}, series = {28th International Conference on Applied Electronics (AE) 2023, Pilsen, 6-7 September 2023}, booktitle = {28th International Conference on Applied Electronics (AE) 2023, Pilsen, 6-7 September 2023}, editor = {Pinker, Jiř{\´i}}, publisher = {University of West Bohemia}, address = {Pilsen}, isbn = {979-8-3503-3554-5}, doi = {10.1109/AE58099.2023.10274168}, pages = {1 -- 7}, abstract = {Parallel connection of different batteries equipped with bidirectional DC-DC converters offers an increase of the total storage capacity, the provision of higher currents and an improvement of reliability and system availability. To share the load current among the DC-DC converters while maintaining the safe operating range of the batteries, appropriate controllers are needed. The basis for the design of these control approaches requires knowledge of both the static and dynamic characteristics of the DC-DC converter used. In this paper, the small signal analysis of a DC-DC converter in buck mode is shown using the circuit averaging technique. The paper gives an overview of all required transfer functions:. The control and line to output transfer functions for CCM and DCM relevant for average current mode control as well as for voltage control are derived and their poles and zeros are determined. This provides the basis for stability consideration, analysis of the overall control structure and controller design.}, language = {en} }