TPC Electronics Meeting, 13/01/05 Carmen González Gutiérrez

Slides:



Advertisements
Similar presentations
Peter Chochula CERN-ALICE ALICE DCS Workshop, CERN September 16, 2002 DCS – Frontend Monitoring and Control.
Advertisements

TPC DETECTOR SEGMENTATION OF THE READOUT PLANE LATERAL VIEW OF THE TPC
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
Introduction of Holtek HT-46 series MCU
6-1 I/O Methods I/O – Transfer of data between memory of the system and the I/O device Most devices operate asynchronously from the CPU Most methods involve.
Readout of TPC with modified ALICE electronics details of current version and pending items ALICE overview New software based on homemade partly existing.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
SVT TDR meeting – March 30, 2012 List of peripheral blocks for SVT strip readout chips.
David Nelson STAVE Test Electronics July 1, ATLAS STAVE Test Electronics Preliminary V3 Presented by David Nelson.
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 1 UiB DR 2003 High Level API for the TPC-FEE control and configuration.
NS Training Hardware. System Controller Module.
ARM Timers.
Normal text - click to edit RCU – DCS system in ALICE RCU design, prototyping and test results (TPC & PHOS) Johan Alme.
Digital to Analogue Converter
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
Bernardo Mota (CERN PH/ED) 17/05/04ALICE TPC Meeting Progress on the RCU Prototyping Bernardo Mota CERN PH/ED Overview Architecture Trigger and Clock Distribution.
Direct Memory Access Module MTT M DIRECT MEMORY ACCESS MODULE (DMA)
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
1 Dong Wang, Yaping Wang, Changzhou Xiang, Zhongbao Yin, Fan Zhang, Daicui Zhou (Huazhong Normal University, China) Status and planning on common readout.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
System Integration Module MTT Motoola SYSTEM INTEGRATION MODULE (SIM)
LC Power Distribution & Pulsing Workshop, May 2011 Super-ALTRO Demonstrator Test Results LC Power Distribution & Pulsing Workshop, May nd November.
CCU25 Communication and Control Unit ASIC in CMOS 0.25 μm Ch.Paillard
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
The ALICE TPC Readout Control Unit 10th Workshop on Electronics for LHC and future Experiments 13 – 17 September 2004, BOSTON, USA Carmen González Gutierrez.
October 12th 2005 ICALEPCS 2005D.Charlet The SPECS field bus  Global description  Module description Master Slave Mezzanine  Implementation  Link development.
Status and Plans for Xilinx Development
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Digital Logic Design Alex Bronstein
Firmware for the CPLD on the RCU
Serial mode of data transfer
Outline Analog to digital conversion (ADC) of NuMaker TRIO
The 8085 Microprocessor Architecture
SCADA for Remote Industrial Plant
Microcontroller Applications
ECE 353 Introduction to Microprocessor Systems
Inter-IC Bus (I C) 2.
Iwaki System Readout Board User’s Guide
Direct Memory address and 8237 dma controller LECTURE 6
The 8085 Microprocessor Architecture
Programmable Interval Timer
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
CS 286 Computer Organization and Architecture
Dr. Michael Nasief Lecture 2
Programming Microcontroller
The 8085 Microprocessor Architecture
I2C PROTOCOL SPECIFICATION
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Torsten Alt, Kjetil Ullaland, Matthias Richter, Ketil Røed, Johan Alme
Introduction to Microprocessors and Microcontrollers
Subject Name: Digital Signal Processing Algorithms & Architecture
VELO readout On detector electronics Off detector electronics to DAQ
ECE 354 Computer Systems Lab II
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
NA61 - Single Computer DAQ !
8085 Microprocessor Architecture
전자의료시스템 및 실습 System Configuration/Interrupt
Tests Front-end card Status
Computer Organization
ADC External RAM Config (4x1Mbit) EPROM Front LEDs LED Controller Box
The 8085 Microprocessor Architecture
DS1620 Digital Thermometer and Thermostat
8051 Micro Controller.
Splash.
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Multi Chip Module (MCM) The ALICE Silicon Pixel Detector (SPD)
Chapter 13: I/O Systems.
Preliminary design of the behavior level model of the chip
Presentation transcript:

TPC Electronics Meeting, 13/01/05 Carmen González Gutiérrez Slow Control TPC Electronics Meeting, 13/01/05 Carmen González Gutiérrez

Slow Control Architecture RCU Local Slow Control Interface commands error BC Ethernet central DCS interrupt warnings FEC Result Memory DCS board Local Slow Control bus ~ I2C protocol: 2 unidirectional serial data lines 1 serial clock line

Board Controller Enable the clocks and the power supply of the board Control the power state, voltages, currents and temperature of the FECs 4-channel ADC with a temperature sensor and I2C Interface compare the result with a configurable thresholds Register the errors of the board Alert the RCU (INTERRUPT) in case of an abnormal situation in the board Control the enable of the transceivers in INPUT or OUTPUT Launch the ALTRO TEST MODE isolate the card from the Readout bus set the ALTRO in Test Mode store the data with a number of words and under-sampling ratio configurable Scan the EVENT LENGTH of the ALTRO for the Readout optimization BC is master of the ALTRO set 128-bit EVL register (1 bit per channel) send the EVL register value in 4 - 40 bit words to the ALTRO bus Interface Counters L1 and L2 counters Sampling clock counter Data Strobe counter

Read acquisition memory Register Table Mnemonic Reg. Name Width Acc. Mode Allow Bcast T_TH Temperature Thr. 10 R/W Y AV_TH AV threshold AC_TH AC threshold DV_TH DV threshold DC_TH DC threshold TEMP Temperature R N/A AV Analog Voltage AC Analog Current DV Digital Voltage DC Digital Current L1CNT L1 Counter 16 L2CNT L2 Counter SCLKCNT Sampling clk counter DSTBCNT Data Strobe counter 8 TSMWORD Test Mode Word 9 USRATIO Under sampling ratio CSR0 Configuration Status 0 CSR1 Configuration Status 1 CSR2 Configuration Status 2 CSR3 Configuration Status 3 CNTLAT Counters Latch - W Y CNTCLR Counters Clear CSR1CLR Conf. St. Reg 1 Clear ALRST ALTRO Reset BCRST BC Reset STCNV Start Conversion mADC SCEVL Scan event length W * EVLRDO Read event length N/A STTSM Start Test Mode ACQRDO Read acquisition memory

Slow Control Architecture RCU Local Slow Control Interface commands BC Ethernet central DCS interrupt warnings FEC Result Memory DCS board Local Slow Control bus ~ I2C protocol: 2 unidirectional serial data lines 1 clock line

Instruction Sequence

Instruction Sequence Every transaction requires the following sequence (6 words) start condition (1 clock cycle) 1 byte (9 clock cycles) bit [0] : read / write bit [1..4] : FEC address bit [5] = x bit [6] : bcast bit [7] = x WAIT FOR THE ACKNOWLEDGE FROM THE ADDRESSED CARD bit [0..4] : register address to access in the BC bit [5..7] : x 2 bytes (18 clock cycles) bit [0 ..7]: DATA WAIT FOR THE ACKNOWLEDGE FROM THE ADDRESSED CARD AFTER EACH BYTE stop condition (1 clock cycle)

Local Slow Control Architecture Local Slow Control Module Instruction Sequence (6 words) address Instruction Sequence Builder Sequencer data command addresser we sda_in Send information about: write or read cycle FEC address, broadcast register address BC scl MASTER sda_out RESULT Memory

Normal mode The DCS sends commands continuously to the SCM for monitoring the FEC Temperature Digital and Analog Voltages Digital and Analog Currents Control of triggers send in broadcast the command to latch the counters in the BCs compare the value of all the counters The DCS reads the values and controls the margins of each parameter RCU Local Slow Control Interface DCS board commands BC Master CENTRAL DCS FEC Result Memory Local Slow Control bus

Board Controller, ERRORS Errors asserted by the BC Temperature over threshold Analog or Digital voltages under threshold Analog or Digital currents over threshold Power supply error (related to the ALTRO or the PASA) Missing sampling clk Protocol errors (from the ALTRO bus or the Slow Control) ALTRO error Error asserted by the voltage regulators that supply: GTL transceivers FPGA Clock distribution EPROM mADC THESE ERRORS ASSERT THE INTERRUPT OR THE ERROR LINE power regulator ALTRO ps_error power regulator PASA ps_error power regulator GTL, FPGA, clock interrupt power regulator EPROM, mADC interrupt

INTERRUPT Different procedures will start depending of the error: RCU Local Slow Control Interface commands interrupt BC Master warnings DCS board FEC Result Memory Local Slow Control bus What the Slow Control Module does if the RCU receives an interrupt ? The SCM starts polling the error register of each FEC (via the Local Slow Control bus) to identify the source (which FEC and the error) Different procedures will start depending of the error:

INTERRUPT “Hard” errors “Soft” errors Analog or Digital currents over thresholds Power supply errors ALTRO or PASA power supply errors Error in the power regulator that supply GTL transceivers, FPGA, clock distribution, EPROM and monitor ADC Switch off immediately the card and inform the DCS “Soft” errors Temperature over threshold Analog or Digital voltages under threshold Missing sampling clk Remove the card from the READOUT LIST, mask that error in the BC and inform the DCS

In case of INTERRUPT: BC Local Slow Control Module Instruction Sequence address Instruction Sequence Builder Sequencer data command addresser we Send information about: write or read cycle FEC address, broadcast register address sda_in scl MASTER sda_out BC warning to the DCS Interrupt driver Interrupt Readout List Depending of the Interrupt: Switch off the card, inform the DCS Remove the card from the Readout List, mask the error, inform the DCS

Status of the work Completed tested Performance: All the functions of the BC: Write/Read the configuration parameters Read all the parameters of the board (temp, voltages, currents, counters …) ALTRO Test mode ALTRO Readout optimization Error flags Interrupt assertion The communication between the SCM and the BC Performance: The Local Slow Control network runs at a clock frequency of 5 MHz. The protocol requires the transmission of a large number of control words. A single 16-data bit transaction, e.g., requires 8 µs. When an interrupt occurs, the RCU starts polling the error/status register of all FECs of one branch. This action could require up to 100 µs in the case of a readout partition with 13 FEC/branch.

Status of the work Work to be done: Complete definition and implementation of the response to an Interrupt in the SCM Definition of all the routines in the DCS In normal mode (monitor the status of the cards) Safety procedures in case of problems