Cern

CERN TMS Overall Operation

Introduction

This document provides an overview of the operation on the CERN TMS. More details on the software API and other aspects are available at: https://portal.beam.ltd.uk/support/cern/.

Startup

On power up the system controller and module controllers will boot and start off the TMS programs and load the FPGA's with their firmware. A default configuration of logical to physical PickUp channel configuration will be loaded. The FPGA state and phase tables will be undefined. A basic test of all PUPE engines and controller's will be performed.

Operation - Control

  • A CERN program will use the TmsApi and call the setNextCycleNumber() function with the number of the next PS machine's cycle for every machine cycle. This should occur a few ms before the CYCLE_START event.
  • A CERN program will call the TmsApi setControlInfo() function with the FPGA state and phase table parameters for a particular cycle number. These parameters will be loaded into the FPGA's on the given cycle number and will remain in force until anothersetControlInfo() function has set up different parameters for a given cycle number. The  setControlInfo() function will configure all of the FPGA with the same information apart from the frefPhaseDelay parameter. It is also possible to configure pickup's individually if required although it is expected that each PickUp will use the same information.

Operation - Data Gathering

Any number of CERN applications can call the TmsApi function getData() or the requestData() function to fetch data from the system. This can include TMS monitoring applications.

Test/Maintenance Interface

The test interface allows an application to perform tests on the system including using the diagnostics mode of the PUPE engine to capture raw analogue data and digital data.
It is also possible to reconfigure the logical to physical PickUp channel configuration table on the fly to swap PUPE engines if required.
A TMS monitoring application can view the data gathered from the system as well as system statistics.