Trace-Checking CPS Properties: 

Bridging the Cyber-Physical Gap
Claudio Menghi
University of Luxembourg
Enrico Viganò
University of Luxembourg
Domenico Bianculli
University of Luxembourg
Lionel C. Briand
University of Luxembourg,
University of Ottawa 

Trace-Checking CPS Properties: 

Bridging the Cyber-Physical Gap
Claudio Menghi
University of Luxembourg
Enrico Viganò
University of Luxembourg
Domenico Bianculli
University of Luxembourg
Lionel C. Briand
University of Luxembourg,
University of Ottawa 

!3 Introduction
LuxSpace: a space systems integrator based in Luxembourg
Preamble
ESAIL: a satellite that collects tracking information from vessels
!4 Introduction
Objective
Support engineers
in verifying and validating CPS
!5 Introduction
Requirements
Whenever the satellite mode switches
from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary value c lower
than or equal to 1.5°/s.
!6 Introduction
Traces
A fragment of an execution trace of our case study
!7 Introduction
Trace Checking
Whenever the satellite mode switches
from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary
value c lower than or equal to 1.5 °/s.
!8 Introduction
Trace Checking
Goal: automate the
trace checking activity
Whenever the satellite mode switches
from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary
value c lower than or equal to 1.5 °/s.
!9 Introduction
Goals
Goal 1: Support a language that can express complex CPS requirements
Requirements that involve software and physical components
Goal 2: Applicable on industrial execution traces
Provides results within practical time limits
!10 Introduction
Contributions
Hybrid Logic of Signals (HLS)
ThEodorE
Goal 1: Support a language that can express complex CPS requirements
Requirements that involve software and physical components
Goal 2: Applicable on industrial execution traces
Provides results within practical time limits
Hybrid Logic of
Signals
11
!12 Hybrid Logic of Signals
Requirements
Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
!13 Hybrid Logic of Signals
Requirements Indices - Software behaviour
Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
!14 Hybrid Logic of Signals
Requirements
Timestamps - Physical behaviour
10s
Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
Indices - Software behaviour
Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”,
the angular rate shall reach a value lower than 1.5°/s within 10s.
Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
!15 Hybrid Logic of Signals
Requirements
Real-valued variables
Requirements
Timestamps - Physical behaviour
stabilizes
around
c
Indices - Software behaviour
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!16 Hybrid Logic of Signals
Expressing CPS requirements
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!17 Hybrid Logic of Signals
Expressing CPS requirements HLS allows using existential and universal
quantifiers with
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!18 Hybrid Logic of Signals
Expressing CPS requirements HLS allows using existential and universal
quantifiers with
• timestamp variables
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!19 Hybrid Logic of Signals
Expressing CPS requirements HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!20 Hybrid Logic of Signals
Expressing CPS requirements HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
!21 Hybrid Logic of Signals
Expressing CPS requirements HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
HLS supports specifications that use
!22 Hybrid Logic of Signals
Expressing CPS requirements
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
HLS supports specifications that use
• a signal at a certain timestamp
!23 Hybrid Logic of Signals
Expressing CPS requirements
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
HLS supports specifications that use
• a signal at a certain timestamp
• a signal at a certain index
!24 Hybrid Logic of Signals
Expressing CPS requirements
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
HLS supports specifications that use
• a signal at a certain timestamp
• a signal at a certain index
• the timestamp of an index (and vice versa)
HLS allows using existential and universal
quantifiers with
• timestamp variables
• index variables
• real-valued variables
HLS supports specifications that use
• a signal at a certain timestamp
• a signal at a certain index
• the timestamp of an index (and vice versa)
• expressions combining timestamps,
indices, and real-valued variables
!25 Hybrid Logic of Signals
exists 𝜌 such that (𝜌<1.5 and
forall σ0 in [0;5] such that
((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3)
implies
exists τ0 in [0s;10s] such that
(ang-rate @t (τ0 + i2t(σ0 )) < 𝜌)))
Expressing CPS requirements
Section title
Text
Title in Arial Bold 24 pt
Optional: subtitle in Arial 14
!26
ThEodorE
!27 ThEodorE
Logic-based TracE checkEr for HLS
ThEodorE:
• Reduces trace-checking problem to a SMT problem
• Allows the use of efficient off-the-shelf SMT solvers
!28 ThEodorE
Logic-based TracE checkEr for HLS
!29
Optional: subtitle in Arial 14
Evaluation
!30 Evaluation
• RQ1 (Expressiveness): To which extent can Hybrid Logic of Signals
express requirements from industrial CPS applications?
• RQ2 (Applicability): Can ThEodorE verify CPS requirements on industrial
execution traces? 

Research questions
!31 Evaluation
RQ1 (Expressiveness)
• We considered 212 industrial requirements from ESAIL
• We compared the expressiveness of the Hybrid Logic of Signals (HLS) with
SB-TempPsy-DSL and STL
!32 Evaluation
RQ1 (Expressiveness)
The answer to RQ1 is that
HLS could express all the requirements of our case study,
many more than SB-TemPsy-DSL (+31%) and STL (+51%).
!33 Evaluation
RQ2 (Applicability)
• We considered 747 trace-requirement combinations
• We compared the applicability of ThEodorE with SB-Tempsy-Check and
Breach
!34 Evaluation
RQ2 (Applicability)
The answer to RQ2 is that
ThEodorE computed a verdict for 74.5% trace-requirement combinations.
ThEodorE produced a verdict for 67.9% of the 337 trace-requirement
combinations that could not be checked by the other tools.
!35
Optional: subtitle in Arial 14
Conclusions
!36 Conclusions
Conclusions
• The goal of this work is to support engineers in verifying and validating CPS
• We proposed
• Hybrid Logic of Signals: a language to express complex industrial CPS
requirements
• ThEodorE: an efficient trace-checking tool that can analyse
requirements expressed using the Hybrid Logic of Signals
!37 Conclusions
Conclusions
• HLS was able to express all the CPS requirements
• HLS supported a much wider set of properties than other languages
• ThEodorE checked most of the requirements within practical time limits
Trace-Checking CPS Properties: 

Bridging the Cyber-Physical Gap
Claudio Menghi
University of Luxembourg
claudio.menghi@uni.lu
Enrico Viganò
University of Luxembourg
enrico.vigano@uni.lu
Domenico Bianculli
University of Luxembourg
domenico.bianculli@uni.lu
Lionel C. Briand
University of Luxembourg,
University of Ottawa
lionel.briand@uni.lu 


More Related Content

PDF
A Model-Driven Approach to Trace Checking of Pattern-based Temporal Properties
PDF
Generating Automated and Online Test Oracles for Simulink Models with Continu...
PDF
Requirements in Cyber-Physical Systems: Specifications and Applications
PPT
01 Transition Fault Detection methods by Swetha
PDF
Transition fault detection
PDF
ATPG Methods and Algorithms
PDF
7-DIG_FINAL_paper
PDF
Fault simulation – application and methods
A Model-Driven Approach to Trace Checking of Pattern-based Temporal Properties
Generating Automated and Online Test Oracles for Simulink Models with Continu...
Requirements in Cyber-Physical Systems: Specifications and Applications
01 Transition Fault Detection methods by Swetha
Transition fault detection
ATPG Methods and Algorithms
7-DIG_FINAL_paper
Fault simulation – application and methods

What's hot (20)

PDF
Design for Testability
PPT
Stephan berg track f
PPT
Inside LoLA - Experiences from building a state space tool for place transiti...
PPTX
Design for testability and automatic test pattern generation
PPSX
VLSI Testing Techniques
PDF
Faults in Digital VLSI Circuits
PPTX
01 Silicon Diagnosis survey by Swetha
PPT
ATE Testers Overview
PPTX
Symbolic Execution And KLEE
PPTX
A petri-net
PPTX
Strel streaming
PPT
Level sensitive scan design(LSSD) and Boundry scan(BS)
PPTX
Test pattern Generation for 4:1 MUX
PDF
TMPA-2017: Evolutionary Algorithms in Test Generation for digital systems
PDF
Symbolic Reasoning and Concrete Execution - Andrii Vozniuk
PPT
Chapter 6
PPTX
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
PPT
Pactron Ate Introduction
PDF
Pcr array data analysis 2013
Design for Testability
Stephan berg track f
Inside LoLA - Experiences from building a state space tool for place transiti...
Design for testability and automatic test pattern generation
VLSI Testing Techniques
Faults in Digital VLSI Circuits
01 Silicon Diagnosis survey by Swetha
ATE Testers Overview
Symbolic Execution And KLEE
A petri-net
Strel streaming
Level sensitive scan design(LSSD) and Boundry scan(BS)
Test pattern Generation for 4:1 MUX
TMPA-2017: Evolutionary Algorithms in Test Generation for digital systems
Symbolic Reasoning and Concrete Execution - Andrii Vozniuk
Chapter 6
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
Pactron Ate Introduction
Pcr array data analysis 2013
Ad

Similar to Trace-Checking CPS Properties: Bridging the Cyber-Physical Gap (20)

PPTX
Design, analysis and controlling of an offshore load transfer system Dimuthu ...
PPT
Event driven simulator
PDF
International Journal of Computational Engineering Research(IJCER)
PDF
Optimization Techniques
PDF
Cse iii-logic design [10 cs33]-notes
PDF
Synthese
PDF
Instruction types
PDF
Specifying and Implementing SNOW3G with Cryptol
PDF
Dynamic time warping and PIC 16F676 for control of devices
PPTX
MANET Routing Protocols , a case study
PDF
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
PPT
Robotics - introduction to Robotics
PDF
Discrete time control systems
PDF
Discrete time control systems
PPTX
NR_Frame_Structure_and_Air_Interface_Resources.pptx
DOCX
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
PDF
Pipeline stalling in vhdl
PPTX
xohhactsexhmcmxr0vgn-nr-frame-structure-and-air-interface-resources-221122182...
PPTX
xohhactsexhmcmxr0vgn-nr-frame-structure-and-air-interface-resources-221122182...
PDF
ClockSystem: Embedding Time in Smalltalk
Design, analysis and controlling of an offshore load transfer system Dimuthu ...
Event driven simulator
International Journal of Computational Engineering Research(IJCER)
Optimization Techniques
Cse iii-logic design [10 cs33]-notes
Synthese
Instruction types
Specifying and Implementing SNOW3G with Cryptol
Dynamic time warping and PIC 16F676 for control of devices
MANET Routing Protocols , a case study
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Robotics - introduction to Robotics
Discrete time control systems
Discrete time control systems
NR_Frame_Structure_and_Air_Interface_Resources.pptx
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
Pipeline stalling in vhdl
xohhactsexhmcmxr0vgn-nr-frame-structure-and-air-interface-resources-221122182...
xohhactsexhmcmxr0vgn-nr-frame-structure-and-air-interface-resources-221122182...
ClockSystem: Embedding Time in Smalltalk
Ad

More from Lionel Briand (20)

PDF
LTM: Scalable and Black-box Similarity-based Test Suite Minimization based on...
PDF
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
PDF
Automated Test Case Repair Using Language Models
PDF
Automated Testing and Safety Analysis of Deep Neural Networks
PDF
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
PDF
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
PDF
Precise and Complete Requirements? An Elusive Goal
PDF
Large Language Models for Test Case Evolution and Repair
PDF
Metamorphic Testing for Web System Security
PDF
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
PDF
Fuzzing for CPS Mutation Testing
PDF
Data-driven Mutation Analysis for Cyber-Physical Systems
PDF
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
PDF
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
PDF
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
PDF
PRINS: Scalable Model Inference for Component-based System Logs
PDF
Revisiting the Notion of Diversity in Software Testing
PDF
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
PDF
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
PDF
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
LTM: Scalable and Black-box Similarity-based Test Suite Minimization based on...
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
Automated Test Case Repair Using Language Models
Automated Testing and Safety Analysis of Deep Neural Networks
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Precise and Complete Requirements? An Elusive Goal
Large Language Models for Test Case Evolution and Repair
Metamorphic Testing for Web System Security
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Fuzzing for CPS Mutation Testing
Data-driven Mutation Analysis for Cyber-Physical Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
PRINS: Scalable Model Inference for Component-based System Logs
Revisiting the Notion of Diversity in Software Testing
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...

Recently uploaded (20)

PDF
AI Guide for Business Growth - Arna Softech
PPTX
Human-Computer Interaction for Lecture 2
PPTX
ROI Analysis for Newspaper Industry with Odoo ERP
PPTX
Lecture 5 Software Requirement Engineering
PPTX
Matchmaking for JVMs: How to Pick the Perfect GC Partner
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
Computer Software - Technology and Livelihood Education
PPTX
Viber For Windows 25.7.1 Crack + Serial Keygen
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
Microsoft Office 365 Crack Download Free
PPTX
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
PPTX
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
PPTX
ROI from Efficient Content & Campaign Management in the Digital Media Industry
PDF
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PDF
CapCut PRO for PC Crack New Download (Fully Activated 2025)
PPTX
R-Studio Crack Free Download 2025 Latest
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PPTX
MLforCyber_MLDataSetsandFeatures_Presentation.pptx
PDF
Guide to Food Delivery App Development.pdf
PPTX
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
AI Guide for Business Growth - Arna Softech
Human-Computer Interaction for Lecture 2
ROI Analysis for Newspaper Industry with Odoo ERP
Lecture 5 Software Requirement Engineering
Matchmaking for JVMs: How to Pick the Perfect GC Partner
CCleaner 6.39.11548 Crack 2025 License Key
Computer Software - Technology and Livelihood Education
Viber For Windows 25.7.1 Crack + Serial Keygen
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
Microsoft Office 365 Crack Download Free
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
ROI from Efficient Content & Campaign Management in the Digital Media Industry
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
CapCut PRO for PC Crack New Download (Fully Activated 2025)
R-Studio Crack Free Download 2025 Latest
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
MLforCyber_MLDataSetsandFeatures_Presentation.pptx
Guide to Food Delivery App Development.pdf
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...

Trace-Checking CPS Properties: Bridging the Cyber-Physical Gap

  • 1. Trace-Checking CPS Properties: 
 Bridging the Cyber-Physical Gap Claudio Menghi University of Luxembourg Enrico Viganò University of Luxembourg Domenico Bianculli University of Luxembourg Lionel C. Briand University of Luxembourg, University of Ottawa 

  • 2. Trace-Checking CPS Properties: 
 Bridging the Cyber-Physical Gap Claudio Menghi University of Luxembourg Enrico Viganò University of Luxembourg Domenico Bianculli University of Luxembourg Lionel C. Briand University of Luxembourg, University of Ottawa 

  • 3. !3 Introduction LuxSpace: a space systems integrator based in Luxembourg Preamble ESAIL: a satellite that collects tracking information from vessels
  • 4. !4 Introduction Objective Support engineers in verifying and validating CPS
  • 5. !5 Introduction Requirements Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
  • 6. !6 Introduction Traces A fragment of an execution trace of our case study
  • 7. !7 Introduction Trace Checking Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5 °/s.
  • 8. !8 Introduction Trace Checking Goal: automate the trace checking activity Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5 °/s.
  • 9. !9 Introduction Goals Goal 1: Support a language that can express complex CPS requirements Requirements that involve software and physical components Goal 2: Applicable on industrial execution traces Provides results within practical time limits
  • 10. !10 Introduction Contributions Hybrid Logic of Signals (HLS) ThEodorE Goal 1: Support a language that can express complex CPS requirements Requirements that involve software and physical components Goal 2: Applicable on industrial execution traces Provides results within practical time limits
  • 12. !12 Hybrid Logic of Signals Requirements Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
  • 13. !13 Hybrid Logic of Signals Requirements Indices - Software behaviour Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s.
  • 14. !14 Hybrid Logic of Signals Requirements Timestamps - Physical behaviour 10s Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s. Indices - Software behaviour
  • 15. Whenever the satellite mode switches from “Idle Mode” to “Normal Mode”, the angular rate shall reach a value lower than 1.5°/s within 10s. Moreover, the angular rate shall stabilize around an arbitrary value c lower than or equal to 1.5°/s. !15 Hybrid Logic of Signals Requirements Real-valued variables Requirements Timestamps - Physical behaviour stabilizes around c Indices - Software behaviour
  • 16. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !16 Hybrid Logic of Signals Expressing CPS requirements
  • 17. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !17 Hybrid Logic of Signals Expressing CPS requirements HLS allows using existential and universal quantifiers with
  • 18. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !18 Hybrid Logic of Signals Expressing CPS requirements HLS allows using existential and universal quantifiers with • timestamp variables
  • 19. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !19 Hybrid Logic of Signals Expressing CPS requirements HLS allows using existential and universal quantifiers with • timestamp variables • index variables
  • 20. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !20 Hybrid Logic of Signals Expressing CPS requirements HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables
  • 21. exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) !21 Hybrid Logic of Signals Expressing CPS requirements HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables HLS supports specifications that use
  • 22. !22 Hybrid Logic of Signals Expressing CPS requirements exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables HLS supports specifications that use • a signal at a certain timestamp
  • 23. !23 Hybrid Logic of Signals Expressing CPS requirements exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables HLS supports specifications that use • a signal at a certain timestamp • a signal at a certain index
  • 24. !24 Hybrid Logic of Signals Expressing CPS requirements exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables HLS supports specifications that use • a signal at a certain timestamp • a signal at a certain index • the timestamp of an index (and vice versa)
  • 25. HLS allows using existential and universal quantifiers with • timestamp variables • index variables • real-valued variables HLS supports specifications that use • a signal at a certain timestamp • a signal at a certain index • the timestamp of an index (and vice versa) • expressions combining timestamps, indices, and real-valued variables !25 Hybrid Logic of Signals exists 𝜌 such that (𝜌<1.5 and forall σ0 in [0;5] such that ((mode @i σ0 ) = 0 and (mode @i (σ0 + 1)) = 3) implies exists τ0 in [0s;10s] such that (ang-rate @t (τ0 + i2t(σ0 )) < 𝜌))) Expressing CPS requirements
  • 26. Section title Text Title in Arial Bold 24 pt Optional: subtitle in Arial 14 !26 ThEodorE
  • 27. !27 ThEodorE Logic-based TracE checkEr for HLS ThEodorE: • Reduces trace-checking problem to a SMT problem • Allows the use of efficient off-the-shelf SMT solvers
  • 29. !29 Optional: subtitle in Arial 14 Evaluation
  • 30. !30 Evaluation • RQ1 (Expressiveness): To which extent can Hybrid Logic of Signals express requirements from industrial CPS applications? • RQ2 (Applicability): Can ThEodorE verify CPS requirements on industrial execution traces? 
 Research questions
  • 31. !31 Evaluation RQ1 (Expressiveness) • We considered 212 industrial requirements from ESAIL • We compared the expressiveness of the Hybrid Logic of Signals (HLS) with SB-TempPsy-DSL and STL
  • 32. !32 Evaluation RQ1 (Expressiveness) The answer to RQ1 is that HLS could express all the requirements of our case study, many more than SB-TemPsy-DSL (+31%) and STL (+51%).
  • 33. !33 Evaluation RQ2 (Applicability) • We considered 747 trace-requirement combinations • We compared the applicability of ThEodorE with SB-Tempsy-Check and Breach
  • 34. !34 Evaluation RQ2 (Applicability) The answer to RQ2 is that ThEodorE computed a verdict for 74.5% trace-requirement combinations. ThEodorE produced a verdict for 67.9% of the 337 trace-requirement combinations that could not be checked by the other tools.
  • 35. !35 Optional: subtitle in Arial 14 Conclusions
  • 36. !36 Conclusions Conclusions • The goal of this work is to support engineers in verifying and validating CPS • We proposed • Hybrid Logic of Signals: a language to express complex industrial CPS requirements • ThEodorE: an efficient trace-checking tool that can analyse requirements expressed using the Hybrid Logic of Signals
  • 37. !37 Conclusions Conclusions • HLS was able to express all the CPS requirements • HLS supported a much wider set of properties than other languages • ThEodorE checked most of the requirements within practical time limits
  • 38. Trace-Checking CPS Properties: 
 Bridging the Cyber-Physical Gap Claudio Menghi University of Luxembourg [email protected] Enrico Viganò University of Luxembourg [email protected] Domenico Bianculli University of Luxembourg [email protected] Lionel C. Briand University of Luxembourg, University of Ottawa [email protected]