Joef Stefan Institute A Generic Simulator of Control

  • Slides: 10
Download presentation
Jožef Stefan Institute A Generic Simulator of Control Systems For Application Development and Testing

Jožef Stefan Institute A Generic Simulator of Control Systems For Application Development and Testing Dragan Vitas, Mark Plesko, Gasper Tkacik, Ales Pucelj and Igor Kriznar JSI and Cosylab Limited. PCa. PAC 2002 Simulator Dragan Vitas, Generic

Jožef Stefan Institute www. cosylab. com Agenda • 15 minutes simulator overview • 5

Jožef Stefan Institute www. cosylab. com Agenda • 15 minutes simulator overview • 5 minutes simulator in action PCa. PAC 2002 Dragan Vitas, Generic Simulator 2

Jožef Stefan Institute www. cosylab. com Why simulator • • • Probing Testing Performance

Jožef Stefan Institute www. cosylab. com Why simulator • • • Probing Testing Performance evaluation Problem resolving Prediction of the application scalability PCa. PAC 2002 Dragan Vitas, Generic Simulator 3

Jožef Stefan Institute www. cosylab. com Design • Not specific to any particular control

Jožef Stefan Institute www. cosylab. com Design • Not specific to any particular control system software. • Flexible • Easy implementation of new specifics. • Applications have to be tested without being modified. • The user must be able to write extensions in a language and platform of his choice. PCa. PAC 2002 Dragan Vitas, Generic Simulator 4

Jožef Stefan Institute Simple generators SIN, RND, FIX … www. cosylab. com stores Properties

Jožef Stefan Institute Simple generators SIN, RND, FIX … www. cosylab. com stores Properties Simulator Engine uses Remote generators create properties request properties data Emulators CORBA ACS EPICS Client applications Listeners and value generators in user applications PCa. PAC 2002 Dragan Vitas, Generic Simulator configure returns values Configuration Clients & scripts 5

Jožef Stefan Institute www. cosylab. com Implementation Multi-platform multi-threaded CORBA server in C++ language

Jožef Stefan Institute www. cosylab. com Implementation Multi-platform multi-threaded CORBA server in C++ language • Multi-language, multi-platform clients can be created. • Advantages of the CORBA infrastructure can be exploited. PCa. PAC 2002 Dragan Vitas, Generic Simulator 6

Jožef Stefan Institute www. cosylab. com The Engine • Properties – Name/value pairs with

Jožef Stefan Institute www. cosylab. com The Engine • Properties – Name/value pairs with types and configuration data • Value generators – Predefined: RANDOM, SINUS, FIXED … – Remote – user generators • Listeners – Callback for notification when a value change occurs PCa. PAC 2002 Dragan Vitas, Generic Simulator 7

Jožef Stefan Institute www. cosylab. com Emulators • CORBA – Object factory – Dynamic

Jožef Stefan Institute www. cosylab. com Emulators • CORBA – Object factory – Dynamic Skeleton Invocation (DSI) • ACS – All parts of the ACS system are engaged • EPICS PCa. PAC 2002 Dragan Vitas, Generic Simulator 8

Jožef Stefan Institute www. cosylab. com Power. Supply. PW_SUPPLY_VD Power. Supply. PW_SUPPLY_HD Power. Supply.

Jožef Stefan Institute www. cosylab. com Power. Supply. PW_SUPPLY_VD Power. Supply. PW_SUPPLY_HD Power. Supply. PW_SUPPLY_VU Power. Supply. PW_SUPPLY_HU Simulator Engine User. Panel. Info. USER_PANEL Interface Repository interface Power. Supply { long set(in double amp. Val); long get(out double amp. Val); CORBA long on(); long off(); long reset(); }; Tao_ifr (IDL load) Insertion. Device. INSERTION Emulator ORB Create. Server client CC client PCa. PAC 2002 create. Server( “Power. Supply”, “PW_SUPPLY_VD” ); Dragan Vitas, Generic Simulator IDCPanel 9

Jožef Stefan Institute www. cosylab. com Demo • Testing of the IDC Panel application

Jožef Stefan Institute www. cosylab. com Demo • Testing of the IDC Panel application developed for HZ Japan PCa. PAC 2002 Dragan Vitas, Generic Simulator 10