1 / 14

Verification of an industrial rule-based manufacturing system using REX

Verification of an industrial rule-based manufacturing system using REX. AnnMarie Ericsson University of Skövde, Sweden Mikael Berndtsson University of Skövde, Sweden Paul Pettersson University of Mälardalen, Sweden Lena Pettersson Volvo IT, Sweden. This talk is about….

becky
Télécharger la présentation

Verification of an industrial rule-based manufacturing system using REX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Verification of an industrial rule-based manufacturing system using REX AnnMarie Ericsson University of Skövde, Sweden Mikael Berndtsson University of Skövde, Sweden Paul Pettersson University of Mälardalen, Sweden Lena Pettersson Volvo IT, Sweden

  2. This talk is about… • Formal analysis of rule based applications • Case tools for formal analysis not tailored for analyzing complex events and rules. • Experiences from using our approach • Case study of industrial system • Algorithm for improving performance • Potentially reducing search-space for model-checker

  3. It helps you to prevent design errors from entering your system. Errors detected early are cheaper to correct. Why do I need formal analysis?? • Errors detected early are cheaper to correct. • Avoid introducing errors • Remove errors that are introduced as soon as possible • Complementary to current approaches • Testing can show the presents of fault, not the absence • Existing methods for generating test cases from formal specifications

  4. Why NOT Formal verification? • Expertise required to create specifications and perform analysis • Time consuming even for experts • Expertise needed to create property expressions for verification • Checking requirements usually requires knowledge of e.g. CTL or regular expressions • Hard for stakeholders to understand the specification • CASE tools for formal analysis exist • Not tailored for applications based on rules and events • Suffer from state space explosions

  5. Environment Event Specification Seamless Formal Analysis of CEP Applications UPPAAL (Timed automata model-checker) Requirement Properties

  6. The case-study object TUR • System for constructing assembly plans (Volvo IT) • Converting high-level plans to detailed production plans • Controls behavior of production plants • Behavior of TUR depend on • values in incoming telegrams • database tables • Assembly plans and constraints stored in database tables

  7. High-level plans to detailed production plans 50 type B4 delivered 20081103 75 type B5 delivered 20081104 … 50 items of type x delivered 20081103 75 items of type x delivered 20081104 100 items of type y delivered 20081104 125 items of type z delivered 20081103 … 50 items of type x delivered 20081103 75 items of type x delivered 20081104 … 100 items of type y delivered 20081104 125 items of type z delivered 20081103

  8. Developed rules

  9. Performance • 34 identified verification properties to check, e.g. • is it possible for rule R1 to execute before rule R2? • will rule R4 always execute? • Behavior of TUR depends on values in database tables • Impossible to check behavior for all permutations • 20 scenarios were identified based on expected behavior • Each scenario verified for each property in < 1 sec

  10. Preprocessing algorithm • Not all rules and events affect the result of executing a verification expression • Remove rules that will not affect outcome Rules: {R1,R2,R3,R4,R5,R6} P= R2 always executes before R1 {R2,R1} {R2,R1,R3} Smaller rule-set => Reduced search space

  11. Iterative Verification • Perform verification iteratively during development • Several errors detected immediately after introduction of a new rule • Correct a recently introduced rule is easy. • Hard to correct errors that are found late • Correct a rule depending on other rule and affecting the behavior of other rules are hard • Changing one rule may have undesirable unexpected consequences

  12. Simulation • Simulator in REX retrieves step by step information from Uppaal • Simulation of not yet executable rules • Step by step choices by user • Traces loaded from verification results • Good for understanding results from verification • Hard to grasp behavior of the entire rule set

  13. Conclusion • Verifying iteratively • helps coping with complexity of interacting rules • Using scenarios • increases ability to verify non-deterministic systems. • Trade off between performance and complete search • Preprocessing rules • potentially reduces search space • Using Simulator • Loading results of verification traces enables graphical view of the results

  14. Thank you!

More Related