Download presentation
Presentation is loading. Please wait.
Published byStanley Cummings Modified over 9 years ago
1
Oracle Applications for Control Systems By Katia Danilova 09/29/2005
2
Why to discuss 2 programs together: Both are Oracle Applications developed for Controls Systems Data used comes from several groups (Magnet Mapping, Power Supply, Physics, Operations, Controls) and labs (BNL, LANL, LBNL) One of these two programs (PSReport) uses data produced by another one (SplineFit) Magnet Mapping (SplineFit) PS Info Program (PSReport)
3
Part I: Magnet Mapping SplineFit program Idea and requirements: John Galambos Design and coding: Katia Danilova Pure Java Web Start linked under Control Systems>Software>Oracle Applications User Manual online
4
Magnet Mapping in Controls data flow Spreadshe ets with magnet measurem ent data from J. Animesh and J.G. SNS Relational Database (Oracle) tables SSLoader (java program) Magnet Mapping java program (SplineFit).mmt files IOC
5
Magnet Mapping Program Features: GUI clicking on the points of the spline curve in the graph area selecting from lists using buttons All names and data are automatically taken from the Oracle database Program allows to: select a magnet view data in different modes ( B(I) or I(B) mode) add/remove points calculate spline coefficients calculate average data (fields and coefficients) for magnets related to one PS save/ delete records in.mmt files and Oracle mag_spline table
6
Features (cont.) Data quality control: visualizes mapping data it allows easy detection and removal of bad points => only good (checked by user) magnet data are saved shows if some of data is missing shows which magnets do not have mapping data in DB Output xxx.mmt files saves into Oracle tables
7
Additional Benefits and Problems “Side effect”: PS data determines operational range for Power Supplies saves this data in Oracle, then this data are used by PSReport program to produce xxx.substitution files Problem: Delays with receiving the data that are already measured! Plan: adding new features For Magnets: Manual selection of magnet group For PS: Ramp profile (from Oracle cycle_on table to xxx.mct files)
8
Part II: Power Supply Info Program PSReport Program Idea and requirements: Coles Sibley Design and coding: Katia Danilova Pure Java Web Start linked under Controls>Software>Oracle Applications No need in User Manual because the program is so user friendly
9
PSReport in Controls data flow: EPICS calibration data spreadsheets SSLoader java program SNS Relational Database (Oracle) tables PSReport java program Spreadsheets used to produce EPICS XXX.substitution files Load from st.cmd
10
PSReport Features: User friendly: GUI Everything is automatically taken from DB “Lazy user” approach Program Input: Selection of IOC by user All other data (like PSC/PSI/PS names and relations, magnet and PS data ) are automatically taken from Oracle Program Output: Calculates PS values such as HIHI, DRVH, ADEL, MDEL etc Produces 3 spreadsheets of PS data (xxx.substitution files)
11
PSReport Benefits and Problems Benefits: Configuration control of data Selecting PS limits based on mapping data, operational and PS requirements Extra features helping detect gaps in Oracle Logfile showing gaps in DB relations if any Messages inside the spreadsheets showing where exactly in the database data is missing Problems: Missing data in the database “RDB has too many constraints. We don’t need all serial numbers, just Manufacturer and Model #” Coles
12
Role of 2 appls in controls data flow: Spreadsheets from different sources SNS Relational Database (Oracle) tables SSLoader (java program) Magnet Mapping java program (SplineFit) xxx.mmt files IOC PSReport java program Load from st.cmd Spreadsheets used to produce EPICS XXX.substitution files
13
Instead of Conclusion Benefits of using the applications and Oracle: Central DB repository (data in one place, update once) History of calibration data Data Quality control Plans Development of an application that will allow automatic/easy loading of calibration data from EPICS to Oracle database (and potentially vice versa) to develop a program need REQUIREMENTS! Development of an application that will check for missing or duplicate data in Oracle database
14
The End Thank you!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.