23
Status of the CMS Detector Control System International Conference on Computing in High Energy and Nuclear Physics 2012, New York Robert Gomez-Reino on behalf of PH-CMD CERN group

Robert Gomez-Reino o n behalf of PH-CMD CERN group

  • Upload
    kaloni

  • View
    54

  • Download
    0

Embed Size (px)

DESCRIPTION

Status of the CMS Detector Control System International Conference on Computing in High Energy and Nuclear Physics 2012, New York. Robert Gomez-Reino o n behalf of PH-CMD CERN group. T he Compact Muon Solenoid. A multi-purpose Large Hadron Collider experiment. - PowerPoint PPT Presentation

Citation preview

Page 1: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

Status of the CMS Detector Control System

International Conference on Computing in High Energy and Nuclear Physics 2012, New York

Robert Gomez-Reinoon behalf of PH-CMD CERN group

Page 2: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

2/23

The Compact Muon SolenoidA multi-purpose Large Hadron Collider experiment

Page 3: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

3/23

A Quick DCS Hardware OverviewSome representative examples

Device type Usage Brand Driver Parameters

Power supply Front end electronics and detector biasCAEN

W‑IE‑NE‑RCMS-made

OPC/EthernetOPC/CAN

DIM~2.5 M

Embedded Local Monitoring Board

(ELMB)

Temperature, humidity and pressure monitoring

Water leak detectionLaser monitoring

CERN-made OPC/CAN ~24 K

DCU, RBX Detector monitoring CMS-made DIM, PSX ~0.5 M

PLC Safety, CoolingRack electrical distribution

SiemensSchneider

S7Modbus/tcp ~12 K

Page 4: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

4/23

DCS Hardware distributionDistributed across different experiment areas

Control roomHMI location

DCS rack PCsand high voltage power supplies and mainframes

Low and high voltagepower supplies, ELMB,

RBXs, DCUs

ELMBs and

PLCs

Page 5: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

5/23

DCSArchitecture

Page 6: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

6/23

DCS Infrastructure

CENTRAL DCSCOMPUTINGRESOURCES

CENTRAL DCSCONTROL STATIONS

HMI

• PVSS commercial SCADA• CERN JCOP framework • CMS extension frameworkCMS

Page 7: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

7/23

DCS

CENTRAL DCSCOMPUTINGRESOURCES

CENTRAL DCSCONTROL STATIONS

SUB DETECTORCOMPUTINGRESOURCES

• ~100 rack mounted PCs distributed in 14 racks• Both the supervisor and the sub-detectors PCs are centrally

managed using CERN Computing Management Framework• All PCs are running Windows XP• DCS applications are installed using a plug-in mechanism that

allows for deploying functional detector components

Infrastructure

Page 8: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

8/23

DCS Control Tree

stat

es &

ala

rms

com

man

ds

• Control tree written using CERN FSM toolkit (build on top of SMI++)

• Based on finite state machines and expert system-like rules

• http://smi.web.cern.ch/smi/

CMS

MUON

PART

DEVICE

Page 9: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

9/23

DCS Control Tree

(Sjoerd Cranen - Model-Driven Software Engineering group –TU/e)

Analyzing the control Tree in collaboration with TU/e

stat

es &

ala

rms

com

man

ds

CMS

MUON

PART

DEVICE

Page 10: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

10/23

DCS LHC handshake

LHC

automation

protection

CMS

Page 11: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

11/23

DCS Automation

Det

ecto

r pa

rtit

ions

~5000 actionsdelegated to sub-detector experts

Beam modesInject beam Ramp Flat top … Stable beams …

Machine

mod

es

Acces

s Pr

oton

phys

ics …

Sub-detector

LHC

automationCMS

protection

Page 12: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

12/23

DCS HMI

PVSS provides the possibility of running many user interfaces connecting to the same system

Drawbacks:• Puts some stress on the system where

the user interfaces is connecting to. It doesn’t scale

• Requires partial PVSS installation where the user interface should run

Solution: web based user interfacesAdvantages:

• It scales• Doesn’t require other than a web

browser in the client side (tablets, smartphones…)

Page 13: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

13/23

PORTAL WEB PAGES

Applicationdeployments

HTTP serverWeb cache

Architecture

Application Server

Middle Tier

PortalInfrastructure

Tier

Web BrowserClient

LDAPDB SOURCESDIM CLIENTDIP CLIENT

FMS EJB

Web monitoring

OIDSSOCMS DBS

Page 14: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

14/23

DCS web applicationsSome highlights

DCS operation summary

infrastructure control & monitoring

Rack monitoring & crate control

plotting online tool

FSM monitoring

DCS Alert screenDCS component installation

(Loads of work by L. Masetti and M. Janulis)

cmsonline

Page 15: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

15/23

The DCS history

Aging infrastructure

Page 16: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

16/23

The Central DCS infrastructure is confronting two concurrent issues:

the end of life of the operating system in use (W. XP) the aging of the current computing infrastructure

DCS upgradeThe motivation

Page 17: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

17/23

One approach would have been to replace the current rack mounted PCs with newer ones

The central DCS group has chosen instead for a high-density modular solution (DELL Blade systems) incorporating PCs and networking into a single chassis that provides shared power, cooling and management

DCS upgradeHardware replacement

Page 18: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

18/23

DCS upgradeNew computing infrastructure location

Newl

y in

stal

led

In

frast

ruct

ure

2 DELL Blade systems (32 blade PCs)

Redundant copy

EASIER MAINETNANCE!

Page 19: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

19/23

Upgrade ongoing workSome system refactoring needed

All DCS control and monitoring hardware must be Ethernet based (USB, serial and PCI based hardware was replaced or adapted to Ethernet based solutions)

Approximately every 3 PVSS systems (running in individual rack PCs) will be merged in one Blade PC Should make sure there are no collisions (used ports,

driver limitations, naming collisions…) Will make use of CMS DCS factorization capabilities

Page 20: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

20/23

After looking at the different possibilities CMS decided to move the Windows XP systems to Windows 7Windows is still CMS controls platform (OPC)Windows Server version didn’t add features useful in

our infrastructureWindow 7 64b tests on new Blades very successful in

terms of performance and memory management

DCS upgradeThe Operating System Upgrade

Page 21: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

21/23

DCS upgradeOne step further: redundancy

To achieve the zero downtime the redundant partners will use a built-in SCADA (PVSS) functionality to run PVSS projects in a hot-standby mode taking over in case of failure

•Need to review DCS components for

redundancy

•PVSS managers handle redundancy JCOP and CMS extensions need

to be enabled

•One project is active the second one in a hot-

standby passive mode

•CMS is the only LHC experiment using

redundancy

Poster: “High availability through full redundancy of the CMS detector controls system” Dr. Polese Thursday from 13:30 to 18:15

Page 22: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

22/23

Summarizing Fulfilled the operational, functional and environmental requirements,

providing efficient automatic and safe detector operation.

Used and contributed to the JCOP framework.

Created CMS development guidelines to ease the integration on a common framework.

Always working on unifying functional components.

Extensive work performed on developing web applications.

Year 2012 will be dedicated to improve our infrastructure making it fully redundant

Page 23: Robert Gomez-Reino o n  behalf of  PH-CMD CERN group

23/23

Thank you for you attention!

CMS central DCS is an small team formed by people with different backgrounds sharing their interest and passion for control systems and for technology in general.

We are always looking for ways to increase and share our technology knowledge.

Contact us: [email protected]