Temporal decoupling with error-bounded predictive quantum control
- Virtual prototyping of integrated mixed-signal smart sensor systems requires high-performance co-simulation of analog frontend circuitry with complex digital controller hardware and embedded real-time software. We use SystemC/TLM 2.0 in conjunction with a cycle-count accurate temporal decoupling approach (TD) to simulate digital components and firmware code execution at high speed while preserving clock-cycle accuracy and, thus, real-time behavior at time quantum boundaries. Optimal time quanta ensuring real-time capability can be calculated and set automatically during simulation if the simulation engine has access to exact timing information about upcoming inter-process communication events. These methods fail in the case of non-deterministic, asynchronous events, resulting in potentially invalid simulation results. In this paper, we propose an extension to the case of asynchronous events generated by blackbox sources from which a priori event timing information is not available, such as coupled analog simulators or hardware in the loop. Additional event processing latency or rollback effort caused by temporal decoupling is minimized by calculating optimal time quanta dynamically in a SystemC model using a linear prediction scheme. We analyze the theoretical performance of the presented predictive temporal decoupling approach (PTD) by deriving a cost model that expresses the expected simulation effort in terms of key parameters such as time quantum size and CPU time per simulation cycle. For an exemplary smart-sensor system model, we show that quasi-periodic events that trigger activities in TD processes are handled accurately after the predictor has settled.
Author of HS Reutlingen | Hennig, Eckhard |
---|---|
DOI: | https://doi.org/10.1007/978-3-319-31723-6_6 |
ISBN: | 978-3-319-31723-6 |
Erschienen in: | Languages, design methods, and tools for electronic system design |
Publisher: | Springer |
Place of publication: | Cham |
Editor: | Rolf Drechsler |
Document Type: | Book chapter |
Language: | English |
Publication year: | 2016 |
Page Number: | 23 |
First Page: | 125 |
Last Page: | 147 |
PPN: | Im Katalog der Hochschule Reutlingen ansehen |
DDC classes: | 621 Angewandte Physik |
Open access?: | Nein |
Licence (German): | ![]() |