• Non ci sono risultati.

Paolo Pagano (p.pagano@sssup.it)

N/A
N/A
Protected

Academic year: 2021

Condividi "Paolo Pagano (p.pagano@sssup.it)"

Copied!
12
0
0

Testo completo

(1)

Corso di Sistemi in Tempo Reale Laurea in Ingegneria dell‘Automazione

a.a. 2008-2009

Paolo Pagano (p.pagano@sssup.it)

(2)

Today’s topic

• First day (23

rd

)

– Basics of FSM (slides by prof. Lipari) – The Uppaal platform

– Formal verification

(3)

Paolo Pagano - Embedded Systems 3/13

Finite State Machines

Credits: John Favaro

(john@favaro.net)

(4)

Finite State Machines

(5)

Paolo Pagano - Embedded Systems 5/13

Finite State Machines

(6)

Finite State Machines

(7)

Paolo Pagano - Embedded Systems 7/13

Finite State Machines

(8)

Uppaal model

• Uppaal (www.uppaal.com ) is a tool box for

validation (via graphical simulation) and

verification (via automatic model-checking) of FSM driven systems. It

consists of two main parts:

– a graphical user interface;

– a model-checker engine.

(9)

Paolo Pagano - Embedded Systems 9/13

FSM design and implementation

• We model a panel of leds and buttons

making use of a set of FSMs;

• Let’s verify this simple system making use of

Uppaal inner engine.

States

Transitions

Conditions

(10)

Formal verification (1/2)

(11)

Paolo Pagano - Embedded Systems 11/13

Modeling OS-entities like Mutexes

(12)

Formal verification (2/2)

Riferimenti

Documenti correlati

• We can naively design an Embedded System making use of some basic knowledge of Finite State Machine theory;. • We can simulate the ES making use

Supponendo di realizzare il controllore utilizzando una libreria matematica in virgola fissa, si stimi il minimo numero di cifre decimali dopo la virgola necessario a rappresentare

Ingegneria dell ’Automazione - Sistemi in Tempo Reale – p.2/28.?. Zeros

Ingegneria dell’Automazione - Sistemi in Tempo Reale

• The idea is here to find a discrete equivalent replicating the behaviour of the continuous time controller if it was framed into a ZoH-Sampler scheme.. • we know how to

Ingegneria dell ’Automazione - Sistemi in Tempo Reale – p.2/39... Semidefinite Programming

Notice that the first factor produces a train of δ impulses: in the intersampling the systems generates a sum of scaled and traslated step

Consideration 2: Looking at the denominator roots should be far apart: clusters empahsise senistivity.. for the variations of