ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 1 The SY1527 replay delay via the OPC and the ‘SY driver’ (By HMPID) The.

Slides:



Advertisements
Similar presentations
ALICE DCS, Heidelberg 8 Sept G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,
Advertisements

JCOP FW Update ALICE DCS Workshop 6 th and 7 th October, 2005 Fernando Varela Rodriguez, IT-CO Outline Organization Current status Future work.
First Tests of a GTL-Prototype-Card using XDAQ S. Kostner, J. Strauss and A. Taurok (Hephy, Vienna) with help from J. Gutleber (CERN)
Sezione di Bari September 16, 2002D. Elia - DCS workshop / ALICE week 1 SPD PS system and Controls Domenico Elia, INFN-Bari.
DCS workshop 13-14/6/2005G. De Cataldo, CERN-CH and INFN bari1 Common FSM’s updates An exercise to design the standard FSMs for the DCS, the HV and the.
P.C. Burkimsher Alice DCS Workshop 18 March 2002 (Updated 27 March 2003) PVSS - How to get started Paul Burkimsher IT Division COntrols Group Support Services.
Alarms and interlocks handling in the FSM environment Hypernet 1.The standardization of the FSM state diagram; 2.The FSM error states and their recovering.
Peter Chochula CERN-ALICE ALICE DCS Workshop, CERN September 16, 2002 DCS – Frontend Monitoring and Control.
CPV DCS STATUS REPORT Mikhail Bogolyubsky (IHEP, Protvino) Serguei Sadovsky (IHEP, Protvino) CERN, DCS meeting, 30 January, 2007.
HV-LV DCS Workshop – 16/03/2004 G. De Cataldo, A. Franco, A.Tauro - INFN Bari Progress report on the HMPID LV System Cabling and LV sectorsCabling and.
March 16, 2004Alice controls workshop, S.Popescu Low Voltage and High Voltage OPC status and plans.
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
Performance analysis of a Grid-based Instrumentation Device Farm Luca Berruti 1, Franco Davoli 1, Stefano Vignola 1, Sandro Zappatore 1 1 CNIT – University.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Clara Gaspar, November 2012 Experiment Control System LS1 Plans…
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
MDT PS DCS for ATLAS Eleni Mountricha
SMACS Slow Monitor And Control System Developed system for CDF-TOF proposed for Atlas-MDT/RPC.
D etector C ontrol S ystem HMPID SB G. De Cataldo CERN-CH, A. Franco & A. Nardulli INFN Bari, I 1 HMPID Updates and prototyping HMPID DCS with.
S.Sergeev (JINR). Tracker consists of  4 chambers of 4 views each In total ~7200 drift tubes (~450 per view) To be controlled/monitored  HV system.
LV and HV status of the RPC system RPC detector and trigger group.
Low Voltage LB status RPC detector and trigger group.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
ALICE DCS Meeting.- 05/02/2007 De Cataldo, Franco - INFN Bari - 1 ALICE dcsUI Version 3.0 -dcsUI v3.0 is ready and will be soon posted on the ACC site.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
ALICE DCS Workshop - 14/03/2006 De Cataldo, CERN CH and INFN Bari - 1 Standardization of the DCS control panels The ACC is elaborating a set of panels.
André Augustinus 17 June 2002 Technology Overview What is out there to fulfil our requirements? (with thanks to Tarek)
D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 1 Finite State Machines (FSM) for the ALICE DCS:
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
15-16/3/04 DCS workshop G. De Cataldo, A,.Franco and A. Tauro 1 Answers from the HMPID to the ACC questions 1.Concerning global DCS overview drawing 2.Concerning.
André Augustinus 16 September 2002 PVSS & Framework How to get started.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
CERN, O.Pinazza: ALICE TOF DCS1 ALICE TOF DCS Answers to DCS Commissioning and Installation related questions ALICE week at CERN O. Pinazza and.
SA Ch High Voltage Module Main Features for each channel: V out = 12 kV I out = 1 mA R ipple = < 200 mVpp.
JCOP/DCS Plans for HW Upgrade A. Augustinus (ALICE), C
FOPI – Slow Control Content 1.FOPI experiment - Overview 2.GUIs for FOPI 3.System Design.
October 9th 2006ALICE WEEK - DCS WorkShop1 DEVICE USER SUPPORT OVERVIEW - Presentation - First Line Support - Reference System - Current Developpement.
Alice DCS workshop S.Popescu 1 1. News from TPC DCS cooling prototype Project overview: Aim of the prototype: investigating and developing standard.
Alice MTR DCS F.Jouve 15 th DCS workshop CERN 13/03/2006 UX-A,B,D Detector PVSS II Detector Ethernet Database(s) OPC client DIM client 1672 Detector ?
Alice DCS workshop S.Popescu ISEG Crate controller + HV modules ISEG HV modules 12 Can bus PVSS OPC Client 1 Generic OPC Client Iseg OPC.
The (prototype) C&V Framework component used for the SPD Cooling Control A.Tauro, G.De Cataldo.
Fifth CMS Electronics Week EASY: a new SY1527-based Embedded Assembly SYstem May 7th, 2003 CAEN SpA.
DCS Workshop, CERN MARCH ACORDE (Alice Cosmic ray detector) 60 scintillator modules (120 HV channels) Each module will have two scintillator counters.
The Software for the CERN Detector Safety System G. Morpurgo, R. B. Flockhart and S. Lüders, CERN IT/CO.
ATLAS DCS ELMB PRR, CERN, March 2002Fernando Varela ELMB Networks CAN/CANopen Interoperability of the ELMB Usage of the ELMB in ATLAS ELMB Networks Full.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
5th March 0718th DCS Workshop1 News on ISEG & WIENER Lionel Wallet, CERN High Voltage, Low Voltage & VME Crate control.
22 March 2010 DCS workshop C. Bortolin, g. de cataldo and A. Franco INFN it/CERN CH 1 Progress on LHC data exchange LHC-ALI_DCS project overview Future.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
S.Sergeev (JINR). Tracker consists of  4 stations of 4 views (planes) each In total ~7200 drift tubes (~450 per view) To be controlled/monitored 
22/May/02 JCOP meeting G. De Catatldo-A.Franco INFN Bari Italy 1 The Control System of the HMPID up to the end of 2001 ; 2002: The FSM toolkit, Hierarchy.
DCS workshop,march 10th P.Saturnini, F. Jouve Slow control trigger of the muon arm Muon trigger of the muon arm Low voltage VME Crate External parameters.
E Ethernet C CAN bus P Profibus HV HV cables LV LV cables (+busbar) S Serial (RS232) Signal cable Other/Unknown Liquid or Gas Cable and/or Bus PCI-XYZ.
André Augustinus 17 June 2002 Detector URD summaries or, what we understand from your URD.
D. EliaALICE week / DCS workshop - Sept 20, SPD Power Supply System DCS status Domenico Elia INFN Bari.
DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
6 May 2010 RICH2010 Cassis. G. De Cataldo, A Franco and G. Volpe INFN Bari It and CERN-CH 1 The ALICE HMPID Detector Control System, its evolution towards.
Industrial Power Supplies Observations from the survey responses. Observations per commercial vendor. Engagement outline with commercial vendors.
The Maraton LV system Michela Lenzi INFN Firenze Thanks to V. Bocci, P. Ciambrone, A. Sciubba LV Power Supply RCM AC/DC converter.
PVSS an industrial tool for slow control
HTTP Server Protocol Module :
ATLAS MDT HV – LV Detector Control System (DCS)
G.Thomas & D.Davids (CERN) & O.Holme (ETH Zurich)
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Presentation transcript:

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 1 The SY1527 replay delay via the OPC and the ‘SY driver’ (By HMPID) The disappointing time response for the SY1527 via OPCThe disappointing time response for the SY1527 via OPC The OPC, the CAEN Wrapper library and the ‘SY Driver’ developed by the HMPIDThe OPC, the CAEN Wrapper library and the ‘SY Driver’ developed by the HMPID Test results on the SY1527 reply delay: a comparison between the OPC and SY driversTest results on the SY1527 reply delay: a comparison between the OPC and SY drivers ConclusionsConclusions

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 2 Set up for the HMPID HV-LV control HV Sub-system LV Sub-system Ethernet CAEN A1676W  WIENER PL500F8 CAEN SY1527 CANbus PVSS - WorkstationOPC Server - Workstation CAEN A1821P The A1821P is a 12 ch HV board providing 2KV to the HMPID MWPC, while the A1676W is a CANbus controller that allows for to control up to eight WIENER PL500F8 for a total of 64 channels. So the A1676W appear to be a CAEN board with 64 channels. The Workstation for the OPC Server is a Win2000 O.S. running the OPC Servers (CAEN and Siemens). The PVSS Workstation is a Win2000 O.S. running the PVSS 2.12 – JCOP Framework and the HMPID DCS control programs. A bit of history During some HMPID beam tests (2003) a reaction time of several seconds in the operation of the HMPID HV-LV system (equipped with 12 chs) was observed. The higher the number of controlled channels the higher the reply delay. The PVSS control program was linked to the SY1527 via the CAEN OPC server.

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 3 CAEN OPC – PVSS into the HMPID DCS architecture WIENER PL500 Firmware A1676W Firmware A1821P Firmware CAEN SY-1527 Firmware (Linux – Based) CAEN SY-1527 Firmware (Linux – Based) CAEN Wrapper Windows Library CAEN Wrapper Windows Library CAEN OPC Server OPC Client Driver EVENT Manager DATA Manager USER Interface PVSS – Client Application OPC Server User Control Program User Control Program ARCHIVE Manager By means of a polling procedure, the firmware of the WINER PL500 and the A1821P collect parameter’s values from the hardware, and send them to the CAEN SY1527 firmware. At regular time intervals (about 250 ms) the CAEN OPC Server calls a series of library routines, Wrapper, that are able to query data from the SY1527. Then the OPC Server verify the changed data and at regular intervals send them to the subscribed PVSS Clients. The PVSS OPC Client notify the changed values to the PVSS EVENT Manager that dispatch them to all the active PVSS software modules and interfaces.

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 4 Improving the access to the CAEN SY1527 WIENER PL500 Firmware A1676W Firmware A1821P Firmware CAEN SY-1527 Firmware (Linux – Based) CAEN SY-1527 Firmware (Linux – Based) CAEN Wrapper Windows/Linux Library CAEN Wrapper Windows/Linux Library SY HMPID Driver EVENT Manager DATA Manager USER Interface PVSS – Client Application User Control Program User Control Program ARCHIVE Manager In order to investigate the possibility to improve the performance in the data exchange between the PVSS applications and the CAEN SY1527 crate, we develop a Custom PVSS Driver: the ‘SY Driver’ which skips the OPC. This driver is able to access the CAEN PS directly (at a programmable polling rate starting from 50 ms ), to read the data and dispatch them to the linked PVSS DataPoints. Conversely if a DP value changes (e.g. different Vset) then the new value is written in the SY1527. In order to investigate the possibility to improve the performance in the data exchange between the PVSS applications and the CAEN SY1527 crate, we develop a Custom PVSS Driver: the ‘SY Driver’ which skips the OPC. This driver is able to access the CAEN PS directly (at a programmable polling rate starting from 50 ms ), to read the data and dispatch them to the linked PVSS DataPoints. Conversely if a DP value changes (e.g. different Vset) then the new value is written in the SY1527.

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 5 Experimental setup and the Number of the OPC Items Ethernet CAEN SY1527 PVSS + SY_HMPID driver - Workstation CAEN A1821P Pentium II 800 MHz Memory : 512 MB Ethernet LAN 10MB Windows 2000 – cern settings PVSS Framework CERN cern.ch Network CERN cern.ch Network 5 Card A1821P – 12 x 5 ch. 2KV Vset=200V RUP=25 Volt/s RDW=25 Volt/s  250 ms CAEN firmware polling rate 8 sec for rumping up 32 maximum theoretical number of samples 1 Card A1676W – 3 Wiener crates 3 x 8 ch. OPC driver items x 84 Ch. ReadWriteRead onceTotal crate x board x channel x Total OPC driver items x 48 Ch. ReadWriteRead onceTotal crate x board x channel x Total OPC items x 12 Ch. ReadWriteRead onceTotal crate x board x1167 channel x Total SY-HMPID driver items x 84 Ch. ReadWriteRead onceTotal crate x board x channel x channel x Total

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 6 Comparison between OPC and SY Driver with a low number of Items In the figure above the reply delay never goes below 1.1 sec. It seems to be a pedestal value in the PVSS HMPID DCS The Polling cycle longer than 250 ms increases the Reply delay. Shorter than 250 ms it doesn’t improve the overall performances, maybe showing a system (SY1527+board) limit. The Sy1527 reply delay is on the average 199 ± 85 ms longer in the standalone OPC server configuration (grey line) with respect to the single Workstation setup(blue line). The SY-Hmpid driver shows better performances (red line) for both the Reply delay and the Number of Samples as shown also in the figure on the left. In order to compare the performances of the OPC and SY Driver we carried out some tests measuring the reply delay (the time interval between a command issue and the relevant system reply) and the number of samples during a rump up phase vs. the polling cycle time. Three different test configurations were implemented: OPC Server/ PVSS Client on a single workstation OPC Server - PVSS Client on two different Wks. SY-Hmpid driver on the PVSS machine

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 7 Reply Delay vs. number of Items Fixing the Polling time at 250 msec, we have measured the reply delay and # samples vs. the number of defined channels and, as parameter, the number of channels switched ON/OFF each time. 12 def. chs.- 12 chs switched On/Off. 48 def. chs or 48 chs. switched On/Off 84 def. chs. - 24,48,64,84 chs switched On/Off As shown in the figure on the left, with the OPC connection, the reply delay is heavily affected by the NUMBER of DEFINED channels (# of items) while it is much less sensitive to the number of channels switched ON/OFF which represents the amount of information exchanged on the connection during the system operation. The SY-Hmpid driver shows evident better performances with a reply delay of a factor 6 smaller when 84 channels are defined. The HMPID at its full configuration will control up to 159 HV-LV channels then New tests are now scheduled ,48 84,64 44,24 84,64,44, ,

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 8 Detailed statistic

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 9 SY-HMPID driver: overview Developed with the PVSS API technologyDeveloped with the PVSS API technology Portable on Linux platformsPortable on Linux platforms Configurable by an ASCII config fileConfigurable by an ASCII config file Direct access to PVSS DataPoint elementDirect access to PVSS DataPoint element Automatic downloading in PVSS from the CAEN SY1527 of the Engineering Units and Value RangeAutomatic downloading in PVSS from the CAEN SY1527 of the Engineering Units and Value Range Possibility to include into the driver Alarm Conditions with Quick Reaction procedure (reaction time  150 msec)Possibility to include into the driver Alarm Conditions with Quick Reaction procedure (reaction time  150 msec) HeartBeat variable to check the PVSS-SY1527 connectionHeartBeat variable to check the PVSS-SY1527 connection

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 10 SY-HMPID driver vs. OPC OPC Server ProsCons Standard industrial technology (Microsoft DCOM)Standard industrial technology (Microsoft DCOM) Sophisticated data items accessSophisticated data items access Software ready to useSoftware ready to use Export items to more then one network Computer/ApplicationExport items to more then one network Computer/Application Low rate of data exchangeLow rate of data exchange Windows platforms needWindows platforms need SY-HMPID driver ProsCons Linux platform migrationLinux platform migration High rate of data exchangeHigh rate of data exchange Custom solution for low reaction timeCustom solution for low reaction time No standard (only for PVSS)No standard (only for PVSS) Peer-to-peer connectionPeer-to-peer connection

ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 11 CONCLUSIONS 1.During some HMPID beam tests a delay between a command issue and the SY1527 reply up to several seconds was observed in the operation of the HMPID HV-LV system (CAEN SY1527 equipped with 11 chs). The PVSS control program was linked to the SY1527 via the CAEN OPC server. 2.At the end of the last year (2003) a campaign of new tests were started to look for a faster solution. A dedicated driver, namely the ‘SY Driver’ has been developed by the HMPID group with the PVSS API technology. It connects the SY1527 directly via the CAEN Wrapper library skipping the OPC. 3.In this way, when 84 channels are controlled, the replay delay is reduced by a factor 6: from 12 s with the OPC, down to 2 s with the SY Driver. The full equipped HMPID HV-LV system gets up to 159 channels, to verify also in this case the system behavior, in the next future we are going to carry out additional tests.