CIS 4930/6930: Principles of Cyber-Physical Systems
Timed Automata: A Case Study Hao Zheng
Department of Computer Science and Engineering University of South Florida
- H. Zheng (CSE USF)
CIS 4930/6930: Principles of CPS 1 / 23
CIS 4930/6930: Principles of Cyber-Physical Systems Timed Automata: - - PowerPoint PPT Presentation
CIS 4930/6930: Principles of Cyber-Physical Systems Timed Automata: A Case Study Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930: Principles of CPS 1 / 23 A Jobshop
Department of Computer Science and Engineering University of South Florida
CIS 4930/6930: Principles of CPS 1 / 23
CIS 4930/6930: Principles of CPS 2 / 23
CIS 4930/6930: Principles of CPS 3 / 23
CIS 4930/6930: Principles of CPS 4 / 23
CIS 4930/6930: Principles of CPS 5 / 23
CIS 4930/6930: Principles of CPS 6 / 23
CIS 4930/6930: Principles of CPS 7 / 23
idle easy avge hard
work easy work hard work aver1 work aver2
jobEasy? jobAvge? jobHard? get hammer! free hammer! g e t h a m m e r ! g e t m a l l e t ! free hammer! free mallet!
CIS 4930/6930: Principles of CPS 8 / 23
CIS 4930/6930: Principles of CPS 9 / 23
idle easy avge hard
work easy x ≤ 7 work hard work aver1 work aver2
jobEasy? jobAvge? jobHard? x := 0 x ≥ 5 get hammer! free hammer! get hammer! get mallet! f r e e h a m m e r ! f r e e m a l l e t ! Timing labeled similarly for other jobs.
CIS 4930/6930: Principles of CPS 10 / 23
idle easy U avge hard
work easy x ≤ 7 work hard work aver1 work aver2
jobEasy? jobAvge? jobHard? x := 0 x ≥ 5 get hammer! free hammer! get hammer! get mallet! free hammer! free mallet! Jobber starts the easy job immediately. Urgent locations in UPPAAL.
CIS 4930/6930: Principles of CPS 11 / 23
ch!
ch?
CIS 4930/6930: Principles of CPS 12 / 23
CIS 4930/6930: Principles of CPS 13 / 23
l0 l1
y ≤ 12
l2
y ≤ 5
l3
y ≤ 9
y := 0
y ≥ 10/
jobHard! y := 0
y ≥ 2/
jobEasy! y := 0
y ≥ 4/
jobAvge!
CIS 4930/6930: Principles of CPS 14 / 23
l0 l1
y ≤ 12
l2
y ≤ 5
l3
y ≤ 9
y := 0
y ≥ 10/
jobHard! y := 0
y ≥ 2/
jobEasy! y := 0
y ≥ 4/
jobAvge!
CIS 4930/6930: Principles of CPS 14 / 23
l0 l1
y ≤ 12
l2
y ≤ 5
l3
y ≤ 9
Bad y := 0
y ≥ 10/
jobHard! y := 0
y ≥ 2/
jobEasy! y := 0
y ≥ 4/
jobAvge! y > 12/ fail := true y > 5/ fail := true y > 9 / f a i l : = t r u e
CIS 4930/6930: Principles of CPS 15 / 23
l0 U l1
y ≤ 10
l2
y ≤ 12
l3
y ≤ 2
l4
y ≤ 5
l5
y ≤ 4
l6
y ≤ 9 y := 0 y = 10/
jobHard!
y := 0 y = 2/
jobEasy!
y := 0 y = 4/
jobAvge!
CIS 4930/6930: Principles of CPS 16 / 23
CIS 4930/6930: Principles of CPS 17 / 23
l0 z ≤ 6 z ≥ 5, jobDone?/ z := 0
CIS 4930/6930: Principles of CPS 18 / 23
l0 z ≤ 6 Bad z ≥ 5, jobDone?/ z := 0 z < 5, jobDone?/ fail := false
CIS 4930/6930: Principles of CPS 18 / 23
l0 z ≤ 6 Bad z ≥ 5, jobDone?/ z := 0 z < 5, jobDone?/ fail := false z > 6/z := 0
CIS 4930/6930: Principles of CPS 18 / 23
CIS 4930/6930: Principles of CPS 19 / 23
l0 l1 l2 l3 l4 l5 l6 l7 l8 l9
end jobHard! jobAvge! jobHard! jobHard! jobHard! jobEasy! jobEasy! jobAvge! jobAvge! jobAvge! jobAvge!
CIS 4930/6930: Principles of CPS 19 / 23
CIS 4930/6930: Principles of CPS 20 / 23
CIS 4930/6930: Principles of CPS 20 / 23
CIS 4930/6930: Principles of CPS 20 / 23
CIS 4930/6930: Principles of CPS 20 / 23
CIS 4930/6930: Principles of CPS 21 / 23
CIS 4930/6930: Principles of CPS 21 / 23
CIS 4930/6930: Principles of CPS 21 / 23
CIS 4930/6930: Principles of CPS 22 / 23
CIS 4930/6930: Principles of CPS 22 / 23
CIS 4930/6930: Principles of CPS 22 / 23
CIS 4930/6930: Principles of CPS 23 / 23
CIS 4930/6930: Principles of CPS 23 / 23