The JCOP Framework Giovanna Lehmann Miotto Xavier Pons

  • Slides: 19
Download presentation
+ The JCOP Framework Giovanna Lehmann Miotto & Xavier Pons Based on slides from

+ The JCOP Framework Giovanna Lehmann Miotto & Xavier Pons Based on slides from M. Bergues and C. Gaspar

+ The JCOP Framework n n n Joint Controls Project n Set up in

+ The JCOP Framework n n n Joint Controls Project n Set up in 1998 between the LHC Experiments and BE-ICS n Collaboration for common DCS activities n JCOP framework project started in 2001 Aim n Common set of components to facilitate DCS development n Take into account operations & maintenance Approach n Extensive use of industrial solutions n Customizations & extensions n High level abstraction n Modular and extensible

+ High Level Architecture CERN Experiments DCS & ECS Accelerators & Technical Infrastructure User’s

+ High Level Architecture CERN Experiments DCS & ECS Accelerators & Technical Infrastructure User’s Own Service ~450 Projects SCADA Apps Service ~200 Projects UNICOS Framework JCOP Framework SCADA Middleware Databases Drivers Others Win. CC Open Architecture (OA) OPC, DIM, DIP Oracle S 7, Modbus, etc Qt, XML, etc

+ Why Win. CC OA n Scalability n n Large Distributed Systems Openness n

+ Why Win. CC OA n Scalability n n Large Distributed Systems Openness n CTRL, API (Managers & Drivers) n Multiplatform n Partnership with the company

+ Win. CC OA Single System UIM Ctrl DM UIM API D Peripherals Processing

+ Win. CC OA Single System UIM Ctrl DM UIM API D Peripherals Processing Communication & Memory EV D User Interface D Driver

+ Win. CC OA Distributed System 1 System 3 UI Ctrl DM Ctrl EV

+ Win. CC OA Distributed System 1 System 3 UI Ctrl DM Ctrl EV Ctrl Redu DM D UI DM EV EV Dist System 2 UI System- or machine boundaries D Ctrl DM EV Networkconnections UI Logical links Dist D External

+ Software Architecture

+ Software Architecture

+ Hierarchical control n Each control unit n Is defined as one or more

+ Hierarchical control n Each control unit n Is defined as one or more Finite State Machines n Can implement rules based on its children’s states n In general it is able to: n Summarize information (for the above levels) n “Expand” actions (to the lower levels) n Implement specific behavior & Take local decisions n n n Sequence & Automate operations Recover errors Photon Detectors DCS TPC DCS … Include/Exclude children (i. e. partitioning) n n DCS Excluded nodes can run is stand-alone User Interfacing n Present information and receive commands Cold Electronics LV Fans …

+ Hierarchical control tools n Build FSM hierarchy across different machines n Dynamically generated

+ Hierarchical control tools n Build FSM hierarchy across different machines n Dynamically generated Operation UIs n Embedded Partitioning: Include, Exclude, etc.

+ LHCb example

+ LHCb example

+ Development Model n n Main users are software developers (physicist, engineers) n Users

+ Development Model n n Main users are software developers (physicist, engineers) n Users >750 (high rotation) n ~140 institutes in 40 countries n procedure for sublicensing agreement Large software project n n Code size (~1 Mloc), History: 15 years + future (LHC) Organized in components n One responsible per component n n Mainly central service + experiments Open source like: external contributions

+ The Framework Components Operations Tools Device Types Core FSM Configuratio n DB Analog

+ The Framework Components Operations Tools Device Types Core FSM Configuratio n DB Analog Digital Device Model Trending Installation CAEN Access Control System Overview 3 D viewer RDB API Wiener Iseg General libs Central Logging LWDA Q Alarms External Application s Electrical Rack Alarm/Event Screen Event Replay Web Access ELMB User defined types Middleware (OPC, DIM/DIP) Drivers (S 7, Modbus, etc)

+ JCOP Current Usage n Detector Control System (and Detector Safety System) n n

+ JCOP Current Usage n Detector Control System (and Detector Safety System) n n n Experiment Control System n n LHCb, NA 62, NP 04 Accelerator systems (with UNICOS) n n LHC Experiments Fixed Target Experiments (COMPASS, NA 62, WA 105, NP 02, NP 04) Cryogenics, Vacuum, Machine Protection, … Technical Infrastructure n n Electrical Network CV Systems Domain Production Systems Params (106) ALICE 100 ~3 ATLAS 130 ~10 CMS 90 (30) ~9 LHCb 160 ~10 Accelerator Complex + Tech. Infra ~200 ~9 Others ~50

+ Hardware Architecture Template

+ Hardware Architecture Template

+ Example Safety System (LHC) CERN GPN DSS COM Back-End SCADA NTP Optical Link

+ Example Safety System (LHC) CERN GPN DSS COM Back-End SCADA NTP Optical Link Gateway PC OPC Server Main Crates Profibus External Crates

+ Summary n The JCOP and the UNICOS frameworks allow to develop complete control

+ Summary n The JCOP and the UNICOS frameworks allow to develop complete control systems from low level hardware access to high level supervision, visualization and web based monitoring n This toolkit has been developed over 15+ years at CERN and provides now the backbone for control of all technical services, accelerators and for most of the experiments n In the next talk we will see the use of JCOP for Proto. DUNE SP

+ ATLAS Control Structure

+ ATLAS Control Structure

+ ATLAS Detector Control System

+ ATLAS Detector Control System

+ NA 62 Experiment

+ NA 62 Experiment