Automatic commit. Tue Aug 14 20:00:04 WST 2012
[matches/honours.git] / thesis / thesis.tex
1 \documentclass[10pt]{article}
2 \usepackage{graphicx}
3 \usepackage{caption}
4 \usepackage{amsmath} % needed for math align
5 \usepackage{bm} % needed for maths bold face
6  \usepackage{graphicx}    % needed for including graphics e.g. EPS, PS
7 \usepackage{fancyhdr}   % needed for header
8
9 \usepackage{hyperref}
10
11  \topmargin -1.5cm        % read Lamport p.163
12  \oddsidemargin -0.04cm   % read Lamport p.163
13  \evensidemargin -0.04cm  % same as oddsidemargin but for left-hand pages
14  \textwidth 16.59cm
15  \textheight 21.94cm 
16  %\pagestyle{empty}       % Uncomment if don't want page numbers
17  \parskip 7.2pt           % sets spacing between paragraphs
18  %\renewcommand{\baselinestretch}{1.5}  % Uncomment for 1.5 spacing between lines
19  \parindent 0pt           % sets leading space for paragraphs
20
21
22 \newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector
23 \newcommand{\divg}[1]{\nabla \cdot #1} % divergence
24 \newcommand{\curl}[1]{\nabla \times #1} % curl
25 \newcommand{\grad}[1]{\nabla #1} %gradient
26 \newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
27 \newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
28 \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
29 \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
30
31 \usepackage{color}
32 \usepackage{listings}
33
34 \definecolor{darkgray}{rgb}{0.95,0.95,0.95}
35 \definecolor{darkred}{rgb}{0.75,0,0}
36 \definecolor{darkblue}{rgb}{0,0,0.75}
37 \definecolor{pink}{rgb}{1,0.5,0.5}
38 \lstset{language=Java}
39 \lstset{backgroundcolor=\color{darkgray}}
40 \lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
41 \lstset{keywordstyle=\color{darkred}\bfseries}
42 \lstset{commentstyle=\color{darkblue}}
43 %\lstset{stringsyle=\color{red}}
44 \lstset{showstringspaces=false}
45 \lstset{basicstyle=\small}
46
47
48 \begin{document}
49
50 \pagestyle{fancy}
51 \fancyhead{}
52 \fancyfoot{}
53
54 \fancyhead[LO, L]{}
55 \fancyfoot[CO, C]{\thepage}
56
57 %\title{\bf Characterisation of nanostructured thin films}
58 %\author{Sam Moore\\ School of Physics, University of Western Australia}
59 %\date{April 2012}
60 %\maketitle
61
62 \begin{center}
63         B.Sc. (Hons) Physics Project \par
64         {\bf \Large Thesis} \par
65         Samuel Moore \\
66         School of Physics, University of Western Australia \\
67         April 2012
68 \end{center}
69 \section*{Characterisation of Nanostructured Thin Films}
70 {\bf \emph{Keywords:}} surface plasmons, nanostructures, spectroscopy, metallic-blacks \\
71 {\bf \emph{Supervisers:}} W/Prof. James Williams (UWA), Prof. Sergey Samarin (UWA) \\
72
73
74 %\tableofcontents
75
76 \section*{Acknowledgements}
77
78 \begin{itemize}
79         \item Sergey Samarin
80         \item Jim Williams
81         \item Paul Guagliardo
82         \item Nikita Kostylev
83         \item Workshop (for producing electron gun mount?)
84         \item Peter Hammond (?)
85 \end{itemize}
86
87 \section{Introduction}
88 \begin{itemize}
89         \item Waffle about motivation for the project
90         \begin{itemize}
91                 \item Metal-Black films may have application for ... something.
92                 \begin{itemize}
93                         \item Radiometer vanes, IR detectors
94                         \item Number of applications where high absorbance into IR is required
95                         \item These have all been studied before though. 
96                 \end{itemize}
97                 \item The electron spectra of metal-blacks have not yet been examined.
98                 \item Remarkable difference between Metal-Black films (bad vacuum) and normal metal films (UHV)
99                 \begin{itemize}
100                         \item No (detailed/satisfactory) explanation (that I can find...) for difference
101                 \end{itemize}
102                 \item Talk about plasmonic based computing? Moore's law? Applications to thin film solar cells?
103
104         \end{itemize}
105         \item Specific aims of project
106         \begin{enumerate}
107                 \item Surface density of states / band structure of Black-Au films using TCS (The main aim)
108                 \item Identification of plasmonic effects in Black-Au films (?) (If they even exist!)
109                 \begin{itemize}
110                         \item Identify plasmonic effects in Au and Ag films with Ellipsometry (this is fairly simple to do)
111                 \end{itemize}
112                 \item Combination of Ellipsometry and TCS to characterise thin films (not just Black-Au)
113                 \begin{itemize}
114                         \item Ie: How can one technique be used to support the other?
115                 \end{itemize}
116         \end{enumerate}
117         \item Structure of thesis
118 \end{itemize}
119
120 \section{Overview of Theory}
121 Summarise the literature, refer to past research etc
122
123 \subsection{Electron Spectra of Solids and Surface}
124
125
126
127
128
129
130
131 \begin{itemize}
132         \item Description of the near surface region
133         \begin{itemize}
134                 \item All real solids occupy finite volumes in space.
135                 \item The surface of a solid is important because interactions between the solid and its surroundings occur in the near surface region.
136                 \item Characterised physically by:
137                 \begin{itemize}
138                         \item Termination of periodic crystal lattice
139                         \item Violation of geometric order
140                         \item Distortion of interatomic distances and hence interaction forces
141                         \item There is a transition ``near surface'' region between bulk and surface properties, roughly 5 atomic distances. 
142                 \end{itemize}
143                 \item Potential seen by an electron at a surface can differ greatly from the bulk
144                 \item $\implies$ the electron spectra of the near surface region differs from the bulk spectra
145                 \item Simplest case: Step potential at surface.
146                 
147         \end{itemize}
148
149         \item The Electron Spectra
150         \begin{itemize}
151                 \item Electron Spectra describes the energy eigenstates for an electron in a Bulk or Surface potential
152                 \item Characterised by 
153                 \begin{enumerate}
154                         \item Energy dispersion $E(\vect{k})$
155                         \begin{itemize}
156                                 \item Dependence of Energy on electron wave vector
157                                 \item Obtained theoretically by solving Scrhrodinger's Equation
158                                 \item For a free electron gas, $E = \frac{\hbar^2 k^2}{2m}$
159                                 \item Periodic potential in bulk solid leads to band gap structure of $E(\vect{k})$
160                                 \item Periodic potential $\implies$ E is periodic. Only needs to be defined in first Brillouin zone.
161                         \end{itemize}
162                         \item Density of States $N(E)$
163                         \begin{itemize}
164                                 \item $N(E) = \frac{\Delta N}{\Delta E} = \frac{1}{4\pi^3}\int_S\left(\der{E}{k}\right)^{-1} dS$
165                                 \item Integral is in momentum space over the isoenergetic surface of energy $E$
166                                 \item For a free electron gas, $N(E) = $
167                         \end{itemize}
168                 \end{enumerate}
169         \end{itemize}
170
171         \item Surface states
172         \begin{itemize}
173                         \item Simplest model: Step potential
174                         \item Two major models  
175                 \begin{enumerate}
176                         \item Tamm States: Periodic potential in solid, free space outside, jump at surface
177                         \begin{itemize}
178                                 \item Energy eigenvalues lie in the forbidden band of the bulk spectra
179                                 \item Attenuation of eigenvalues from surface to vacuum, oscillation of state within surface
180                                 \item Max electron density occurs on the crystal surface
181                         \end{itemize}
182                         \item Shockley states: Potential of surface and bulk cells equal
183                         \begin{itemize}
184                                 \item Corresond to free valences (dangling bonds) at the surface
185                         \end{itemize}
186                 \end{enumerate}
187                 \item Tamm and Shockley states arise from two extreme models (large change and small change respectively between bulk and surface). In reality, a combination of Tamm and Shockley states appear.
188                 \item These states arise from termination of the lattice; but the surface cells are assumed undistorted
189                 \item In reality surface cells are distorted by relaxation and reconstruction of the surface
190         \end{itemize}
191
192         \item Main reference: Komolov "Total Current Spectroscopy"
193         \item "Solid State Physics" textbooks and "Electron Spectroscopy" textbooks 
194 \end{itemize}
195
196 \subsection{Plasmonics}
197 I really think I should actually find plasmonic effects before writing too much about them...
198 \begin{itemize}
199         \item Charge density oscillations
200         \item Surface and bulk plasmons
201         \item Pines and Bohm
202         \item Review article from T.W.H Oates et al about using Ellipsometry to characterise plasmonic effects
203 \end{itemize}
204
205 \subsection{Metallic-Black Thin Films}
206 \begin{itemize}
207         \item How they are made (bad vacuum, in air or a noble gas)
208         \begin{itemize}
209                 \item If made in air, there are usually tungsten oxides present (from filament). Refer to paper by Pfund.
210         \end{itemize}
211         \item Structural difference between Black-Au and ``Shiny'' (need a better term) Au
212         \begin{itemize}
213                 \item Can include electron microscopy images?
214                 \item An actual photograph of a Black-Au film? Not necessary?
215         \end{itemize}
216         \item Pfund (earliest publisher, preparation and general properties)
217         \item Louis Harris (most research in 50s and 60s)
218         \begin{itemize}
219                 \item L. Harris mostly did transmission spectroscopy in the far infra red (well beyond the ellipsometer and Ocean Optics spectrometer ranges)
220                 \item The really crappy measurements I did with the Ocean Optics spectrometer seem to agree with these measurements
221                 \begin{itemize}
222                         \item L. Harris' $\lambda$ has a range of 1nm to $100\mu$m; my measurements are only to $1\mu$m
223                         \item Agreement in first $1\mu$m anyway
224                         \item I should probably re-do those measurements with a less crappy setup, if I actually want to use them
225                 \end{itemize}
226                 \item Harris related the optical properties to the structure of the film (condensor strands) via the electronic properties
227         \end{itemize}
228         \item Plasmonic effects - Deep R. Panjwani (honours thesis)
229         \begin{itemize}
230                 \item Not sure if I can use an honours thesis as a reference.
231                 \item Concluded that surface plasmon resonance in Black-Au film on solar cells lead to increase in solar cell efficiency
232                 \item Used simulation that modelled Black-Au film as spherical balls to show E field increased by plasmon resonance
233                 \begin{itemize}
234                         \item Was this model appropriate? Black-Au is more ``smoke'' or ``strand'' like according to other references. Images also do not show ``blob'' like structure.
235                 \end{itemize}
236                 \item Need to read this reference more thoroughly
237         \end{itemize}
238 \end{itemize}
239
240 \section{Experimental Techniques}
241
242 \subsection{Secondary Electron Spectroscopy}
243
244 Secondary Electron Spectroscopy encompasses a large group of techniques used for studying the electron spectra of surfaces and solids. In these methods a beam of primary electrons is directed at the surface of a solid. The interactions between primary electrons and the surface give rise to a flux of secondary electrons scattered from the surface. Analysis of this secondary electron flux gives information about the interaction between primary electrons and the surface.
245
246 \subsubsection{Electron-Surface Interactions}
247
248
249 \subsubsection{Methods of Secondary Electron Spectroscopy}
250
251 Energy-resolved methods of Secondary Electron Spectroscopy are based upon observation of the secondary electron energy distribution at a fixed primary electron energy. The primary electron energy determines which processes are possible, whilst the observed distribution can be related to the probability distribution for the possible processes.
252
253 In contrast to Energy-resolved methods, Total Current (or Yield) methods are based on observation of the total current of secondary electrons as a function of primary electron energy. As the primary electron energy is increased, the threshold energies for particular processes are passed. This 
254
255 Both Energy-resolved and Total Current methods can be performed 
256
257 \subsection{Total Current Secondary Electron Spectroscopy}
258
259 Figure \ref{} shows a simplified schematic for the Total Current Spectroscopy experiments conducted during this study. Electrons are emitted from a cathode held at negative potential relative to the target. The electron beam is focused and accelerated onto the target by the electric field of an electron gun. A detector is used to measure the total current passing through the target.
260
261 \subsubsection{Electron Optics}
262
263 The electron gun used for this experiment was repurposed from an old Cathode-Ray Oscilloscope (CRO). Figure \ref{} shows a simplified diagram of the electron gun, whilst Figure \ref{} shows a photograph of the gun. 
264
265
266
267 The full circuit diagram for the electron gun control circuit is shown in Appendix A.
268
269 \subsubsection{Automatic Data Acquisition}
270
271 In order to collect data on the large number of planned samples for the study, some form of automation was required. The automated system needed to be able to incrementally set the initial energy by controlling a power supply, and record the total current measured by an ammeter.
272
273 The available power supplies at CAMSP only featured analogue inputs for external control. This meant that a Digital to Analogue Convertor (DAC) card was needed to interface between the control computer and the power supply. In addition, the available instruments for current measurement at CAMSP produced analogue outputs. As a result, Analogue to Digital Convertors (ADCs) would be required to automate the recording of total current.
274
275 Although an external DAC/ADC box was already available for these purposes, initial tests showed that the ADCs on the box did not function. The decision was made to design and construct a custom DAC/ADC box, rather than wait up to two months for a commercial box to arrive. The design of the custom DAC/ADC box is discussed in detail in Appendix B, and the software written for the on-board microprocessor and the controlling computer are presented in Appendix C.
276
277
278
279
280
281 \begin{itemize}
282         \item Black-Au - 1e-2 mbar vacuum
283         \item ``Shiny'' - 1e-6 / 1e-7
284         \item Current of ~3.5A through W wire filament spot welded onto Ta strips in turn spot welded to Mo posts
285         \item Voltage through filament is ~1 V; quote the power?
286         \item Filament isotropically coats sample with desired material.
287         \item Possibly get a curve of Au thickness estimated with Ellipsometry vs exposure time?
288         \begin{itemize}
289                 \item Probably too much work and too unreliable
290                 \item Maybe do it, but only use 2/3 data points
291                 \item Low priority
292         \end{itemize}
293 \end{itemize}
294
295 \subsection{Electron Spectroscopy}
296
297 Secondary electron spectroscopy methods are a broad class of methods which investigate surface electron spectra through observing processes in which the surface electrons participate directly \cite{komolov}. 
298
299 Total Current Spectroscopy is a group of electron secondary 
300
301 \begin{itemize}
302         \item 
303         \item Total Current Spectroscopy methods measure the total current of secondary electrons as a function of primary electron energy.
304         \item These methods are distinguished from ``differential'' methods (such as Auger electron spectroscopy and energy loss spectroscopy) which measure the secondary electron spectrum at a fixed primary electron energy.
305         \item 
306         \begin{itemize}
307                 \item Low energy beam of electrons incident on sample
308                 \item Measure slope of resulting I-V curve
309                 \item Relate to density of states and electron band structure (Komolov chapter 3.2)
310         \end{itemize}
311         \item Description of apparatus
312         \begin{itemize}
313                 \item Electron gun and filament
314                 \item Electron gun control box
315                 \item ADC/DAC control box and data processing
316         \end{itemize}
317         \item Photographs vs Diagrams
318         \begin{itemize}
319                 \item Prefer diagrams to photographs
320                 \item Especially for the ADC/DAC control box circuit. Because it looks like a horrible mess.
321         \end{itemize}
322 \end{itemize}
323
324 \subsection{Ellipsometry and Transmission Spectroscopy}
325 \begin{itemize}
326         \item Overview of techniques
327         \item Description of apparatus (use VASE manual)
328         \item Ocean Optics spectrometer? Usable?
329         \item Application of Ellipsometry to finding plasmonic effects
330         \begin{itemize}
331                 \item Surface plasmons = E oscillation parallel to surface $\implies$ only $p$ component of light excites plasmons
332         \end{itemize}
333 \end{itemize}
334
335 \section{Experimental Results and Discussion}
336 \subsection{TCS Measurements}
337 \begin{itemize}
338         \item TCS for Si
339         \item TCS for Si + Au
340         \item TCS for Si + Black-Au
341         \item Affect of preparation pressure on TCS for Si + Black-Au
342         \item Repeat for Si + Ag and Si + Black-Ag (?)
343 \end{itemize}
344
345 \subsection{Ellipsometric Measurements}
346 \begin{itemize}
347         \item Ellipsometry to estimate thickness of SiO2 layer on Si
348         \item Estimate thickness of Au/Ag on Si+SiO2
349         \item Ellipsometric measurements of Si+Black-Au/Ag
350         \begin{itemize}
351                 \item Modelling procedures to characterise Black-Au/Ag
352         \end{itemize}
353         \item Ellipsometric measurements of Glass+Black-Au/Ag (?)
354         \item Transmission spectra of Glass+Black-Au/Ag from earlier in year (?)
355 \end{itemize}
356
357 \section{Achievements}
358 \begin{itemize}
359         \item Deposition of thin films of Au and Black-Au in vacuum chamber
360         \item Ellipsometric and spectroscopic measurements on these films
361         \item Repurpose vacuum chamber for sample preparation and TCS experiments
362         \item Designed and built electronics for TCS experiments
363         \begin{itemize}
364                 \item Electron gun control box
365                 \item ADC/DAC box
366         \end{itemize}
367         \item Wrote software for data aquisition and data processing
368 \end{itemize}
369
370 \section{General notes}
371 \subsection{TCS}
372 \begin{itemize}
373         \item Optimise setup of gun
374         \begin{itemize}
375                 \item Emission current. How much does it vary, why does it vary.
376                 \item Why does Is/Ie curve shift with successive sweeps? Does sweep modify sample's surface?
377                 \item Is sample holder acceptable? Are ceramic washers accumulating charge?
378                 \item How do I tell when the setup is optimised... 
379                 ``The setup was optimised by looking for an S curve''. Very scientific.
380                 \item The gun was focused on the phosphor screen... and then I turned it around, changing the distance from the gun to the sample. Brilliant.
381         \end{itemize}
382         \item Obtain TCS spectra for Si that compares well with literature
383         \begin{itemize}
384                 \item How to relate TCS spectrum to $n(E)$ and $E(\vect{k})$
385         \end{itemize}
386         \item Prepare Au films, obtain TCS spectra that compares with literature
387         \item Obtain TCS spectra of Black-Au films
388         \item Use results to compare properties of films with results from other methods in the literature
389         \item Uncertainties
390         \begin{itemize}
391                 \item Oscilloscope measurements of inputs to ADC channels under controlled conditions
392                 \begin{itemize}
393                         \item Expected values are +/-3mV due to ADC channel, +/-300mV due to 610B, +/-1mV due to 602
394                         \item 610B and 602 will probably be worse because they are ancient
395                         \item There is about 200mV of noise between the GND of the ADC box and the electron control box.
396                         \item How to reduce ground loops? Not much I can do. Rack is now also grounded to water pipe, but this doesn't seem to make a difference.
397                 \end{itemize}
398                 \item Stupid 50Hz AC noise... how to reduce with filters and/or averaging
399         \end{itemize}
400         \item Create circuit diagrams for Electron gun circuit
401         \item Create circuit diagrams for ADC/DAC box
402         \begin{itemize}
403                 \item Simulate behaviour of circuit
404                 \item Use of instrumentation amplifier on ADC5 to make off-ground measurements
405                 \item Use of low pass filter on ADC5
406         \end{itemize}
407         \item Include references to all datasheets, etc
408         \item Vacuum chamber
409         \begin{itemize}
410                 \item Base pressure with rotary pump? Was 1e-3 after 30 minutes at start of year, but probably introduced leaks since then
411                 \item Lowest pressure achieved with turbo pump is 1.1e-7 mbar as of 25/07.
412                 \item Viton gaskets on some seals. Copper on other.
413                 \item Flanges:
414                 \begin{enumerate}
415                         \item View window (large, view of sample \& sputtering filaments)
416                         \item Rotation manipulator \& sample mount
417                         \item Pump inlet
418                         \item Filament flanges 1 (used earlier in year, not anymore) and 2
419                         \item Inlet with leak valve (for introducing gases into chamber)
420                         \item Vent valve on turbo pump
421                         \item Electron gun flange
422                         \item View window (small, view of back of electron gun)                 
423                 \end{enumerate}
424         \end{itemize}
425 \end{itemize}
426
427 \section*{Appendix A - Electron Gun Control and Current Measurement Circuit}
428
429 Figure \ref{} shows the complete electron gun control circuit. The circuit was designed and constructed as part of this project. The design is based upon examples found in \cite{Komolov} and \cite{Moore}.
430
431 BLARGH IT IS AN ELECTRON GUN BLARGH
432
433
434 \section*{Appendix B - DAC/ADC Box - Hardware}
435
436 \subsection*{Overview}
437
438 In order to automate TCS experiments, both Digital to Analogue and Analogue to Digital Convertors were required (DAC and ADC). To satisfy these requirements, a custom DAC/ADC Box was designed and constructed. The box can be controlled by any conventional computer with available RS-232 serial communication (COM) ports. Most modern computers no longer feature COM ports; a commercially available convertor can be used to interface between the box's RS-232 output and a standard Universal Serial Bus (USB) port.
439
440
441 The key components of the DAC/ADC box hardware include:
442
443 \begin{itemize}
444         \item Microprocessor (AVR Butterfly ATMega169)
445         \item Four Analogue to Digital Converter (ADC) inputs
446         \item Single Digital to Analogue Converter (DAC) output (Microchip MCP4922)
447         \item Analogue electronics for amplification at ADC inputs and DAC outputs
448         \item Seperate power supply circuitry for Digital and Analogue electronics
449         \item RS-232 communications for control by a conventional PC or laptop
450 \end{itemize}
451
452 \subsection*{Microprocessor}
453 The DAC/ADC box has been based upon Atmel's AVR Butterfly; an inexpensive and simple demonstration board for the ATMega169 16 Bit microprocessor. The features of the AVR Butterfly include easily accessible ports for Analogue to Digital Convertor (ADC) inputs and digital input/output, an onboard Universal Asynchronous Reciever/Transmitter (USART) for RS-232 serial communications, and a 6 character Liquid Crystal Display (LCD). The AVR Butterfly can be programmed using a conventional computer over the USART using a RS-232 COM port. For modern computers (which do not usually posess COM ports), a RS-232 to USB converter may be used.
454
455 %Figure of Butterfly
456
457 Unless otherwise stated, all voltage differences are specified relative to the power supply ground of the AVR Butterfly.
458
459 \subsection*{ADC Inputs}
460
461 The AVR Butterfly offers easy access to four of the ATMega169's ADCs through PORTF. Each ADC is capable of measuring voltages of $0 < V_{\text{adc}} < V_{cc}$ with 10 Bit resolution. For measuring voltages outside this range, some circuitry is required between the input voltage and the ADC input. In addition, it is desirable to provide the ADC with some form of input protection against accidental overloading.  Figure \ref{fig_ADC_normal} shows the typical input circuit which was used for three of the four available ADCs. 
462
463
464 For making voltage measurements above $V_{cc}$, a voltage divider allows reduction of the voltage at the ADC. By constructing the voltage divider using a variable resistor, the range of measurable inputs could be manually adjusted. 
465
466 The diodes shown in Figure Figure \ref{fig_ADC_normal} ensure that the ADC is protected from accidental exposure to voltages outside the acceptable range. In normal operation both diodes are off. If $V_{\text{adc}}$ were to become greater than the reference point $V_{cc}$, current would flow between the ADC input and the reference point, acting to reduce $V_{\text{adc}}$ until it reached $V_{cc}$. Similarly, if $V_{\text{adc}}$ fell below ground, current would flow from ground to the ADC input, acting to increase $V_{\text{adc}}$ until it reached ground.
467
468 The voltage at the ADC input can be related to the input of the voltage divider using Kirchoff's Voltage Law and Ohm's Law:
469 \begin{align*}
470  V_{\text{adc}} &= \frac{R_1}{R_1 + R_2} V_{\text{in}}
471 \end{align*}
472 Where $V_{\text{in}}$ is the voltage at the input of the circuit, $R_1$ is a fixed resistor, and $R_2$ is variable resistor.
473
474 $V_{\text{in}}$ can be therefore be determined from the registered ADC counts by:
475 \begin{align*}
476         V_{\text{in}} &= \frac{\text{ADC counts}}{2^{10}} \times \frac{R_1 + R_2}{R_1} V_{cc}
477 \end{align*}
478
479 \subsubsection*{Differential ADC Input}
480
481 During the testing of the TCS experimental apparatus, it became desirable to measure the emission current of the electron gun. The electrometer used for this current measurement was capable of producing an analogue output in the range of $0-1V$. However, the negative terminal of this output was not at ground potential, but rather at the same terminal as the negative input terminal. Directly connecting the electrometer output to one of the ADC inputs discussed above would create a short circuit between the initial energy power supply, and ground (refer to Figures \ref{} and \ref{}). Therefore, it was decided to add a differential stage before the input of one of the ADCs.
482
483 Figure \ref{} shows the modification made to the input for ADC5 on the AVR Butterfly. The original voltage divider and input protection discussed above are still present. The modifications include the addition of an instrumentation amplifier, and low pass filters.
484
485 The instrumentation amplifier consists of two stages of operational amplifiers (op-amps); input buffers, and a difference amplifier.
486 The difference amplifier can be shown using the ideal op-amp model to produce an output voltage proportional to the difference between its inputs:
487
488 \begin{align*}
489         V_{out} &= \frac{R_2}{R_1} \left(V_{2} - V_{1}\right)
490 \end{align*}
491
492 The two op-amps at the inputs to the differential amplifier act as unity gain buffers. Although the output of the unity gain buffer is equal to the input on its positive terminal, the buffer prevents current from flowing from the positive terminal to ground. With the buffer amplifiers absent, a current of: would flow between each of the input terminals and ground.
493
494 Instrumentation amplifiers are usually constructed in the schematic shown in Figure \ref{}. In this version, the gain of the amplifier can be changed by altering a single resistor. However, more resistors are required. The version actually constructed was designed based upon the small number of resistors available, within a short time frame. Although the design could have later been changed, this would have been of no real benefit, since there was no requirement to adjust the gain of the amplifier.
495
496 In principle, two ADC channels could be used to record the positive and negative outputs of the electrometer seperately, with differencing done in software. However this would require modification to the output cable of the electrometer, which may prove inconvenient for future uses.It was decided that the modification of the cable and added complexity of the software required would be more time consuming than differencing the two inputs using the hardware methods described above.
497
498 The low pass filters were added to the inputs of ADC5 after it was found that an unacceptable level of AC noise was being output by the electrometer. The level of noise was too high to be filtered in software, for reasons that will be discussed in Appendix D.
499
500 \subsection*{Power Supplies}
501 Due to the presence of both analogue and digital electronics in the DAC/ADC box, three seperate supply voltages were required:
502 \begin{enumerate}
503         \item Digital logic in the range $3 \to 4.5$V
504         \item Positive op-amp supply in the range $10 \to 15$V
505         \item Negative op-amp supply in the range $-10 \to -15$V
506 \end{enumerate}
507
508 Circuitry was designed which allowed two seperate single pole power supplies to be used for Digital logic and the op-amps. A dual 0-30V DC power supply has been used for both digital and analogue circuitry.
509
510 \subsubsection*{Logic Power Supply}
511 The AVR Butterfly runs off $3V < V_{cc} < 4.5V$ DC. Since $V_{cc}$ was also used as the reference voltage for the ADCs and DAC output, it was desirable that $V_{cc}$ be kept constant, despite the absolute level of the power supply. A $3.3V$ voltage regulator has been used for this purpose. The capacitor further smooths the output by shorting high frequency fluctuations to ground.
512
513 When the DAC/ADC box was first constructed $V_{cc}$ was supplied by three $1.5V$ batteries. However, due to higher than expected power usage, and the unreliability of the voltage regulator as the input voltage fell below $4V$, inputs for an external power supply were later added.
514
515 \subsubsection*{Op-amp Power Supply}
516 The DAC/ADC box circuitry involves several operational amplifiers (LF356), which require dual $\pm 10-15V$ supplies. As there were no dual $\pm$ power supplies available, a single $30V$ power supply was used, with the circuit shown in figure \ref{fig_opamp_supply} used to produce $\pm 15V$ relative to ground.
517
518 The buffer amplifier ensures that negligable current can flow from the power supply into the logic and ADC circuits, whilst the capacitor removes high frequency fluctuations of the power supply relative to ground.
519
520 To simplify circuit diagrams, op-amps will be drawn with the power supply connections ommitted from this point onwards.
521
522 \subsection*{DAC Output}
523 A commercial DAC board was used to produce the DAC output. The Microchip MCP4922 ET-Mini DAC is controlled by the AVR Butterfly using Motorola's Serial Peripheral Interface (SPI) Bus. The software used to implement SPI between the MCP4922 and the AVR Butterfly is discussed in Appendix D.
524
525 The ET-Mini DAC can only be powered off $3V$ to $5V$. Using $V_{cc} = 3.3V$ means that the DAC output cannot exceed $V_{cc} = 3.3V$. For TCS, energies of up to $15eV$ are required, so amplification of the DAC output was clearly necessary. A simple non-inverting amplifier with a manually adjustable gain was used to amplify the $3.3V$ DAC output to $10V$. This output was then used to control a laboratory power supply to produce the full range of initial energies.
526
527 \subsection*{RS-232 Communications}
528
529 The AVR Butterfly features an onboard USART, which can be used both for programming and communication with the ATMega169 processor. The RS-232 communications requires only three wires; Recieve (RX), Transmit (TX) and a common ground. 
530
531 The requirement that the AVR Butterfly share a common ground with the controlling computer lead to increased noise through ground loops. This is discussed in more detail in Appendix D.
532
533 Although the RS-232 is relatively simple to implement, which makes it ideal for non-proprietry microprocessor applications, most modern computers no longer feature RS-232 COM ports. Although a computer with COM ports was available at CAMSP, due to the extreme unreliability of this computer, it was quickly replaced with a laptop that did not possess COM ports, and a commercial RS-232 to USB converter was used to interface with the laptop.
534
535 \pagebreak
536 \bibliographystyle{unsrt}
537 \bibliography{thesis}
538
539 \end{document}
540

UCC git Repository :: git.ucc.asn.au