18
The PCI-NIM Based DAQ System Călin A. Ur INFN - Padova

CA Ur - The Pci-nim Based Daq System

Embed Size (px)

Citation preview

Page 1: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 1/18

The PCI-NIM Based DAQ

System

Călin A. Ur

INFN - Padova

Page 2: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 2/18

General Layout

Page 3: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 3/18

General Layout

500 GB

Ethernet

Disk

DAQ PC

BIN NIM

600 W

FADC

Trigger electronics

Distribution

box

PCI boards

Page 4: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 4/18

The Digital Sampling Modules

LVDS

TransmittersMotherboard

- modularity for future upgrades

- stability against manipulation

- good electrical contact

Collaboration Padova – Milano (2005 – 2006)

FPGA

Data

Transmission

+ 12 V 1.35 A

- 12 V 1.35 A

+ 6 V 1.40 A

- 6 V 1.40 A

Daughterboards

Signal Conditioning Boards

FADC boards

14 bit

100 MHz

 AD6645

Page 5: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 5/18

The Signal Conditioning Board

- input signals- differential -1 V to +1 V- single ended 0 V to +1 V

- positive or negative

- offset- screw adjusted continuously

- gain- set by jumpers

- analog frequency- up to 40 MHz

Page 6: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 6/18

Effective Number of Bits

Noise measurement without input signal

ENOB = 11.5

Page 7: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 7/18

Data Readout

CERN Design

ALTERA APEX20K200EFC484200.000 Gates,up to ~13 Kb of memory

Page 8: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 8/18

Main Features of the DAQ System

noInternal trigger

max 2048 Trace length (samples)

PCIData xfr

6Max output rate (MB/s)

NIM/PCIControl & i/f 

100FPGA k-gates/ch

100FADC rate (MHz)

14 (13)FADC bits4Channels

MD2SPadova

Page 9: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 9/18

DAQ Control

The acquisition software is implemented for Linux O.S.¾Setup the DAQ configuration¾Manage the communication between PC and PCI cards¾Interrupt-based data transfer (6 MB/s)

¾Enable/disable the trigger between the data saving

kernel module linux 2.4 - handles the interrupts from PCI cards

- transfers the data from PCI cards- minimal data manipulation- pipes the data into a character device

user program - takes the data from the character device

- writes the data on HD graphical user interface - developed in Qt 3- controls module loading and datamanipulation

- start/stop of the acquisition

Page 10: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 10/18

Data Format

Header

?MSDAQ01 Dat a Label?CHN0003 Number of Channel s?P002048 Number of Sampl i ng Poi nt s

?SPR0016 Sampl e Pr eci si on i n Bi t s?LBT0013 Number of ADC Conversi on Bi t s?LTR0016  Tr ai l er Lengt h i n Byt es?CH10002 Channel #1 Enabl e Pat t er n 0000000010?CH20000 Channel #2 Enabl e Pat t er n 0000000000

?CH30001 Channel #3 Enabl e Pat t er n 0000000001?CH40002 Channel #4 Enabl e Pat t er n 0000000010?MHZ0100 Sampl i ng f r equency?RUN0007 Run No.?ORI GDAT Or i gi nal dat a?U000029 User Comment Lengt h ( i n byt es)

"Dat a Conmment wi t h User Comment Text “"new l i nes”" . . . . . . . . . " up t o 512 char act er s?ENDHEAD End of Header

Page 11: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 11/18

Data Format

Dat a Bl ock

1st Event :

Number _ of _Channel s_Enabl ed * . . . . . . . . . . . . . . . . . . . . . . . . 3Number _of _Sampl i ng_Poi nt s * s i zeof ( u16) + . . . . 2048 * 2Event _Tr ai l er _Lent gh = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Event _Lengt h = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12304 byt es

Event Tr ai l er For mat - 4 x u32 i nt eger s = 16 byt es#0 = I r q Count er ( 32 bi t s)#1 = packed dat e and t i me#2 = t i me st amp ( 32 bi t s) Æ synchr oni zat i on#3 = End of Event = 0xFFFFFFFF

2nd Event : . . . .

Page 12: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 12/18

Analysis Program - jSpecView

Graphical viewer and analysis program

¾

platform independent (Java)¾ manipulation of digital waves – digital filters

¾ building and saving of histograms

¾ setting gates and building histograms with conditions

¾ standard spectra operations (calibration, fit, integral, …)

¾ oscilloscope function

¾ generating and viewing of 2-D matrices

Page 13: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 13/18

Analysis Program - jSpecView

Page 14: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 14/18

Analysis Program - jSpecView

Page 15: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 15/18

Analysis Program - jSpecView

Page 16: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 16/18

Analysis Program - jSpecView

Page 17: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 17/18

Online Monitoring – jSpecView Server

Server – Clientover IP

Page 18: CA Ur - The Pci-nim Based Daq System

7/28/2019 CA Ur - The Pci-nim Based Daq System

http://slidepdf.com/reader/full/ca-ur-the-pci-nim-based-daq-system 18/18

Status & Perspectives

¾ the PCI – NIM DAQ system is operational

¾ data analysis and online monitoring program – working

¾ transfer to LNGS

¾ 2 modules – end of July

¾ + 2 modules – end of September

¾ + 2 modules – end of the year