Correctness in Causal Systems

Preview:

DESCRIPTION

Correctness in Causal Systems. Eleftherios Matsikoudis UC Berkeley. Causality (Informally). … is the constraint that an effect cannot precede its cause. Relevance. Modeling and Simulation Synchronous Programming of Reactive Systems Hardware Description. Correctness. ?. f. f. - PowerPoint PPT Presentation

Citation preview

7th Biennial Ptolemy Miniconference

Berkeley, CAFebruary 13, 2007

Correctness in Causal Systems

Eleftherios Matsikoudis

UC Berkeley

Matsikoudis, Berkeley 2Ptolemy Miniconference, February 13, 2007

Causality (Informally)

… is the constraint that an effect cannot precede its cause.

Matsikoudis, Berkeley 3Ptolemy Miniconference, February 13, 2007

Relevance

Modeling and Simulation

Synchronous Programming of Reactive Systems

Hardware Description

Matsikoudis, Berkeley 4Ptolemy Miniconference, February 13, 2007

Correctness

?

Matsikoudis, Berkeley 5Ptolemy Miniconference, February 13, 2007

Systems..

sC

sSE fAsA

sBfB

fMsM

Matsikoudis, Berkeley 6Ptolemy Miniconference, February 13, 2007

Systems..

sC

sSE fAsA

sBfB

fMsM

as Fixed-Point Equations

sA = fA (sM ;sC )

sB = fB (sA ;sC )

sM = fM (sB ;sSE )

Matsikoudis, Berkeley 7Ptolemy Miniconference, February 13, 2007

Signals

T

V

Matsikoudis, Berkeley 8Ptolemy Miniconference, February 13, 2007

Prefix Order

s1 s2v

Matsikoudis, Berkeley 9Ptolemy Miniconference, February 13, 2007

Generalized Ultrametric Distance

d(s1;s2)

s1

s2

Matsikoudis, Berkeley 10Ptolemy Miniconference, February 13, 2007

Causal Functions

µ

s1

s2

f (s1)

f (s2)

Matsikoudis, Berkeley 11Ptolemy Miniconference, February 13, 2007

Existence of Fixed Points..?

f (s) def=

(fh¿;vig if ¿ 62 doms,; otherwise.

Matsikoudis, Berkeley 12Ptolemy Miniconference, February 13, 2007

-Causal Functions

R0

±

¸ ±

s1

s2

f (s1)

f (s2)

Matsikoudis, Berkeley 13Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

limn! 1

f n(s)

Matsikoudis, Berkeley 14Ptolemy Miniconference, February 13, 2007

Strictly Causal Functions

s1

s2

f (s1)

f (s2)½

Matsikoudis, Berkeley 15Ptolemy Miniconference, February 13, 2007

Zeno

Matsikoudis, Berkeley 16Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

f (f ( ))

f ( )f ( )

f (f ( ))

f (; )

f (f (; ))

Matsikoudis, Berkeley 17Ptolemy Miniconference, February 13, 2007

Beyond Strict Causality..

Matsikoudis, Berkeley 18Ptolemy Miniconference, February 13, 2007

Algebraic Loops

y(t) =x(t) =

x2(t) +u(t)

K y(t)

Matsikoudis, Berkeley 19Ptolemy Miniconference, February 13, 2007

x2(t) +u(t)

K y(t)

Algebraic Loops

y(t) =x(t) =

1:072

0:268

Matsikoudis, Berkeley 20Ptolemy Miniconference, February 13, 2007

1:072

0:268

Algebraic Loops

y(t) =x(t) =

14:9282

3:7321

Matsikoudis, Berkeley 21Ptolemy Miniconference, February 13, 2007

… in Simulink

Matsikoudis, Berkeley 22Ptolemy Miniconference, February 13, 2007

… in Ptolemy II

Matsikoudis, Berkeley 23Ptolemy Miniconference, February 13, 2007

Functions Strictly Causal on Orbits

½

s

f (s)

f (f (s))

Matsikoudis, Berkeley 24Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

f (f ( ))

f ( )f ( )

f (f ( ))

f (; )

f (f (; ))

Matsikoudis, Berkeley 25Ptolemy Miniconference, February 13, 2007

Conclusion

Proceed with caution..

Recommended