Wiki source code of ADCs for User experiments
Last modified by sndueste on 2025/04/23 17:33
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
7.1 | 1 | Content: |
| |
2.1 | 2 | |
| |
6.1 | 3 | |
| |
7.1 | 4 | |
| |
14.1 | 5 | {{toc minLevel="2"/}} |
| |
6.1 | 6 | |
| |
8.1 | 7 | ---- |
| 8 | |||
| |
6.1 | 9 | = Our ADC cards = |
| |
2.1 | 10 | |
| |
6.1 | 11 | == GHz ADCs: SP-Devices ADQ412AC == |
| |
2.1 | 12 | |
| |
28.1 | 13 | We have ADQ412AC-4G-MTCA digitizer cards for the experiment crates (Exp1, Exp2 and FL2Exp1): |
| 14 | [[ADQ412_datasheet.pdf>>attach:10-0494_C_ADQ412_datasheet.pdf]] ( [[new version>>attach:10-0494-adq412_datasheet.pdf]], [[sampling rates table>>attach:Clocking_AppNote.pdf]]) | ||
| |
9.1 | 15 | The cards are connected via Patch panels to the Experimental endstations and can be operated with a jddd panel: |
| |
2.1 | 16 | |
| |
9.1 | 17 | [[image:attach:image2019-10-21_15-21-23.png||width="800"]] |
| 18 | |||
| |
2.1 | 19 | |
| |
9.1 | 20 | |
| |
4.1 | 21 | * **NOTE: between ADC and Patch panel we have installed an [[EMP protector>>attach:EMP_protector.pdf]] and an additional 1dB attenuator** |
| |
29.1 | 22 | * for the influence of the Patch cable and the EMP protector see also [[this logbook entry>>url:http://ttfinfo.desy.de/ExpHallelog/show.jsp?dir=/2016/27/08.07&pos=2016-07-08T17:41:07||shape="rect"]] |
| |
2.1 | 23 | |
| |
3.1 | 24 | (% class="wrapped" %) |
| |
2.1 | 25 | |((( |
| 26 | Impedance AC | ||
| 27 | )))|((( | ||
| 28 | 50 OHM | ||
| 29 | ))) | ||
| 30 | |((( | ||
| 31 | Input voltage range | ||
| 32 | )))|=((( | ||
| |
26.1 | 33 | the complete range is about 1V for 4096 counts. |
| |
25.1 | 34 | |
| 35 | Thus +- 0.5 V for baseline at 0V | ||
| 36 | |||
| 37 | BUT the baseline can also be shifted ... | ||
| |
2.1 | 38 | ))) |
| 39 | |((( | ||
| 40 | Digitizer resolution | ||
| 41 | )))|((( | ||
| 42 | 12 bit | ||
| 43 | ))) | ||
| 44 | |||
| 45 | 4 CHANNELS MODE | ||
| 46 | |||
| |
3.1 | 47 | (% class="wrapped" %) |
| |
2.1 | 48 | |((( |
| 49 | Sampling rate | ||
| 50 | )))|((( | ||
| |
10.1 | 51 | 2 * |
| |
2.1 | 52 | )))|((( |
| 53 | GSPS | ||
| 54 | ))) | ||
| 55 | |((( | ||
| 56 | Analog bandwidth | ||
| 57 | )))|((( | ||
| 58 | 2 | ||
| 59 | )))|((( | ||
| 60 | GHz | ||
| 61 | ))) | ||
| 62 | |||
| 63 | 2 CHANNELS MODE | ||
| 64 | |||
| |
3.1 | 65 | (% class="wrapped" %) |
| |
2.1 | 66 | |((( |
| 67 | Sampling rate | ||
| 68 | )))|((( | ||
| |
10.1 | 69 | 4 * |
| |
2.1 | 70 | )))|((( |
| 71 | GSPS | ||
| 72 | ))) | ||
| 73 | |((( | ||
| 74 | Analog bandwidth | ||
| 75 | )))|((( | ||
| 76 | 1.3 | ||
| 77 | )))|((( | ||
| 78 | GHz | ||
| 79 | ))) | ||
| 80 | |||
| |
10.1 | 81 | ~* note that the sample rate is NOT locked to the FLASH repetition rate ! Thus there is a not integer number of samples between FLASH pulses. The sample rate also differs slightly from ADC card to ADC card. The rough spacing is **1993.846** samples between 2 pulses at 1 MHz for details ask the local contact. |
| 82 | |||
| |
2.1 | 83 | |
| 84 | ===== ADC and DOOCS / DAQ ===== | ||
| 85 | |||
| 86 | The HDF5 names for the ADC traces are depending on the beamline : | ||
| |
28.1 | 87 | \\PG Beamline: |
| 88 | {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH00/TD{{/code}} | ||
| 89 | {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH01/TD{{/code}} | ||
| 90 | {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH02/TD{{/code}} | ||
| |
2.1 | 91 | {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH03/TD{{/code}} |
| 92 | |||
| |
28.1 | 93 | BL Beamlines: |
| 94 | {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH00/TD{{/code}} | ||
| 95 | {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH01/TD{{/code}} | ||
| 96 | {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH02/TD{{/code}} | ||
| 97 | {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH03/TD{{/code}} | ||
| 98 | \\{{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH00/TD{{/code}} | ||
| 99 | {{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH01/TD{{/code}} | ||
| 100 | \\{{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH02/TD{{/code}} | ||
| |
2.1 | 101 | {{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH03/TD{{/code}} |
| 102 | |||
| |
15.1 | 103 | and at FLASH2 |
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| |
28.1 | 108 | |
| |
29.1 | 109 | |
| |
32.1 | 110 | {{code language="none"}} |
| 111 | FL24:/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH00/TD/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH01/TD/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH02/TD/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH03/TD | ||
| 112 | {{/code}} | ||
| |
30.1 | 113 | |
| |
31.1 | 114 | |
| |
28.1 | 115 | DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00/CH00.TD or CH00.DAQ.TD{{/code}} |
| |
16.1 | 116 | here the {{code language="none"}}CH00.TD{{/code}} is the full ADC trace as it is sampled ( typically several 100.000 samples per pulse train) while the {{code language="none"}}CH00.DAQ.TD{{/code}} trace only has the number of samples which are sent to the DAQ OR if //grouping// is activated the {{code language="none"}}CH00.DAQ.TD{{/code}} contains only the grouped spectra. To read the ADC trace with an online analysis program the {{code language="none"}}CH00.DAQ.TD{{/code}} is preferable to use ... |
| |
2.1 | 117 | DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}} |
| 118 | |||
| 119 | in addition there are also additional parameters saved like: | ||
| 120 | |||
| 121 | * sample frequency (in MHz) | ||
| 122 | * error (state) | ||
| 123 | * offset | ||
| 124 | |||
| |
6.1 | 125 | == Amplifiers for the GHZ ADCs == |
| |
2.1 | 126 | |
| |
6.1 | 127 | * **we can offer [[ Phillips scientific Model 6954>>attach:6954ds.pdf]] amplifiers** to either amplify small signals or to decouple setups which may deliver voltage peaks fro the ADCs. |
| 128 | * The available ADCs 5x, 10x, 20 x 50x and 100x | ||
| 129 | * The ADCs can be borrowed from Markus Braune | ||
| |
16.1 | 130 | * The Amplifiers fit perfectly to the dynamic range of the GHz ADCs - here a [[ test of the Phillips scientific amplifier>>attach:Model_6954_Amplifier_Report.pdf]] |
| |
32.1 | 131 | * There are also [[BiasTs>>attach:ZX85-12G-S+.pdf]] available that can be borrowed ([[link to internal page>>doc:FLASH.Controls, Data recording & Analysis.IT Docu (expert stuff).Hardware (Computers, MTCA & motorcontrol).Bias T.WebHome]])[[image:1720425048368-937.png]] |
| |
6.1 | 132 | |
| 133 | == 108 MHz ADCs: Struck SIS8300-L2D == | ||
| 134 | |||
| |
2.1 | 135 | There is one in each of the MTCAs in the hall: MTCA-EXP1 at PG/BL1, the other at BL2 and BL3. |
| 136 | |||
| |
33.1 | 137 | They are 16 bit, 10 channel, 125 MS/s , 50 Ohm. ADCs. Here is a link to the [[Struck website>>url:https://www.struck.de/sis8900.html||shape="rect"]] |
| |
2.1 | 138 | |
| 139 | |||
| 140 | 50 Ohm input impedance, -1 V,...,+1 V default input range, analog signals can be routed to AC and DC input stage. The coupling is DC via op-amp (switching to AC transformer involves resoldering of SMD solder bridges). | ||
| 141 | |||
| 142 | Here is a trace of the first signal, a 1 MHz trigger connected from the x2timer board in the same MTCA: | ||
| 143 | |||
| |
17.1 | 144 | [[image:attach:adc_mhz.jpg||height="400"]] |
| |
2.1 | 145 | |
| 146 | |||
| |
6.1 | 147 | == Pulse energy server: Using the Struck SIS8300-L2D to detect only integrated values of pulses == |
| |
2.1 | 148 | |
| |
12.1 | 149 | FS-LA (Falko Peters) programmed a pulse detection server that automatically detects peaks in the signal and integrates the samples around the peak. |
| |
2.1 | 150 | |
| |
12.1 | 151 | Things to set: |
| 152 | |||
| 153 | * Min peak height: threshold fro which on some signal is considered to be a peak. The actual peak is then determined as the maximum of the counts after the threshold | ||
| |
2.1 | 154 | * pre and post peak integration time: how much ns to be integrated before and after the peak sample that are taken into account for the peak |
| 155 | * pre and post peak noise time: before and after the samples that are taken for the actual signal these samples are used as background ( they also can be used to define the "deadtime" of the detector before it searches for new peaks. | ||
| 156 | |||
| |
20.1 | 157 | [[image:attach:pulse_energy_server.jpg||height="400"]] [[image:attach:image2019-11-18_17-9-7.png||height="400"]] |
| 158 | |||
| |
11.1 | 159 | |
| |
12.1 | 160 | jddd server panel Definition of the parameters |
| 161 | |||
| |
11.1 | 162 | |
| 163 | |||
| |
12.1 | 164 | |
| |
21.1 | 165 | == Detailed expert stuff == |
| |
13.1 | 166 | |
| |
30.1 | 167 | * [[ a collection of usefull things related to the OPIS ADCs>>doc:FLASH.Photon Diagnostics.OPIS.OPIS ADC related things.WebHome]] |
| 168 | * a list of [[our MTCA ADC cards>>doc:FLASH.Controls, Data recording & Analysis.IT Docu (expert stuff).Hardware (Computers, MTCA & motorcontrol).our MTCA ADC cards.WebHome]] (only internal link) | ||
| |
27.1 | 169 | * load tests: [[link to Logbook entry>>url:https://ttfinfo.desy.de/Flash2_FL26elog/show.jsp?dir=/2023/23&pos=2023-06-08T16:11:08||shape="rect"]] for the "mobile GHz ADC" we can save 12 ADCs with 1.8 Gsample for 333 µm / 600 ksamples without losses - but it produces looooots of data .. |