[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Online cycle detection for models with mode-dependent input and output dependencies

Published: 01 May 2021 Publication History

Abstract

In the fields of co-simulation and component-based modelling, designers import models as building blocks to create a composite model that provides more complex functionalities. Modelling tools perform instantaneous cycle detection (ICD) on the composite models having feedback loops to reject the models if the loops are mathematically unsound and to improve simulation performance. In this case, the analysis relies heavily on the availability of dependency information from the imported models. However, the cycle detection problem becomes harder when the model’s input to output dependencies are mode-dependent, i.e. changes for certain events generated internally or externally as inputs. The number of possible modes created by composing such models increases significantly and unknown factors such as environmental inputs make the offline (statical) ICD a difficult task. In this paper, an online ICD method is introduced to address this issue for the models used in cyber–physical systems. The method utilises an oracle as a central source of information that can answer whether the individual models can make mode transition without creating instantaneous cycles. The oracle utilises three types of data-structures created offline that are adaptively chosen during online (runtime) depending on the frequency as well as the number of models that make mode transitions. During the analysis, the models used online are stalled from running, resulting in the discrepancy with the physical system. The objective is to detect an absence of the instantaneous cycle while minimising the stall time of the model simulation that is induced from the analysis. The benchmark results show that our method is an adequate alternative to the offline analysis methods and significantly reduces the analysis time.

References

[1]
Broman D., Brooks C., Greenberg L., Lee E.A., Masin M., Tripakis S., Wetter M., Determinate composition of FMUs for co-simulation, in: Proceedings of the Eleventh ACM International Conference on Embedded Software, IEEE Press, 2013, p. 2.
[2]
Gomes C., Thule C., Broman D., Larsen P.G., Vangheluwe H., Co-simulation: A survey, ACM Comput. Surv. 51 (3) (2018) 49.
[3]
Lublinerman R., Szegedy C., Tripakis S., Modular code generation from synchronous block diagrams: Modularity vs. code size, in: ACM SIGPLAN Notices, Vol. 44, ACM, 2009, pp. 78–89.
[4]
Matsikoudis E., Lee E.A., The fixed-point theory of strictly causal functions, Theoret. Comput. Sci. 574 (2015) 39–77.
[5]
Zhou Y., Lee E.A., Causality interfaces for actor networks, ACM Trans. Embedded Comput. Syst. (TECS) 7 (3) (2008) 29.
[6]
Lee E.A., Constructive models of discrete and continuous physical phenomena, IEEE Access 2 (2014) 797–821.
[7]
Hofbaur M.W., Wotawa F., A causal analysis method for concurrent hybrid automata, in: Proceedings of the National Conference on Artificial Intelligence, Vol. 21, AAAI Press; MIT Press, Menlo Park, CA; Cambridge, MA; London, 1999, p. 840.
[8]
A. Benveniste, B. Caillaud, H. Elmqvist, K. Ghorbal, M. Otter, M. Pouzet, Structural analysis of multi-mode DAE systems, in: Proceedings of the 20th International Conference on Hybrid Systems: Computation and Control, 2017, pp. 253–263.
[9]
Qiu X., Cen W., Qian Z., Peng Y., Zhang Y., Lin X., Zhou J., Real-time constrained cycle detection in large dynamic graphs, Proc. VLDB Endow. 11 (12) (2018) 1876–1888.
[10]
Pearce D.J., Kelly P.H., Hankin C., Online cycle detection and difference propagation: Applications to pointer analysis, Softw. Qual. J. 12 (4) (2004) 311–337.
[11]
Lee D., Kim M., A sistributed scheme for dynamic deadlock detection and resolution, Inform. Sci. 64 (1–2) (1992) 149–164.
[12]
Huang C.-H., Hda: Hierarchical and dependency-aware task mapping for network-on-chip based embedded systems, J. Syst. Archit. 108 (2020).
[13]
Kim Y., Choi S., Jeong J., Song Y.H., Data dependency reduction for high-performance fpga implementation of deflate compression algorithm, J. Syst. Archit. 98 (2019) 41–52.
[14]
Jiang W., Wen L., Zhan J., Jiang K., Design optimization of confidentiality-critical cyber physical systems with fault detection, J. Syst. Archit. 107 (2020).
[15]
Lee E.A., Zheng H., Leveraging synchronous language principles for heterogeneous modeling and design of embedded systems, in: Proceedings of the 7th ACM & IEEE International Conference on Embedded Software, ACM, 2007, pp. 114–123.
[16]
Berry G., Gonthier G., The ESTEREL synchronous programming language: Design, semantics, implementation, Sci. Comput. Program. 19 (2) (1992) 87–152.
[17]
F. Le Gall, Powers of tensors and fast matrix multiplication, in: Proceedings of the 39th International Symposium on Symbolic and Algebraic Computation, 2014, pp. 296–303.
[18]
Kapron B.M., King V., Mountjoy B., Dynamic graph connectivity in polylogarithmic worst case time, in: Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, Society for Industrial and Applied Mathematics, 2013, pp. 1131–1142.
[19]
Demetrescu C., Italiano G.F., Trade-offs for fully dynamic transitive closure on DAGs: Breaking through the O ( n 2 ) barrier, J. ACM 52 (2) (2005) 147–156.
[20]
Aho A.V., Garey M.R., Ullman J.D., The transitive reduction of a directed graph, SIAM J. Comput. 1 (2) (1972) 131–137.
[21]
King V., Sagert G., A fully dynamic algorithm for maintaining the transitive closure, J. Comput. System Sci. 65 (1) (2002) 150–167.
[22]
Cazorla F.J., Quiñones E., Vardanega T., Cucu L., Triquet B., Bernat G., Berger E., Abella J., Wartel F., Houston M., et al., Proartis: Probabilistically analyzable real-time systems, ACM Trans. Embedded Comput. Syst. (TECS) 12 (2s) (2013) 1–26.
[23]
Dudgeon G., More-electric-aircraft-in-simscape, 2020, URL https://github.com/mathworks/More-Electric-Aircraft-in-Simscape.
[24]
Carloni L.P., Passerone R., Pinto A., Languages and Tools for Hybrid Systems Design, now Publishers Inc, 2006.

Index Terms

  1. Online cycle detection for models with mode-dependent input and output dependencies
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image Journal of Systems Architecture: the EUROMICRO Journal
      Journal of Systems Architecture: the EUROMICRO Journal  Volume 115, Issue C
      May 2021
      267 pages

      Publisher

      Elsevier North-Holland, Inc.

      United States

      Publication History

      Published: 01 May 2021

      Author Tags

      1. Instantaneous cycle
      2. Modelling
      3. cyber–physical system
      4. Simulation
      5. Causality loop

      Qualifiers

      • Research-article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • 0
        Total Citations
      • 0
        Total Downloads
      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 31 Dec 2024

      Other Metrics

      Citations

      View Options

      View options

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media