Model Checking based Analysis of Endtoend Latency in Embedded, Realtime Systems with Clock Drifts - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

Model Checking based Analysis of Endtoend Latency in Embedded, Realtime Systems with Clock Drifts

Description:

Model Checking based Analysis of End-to-end Latency in. Embedded, Real-time Systems ... Tata Institute of Fundamental Research, Mumbai, India. Shengbing Jiang ... – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 14
Provided by: carl298
Category:

less

Transcript and Presenter's Notes

Title: Model Checking based Analysis of Endtoend Latency in Embedded, Realtime Systems with Clock Drifts


1
Model Checking based Analysis of End-to-end
Latency inEmbedded, Real-time Systems with Clock
Drifts
  • Swarup Mohalik, A. C. Rajeev, Manoj G. Dixit, S.
    Ramesh
  • General Motors RD - India Science Lab,
    Bangalore, India
  • P. Vijay Suman, Paritosh K. Pandya
  • Tata Institute of Fundamental Research, Mumbai,
    India
  • Shengbing Jiang
  • General Motors RD, Warren, MI, USA
  • June 7, 2008

2
Safety Requirement
Acc. Pedal, brake pedal, steering wheel, ..
Vehicle Path Estimation
braking
throttle
Yaw rate, Lat accel, Veh speed, Act gear, ..
ACC Controller
HMI output
Object detection
Haptic seat
Radar / Lidar
yyy
Forward Lane Detection
Enable/Disable Interface
bbb
aaa
Actuators
Sensors
End-to-End Latency lt 100 ms
3
End-to-End Latency
m2
m1
m3
60
30
Time
0
60
40
20
0
5
5
5
5
5
5
50
40
30
20
0
10
35
25
4
Buffer Semantics
  • FIFO, Overwrite/Non-overwrite

Overflow
Non-overwrite
Buffer size 1
Overwrite
Overwrite
5
Execution and Transmission Jitter
  • Affects buffer overflow and end-to-end latency

Jitter
Buffer size 1
Overflow
6
Clock Drifts
  • Clocks drift (about ?30ppm)
  • Affect end-to-end latency appreciably

10
10
10
10
ECU 1
50
40
30
60
70
20
10
0
ECU 2 Nominal Clock
10
10
10
35
0
55
15
25
ECU 2 Drifting Clock (Assuming a constant drift
of 0.8)
8
8
8
8
44
28
60
12
0
32
Clock drift of ECU2 changes the pick-up time for
messages
7
End-to-end Latency Computation
  • Traditional methods for end-to-end latency
    computation
  • End-to-end latency WCRT1 ?i2..n
    (PeriodiWCRTi)
  • Can disallow several feasible schedules for tasks
  • Proposed method for end-to-end latency
    computation
  • Based on formal methods
  • Exact computation and hence can be used to
    evaluate more number of feasible schedules

8
Specifying End-to-end Latency
...
WL max latk(n) k gt 0 (1)
9
Analyzing End-to-end Latency
  • Equation (1) can be used to compute the
    worst-case
  • But it will be limited to finite (even though
    large) analysis time
  • Detecting buffer overflow in the presence of
    jitters and clock drifts is not done
  • Analysis over ALL messages is possible by model
    checking techniques
  • Infinite state space can be represented
    symbolically
  • Formal Modeling
  • Model the problem instance using Timed Automata
  • Deadline violation is posed as reachability
    analysis onTimed Automata
  • Reachability analysis is done using UPPAAL tool

10
Timed Automata for End-to-end Latency Analysis
FIFO
Jitter
Drift
Deadline Violation
Buffer Overflow
11
Case Study
Tasks T1 to T8 form a task chain in the
architecture
12
Results on Case Study
13
Summary
  • End-to-end latency is an important system
    parameter, and is derived from safety
    requirements
  • End-to-end latency is affected by implementation
    aspects such as
  • Buffer semantics
  • Jitter
  • Clock drift
  • Formal methods based approaches can model
    implementation detailsand carry out
    accurateend-to-end analysis
Write a Comment
User Comments (0)
About PowerShow.com