Download presentation
Presentation is loading. Please wait.
Published byByron Welch Modified over 9 years ago
1
IWORID2004 Glasgow1 Design and test of a data acquisition system based on USB interface for the Medipix2 chip Università di Cagliari Sezione di Cagliari V. Fanti, R. Marzeddu, G. Piredda, P. Randaccio
2
IWORID2004 Glasgow2 System outline Demonstrator USB 1.1 (1.5 MBits / s ) Medipix2 serial readout port Universal Serial Bus v 1.1 interface External power supply card Reduced size (3.8 x 4.8 cm 2 ) No extra interface board needed Acquisition time ~ 1 s Power supply card + 2.2 V + 50 V 220 V Host PC
3
IWORID2004 Glasgow3 General features Serial readout of Medipix2 chip Test pulse input Readout of Medipix2 internal DACS with an 8-bit ADC USB v. 1.1 low speed interface (data rate up to 1.5 Mbits/s) Reduced size (3.8 × 4.8 cm 2 )
4
IWORID2004 Glasgow4 Project overview One Medipix2 readout chip One Microchip PIC16C675-I/NP microcontroller USB v. 1.1 interface (up to 1.5 Mbits/s) one channel 8-bit ADC for internal DACs readout Bidirectional Serial Communication Interface between PIC and Medipix2 chip Two LVDS driver/receiver (DATA_IN/OUT, FCLOCK_IN/OUT signals) One voltage ref. circuit for internal DACs reference (1.324 V) Three power lines: 2.2 V, 50 V (adj), 5 V (USB)
5
IWORID2004 Glasgow5 Something about USB … 1.5 Mbit/s means a readout time equal to ~600 ms 1.USB stands for Universal Serial Bus 2.Data rate supported: - (v 1.1 ) 1.5 Mbit/s (low speed) - 12Mbit/s (high speed) - (v 2.0) 12Mbit/s (full speed) - 480Mbit/s (high speed) 3.USB controller is required to control bus and data transfer. 4.Plug &Play and Hot-Swap connection 5.Cable up to 5 m (4-wire cable). 6.Up to 127 devices supported. 7.Power supply to external devices is 500 mA/5V (max).
6
IWORID2004 Glasgow6 Something about PIC16C765 1.USB Connectivity 1.1v (Low Speed) 2.8-bit microcontroller 24 MHz int. frequency 3.5 channels of 8 -bit Analog-to-Digital converters 4.Serial communication interface (USART) 5.Program memory size = 14336 bytes 6.RAM size = 256 bytes 7.CMOS One Time Programmable (OTP) !
7
IWORID2004 Glasgow7 An easy-to-use system A personal computer Plug & Play device – The demonstrator is auto detected from the PC like as a general HID device HID = Human Interface Device Demonstrator Power cable
8
IWORID2004 Glasgow8 Demonstrator card Flexible and easy connection Based on a single chip PIC Microcontroller Reduced size (dental application ?) Top side Bottom side 2.2V, 50 V cable USB cable
9
IWORID2004 Glasgow9 Block diagram LVDS CMOS DS90LV019TM PIC16C765 To host PC USB interface Serial Synchronous Interface SHUTTER RESET M1 M0 ENABLE_OUTC SPARE_FSR POLARITY ENABLE_INC 8-bit register Vusb D+ D- ADC 8-bit DAC_OUT DATA Medipix2 chip 1.324 V PFCLOCK_OUT NFCLOCK_OUT FCLOCK_OUT CMOS LVDS PFCLOCK_IN NFCLOCK_IN CLOCK CMOS LVDS NDATA_IN DATA_IN PDATA_IN LVDS CMOS PDATA_OUT NDATA_OUT DATA_OUT TX/RX# CLOCK TP DAC_BIAS 8 1 VCC (+5V) 1 1 1 +5 V +50 V +2.2 V 3 Power filters TEST_IN TP
10
IWORID2004 Glasgow10 The power supply card 220 V – 50 Hz power plugged 50 V (adj.) – 100 A output for sensor polarization 2.2 V - 1 A output for Medipix2 chip power supply 220 AC 2.2 V – 1 A ~50 V – 100 A TransformerRectifier circuit 5 V = DC-DC converter circuit 5 V = Voltage regulator Power Supply Card
11
IWORID2004 Glasgow11 Some questions… So why USB v 1.1 ? Microchip does not yet produce microcontrollers with USB 2.0 interface Why do we need an external power supply card ? The maximum current intensity which USB power line can supply is 500 mA. Why such a little card? We think it is a good opportunity so use this project for some special applications (ex. dental radiography?)
12
IWORID2004 Glasgow12 Project schematic (Orcad Capture) PIC Medipix2 LVDS DAC bias Power filter
13
IWORID2004 Glasgow13 Layout (1) Eight layers board: Top layer: components Bottom layer: Medipix2 chip Inner layer 1: routing Plane layers VCC (5 V), GND Plane layers VDD, VDDA, VDDA LVDS (2.2V) Dimensions: 4.8 × 3.8 cm 2 (H × W) (Orcad Layout) (Orcad Layout)
14
IWORID2004 Glasgow14 Layout (2) LM385 DS90LV019TM PIC16C765-I/PT 6 MHz quarz VDDLVDS filter VDDA filter VDD filter VCC conn USB conn Medipix2 chip PIC16C765-I/PT TOP BOTTOM Caps
15
IWORID2004 Glasgow15 Prototype card Reproduce the demonstrator board on larger scale ( 15 × 20 cm 2 ) All components are mounted on a prototype board and connected by wire wrap technique Medipix2 chipboard with 128 pin DIL connector PIC16C765 with 44 DIL package (reprogrammable!) Prototype card layout Medipix2 Chipboard DS90LV019 PIC16C765 LM385
16
IWORID2004 Glasgow16 The simplest and cheapest Medipix2 interface We are testing another interface competitive to the USB one: the parallel port Three software-controlled registers: Data register: 8 bits I/O Control register: 4 output bits Status register: 5 input bits
17
IWORID2004 Glasgow17 Interfacing Medipix2 with parallel port Why parallel port? - Available in all PCs - Easy to use and to debug - Enough I/O lines to fit requirements of Mpx2 - No other electronics needed (just three LVDS- CMOS converters) But: - Slow (1 – 5 s acquisition time) - Deserialization and derandomization must be done by software
18
IWORID2004 Glasgow18 Using the parallel port registers - Data register Used to define the I/O operation modes Parallel port DR Medipix2 control lines D0M0 D1M1 D2RESET D3SHUTTER D4EN. TPULSE D5POLARITY D6SPARE FSR D7ENABLE_INC - Control register Used to send clock and serial data Parallel port DR Medipix2 control lines C1FCLOCK* C3DATA_IN* *Through CMOS – LVDS converter - Status register Used to read serial data and status bit Parallel port DR Medipix2 control lines S3DATA_OUT* S4ENABLE_OUTC *Through LVDS – CMOS converter
19
IWORID2004 Glasgow19 In spite of its simplicity it works! Shadow of a lead filter (X-ray 50 kV) Sr 90 beta source pointing on the upper right corner
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.