f07cb16f21aad918fd14803d510207f7c3fe4181
[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 %\usepackage{epstopdf} % Needed for eps graphics
9 \usepackage{hyperref}
10 \usepackage{lscape}  % Needed for landscaping stuff 
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 \pagebreak
74 \tableofcontents
75
76 \pagebreak
77
78 \section*{Acknowledgements}
79
80 I am extremely grateful for the support offered to me by many individuals during this project. Thanks to my supervisors Prof Sergey Samarin and W/Prof Jim Williams for envisioning the project, and their invaluable support throughout the year. I would also like to thank staff members at CAMSP for assisting with the supervision of this project. In particular I am extremely grateful for the help and advice given by Dr Paul Gualiardo during the construction and testing of the Total Current Spectroscopy experiment.
81
82 Thanks to Alexie ??? from CMCA for producing the SEM images which proved a valuable aid for understanding the structure of metallic-black films.
83
84 I would also like to endorse the team at J.A Woolam, who provided replacement pins for the ellipsometer alignment detector at no charge after one of the original pins became mysteriously damaged.
85
86 Congratulations and thanks to Jeremy Hughes who successfully predicted that the emission current of the electron gun was varying sinusoidally due to the changing temperature of the room. Commisserations to Alexander Mazur, whose suspicians that the vacuum chamber contained a pulsar proved wrong.
87
88 Finally, thanks to all my family and friends for their support and for continuing to put up with my slow descent into madness during the last 12 months. 
89
90 \section{Introduction}
91
92 The report will be organised as follows; first we will discuss literature relating to surface science and nanostructured thin films in particular. We will then give an overview of the primary experimental techniques employed during this project, before presenting experimental results. Finally, we will discuss stuff.
93
94 \section{Overview}
95
96 In this section we provide an overview of theoretical and experimental literature related to the properties of nanostructured thin films. We also include a summary of the past research which focuses on metallic-black films.
97
98 \subsection{Electron Structure of Bulk and Surface}
99
100
101 \subsection{Plasmons}
102
103
104 \subsection{Metallic-Black Films}
105
106 So called ``Metallic-Black'' films are the result of deposition of metal elements at high pressure (of the order of $10^{-2}$ mbar). The films are named due to their high absorbance at visible wavelengths; they appear ``black''. There is a remarkable contrast between such films and films deposited under ultra-high vacuum, which are typically highly reflective, exhibiting similar optical properties to a bulk sample of the metal.
107
108 This phenomenom has been known since the early 20th century, with the first papers on the subject published by Pfund in the 1930s \cite{pfund}. Pfund's research has been mostly qualitative, and estabilishes the conditions for formation of metallic black films for a number of different metal elements. More extensive research has been carried out on the structural and optical properties of these films by Louis Harris and others from the 1950s until the 1970s \cite{}. Despite advances in computer technology revolutionising the field of surface science, little work has been done since Harris' contributions. %TODO: Check for any recent work
109
110 Secondary Electron Microscope (SEM) images of Au deposited on Si at high and low pressures were produced at the Centre for Microscopy Characterisation and Analysis (CMCA), UWA. These images are similar to previous images produced by Harris \cite{}. The film imaged on the left (high pressure) appears black at visible wavelengths, whilst the film on the right (low pressure) appears golden yellow.
111
112 %TODO: Insert images
113
114 \begin{center}
115
116
117 \begin{tabular}{cc}
118         \includegraphics[scale=0.2]{figures/Au_BLACK_200nm.png} & %\captionof{figure}{Au-Black SEM Image} \label{Au_BLACK_200nm.png} &
119         \includegraphics[scale=0.2]{figures/Au_semi-shiny_1_SEM.png} %\captionof{figure}{Au SEM Image} \label{Au_semi-shiny_1_SEM.png}          
120         
121
122 \end{tabular}
123
124         \captionof{figure}{{\bf SEM images of Au deposited on Si at $2\times10^{-2}$mbar (left) and $1\times10^{-6}$mbar.} Note that the scales are very similar for both images.}              
125
126 \end{center}
127
128 The structural difference between the two films is striking, and yet the exact mechanism behind the formation of the metallic-black film remains unclear. 
129 % TODO: Attempt to find explanation of structure
130
131 Nanostructured metal films prepared at low pressure are often approximated by an isotropic layer of spherical blobs upon the substrate, or even as a uniform layer with an ``effective'' thickness \cite{}. As the right image in Figure \ref{} shows, this is largely representative of the structure of such a film. In contrast, the metallic-black film appears non-uniform; as a result more complicated models are required to theoretically describe the properties of metallic-black films.
132
133 Harris et al. have produced experimental results of the transmission of metallic-black films from visible wavelengths to the far-infrared \cite{}. By modelling the film as a layer of metallic strands, acting as ``condensors'', Harris et al. arrived at an expression for the electron relaxation time of [element]-black \cite{}, leading to a a transmission spectrum in good agreement with experimental results.
134
135
136 More recently, it has been suggested that metallic-black films may exhibit plasmonic properties that could be exploited to increase the efficiency of thin film solar cells \cite{pandjwani}. In this work, the author shows that 
137
138 However, currently there is no direct evidence of plasmon excitations in metallic-black films. %TODO: Check for evidence of plasmonic behaviour in metallic-black films
139
140 \begin{center}
141         \includegraphics[scale=0.2]{figures/300V-01.jpg}
142         \captionof{figure}{{\bf Au-black film viewed at magnifications of x20000, x50000, x100000 and x200000} (top left, top right, bottom left, bottom right). The film appears non-isotropic, and possibly fractal like upon magnification. This structure has lead some reasearchers to  refer to the deposited films as ``smokes'' \cite{}.}
143         \label{300V-01.jpg}
144 \end{center}
145
146 \pagebreak
147
148 \section{Experimental Techniques}
149
150 \subsection{Secondary Electron Spectroscopy}
151
152 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 a surface. The interactions between primary electrons and the surface give rise to an energy distribution of electrons elastically and inelastically scattered from the surface. Analysis of the distribution of the scattered ``secondary'' electrons gives information about the electron energy spectrum of the target surface.
153
154
155 \begin{center}
156         \includegraphics[scale=0.40]{figures/se_dist.pdf}
157         \captionof{figure}{{\bf Model of Secondary Electron Distribution}}
158         \label{se_dist.pdf}
159 \end{center}
160
161 Figure \ref{se_dist.pdf} shows the general shape of the secondary electron distribution for a primary electron energy of $E_p$. The narrow peak centred at $E = E_p$ is due to elastically scattered electrons; the width of this peak is determined by the distribution of primary electron energies, as well as the resolution of the detector. The broad peak in the low energy part of the spectrum is due to inelastically scattered electrons. The thick curve shows 
162
163 Real secondary electron distributions also show fine structure imposed upon the inelastic part of simplified spectrum described above. This fine structure is characteristic of the target surface. Near to the elastic peak, fine structure is caused by energy loss to interband transitions and plasma vibration excitation. The central part of the distribution contains fine structure due to Auger electron emission, and energy losses due to excitation of inner electrons. Fine structure at low energies is due to the structure of empty states of the solid.
164
165 Techniques of Secondary Electron Spectroscopy can be divided into two classes. Energy-resolved methods are based upon observation of the secondary electron distribution at a fixed primary electron energy. These methods aim to examine specific secondary emission processes which occur within a selected energy interval. In contrast to Energy-resolved methods, Total Current (or Yield) methods measure the total current of secondary electrons as a function of primary electron energy. 
166
167 The focus of this project has been low energy Total Current Spectroscopy (TCS). While Total Current methods provide less detailed information about secondary emission processes within a solid, they are useful for characterisation of the electron structure. Total Current methods are also simpler to realise experimentally, as they do not require energy analysers, and current measurement may be performed external to the vacuum chamber.
168
169
170 \subsection{Total Current Spectroscopy}
171
172 Figure \ref{} shows a simplified schematic for the Total Current Spectroscopy experiments conducted during this study. An electron gun is used to produce the beam of primary electrons. Electrons are emitted from a cathode held at negative potential relative to the target. These electrons are focused into a beam and accelerated onto the target through the electric field produced by a series of electrodes. A detector is used to measure the total current passing through the target.
173
174
175 A major advantage of Total Current Spectroscopy methods is the relative simplicity of the experimental setup. Because energy resolution of secondary electrons is not required, current measurement can be performed external to the vacuum chamber, using a conventional ammeter.
176
177 If the current incident upon the sample is $I_{\text{total}}$, and the current of secondary electrons scattered from the surface is $I_r$, then the transmitted current $I_t$ is given by:
178
179 \begin{align*}
180         I_t &= I_{\text{total}} - I_r
181 \end{align*}
182
183 Generally $I_{\text{total}}$ is assumed to be independent of initial energy $E$. This assumption is valid if the initial energy is small compared to the accelerating potential of the gun, and the distance of the sample from the gun is sufficiently large.
184
185 In this case, differentiating with respect to $E$:
186 \begin{align*}
187         \der{I_t}{E} &= - \der{I_r}{E}
188 \end{align*}
189
190 Figure \ref{} is a block diagram of the experimental setup including measurement and control systems external to the vacuum chamber.
191
192 \subsubsection{Electron Optics}
193
194 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. 
195
196 The full circuit diagram for the electron gun control circuit is shown in Appendix A. \cite{}
197
198 \subsubsection{Automatic Data Acquisition}
199
200 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 set the initial energy by adjusting the potential of the cathode relative to the sample, and simultaneously record the total current through the sample.
201
202 The available power supplies at CAMSP 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 produced analogue outputs. As a result, Analogue to Digital Convertors (ADCs) were required to automate the recording of total current.
203
204 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 D.
205
206
207 \subsection{Ellipsometry}
208
209 Ellipsometry is an optical technique most commonly used to determine the thickness of multilayered thin films. Ellipsometry can also be used to determine the optical constants and properties of unknown materials. 
210
211 Essentially, ellipsometry measures the change in polarisation of light reflected from a surface. This change in polarisation can be related to properties of the surface if knowledge of the surface is correctly applied. For a bulk sample, the change in polarisation can be directly related to the optical constants of the material.
212
213 \subsubsection{Description of the Polarisation state of Light}
214
215
216
217
218 \subsubsection{Variable Angle Specroscopic Ellipsometry}
219 A single ellipsometric measurement involves recording $r_p$ and $r_s$ at one angle and wavelength. The earliest ellipsometers were 
220
221
222 A Variable Angle Spectroscopic Ellipsometer at CAMSP has been used to perform a variety of measurements on metallic thin films.,
223
224 The VASE
225
226 \subsection{Vacuum Techniques and Sample Preparation}
227
228 Both the TCS experiments and the deposition of films must be performed in a vacuum. For convenience and simplicity, a single vacuum chamber at CAMSP has been repurposed to perform both of these tasks. The chamber can be pumped by a molecular turbo pump, backed by a rotaray pump, to a base pressure of $2\times10^{-8}$ mbar, or by the rotary pump alone to a base pressure of $1\times10^{-3}$ mbar. The pressure is monitored using either a pirani or ion gauge (for pressures greater than and less than $10^{-3}$ mbar respectively).
229
230 %TODO: Insert graphs of pressure in chamber
231
232 Figure \ref{} shows a diagram of the vacuum chamber used both for the creation of nanostructured thin films and their study using TCS. A rotatable sample holder is positioned in the centre of the chamber. One flange of the chamber houses the electron gun used for TCS measurements, whilst the opposite flange contains feedthroughs on which tungsten filament evaporators are mounted. This setup allows for almost immediate study of evaporated films by simple rotation of the sample holder to face the gun.
233
234
235 The evaporators consist of a tungsten wire filament attached between two feedthroughs. A piece of a desired metal is folded over the apex of the tungsten wire. The metal can be heated by passing a current through the filament; near the metal's melting point it begins to evaporate. To clean the metal surface and ensure uniform evaporation, this procedure is first performed at low pressure (below $10^{-6}$ mbar) with no sample in the chamber, with the current increased until the metal piece begins to melt and forms a ball on the wire. Figure \ref{} shows an image of an evaporator that has been prepared for use.
236
237 This study focused primarily on depositing Au films on an Si substrate, at both high and low pressures. The substrates and sample holders were cleaned in an acetone bath immediately prior to insertion in the vacuum chamber.
238
239
240
241 \section{Experimental Results and Discussion}
242 \subsection{TCS Measurements}
243
244
245 \subsection{Ellipsometric Measurements}
246
247
248 \section{Achievements}
249
250 \pagebreak
251
252 \section*{Appendix A - Electron Gun Control and Current Measurement Circuit}
253
254 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}.
255
256 \subsection*{Electron Optics}
257 The electron gun has been recycled from a Cathode Ray Oscilloscope. Figure \ref{} shows a diagram and photograph of the gun. The gun contains a total of 9 electrodes; several electrodes are held at the same potential, as shown in the figure. From figure \ref{} it can be seen that the electrode potentials are referenced to the initial energy, rather than ground. Because of the relatively large distance between the gun and sample (held at ground), this ensures that changes in initial energy do not significantly effect the focusing properties of the gun.
258
259 The optimum potentials of the gun electrodes were determined manually by focusing the gun on an Au film (deposited on Si). I-V curves obtained by measuring current through the sample as a function of initial energy were obtained. The electrode potentials were systematically altered to ensure the curves were as close as possible to the ideal model.
260
261 \subsection*{Model of I-V curves}
262 The current detected through the sample is due to electrons which have sufficient energy to overcome the potential barrier between the surface and vacuum, entering the conduction band
263
264
265
266 \subsection*{}
267
268 The filament is surrounded by a conducting cylindrical electrode commonly called the ``Venault''. The potential of the venault has little effect on the focusing properties of the gun, but is largely responsible for determining the current leaving the gun. Figure \ref{} shows I-V curves for several venault settings, including the optimum setting.
269
270 \subsection*{Einzel Lens}
271
272 Electrodes passing through the aperture of the venault are accelerated towards the target through six electrodes. The first and last pair of electrodes are at the same potential; the central pair are held at a different potential. Such an arrangement can be considered as an ``Einzel'' or ``zoom'' lens. It can be shown \ref{Moore} that the 
273
274 \pagebreak
275
276 \section*{Appendix B - DAC/ADC Box - Hardware}
277
278 \subsection*{Overview}
279
280 In order to automate TCS experiments, both Digital to Analogue and Analogue to Digital Convertors were required (DAC and ADC). To provide these, 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.
281
282
283 The key components of the DAC/ADC box hardware include:
284
285 \begin{itemize}
286         \item Microprocessor (AVR Butterfly ATMega169)
287         \item Four Analogue to Digital Converter (ADC) inputs
288         \item Single Digital to Analogue Converter (DAC) output (Microchip MCP4922)
289         \item Analogue electronics for amplification at ADC inputs and DAC outputs
290         \item Seperate power supply circuitry for Digital and Analogue electronics
291         \item RS-232 communications for control by a conventional PC or laptop
292 \end{itemize}
293
294 \subsection*{Microprocessor}
295 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.
296
297 Figure \ref{avr_butterfly.pdf} is a labelled photograph of the AVR Butterfly showing the use of the available ports for this project.
298
299
300 %Figure of Butterfly
301 \begin{center}
302   \includegraphics[scale=0.70]{figures/avr_butterfly.pdf}
303         \captionof{figure}{AVR Butterfly} \label{avr_butterfly.pdf}
304 \end{center}
305
306 Unless otherwise stated, all voltage differences are specified relative to the power supply ground of the AVR Butterfly.
307
308 \subsection*{ADC Inputs}
309
310 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{adc_normal.pdf} shows the input circuit which was used for three of the four available ADCs. 
311
312 \begin{center}
313         \includegraphics[scale=0.50]{figures/adc_normal.pdf}
314         \captionof{figure}{ADC4,6,7 Input} \label{adc_normal.pdf}
315 \end{center}
316
317
318 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. 
319
320 The diodes shown in Figure \ref{adc_normal.pdf} 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.
321
322 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:
323 \begin{align*}
324  V_{\text{adc}} &= \frac{R_1}{R_1 + R_2} V_{\text{in}}
325 \end{align*}
326 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.
327
328 $V_{\text{in}}$ can be therefore be determined from the registered ADC counts by:
329 \begin{align*}
330         V_{\text{in}} &= \left(\frac{\text{ADC counts}}{2^{10}}\right) \times \frac{R_1 + R_2}{R_1} V_{cc}
331 \end{align*}
332
333 \subsubsection*{Differential ADC Input}
334
335 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.
336
337 Figure \ref{adc5.pdf} 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.
338
339 \begin{center}
340         \includegraphics[scale=0.70]{figures/adc5}
341         \captionof{figure}{Differential Input stage for ADC5}
342         \label{adc5.pdf}
343 \end{center}
344
345 asdfa
346 The instrumentation amplifier consists of two stages of operational amplifiers (op-amps); input buffers, and a difference amplifier.
347 The difference amplifier can be shown using the ideal op-amp model to produce an output voltage proportional to the difference between its inputs:
348
349 \begin{align*}
350         V_{out} &= \frac{R_2}{R_1} \left(V_{2} - V_{1}\right)
351 \end{align*}
352
353 The two op-amps at the inputs to the differential amplifier are unity gain buffers. Although the outputs of the op amps are equal to their inputs, current is prevented from flowing from the circuit under measurement, and is instead drawn from the op amp power supply. 
354
355 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.
356
357 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.
358
359 \subsection*{Temperature Measurement}
360
361 The AVR Butterfly features an onboard thermistor connected to ADC0. Reading ADC0 and applying the formula given in the AVR Butterfly User's Guide \cite{} results in a temperature measurement. This was useful in establishing a link between the changing chamber pressure and the temperature of the laboratory (see Appendix C).
362
363 \subsection*{Power Supplies}
364 Due to the presence of both analogue and digital electronics in the DAC/ADC box, three seperate supply voltages were required:
365 \begin{enumerate}
366         \item Digital logic in the range $3 \to 4.5$V
367         \item Positive op-amp supply in the range $10 \to 15$V
368         \item Negative op-amp supply in the range $-10 \to -15$V
369 \end{enumerate}
370
371 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.
372
373 \subsubsection*{Logic Power Supply}
374 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.
375
376 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.
377
378 \begin{center}
379         \includegraphics[scale=0.70]{figures/logic_ps}
380         \captionof{figure}{Logic Power Supply}
381         \label{logic_ps.pdf}
382 \end{center}
383
384 \subsubsection*{Op-amp Power Supply}
385 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{} used to produce $\pm 15V$ relative to ground.
386
387 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.
388
389 \subsection*{DAC Output}
390 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.
391
392 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 DAC output by a factor of three. This output was then used to control a laboratory power supply to produce the full range of initial energies.
393
394 \subsection*{RS-232 Communications}
395
396 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. 
397
398 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.
399
400 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.
401
402
403
404 \section*{Appendix C - Pressure Monitoring}
405
406 The pressure in the chamber was monitored by a ion gauge at low pressure (below $10^{-3}$ mbar), and a pirani gauge at high pressure. The gauge included a flurescent Liquid Crystal Display (LCD). In order to automate monitoring of pressure, a USB webcam was placed in front of the gauge LCD. Software was written using the Python Imaging Library (PIL) to convert the image produced by the webcam into a pressure reading. In this way, the pressure could be recorded as a function of time, independent from other measurements performed using the ADC/DAC control box.
407
408 Figures \ref{pressure_a.jpg} to \ref{pressure_c.jpg} show the process by which an image taken with the webcam was converted into a pressure reading. The software first identifies bounding rectangles for each individual digit. These are then further subdivided into 7 segments. If enough pixels in a given segment match the colour LCD segments, then the segment can be identified as activated. The software then creates a string corresponding to the activated segments, and looks up the digit in a dictionary.
409
410 \begin{center}
411         \includegraphics[scale=0.50]{figures/pressure_a.jpg}
412         \captionof{figure}{An unprocessed image}
413         \label{pressure_a.jpg}
414 \end{center}
415
416 \begin{center}
417         \includegraphics[scale=0.50]{figures/pressure_c.jpg}
418         \captionof{figure}{Individual digits identified}
419         \label{pressure_b.jpg}
420 \end{center}
421
422 \begin{center}
423         \includegraphics[scale=0.50]{figures/pressure_d.jpg}
424         \captionof{figure}{Activated segments (green) for a single digit}
425         \label{pressure_c.jpg}
426 \end{center}
427
428 \section*{Appendix D - Sources of Error}
429
430 GROUND LOOOOOOPS!
431
432 \section*{Appendix E - Software}
433
434 No really, you don't want to know
435
436 \pagebreak
437 \bibliographystyle{unsrt}
438 \bibliography{thesis}
439
440 \end{document}
441

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