Anaïs GUIGNARD LURPA, ENS Cachan Validation of logic controllers from event observation in a closed-loop system Réunion VACSIM - 14 Octobre 2014.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

1 Verification by Model Checking. 2 Part 1 : Motivation.
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005.
Variations of the Turing Machine
Analysis of Computer Algorithms
Renate Ristov Fachgebiet Softwaretechnik Prof. Dr. Wilhelm Schäfer 17. Juli 2008 Synthesizing State Machines from Live Sequence Charts Software Quality.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
1 Formal Modeling & Verification of Messaging Framework of Simple Object Access Protocol (SOAP) Manzur Ashraf Faculty,BRAC University.
Source of slides: Introduction to Automata Theory, Languages and Computation.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Year 6 mental test 5 second questions
Making the System Operational
1 Data Link Protocols By Erik Reeber. 2 Goals Use SPIN to model-check successively more complex protocols Using the protocols in Tannenbaums 3 rd Edition.
ZMQS ZMQS
Universitá degli Studi di LAquila Mälardalens Högskola, Västerås 10th September 2009 Integrating Wireless Systems into Process Industry and Business Management.
Tintu David Joy. Agenda Motivation Better Verification Through Symmetry-basic idea Structural Symmetry and Multiprocessor Systems Mur ϕ verification system.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Pole Placement.
Testing of IEC Based Protection Systems
Chapter 14 Software Testing Techniques - Testing fundamentals - White-box testing - Black-box testing - Object-oriented testing methods (Source: Pressman,
Chapter 11: Models of Computation
Turing Machines.
Campus02.at don't stop thinking about tomorrow DI Anton Scheibelmasser Setubal ICINCO /25 Device integration into automation systems with.
Software testing.
Testing Workflow Purpose
ABC Technology Project
© S Haughton more than 3?
1 What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight.
April 30, A New Tool for Designer-Level Verification: From Concept to Reality April 30, 2014 Ziv Nevo IBM Haifa Research Lab.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
Squares and Square Root WALK. Solve each problem REVIEW:
Vasileios Germanos 1, Stefan Haar 2, Victor Khomenko 1, and Stefan Schwoon 2 1 School of Computing Science, Newcastle University, UK 2 INRIA & LSV (ENS.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software processes 2.
Lecture 8: Testing, Verification and Validation
Chapter 10 Software Testing
1 Chapter 4 The while loop and boolean operators Samuel Marateck ©2010.
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
CRT RSA Algorithm Protected Against Fault Attacks WISTP - 5/10/07 Arnaud BOSCHER Spansion EMEA Robert NACIRI Oberthur Card Systems Emmanuel PROUFF Oberthur.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
Chapter 13 – Introduction to Classes
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
How Cells Obtain Energy from Food
Chapter 30 Induction and Inductance In this chapter we will study the following topics: -Faraday’s law of induction -Lenz’s rule -Electric field induced.
From Model-based to Model-driven Design of User Interfaces.
Chapter 8 Improving the User Interface
Delta-Oriented Testing for Finite State Machines
1. We use models in an attempt to gain understanding and insights about some aspect of the real world. Attempts to model reality assume a priori the existence.
Presentation transcript:

Anaïs GUIGNARD LURPA, ENS Cachan Validation of logic controllers from event observation in a closed-loop system Réunion VACSIM - 14 Octobre 2014

Validation of logic controllers Réunion VACSIM - 14 Octobre 2014 Validation : Am I building the right product ? [Boehm,79] : Software engineering: R&D trends and defense needs, Research directions in software technology, 1979 Implemented controller 2 Motivation

Usual techniques Using a model of the controller: Model-checking Simulation Using an implemented controller: Conformance test Closed-loop validation Réunion VACSIM - 14 Octobre Motivation

Validation techniques with real controller Conformance test: Closed-loop validation: Réunion VACSIM - 14 Octobre 2014 Specification model Closed-loop system Closed-loop system model Comparizon 4 Motivation

Validation techniques with real controller Conformance test: Closed-loop validation: ProsCons Whole behavior tested according to a defined objective Adapted to safety properties Isolated from the controller Length of the test sequence ProsCons Controller coupled to the plant State of space to validate reduced Adapted to reachability properties Plant of simulated plant required No a priori knowledge of the reachable state of space Réunion VACSIM - 14 Octobre Motivation

Field of application Objective of this work: A new method for controllers validation based on closed-loop system observation Some assumptions: Specification model is complete and deterministic The controller is a black-box Only input and output variables of the controller can be observed Observation performed by copying inputs and outputs read and sent by the controller Réunion VACSIM - 14 Octobre Motivation

Observation inside the controller Controller Plant or a Observer + Analyzer Verdict OK or KO Réunion VACSIM - 14 Octobre Method overall

Closed-loop validation Réunion VACSIM - 14 Octobre 2014 Accepted languages 8 Method overall

Closed-loop system language Accepted languages Réunion VACSIM - 14 Octobre Method overall

End of observation criterion How to know when all the language has been observed ? One valid observed I/O ↔ a transition in the specification model Transitions fired in the specification model can be counted End of observation when no more new transitions occurs Inspired from [Klein, 05] : Identification of DES for fault detection purposes, PhD Thesis, 2005 Réunion VACSIM - 14 Octobre Number of transitions Observation step 10 Method overall

Closed-loop system model How to build the correct model of the closed-loop system ? Transitions fired in the specification model can be counted The closed-loop system model is included in the specification model in term of states and transitions Each fired transitions in the specification model is also a transition of the closed-loop model Number of transitions Observation step Réunion VACSIM - 14 Octobre Method overall

Detection of invalid controller A valid controller means: A controller that behaves as specified In other words: The I/O sequences observed from the controller coupled to its plant can be reproduced in the specification model An invalid behavior can then be detected: If an I/O value cannot be reproduced by the specification model If the observed I/O corresponds to a transition of the specification model, then it is a transition of the closed-loop system model Else, the controller is invalid Réunion VACSIM - 14 Octobre Method overall

Specification model Réunion VACSIM - 14 Octobre [e],[j],[k], [l],[m],[n], [o],[p] / [A] [j],[k],[l], [m],[n], [o],[p] / [A] [e],[f],[j],[k], [l],[m],[n], [o],[p] / [A] [a],[i] / [B] [i] / [B] [a],[i] / [B] [b],[c],[d],[f],[g],[h] / [C] [b],[c], [d],[g],[h] / [C] [a],[b],[c],[d],[e], [f],[g],[h] / [C] 5 Inputs 2 Outputs 13 Basic example

Construction of the closed-loop model Réunion VACSIM - 14 Octobre 2014 Number of transitions Observation step [e] / [A] [i] / [B] [a] / [B] [g] / [C] [a] / [C] [g] / [C] [e],[j],[k], [l],[m],[n], [o],[p] / [A] [j],[k],[l], [m],[n], [o],[p] / [A] [e],[f],[j],[k], [l],[m],[n], [o],[p] / [A] [a],[i] / [B] [i] / [B] [a],[i] / [B] [b],[c],[d],[f],[g],[h] / [C] [b],[c], [d],[g], [h] / [C] [a],[b],[c],[d],[e], [f],[g],[h] / [C] [c] / [C] 14 Basic example

Final closed-loop system model Réunion VACSIM - 14 Octobre Number of transitions Observation step [e],[j],[k], [l] / [A] [j],[k],[l] / [A] [e],[f],[j],[k], [l] / [A] [a],[i] / [B] [i] / [B] [a],[i] / [B] [b],[c],[d],[f],[g],[h] / [C] [b],[c], [d],[g],[h] / [C] [a],[b],[c],[d],[e], [f],[g],[h] / [C] 15 Basic example

Non valid behavior = not in the specification model Case of a non-valid implementation Réunion VACSIM - 14 Octobre [e],[j],[k], [l],[m],[n], [o],[p] / [A] [j],[k],[l], [m],[n], [o],[p] / [A] [e],[f],[j],[k], [l],[m],[n], [o],[p] / [A] [a],[i] / [B] [i] / [B] [a],[i] / [B] [b],[c],[d],[f],[g],[h] / [C] [b],[c], [d],[g],[h] / [C] [a],[b],[c],[d],[e], [f],[g],[h] / [C] 16 Basic example

Experimental platform Industrial type process 141 inputs-outputs. 4 stations Test Feeding Stock Transformation Réunion VACSIM - 14 Octobre Experimental application

Acquisition method Process: PLC stores a copy of its I/O values Cyclic retrieval of values by a Python code (Modbus communication protocol) Off-line (in our case) analysis of the stored sequence Plant + I/O remote modules Controller Computer Ethernet Réunion VACSIM - 14 Octobre Experimental application

Case of study Prehension system of 4 th station Chosen because of the lack of temporisations Rotation system Pliers Conveyor of 3 rd station Conveyor of 4 th station Réunion VACSIM - 14 Octobre Experimental application

Specification model Réunion VACSIM - 14 Octobre Experimental application

Results Number of transitions Observation step Réunion VACSIM - 14 Octobre Experimental application

Conclusion and perspectives A new method for controllers validation: Coupled with the plant Guaranteed for the whole observed behavior Produces a formal model of the closed-loop system Perspectives: Validation of temporal properties Resilience to synchronization and desynchronization phenomena Réunion VACSIM - 14 Octobre

Validation of logic controllers from event observation in a closed-loop system Réunion VACSIM - 14 Octobre 2014 Thank you for your attention Do you have any question ? 23