PET Fundamentals: Electronics (1) Wu, Jinyuan Fermilab Apr. 2011.

Slides:



Advertisements
Similar presentations
TDC130: High performance Time to Digital Converter in 130 nm
Advertisements

Analog to Digital Conversion (ADC)
A Low-Power Wave Union TDC Implemented in FPGA
Analog-to-Digital Converter (ADC) And
On-Chip Processing for the Wave Union TDC Implemented in FPGA
FREQUENCY SHIFT KEYING
Digital to Analog and Analog to Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
Announcements Assignment 8 posted –Due Friday Dec 2 nd. A bit longer than others. Project progress? Dates –Thursday 12/1 review lecture –Tuesday 12/6 project.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
SKIROC New generation readout chip for ECAL M. Bouchel, J. Fleury, C. de La Taille, G. Martin-Chassard, L. Raux, IN2P3/LAL Orsay J. Lecoq, G. Bohner S.
Lecture 9: D/A and A/D Converters
PET Fundamentals: Electronics (2) Wu, Jinyuan Fermilab Apr
Mixed Signal Chip Design Lab Analog-to-Digital Converters Jaehyun Lim, Kyusun Choi Department of Computer Science and Engineering The Pennsylvania State.
ADC and TDC Implemented Using FPGA
Interfacing Analog and Digital Circuits
Analogue to Digital Conversion
Improving Single Slope ADC and an Example Implemented in FPGA with 16
A Digitization Scheme of Sub-uA Current Using a Commercial Comparator with Hysteresis and FPGA-based Wave Union TDC Wu, Jinyuan Fermilab Sept
1 Arden Warner, FNAL Beam Loss Monitors operating at Cryogenic Temperature with FPGA- Based TDC Signal Processing Arden Warner, Manfred.
Data Reduction Processes Using FPGA for MicroBooNE Liquid Argon Time Projection Chamber Jinyuan Wu (For MicroBooNE Collaboration) Fermilab May 2010.
Large Area, High Speed Photo-detectors Readout Jean-Francois Genat + On behalf and with the help of Herve Grabas +, Samuel Meehan +, Eric Oberla +, Fukun.
Introduction to Analog-to-Digital Converters
Multichannel Analyzers A multichannel pulse-height analyzer (MCA) consists of an ADC, a histogramming memory, and a visual display of the histogram recorded.
Ph. Farthouat CERN ELEC 2002 ADC 1 Analog to Digital Conversion  Introduction  Main characteristics –Resolution –Dynamic range –Bandwidth –Conversion.
Electronic Devices Ninth Edition Floyd Chapter 13.
Low Cost TDC Using FPGA Logic Cell Delay Jinyuan Wu, Z. Shi For CKM Collaboration Jan
May. 2009, Wu Jinyuan, Fermilab IEEE RT09 Short Course 1 FPGA Structure, Programming Principals and Applications: Part II Wu, Jinyuan.
TOF Electronics Qi An Fast Electronics Lab, USTC Sept. 16~17, 2002.
Preliminary Design of Calorimeter Electronics Shudi Gu June 2002.
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Uneven Bin Width Digitization and a Timing Calibration Method Using Cascaded PLL Wu, Jinyuan Fermilab May
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
Filters and Delta Sigma Converters
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
University of Tehran 1 Interface Design Transforms Omid Fatemi.
TDC and ADC Implemented Using FPGA
MiniBoone Detector: Digitization at Feed Through Student: John Odeghe ; SC State, Fermi Lab Intern Supervisor: JinYuan Wu; Fermi Lab 1.
Resource Awareness FPGA Design Practices for Reconfigurable Computing: Principles and Examples Wu, Jinyuan Fermilab, PPD/EED April 2007.
TDC for SeaQuest Wu, Jinyuan Fermilab Jan Jan. 2011, Wu Jinyuan, Fermilab TDC for SeaQuest 2 Introduction on FPGA TDC There are.
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
A Novel Digitization Scheme with FPGA-based TDC for Beam Loss Monitors Operating at Cryogenic Temperature Wu, Jinyuan, Arden Warner Fermilab Oct
NA62 Gigatracker Working Group Meeting 23 March 2010 Massimiliano Fiorini CERN.
Mar. 12, 2009Wu, Jinyuan Fermilab1 Several Topics on TDC and the Wave Union TDC implemented in FPGA Wu, Jinyuan Fermilab LBNL, Mar.
Data Acquisition Electronics for Positron Emission Tomography William W. Moses Lawrence Berkeley National Laboratory May 24, 2010 PET Overview PET Electronics.
Analog/Digital Conversion
1 Arden Warner, FNAL Beam Loss Monitors operating at Cryogenic Temperature with FPGA- Based TDC Signal Processing Arden Warner and Jin-Yuan.
Update on works with SiPMs at Pisa Matteo Morrocchi.
Fermi National Laboratories & Tuskegee University College of Electrical Engineering Aaron Ragsdale: SIST Intern Mentor: Jin-Yuan Wu Summer 2009 SIST Internship.
A Demo Prototype for Digitization at Feed Through Wu, Jinyuan, Scott Stackley, John Odeghe Fermilab Nov
Digitization at Feed Through R&D (2) Digitizer Performance Evaluation Student: John Odeghe ; SC State, Fermi Lab Intern Supervisor: JinYuan Wu; Fermi Lab.
Digitization at Feed Through Wu, Jinyuan Fermilab Feb
NMLTA Protection System Update -Loss Monitors- Arden Warner September 2 nd, 2009.
Rectifier-Capacitor Threshold Tracer for mu2e Straw Chamber Wu, Jinyuan Fermilab Jan
TDC and ADC Implemented Using FPGA
End OF Column Circuits – Design Review
Journées VLSI-FPGA-PCB Juin 2010 Xiaochao Fang
Jinfan Chang Experimental Physics Center , IHEP Feb 18 , 2011
B.Sc. Thesis by Çağrı Gürleyük
COMPUTER NETWORKS and INTERNETS
FIT Front End Electronics & Readout
Hellenic Open University
A First Look J. Pilcher 12-Mar-2004
X. Zhu1, 3, Z. Deng1, 3, A. Lan2, X. Sun2, Y. Liu1, 3, Y. Shao2
BESIII EMC electronics
Analog-to-digital converter
Front-end Digitization for fast Imagers.
Phase Frequency Detector &
Presentation transcript:

PET Fundamentals: Electronics (1) Wu, Jinyuan Fermilab Apr. 2011

Fermi National Accelerator Laboratory Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 2

Colliding Experiments Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 3

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Questions PET? 511 keV? Back to Back? Speed of Light? ADC? TDC? FPGA? 4

PET Electronics Overview Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 5

Things to Measure Total Charge: Charge is measured to calculate the photon energy. Hit Time: To pair up two hits, timing resolution about 1 ns is needed. To improve imaging quality, time-of-flight (TOF) measurement good to ~50 ps is needed. Hit Position: The positions crystals being hit are end points of the chord line. Total Charge: Charge is measured to calculate the photon energy. Hit Time: To pair up two hits, timing resolution about 1 ns is needed. To improve imaging quality, time-of-flight (TOF) measurement good to ~50 ps is needed. Hit Position: The positions crystals being hit are end points of the chord line. Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 6 Array of Scintillator Crystals Photomultiplier Tubes (From Talk by Bill Moses, Search “OpenPET”)

What Is The Electronics Concept? Identify “Singles Events” Find Time Coincidences Between Singles Events w/  t “Coincident Event” = Pair of Singles Events Identify “Singles Events” Find Time Coincidences Between Singles Events w/  t “Coincident Event” = Pair of Singles Events Position (crystal of interaction) Time Stamp (arrival time) Energy Validation (=511 keV?) “Singles Event” Position (crystal of interaction) Time Stamp (arrival time) Energy Validation (=511 keV?) “Singles Event” tt Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 7 (From Talk by Bill Moses, Search “OpenPET”)

Energy Validation Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 8 ADC Shaper LP Filter PMT 

Identifying Time Coincidences Break Time Into Slices (100–250 ns / slice) Search for Singles Within  t max (4–12 ns) in Each Slice Break Time Into Slices (100–250 ns / slice) Search for Singles Within  t max (4–12 ns) in Each Slice Time Slice 1Slice 2Slice 3Slice 4Slice 5Slice 6 Single  t max Coincidence Single Coincidence Single Coincidence Single Coincidence Coincidence? Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 9 (From Talk by Bill Moses, Search “OpenPET”)

PET Detector Module Decode Crystals Using Anger Logic (Light Sharing) X-Ratio Y-Ratio Profile through Row 2 Array of Scintillator Crystals Photomultiplier Tubes Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 10 (From Talk by Bill Moses, Search “OpenPET”)

Position Identification Y X E=A+B+C+D Y=(A+B)/E X=(B+D)/E C A D B Identify Crystal of Interaction Using Lookup Table Position Given by Crystal ID Identify Crystal of Interaction Using Lookup Table Position Given by Crystal ID Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 11 (From Talk by Bill Moses, Search “OpenPET”)

OpenPET Implementation (~2010) PMTs B Gain Adjust, Anti-Alias Gain Adjust, Anti-Alias Gain Adjust, Anti-Alias Gain Adjust, Anti-Alias Sum ADC V in V ref A C D Crystal Lookup (X & Y  ID) Energy Validation (E & ID  511?) Time Stamp (T & ID  T Stamp) Event Formatting Leading Edge TDC +5V A T FPGA & Memory ADC V in V ref +5V B ADC V in V ref +5V C ADC V in V ref +5V D Free-Running (~75 MHz) Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 12 (From Talk by Bill Moses)

Before ADC Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 13

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Cares Must Be Taken Outside FPGA (1) FPGA ADC Shaper LP Filter Band Limiting Spectrum of Original Signal LP filterADC Input Sampling In ADC Aliasing w/o LP Filtering Nyquist Frequency < (1/2) Sampling Frequency 14

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The “Trend” vs. The Sampling Theorem There will be no hardware analog processing. Everything is done digitally in software. It sounds very stylish A shaper/low-pass filter is a minimum requirement. 15

Sampling Theorem! 采样定律! Sampling Theorem! Teorema De Amostragem! Abtast Theorem! Theorie d’Echautillonage! Samplings Teoremet! … Follow the sampling theorem strictly! Apr. 2011, Wu Jinyuan, Fermilab 16 PET Fundamentals: Electronics (1)

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 17 Cares Must Be Taken Outside FPGA (2) DAC FPGA ADC Shaper LP Filter n Dither Resolution finer than the ADC LSB can be achieved by adding noise at ADC input and digital filtering.

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Adding Noise for Finer Resolution Photo Credit: trinities.org Mechanical pressure gauges usually do not track small pressure changes well. The gauge readers may lightly tap the gauges to get more accurate reading. The idea of dithering at ADC input is similar. 18

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Why Band Limiting & Dithering are Ignored? Pre-amplifiers usually have a naturally limited bandwidth and an intrinsic noise larger than the LSB of the ADC. So a lot of time, band limiting and dithering can be “safely” ignored since they are satisfied automatically. High bandwidth, low noise devices now become easily accessible. A design can be too fast and too quiet.  Do not forget to review the band limiting and dithering requirements for each design. 19

Descriptions of Resolution Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 20

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Bin Width (If the distribution within the bin is uniform) 21 w v vnvn When the input signal value v to an ADC is within (v n -w/2, v n +w/2), the ADC outputs an integer n, representing that the input value is approximately v n. The bin width is a description of measurement errors, or measurement resolution. The bin width = (full range)/2^(number of bits): 8 bits: w = (full range)/ bits: w = (full range)/ bits: w = (full range)/1024.

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Standard Deviation Ref: 22

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Full Width at Half Maximum (FWHM) (For Guassian distribution) 23

Commercial ADC Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 24

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Flash ADC Ref: /Flash-ADC-tutorial 8 bits: 256 Comparators 9 bits: 512 Comparators 10 bits: 1024 Comparators... 25

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Pipeline ADC Ref: 8 bits = 4 bits + 4 bits comparators 26

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Typical Circuit of ADC Applications Ref: 27

TDC Implemented in ASIC Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 28

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Traditional TDC Implemented in ASIC 29

Phase Detection and Delay Lock Loop  Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 30

TDC Implemented with FPGA Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 31

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Multi-Sampling TDC FPGA c0 c90 c180 c270 c0 Multiple Sampling Clock Domain Changing Trans. Detection & Encode Q0 Q1 Q2 Q3 QF QE QD c90 Coarse Time Counter DV T0 T1 TS Ultra low-cost: 48 channels in $18.27 EP2C5Q208C7. Sampling rate: 360 MHz x4 phases = 1.44 GHz. LSB = 0.69 ns. 4Ch Logic elements with non-critical timing are freely placed by the fitter of the compiler. This picture represent a placement in Cyclone FPGA 32

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) TDC Using FPGA Logic Chain Delay This scheme uses current FPGA technology Low cost chip family can be used. (e.g. EP2C8T144C6 $31.68) Fine TDC precision can be implemented in slow devices (e.g., 20 ps in a 400 MHz chip). IN CLK 33

Two Major Issues Due To Differential Non-Linearity 1.Widths of bins are different and varies with supply voltage and temperature. 2.Some bins are ultra-wide due to LAB boundary crossing Apr. 2011, Wu Jinyuan, Fermilab 34 PET Fundamentals: Electronics (1)

Auto Calibration Using Histogram Method Turn-key solution (bin in, ps out) Semi-continuous (auto update LUT every 16K events) Calibrates both DNL and temperature. DNL Histogram In (bin) LUT  Out (ps) 16K Events Apr. 2011, Wu Jinyuan, Fermilab 35 PET Fundamentals: Electronics (1)

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Calibration to the Center of Bins 36 w 0 /2+w 1 /2w 0 /2w 1 /2+w 2 /2w 2 /2+w 3 /2w 3 /2+w 4 /2

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Good, However Auto calibration solved some problems However, it won’t eliminate the ultra-wide bins  37

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Cell Delay-Based TDC + Wave Union Launcher Wave Union Launcher In CLK The wave union launcher creates multiple logic transitions after receiving a input logic step. The wave union launchers can be classified into two types: Finite Step Response (FSR) Infinite Step Response (ISR) This is similar as filter or other linear system classifications: Finite Impulse Response (FIR) Infinite Impulse Response (IIR) 38

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Wave Union Launcher A (FSR Type) In CLK 1: Unleash0: Hold Wave Union Launcher A 39

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Wave Union Launcher A: 2 Measurements/hit 1: Unleash 40

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Sub-dividing Ultra-wide Bins 1: Unleash Device: EP2C8T144C6 Plain TDC:  Max. bin width: 160 ps.  Average bin width: 60 ps. Wave Union TDC A:  Max. bin width: 65 ps.  Average bin width: 30 ps. 41

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) FPGA TDC A possible choice of the TDC can be a delay line based architecture called the Wave Union TDC implemented in FPGA. Shown here is an ASIC-like implementation in a 144-pin device. 18 Channels (16 regular channels + 2 timing reference channels). This FPGA cost $28, $1.75/channel. (AD9222: $5.06/channel) LSB ~ 60 ps. RMS resolution < 25 ps. Power consumption 1.3W, or 81 mW/channel. (AD9222: 90 mW/channel) In CLK Wave Union Launcher A 42

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) More Measurements Two measurements are better than one. Let’s try 16 measurements? 43

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Wave Union Launcher B (ISR Type) Wave Union Launcher B In CLK 1: Oscillate0: Hold 44

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Wave Union Launcher B: 16 Measurements/hit 1 Hit MHz VCCINT =1.20V VCCINT =1.18V 45

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Delay Correction Delay Correction Process: Raw hits TN(m) in bins are first calibrated into TM(m) in picoseconds. Jumps are compensated for in FPGA so that TM(m) become T0(m) which have a same value for each hit. Take average of T0(m) to get better resolution. The raw data contains: U-Type Jumps: [48-63]  [16-31] V-Type Jumps: other small jumps. W-Type Jumps: [16-31]  [48-63] The processes are all done in FPGA. 46

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Test Module Two NIM inputs FPGA with 8ch TDC Data Output via Ethernet BNC Adapter to add 150ps step. 47

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Test Result NIM Inputs 0 12 RMS 10ps LeCroy 429A NIM Fan-out NIM/ LVDS NIM/ LVDS - 140ps Wave Union TDC B + + BNC adapters to add 140ps step. 48

Wave Union? Photograph: Qi Ji, 2010 Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 49

Using FPGA as ADC Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 50

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Single Slope ADC Signal Source FPGA V REF Shaper Line Driver Shaper ADC Shaper FPGA TDC Line Driver Line Driver Line Driver Signal Source Shaper TDC Shaper TDC Shaper TDC Analog signal of each channel from the shaper is fed to a comparator and compared with a common ramping reference voltage V REF. Pulses, rather than analog signals are transmitted on the cable. The times of transitions representing input voltage values are digitized by TDC blocks inside FPGA. This approach sometimes is (mistakenly) refereed as “Wilkinson ADC”. T1T1 V1V1 T2T2 V2V2 ADC 51

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Wilkinson ADC Ref: Annu. Rev. Nucl. Part. Sci ’

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1)  Consider sampling rate at 2 MHz, the whole ramping cycle is 500 ns.  Arrange ns for upward ramping.  To achieve 12-bit ADC precision, the TDC LSB is (409.6 ns)/4096 = 100 ps.  TDC with 100 ps LSB can be comfortably implemented in FPGA today. TDC Resolution Requirement T1T1 V1V1 T2T2 V2V2 500 ns 53

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1)  Typical ADC devices creates noise that may interfere the analog circuits.  The time interval for resetting of the common reference voltage may be noisy but analog signal is not sampled during it.  There is no digital control activities during ramping up of the common reference voltage. Digital Noise During Digitization T1T1 V1V1 T2T2 V2V2 Noisy Clean ADCShaper 54

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Single Slope ADC Test: Waveform Digitization Raw Data Input Waveform, Overlap Trigger & Reference Voltage Calibrated FPGA TDC pF 100 V REF Shown here is a demo of a 6-bit single slope TDC. Sampling rate in this test is 22 MHz. Both leading and trailing reference ramps are used in this example. Nonlinear reference ramping is OK. The measurement can be calibrated. 55

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Differential Inputs and Ramping Reference Voltage FPGA TDC RR C R1 V REF + 4xR2 V REF - V IN1 + V IN1 - V IN2 + V IN2 - 56

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) ADC Test Results 57

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) The Sigma-Delta ADC FPGA TDC R V CMP C V IN FPGA TDC RR C R1 V REF + 4xR2 V REF - V IN + V IN - 58

Recycling Integrator Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 59

Recycling Integrator for nA Measurement PET Fundamentals: Electronics (1) Apr. 2011, Wu Jinyuan, Fermilab 60

Cryogenic Ionization chamber 5k – 350K It is a helium-filled ionization chamber. It's current is proportional to the dose rate. ● The signal current is processed by a current to frequency converter to achieve a wide dynamic range and quick response dose rate excursions. ● All materials used are know to be radiation hard and suitable for operation at 5K. ● The electronics is self-contained and requires no computer to operate. PET Fundamentals: Electronics (1)Apr. 2011, Wu Jinyuan, Fermilab 61

The chamber housing is held at negative potential and negative charge is collected on the center electrode. The HV is -95 V and is kept well below the minimum breakdown voltage of 156V in Helium. Cryogenic Loss Monitor operation The electronics uses a recycling integrator as a current to frequency converter with a wide dynamic range. The charge per pulse is 1.63pC or 238µR at 1 atm (room temp) of He. The recycling integrator consist of a charge integrating amplifier with a 0.50 pF capacitance followed by a discriminator which senses when the capacitor is fully charged. PET Fundamentals: Electronics (1)Apr. 2011, Wu Jinyuan, Fermilab 62

Pulses at 150 nA and 300 nA Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 63

Input Current and Output Pulses Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Input Current 100 nA/div Output Pulses 64

Current Measurements Using TDC Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) I=Q/dt 65

The End Thanks

Gaussian Distribution Use MS Excel to plot the Gaussian distribution from mu -5 sigma to mu +5 sigma. For simplicity, assume sigma=1 and mu=10. Show that FWHM = sigma. If a detector has a energy measurement error sigma=10keV, after collecting photos of 511 keV, how many measurements will be within 511 keV keV? keV? keV? (Optional) Use MS Excel to generate numbers with mean = 511 and sigma =10 and count numbers in [501, 521], [491, 531], [481, 541]. Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 67

Digitization Error Consider a bin in a digitizer covering a range of [a, a+w]. If the input v is within [a, a+w], the input is reported to have a nominal value a+w/2. Show that for uniform distribution, the standard deviation introduced is w/sqrt(12). Show that if the nominal value is not a+w/2, the standard deviation will be bigger. Use MS Excel to generate random numbers from 0 to 1 with uniform distribution, compare the standard deviation with the theoretical number. Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 68

Ultra-wide Bins Consider an ADC with 8 bins with widths: 3V, 1V, 1V, 1V, 1V, 1V, 1V, 1V, will the outputs of the ADC be different for inputs 4.7 and 5.7V? And for inputs 1.7 and 2.7V? If N input values are evenly distributed in 0 to 10V, how many measurement points will be found in each of these bins? For measurements in bins with width=1V and width=3V, what are the standard deviations of the measurements? What is the standard deviation of all measurements in entire 0 to 10V range. What is the equivalent bin width corresponding to the standard deviation calculated above? (Optional) Use MS Excel to generate random numbers from 0 to 10 with uniform distribution, compare the standard deviation with the calculated number. Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 69

Recycling Integrator Consider the recycling integrator above. If the charging current through R_C is 250 nA when the discriminator output is high, what are the output pulse width and interval between two pulses when the ion chamber current is 10 nA? 100 nA? 200 nA? Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 70

Pulses at 300 nA Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) 71

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Measurement Result for Wave Union TDC A Histogram Raw TDC + LUT 53 MHz Separate Crystal -- Wave Union Histogram Plain TDC:  delta t RMS width: 40 ps.  25 ps single hit. Wave Union TDC A:  delta t RMS width: 25 ps.  17 ps single hit. 72

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Digital Calibration Using Twice-Recording Method IN CLK Use longer delay line. Some signals may be registered twice at two consecutive clock edges. N 2 -N 1 =(1/f)/  t The two measurements can be used:  to calibrate the delay.  to reduce digitization errors. 1/f: Clock Period  t: Average Bin Width 73

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Digital Calibration Result Power supply voltage changes from 2.5 V to 1.8 V, (about the same as 100 o C to 0 o C). Delay speed changes by 30%. The difference of the two TDC numbers reflects delay speed. N2N2 N1N1 Corrected Time Warning: the calibration is based on average bin width, not bin-by-bin widths. 74

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Weighted Averages The weighted average is a special case of inner product. Multipliers are usually needed. y1y1 y2y2 y3y3 y4y4 y5y5 y6y6 y7y7 c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 d1d1 d2d2 d3d3 d4d4 d5d5 d6d6 d7d7 e1e1 e2e2 e3e3 e4e4 e5e5 e6e6 e7e7 X  X  X  75

Apr. 2011, Wu Jinyuan, Fermilab PET Fundamentals: Electronics (1) Exponentially Weighted Average No multipliers are needed. The average is available at any time. It can be used to track pedestal of the input signals. s[n]=s[n-1]+(x[n]-s[n-1])/N N=2, 4, 8, 16, 32, … + s[n-1] x[n] - s[n] 1/2 K 76