A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Control System Studio (CSS)
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
The CA MDB Revised May © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced.
Database Systems: Design, Implementation, and Management Tenth Edition
K.Vijayan : RDB for Diamond Control Systems RDB for Diamond K.Vijayan March 2005.
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
EPICS Meeting 2005ORNL Rdb systems at SNS Jeff Patton and cast April 27-29, 2005 EPICS Meeting 2005.
Team: Maya Zalcberg Diana Attar Levona Hershtik Academic advisor: Prof. Ehud Gudes ADD Presentation.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
XML, distributed databases, and OLAP/warehousing The semantic web and a lot more.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Database Design - Lecture 2
IT Infrastructure Chap 1: Definition
Imperial College Tracker Slow Control & Monitoring.
Database Systems: Design, Implementation, and Management Ninth Edition
K.Vijayan : RDB for Diamond Control Systems RDB for Diamond V.Smithers & K.Vijayan June 2003.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
1 BROOKHAVEN SCIENCE ASSOCIATES IRMIS Universal Component Types D. A. Dohan NSLS 2 Brookhaven National Laboratory ICALEPCS 2007.
IRMIS Status EPICS 2009 Vancouver D. A. Dohan. Outline IRMIS hardware model cable/cable run channel list Equipment Inventory System RDB Domain separation.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. Computer Software Chapter 4.
IRMIS: a practical Ansatz for an Accelerator Operations DB? S. Herb,
CIDB The PSI Controls Inventory DataBase Timo Korhonen, PSI (for the CIDB Team)
IRMIS – Introduction - IRMIS collaboration meetings: APS,SNS, CLS, FNAL, TRIUMF, SLAC, DESY - accumulate participant facility data capture requirements.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Oct 8-9, 2005ACS Collaboration Meeting – Archamps, France The MicroIOC From Custom To Production First customer: PSI 25 pieces.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Jini Architecture Introduction System Overview An Example.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
EPICS Development for the ASKAP Design Enhancements Program ASTRONOMY AND SPACE SCIENCE Craig Haskins 18 th October 2015 EPICS User Meeting – Melbourne.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
SNS EPICS Config. Database Control System Configuration DB Workshop, Sep. Jlab … participants from BESSY, BNL, JLab, PSI IOC DB meeting, Oct. 2-3.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
K.Vijayan : RDB for Diamond Control Systems EPICS DB in RDB K.Vijayan June 2006.
Report on database work for INB in ALICE Latchezar Betev (ALICE) Information Session INB – June 8, 2006.
The Need for Data Analysis 2 Managers track daily transactions to evaluate how the business is performing Strategies should be developed to meet organizational.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
Building Preservation Environments with Data Grid Technology Reagan W. Moore Presenter: Praveen Namburi.
Planning an Active Directory Deployment Lesson 1.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
BROOKHAVEN SCIENCE ASSOCIATES IRMIS Integrated Model of Installed Systems D. Dohan NSLS2 Controls Group EPICS Meeting, Padua, 2008.
Database Systems: Design, Implementation, and Management Tenth Edition
UML Diagrams: Class Diagrams The Static Analysis Model
Chapter 2 Database System Concepts and Architecture
COMPONENT & DEPLOYMENT DIAGRAMS
INFS 211: Introduction to Information Technology
Relational Database Collaboration
IRMIS Technical Details
CHAPTER 3 Architectures for Distributed Systems
Datamining : Refers to extracting or mining knowledge from large amounts of data Applications : Market Analysis Fraud Detection Customer Retention Production.
What Do I Want from an RDB?
Chapter 4 Entity Relationship (ER) Modeling
PLC Hardware Components.
Computer Networking A computer network, often simply referred to as a network, is a collection of computers and devices connected by communications channels.
Computer Networking A computer network, often simply referred to as a network, is a collection of computers and devices connected by communications channels.
DOE Review of the LCLS Project 7-9 February 2006
Presentation transcript:

A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department of Energy IRMIS RDBCore – integrated s/w, h/w and cable databases D. Dohan, Mar 9, 2005

Pioneering Science and Technology Office of Science U.S. Department of Energy 2 PV ERD – essential elements is part of loaded in An EPICS record has a name and is of a specific type. Each record type has a DBD record definition Records have fields, which are name/value pairs. A record instance is defined by its set of field/value pairs. These instance values are contained in.db files. A record definition may span several.db files Records are loaded into (belong to) an IOC. (Channel Access does not need to know which IOC the record belongs to, but the developer does) No record-type specific tables – the crawler ‘discovers’ the implemented record types. Schema and crawler site neutral

Pioneering Science and Technology Office of Science U.S. Department of Energy 3 PV Schema

Pioneering Science and Technology Office of Science U.S. Department of Energy 4 PV schema more of a software system schema – capturing the entire system logic -ioc configuration and boot information -database definitions -inter IOC links -CA clients (adl now, alh coming, others..) -time stamp – like CVS tag exhaustive PV list is required  crawler -mining PV info to extract control system hardware components ~70% of initial APS components ‘discovered’ by PV data mining -possible use in name server?

Pioneering Science and Technology Office of Science U.S. Department of Energy 5 IRMIS Components What is a component? -“ a constituent element, as of a system”… (Google) -unit replaceable physical entity associated with the accelerator - IO card, chassis, serial link,.. -more primitive granularity than a ‘device’ - do not assign a high level physics ‘role’ to a component - less subjective – no naming convention issue - more on this later -more geared to how the facility is assembled, rather than how it functions. component approach was originally based on EPICS device-types -now extended to cover all accelerator equipment - mechanical components, physical spaces, ac distribution - multi-hierarchy

Pioneering Science and Technology Office of Science U.S. Department of Energy 6 Component RDB –essential elements is a is controlled by is housed by is powered by At this point, we can begin tabulating all of the components in the accelerator - the table contains component_id/component_type pairs. In IRMIS, each control component is controlled by, or passes data to a unique control parent. This 1:M relation defines a control hierarchy The database table now contains the cmpnt_id, the cmpnt_type and its control_parent_id, which points to another component instance somewhere in the database. The basic entity in the component database is the concept of a component type. Issue: The database contains only the components that an IOC can ‘see’. Another issue was how to handle the ‘location’ attribute – limited queryability. Any component instance is of a specific type. Each component is assigned a logical # (the EPICS io addr) and a physical descriptor to distinguish similar hierarchy siblings Component table: An additional hierarchy has been added – the power hierarchy. Any component gets its power feed from a unique power source, which is component in the DB. An additional hierarchy is defined – the housing hierarchy. Each component is ‘housed’ within another component within the DB. Every device has a housing parent. The location attribute is replaced by the housing hierarchy. May now add non control components cmpnt_idcmpnt_type_idcontrol_p_idhousing_p_idpower_p_idlnpdS/Netc

Pioneering Science and Technology Office of Science U.S. Department of Energy 7 Multiple Hierarchies attempt to capture orthogonal hierarchical concepts -who controls the component? -where is it located? -where does the component derive its power? more than just another attribute – allows (hierarchy based) querying -what other components are controlled by this c-parent? -what is located in this chassis? what else is nearby? -what other components are powered by the same circuit? - concept of ‘path’ provided by the hierarchical topology components need not be members of all 3 hierarchies -every component is a member of the housing hierarchy - it must be located somewhere, even if it is in a stores cabinet - every component is stored only once in the database

Pioneering Science and Technology Office of Science U.S. Department of Energy 8 Assembling a (sub) facility typeidcpidhpidppid room rack circuit ac panel pwr strip chassis chas. ps cpu gpib dev gpib link chassis D

Pioneering Science and Technology Office of Science U.S. Department of Energy 9 Connections vs components in the case of the 1014 – only the serial number is changed when swapping spares.. -the id of the row in the db is not changed – the connection, or system configuration, has not changed -the software (i.e. the PV) is only aware of the connection, not of the serial number of the module. -if the 1014 is replaced with a pin compatible module (eg the 1014D above), then both the serial # and the component type changes. The connection id remains the same. The PV does not know the difference. -The user is never directly aware of the component/connection id. -each line in the component table (‘relation’ in RDB speak) represents a multi-dimensional abstract connection. The components making up the connection are merely attributes of the connection

Pioneering Science and Technology Office of Science U.S. Department of Energy 10 Detailed Component schema

Pioneering Science and Technology Office of Science U.S. Department of Energy 11 Cables

Pioneering Science and Technology Office of Science U.S. Department of Energy 12 Cable ERD is a is part of is controlled by is housed by is part of is powered by Each component has a set of ports - (0 or more) To handle the wide variety of cable types, each pin in each port is stored in the database. The pins accept the individual ‘signals’ carried in the conductors in a multi-strand connector. A cable is something with a connector. Has a color and label. The cable is what the user handles, ie connects between ports The user connects cables, the database connects pins. Pins have signals, which will eventually relate to software PVs. With the component database infrastructure in place, the cable database is surprisingly simple. Most of the complexity is handled in the hierarchical component database. The cable and component schema is site neutral. There is no APS or SNS signature: there is not even any evidence that we are modelling an accelerator.

Pioneering Science and Technology Office of Science U.S. Department of Energy 13 Detailed cable schema

Pioneering Science and Technology Office of Science U.S. Department of Energy 14 Component and Cable Editor/Viewer – wip

Pioneering Science and Technology Office of Science U.S. Department of Energy 15 Cables and components – (discussion, future) a cable transmits a signal from an output of one component to an input of another component. -the cable does not have a signal name – each port does - the cable has 2 signal names associated with it the component takes its inputs and transforms them into a set of outputs -concept of a component as a signal transformer - eg : light box O = I - eg: fan-out Oj = I (j=1,8) - allow end-to-end signal tracing (for simple xfmr’s) abstract the notion of component as a signal XFMR, and store in the RDB - this is still not functional decomposition/description. expanded characterization of signal types – to simplify cable entry

Pioneering Science and Technology Office of Science U.S. Department of Energy 16 Wiring list equipment wiring list/ interface control document

Pioneering Science and Technology Office of Science U.S. Department of Energy 17 Wiring list equipment wiring list/ interface control document

Pioneering Science and Technology Office of Science U.S. Department of Energy 18 Extending component types Extend component types to include accelerator equipment put the external component into the component RDB -wiring list information is now handled by the cable database -gives the control engineer a better feel for how the system as a whole is supposed to work -can be extended to include power supplies - high current power feeds are generalized signals - power supply ‘transforms’ the drive signal to high current - storage of this abstract transformation within the RDB -more abstract: can be extended to include magnets - I/P signal is high current, output signal is B-field (abstract) -more abstract – extension to the beam as a component - I/P signal = B, output signal = X,Y,etc BPM signal. Perhaps not, but this is what the modelers in essence do. -can also be extended (downward) to replaceable board level components – fpga, etc

Pioneering Science and Technology Office of Science U.S. Department of Energy 19 Components vs devices (and naming conventions) PS controllerMagnetPower Supply Beam Suppose that all the component transforms are stored in the database – would this be a basis around which to model physics data, at the same time providing the engineer with the component/assembly description? This schema is still site-neutral – only the system assembly data (the configuration instance data) is site specific. Functional modeling replaced by component transfer functions. Now that all the components are in the database, what about another hierarchy - the physics device hierarchy?

Pioneering Science and Technology Office of Science U.S. Department of Energy 20 RDBCore - Work in Progress is a is part of is controlled by is housed by is part of loaded in EPICS device support in RDB. Table for supported device_types and their associated device support revive PV mining script to deduce installed H/W – establishes sw/hw link dbior reports is powered by

Pioneering Science and Technology Office of Science U.S. Department of Energy 21 IRMIS Future (cont’d) IRMIS as a core (site-neutral) RDB schema and basic applications – only 28 tables are in RDBCore at present. RDB Extensions: -How can local site specific extensions be built to be (at least partially) reusable? (e.g. framework approach) -Example – ioc applications based on the component DB Universal component type table – at least for the EPICS supported devices. Locally extensible