Modular & reconfigurable common PCB-platform of FPGA based LLRF control system for TESLA Test Facility

Similar documents
Parameterized control layer of FPGA based cavity controller and simulator for TESLA Test Facility

FPGA based Multichannel Optical Concentrator SIMCON 4.0 for TESLA cavities LLRF Control System

DOOCS environment for FPGA-based cavity control system and control algorithms development

Parameterized diagnostic module implemented in FPGA structures

FPGA based, modular, configurable controller with fast synchronous optical network

Abstract. Keywords: accelerator, superconducting cavity, cavity simulator, cavity controller, Matlab, FPGA, VHDL, multi-gigabit optical links

FPGA based TESLA cavity SIMCON DOOCS server design, implementation and application

Compute Node Design for DAQ and Trigger Subsystem in Giessen. Justus Liebig University in Giessen

Research Group on Internet Measurement Institute of Electronic Systems Warsaw University of Technology

Copyright 2007 Society of Photo-Optical Instrumentation Engineers. This paper was published in Proceedings of SPIE (Proc. SPIE Vol.

RPC Trigger Overview

S2C K7 Prodigy Logic Module Series

HCAL DCC Technical Reference E. Hazen - Revised March 27, 2007 Note: Latest version of this document should be available at:

1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7.

CHAPTER 1 Introduction of the tnano Board CHAPTER 2 tnano Board Architecture CHAPTER 3 Using the tnano Board... 8

FPGA FIRMWARE FRAMEWORK FOR MTCA.4 AMC MODULES*

4. Hot Socketing & Power-On Reset

Porting VME-Based Optical-Link Remote I/O Module to a PLC Platform - an Approach to Maximize Cross-Platform Portability Using SoC

Prototyping NGC. First Light. PICNIC Array Image of ESO Messenger Front Page

The Trigger-Time-Event System for the W7-X Experiment

TEST REPORT POWER SUPPLY AND THERMAL V2

PETsys SiPM Readout System

SMT9091 SMT148-FX-SMT351T/SMT391

Vertex Detector Electronics: ODE to ECS Interface

Trends in Prototyping Systems. ni logic Pvt. Ltd., Pune, India

BES-III off-detector readout electronics for the GEM detector: an update

Ettus Research Update

Ignacy Kudla, Radomir Kupczak, Krzysztof Pozniak, Antonio Ranieri

Readout Systems. Liquid Argon TPC Analog multiplexed ASICs SiPM arrays. CAEN 2016 / 2017 Product Catalog

Typical modules include interfaces to ARINC-429, ARINC-561, ARINC-629 and RS-422. Each module supports up to 8 Rx or 8Tx channels.

Fast data acquisition measurement system for plasma diagnostics using GEM detectors

μtca-based Controller

ISO/IEC 11801: (E)

Design and Research of Virtual Instrument Development Board

Introduction to LabVIEW and NI Hardware Platform

Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide

SoC Platforms and CPU Cores

Signal Conversion in a Modular Open Standard Form Factor. CASPER Workshop August 2017 Saeed Karamooz, VadaTech

Qsys and IP Core Integration

PCI, PCIe, mpcie, cpci, and PC104+ Plus Modules

A Fast Ethernet Tester Using FPGAs and Handel-C

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Hardware Design with VHDL PLDs IV ECE 443

L2: FPGA HARDWARE : ADVANCED DIGITAL DESIGN PROJECT FALL 2015 BRANDON LUCIA

PROFIBUS-DP to G-64 CONFIGURABLE INTERFACE

Board Mounted. Power Converters. Digitally Controlled. Technical Paper 011 Presented at Digital Power Europe 2007

ENVIRONMENTAL DATA ACQUISITION BASED ON 1-WIRE INTERFACE

A Low-Cost Embedded SDR Solution for Prototyping and Experimentation

FPGA based charge fast histogramming for GEM detector

arxiv: v1 [nucl-ex] 26 Oct 2008

Sub-Station Station. Secondary Sub. Sub- Distribution. Network. Distribution Panel. Distribution. Panel

High Bandwidth Electronics

MMusb245RL User s manual. Many ideas one solution

Advanced NI-DAQmx Programming Techniques with LabVIEW

EMBEDDED HARDWARE. Core Board. ARM7 Development board. ARM7 Evaluation Board. Page 1 of 5

The Cubesat Internal bus: The I2C

Section 3. System Integration

New! New! New! New! New!

Digital Integrated Circuits

ECE 480 Team 5 Introduction to MAVRK module

MDC Optical Endpoint. Outline Motivation / Aim. Task. Solution. No Summary Discussion. Hardware Details, Sharing Experiences and no Politics!

System-on-a-Programmable-Chip (SOPC) Development Board

MPGD dedicated HV system. MLAB ICTP Miramare (TS) MPGD-dedicated HV system TASK 6. These slides and its contents are for INTERNAL use only

arxiv: v2 [nucl-ex] 6 Nov 2008

CompuScope 3200 product introduction

Design of Pulsar Board. Mircea Bogdan (for Pulsar group) Level 2 Pulsar Mini-Review Wednesday, July 24, 2002

Design Concepts For A 588 Channel Data Acquisition & Control System

VXS-610 Dual FPGA and PowerPC VXS Multiprocessor

The hardware implementation of PXI/PXIe consists of a chassis, controller or computer interface, and peripheral cards.

Introduction to VHDL Design on Quartus II and DE2 Board

EPIC board ensures reliability in the toughest environment

Programmable E-Line Quick Start & Information

Open Platform for Developing and Testing Smart Grid Automation Systems. Igor Alvarado National Instruments Corp.

FPGA Development Board Hardware and I/O Features

A12C - 6U VMEbus MPC8245 SBC / PMC

16 Serial Channel I/O Module

CONV-TTL-BLO Production Test Suite

CompuScope Ultra-fast waveform digitizer card for PCI bus. APPLICATIONS. We offer the widest range of

July 19, 1999 (Version 1.0) White Paper

Physics 623. FPGA I Construction of a Synchronous Counter Aug. 4, 2008

BlazePPS (Blaze Packet Processing System) CSEE W4840 Project Design

The Nios II Family of Configurable Soft-core Processors

SBC-COMe FEATURES DESCRIPTION APPLICATIONS SOFTWARE. EnTegra Ltd Tel: 44(0) Web:

Part 1 of 3 -Understand the hardware components of computer systems

0.1 Slow Monitoring and Recording System

HSMC-NET. Terasic HSMC-NET Daughter Board. User Manual

Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION

High Speed SPI Slave Implementation in FPGA using Verilog HDL

Research on Sine Dynamic Torque Measuring System

GPS time synchronization system for T2K

Design of a Gigabit Distributed Data Multiplexer and Recorder System

An Universal USB 3.0 FIFO Interface For Data Acquisition

FPGA memory performance

VXS-621 FPGA & PowerPC VXS Multiprocessor

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP(

Cisco Prisma II Platform

CTF3 BPM acquisition system

Detector Data Acquisition Hardware Designs and Features of NGC (New General Detector Controller)

FPGA design with National Instuments

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses

Transcription:

TESLA Report 2005-04 Modular & reconfigurable common PCB-platform of FPGA based LLRF control system for TESLA Test Facility Krzysztof T. Pozniak, Ryszard S. Romaniuk Institute of Electronic Systems, Nowowiejska 15/19, 00-665 Warsaw, Poland Krzysztof Kierzkowski Institute of Experimental Physics, Hoza 69, 02-093 Warsaw, Poland ABSTRACT The paper includes a description of predicted functionalities to be implemented in a universal motherboard (MB) for the next generation of LLRF control system for TESLA. The motherboard bases on a number of quasi-autonomous embedded executive modules. The modules are implemented in a few FPGA chips featured by the MB. The paper presents a practical design of the MB. The initial (basic) solution of the MB has the Cyclone as the chip where the board management is embedded. The board features communication modules VME and micro, single chip PC with Ethernet. The board provides power supply for the FPGA chips. The board has fast internal communication between particular modules. Keywords: Super conducting cavity, FPGA, VHDL, Ethernet, VME, Altera, Xilinx. 1 INTRODUCTION The mother PCB for the next generation LLRF control system (LLRF-MB) should be a universal, modular and reconfigurable platform to accommodate a number of specialized functional modules. It is assumed now that the modules base on the programmable FPGA chips of sufficient resources (fast clock, fast FIFOs, large enough memory, DSP blocks, large number of LCELLs, large number of I/O ports). It is also assumed that the external communication to the LLRF control system is provided by very fast optical links. Such an assumption allows to extract common components existing inside the LLRF control system. Extraction of common components avoids repetition of the same functionalities in different modules throughout the system. The repetition results in resource losing and performance decreasing. The identification and extraction of common functionalities in the system results in considerable simplification of the hardware and allows for parameterization and standardization of software control modules. The design process embraces narrower extent of functional requirements. The parameterization of common functional blocks makes the design more flexible, thus, saving the labor time and project costs. The general functional block diagram of the common hardware platform was presented in fig. 1. The LLRF SC cavity control platform consists of the following components: 1. The major and central component is PLATFORM CONTROLLER (PC). The tasks of the PC are: communication with standard external I/O interfaces; internal communication with particular functional blocks; distribution of fast control and synchronization signals among the blocks and to/from the external parts of the system.

Fig. 1. General idea of the, FPGA based, hardware platform for the next generation LLRF control system for TESLA. 2. The particular slots of the functional blocks have fast direct connections with the rest of modules. This solution provides synchronous work of particular modules and fast data exchange, checking, operator s and control signals exchange. 3. A common power supply system provides the slots with typical voltages required for contemporary FPGA chips, drivers, converters, and analog components. 4. The integration (of the blocks residing on the LLRF MB) with the external parts of the LLRF control system is realized via the EXTERNAL CONNECTION blocks positioned on particular modules. Such a solution provides separation between the general platform structure from the current configuration of the LLRF system realization. The changes in the LLRF system concern only modification of a few particular functional modules (not the whole LLRF MB). 2 FUNCTIONAL STRUCTURE OF THE LLRF CONTROL PLATFORM FOR TESLA EXPERIMENT The universal hardware platform designed for the LLRF control system [1,2] was adapted to the key requirements of the TESLA (test facility) experiment. The possibility to control the system via the VME bus was provided [8] as well as the operator s access and computer network control via the DOOCS [9]. The platform takes also into account the system clock timing and very stable reference signal distribution throughout the whole distributed experiment resources. The distributed modules have to work in the synchronous regime. Fig. 2. shows functional structure of the hardware platform for the debated, FPGA based LLRF control system. The block of PLATFORM CONTROLLER consists of three cooperating modules:

Fig. 2. Functional structure of the FPGA based hardware platform for the LLRF control system. The VME bus standard communication is realized by the module VME-BUS CONTROLLER (see paragraph 3.1). It is a passive control variant, where the whole supervision over the LLRF is done by the external controller. This solution provides integration of the hardware platform for LLRF and all functional modules with the DOOCS programming environment [9]. The control is provided by the SUN-SPARC computer, which has the VME controller. The active control method is provided by alternative (optional) communication module PC-EMBEDDED CONTROLLER (see paragraph 3.1). Implementation of a PC class computer (either single chip with embedded OS in hardware solution, or totally software based - like NIOS) enables realization of the complex checking and control operations over the LLRF and signal processing, hardware and data monitoring and data acquisition. The standard Ethernet port is used to communicate with the external monitoring and supervision systems and between particular platforms of the LLRF system [4,7]. The module DATA & TIMING CONTROLLER provides global distribution of very fast synchronizing signals (see paragraph 3.3) and data (see paragraph 3.4) to all the slots. The distribution system was implemented in the programmable chip. Thus, its functionality and extent of the internal programming may be modified depending on the current requirements of the LLRF system and functional modules configuration in the slots of the hardware platform. The communication inside the platform, among the modules (see paragraph 3.1) is realized by the proprietary standard INTERNAL INTERFACE [3,6]. The modules VME-BUS CONTROLLER and PC-EMBEDDED CONTROLLER fulfill the roles of communication bus controllers ( master ). The rest of the modules and slots work as slave. The communication layer of the platform with the external computer system provides

programmable configuration mechanisms for FPGA chips which are situated on the platform (see paragraph 3.2) and placed in the slots A - D. The platform possesses four universal user slots designed for functional modules. The slots A, B and C are configured in a parallel way, i.e. peer to peer, but the slot D was configured as the central one. The direct signal connections are provided between the slots. They enable transmission of fast synchronizing signals (see paragraph 3.3.) and data (see paragraph 3.4). 3 HARDWARE PLATFORM FABRICATION FOR LLRF CONTROL SYSTEM The hardware platform for the LLRF control system was realized as a multilayer PCB of the EURO-6HE standard. The board has standard two P1 and P2 VME-BUS connectors [8]. Fig. 3. presents the front side of the of the board, while fig. 4. its rear side. PC EMBEDDED SLOT VME BUS SLOT SLOT A SLOT D SLOT B SLOT C Fig. 3. Front side of the hardware platform for the LLRF control system. Fig. 4. Rear side of the hardware platform for the LLRF control system. The front side of the platform PCB contains: Slots for daughter boards (MODULES) for communication VME-BUS CONTROLLER and PC-EMBEDDED CONTROLLER; Module DATA & TIMING CONTROLLER implemented totally in the FPGA matrix CYCLONE by Altera; Block POWER SUPPLY consists of a few nondependent resistive voltage stabilizers. The PS module provides the following voltages: 1.5V, 1.8V, 2.5V, 3.3V Connectors for the VME-BUS (J1 i J2), connector RS-232C (to the terminal of PC- EMBEDDED), socket ETHERNET 100T and USB 1.0. Slot for the D module. The rear side of the platform PCB features A, B and C slots.

3.1 Tiers of the computer communication system The computer communication system is realized as a double level system, what was presented in fig. 5. The first level embraces modules VME-BUS CONTROLLER and PC-EMBEDDED CONTROLLER, which work as master devices. They realize the conversion of appropriate commercial communication standards to the second layer. The second layer is realized by INTERNAL INTERFACE [3]. The II provides internal communication in the slave work Fig. 5. Functional structure of the two layered computer communication system. regime with all the functional modules of the platform positioned in slots A - D. The implemented version of the INTERNAL INTERFACE standard includes 32-bit data bus, 32-bit address bus and set of lines managing the communication. From the PC control network side, the INTERNAL INTERFACE bus opens the address space and data space and enables access cycles for each slave module positioned on the hardware platform for the LLRF. The choice of the individual address space is done by recognition of a unique identification number for a slot: A=0, B=1, C=2, D=3. The identification number is determined by two set logical states transmitted by separate link to the slot connector. The drivers working as master are connected in parallel to the INTERNAL INTERFACE bus by three-state buffers ( Z DRIVERS). The choice of active driver is done on the basis of arbitrating line logical states. The state may be set by the user using the S switch or automatically by the cooperating drivers. Fig. 6. Controller module PC-EMBEDDED Fig. 7. Controller module VME-BUS

The controllers of the INTERNAL INTERFACE bus are situated in dedicated slots. They can be exchanged for newer versions or the ones with more functionalities. The base board contains only the necessary sockets and connectors and standard interfacing circuits (see fig. 5). Fig. 6 presents the PC-EMBEDDED module, which is used at the moment [7]. The module is realized using a single chip PC (ETRAX 100 XL). The ETRAX is equipped in Ethernet 100T, USB 1.0, and RS-232 interfaces to communicate with the terminal. The embedded PC operates under the Linux OS. The hardware communication converter was implemented in the FPGA chip ACEX 100K by Altera [10]. The programming (configuration) of the FPGA matrix is realized by ETRAX chip. The controller of VME-BUS, which is shown in fig. 7 was realized in the FPGA ACEX 100K matrix chip by Altera. The FPGA chip is configured automatically with the aid of the EEPROM memory just after switching on the power supply. The module services the slave A24-D32 work mode of the access to the VME bus. The 4-bit base address of the module is equivalent to the base address of the hardware platform for the LLRF system. To obtain the range of 32 bits of the address in the internal bus INTERNAL INTERFACE is done via the usage of the paging mechanism. 3.2 Hierarchical configuration of FPGA chips Application of FPGA matrices enables multiple modifications of the LLRF system functionalities, without the need to do any hardware changes. Fig. 8 presents (from the functional side) the hierarchical configuration of the FPGA chips realized on the debated hardware platform. Fig. 8. Functional structure of the hierarchical configuration of FPGA chips on the hardware platform for the LLRF system. The configuration of the chips is done during consecutive stages. The configuration of the module DATA&TIMING CONTROLLER (Altera Cyclone 100K) is done in the first step. It is done by the active controller of the bus INTERNAL INTERFACE via the JTAG chain [10,11] or the bus PASSIVE SERIAL (ALTERA) [10]. After the activation, this module makes accessible four nondependent JTAG chains connected to the slots A - D. This solution enables full reconfiguration of JTAG chains in the internal structure of the FPGA matrix of the module DATA & TIMING CONTROLLER. The individual control is possible in each of the slots. Broad usage of the JTAG standard is justified by its hardware implementation in all big FPGA matrices accessible on the market. The vendors offer also programming tools for the users in the open source form [10,11]. These tools are used to do own configurations of the system.

3.3. Distribution of fast synchronization signals Distribution of fast synchronizing signals was divided into two groups: distribution of clock signals and distribution of triggering signals. The general configuration of the distribution network for synchronization signals between particular slots was presented in fig. 9. Fig. 9. Functional structure of fast synchronization signals for the LLRF system. The central distribution module of fast synchronization signals is positioned in slot D. There were implemented four nondependent clock lines (MC) and trigger lines (MT). Each of these lines is separately multiplied to the slots A - C. This way provides electrical separation and impedance separation between the modules positioned in the slots. The module DATA & TIMING CONTROLLER possesses the possibility to distribute a single global cock signal (PC) and trigger signal (PT). These signals are multiplied and electrically separated for the slots A - D. The local oscillator of 40MHz is connected to the modules to provide the autonomous work of the board. The autonomous work mode is used for servicing purposes. Each of the slots A - D is connected with the module DATA & TIMING CONTROLLER by a single duplex signal line of general purpose. This module may be used as a programmable re-distributor. 3.4. Distribution of fast data signals The distribution of fast signals bases on 32 line point-to point buses. The connection wiring realized on the LLRF hardware platform does not contain the terminators. The complete interconnections between modules and slots are presented in fig. 10. The configuration of fast data interconnections bus consists of three sections: 1. The signal buses A-D provide individual connections of the module DATA & TIMING CONTROLLER respectively with the slots A - D. The module may work in a hierarchical set up (centralized and acquisition) or as a data re-distributor. Using of the FPGA Cyclone to realize the module provides individual programming of the re-distribution network. The internal implementation of programmable reconfigurability of interconnections is possible. 2. The signal buses DA, DB and DC provide individual connections of the central slot D respectively with the slots A - C. The module may work in hierarchical set up (centralized, archiving) or as a re-distributor of data.

Fig. 10. Functional structure of all connections between hardware platform slots for the LLRF system. 3. The signal buses AB, BC and AC realize individual connections in a flat triangular set up. These are peer-to-peers connections respectively between the slots A - C. The buses provide, in this way, the fast data exchange between arbitrary slots and allow grouping of modules. The realization of individual hierarchical structures between the slots A C is possible. 4. CONCLUSIONS This paper synthetically describes the functional structure of the modular hardware platform for the LLRF control system. The platform is a universal, modular, reconfigurable backbone for specialized functional, FPGA based modules. The major idea of the system is presented. An advanced PCB was designed and practically realized in the 6HE size (EURO standard) for the LLRF control system. The common and repeating functionalities can be extracted from the LLRF system. It reduces the need to multiply some of the components in the functional modules. These components include: power supply for FPGA chips, communication with computer network, FPGA chip configuration, etc All the technical details of the design were fit to the needs of the TESLA and X-FEL experiments requirements. The hardware platform has VME-BUS communication interface to co-operate with the DOOCS management and programming environment. A sub-system of fast clock and trigger signal distribution was realized. The configuration of four user s slots provides realization of flat or hierarchical interconection network. The network realizes data transmission and synchronization. A big network flexibility configuration is embedded in this system, which can be tailored to the current needs.

There were performed and now are under tests two functional modules compatible with the hardware platform for the LLRF control system: Module for fast optical transmission. It contains duplex links for 2.4Gbps. The links are designed to concentrate the data flows. The control module for the LLRF system. It contains FPGA VirtexII V40000 chip with DSP blocks, 8 A/D channels and 4 D/A channels. It is designed to control the SC resonant cavities and the RF gun 5. ACKNOWLEDGEMENT We acknowledge the support of the European Community Research Infrastructure Activity under the FP6 "Structuring the European Research Area" program (CARE, contract number RII3-CT-2003-506395) 6. REFERENCES 1. T.Czarski, R.S.Romaniuk, K.T. Pozniak Cavity Control System, Models Simulations For TESLA Linear Accelerator, TESLA Technical Note, 2003-09: 2. T.Czarski, K.T.Pozniak, R.Romaniuk, S.Simrock: TESLA Cavity Modeling and Digital Implementation with FPGA Technology Solution For Control System Purpose, TESLA Technical Note, 2003-28 3. K.T.Poźniak, K.Kierzkowski, R.S.Romaniuk: Parameterized Control Layer of FPGA Based Cavity Controller and Simulator for TESLA Test Facility, TESLA Report 2003-30 4. W.M.Zabolotny, P.Roszkowski, K.Pozniak, R.S.Romaniuk, K.Kierzkowski, S.Simrock: Distributed Embedded PC Based Control and Data Acquisition System for TESLA Cavity Controller and Simulator, TESLA Technical Note, 2003-34 5. K.T.Pozniak, R.S.Romaniuk, T.Czarski, W.Giergusiewicz, W.Jalmuzna, K.Olowski, K.Perkuszewski, J.Zielinski, S.Simrock FPGA and Optical Network Based LLRF Distributed Control System for TESLA-XFEL Linear Accelerator, TESLA Technical Note, 2004-9 6. W. Koprek, P.Kaleta, J.Szewinski, K.T.Pozniak, T.Czarski, R.S.Ronmaniuk: Software Layer for FPGA-Based TESLA Cavity Control System (Part I), TESLA Technical Note, 2004-10 7. P.Roszkowski, W.M.Zabolotny, K.Pozniak, R.S.Romaniuk, K.Kierzkowski, S.Simrock: Prototype Implementation of the Embedded PC Based Control and DAQ Module for TESLA Cavity SIMCON, TESLA Technical Note, 2004-11 8. W. Petersen The VMEbus Handbook 9. http://tesla.desy.de/doocs/ [DOOCS Homepage] 10. http://www.altera.com/ [Altera Homepage] 11. http://www.xilinx.com/ [Xilinx Homepage]