Using a Microcontroller to Study the Time Distribution of Counts From a Radioactive Source

Similar documents
Experiment 1: The Same or Not The Same?

b) Connect the oscilloscope across the potentiometer that is on the breadboard. Your instructor will draw the circuit diagram on the board.

SOTM LAB: P16 OHM S LAW I. TEACHER NOTES & GUIDELINES TITLE OF LAB: Ohm s Law DEVELOPERS OF LAB:

Experiment 4. RC Circuits. Observe and qualitatively describe the charging and discharging (decay) of the voltage on a capacitor.

Lab 6: Capacitors and Resistor-Capacitor Circuits Phy208 Spr 2008 Name Section

LAB 2 1. Measurement of 2. Binomial Distribution

Laboratory II. Exploring Digital Logic

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

Circuit Analysis and Ohm s Law

PHY222 - Lab 7 RC Circuits: Charge Changing in Time Observing the way capacitors in RC circuits charge and discharge.

VELA. Getting started with the VELA Versatile Laboratory Aid. Paul Vernon

Partner s Name: EXPERIMENT MOTION PLOTS & FREE FALL ACCELERATION

Lab 5 RC Circuits. What You Need To Know: Physics 212 Lab

Class #12: Experiment The Exponential Function in Circuits, Pt 1

E. K. A. ADVANCED PHYSICS LABORATORY STATISTICS OF COUNTING WITH A GEIGER COUNTER ARTIFICIAL RADIOACTIVITY

Experiment 14 It s Snow Big Deal

pka AND MOLAR MASS OF A WEAK ACID

Lab 5 RC Circuits. What You Need To Know: Physics 212 Lab

Lab 01: Harmonic Motion I. Theory: Three experiments. The first we measure the oscillation of a spring, the second of a rubber band (non-linear).

Please bring the task to your first physics lesson and hand it to the teacher.

ISSP User Guide CY3207ISSP. Revision C

Laboratory 3 Measuring Capacitor Discharge with the MicroBLIP

22.S902 IAP 2015 (DIY Geiger Counters), Lab 1

Phys 243 Lab 7: Radioactive Half-life

Nuclear Physics Lab I: Geiger-Müller Counter and Nuclear Counting Statistics

2 Electric Field Mapping Rev1/05

PHY221 Lab 2 - Experiencing Acceleration: Motion with constant acceleration; Logger Pro fits to displacement-time graphs

Capacitance Measurement

LAB 2 - ONE DIMENSIONAL MOTION

Physics E-1ax, Fall 2014 Experiment 3. Experiment 3: Force. 2. Find your center of mass by balancing yourself on two force plates.

Laboratory #1: Inductive and Capacitive Transients Electrical and Computer Engineering EE University of Saskatchewan

You will return this handout to the instructor at the end of the lab period. Experimental verification of Ampere s Law.

The RC Circuit INTRODUCTION. Part 1: Capacitor Discharging Through a Resistor. Part 2: The Series RC Circuit and the Oscilloscope

DIFFUSION PURPOSE THEORY

Lab NUC. Determination of Half-Life with a Geiger-Müller Counter

RC Circuits. 1. Designing a time delay circuit. Introduction. In this lab you will explore RC circuits. Introduction

CHEMISTRY 130 General Chemistry I. Radioisotopes

General Physics I Lab. M1 The Atwood Machine

Statistics of Radioactive Decay

Newton's Laws and Atwood's Machine

Lab 5 - Capacitors and RC Circuits

Superposition theorem

MAG Magnetic Fields revised May 27, 2017

Lab 3 Acceleration. What You Need To Know: Physics 211 Lab

Determination of the Equivalent Weight and the K a or K b for a Weak Acid or Base

Arduino Weather Station And Ascom Observing Conditions

CHEMISTRY 170. Radioisotopes

EXPERIMENT 9 Superconductivity & Ohm s Law

A Determination of Planck s Constant with LED s written by Mark Langella

Lab I. 2D Motion. 1 Introduction. 2 Theory. 2.1 scalars and vectors LAB I. 2D MOTION 15

Review of Ohm's Law: The potential drop across a resistor is given by Ohm's Law: V= IR where I is the current and R is the resistance.

Radioactivity APPARATUS INTRODUCTION PROCEDURE

BRIDGE CIRCUITS EXPERIMENT 5: DC AND AC BRIDGE CIRCUITS 10/2/13

Building a Computer Adder

Lab 4 Series and Parallel Resistors

Physics 248, Spring 2009 Lab 6: Radiation and its Interaction with Matter

Lab 5 CAPACITORS & RC CIRCUITS

Lab 8 Impulse and Momentum

From this analogy you can deduce some rules that you should keep in mind during all your electronics work:

Physics 1000 Half Life Lab


Experiment 1 Introduction to 191 Lab

Lab I. 2D Motion. 1 Introduction. 2 Theory. 2.1 scalars and vectors LAB I. 2D MOTION 15

One Dimensional Collisions 1 Fall 2018

Chapter 26 Examples : DC Circuits Key concepts:

Physics 2020 Lab 5 Intro to Circuits

Physics 201: Experiment #1 Franck-Hertz Experiment

Lab 5 - Capacitors and RC Circuits

Fundamentals of Circuits I: Current Models, Batteries & Bulbs

UNIVERSITY OF ALABAMA Department of Physics and Astronomy. PH / LeClair Fall Circuits Exercises

Possible Prelab Questions.

Lab 10: DC RC circuits

( ) ( ) = q o. T 12 = τ ln 2. RC Circuits. 1 e t τ. q t

Multi-loop Circuits and Kirchoff's Rules

Radioactivity. PC1144 Physics IV. 1 Objectives. 2 Equipment List. 3 Theory

Assembly and Operation Manual. April 2016

Fig. 1-1 Current Flow in a Resistive load

Parallel DC circuits

first name (print) last name (print) brock id (ab17cd) (lab date)

Experiment 9. Emission Spectra. measure the emission spectrum of a source of light using the digital spectrometer.

Generating Electricity. Outreach Program Lesson Plan

THE GEIGER-MULLER TUBE AND THE STATISTICS OF RADIOACTIVITY

Capacitors. The charge Q on a capacitor s plate is proportional to the potential difference V across the Q = C V (1)

Physics 15b PSI Week 4: Magnetic Fields

1. In Activity 1-1, part 3, how do you think graph a will differ from graph b? 3. Draw your graph for Prediction 2-1 below:

EXPERIMENT 12 OHM S LAW

Lab Week 6. Quiz #3 Voltage Divider Homework P11, P12 Kirchhoff's Voltage Law (KVL) Kirchhoff's Current Law (KCL) KCL + KVL Module Report tips

Chapter 14: Finding the Equilibrium Solution and Exploring the Nature of the Equilibration Process

An Ultra Low Resistance Continuity Checker

Lab 08 Capacitors 2. Figure 2 Series RC circuit with SPDT switch to charge and discharge capacitor.

An Introduction to Electricity and Circuits

Capacitors GOAL. EQUIPMENT. CapacitorDecay.cmbl 1. Building a Capacitor

Energy Conservation in Circuits Final Charge on a Capacitor. Recorder Manager Skeptic Energizer

Designing a Thermostat Worksheet

Experiment A11 Chaotic Double Pendulum Procedure

PHY 111L Activity 2 Introduction to Kinematics

Lab 4 CAPACITORS & RC CIRCUITS

Electric Current Unlike static electricity, electric current is a continuous flow of charged particles (electricity). For current to flow, there must

LABORATORY VIII NUCLEAR PHENOMENA

Parts II-V Sabbatical Leave Report

Transcription:

Using a Microcontroller to Study the Time Distribution of Counts From a Radioactive Source Will Johns,Eduardo Luiggi (revised by Julia Velkovska, Michael Clemens September 11, 2007 Abstract In this lab we will study the time distribution of counts in a Geiger counter from a radioactive source. We first construct a simple microcontroller which is read by a computer and then use it to study the distribution of counts in a fixed time and the distribution of times between successive counts. Part I. What is a Microcontroller? In the first part of the lab you will build a microcontroller called Basic Stamp following the instructions provided in the Microcontroller Tutorial 1

Part 1: Microcontroller Tutorial Microcontrollers are simply small (hence the name Micro ) Central Processing Units (CPUs) much like the ones found inside of computers. The difference is that while you can interact with your CPU through a keyboard and a monitor, microcontrollers are made to interact with other electronic devices. Several everyday objects contain microcontrollers like your car, your watch and your hairdryer. In this lab we will be using a simple microcontroller called the Basic Stamp. The Basic Stamp has a great advantage over other microcontrollers because it is easy to program. In this lab you will be programming it through the laptop using a computer language called PBasic, a special version of Basic. So let's get started. You will need: Laptop with Basic Stamp II Module Board of Education with Basic Stamp (see Figure 1) Serial port cable (2) Light Emitting Diodes (LEDs) (2) 470 Ω resistors 9 volt battery or power supply Several wires O.K., first we will be connecting the two Light Emitting Diodes (LEDs) to the Basic stamp. LEDs are devices that light up when there is a large enough voltage drop across them. There are a few things to be careful about when using LEDs. First, always connect the LED in series with a 470 Ω resistor so that too much current doesn't flow through it. Second, diodes are devices that are made to allow current to flow only one way, so it is crucial that you connect them correctly or they won't light up. If you look at the plastic shielding on an LED there is a flat side. Always connect it so that current flows out the wire next to the flat side. In other words, connect the rounded side to higher voltage.

Figure 1: Board of Education Figure 1 shows the Board of Education. The bottom right side is where the breadboard is. Since the breadboard on our Board of Education is old and used, we will be creating our circuit in another breadboard that doesn t have problems. To understand how the breadboard works, turn over the newer breadboard. You can see the metal strips that are beneath the holes. Wires that are stuck in holes that share a metal strip become connected. Most of the metal strips are horizontal and 5 holes wide, but there are two long vertical strips along the sides. We will be using the breadboard to create a simple circuit with our LEDs. Construct the circuit shown below in Figure 2:

Figure 2: LED circuit setup. Vdd is at 5 V so be sure to connect the rounded side of the LED to that wire. Pins P0 through P15 can be read or controlled by the basic stamp. We will be using just P0 and P1 here. Have the instructor check your work before you plug in the power supply. Now we are ready to program the basic stamp. Connect the serial port cable to the back of the computer and also to the board of education. Double click on the Basic Stamp Editor Icon on the Desktop. We don t have enough time to teach you how to program in PBasic, but the following notes should be helpful: 1. The Basic Stamp executes commands from top to bottom, line by line. 2. Anything written after an apostrophe ( ) is ignored by the Basic Stamp. 3. After it is run, the Basic Stamp will execute the program once and then stop after it executes the last line of code. Now, copy the following code into the Basic Stamp Editor: ' {$STAMP BS2} 'Tell the program what kind of basic stamp we have OUTPUT 0 'Make P0 an output OUTPUT 1 'Make P1 an output reblink: 'Label this spot with the word "reblink" OUT0 = 0 'Make Output P0 a 0 (0 Volts) OUT1 = 1 'Make Output P1 a 1 (5 Volts) PAUSE 1000 'Pause for 1000 miliseconds OUT0 = 1 'Make Output P0 a 1 (5 Volts)

OUT1 = 0 'Make Output P1 a 0 (0 Volts) PAUSE 1000 'Pause for 1000 miliseconds GOTO reblink 'Go to command after the word "reblink" Notice the comments on the side are the English translation of PBasic. Read through them to see if you can understand what the Basic Stamp is going to do before you run the program. Try to guess what you should see the LEDs do. When you think you know what will happen press CTRL R to run the program. Your screen should look something like this: If everything is set up correctly, you should see the LEDs blinking on and off about once a second. When one is on, the other should be off. Once this is working, you can try varying the program and see that the result will change. For example, you can make both LEDs blink synchronously, or you can make them stay on for 2 seconds and stay off for 1 second. Go ahead and try something different!

Part II. Using Your Basic Stamp to read out a Geiger Tube In this part of the lab, we are going to use the Basic Stamp as a data acquisition system for a Geiger counter. You need: 1. Board of Education with Basic Stamp 2 2. A power supply (or 9V Battery) 3. The interface cable to the computer (DB9 serial cable) 4. Computer running Basic Stamp software (with serial port) 5. A CD4040BE Ripple Carry Binary Counter (This is a Chip) 6. Model 528 Eberline Geiger counter and the special connector cable 7. The Geiger Tube program disk (may already be in your computer) 8. Some jumpers for making connections 9. An amplifier in a clear plastic box (just an OP AMP really) 10. A Breadboard and several wires 11. A radioactive source (ask your instructor) Procedure Set the stamp as you did in the first part of this Lab but leave the breadboard bare. Put the CD4040BE on the breadboard Connect the Board of Education and the CD4040BE chip according to Figure 1 and Table 1. 2

Chip (CD4040BE) Q12 Q6 Q5 Q7 Q4 Q3 Q2 Vss CD4040BE Vdd Q11 Q10 Q8 Q9 Reset φ1 Q1 Figure 1: CD4040 Chip Chip Board of Education Vdd Vdd Vss Vss Reset P0 φ1 P1 Q1 P4 Q2 P5 Q3 P6 Q4 P7 Q5 P8 Q6 P9 Q7 P10 Q8 P11 Q9 P12 Q10 P13 Q11 P14 Q12 P15 Table 1: Connections between Board of Education and CD4040 chip The idea is to pulse the φ1 line up and down. The CD4040 outputs a binary number that is supposed to be the number of times the φ1 pin was pulsed. We are going to use this feature to count pulses from a Geiger tube, but first we need to check and make sure everything was hooked up correctly. We are going to do this by pulsing P0 enough times to check each binary output. Q1 corresponds to the 0 bit. In case you ve never been exposed to binary numbers, they work like this for the CD4040 (and lots of other things too). In the table below, 1 means the pin is high or about +5 V, 0 means the pin is low or about 0 V. The number is the sum of the bit value (0 or 1) times 2, raised to the power of the bit position. You can actually watch this happening 1. 1 #counts = 2048*Q12 + 1024*Q11 + 512*Q10 + 256*Q9 + 128*Q8 + 64*Q7 + 32*Q6 + 16*Q5 + 8*Q4 + 4*Q3 + 2*Q2 + Q1 3

Q12...Q1 Num. of Counts 000000000001 1 000000000010 2 000000000011 3 000000000100 4 000000000101 5 000000000110 6 Q12...Q1 Num. of Counts 100000000000 2048 110000000000 3072 111000000000 3584 101000000000 2560 111111111111 4095 000000000000 0 Table 2: Examples of binary numbers. Once you have the chip hooked up, Double click the Basic Stamp icon on the Desktop Press (ALT I) to identify the hardware Load the file GEIGERTE.bs2 found in the Geiger file folder Run the program (CTRL R) This program is set up to pulse 128 times, read the binary output, and then form a word from the binary data. You can put different numbers into the program to test different pins, i.e. you could try 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 and 2048. This would let you know if you mixed up any pins. Question: How many counts do you read if you pulse 4096 times? Why? You can set the number of pulses very high and watch the operation of the counter with a data probe. You may need to vary the amount of time you pause between the high and low pin settings so you can hear or see the individual points. Hooking up the data probe: First connect the data probe as shown in Figure 2 and touch the point to the data pin to test. Now move the probe from Q1-Q12. 4

Vdd RED Vss BLACK High Low pulse CMOS Figure 2: Data probe Question: What did you noticed about the rate of pulsing? See how the different bits works? If you are convinced that your counter is working, you can start to connect the Geiger Counter. Lets make sure the Geiger counter is working, at some level. 1. Check the battery by turning knob to BATT and looking to see if the needle is in the OK region 2. Turn knob so that X1 is selected 3. Have your instructor bring you a source.we will use a piece of Uranium ore, which contains mostly 238 U. Follow the radioactive source link on the course web page (www.hep.vanderbilt.edu/ julia/vuteach/phy225a/uranuimore.htm if you want to learn more about the 238 U decay chain. 4. Bring counter close to source. Meter should raise a little. You don t need more than 2000/min. (Note: you may need to press RESET first) 5. Hook up the Geiger counter to the Data Probe using these connections: 5

Input φ1 4700 Ohm Vss Figure 3: Auxiliary circuit. Geiger Phone Shielded Coax Cable Amplifier Phone Input Board of Education Vdd Data probe RED Input to RED Counter BLACK Vss Probe tip BLACK Repeat step 4, Did you get pulses in the detector? Now, remove the connection from P1 to the CD4040 (we don t need to pulse artificially now) and hook up the Geiger counter Input to the φ1 pin. Place the source close to the Geiger tube and look at Q1 with the data probe. Getting any action? You may want to check your connections, or you may need to hook up an auxiliary circuit to help the Geiger counter trigger the CD4040. A suggestion is shown in Figure 3 (you may want to have your instructor check your set up before you try this, and you may wait 20 sec. or so and look again.) Conditioning the input this way gives the CD4040 chip a better chance of recognizing a High level. The resistor sets a definite low level, and the Geiger counter will pulse the φ1 pin High. (You may not need this though) Now that the Geiger counter is working, leave the source in place and load the program GEIGERME.bs2. Run it. It is set up to take 12 readings of 10 sec. lengths each. If you add up these readings and divide by 2 you should roughly duplicate the meter reading on the Geiger counter. You are ready to proceed with some physics measurements if your counter set up checked out OK. You may find it convenient to modify the GEIGERME.bs2 6

program to make your data taking easier. Before you modify this program though, copy it to a file you won t destroy, like mygeig.bs2. Proceed to the following experiments Do experiment 2.6 first. If you have time, graph your results. If the results make sense then do experiment 2.7 next. Be sure you don t change the geometry between the source and the detector once you ve started. You also may have to throw away your first data point. A note on program structure Most of the programs in the lab have this kind of structure: Top: Let the computer know what variables you need. Middle: Operate on variables. Bottom: Data output. 7

Experiment 2.6 Counting Statistics Purpose We will measure the decay rate of a radioactive source and investigate its statistical properties. Since the decay of radioactive atoms is a random event, we do not expect to measure the same number of decays per unit time every time we repeat the measurement.however, if we do a large number of measurements, we can determine the average decay rate. We can also determine the probability for getting a particular result. The number of decays per unit of time of a radioactive source is distributed according to the Poisson Distribution. The probability P(k) that we will obtain k number of decays during a fixed time interval is given by: P(k) = µk k! e µ (1) The parameter µ is the average number of counts (radioactive decays, in our case). This is a discrete distribution and it is valid not only for radioactive decays, but for any random uncorrelated events when counting in a fixed interval of time or area is involved. There are three features of the Poisson distribution that are interesting to note: 1. The standard deviation squared of the Poisson distribution is equal to its mean, i.e N σ 2 i=1 = µ = R i (2) N 2. When the mean of the Poisson distribution is large ( µ > 20 ), it becomes nearly identical to a Gaussian distribution with σ 2 = µ. Note that this relation between σ and µ does not hold for any Gaussian distribution. 3. For small µ, the Poisson distribution has a characteristic tail toward large values of k (the measured number of counts in a fixed time interval). This is illustrated in the figure 4, where the probability to get k counts, P(k), is plotted for several distributions with different mean values µ = 2, 5, 15. 8

Probability Poisson distribution 0.3 0.25 µ = 2 0.2 0.15 0.1 µ = 5 µ = 15 0.05 0 0 5 10 15 20 25 30 k (number of counts) Figure 4: Poisson Distribution for different values of the mean µ. In our experiment we will make about 50 independent measurements of the number of radioactive decays within a fixed interval of time in order to determine the average decay rate and the probability distribution. We can control the average number of counts that we register by choosing the time duration of our measurements or by changing the distance from the source to the Geiger counter. Let s choose 0.5 min for our time interval and adjust the distance from the source such that we are getting about 100-1000 counts. With these values, we should observe that the probability of getting a particular number of counts looks like a Gaussian distribution centered about the mean value with σ 2 = µ. Procedure and analysis 1. Set the operating voltage of the Geiger counter at its proper value. 9

2. Place the radioactive source far enough away from the window of the GM so that 100-1000 counts can obtained in a period of 0.5 min. 3. Without moving the source, take 20-50 independent 0.5 min runs, and record the counter values, R in Table 3. (Note that you have to extend Table 3; we ve shown only 10 entries.) 4. Using all your measured values of R, determine the average: R. Fill in the values of R R and (R R) 2 in Table 3.Use the latter to determine the standard deviation: σ = N i=1 (R R)2 N (3) 5. Fill the values of (R R)/σ in the table using two decimal places and then round them off to the nearest 0.5 value. 6. Make a plot of the frequency of the round-off events (R R)/σ vs the round-off values. Figure 5 shows this plot for an ideal case. Note that at zero there are eight events, etc. This means that in our complete round-off data in Table 3 there were eighth zeros. Likewise, there were seven values of +0.5, etc. Does your plot follow a normal distribution similar to that in Figure 5? How do σ and R compare? 10

Run R R R (R R) 2 (R R)/σ (R R)/σ (Rnd d Off) Typical Measured Typical Measured 1-0.15 0 2 +1.06 +1.0 3 +0.07 0 4-1.61-1.5 5-1.21-1.0 6 +1.70 +1.5 7-0.03 0 8-1.17-1.0 9-1.67-1.5 10 +0.19 0 Table 3: Typical values of (R R)/σ and (R R)/σ (Rnd d Off) are listed for illustrative purposes only. 10 8 Frquency of Round-off Events 6 4 FWHM (Full With at Half Maximum) Probable error Standard Deviation 2 0-3 -2-1 0 1 2 3 (X i -X avg )/σ Figure 5: Typical Plot of Frequency of Round-Off Events vs the Round-Off Values 11

Experiment 2.7 We will measure the time intervals between successive radioactive decays and study the statistics of this process. If we do a lot of measurements, we can determine the probability that an atom will decay in a certain time. This probability does not depend on any previous events and follows an exponential decay distribution. Here is why: Consider a process such as a particle decay where: 1. In a small interval of time, t, there is at most a single decay. 2. The probability of finding a decay in this interval of time is proportional to t. 3. A decay in t is independent for the decays at other times. The probability then of finding a decay in the time t is: P i ( t) = M t where M is a normalization constant. The probability of finding 0 decays in the time t is: P j ( t) = 1 P i ( t) = 1 M t If we keep in mind that the decays are independent, the probability to get no decays in a long time, t + t, can be expressed as: P j (t + t) = P j (t)p j ( t) Combining this with the above expression, one can form the quantity P j (t + t) P j (t) t = MP j (t) (4) As t approaches 0, the left side of the equation becomes a derivative and the above equation becomes (after rearranging the terms): dp P = Mdt (5) 12

The solution to this differential equation is: since P j (0) = 1 and P j (t) = e Mt P j (t) = P j (0)e Mt Let s combine some probabilities. The probability that you have no decay in time t, and one decay in t is: P j (t)p i ( t) = e Mt M t and the probability/(unit length) becomes Me Mt. This is how the time between events should be distributed in a random process. You are going to verify this. Procedure Once you have finished with the counting statistics portion of the lab, load the program geigeran.bs2. This program loops 65000 times (about 2.5 msec/loop) and checks to see if the counter has incremented. If so, you will get a number of loops since the last Geiger tube hit, (You may need to put a 4700 Ohm resistor on the input to stop multiple hits.) Write down each number. Probably you need 250 or so points to do a good job. Make sure that the rate in the counter is not too high (a few/sec is fine). You can also do different rates as a check. If you completely remove the source, you can measure the background to see if its random. Exercise Draw a histogram of your data. Choose your bin size in such a way, so that the scatter in the data looks reasonable. Does your data confirm the relationship Me Mt? Use a fitting program to obtain M for your data. What is the average time between events for your data? 13