Simulation of Software and Heterogeneous Hardware Systems: a Motor Speed Control System Case Study

semanticscholar(2019)

引用 0|浏览0
暂无评分
摘要
Assuring safe interaction among digital, embedded software and physical components in today’s integrated systems is an unavoidable challenge for designers. These systems have applications in the aerospace, automotive, defense, and other industries where small failures could cause great losses — human, economical, etc. Furthermore, their conception, decomposition, implementation, integration and verification has to be achieved within constrained budgets and short timeto-market intervals. To alleviate these issues, domain-specific modeling and simulation tools have emerged and continue to evolve: SystemC [1] is one of such tools. SystemC and its transaction-level modeling (TLM) and analog and mixed-signal (AMS) extensions [2] allow designers to capture specification in executable models, accelerate development of software with virtual prototypes, explore architectures to accomplish a desired functionality, and validate and verify methods, architecture and integration. Although they have been widely promoted for the development of heterogeneous systems, very few complete case studies are actually available. To illustrate the architectural exploration capabilities of SystemC and its extensions, we model and simulate an embedded software (digital) and an electrical circuit (analog) version of a DC motor speed control system. In the digital case, we devise an executable specification and refine it to a virtual prototype composed of a CPU, an instructions memory, an ADC, a DAC and a memory mapped bus (Fig. 1). On this prototype, we develop a control algorithm that is cross-compiled to target a RISC-V ISA [3]. We model the CPU unit with two different technologies: an interpretive model (ISS) and an emulated model (QEMU) [4]; we quantify and compare the effect of both technologies on simulation speed. Simulation results allows us to verify the selected control strategy, parameter values and sampling time, as well as to study the effect of fixed-point and floating point real number representation in the dynamics of the motor speed. In the analog case, we map the controller equation to timed data flow, signal flow and electric circuit models (Fig. 2), which gives evidence of the suitability of SystemC AMS to
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要