Extending the smart-card personalisation system by the graphical treatment Angelika Mader University of Twente.

Slides:



Advertisements
Similar presentations
A R EVISIT TO THE P RIMAL -D UAL B ASED C LOCK S KEW S CHEDULING A LGORITHM Min Ni and Seda Ogrenci Memik EECS Department, Northwestern University.
Advertisements

Tomas Krilavičius & Yaroslav Usenko Smart Card Personalisation Machine in UPPAAL Cybernetix case study for AMETIST project.
Axxom: What happened so far. Basic case study  lacquer production scheduling  3 recipes for lacquers,  specifying processing steps,  resources used.
ECE 667 Synthesis and Verification of Digital Circuits
VSMC MIMO: A Spectral Efficient Scheme for Cooperative Relay in Cognitive Radio Networks 1.
1 ITCS 3181 Logic and Computer Systems B. Wilkinson Slides9.ppt Modification date: March 30, 2015 Processor Design.
Solutions for Scheduling Assays. Why do we use laboratory automation? Improve quality control (QC) Free resources Reduce sa fety risks Automatic data.
Digital Logic Design Lecture # 17 University of Tehran.
ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.
On Cyclic Plans for Scheduling of a Smart Card Personalisation System Tim Nieberg Universiteit Twente, EWI/TW DWMP-Group.
Sequential Timing Optimization. Long path timing constraints Data must not reach destination FF too late s i + d(i,j) + T setup  s j + P s i s j d(i,j)
Problem Solving for Programming Session 5 Problems involving arithmetic.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
© Katz, 2003 Formal Specifications of Complex Systems-- Real-time 1 Adding Real-time to Formal Specifications Formal Specifications of Complex Systems.
1 Introducing Collaboration to Single User Applications A Survey and Analysis of Recent Work by Brian Cornell For Collaborative Systems Fall 2006.
Faculty of Computer Science © 2006 CMPUT 229 Representing Information Numbers, Numbers, and Numbers.
Solving the Protein Threading Problem in Parallel Nocola Yanev, Rumen Andonov Indrajit Bhattacharya CMSC 838T Presentation.
© Katz, 2007 Formal Specifications of Complex Systems-- Real-time 1 Adding Real-time to Formal Specifications Formal Specifications of Complex Systems.
Josef Widder1 Why, Where and How to Use the  - Model Josef Widder Embedded Computing Systems Group INRIA Rocquencourt, March 10,
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
Algebra Problems… Solutions
Chapter 3: Equations and Inequations This chapter begins on page 126.
Efficient Lists Intersection by CPU-GPU Cooperative Computing Di Wu, Fan Zhang, Naiyong Ao, Gang Wang, Xiaoguang Liu, Jing Liu Nankai-Baidu Joint Lab,
KESEIMBANGAN LINI PRODUKSI (PRODUCTION LINE BALANCING) (Bagian 1)
4.4 Solving Exponential and Logarithmic Equations.
41: Trig Equations © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
Exact methods for ALB ALB problem can be considered as a shortest path problem The complete graph need not be developed since one can stop as soon as in.
1 – Commercial Technologies for Maintenance Activities Heat Treat Lean Cell Optimizing Maintenance Processes Tony Haynes – Program Manager.
Copyright © Cengage Learning. All rights reserved. Analytic Trigonometry.
Page 1 Analysis of Asynchronous Systems Steven P. Miller Michael W. Whalen {spmiller, Advanced Computing Systems Rockwell.
Lecture 3: Uninformed Search
41: Trig Equations © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
Computer Architecture Lecture 3 Combinational Circuits Ralph Grishman September 2015 NYU.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
4.1.1 – Solving Inequalities. All equations we have solved are considered problems of equality – Involves some kind of equal sign On the other hand, we.
Selection Sort Comparison Data Movement Sorted.
3.2 Solving Equations by Using Addition and Subtraction Addition Property of Equality –If the same number is added to each side of an equation, the resulting.
Scheduling Lacquer Productions with Uppaal AXXOM case study of the Ametist project Angelika Mader Distributed and Embedded Systems Group, University of.
Cybernetix – Cost Driven UPPAAL and Insights Angelika Mader University of Twente Ametist meeting December 2002 Dortmund.
Adaptive IEEE MAC Protocol for high efficiency MC-CDMA WLANs 15. FFV Workshop 21. November 2008 Dr.-Ing. Georgios Orfanos 1G.Orfanos, 15. FFV Workshop,
CMPUT Computer Organization and Architecture I1 CMPUT229 - Fall 2002 Topic1: Numbers, Numbers, and Numbers José Nelson Amaral.
Instructor: Senior Lecturer SOE Dan Garcia CS 61C: Great Ideas in Computer Architecture Pipelining Hazards 1.
Page Buffering, I. Pages to be replaced are kept in main memory for a while to guard against poorly performing replacement algorithms such as FIFO Two.
Axxom case study - questions Angelika Mader University of Twente.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
 A.4f Apply these skills to solve practical problems.  A.4b Justify steps used in solving equations.  Use a graphing calculator to check your solutions.
Simulation Examples And General Principles Part 2
6/27/20161 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Roy Campbell, Sam King,
Applied Operating System Concepts
Greedy Algorithms.
CHAPTER 3: Quadratic Functions and Equations; Inequalities
A Closer Look at Instruction Set Architectures
KESEIMBANGAN LINI PRODUKSI (PRODUCTION LINE BALANCING) (Bagian 1)
Analytical Tools for Process Analysis and Improvement
Solving Equations with the Variable on each side
October 30th – Priority QUeues
IC card Management System
Unit 4 Introducing the Study.
Greedy Algorithms.
Operating System Concepts
Discrete Mathematics CMP-101 Lecture 12 Sorting, Bubble Sort, Insertion Sort, Greedy Algorithms Abdul Hameed
The Square Root Property and Completing the Square
Solving Equations and Inequalities with Absolute Value
Copyright © Cengage Learning. All rights reserved.
1.3 Modeling with exponentially many constr.
Investigating Mac Power Consumption in Wireless Sensor Network
8th grade math end of year review
“Teach A Level Maths” Vol. 1: AS Core Modules
Operating System Concepts
3.1 The Addition Property of Equality
Presentation transcript:

Extending the smart-card personalisation system by the graphical treatment Angelika Mader University of Twente

Cybernetix – smart card personalisation system personalisation stations conveyer belt unloader printer flip over laser engraver flip over printer loader

personalisation stations conveyer belt unloader printer flip over laser engraver flip over printer loader Cybernetix- smart card personalisation system way of a single card through the system

Cybernetix - smart card personalisation system Research question: can we use model checking tools to find an optimal schedule? optimal means optimal throughput; because the belt is not moving with constant speed, it is not the number of gaps that we optimize. First approach: isolation of the personalisation part

Isolation of the personalisation part personalisation stations conveyer belt unloader printer flip over laser engraver flip over printer loader processing times: Personalisation Unloader, Loader, Flip-Over 2 Printer 3 Laser Engraver 4 Belt movement 1 dominates:

smart card personalisation super single mode etc. belt unloaderloader personalisation stations

First results problem difficult for model checking: does not scale up to great numbers of cards for a periodic schedule we need some sort of cycle detection

More first results By elementary combinatorial argumentation: the throughput of the super-single mode is k max{4k+3,p+2} The super-single mode meets the theoretical upper bound for throughput, if p >= 4k+1 (i.e. personalisation time is long enough w.r.t. number of stations) k: even number of stations p: personalisation time Cycle length

Alternative Architecture Why: allows for an easier schedule and easier analysis argumentation transfer to the more complicated super-single mode different composition properties: good for comparison

Even more first results By elementary combinatorial argumentation: the throughput of the alternative architecture is k max{4k,p+2} The alternative schedule meets the theoretical upper bound for throughput, if p >= 4k-2 (i.e. personalisation time is long enough w.r.t. number of stations) k: number of stations p: personalisation time Cycle length

Personalisation & graphical treatment personalisation stations conveyer belt unloader printer flip over laser engraver flip over printer loader cards are processed on the belt cards do not overtake each other graphical treatment only adds delays processing times: Personalisation Unloader, Loader, Flip-Over 2 Printer 3 Laser Engraver 4 Belt movement 1

Personalisation & graphical treatment cards leave the personalisation part with a certain delay pattern (rythm) that depends on the schedule (the belt does not move with constant speed!) the time pattern interferes with the delays by the graphical treatment: extreme cases are that the graphical treatment delays synchronize completely with the time pattern of the personalisation part and have no negative effect at all, or contrary, that the delays are added completely to the production time personalisation schedules interfere differently with graphical part; this holds even for different optimal schedules (will be shown by experiments) timing analysis of interference does not seem possible using elementary reasoning use UPPAAL for throughput analysis of the composition of personalisation part and graphical part

Timing analysis - idea: Add explicit scheduling process in the UPPAAL model, that enforces super-single mode or the alternative schedule for the personalisation part. Personalisation & graphical treatment

process Personalisation1{ clock pers_time; state PERSONALISING, IDLE; init IDLE; trans IDLE -> PERSONALISING{ guard card_id[0]==0,// no card in the personalisation station Belt[1]>0, // there is an unpersonalised card on the belt moving==0; // belt must stand still sync s_p1?; assign pers_time:=0, card_id[0]:=Belt[1], // load card in the pers. station Belt[1]:=0;},// position on the belt gets empty PERSONALISING -> IDLE{ guard pers_time>=Personalise, Belt[1]==0, // belt cell under station is empty moving==0; // belt must stand still sync s_p1?; assign Belt[1]:=-card_id[0], // put pers. card on the belt card_id[0]:=0;};// personalisation station is empty now }

process Scheduler{ state S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, …, S95; init S1; trans S1 -> S2{sync s_ul!; },// synchonizes with unloader S2 -> S3{sync s_m!;},// synchronizes with belt S3 -> S4{sync s_m!;},… S4 -> S5{sync s_ul!; }, S5 -> S6{sync s_m!;}, S6 -> S7{sync s_m!;}, … S21 -> S22{sync s_m!;}, S22 -> S23{sync s_ul!; }, S23 -> S24{sync s_m!;}, S24 -> S25{sync s_p1!;},// synchronizes with personalisation station 1 S25 -> S26{sync s_p2!;}, // synchronizes with personalisation station 2 S26 -> S27{sync s_p3!;},… S27 -> S28{sync s_p4!;},...

Personalisation & graphical treatment Timing analysis – experiments: super-single mode and alternative schedule 4 and 8 personalisation stations pick&drop times (1/2 time unit or zero) at personalisation stations time measurements for 12,16,20,24 and 16,24,32,40 cards until cycle length is determined. personalisation times 10,20,30,40,50 cost-optimal UPPAAL

Timing analysis -experiments number of cards personalisation time stations & graphical treatment, super-single mode & alternative architecture

Timing analysis -experiments number of cards personalisation time stations & graphical treatment, super-single mode & alternative architecture

First new results decomposition helps to analyse more complex scheduling problems results from the analysis of the first part go into a explicit scheduler of the larger system (model) cycles could be detected (because we know batch size = cards per cycle) with cycle length we also have throughput

Second version of graphical treatment cards are printed on one side only: Flip-overs (and laser engraver) are not in use each card can be printed at first OR second printer scheduling problem: what is the best schedule for the printers when the personalisation part is in super-single mode or the alternative schedule? can be solved with cost-optimal UPPAAL by similar approach as for the first version personalisation stations conveyer belt unloader printer flip over laser engraver flip over printer loader

Conclusions so far Personalisation part is dominant but not the only source of delay in the system Different optimal schedules can interfere differently with graphical treatment part: optimality is not compositional Even if the whole problem is not (yet) solvable with model checking, model checking can be used for parts of solutions Decomposition method for complex schedules can help to find good schedules Mixed strategies can help

What has to be done Schedule and timing analysis for faulty cards: performance models? More experiments with different architectures (e.g. numbers of cells on the belt)