Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Luter 345 Experiments
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Cosmic Ray Detection (Losada, Freeman, Lyon, Trant)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Experimental Overview == The purpose of this experiment is to setup a simple cosmic detection system, using scintillating paddles, with 4 [http://en.wikipedia.org/wiki/Photomultiplier Photo Multiplier Tubes (PMT)s] and then to setup and understand a simple [http://en.wikipedia.org/wiki/Data_acquisition Data Acquisition (DAQ)] system. The purpose of this setup is to detect incoming [http://en.wikipedia.org/wiki/Cosmic_ray Cosmic Rays] and to then setup a triggering system for our DAQ. This same approach is used for some particle detecting and data acquisition systems at Jefferson Lab, only on a much larger scale and way more complex. [[File:20141107_141514_resized.jpg|thumb|left|450px|Scintillating paddles and PMT setup]] [[File:vmeCrateLuter.jpg|thumb|none|200px|DAQ with no connections made]] Most of what we did in our experiment was in preparation for real 4 tube data taking. We began by configuring and understanding the scintillation process and PMTs, which were already setup from experimental setup that happened over the summer break of 2014. Next we setup the data acquisition system to accept one tube at a time in order to characterize each tube. The next step was to setup up the logic and triggering system to accept 4 tube operation. Details for this process follows bellow on this wiki page. == Hardware Setup (Trant)== === Hardware Description === ==== DAQ Overview and Concept of Triggering ==== <span style="color:red"> Perhaps an overview of what a DAQ is, and explanation of the idea of triggering on an event ... ? What are we describing below?</span> ==== Linear Fan-in Fan-out(FiFo) ==== This module receives a signal from one of the four tubes then copies the signal into four outputs for us to use. this enables us to view the analog signal on the oscilloscope while sending it to the CFD to continue with processing the signal. ==== Constant Fractional Discriminator(CFD)==== the CFD receives the signal from the Fifo and converts it from an analog signal to a digital signal. The digital signal can then be pushed through logic gates to give it some delay so it is easier to analyze. ==== Nim-ecl / ecl-nim Converter ==== (tony) This module is just a cable converter, the TI unit only accepts ribbon cables (ecl) so we must change cable forms to use it. ==== Trigger Interface(TI) ==== (Tony) This card is a special device manufactured by JLab to serve as an interface between CODA and the VME boards (QDC and TDC), it has a few purposes. Firstly, it serves as an anchoring point to allow automated addressing of the VME boards, meaning that if one is moved to a new slot, the system will automatically update it's read locations. Secondly, it serves as an event limiter. When an event causes a trigger, it is sent into the input of the TI, then the TI will emit a level 1 accept signal (L1A). This signal is what will then be sent to the gate of the VME boards to trigger data recording. The TI also sends out a busy signal(BSY) to prevent another trigger from interrupting the VME boards while the are recording an event. ==== Discriminator ==== The Lecroy Quad Discriminator generates precise logic pulses in response to its input exceeding a given threshold. Output pulses are of standard amplitude and of preset duration or proportional to the input rate. The threshold is a specific voltage of interest to the user, which can be set above some critical noise level and correspond to a certain level of integrated rates (coincidence events). ==== Charge to Digital Converter(QDC) ==== (Tony) This VME board is a DAQ module that integrates the charge of a raw signal over the entire period while it is receiving a trigger in its gate port. This will produce a numerical value between 0 and 3096 that is a ratio to the total charge of the signal. ==== Time to Digital Converter(TDC) ==== === Table of Hardware (Freeman) === The following is a table of all hardware components used in the ''Data Acquisition ( DAQ )'' system for our experiment. {| class="wikitable" |- ! Model ! Description ! Data Sheet ! User Manual |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/XVB601.jpg GE XVB601] | VME single board computer | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/XVB601_datasheet.pdf XVB601_datasheet.pdf] | |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/20141107_140953_resized.jpg JLab TI Board] | In house made trigger interface board | | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/VmeTIRManual.pdf TI UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/V792.JPG CAEN V792N] | CAEN QDC card | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/V792N%20_%20QDCs%20_%20CAEN_datasheet.pdf V792 DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/v792_manual.pdf V792 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/V775N.jpg CAEN V775N ] | CAEN TDC card | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/V775N%20_%20TDCs%20_%20CAEN_datasheet.pdf V775N DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/V775_manual.pdf V775 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/428f.jpg Lecroy 428F] | Lecroy Linear Fan In Fan Out Card (FIFO) | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/428A.pdf 428 DS] | |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/934.jpg Ortec 934] | Constant Fraction Discriminator | | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/ortec_934_manual.pdf 934 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/821.jpg Lecroy 821] | Quad Discriminator | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/LeCroy_821.pdf 821 DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/Lecroy821.pdf 821 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/755.jpg Phillip Scientific 755] | Quad Majority Logic Unit | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/755ds.pdf 755 DS] | |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/N638.jpg CAEN N638] | Quad Scaler and Preset Counter/ Timer | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N638%20_%20Translators%20_%20CAEN_datasheet.pdf N638 DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/n1145_manual.pdf N638 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/1420_S.JPG CAEN N1470] | CAEN High Voltage Power Supply | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1470_datasheet.pdf N1470 DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1470_manual.pdf N1470 UM] |- | [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/N638.jpg CAEN N638] | NIM-ECL Translator And Fan Out | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N638%20_%20Translators%20_%20CAEN_datasheet.pdf N638 DS] | [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/n638_manual.pdf N638 UM] |} === Setting Bias Tubes and taking 4 Tube Data === <span style="color:red"> I think we need to say something about the difference between the configuration we had for characterization and what we have now. Tony also said he would do this section .... </span> ===Diagram=== The Diagram below shows the wiring of the system. every wire is labeled with it's delay and each module is described above. [[File:blah.png|thumb|none|1000px|DAQ Connection Diagram]] == Hardware Connection (Hesse,Davison,Kerver) == Make sure the CPU module is on the far left side of the VME crate, followed by the trigger supervisor, then the rest of the modules. ===Connecting High Voltage=== ==== 1. Preparing High Voltage ==== To remotely access and control the high voltage supply, open the terminal and become super user by typing "su" , followed by the super user password. Once a super user, type "minicom" in the terminal. The serial connection to the HV supply should already be set as the default device, so once minicom is open the terminal should display the controls for the HV. Otherwise, the voltage can be adjusted directly from the power supply by using the knob controller. Hint: If the display for the high voltage controller does not appear within minicom type '''caen''' to show the voltage control. Hint: If a connection cannot be made the correct USB output needs to be chosen: '''minicom usb1''' [[Minicom alternative - CAEN HV interface (Freeman)]] ==== 2. Attaching Cables ==== On the end of each PMT there is a connector labeled (HV) for high voltage. Here, securely fastened (HV) cables can be connected to the PMTs and linked with the power supply in separate channels. (Channels 0 to 3) ==== 3. Polarity ==== Make sure that the polarity on the power supply is set to '''negative'''. If it is not, the polarity can be adjusted by removing the power supply, taking off its rear panel, and switching the polarity. (Refer to the power supply manual for further instruction) ===Wiring Signal=== All four PMTs are connected with signal cable to a Linear Fan-in Fan-out module. From there the input signal can be copied and have up to four output signal destinations. The outputs from all four PMT signals are then connected to a Constant Fractional Discriminator (CFD) with a 2nm signal cable. Signals 1 and 2 from the CFD then pass through a Quad four-fold logic unit set to a coincidence level of 2. Signals 3 and 4 are also then ran through the Quad four-fold logic unit, and the outputs from both are also anded in the Quad four-fold logic unit. This final output is then wired to an oscilloscope or and ADC unit for analysis. == Steps to Start Taking Data (Freeman) == === Log on to jlabdaq computer, with the ''coda '' username=== ===Start msqld database server=== * type ''''' msqld ''''' in a terminal window * [http://jlabdaq.pcs.cnu.edu/wiki/index.php/CODA_Setup#STEP_4:_MSQL_Setup More Details] * Warning if you neeed to kill or restart the db server you must do so by killing the process: ** From a terminal window type: '''''ps wwwaux | grep msqld | awk '{print $2}' | xargs kill -9 &''''' ===Start CODA:=== * You must be logged in as username '''coda''', then type '''''startcoda''''' ** For more details about starting and stopping CODA click, [http://jlabdaq.pcs.cnu.edu/wiki/index.php/CODA_Setup#Starting_and_Killing_CODA here] ** To look at the code, click [http://jlabdaq.pcs.cnu.edu/wiki/index.php/Setup_Files#Startcoda_Script here] *Killing CODA: **When you are finished, just type '''''killcoda''''' *** To look at the code click, [http://jlabdaq.pcs.cnu.edu/wiki/index.php/Setup_Files#Killcoda_Script here] * For more details on what was done to install CODA and how to setup the CODA configuration, browse this [http://jlabdaq.pcs.cnu.edu/wiki/index.php/CODA_Setup section] ===Start the CAEN High Voltage, minicom window === *You must be logged in as the super user, type ''''' su ''''' into the command line. ** when prompted for a password, type in the ''root'' password. * Turn on High Voltage to the Tube Channels that you want to power. * For more details see previous section, [http://jlabdaq.pcs.cnu.edu/wiki/index.php/Cosmic_Ray_Detection_(Losada,_Freeman,_Lyon,_Trant)#Connecting_High_Voltage Connecting High Voltage] ===Once CODA is Running and the ''Run Control GUI'' is up:=== * Go to the title bar and select '''''Configure'''''. ** Select Configuration, '''''cool''''' ** Select '''ADCTDC''' ** Select the '''Configure''' Icon [[File:configure.png]] * Select the '''Download''' Icon [[File:download.png]] * Select '''PreStart''' [[File:prestartSymbol.png]] * Now you can Start When Ready [[File:start.png]] == Tube Characterization Scans (Freeman) == === Introduction === In order to best set up our system for collection of cosmic data we must adjust the threshold (on the [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/ortec_934_manual.pdf Ortec 934 CFD Card] ) and the level of high voltage (HV) applied to the PMT using the ([http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1470_rev17.pdf CAEN 1470]). To understand what levels these two quantities should be set to we must perform some tube characterization scans (described below). We opted to perform the threshold scan first, then using the threshold we determined we could perform our HV scans. Once a scan was completed we could plot the logarithm of the rate (log(rate)) vs. the scan target (threshold or HV). We new that the scans would provide a double exponential pattern and that the first plateau would be appropriate operation level of our scan target. In order to find the proper threshold, our first run, we adjusted the threshold on the [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/ortec_934_manual.pdf Ortec 934 CFD Card]. The next 4 sets of scans we adjusted the high voltage ([http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1470_rev17.pdf CAEN 1470]) and then let coda run for a fixed amount of time (600 s). This gave us some event count. By plotting the log(Rate) vs. Voltage we are able to characterize each tube and find at which voltages we get all noise and for which voltages we get peak signal. === Scans === ==== Rate vs. Threshold Measurements ==== Our original plan was to scan through thresholds 100mV - 2000mV at 100mV steps and used a voltage of 1550 V . We began by adjusting the threshold, then let coda run for 1000 events. We recorded the start and stop time of coda. From this we are able to extract a time delta, and then calculate a rate. We also originally decided to only take this measurement with one tube. We found very quickly that as we increased the threshold from 100mV, 200mV, and then 300mV that if we continued to use 1000 events it would take many hours to complete the upper thresholds. We decided to lower the amount of collected rates to 250 events. Equally as we raised the threshold to higher values we found that cutting off the max threshold was a good idea. We plotted and fit our data after we found the first few points. This allowed us to see an exponentially decreasing plot. With a threshold of 500mV we have, nearly, a zero rate. We decided to not go to any higher thresholds, but to fill in some of the gaps and took more data points from 150mV - 450 mV By plotting the log(Rate) vs. Threshold we were able to see a plot that has a linearly decreasing slope, roughly picking where the line crosses the y=0 we chose a threshold of about 250mV. We assumed that we should set all of the thresholds to the same value, after taking data on one tube. After checking one of the other tubes and getting different results, it was observed that the threshold values should be measured and characterized for each tube. ==== Rate vs. Voltage Measurements (Losada) ==== To perform this scan we needed to set the threshold to a set amount and scan over a range of voltages. Based on prior knowledge (obtained from the threshold scan) we chose to run the scans at a threshold of 150mV and scan from -1300V to -2000V in 50V increments. To control the amount of time data was collected we used our timer/scalar ([http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1145%20_%20Scalers%20_%20CAEN_datasheet.pdf CAEN N1145]). We set it up to count events for 600s per run. Once again we are looking to obtain the double plateau shape to determine the appropriate operation levels. ==== Error Analysis ==== The following errors were calculated and placed directly into the data files. See below for details in the error analysis. ===== Error in log[Event Count/ Time] (Vertical Axis) ===== *Using the [http://en.wikipedia.org/wiki/Propagation_of_uncertainty#Simplification Variance Formula] we were able to calculate the propagation of uncertainty of the ''Log( # of events / time )'' <math> s_f = \sqrt{ \left(\frac{\partial f}{\partial { x } }\right)^2 s_x^2 + \left(\frac{\partial f}{\partial {t} }\right)^2 s_t^2 } </math> Where <math>s_x</math> is the error in the number of events counted, and <math>s_t</math> is the error in the time. The variable <math>x</math> is the number of events counted, and <math>t</math> it variable for time. <math>f(x , t) = log \left(\frac{ x }{ t } \right)</math> So, our equation becomes: <math>s_f = \sqrt{ \left(\frac{ 1 }{ x ln(10) }\right)^2 0 + \left(\frac{- 1 }{ 600 [s] ln(10)}\right)^2 0.0005^2 [s] }</math> Note that we assume that there is no error in the number of events counted, an event is either counted or it is not. We took the error in time to be equivalent to ''0.5 [ms]'', which is half the time smallest time scale of the [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/daq/N1145.jpg CAEN N1145] Timer/ Scaler card. So our final uncertainty is equal to: <math>s_f = 3.61912 \times 10^{-7}</math> ===== Error in Threshold Values ===== * Error in this measurment was dominated by the error in the multimeter measurment. The meter is a [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/ht39_specs.pdf '''''HT39''''']. From the spec sheet: '''Error in DC Voltage Measurment''' = ''+/-(%0.5 of Readback + 2 of the least signifigant digit)'' ===== Error in High Voltage ===== *Error in the High Voltage measurment is the error in the [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/N1470.pdf '''''CAEN 1470'''''] voltage. From the Spec sheet: '''Error in the Readback Voltage vs Measured Voltage''' = '' +/-( %0.02 of Readback +/- 2[Volts] ) '' === Results === ==== Data Files ==== *Columns are: **Voltage or Threshhold, Event Count , Voltage or Threshold Error, and Error in Log(Rate) ===== Threshold Scans ===== 1. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/threshTube3.dat threshTube3.dat] 2. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/threshTube4.dat threshTube4.dat] ===== Voltage Scans ===== 1. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/tube1.dat tube1.dat] 2. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/tube2.dat tube2.dat] 3. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/tube3.dat tube3.dat] 4. [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/data/tube4.dat tube4.dat] ==== Root Macros ==== [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/macros/plotThresh.C Macro for producing Log(Rate) vs. Threshold ] [http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/macros/plot.C Macro for producing Log(Rate) vs. Voltage ] ==== Graphs ==== *Used '' Root '' to create and save plots ===== Threshold Plots ===== 1. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/threshold_tube3.png threshold_tube3] 1. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/threshold_tube4.png threshold_tube4] ===== Voltage Plots ===== 1. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/tube1.png tube1] 2. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/tube2.png tube2] 3. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/tube3.png tube3] 4. [http://jlabdaq.pcs.cnu.edu/resources/images/cosmicData/tube4.png tube4] == Analyzer/ Reading Data Words (Lyon)== === Description === <span style="color:red">What is analyzer and why do we want to read data words. Probably need to say something about root trees</span> ===Our Setup=== The image shown is how the data taken from this setup will appear. The data words in the image are organized in an order as follows: a run count word that tells the run number of the file, a header word of the QDC to tell how many data words follow(this will always be 16 words), the data words of the QDC, a header word for the TDC (0-4 words in cosmic setup), the TDC data words, and a closing word that tells the analyzer to stop parsing(daebd00d). *For more information about decoding the output buffers, read the user manual pages: **[http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/v792_manual.pdf#page=45 CAEN V792N QDC] **[http://jlabdaq.pcs.cnu.edu/resources/docs/cosmicData/usermanuals/V775_manual.pdf#page=42 CAEN V775N TDC] ===Hex to Binary Conversion=== These words are shown in hexadecimal (the 0x denotes a hex number), so first they are broken down into 32bit binary words. First off, a word is just a number for the computer, which means this will just be converting a number from one base to another. Hexadecimal numbers have sixteen different digits, which range from 0 to F. Binary numbers only have two digits, which are 0 and 1. Because sixteen is a power of two (specifically 2^4), so a hex number can be written as a four digit binary number. The chart shows the conversion from hex to binary and decimal. [[File:Dec_hex_bin.gif]] ====Example==== Here is an example of how to break a hex word down to bits. The given hex word is: 0xfa8004081 The β0xβ just denotes that it is a hex word, so we ignore it for conversion. Following the chart, f becomes 1111, 8 becomes 1000, 0 becomes 0000, etcβ¦ When you put them all together our final binary word becomes: 11111000000000000100000010000001 ===The word make-up=== The run count word simply recalls the run number of the data. This is used for labeling purposes. =====QDC Header Word===== [[File:QDC_Header_Word.png|thumb|none|900px||QDC Header Word]] =====TDC Header Word===== [[File:TDC_Header_Word.png|thumb|none|900px||TDC Header Word]] Starting from the left, the first five bits are the geographical location. We should always expect 11111 for this part because our location is constant. The next three bits denote the kind of word. A header word will read 010 and a data word will read 000. For the header word, the next eight bits denote the crate being used. Both the TDC and QDC are operating out of crate zero, so those should be expected to be all 0βs as well. These are followed by 2 constant zero bits. And finally there are five bits that tell how many data words follow the header word. The rest of the bits have no meaning (should always be 0βs). =====QDC Data Word===== [[File:QDC_Data_Word.png|thumb|none|900px|QDC Data Word]] =====TDC Data Word===== [[File:TDC_Data_Word.png|thumb|none|900px|TDC Data Word]] For a data word, the geo bits are the same. The three bits should read 000 to mean it is a data word. There will be three unimportant bits (again 0βs), followed by five channel bits. There will be one unimportant bit, and then the QDC will have a second unimportant bit, but the TDC will have a bit to determine valid data. If that valid bit is a 1 then the data is good. For both machines, there will be bits to determine whether the data is underthreshold or in overflow in that order. For our purposes, these bits should always be 0βs meaning that it is not underthreshold nor is it in overflow condition. The last 12 bits is the data itself. The closing word is simply a constant telling the analyzer to stop parsing when it reads this word. ====Example==== Here is the word from the previous sections, to break it down in these meanings: 11111 000 000 0000 001 00 000010000001 The first five bits are 11111, as expected. The next three are 000, meaning it is a data word. Three unimportant bits. It is coming from channel zero. Three unimportant bits. Not it underthreshold nor overflow. And then the last twelve bits are the data.
Summary:
Please note that all contributions to Luter 345 Experiments may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Luter 345 Experiments:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)