Transcript Document

Design of an interface board for the
control and data acquisition of the
Medipix2 chip
D. San Segundo Bello a,b, M. van Beuzekom a, P. Jansweijer a,
H. Verkooijen a, J. Visschers a
a
b
NIKHEF, Kruislaan 409,1098 SJ Amsterdam, The Netherlands
MESA+Research Institute / University of Twente, Enschede, The Netherlands
IWORID 2002
David San Segundo Bello
1
Outline
•Motivation and goals
•Board components
•Power supplies
•Data converters
•Control and data acquisition
•Conclusions
•Future work
IWORID 2002
David San Segundo Bello
2
Motivation and goals
•Design and manufacture board for data acquisition and control
of Medipix2 chip via conventional PC: MUROS2
•Use “off-the-shelf” components.
•Fully digital control (PCI card used in PC handles only digital
signals).
•Maximum flexibility: use programmable logic (Field
Programmable Gate Array)
•Use serial communication implemented in Medipix2 chip.
•For 8 chips chipboard (see talk Alessandro
Fornaini later today).
IWORID 2002
David San Segundo Bello
3
Muros2: block diagram
Muros2
H.V.
Supply
DAC bias
PC (DIO-653X)
FPGA
DACs
pulser
ADC
2
/
32
RX/TX
/
16
/
16
IWORID 2002
x8
/
8
Medipix2
DAC ext.
CLOCK
RX/TX
SerDes
FIFOs
David San Segundo Bello
LVDS
4
Muros2: this is it
IWORID 2002
David San Segundo Bello
5
Muros2 components: Overview
•Power supplies:
-Medipix2 chips
-Internal components
•Data converters:
-4 DACs
-1 ADC
•Voltage references (for data converters)
•Analog multiplexer (works with ADC)
•Clock source (7 MHz < fCK < 30 MHz) adjustable
•Digital transceivers (TTL to CMOS, etc…)
•FPGA (a.k.a. “the brains”)
IWORID 2002
David San Segundo Bello
6
Muros2 components: Power Supplies
•Must deliver power to the Medipix2 chips AND the
internal components used in Muros2:
2.2 V for Medipix2 chips:
Analog (~ 300 mA /chip)
Digital (~ 300 mA / chip)
LVDS (~10 mA / chip)
1.8 V (~100 mA) , 3.3 V (~100 mA) and 5 V (~300 mA) for the
Muros2 components.
•Solution:
Use 5V from National Instruments card
Use external 3.3 V power supply:
Linear regulators for 1.8 V and 2.2 V
IWORID 2002
David San Segundo Bello
7
Muros2 components: Data converters
•Digital to Analog Converters (DAC):
-Bias DAC: control high voltage supply for detectors
-External DAC: override one Medipix2 DAC
-Pulser DACs: for analog test (more later…)
Used National Semiconductor’s 14-bit DAC for all of them
•Analog to Digital Converter (ADC): Used for measuring
values of DACs in Medipix2 chips. Analog multiplexer
selects one out of 8 possible chips.
Used Analog Devices’ 16 bit ADC
IWORID 2002
David San Segundo Bello
8
Control & data acquisition: Overview
•Register controlled: registers in FPGA are used to control Muros2
(data converters, image acquisition modes….).
•32 bit wide bus between NI card and Muros2:16 bits for asynchronous
control signals (RESET, DATA/REG, etc…) and 16 bits for data
transfer
•Data transfer between Muros2 and Medipix2: serial LVDS (data, clock
and token)
LVDS = Low Voltage Differential Signaling:
•Differential: good against E.M.I. and common-mode noise
•Low voltage: lower power dissipation, faster switching (Megabits @
milliwatts)
•Data rates > 400 Mbit/s possible
Why serial? Industry-wide and research move towards serial
data communication schemes: serial ATA, PCI-Express, USB,
FireWire, Gigabit Ethernet,…
IWORID 2002
David San Segundo Bello
9
Control & data acquisition: Blocks diagram
RESET
Data / Registers
Read / Write
Communication
Manager
Reset Medipix2
FIFOs and
SerDes
DATA
Control
Acknowledge
Request
Registers
DATA
Control
DATA
Serial data
Serial data
ADC
DACs, etc...
Control
Medipix2
Clock
Clock x 8
Stop
Busy
Ext. shutter
Clock
IWORID 2002
Commands
Manager
Shutter
Enable (token)
ANIN switch
David San Segundo Bello
10
Control & data acquisition: Registers I
12 registers inside the FPGA for controlling the Medipix2 as well
as components in the Muros2 board:
Configuration Register: Main control
Counter: Control data transmission (count bits transmitted)
Bias DAC: Control bias DAC
Timer: Control shutter
Frame counter : Control shutter
External DAC: Control “external” DAC
Pulse DAC values: Control DACs for analog test
Pulse parameters: Parameters for analog test (number and duration of pulses)
Read-only: Muros2 version number
ADC control: Control ADC
ADC value: Value from ADC (read-only)
Extra I/O: Control extra 32- bit I/O connector for general-purpose use
IWORID 2002
David San Segundo Bello
11
Control & data acquisition: Registers II
Select for writing registers
Begin data transmission
Select which register
Prepare data in PC
Load low 16 bits
Load high 16 bits
IWORID 2002
David San Segundo Bello
12
Control & data acquisition: Data transmission
•FPGA implements:
•Data serialization: from 16-bit PC card (TTL levels) to 1bit Medipix2
•Data de-serialization: from 1-bit Medipix2 to 16-bit PC
card
•LVDS transceivers (1-bit CMOS to/from 1-bit LVDS) not in
“our” FPGA (size/cost), but LVDS is standard in most FPGA
chips (Altera, Xilinx,…)
IWORID 2002
David San Segundo Bello
13
Control & data acquisition: Shutter control
Acquisition modes:
Software controlled (with or without timer): Shutter opens by
writing to one bit in one of the registers
Hardware controlled (with or without timer): Shutter is controlled
by an external signal
Continuous acquisition (“movie mode”): Fully controlled by FPGA,
so no latency due to software/computer
IWORID 2002
David San Segundo Bello
14
Control & data acquisition: Analog test control
Analog
switch
DAC 1
to input analog test
Medipix2 chip
DAC 2
FPGA
Medipix2 chipboard
Muros2
IWORID 2002
David San Segundo Bello
15
Conclusions
•Muros2 has been successfully used with Medisoft4 software
to test 5 Medipix2 wafers
•Tests show that maximum data rates above 100 Mbit/s are
possible. Main limitation seen so far is in maximum speed of
Medipix2 chip: Muros2 alone can transmit/receive data at
data rates > 160 Mbit/s
•Muros2 can evolve in the future thanks to having most
functions implemented in FPGA (reprogramming)
IWORID 2002
David San Segundo Bello
16
Future work
•Increase speed at chip level: new PhD project at
NIKHEF/U. of Twente for high-speed (serial) data
transmission
•Skip interface board (DIO-653X) between Muros2 and
PC. (i.e. implementing PCI bridge in FPGA)
IWORID 2002
David San Segundo Bello
17
Thanks to…
NIKHEF: Ton Boerkamp, Alessandro Fornaini,
Jan van Veen
CERN: Xavier Llopart
Czech T. U. (Prague): Tomas Horazdovski, Zdenek Kohout
Univ. Napoli: Marino Maiorino (now in IFAE Barcelona),
Cristina Montesi, Gianni Mettivier
Univ. Erlangen: Michaela Mitschke
IWORID 2002
David San Segundo Bello
18