Wiki source code of MTCA ADCs

Last modified by sndueste on 2024/07/08 09:50

Show last authors
1 Content:
2
3
4
5 {{toc minLevel="2"/}}
6
7 ----
8
9 = Our ADC cards =
10
11 == GHz ADCs: SP-Devices ADQ412AC ==
12
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]])
15 The cards are connected via Patch panels to the Experimental endstations and can be operated with a jddd panel:
16
17 [[image:attach:image2019-10-21_15-21-23.png||width="800"]]
18
19
20
21 * **NOTE: between ADC and Patch panel we have installed an [[EMP protector>>attach:EMP_protector.pdf]] and an additional 1dB attenuator**
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"]]
23
24 (% class="wrapped" %)
25 |(((
26 Impedance AC
27 )))|(((
28 50 OHM
29 )))
30 |(((
31 Input voltage range
32 )))|=(((
33 the complete range is about 1V  for 4096 counts.
34
35 Thus +- 0.5 V for baseline at 0V
36
37 BUT the baseline can also be shifted ...
38 )))
39 |(((
40 Digitizer resolution
41 )))|(((
42 12 bit
43 )))
44
45 4 CHANNELS MODE
46
47 (% class="wrapped" %)
48 |(((
49 Sampling rate
50 )))|(((
51 2 *
52 )))|(((
53 GSPS
54 )))
55 |(((
56 Analog bandwidth
57 )))|(((
58 2
59 )))|(((
60 GHz
61 )))
62
63 2 CHANNELS MODE
64
65 (% class="wrapped" %)
66 |(((
67 Sampling rate
68 )))|(((
69 4 *
70 )))|(((
71 GSPS
72 )))
73 |(((
74 Analog bandwidth
75 )))|(((
76 1.3
77 )))|(((
78 GHz
79 )))
80
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
83
84 ===== ADC and DOOCS / DAQ =====
85
86 The HDF5 names for the ADC traces are depending on the beamline :
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}}
91 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH03/TD{{/code}}
92
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}}
101 {{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH03/TD{{/code}}
102
103 and at FLASH2
104
105
106
107
108
109
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}}
113
114
115 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
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 ...
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
125 == Amplifiers for the GHZ ADCs ==
126
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
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]]
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]]
132
133 == 108 MHz ADCs:  Struck SIS8300-L2D ==
134
135 There is one in each of the MTCAs in the hall: MTCA-EXP1 at PG/BL1, the other at BL2 and BL3.
136
137 They are 16 bit, 10 channel, 125 MS/s ADCs.  Here is a link to the [[Struck website>>url:https://www.struck.de/sis8900.html||shape="rect"]]
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
144 [[image:attach:adc_mhz.jpg||height="400"]]
145
146
147 == Pulse energy server: Using the Struck SIS8300-L2D to detect only integrated values of pulses ==
148
149 FS-LA (Falko Peters) programmed a pulse detection server that automatically detects peaks in the signal and integrates the samples around the peak.
150
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
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
157 [[image:attach:pulse_energy_server.jpg||height="400"]] [[image:attach:image2019-11-18_17-9-7.png||height="400"]]
158
159
160 jddd  server panel  Definition of the parameters
161
162
163
164
165 == Detailed expert stuff ==
166
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)
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 ..