Experimental Evaluation of SAFEPOWER Architecture for Safe and Power-Efficient Mixed-Criticality Systems
Abstract
:1. Introduction
- Reliability: Low power consumption is an important factor to increase the operational reliability and availability in many industrial systems. If power consumption and heat are reduced, the positive impact on reliability is doubled. First, the negative influence on the ageing of hardware elements is lowered, and second, it may avoid the use of cooling systems and mobile parts (e.g., ventilators) in the hardware design. Cooling systems contribute significantly to the probabilities of failure or add additional maintenance intervals.
- Availability: A low power consumption allows extending the operation of a system in special situations such as blackouts and energy disruptions.
- Ecology: Power consumption reduction is also a desired feature towards near-zero emission in systems with tens/hundreds of electronic control units (ECUs).
- Evaluating the SAFEPOWER architecture with two industrial use cases showing detailed implementations with different low-power scenarios on the Zynq SoC platform and evaluating the power improvements, particularly addressing the low-power schedulability requirement.
2. Background and Related Work
2.1. Overview of Low-Power Techniques
2.2. Impact on Safety
- The impact on timing of the low-power techniques should be predictable and reproducible: both the execution time of the LPT (since they are requested to support their effective implementation) and their impact on the system timing (e.g., frequency scaling) have to be known a priori and verified in a static manner. The safety of the system stands on its timely response; for instance, a late red light on a signalling system or a delayed brake on any transport system could have catastrophic effects.
- Low-power techniques should not break the temporal and spatial isolation of mixed-criticality systems: safety-critical applications share computing resources, and the mapping of the sharing of these resources is typically guaranteed by an embedded hypervisor. Low-power techniques are often shared by all the resources (e.g., frequency scaling applies to all cores), and the requests to their applications should be controlled in such a way that a non-critical application cannot change the behaviour of a critical one.
2.3. Safety Standards
3. The SAFEPOWER Reference Architecture
3.1. Overview
Extended Hypervisor (DynamicLPT)
Static Low-Power Block (SLP)
Static Low-Power Lite Block (SLPLite)
Power Services Interface (PSI)
Power Services Interface (PSI Lite)
Low-Power Monitoring Partition (Monitoring Partition)
Power-aware Security library
3.2. Implementation
4. SAFEPOWER Virtual Hardware Platform
- Execution control: This is the deterministic simulation and full control of all processing elements. In the scope of the SAFEPOWER project, this was extended to support the simulation of time-triggered schedules (see [12]).
- Unified debug environment: This allows the simultaneous debugging of all application code executing on the processors in conjunction with access to the peripheral models (programmers view and behaviour) and shared resources, for example memory. With the help of analysis tools, a designer can analyse the execution and provide profiling, code coverage, dynamic assertions, etc., without the need to modify the applications’ binary code. On top of this feature, an approach was implemented in the scope of the SAFEPOWER project to validate the functionality of the low-power management techniques (see [11]).
- Fault injection: The virtual platform resources are accessible, so faults can be injected into any part; for example, modifications can be made to memory, processor registers, interrupt or reset lines and other resources. These can be automatically generated as required, for example on events or after a specific execution time.
5. Evaluation
- Demonstrate that the software components interact correctly with each other and with the hardware to carry out the functions for which they were designed,
- Verify that the entire system complies with the requirements—functional and extra-functional, also when including sessions with low-power techniques—of the requirements’ specification,
- Show that power savings can be reached for safety-critical applications in different domains.
5.1. Railway Case Study
5.1.1. Railway Application Description
- System scalability due to the decentralized operation.
- System modularity due to autonomous power supply and low-power consumption technologies,
- Deployment and maintainability cost reduction due to less wiring.
5.1.2. Mapping Railway UC to the SAFEPOWER Reference Architecture
- P_MON: Power Monitoring Partition (SIL4),
- P_IO_MNG: Input/Output Management Partition (SIL4),
- P_ETH/TCP: Ethernet, TCP and security library Partition (SIL0)
- P_DIAG: Diagnosis Partition (SIL0)
5.1.3. Railway UC Evaluation Setup
- In Normalmode, the safety functionality is executed:
- In Normal/Normal mode, no LPT is applied.
- In Normal/Trimmed mode, frequency scaling from 400 MHz–200 MHz is applied.
- In Normal/Dropped mode, Diagnostic Partition (P_DIAG) is switched off, setting the processor to idle instead.
- In Fault mode, the safety functionality is not running due to a fault situation having been detected:
- In Fault/Normal mode, voltage scaling is applied to the PS part from 1 V–0.9 V.
- In Fault/Trimmed mode, frequency and voltage scaling are applied.
- In Fault/Dropped mode, PL is switched off. There is no railway functionality in this mode, but monitoring is working normally.
- SAFEPOWER PCB: runs the object controller application.
- Interlocking: communicates with the object controller, giving orders and receiving the inputs’ state.
- Operating terminal: represents the state of the field elements controlled by the interlocking.
- Diagnostic terminal: processes the events sent by the object controller.
- NS SiCamPC: simulates the field elements.
- PLC Beckhoff: translates object controller inputs/outputs to NS SiCamPC field elements.
- IHM SiCamPC: executes test scripts.
5.1.4. Railway UC Evaluation Results
5.2. Avionics Case Study
5.2.1. Avionic Application Description
- Achieving a better understanding of how power-saving techniques can be applied to a mixed criticality systems with safety-critical functions distributed over several nodes/tiles without compromising the functional integrity.
- Executing safety-, mission- and non-critical applications on the same multicore platform with low-power services would result in increased payload fraction.
5.2.2. Mapping Avionic UC to the SAFEPOWER Reference Architecture
- Flight Control System (FCS): The FCS was implemented on three cores for triple modular redundancy (TMR). It is found on the first ARM core, together with Functional Monitoring System (FMS) and Maintenance Recording System (MRS) applications, and on two MicroBlazes. This is the most critical application and is responsible for the flight. In order to have a stable flight, it is scheduled to run with a frequency of 500 Hz.
- Functional Monitoring System (FMS): A use case-specific functional monitor application was implemented in the health monitoring partition on the ARM core. Every time a partition or MicroBlaze function is executed, it sends an updated report to the monitor. The monitor compares the report from the previous one and can then detect if the functions are not executing at the specified rate. Furthermore, for partitions on the ARM, the monitor is able to utilize health monitor functionalities in order to get the partition slack time.
- Maintenance Recording System (MRS): The MRS was implemented on the first ARM core together with FCS and FMS applications. Its task is to record FMS data.
- Video Imaging Processing System (VIPS): The VIPS was implemented on the second ARM core together with the Internet Browsing System (IBS) application. This application reads a picture from the memory (DDR), converts the picture from color to black and white and sends it back to the memory. It is a very memory intense application and sends 46.7 Mbyte/s (800 × 600, 24 bit at 34 fps).
- Internet Browsing System (IBS) The IBS was implemented on the second ARM core together with the VIPS application. This application is exercised on the dummy source (reading and processing). In a real aircraft, it is used by the pilot to read manuals and such. This application is subjected to reduced schedule, i.e., turning off the partition.
- Large Data Update (LDU) system The LDU was implemented on a MicroBlaze together with one instance of the FCS application. This application is exercised on a dummy source (reading and processing), simulating the upload of maps.
5.2.3. Evaluation Setup
- Demonstrate correct functionality with and without LPT on the virtual platform with the help of a virtual platform-in-the-loop simulation (see Figure 10, left), connecting the SAFEPOWER OVP with a flight Simulator (AeroSimRC) and validating the functionality and the correct application of the low-power techniques,
- Demonstrate correct functionality on the SAFEPOWER PCB platform without LPT (baseline setup),
- Demonstrate correct functionality on the SAFEPOWER platform with LPT usage within each flight scenario,
- Record timing parameters, voltage and power values (see Figure 10 for measurement setup) on the SAFEPOWER PCB platform while executing the above scenarios. Power can be measured separately for every rail of the SAFEPOWER hardware. For that, we have used the TI Fusion Power controller to read out the power values from the on-chip power regulator and logged them to a CSV file.
5.2.4. Avionic UC Evaluation Results
6. Conclusions and Future Work
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Burns, A.; Davis, R.I. Mixed Criticality Systems—A Review. 2015. Available online: https://www-users.cs.york.ac.uk/burns/review.pdf (accessed on 11 March 2019).
- Bilbao, A.; Yarza, I.; Montero, J.; Azkarate-Askasua, M.; Gonzalez, N. A railway safety and security concept for low-power mixed-criticality systems. In Proceedings of the 2017 IEEE 15th International Conference on Industrial Informatics (INDIN), Emden, Germany, 24–26 July 2017; pp. 59–64. [Google Scholar] [CrossRef]
- Obermaisser, R.; Weber, D. Architectures for mixed-criticality systems based on networked multi-core chips. In Proceedings of the IEEE Conference on Emerging Technology and Factory Automation (ETFA), Berlin, Germany, 6–9 September 2014. [Google Scholar]
- Ficek, C.; Feiertag, N.; Richter, D.K. Apply AUTOSAR Timing Protection to Build Safe and Efficient ISO 26262 Mixed-Criticality Systems. 2013. Available online: http://web1.see.asso.fr/erts2012/Site/0P2RUC89/4C-4.pdf (accessed on 11 March 2019).
- Crespo, A.; Masmano, M.; Coronel, J.; Peiró, S.; Balbastre, P.; Simó, J. Multicore partitioned systems based on hypervisor. IFAC Proc. Vol. 2014, 47, 12293–12298. [Google Scholar] [CrossRef]
- Ahmadian, H.; Obermaisser, R.; Abuteir, M. Time-Triggered and Rate-Constrained On-chip Communication in Mixed-Criticality Systems. In Proceedings of the 2016 IEEE 10th International Symposium on Embedded Multicore/Many-core Systems-on-Chip (MCSOC), Lyon, France, 21–23 September 2016; pp. 117–124. [Google Scholar] [CrossRef]
- Grüttner, K. Empowering Mixed-Criticality System Engineers in the Dark Silicon Era: Towards Power and Temperature Analysis of Heterogeneous MPSoCs at System Level. In Model-Implementation Fidelity in Cyber Physical System Design; Molnos, A., Fabre, C., Eds.; Springer: Cham, Switzerland, 2017; pp. 57–90. [Google Scholar] [CrossRef]
- Völp, M.; Hähnel, M.; Lackorzynski, A. Has energy surpassed timeliness? Scheduling energy-constrained mixed-criticality systems. In Proceedings of the 2014 IEEE 19th Real-Time and Embedded Technology and Applications Symposium (RTAS), Berlin, Germany, 15–17 April 2014; pp. 275–284. [Google Scholar] [CrossRef]
- Nelson, A.; Molnos, A.; Goossens, K. Composable power management with energy and power budgets per application. In Proceedings of the 2011 International Conference on Embedded Computer Systems: Architectures, Modeling and Simulation, Samos, Greece, 18–21 July 2011; pp. 396–403. [Google Scholar] [CrossRef]
- Fakih, M.; Lenz, A.; Azkarate-Askasua, M.; Coronel, J.; Crespo, A.; Davidmann, S.; Diaz Garcia, J.C.; Romero, N.G.; Grüttner, K.; Schreiner, S.; et al. SAFEPOWER project: Architecture for safe and power-efficient mixed-criticality systems. Microprocess. Microsyst. 2017, 52, 89–105. [Google Scholar] [CrossRef]
- Schreiner, S.; Seyyedi, R.; Fakih, M.; Grüttner, K.; Nebel, W. Towards Power Management Verification of Time-triggered Systems Using Virtual Platforms. In Proceedings of the 18th International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation, SAMOS ’18, Pythagorion, Greece, 15–19 July 2018; ACM: New York, NY, USA, 2018; pp. 81–88. [Google Scholar] [CrossRef]
- Seyyedi, R.; Schreiner, S.; Fakih, M.; Grüttner, K.; Nebel, W. Functional Test Environment for Time-Triggered Control Systems in Complex MPSoCs using GALI. In Proceedings of the 2018 21st Euromicro Conference on Digital System Design (DSD), Prague, Czech Republic, 29–31 August 2018; pp. 711–718. [Google Scholar]
- Onaindia, P.; Poggi, T.; Azkarate-askatsua, M.; Grüttner, K.; Fakih, M.; Peiro, S.; Balbastre, P. A Hypervisor Architecture for Low-Power Real-Time Embedded Systems. In Proceedings of the Euromicro Conference on Digital System Design (DSD), Prague, Czech Republic, 29–31 August 2018. [Google Scholar]
- Orgerie, A.C.; de Assuncao, M.D.; Lefevre, L. A Survey on Techniques for Improving the Energy Efficiency of Large-scale Distributed Systems. ACM Comput. Surv. 2014, 46, 1–31. [Google Scholar] [CrossRef]
- Stangaciu, C.S.; Micea, M.V.; Cretu, V.I. Energy efficiency in real-time systems: A brief overview. In Proceedings of the 2013 IEEE 8th International Symposium on Applied Computational Intelligence and Informatics (SACI), Timisoara, Romania, 23–25 May 2013; pp. 275–280. [Google Scholar]
- Chen, P.; Shie, M.C.; Zheng, Z.Y.; Zheng, Z.F.; Chu, C.Y. A Fully Digital Time-Domain Smart Temperature Sensor Realized With 140 FPGA Logic Elements. IEEE Trans. Circuits Syst. I Regul. Pap. 2007, 54, 2661–2668. [Google Scholar] [CrossRef]
- Lefebvre, C.; Montero, J.L.; Rubio, L. Implementation of a fast relative digital temperature sensor to achieve thermal protection in Zynq SoC technology. Microelectron. Reliabil. 2017, 79, 433–439. [Google Scholar] [CrossRef]
- Bagatin, M.e.A. Temperature dependence of neutron-induced soft errors in SRAMs. Microelectron. Reliabil. 2012, 52, 289–293. [Google Scholar] [CrossRef]
- Fakih, M.; Poggi, T.; Peiro, S.; Lenz, A.; Mohammadat, T. Final Low Power Techniques. Technical Report D2.3, SAFEPOWER Project. 2018. Available online: http://safepower-project.eu/ (accessed on 11 March 2019).
Requirement | Covered in This Article | Main Result(s) |
---|---|---|
Controllability of power and temperature | Partially, in rail-way UC, main concept in [13] | • Hypervisor monitoring partition captures faults and switches to safe mode |
Observability of timing and power | Partially, in both UCs, concept in [11,12,13] | • Monitoring partition to observe power rails and temperature on the PCB • Validation of low-power methods and RT schedules on the virtual platform [11,12] |
Schedulability of hard real-time applications under power management | Yes, main contribution | • Low-power savings up to 37% on hard real-time industrial use cases |
Certifiability of power and temperature management techniques | No, covered in [2] | • Safety compliant low-power architecture with 3rd party expert assessment |
Low-Power Technique | Targeted Power Source | Disadvantage(s) |
---|---|---|
Voltage Scaling | Dynamic and Static |
|
DVFS | Dynamic and Static |
|
Clock gating | Dynamic |
|
Power gating | Static |
|
Microarchitectural | Static |
|
Optimisations |
|
Critical Task Execution Time | Monitoring Partition Execution Time | Power Measurement | Voltage Measurement | Temperature Measurement | ||
---|---|---|---|---|---|---|
Normal/Normal (No LPT) | 4.2 ms | 28.3 ms | PS PL DDR | 0.389 W 0.606 W 0.642 W | PS 0.994 V PL 0.995 V DDR 1.328 V | 55.8 °C |
Normal/Trimmed (Frequency Scaling) | +46% | +26% | PS PL DDR | −15% 0% −4% | −0.5 °C | |
Normal/Dropped (Partition off) | PS PL DDR | −12% 0% −13% | −1.1 °C | |||
Fault/Normal (Voltage Scaling) | PS PL DDR | −27% 0% 0% | PS voltage: −10% | −1.7 °C | ||
Fault/Trimmed (DVFS) | +46% | +26% | PS PL DDR | −37% 0% −4% | PS voltage: −10% | −1.8 °C |
Fault/Dropped (PL off) | PS PL DDR | 0% 0% −85% | PL voltage: −48% | NA |
Mode | Description |
---|---|
Fully active | No power-saving operation applied |
Reduced schedule | Reduced schedule on ARM cores (turning off partitions) |
Clock gating | Clock gating on the MicroBlazes |
Frequency scaling | Frequency scaling on the ARM processors (a prerequisite is that the reduced schedule is also active) |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Fakih, M.; Grüttner, K.; Schreiner, S.; Seyyedi, R.; Azkarate-Askasua, M.; Onaindia, P.; Poggi, T.; Romero, N.G.; Quesada Gonzalez, E.; Sundström, T.; et al. Experimental Evaluation of SAFEPOWER Architecture for Safe and Power-Efficient Mixed-Criticality Systems. J. Low Power Electron. Appl. 2019, 9, 12. https://doi.org/10.3390/jlpea9010012
Fakih M, Grüttner K, Schreiner S, Seyyedi R, Azkarate-Askasua M, Onaindia P, Poggi T, Romero NG, Quesada Gonzalez E, Sundström T, et al. Experimental Evaluation of SAFEPOWER Architecture for Safe and Power-Efficient Mixed-Criticality Systems. Journal of Low Power Electronics and Applications. 2019; 9(1):12. https://doi.org/10.3390/jlpea9010012
Chicago/Turabian StyleFakih, Maher, Kim Grüttner, Sören Schreiner, Razi Seyyedi, Mikel Azkarate-Askasua, Peio Onaindia, Tomaso Poggi, Nera González Romero, Elena Quesada Gonzalez, Timmy Sundström, and et al. 2019. "Experimental Evaluation of SAFEPOWER Architecture for Safe and Power-Efficient Mixed-Criticality Systems" Journal of Low Power Electronics and Applications 9, no. 1: 12. https://doi.org/10.3390/jlpea9010012
APA StyleFakih, M., Grüttner, K., Schreiner, S., Seyyedi, R., Azkarate-Askasua, M., Onaindia, P., Poggi, T., Romero, N. G., Quesada Gonzalez, E., Sundström, T., Peiró Frasquet, S., Balbastre, P., Mohammadat, T., Öberg, J., Bebawy, Y., Obermaisser, R., Maleki, A., Lenz, A., & Graham, D. (2019). Experimental Evaluation of SAFEPOWER Architecture for Safe and Power-Efficient Mixed-Criticality Systems. Journal of Low Power Electronics and Applications, 9(1), 12. https://doi.org/10.3390/jlpea9010012