Qweak GEM installation log book

From New IAC Wiki
Revision as of 21:22, 30 August 2010 by Oborn (talk | contribs) (→‎Nauvoo)
Jump to navigation Jump to search

5/12/2010

Detector installation

The Qweak GEM detector has been installed in the doghouce in Hall-C and the HV was turned on. On the scope picture below is shown the GEM trigger out pulse, after it has been amplified and integrated with timing filter amplifier. The high voltage supply is placed in the doghouse with the other electronics.

GEMTrigOutinDoghouse-12-05-2010.jpgGEMTrigOutandGEMdetectorinDoghouse-12-05-2010.jpg

GEMSetUPinDoghouse-12-05-2010.jpg

Electronics

We have the NIM Bin with the following modules: Leading edge discriminator, timing filter amplifier(X2), Gumstix module.
GEMNIMBINandModulese-12-05-2010.jpgGEMGumstixandI2CNIMModuleinDoghouse-12-05-2010.jpg

Gas

The gas bottle filled with ArCO2 is placed outside the doghouse. We have two 90 ft shielded twisted ribbon cables next to region 1 area.


cables need to be routed about colimator 2.

GASbottleoutsidetheDoghouse-12-05-2010.jpgGEMShieldedRibbonCables-12-05-2010.jpg


Bubbler

R1 HallC Bubbler 7-27-10.jpg

5/13/2010

Met with Kelly Tremblay to discuss survey plans. Goal is to be ready for Qweak collaborators and survey crew to align detector on June 4. The "Fork" used to connect the GEM detector to the translator will be fiducialized for the laser survey system by mounting 4 targets on the fork. The request is to have the "Y" location surveyed in to 100 microns (this is essentially [math]\theta[/math]) . We desire the X-location to be surveyed within 250 microns. The Z - location beam upstream/downstream is the least critical.

DAQ computer name is : cdaql6


R1 ROC name : qwvme11 (129.57.168.81)

using the terminal server to login to the R1 ROC

telnet hctsv11 2008
qwvme11
telnet hctsv11 2006

or

telnet qwvme11

Gumstix and I2C


Brad Sawatzky: Contact for ordering gas ionfrastructure (bubbles, hose , valves,...)

5/14/2010

Gumstix sees the network now. It will be known as qwgemgumstix and have the IP address 129.57.168.91

We may also use the terminal server to login via the Gumstix's serial port but you must be logged into cdaql6 (or a computer on the same network as cdaql6)

telnet hctsv11 2007


Runcontrol runs the cMsg server.


Gumstix contains cMsg client and subscribes to the Runcontrol cMsg server. once receiving message from ROC it then send out a message of the current thrshold value which the ROC has subscribed to . This tells the ROC to pulse again.

Carl Timmer has a sample code in C.

use Send and Get

ROC is a cMsg client as well

ROC spawns a task upon userGo and starts stepping through Discriminator setting task start a pulse and sleeps until a Mutext comes then it sends a cMsg to Gumstix



search jlab.org
nameserver 129.57.32.100
nameserver 129.57.32.101
[cdaq@cdaql6 ~]$ nslookup cdaqfs
Server:         129.57.32.100
Address:        129.57.32.100#53

Name:   cdaqfs.jlab.org
Address: 129.57.168.10

auto eth0
iface eth0 inet static
        address 129.57.168.91
        netmask 255.255.252.0
        network 129.57.168.0
broadcast 129.57.171.255

is go to the next threshold setting.


Location of Qweak coda DAQ files

Readout lists cdaq@cdaql6 ~/coda]$ ls ~/qweak/coda26/crl/

[cdaq@cdaql6 crl]$ codamaster

ROC libraries

ls ~/qweak/libraries/vme/v1495_gem/

Error message from V1495.

-> v1495ReadEvent()
0x1ad8900 (tShell): v1495ReadEvent: Error: header for word 3 from data packet != 0xE
va

== qwvme11 boot parameters==

The firmware is set for 32 MHz but it looks like the actual clock is 31 MHz.


boot device          : dc
unit number          : 0 
processor number     : 0 
host name            : cdaql6.jlab.org
file name            : /usr/local/coda/kern/5.5/vx2400_u1
inet on ethernet (e) : 129.57.168.81:fffffc00
host inet (h)        : 129.57.168.46
user (u)             : cdaq
flags (f)            : 0x20 
target name (tn)     : qwvme11
startup script (s)   : /home/cdaq/qweak/coda26/boot/qwvme11.boot

5/15/10

LV1 accept to V1495 has to have a gate width at least 1 MCLK cycle less than 3 MCLK cycles.


We used cdaql6 to write several coda data files the the V1495 reading out 1 detect.

at MCLK=16MHz we created the files

v1495_28.dat.0 and v1495_29.dat.0

Run 28 was short, run 29 was very long.

I saw the following CHIP IDs in the data file but the thresholds are so high there were no hits

Card=0  ChipID=0xa6c
i = 14 
Card=1  ChipID=0x8ec
i = 28 
Card=2  ChipID=0x8ec
i = 42 
Card=3  ChipID=0x6ec
i = 56 
Card=4  ChipID=0x0
i = 70 
Card=5  ChipID=0x66c

Its seems Card 4 is not getting its ID recorded but its I2C is responding. Perhaps a failed card? We loer MCLK to 8 MHz no change.

Summary

Successes:

Two R1 detectors reside outside the Hall C doghouse. One detector was running in the doghouse and cosmic signals were observed which went away when turning the drift voltage down to equal the GEM preamplifier voltage (this is how we convince ourself that the signal is real without turning the detector completely off).

A data file was written using CODA v 2.6 installed on cdaql6 and the GW ROC. The MCLK signal however needed to be set to 16 MHz instead of 32 MHz. The V1495 was unable to "lock on " to the 32 MHz signal from the G0 clock. It is not understood why at this time. While sampling the data at 16 MHz is not a show stopper we will try to find a way to operate at 32 MHz. The same V1495 was able to lock onto our 32 MHz pulser at ISU without a problem.

A GEM detector was mounted on the rotator and was able to rotate 360 degrees freely. There was some concern that the Breakout board would hit a bolt coming up from the floor which secures the first collimator. There is at least a 3 inch gap between this bolt and the breakout board at the point of closest approach. A substantial amount of the bolt thread extends well beyond the nut. A request will be made to cut off the excess bolt that extends beyond the nut.

Failures:

We are unable to record the VFAT output in the V1495 using the ribbon cables provided by JLab. The V1495 was no longer able to recorded the output of 3 VFAT cards when we switched from our 4 foot long, shielded, flat ribbon cables to JLab's 100 ft long rounded ribbon cables. We have seen this before. We had similar problems at ISU and found that they went away when a twisted pair FLAT ribbon cable was used. Signal integrity becomes important at the 40 MHz frequencies.


Path forward:

We will try to debug breakout board with VFAT electronics, the V1495, and two JLab shielded ribbon cables at ISU to determine if JLab's cables are not usable. We did successfully test the readout using 100 ft FLAT twisted pair cables during ISU beam tests. If the FLAT cables must be used then we will need to coordinate with Klaus on the cable holder to determine if the holder can accommodate flat cables or if we can use the rounded cables for the last [math]X[/math] meters of slack used by the cable holder.


6/13/10

R1 Nauvoo 6-13-10.jpg

7/29/10

R1 Nauvoo 7-29-10 RadTestVFAT.jpg R1 Nauvoo 7-29-10 RadTestVFAT Anoted.jpg

8/4/10

PRETRGe&EN1 scaler in Hall C counting house pannel port 6.


The Trig out of GEM A and B went into chanels 4 & 5 of the same scaler used for Alena's scintillator which records it values in the ROC file bank ID0x0403

Power strip control to reboot Hall C equipment can be accessed from the counting room computer

https://hallcweb.jlab.org/wiki/index.php/Hall_C_Network

Check V1495

To check if the V1495 is installed I logged into the ROC from cdaql1

[cdaq@cdaql1 ~]$ telnet qwvme11
->v1495Init(0x09330000)


The V1495 address was set to 0811 so I changed it to 0933


Now I see that it is initializing

-> v1495Init(0x09330000)
0x1b09070 (tShell): v1495Init: v1495 Module has been successfully initialized.

0x1b09070 (tShell): v1495 module has been reset: 

value = 0 = 0x0

It seems I have the old I2C gumstix to Breakboard card and not the right RJ45 connector to allow me to talk I2C to the VFAT card (unless the VFAT card has gone bad). Effort to make my own cable according to Tamuna's pinout chart failed.

7/5/10

DAQ

Paul and I were able to get CODA 2.6.1 to initialize the V1495 upon PRESTART. Apparently there is a problem running more than 1 DAQ at a time on different computers (perhaps they are trying to use the same rcServer?).

Detector

A GEM trigout signal is going upstairs to the scope. The timing amplifier downstairs is set to integrate the pulse over 100 ns. Is this why I see 600 ns Comsic pulses? I will check this with beam tomorrow morning.

I will use the discriminated output of HALO3 to determine if there is beam coming down the beamline and LUMI3 to determine if a target is in.

The HV for the above monitors may be observed through EPIC on cdaql6 with the following commands

  1. login to cdaql6
  2. ssh cvswrks@cdaql6
  3. /net/cdaqfs/home/EPICS/dvlepics/llapp/CaenHV/1-0/QWEAK/tk/hv.tcl

First Beam

I saw signals associated with an electron beam into Hall C for the first time today. The beam was being tuned and the detector was out of position so any signals were mostly background. The HV was -3600 Volts on the drift and -3300 Volts on the GEM preamplifier. The Trigout pulse was amplified in the doghouse by an Ortec timing amplifier set to integrate the signals over a 100 ns period.

7/6/10

GEM Timing Amp

The Ortec timing amplifier used to send the GEM output upstairs has an integrate time of 100 ns. The Phillips discriminator has a maximum output width of about 100 ns and we do see double pulsing sometimes so be careful. The max rate for a 50 ns GEM pulse is 20 MHz but the preamp width of 600 ns keeps us below 1 MHz, and the discriminator width of 100 ns keeps us below 10 MHz.

Qweak R1 DiscrTrigout 8-5-10 1.png Qweak R1 DiscrTrigout 8-5-10 2.png

With a 1 mil Aluminum target, the 10 MHz max rate may be at a beam current of 50 nA.

Add GEM scaler to MAP

login to cdaql4

cd $QWANALYSIS/Tracking/prminput/

The file

 detectors.map 

describes all the detectors used below are two relevant examples

[QwGasElectronMultiplier]
 name = R1
 map = qweak_R1.map
 geom = qweak_new.geo
[QwTriggerScintillator]
 name = TS
 map = qweak_trigscint_channel.map
 geom = qweak_new.geo
 mask = 0xffff

The scalers used for the GEM trigout pulse are plugged into the trigger scintillator scalers so I edited the file to look like this

sca_bank=0x0403
! module.type  module.num  chan.num, det.type, det.name
  SIS3801, 0,  0, trigscint, ts2m_sca
  SIS3801, 0,  1, trigscint, ts2p_sca
  SIS3801, 0,  2, trigscint, ts1m_sca
  SIS3801, 0,  3, trigscint, ts1p_sca
  SIS3801, 0,  4, trigscint, GEMTrigOut_Naovoo_sca
  SIS3801, 0,  5, trigscint, GEMTrigOut_Urim_sca
  SIS3801, 0,  6, trigscint, ts2mt_sca
  SIS3801, 0,  7, trigscint, ts1mt_sca

The ROOT files are stored in

cd $QW_ROOTFILES

and named as QWEAK_runNumber.000.root


To reanalyze the tracking data without doing tracking go to the data directory

cd $QW_DATA/
 qwtracking -r 724 --QwTracking.disable-tracking


The Scaler is read out at fixed time intervals but those intervals can change depending on helicity flip rate and if a "fake" helicity flip rate is being used.

R1 Timing

Octant5 QweakScint R1Naovoo 8-6-10 Timing 1.png

200 px

200 px

200 px

200 px

R1 rate -vs- beam current

Run # Scint Naovoo


19-08-2010

Took detector apart. GEM foils(all of them) are bunt. Some of the strips have discoloration, they have burnt spots.

The images below show all the GEM foils and PC board.


GEM1-19-08-2010.jpgGEM2-19-08-2010.jpg
GEM3-19-08-2010.jpgGEM4-19-08-2010.jpg
GEM5-19-08-2010.jpgGEM6-19-08-2010.jpg
GEM7-19-08-2010.jpgGEM8-19-08-2010.jpg
GEM9-19-08-2010.jpgGEM10-19-08-2010.jpg
PCB1-19-08-2010.jpgPCB2-19-08-2010.jpg
300px300px


During the beam tuning at JLab, when all tracking chambers were in place, I saw the following on trigout with the detector off.

JLab Aug6 2010 BeamTune 10ma.jpg

Channel 3 (purple) is the trigout signal from the GEM detector. I believe Channel 2 was the Qweak scintillator and Channel 1 was a Halo monitor. I have never seen such an output from the GEM detector when exposed to beam. It seems we are unable to have the GEM detector in place when the pulsed 10 mA beam is tuning. I suspect this killed the detector on Aug 6.


20-08-2010

Gas was flowing through both detectors today. In order to reduced the pick up noise, It was suggested to wrap detectors into the aluminum foil.

Tomorrow is a power shutdown in EEL, CEBAF and some other building. I will be unable to work there. I will get the scaler from counting room.

Urim

Below are the scope images of the noise before and after aluminum foil:

BeforeAlfoilnoise.pngAfterAlfoilnoise.pngAfterAlfoilnoise 1.png

Signals from the detector are following:

AfterAlfoilsignal.pngAfterAlfoilsignal 1.png


URIMinEEL.jpg

Nauvoo

Turned Nauvoo on today. Foils were changed yesterday. When looking at TrigOut instead of seeing the positive pulse i am getting negative pulse, and no signal on strips. The last GEM foil acts like an anode(it collects the charge). I forgot to take the scope picture, but thats what i observed.


22-08-2010

Changed the shorted GEM foil on Nauvoo, but still no positive signal on TrigOut. I saw negative signal.

23-08-2010

Today worked on I2C. Gumstix, I2C board and power supply were installed in the NIM module. NIM module is in the NIM bin. The breakout box and two VFATs(64 and 112) are in the box under the NIM bin.

GumstixI2CNIMModule.jpgGumstixI2CNIMModule 1.jpg


Got Timing Filter Amplifier, couldnt find scaler. There was no use for integrator on Timing Filter Amplifier.

Nauvoo detector is open right now. I will apply voltage on GEM tomorrow and check the voltages again across the GEM foils.

24-08-2010

Urim measurements

Got scaler and discriminator. Made measurements of GEM drift voltage vs rate. Used only cosmic rays.

The result is shown below:

GEMDRIFTHVvsRate 24-08-2010.jpg


GEMDRIFTHVvsRate 25-08-2010.jpg


The rate only doubled Dr. Forest. I did it for 3270 Volts.

Urim should be ready to install in Hall C after you try a source and wrap it in tin foil. Cut an opening in the tin foil for a window.


Fe55 source parameters:


Gamma, x-ray source. [math]300 \mu C \times \left ( 3.7 \times 10^{10} decays/sec \right ) = 1.1 \times 10^7 decays/sec = A_0[/math] as of 6/24/04.


Half life = 2.73 years

[math]A = A_o e^{-\lambda t} = 1.1 \times 10^{7} decays/sec e^{-6/2.73} = 1.2 \times 10^6 decays/sec[/math]


[math]E_{\gamma} = 126[/math] keV


NIST data tables says:


A .125 MeV photon has a Range in copper of = [math]3.2 \times 10^{-2} g/cm^2[/math]

Density Copper = [math]8.92 g/cm^3[/math]

Range = [math]3.2 \times 10^{-2} g/cm^2 / 8.92 g/cm^3 = 3.5 \times 10^{-3} cm = 1.4 \times 10^{-3} inches = 1.4[/math] mils

How thick is the GEM copper cathode?


Definition of Range:

Def of Range (R)
The distance traveled before all the particles energy is lost.
[math]R \equiv \int_0^T \frac{dE}{\frac{dE}{dx}}[/math]
= theoretical calculation of the path length traveled by a particle of incident energy [math]T[/math]
Note units: [math]\left [ R \right ] = \frac{g}{cm^2} ; \left [ \frac{dE}{dx} \right ] = \frac{MeV \cdot cm^2}{g}[/math]


At 0.126 MeV

[math]\frac{dE}{dx} = 2.387 MeV cm^2/g = 21.292 MeV/cm[/math]

If the copper is 5 microns thick then

[math]E_{loss} = 21292 keV/cm \times 5 \times 10^{-3} cm = 106 keV \Rightarrow [/math]photon energy would be about 20 keV when it sees drift region

What is Cathode thickness?

Is the Fe-55 source sealed or open. Sealed source would attenuate photons more.


The fraction of photons surviving a distance x is given by

[math]\frac{I}{I_0} = e^{-\mu x}[/math]

where

[math]\mu[/math] = total absorption coefficient = 1/(mean free path) = [math]\frac{N \rho}{A} \sigma[/math]


N = Avagadros number [math]\rho[/math] = density of copper A = molar weight [math]\sigma[/math] = cross-section per atom


A 6 keV photon has [math]\mu/\rho = 115.2 cm^2/g \Rightarrow \mu[/math] = 1027.6 /cm


A 126 keV photon has[math] \mu/\rho=~0.3 cm^2/g \Rightarrow\mu [/math] ~ 3 /cm

[math]\left . \frac{I}{I_o}\right |_{6 keV} = e^{-1027.6/cm \times 50 \times 10^{-3} cm} = 4 \times 10^{-23}[/math]

[math]\left . \frac{I}{I_o} \right |_{126 keV} = e^{-3/cm \times 50 \times 10^{-3} cm} = 0.86[/math]

If the copper cathode is 5 microns and not 50

[math]\left . \frac{I}{I_o}\right |_{6 keV} = 6 \times 10^{-3}[/math]

[math]\left . \frac{I}{I_o} \right |_{126 keV} = 0.98[/math]

the link below takes you to the mass attenuation coefficients for copper

http://physics.nist.gov/PhysRefData/XrayMassCoef/ElemTab/z29.html


X-rayPhotonAttenuation.gif


The 2nd column is the mass attenuation coefficient [math]\mu/\rho[/math] and the third column is the energy absorption coefficient [math]\mu_{en}/\rho[/math]

Copper Z = 29

____________________________________

     Energy                
      (MeV)      (cm2/g)     (cm2/g)
____________________________________

   1.00000E-03  1.057E+04  1.049E+04 
   1.04695E-03  9.307E+03  9.241E+03 
   1.09610E-03  8.242E+03  8.186E+03 
L1 1.09610E-03  9.347E+03  9.282E+03 
   1.50000E-03  4.418E+03  4.393E+03 
   2.00000E-03  2.154E+03  2.142E+03 
   3.00000E-03  7.488E+02  7.430E+02 
   4.00000E-03  3.473E+02  3.432E+02 
   5.00000E-03  1.899E+02  1.866E+02 
   6.00000E-03  1.156E+02  1.128E+02 
   8.00000E-03  5.255E+01  5.054E+01 
   8.97890E-03  3.829E+01  3.652E+01 
K  8.97890E-03  2.784E+02  1.824E+02 
   1.00000E-02  2.159E+02  1.484E+02 
   1.50000E-02  7.405E+01  5.788E+01 
   2.00000E-02  3.379E+01  2.788E+01 
   3.00000E-02  1.092E+01  9.349E+00 
   4.00000E-02  4.862E+00  4.163E+00 
   5.00000E-02  2.613E+00  2.192E+00 
   6.00000E-02  1.593E+00  1.290E+00 
   8.00000E-02  7.630E-01  5.581E-01 
   1.00000E-01  4.584E-01  2.949E-01 
   1.50000E-01  2.217E-01  1.027E-01 
   2.00000E-01  1.559E-01  5.781E-02 
   3.00000E-01  1.119E-01  3.617E-02 
   4.00000E-01  9.413E-02  3.121E-02 
   5.00000E-01  8.362E-02  2.933E-02 
   6.00000E-01  7.625E-02  2.826E-02 
   8.00000E-01  6.605E-02  2.681E-02 
   1.00000E+00  5.901E-02  2.562E-02 
   1.25000E+00  5.261E-02  2.428E-02 
   1.50000E+00  4.803E-02  2.316E-02 
   2.00000E+00  4.205E-02  2.160E-02 
   3.00000E+00  3.599E-02  2.023E-02 
   4.00000E+00  3.318E-02  1.989E-02 
   5.00000E+00  3.177E-02  1.998E-02 
   6.00000E+00  3.108E-02  2.027E-02 
   8.00000E+00  3.074E-02  2.100E-02 
   1.00000E+01  3.103E-02  2.174E-02 
   1.50000E+01  3.247E-02  2.309E-02 
   2.00000E+01  3.408E-02  2.387E-02 

Setting on Amplifier and discriminator:

Amplification is X20 and 10 on a nub. Integration=20ns and diff=out. Pulse divided, one and goes to discriminator and the other one into the scope. The discriminator threshold is set to 45 mV.

Nauvo

High Voltage distribution for GEM.


GEM HV Dist Net.jpg

Applied 500 Volts on GEM.

The measured voltage on each side of the each GEM foil is presented in a table.


GEM Foil Measured Voltage(Volts) Nauvoo Measured 10 x 10 cm Board Voltage
VGem in 500 500
G1T 256 248
G1B 422 473
G2T 148 232
G2B 237 415
G3T 78 217
G3B 104 371


I was expecting the voltage to decrease with respect to ground as you go down the voltage divider.

It is decreasing. By G3 i mean the last GEM foil.


27-08-2010

Got CAT5 cable for I2C. Need connectors.

Changed resistors on HV board of Nauvoo, still no luck. Had to take open Urim, to check the voltage distribution, it is the same as on Nauvoo.

Dont know what is the reason, the foils are new.

Instead of positive pulse getting negative pulse on trigout again.

Do a cosmic measurement with the detector standing on its edge, 
like it will be oriented on the rotator, and set the HV in the 
plateau region.  Does the cosmic rate change if the detector 
is oriented like it will be on the rotator?


30-08-2010

Nauvoo

Works since yesterday. Changed foils.


Voltage = 3475/3200 Volts

Amplification= X20, 12.5 on a nub.

Integration=20ns

Diff=out

Discriminator threshold = 80 mV

Time (mints) # Counts Rate (Number of Events/sec)
13 1002 1.28
16 1233 1.28