prototype test of spring-8 fadc module da-shung su wen-chen chang 02/07/2002
TRANSCRIPT
![Page 1: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/1.jpg)
Prototype Test of SPring-8 FADC Module
Da-Shung Su
Wen-Chen Chang
02/07/2002
![Page 2: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/2.jpg)
Lab
![Page 3: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/3.jpg)
Status of Prototype Test
• 4-channel FADC card:– Conversion of analog input into digital output i
n differential OPA and FADC.– Functionality of shift register in FPGA.– Functionality of data writing into FIFO from FP
GA.
• FADC mother board:– Functionality of single action of VME “read” a
nd “write” by NI-VXI software.
![Page 4: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/4.jpg)
To be finished before TPC on-site test 03/03-03/15
• Zero suppression and fine timing tuning in FPGA.• Implement VME BLT read action into CPLD.• Stuffing 16 4-channel FADC cards and 2 FADC
mother boards.• Overall system test using TEXONO DAQ for
reading calibration pulse. Exercising the coordination with trigger and DAQ system.
• Check the validity of offline reconstruction of data.
![Page 5: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/5.jpg)
SPring-8 FADC Module(4 channels, 10 bits, 40 MHz)
OPA
FADC
FPGA
FIFO
![Page 6: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/6.jpg)
4-channel FADC card
FPGAFADCOPA FIFO
![Page 7: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/7.jpg)
FADC Mother Board
CPLD
Driver
Clock Driver
VME Connector
![Page 8: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/8.jpg)
FADC Mother Board
![Page 9: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/9.jpg)
FADC Mother Board
CPLD
![Page 10: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/10.jpg)
Left: FADC inputRight: FADC readout
Clock: 10 MHz
![Page 11: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/11.jpg)
Digital Delay in FPGA:functioning of Shift Register
8 micro-sec (80 time bins) delay
![Page 12: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/12.jpg)
Logic Analyzer: FPGA->FIFO
Time bin counter
Header of event
ADC Write of eventTime Write of event
Trailer of event
![Page 13: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/13.jpg)
Data Format
16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
CS 0 0 1 ND FADC Module number (1-64) Channel Number (1-32)
CS 0 1 0 ND ND ADC (0-1024)
CS 1 0 0 ND ND Number of data bins (0-600)
CS 0 1 1 12 11 Time (0-1024)
Header
ADC
Time
Trailer
CS: CheckSum bit
ND: Not defined.Lowest Bit
![Page 14: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/14.jpg)
FADC VME Action List (A24/D16)
• 0x0i0000: address to write 0x0100 for resetting the FADC i. (Address modifier: 0x3D).
• 0x0i0001: address to write for setting the sampling count of FADC i. (Address modifier: 0x3D).
• 0x0i0100: address to read the merged 32 FIFOs’ content in BLT mode for FADC i. (Address modifier: 0x3B, 0x3F).
• 0x0i0101: address to read the BLT reading cycle for FADC i. (Address modifier: 0x3B, 0x3F).
• 0x0i0000+j*0x000100: address to read the single FIFO content in AO mode for channel j. (Address modifier: 0x3D)
• 0x0i0000+j*0x000102: address to write for setting the zero-suppression threshold for channel j. (Address modifier: 0x3D)
![Page 15: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/15.jpg)
The Control Flow of FADC
< 5 events
Send IRQ to VME CPU
CPU start read action
CPU send reset
FADC set ready
Clear trigger Veto
Yes
No
Start Measurement
Trigger Count *Veto
NIM
CPLD FADC Trigger Clock 100MHz
Trigger signal
Trigger
FADC
Clear
FADC Module
Preamplifier Module
For each channel
VME
CPU
Reset
Master
Slave
![Page 16: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/16.jpg)
Things to finish up during SPring-8 visit
• Complete one full 32-channel FADC module.• Finalize and implement the VME action list.• Determine and implement the default values for
shift register length and sampling count.• Implement the functions of “reset” and “ready” on
the front-panel inputs and the definition of LED light.
• Fix up the gain range and signal coupling on the analog input.
• DAQ.
![Page 17: Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002](https://reader031.vdocuments.mx/reader031/viewer/2022032205/56649e8a5503460f94b8eedb/html5/thumbnails/17.jpg)
Things to do after Spring-8 visit
• Finish up another 32-channel FADC module and ship it for use by the end of March.
• Get the feedback and finalize the layout and part lists for FADC modules.
• Issue the purchase orders of electronic parts and board fabrication by 04/15.