Timing analysis and simulation tools for real-time control

Forskningsoutput: Kapitel i bok/rapport/Conference proceedingKapitel samlingsverk


Abstract in Undetermined
The temporal non-determinism introduced by computing and communication in the form of delay and jitter can lead to significant performance degradation. To achieve good performance in systems with limited computer resources, e.g. embedded systems, the resource constraints of the implementation platform must be taken into account at design time. To facilitate this, software tools are needed to analyze and simulate how the timing affects the control performance. Recently two new such tools, JITTERBUG and TRUETIME have been developed at the Department of Automatic Control, Lund University.JITTERBUG is a MATLAB-based toolbox that makes it possible to compute a quadratic performance criterion for a linear control system under various timing conditions. The tool can also compute the spectral density of the signals in the system. Using the toolbox, one can easily and quickly assert how sensitive a control system is to delay, jitter, lost samples, etc., without resorting to simulation. The tool is quite general and can also be used to investigate jitter-compensating controllers, aperiodic controllers, and multi-rate controllers. The main contribution of the toolbox, which is built on well-known theory (LQG theory and jump linear systems), is to make it easy to apply this type of stochastic analysis to a wide range of problems.The use of JITTERBUG assumes knowledge of sampling period and latency distributions. This information can be difficult to obtain without access to measurements from the true target system under implementation. Also, the analysis cannot capture all the details and nonlinearities (especially in the real-time scheduling) of the computer system. A natural approach is to use simulation instead. However, today’s simulation tools make it difficult to simulate the true temporal behaviour of control loops. What is normally done is to introduce time delays in the control loop representing average-case or worst-case delays. Taking a different approach, the MATLAB/Simulink-based tool TRUETIME facilitates simulation of the temporal behaviour of a multitasking real-time kernel executing controller tasks. The tasks are controlling processes that are modelled as ordinary Simulink blocks. TRUETIME also makes it possible to simulate simple models of wired and wireless communication networks and their influence on networked control loops. Different scheduling policies may be used (e.g., priority-based preemptive scheduling and earliest-deadline-first (EDF) scheduling).TRUETIME can also be used as an experimental platform for research on dynamic real-time control systems. For instance, it is possible to study compensation schemes that adjust the control algorithm based on measurements of actual timing variations (i.e., to treat the temporal uncertainty as a disturbance and manage it with feed-forward or gain-scheduling). It is also easy to experiment with more flexible approaches to real-time scheduling of controllers, such as feedback scheduling [1]. There the available CPU or network resources are dynamically distributed according the current situation (CPU load, the performance of the different loops, etc.) in the system.More information about JITTERBUG and TRUETIME can be found in [2]. The toolboxes can be downloaded from http://www.control.lth.se/user/dan/truetime/ and http://www.control.lth.se/user/lincoln/jitterbug/


Enheter & grupper

Ämnesklassifikation (UKÄ) – OBLIGATORISK

  • Reglerteknik


Titel på värdpublikationFormal Modeling and Analysis of Timed Systems (Lecture Notes in Computer Science)
RedaktörerPaul Pettersson, Wang Yi
ISBN (tryckt)978-3-540-30946-8
StatusPublished - 2005
Peer review utfördNej


ISSN (tryckt)1611-3349
ISSN (elektroniskt)0302-9743