没有合适的资源?快使用搜索试试~ 我知道了~
单片机类毕业论文设计-英文翻译.doc
0 下载量 40 浏览量
2023-07-10
15:18:32
上传
评论
收藏 1.11MB DOC 举报
温馨提示
试读
78页
单片机类毕业论文设计-英文翻译.doc
资源推荐
资源详情
资源评论
河南科技大学本科毕业设计(论文)
1
单片机类毕业论文设计
英文资料翻译
A modeling-based methodology for evaluating the
performance of a real-time embedded control system
Klemen Perko, Remy Kocik, Redha Hamouche, Andrej Trost
ABSTRACT
This paper presents a modelling-based methodology for embedded control
system (ECS) design. Here, instead of developing a new methodology for ECS
design, we propose to upgrade an existing one by bridging it with a methodology
used in other areas of embedded systems design. We created a transformation
bridge between the control-scheduling and the hardware/software (HW/SW)
co-design tools. By defining this bridge, we allow for an automatic model
transformation. As a result, we obtain more accurate timing-behaviour
simulations, considering not only the real-time software, but also the hardware
architecture’s impact on the control performance. We show an example with
different model-evaluation results compared to real implementation
measurements, which clearly demonstrates the benefits of our approach.
© 2011 Elsevier B.V. All rights reserved
KEY WORDS: Modeling, Model transformations, Embedded control systems
design, Real-time systems
1. Introduction
Embedded control systems (ECSs) are ubiquitous nowadays. They are used
河南科技大学本科毕业设计(论文)
2
in a broad spectrum of applications, from simple temperature control in
household appliances to complex and safety–critical automotive brake systems
or aircraft flight control systems. Different applications have different demands
with regards to the real-time execution, control performance, energy
consumption, price, etc., of the ECS being used. Modern technologies for
hardware (HW) and software (SW) design provide a variety of possibilities for
designing ECSs (e.g., distributed and networked HW, multi-processor systems, a
variety of SW control algorithms and real-time operating systems (RTOSs), etc.)
[1]. It is commonly acknowledged that the designing and verifying of reliable
and efficient ECSs for a particular application are challenging tasks.
1.1. Traditional control-system design
The aim of designing an ECS is to build a computing system that is able to
control the behavior of a physical system, e.g., a plant. Such a plant is made up
of interconnected mechanical, electrical and/or chemical elements. A typical
ECS consists of electronic sensors for data acquisition from the plant, a
computing system for processing the control algorithm, and electronic actuators
to drive the plant.
The ECS design process involves different actors and areas of expertise
(control theory, signal processing, real-time SW and HW engineers). Each of
these engineers is familiar with their own modeling languages, models, design
tools, etc. This heterogeneity introduces cuts in the design process. Model
transformations are needed between each design step; however, they are often
carried out manually and, as a result, are prone to mistakes and subject to
interpretation, which of course depends on the skill of the designer. The
traditional form of ECS design is performed in two separated domains – the
control SW domain and the HW domain – using specific design tools and their
respective system models. In the first domain, control engineers define the
control laws and the SW engineers write the code that executes the operations
河南科技大学本科毕业设计(论文)
3
required by the control laws. A so-called control-scheduling co-design is
performed. Decisions made in the real-time (RT) software design affect the
control design, and vice versa. For instance, different SW scheduling policies
have different impacts on the latency distributions in the control loops and,
consequently, on their performance. Also, the control-loop performance directly
affects (by constraining) the SW execution parameters (i.e., sampling periods,
task-execution jitter, etc.).
In the second domain the HW engineers design an HWplatform that will
execute the control SW. The connections of all the sensors and actuators to the
platform are made via the available communication channels. However, because
the HW platform is designed separately, control engineers cannot estimate its
impact on the control-loop performance. For instance, the data from sensors and
to actuators can pass through one or more communication channels. A HW
engineer can, in general, choose from among a variety of communication
protocols, and each type introduces different latencies and jitter, which therefore
affects the SW execution. The control engineer cannot, however, evaluate the
effect of these latencies before the system is actually implemented. Hence, the
desired performance of the system may not be achieved, and it is necessary to
change and tune the control laws (calibration phase) in order to compensate for
the impact of these communication and execution delays. The fact that the
calibration has to be performed on an actual plant can be very expensive and
time-consuming, especially when the desired performance cannot be achieved
using the current HWplatform and a redesign is required. Another shortcoming
of traditional ECS design is the inability of control and SW engineers to exploit
some of the advantages offered by modern HW technologies. For instance,
control loops running in parallel, instead of the traditional sequential execution,
could give better performance. Parallel execution can be achieved with the use
of multi-processor or distributed platforms.
Modern ECS design techniques rely heavily on system modeling, which
河南科技大学本科毕业设计(论文)
4
provides a means to examine how various components work together and to
estimate the impact of the ECS’s implementation on control performance before
it is actually implemented. This makes it possible to correct the initial control
laws in order to compensate for the implementation impacts early in the design
cycle. Another important aspect of modeling is the ability to explore different
possible system implementations (design-space exploration). Appropriate
modeling can significantly shorten the design cycle of an ECS [2].
To overcome the problems introduced by the heterogeneity of design
models and tools, different methodologies and tools were developed [3]. These
methodologies usually provide a means to create a uniform ECS model, simulate
and evaluate its behavior, formally transform it towards an implementation, etc.
1.2.Proposed control system design
To improve and accelerate the traditional ECS design we propose the
merging of these separated domains. On the basis of this merging, all the actors
in the design process could better collaborate and exchange their data during the
design process, they could do a more thorough design-space exploration and the
design cycle could be made significantly shorter. Instead of developing a new
methodology for ECS design, we propose to upgrade the traditional SW-based
control-system design approach with efficient modeling and design of the HW
platforms. Recently, several methodologies have been developed that concern
HW/SW co-design. These methodologies enable the efficient design of SW and
HW on embedded systems in terms of SW execution speed, HW resources usage,
system flexibility, future upgradeability, final design costs, etc. We propose
creating a formal bridge between the existing tools for control-scheduling
co-design and HW/SW co-design. This bridge makes possible model
transformations and the exchange of simulation results between tools for
control-scheduling co-design and HW/SW co-design.
The bridge is based on a formal transformation of models between different
河南科技大学本科毕业设计(论文)
5
design tools. Our foundation for the control scheduling co-design methodology
is work presented in [4] and its associated tool, MoDEST, which is presented in
[5]. For the purpose of HW/SW co-design we have selected the methodology
presented in [6] with its associated abstract-system modeling tool, ASyMod,
which is presented in [7].With the bridge we are able to obtain more accurate
control-performance evaluations considering architectural details and even the
possibility to study mixed HW/SW implementations of the control system.
Evaluating the impact of implementation in the early design stages reduces the
number of design-lifecycle iterations and shortens the time needed for a final
calibration of the control laws.
In the next section we present the related methodologies, followed by short
descriptions of the MoDEST and ASyMod tools and their metamodels. In
Section 3 we describe the formal rules for model transformation and the
implementation of the bridge. In Section 4, two examples of an embedded
controller are presented. By comparing simulation results to measurements on a
real implemented system, we show the benefits of our approach. Finally, the
paper is concluded in Section 5.
1.3.Related methodologies and tools
The increasing need to optimize ECSs in terms of their control performance,
RT constraints and cost efficiency has led to limited computational resources
combined with their efficient exploitation and has, as a consequence, encouraged
the emergence of new research areas.
Domain-specific tools for control-scheduling co-design have been
developed recently. These tools support implementation modeling and analysis
in terms of control performance. Several of the tools are based on Matlab, which
is traditionally used by control engineers for the design of control laws. The
AIDA [8] toolset is a model-based environment for the design and analysis of
control systems, used either in stand-alone form or with Matlab. The toolset
剩余77页未读,继续阅读
资源评论
matlab大师
- 粉丝: 2434
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功