IPOC Software for LBDS Data Acquisition & Analysis LBDS Technical Audit 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. Controlling of LHC beam permit. 2
IPOC - System Components 3
IPOC - FAAS Hardware 4 identical cPCI crates for 2 beams: 2 crates using Pearson current sensors. 2 crates using Rogowski current sensors. Fast Analog Acquisition System: 1 PSU 8 NI PXI-5122 cPCI cards: 2 channels 14 bits 100 MS/s 30’000 samples acquired per channel 1 CPU cPCI card 1 CTRP PMC card Receives beam energy. Receives dump trigger. Issues the beam permit to BIS. 4
IPOC - Software Overview Development involves: FESA server. IPOC Explorer java control application. Configuration of AB/CO services 5
IPOC - FESA Server Only 1 FESA class Deployed as single-process: 1 Single process 1 Server library 1 RT library 1 Data memory segment (No critical real-time parts). 6
IPOC - FESA Instances Rogowsky current sensor: Beam 1 (FEC: cfi.ua63.mkdpm1) 15 LhcMkdIpocNi instances MKD.UA63.IPOC1.AB1 … MKD.UA63.IPOC1.OB1 Beam 2 (FEC: cfi.ua67.mkdpm1) 15 LhcMkdIpocNi instances MKD.UA63.IPOC1.AB1 … MKD.UA63.IPOC1.OB1 Pearson current sensor: Beam 1 (FEC: cfi.ua63.mkdpm2) 15 LhcMkdIpocNi instances MKD.UA63.IPOC2.AB1 … MKD.UA63.IPOC2.OB1 Beam 2 (FEC: cfi.ua67.mkdpm2) 15 LhcMkdIpocNi instances MKD.UA63.IPOC2.AB1 … MKD.UA63.IPOC2.OB1 = 60 FESA instances 7
IPOC - FESA Main Properties LhcMkdIpocNi class: Statusget the system’s status and operating mode. Settingset the system’s operating mode. ReArmrearms the system in case of analysis error. Resetresets the system in case of hardware error. Waveformget the acquired current waveform. IpocResultsget the results of analysis & check. 8
IPOC - FESA Main Modes ACQUIRING : Scope cards are acquiring. Beam injection permitted. TRIGGERED : Read waveform from scope cards. Beam injection not permitted. ANALYSING: Waveform available for XPOC. Performing waveform analysis. ANALYSED_OK : No problem detected Can set mode = ACQUIRING ANALYSED_ERROR : Tracking problem detected Must use ReArm property. 9
IPOC – Waveform Processing Removing of the offset to the waveform: Offset is computed from pre-trigger data. Removing high frequency noise: 399 coefficients low-pass FIR filter (fc 2.5 MHz). Correction of cable frequency response: 4 Second-Order-Section IIR filters. Compensation of cable losses: Adjust the overall gain. 10
IPOC – Waveform Analysis P1: 100% P2: Start P3: Threshold P4: Overshoot 1 P5: Overshoot 2 P6: End P7: One-turn ( units: [us] / [KA] ) 11
IPOC - Check Current related values: 100% Current [KA] Overshoot 1 [%] Overshoot 2 [%] One-turn [%] Time related values: Delay [us] Rise time [us] Kick length [us] Synchro time [us] Computed values, checked against predefined limits: 12
IPOC - Logging Data Data logged after every dump to Measurement & Logging database: Acquisition time stamp [ns] Energy [GeV] Analysis results P1 - P7 times [us] P1 - P7 currents [KA] isValid [bool] Computed data 100% Current [KA] Overshoot 1 [%] Overshoot 2 [%] One-turn [%] Delay [us] Rise time [us] Kick length [us] Synchro time [us] Check result ipocCheck [bool] 13
IPOC – XPOC Data Recorded waveform, saved to SDDS files after every dump: Acquisition time stamp [ns] Energy [GeV] Waveform: Start time [us] Sample period [us] Waveform data [KA] isValid [bool] 14
IPOC - Statuses & Alarms Analysis check error: Status = OK Alarm = WARNING “IPOC check failed.” Must use the ReArm property. Hardware error: Status = ERROR Alarm = ERROR “Scope error occurred.” Must use the Reset property. 15
IPOC Explorer application This application shows: The list of all IPOC FECs. The list of all IPOC devices on the selected FEC. Status and Mode of all IPOC devices. Controls for the selected FEC. TimeStamp, Energy, RAW waveform and Analysis results of last dump for the selected device. 16
IPOC - Logging data example 100% current [KA] Rise time [us] 3 days logging of FAAS for kicker MKD-A beam 1. 17
IPOC - XPOC data example Current [KA] XPOC buffer of FAAS for kicker MKD-A beam 1. 18