IPOC Software for LBDS

Data Acquisition & Analysis

LBDS Technical Audit - 28.01.2008

CERN - AB/BT/EC - N.Magnin IPOC - Software requirements

„ Roles of Internal Post-Operational Check software are:

Controlling and Monitoring of FAAS hardware. Acquiring of kickers current waveforms. Analyzing of kickers current waveforms. Logging of analysis results to database. Publishing of acquired waveforms for XPOC. Contro lling o f LHC beam perm it.

2 IPOC - System Components

Alarms Service PSU 1 Control Server FAAS FESA Middleware

FEC Server CPU

NI5122 NI5122 NI5122 NI5122 NI5122 Measurement PSU 2 Database

PSU 1 Logging Service Logging Database Server Server 22 22 22 22 22 FAAS FESA U Logging 11 11 11 11 11 PP

FEC Server C Database NI5 NI5 NI5 NI5 NI5 PSU 2

SDDS XPOC Service Files IPOC Explorer Server Workstation IPOC Explorer Workstation

3 IPOC - FAAS Hardware

4 identical cPCI crates for 2 beams:

„ 2cratesusing2 crates using Pearson current sensors. „ 2 crates using Rogowski current sensors.

„ FtAlFast Analog A cqui iitiStsition System:

1 PSU 8 NI PXI-5122 cPCI cards: „ 2 channels „ 14 bits „ 100 MS/s -5122 -5122 -5122 -5122 -5122 -5122 -5122 -5122 Y CTRP II II II II II II II II „ 30’ 000 samples acquired per channel TT 1 CPU cPCI card

EMP PX NI PX NI PX NI PX NI PX NI PX NI PX NI PX NI CPU - 1 CTRP PMC card „ Receives beam energy. PSU „ Receives dump trigger . „ Issues the beam permit to BIS.

4 IPOC - Software Overview

IPOC Explorer Alarms Logging XPOC Control Application Service Service Service Client

Remote Device Access CMW

LhcMkdIpocNi Development involves: FESA Class FESA

„ FESA server. NiScope CTRP rr C API C API „ IPOC Explorer java

Drive Ni Driver CTRP Driver driver Linux driver control application.

CI PCI bus

PP „ Configuration of AB/CO services

NI PXI-5122 CTRP cPCI card PCM card Hardware

5 IPOC - FESA Server

Only 1 FESA class Deployed as single-process:

„ 1 Single process 1 Server library FAAS FEC 1 RT library

LhcMkdIpocNi_M 1 Data memory segment «library» LhcMkdIpocNiServer

«» LhcMkdIpocNiData (No critical real- parts).

«library» LhcMkdIpocNiRT

6 IPOC - FESA Instances

Rogowsky current sensor: Pearson current sensor:

B1Beam 1 (FEC: cfi.ua63 .mkd pm 1) B1Beam 1 (FEC: cfi.ua63 .mkd pm 2)

15 LhcMkdIpocNi instances 15 LhcMkdIpocNi instances

MKD. UA63. IPOC1. AB1 MKD. UA63. IPOC2. AB1 … … MKD.UA63.IPOC1.OB1 MKD.UA63.IPOC2.OB1

Beam 2 (FEC: cfi.ua67.mkdpm1) Beam 2 (FEC: cfi.ua67.mkdpm2)

15 LhcMkdIpocNi instances 15 LhcMkdIpocNi instances

MKD.UA63.IPOC1.AB1 MKD.UA63.IPOC2.AB1 … … MKD.UA63.IPOC1.OB1 MKD.UA63.IPOC2.OB1

= 60 FESA instances 7 IPOC - FESA Main Properties

LhcMkdIpocNi class:

„ Stat us gettht the syst em’ s st us and operati ng mod e. „ Setting set the system’s operating mode. „ ReArm rearms the system in case of analysis error. „ Reset resets the system in case of hardware error.

„ WfWaveform gettht the acqui re d curren t wave form. „ IpocResults get the results of analysis & check.

8 IPOC - FESA Main Modes

„ ACQUIRING: Scope cards are acquiring. Beam injection permitted.

INITIALIZING „ TRIGGERED: Read waveform from scope cards. Beam injection not permitted . ACQUIRING

„ ANALYSING: ReArm() Waveform available for XPOC. mode=ACQUIRING TRIGGERED Performing waveform analysis.

„ ANALYSED_OK: No problem detected ANALYZING Can set mode = ACQUIRING

„ ANALYSED_ERROR: ANALYZED OK ANALYZED ERROR Tracking problem detected Must use ReArm property.

9 IPOC – Waveform Processing

RAW Remove Remove Cable Cable Filtered Waveform Offset Noise Correction Gain Waveform

„ Removing of