Changes for page Gotthard related stuff

Last modified by sndueste on 2023/09/25 09:36

From version 6.1
edited by palutke
on 2022/10/07 14:50
Change comment: There is no comment for this version
To version 12.1
edited by sndueste
on 2023/07/13 16:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.palutke
1 +XWiki.sndueste
Content
... ... @@ -11,8 +11,8 @@
11 11  Ethernet connections:
12 12  
13 13  (% style="list-style-type: square;" %)
14 -* gbit port <~-~--> Server PC (hasfl2det01 at FLASH2, no server currently at FLASH1)
15 -* base-T <~-~--> Office net
14 +* gbit port  <~-~-->  Server PC (hasfl2det01 at FLASH2, no server currently at FLASH1)
15 +* base-T     <~-~-->  Office net
16 16  
17 17  == How to use the Detector and save in DAQ ==
18 18  
... ... @@ -33,11 +33,37 @@
33 33  
34 34  \\
35 35  
36 +== Operation hints (June 2023): ==
37 +
38 +(% style="list-style-type: square;" %)
39 +* **Where is the GOTTHARD GUI:** FLASH2 - Panel: Infrastructure tab → Miscellaneous tab → FLASH2 GOTTHARD ctrl button
40 +* **Never change a running system:** Do not change parameters while the Detector is running/taking data, The detector will crash.
41 +* Furthermore the module will crash if recieving to much light (e.g. illuminating with flash light during data dating.
42 +* **Checking/switching server:** The server is reachable from the GOTTHARD GUI (lower left corner find the status of the server PC "hasfl2det01") click it to open server/watchdog control. The server is otherwise found under FLASH.SYSTEM → HASFL2DET01.WATCH. Open control of SVR.GOTTHARD (for start/stop/reboot)
43 +
44 +(% style="list-style-type: square;" %)
45 +* **Robooting the GOTTHARD** (if it has crashed): 
46 +(% style="list-style-type: square;" %)
47 +** soft reboot: 1. open console on linux DESY PC, 2. type "telnet (Hostname/IP)" e.g. "telnet cfeld-gotthard02" , 3. you are logged on the GOTTHARD module as /root, type "reboot", 4. wait until server/GUI has reconnected to the module
48 +** hard reset: power down the GOTTHARD, wait some seconds, Repower the module, wait for reconnection to server/GUI
49 +* **In case of a crashes** (no data taking, no reaction on input: Reboot the detector) or if GUI input returns error: Check connection (Power/Data), check GOTTHARD server
50 +* **Permantent operation:** Activate check box for continous run to trigger automated restart of the module after reaching the set number of short or after sefl-stopping due to hickups. The restart needs about 1-2 seconds. During this time no data is taken.
51 +* **Background**: Check "Take" stores the actual detector image~: Uncheck this again. Than this stored image is online subtracted from all images in the GUI when checking "subtract". The DAQ only stores raw data (NOT the background subtracted images)
52 +
53 +Using burst mode (standard operation as of June 2023)
54 +
55 +(% style="list-style-type: square;" %)
56 +* Do not change the delay in the GOTTHARD GUI. The Alignment to the FEL pulses are done by adjusting the FLASH trigger: FL2EXP1/RTM.TRG6, it can be opened from the GOTTHARD GUI or from FLASH2 → Beamlines → FL26 → Exp. control → Patch Panel26-2 → MTCA Trigger 2
57 +* Exposure range is **100ns <  Exposure < ~~1/3 * Frame periode**
58 +* The periode is:** 9968ns for 100kHz, 4984 for 200kHz, 1993 for 500kHz**
59 +* The number of** frames must be lower than 125, for stable operation 120**
60 +* Number of Shots: Number of trigger events before self stopping, select large number for permanent operation
61 +
36 36  == Modules and their exchange ==
37 37  
38 38  Two (Three) modules available (physically at FLASH):
39 39  
40 -(% class="wrapped" %)
66 +(% class="wrapped relative-table" style="width: 64.2451%;" %)
41 41  |=(((
42 42  hostname
43 43  )))|=(((
... ... @@ -44,6 +44,8 @@
44 44  Status
45 45  )))|=(((
46 46  Sensor
73 +)))|=(% colspan="1" %)(((
74 +Sensor image
47 47  )))|=(((
48 48  config file
49 49  )))
... ... @@ -50,18 +50,33 @@
50 50  |(((
51 51  cfeld-gotthard02
52 52  )))|(((
53 -standard/online/working
81 +**standard**/online/working
54 54  )))|(((
83 +(% class="content-wrapper" %)
84 +(((
55 55  two small areas of damaged pixels
86 +)))
87 +)))|(% colspan="1" %)(((
88 +(% class="content-wrapper" %)
89 +(((
90 +[[image:attach:cfeld-gotthard02.jpg||height="250"]]
91 +)))
56 56  )))|(((
57 57  bchip_mpc1922Receiver.config_cfeld-gotthard02
58 58  )))
59 59  |(((
60 60  hasdslabgh
97 +
98 +"gotthard dgt01"
61 61  )))|(((
62 62  working
63 63  )))|(((
64 64  first 1/3 is blind, strong base line offset in the center and a further blind bunch and the end
103 +)))|(% colspan="1" %)(((
104 +(% class="content-wrapper" %)
105 +(((
106 +[[image:attach:hasdslabgh.jpg||height="250"]]
107 +)))
65 65  )))|(((
66 66  bchip_mpc1922Receiver.config
67 67  )))
... ... @@ -71,6 +71,8 @@
71 71  was working (2018), backilluminated! the sensor front is Al-shielded for x-rays
72 72  )))|(((
73 73  ?
117 +)))|(% colspan="1" %)(((
118 +\\
74 74  )))|(((
75 75  bchip_mpc1922Receiver_petra.config
76 76  )))
... ... @@ -77,7 +77,7 @@
77 77  
78 78  \\
79 79  
80 -To change a module the respective config file has to be selected. However changing it will crash the server, thus, it is not possible to change on the fly. Connact Sören if there is the need to exchange a module. However, the differences in the configs are only the hostname. (To be tested: On the fly might work, if one edits the config-file itself after switching of the server instead of selecting another config file in the GUI.) The config files are located at the **hasfl2det01: /export/doocs/server/gotthard_server/cfgs/**
125 +To change a module the respective config file has to be selected. However changing it will crash the server, thus, it is not possible to change on the fly. Connact Sören if there is the need to exchange a module. However, the differences in the configs are only the hostname. (**To be tested: On the fly might work, if one edits the config-file itself after switching of the server instead of selecting another config file in the GUI. But how to transport this information to the GUI? → Display the first line of the config file!**) The config files are located at the **hasfl2det01: /export/doocs/server/gotthard_server/cfgs/**
81 81  
82 82  \\
83 83  
... ... @@ -84,3 +84,101 @@
84 84  == GOTTHARD Server ==
85 85  
86 86  The server for GOTTHARD (FLASH2) runs on **hasfl2det01**. Its watchdog and control (svr.GOTTHARD) can be found under** FLASH.SYSTEMS - HASFL2DET01.**
132 +
133 +\\
134 +
135 +== Main Parameters and limits ==
136 +
137 +(% class="wrapped" %)
138 +|=(((
139 +Parameter
140 +)))|=(((
141 +Design
142 +)))|=(% colspan="1" %)(((
143 +Real /tested
144 +)))
145 +|(((
146 +Max Frames
147 +)))|(((
148 +125
149 +)))|(% colspan="1" %)(((
150 +120
151 +)))
152 +|(((
153 +Max. exposition time
154 +)))|(((
155 +~~2/3 of period time
156 +)))|(% colspan="1" %)(((
157 +\\
158 +)))
159 +|(((
160 +Min. period time
161 +)))|(((
162 +ca. 930 ns
163 +)))|(% colspan="1" %)(((
164 +\\
165 +)))
166 +|(((
167 +Max repetition frequ.
168 +)))|(((
169 +1 MHz
170 +)))|(% colspan="1" %)(((
171 +833 kHz (software limited)
172 +)))
173 +
174 +\\
175 +
176 +== Soft reset a GOTTHARD Module ==
177 +
178 +(% style="list-style-type: square;" %)
179 +* Open console on Linux PC (connected to DESY net)
180 +* write "telnet cfeld-gotthard02" (or the respective Host name or IP of the module)
181 +(% style="list-style-type: square;" %)
182 +** you should be connected to the GOTTHARD onboard system → </root:
183 +* type: "reboot"
184 +(% style="list-style-type: square;" %)
185 +** the module reboots (wait ~~1-2 min), the telnat connection will be cut due to reboot.
186 +
187 +\\
188 +
189 +== Triggering the Gotthard with a burst trigger ==
190 +
191 +it is also possible to trigger the Gotthard not only with 10 Hz but with a burst trigger
192 +
193 +here are some Info from PIS (June 2023)
194 +
195 +
196 +
197 +{{view-file att--filename="Flash_G1.pdf" height="250"/}}
198 +
199 +I think one does not need to set it in GUI when running in continuous mode. In G1, whether the detector is running in burst or continuous mode depends on the setting of the "number of frames" in trigger mode. If the number of frames sets to 1, it will be in continuous mode (1 trigger -> 1 frame).
200 +
201 +Since G1 accepts triggers from the lemo connector, one can also use the bunch train trigger. The spacing of the trigger train needs to be larger than 3.2 ms, which is the readout time of G1.
202 +
203 +Regarding the detector setting (assuming it is 200 kHz pulse rate, 100 pulses per train):
204 +
205 +* timing mode: trigger
206 +* number of frames: 1
207 +* number of triggers:  M x N (M is the number of trains and N is the pulses per train, one can also take a bit more frames per train to track the pedestal/dark)
208 +* period: < 5 us (1/200 kHz = 5 us, the period needs to be slightly smaller than 5 us since the detection of the trigger only starts after the period is reached)
209 +* exposure time: > 93 ns and smaller than period
210 +
211 +Alignment: One of the four lemo connectors on G1 outputs its exposure window. Using an oscilloscope, one can use a photodiode under the beam and align the pulses from the diode and the exposure window of G1 by fine tuning the exposure time of G1 and/or the setting of "delay after trigger" from the detector, or "delay time" of the wave-generator (if a wave-generator is used to generate the triggers for every pulse). After this, one can do a fine scan of trigger delay to find an optimal setting with highest signal after putting G1 under the beam.
212 +
213 +\\
214 +
215 +by:
216 +
217 +Dr. Jiaguo Zhang
218 +
219 +Paul Scherrer Institut
220 +
221 +Forschungsstrasse 111
222 +
223 +5232 Villigen PSI
224 +
225 +Switzerland
226 +
227 +\\
228 +
229 +\\