MIXED-TIME SIGNAL TEMPORAL LOGIC
FORMATS 2019
Thomas Ferrère – IST Austria Oded Maler – VERIMAG Dejan Nickovic – AIT Austrian Institute of Technology
MIXED-TIME SIGNAL TEMPORAL LOGIC FORMATS 2019 Thomas Ferrre IST - - PowerPoint PPT Presentation
MIXED-TIME SIGNAL TEMPORAL LOGIC FORMATS 2019 Thomas Ferrre IST Austria Oded Maler VERIMAG Dejan Nickovic AIT Austrian Institute of Technology INTRODUCTION Cyber-Physical Systems (CPS) Heterogeneous components Informal
Thomas Ferrère – IST Austria Oded Maler – VERIMAG Dejan Nickovic – AIT Austrian Institute of Technology
2 Informal Requirement STL Specification
SUT p1 Parameters p2 Input Stimuli Monitor Verdict
3 05/09/2019
level properties with different time domains?
computation
absolute value of 𝑦 must become lower than 1 within 600 time units and remain continuously within that range for at least 300 time units
4 05/09/2019
between layers
layer
layer
5 05/09/2019
𝜒 ≔ 𝑞 ¬𝜒 𝜒1 ∨ 𝜒2 𝑌 𝜒 𝑄 𝜒 𝜒1𝑉𝜒2 𝜒1𝑇𝜒2 | @𝑑𝑒(𝛽) 𝛽 ≔ 𝑦 ≼ 𝑑 ¬𝑏 𝛽1 ∨ 𝛽2 𝛽1𝑉𝐽𝛽2 𝛽1𝑇𝐽𝛽2 | @𝑒𝑑(𝜒)
standard way
Time mapping operators
6 05/09/2019
𝑞 𝑧 𝑞 𝑧
absolute value of 𝑦 must become lower than 1 within 600 time units and remain continuously within that range for at least 300 time units
𝐻( 𝑄¬𝑑𝑛𝑒 ∧ 𝑑𝑛𝑒 → @𝑑𝑒 𝐺 0,600 𝐻 0,300 𝑦 ≤ 1 )
7 05/09/2019
8 05/09/2019
9 05/09/2019
@𝑑𝑒(𝑧) 𝑧 @𝑒𝑑@𝑑𝑒(𝑧) 𝑞 @𝑑𝑒@𝑒𝑑(𝑞) @𝑑𝑒 (𝑞)
10 05/09/2019
continuous time signal
mapped to STL
11 05/09/2019
STL-MX to STL mapping
= ¬𝑑𝑚𝑙 𝑇(𝑑𝑚𝑙 ∧ 𝜏 𝛽 )
12 05/09/2019
LTL Monitor Time mapping operator STL Monitor ¬ 𝑄 ∧ → | ⋅ | < 1 𝐻[0,300] 𝐺
[0,600]
@𝑑𝑒 Monitor for the bounded stabilization property
Monitor for @𝒅𝒆
with 𝑣
𝑘
𝑘
𝑘)
13 05/09/2019
Monitor for @𝒆𝒅
𝑢 𝑣Δ 𝑢′ 𝑒𝑢′
0, 𝑝𝑢ℎ𝑓𝑠𝑥𝑗𝑡𝑓
𝑢 𝑈 − 1 = 0 ∧ 𝑞𝑝𝑣𝑢 𝑢 𝑈
= 1 𝑤0, 𝑝𝑢ℎ𝑓𝑠𝑥𝑗𝑡𝑓
14 05/09/2019
Property 1
has to return to a value below the threshold at the next clock tick
𝐻( 𝑄¬𝑞𝑝𝑣𝑢 ∧ 𝑞𝑝𝑣𝑢 → 𝑌@𝑑𝑒(𝑣Σ < 𝑤0)
15 05/09/2019
Property 2
for 12.8𝜈𝑡 the output must have a sequence of two consecutive spikes starting over that time frame
𝐻(𝐻 0,12.8 𝑣𝑗𝑜 > 1.05 → 𝐺 0,12.8 @𝑒𝑑 ¬𝑞𝑝𝑣𝑢 ∧ 𝑌𝑞𝑝𝑣𝑢 ∧ 𝑌2¬𝑞𝑝𝑣𝑢 ∧ 𝑌3𝑞𝑝𝑣𝑢 )
16 05/09/2019
𝒗𝒋𝒐 𝒖 = 𝟏. 𝟕 𝒅𝒑𝒕 𝟐𝟏𝟏𝟏 ⋅ 𝟑𝝆 ⋅ 𝒖 + 𝟏. 𝟕 𝒗𝒋𝒐 𝒖 = 𝟏. 𝟖 𝒅𝒑𝒕 𝟐𝟏𝟏𝟏 ⋅ 𝟑𝝆 ⋅ 𝒖 + 𝟏. 𝟖
𝝌𝟐 satisfied 𝝌𝟐 violated
17 05/09/2019
Property Sim # 𝒗𝚻 𝒗𝒋𝒐 𝒒𝒑𝒗𝒖 time(𝒏𝒕) 𝜒1 1 20,470 727 143 𝜒1 2 2,771 58 104 𝜒2 3 26,207 971 45 𝜒2 4 27,926 971 50 𝜒2 5 29,495 971 51 𝜒2 6 31,298 1,212 58 𝜒2 7 32,133 1,212 59 𝜒2 8 33,005 1,212 61
𝐻(𝐻 0,12.8 𝑣𝑗𝑜 > 1.05 → 𝐺 0,12.8 @𝑒𝑑 ¬𝑞𝑝𝑣𝑢 ∧ 𝑌𝑞𝑝𝑣𝑢 ∧ 𝑌2¬𝑞𝑝𝑣𝑢 ∧ 𝑌3𝑞𝑝𝑣𝑢 )
𝐻(𝐻 0,12.8 𝑣𝑗𝑜 > 1.05 → 𝐺 0,12.8 ¬𝑞𝑝𝑣𝑢 ∧ ¬𝑑𝑚𝑙𝑉(𝑑𝑚𝑙 ∧ 𝑞𝑝𝑣𝑢) ∧ ¬𝑑𝑚𝑙𝑉𝑑𝑚𝑙 ∧ (¬𝑑𝑚𝑙𝑉 𝑑𝑚𝑙 ∧ ¬𝑞𝑝𝑣𝑢 ) ∧ ¬𝑑𝑚𝑙𝑉𝑑𝑚𝑙 ∧ (¬𝑑𝑚𝑙𝑉 𝑑𝑚𝑙 ∧ ¬𝑑𝑚𝑙𝑉 𝑑𝑚𝑙 ∧ 𝑞𝑝𝑣𝑢 ) )
18 05/09/2019
around it
19 05/09/2019
20 05/09/2019