Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Embedded Systems Validation 2003
[go: Go Back, main page]

Lecture 5

In this lecture we will take a look at Ptolemy and Hyvisual.

Program

8.30-9.40 Ptolemy II Overview
9.40-10.00 Hyvisual Overview
10.00-10.15 Coffee break
10.15-11.00 Demos
11.00-12.00 Exercises

Ptolemy

Daniel Lazaro Cuadrado will give an overview on Ptolemy II.

Ptolemy II is a set of Java packages supporting heterogeneous, concurrent modeling and design. Its kernel package supports clustered hierarchical graphs, which are collections of entities and relations between those entities. Its actor package extends the kernel so that entities have functionality and can communicate via the relations. Its domains extend the actor package by imposing models of computation on the interaction between entities. Examples of models of computation include discrete-event systems, dataflow, process networks, synchronous/reactive systems, and communicating sequential processes. Ptolemy II includes a number of support packages, such as graph, providing graph-theoretic manipulations, math, providing matrix and vector math and signal processing functions, plot, providing visual display of data, data, providing a type system, data encapsulation and an expression parser, etc.

HyVisual (Hybrid System Visual Modeler) is a block-diagram editor and simulator for continuous-time dynamical systems and hybrid systems. It facilitates graphical creation of models and and provides a sophisticated numerical solver for simulations. The tool builds on the continuous time domain in combination with finite state machines. The tutorial will illustrate some of the features available in HyVisual to provide a general understanding the capabilities of the tool and give a summary of experiences with it. HyVisual is built on top of Ptolemy II and is thus an excellent illustration of its support for creating domain specific tools.

HyVisual

Juhan Ernits will give an overview of HyVisual. HyVisual (Hybrid System Visual Modeler) is a block-diagram editor and simulator for continuous-time dynamical systems and hybrid systems. It facilitates graphical creation of models and and provides a sophisticated numerical solver for simulations. The tool builds on the continuous time domain in combination with finite state machines. The tutorial will illustrate some of the features available in HyVisual to provide a general understanding of the capabilities of the tool and give a summary of experiences with it.

HyVisual is built on top of Ptolemy II and is thus an excellent illustration of its support for creating domain specific tools.

Excercises

For the exercises we encourage every participant to install Ptolemy and Hyvisual. Instructions on how to do that can be found following the download link on the web page for the tools.

  1. Model a system that periodically switches a sine signal generator on and off.
  2. Go through the modelling example in appendix A of HyVisual manual.

Reading Material

The main website for Ptolemy II and Hyvisual is http://ptolemy.eecs.berkeley.edu/ptolemyII/ which contains a wealth of information on both tools. For more general information about the ptolemy project go to http://ptolemy.eecs.berkeley.edu/. Apart from all the documentation neccesary about the software, an extensive list of publications and extra material can be found there.