By a process of trial and error
-\section{Current Measurement}
+\section{Current Measurements}
-Total Current Spectroscopy methods measure the slope of current through a sample with respect to the energy of electrons relative to the sample surface. Often lock-in amplifier techniques are used \cite{???}. These have the advantage of reducing system noise whilst determining the slope directly, but require more time to set up than measuring the current through the sample as a function of incident electron energy, and later taking the derivative.
+\subsection{Total Current}
+Total Current Spectroscopy methods measure the slope of current through a sample with respect to the energy of electrons relative to the sample surface. Often lock-in amplifier techniques are used \cite{???}. These have the advantage of reducing system noise whilst determining the slope directly, but require more time to set up than measuring the current through the sample as a function of incident electron energy. Hence lock-in amplifier techniques were not used for this project, instead current was measured through a conventional ammeter (Keithley 610B electrometer).
-To make
+
+\subsection{Emission Current}
+Ideally, the electron gun should produce a constant emission current for fixed electrode potentials. In reality, the emission current changes as the filament reaches thermal equilibrium or ``ages'', and so it was desirable to measure the emission current. Applying Kirchoff's current law, it can be seen that the current flowing into the initial energy set point is equal to the total current leaving the filament. This current was measured using a Keithly 602 electrometer.
+
+\subsection{Leak Current}
+``Leak'' currents are currents flowing through the electrodes of the gun. These can be reduced by optimising the potential of the gun electrodes, but are almost impossible to eliminate entirely. The leak current is expected to be equal to a constant (and usually large) fraction of the emission current.
+
+A measurement point was included for the total leak current through most of the gun electrodes.
+
+\subsection{Finite Resistance of Ammeters}
+
+An ideal ammeter
\section{Data Aquisition and Automation}
\subsection{DAC Control of Initial Energy}
+
\section{Sources of Error}
\subsection{Accuracy of ADCs}
+Figure \ref{fig_adc_noise} shows the ADC counts vs time measured for a controlled input voltage. The input voltages were set using a GW Instek GPS-1850D Power Supply, which has a quoted noise of
+
+Figure \ref{fig_gps_noise} shows the same output voltages of the GPS-1850D Power supply measured using an Agilent Oscilloscope.
+
+Based on these figures, an estimate of $\pm 1$ count for the error of the ADC seems reasonable. This corresponds to $3.2mV$.
\subsection{Noise due to Instruments}
-\subsubsection{
-A plot of ADC counts vs time for several output voltages of
+The Keithly 602 electrometer quotes a minimum noise value of $10mV$ and maximum of $, whilst the 610B electrometer quotes
+The noise was found to increase with the amplifier gain setting on each electrometer. Figure \ref{fig_610B_noise} shows the
+
\subsection{Noise due to Ground Loops}
+By far the greatest source of noise encountered in this project was a 50Hz sinusoidal ``hum''. The amplitude of this sine noise varied with instrument from $\pm10mV$ (610B) to $\pm1V$ (602).
+
+The 50Hz nature of the noise suggests that it is related to mains power. So called ``Ground Loops'' arise when a circuit incorporates multiple paths to mains Earth. This is indeed the case with the circuit in Figure \ref{fig_electron_gun}.
+
+In an ideal situation, mains earth would never be used as a signal ground source. Unfortunately, the use of mains earth as signal ground was unavoidable in this project due to safety and practicallity reasons. The turbo-molecular pump attached to the vacuum chamber was housed within a steel casing, which was grounded to mains earth for obvious safety reasons. This in turn grounded the entire steel vacuum chamber and the table upon which it rested to mains earth. The sample holder must be kept at the same potential as the surrounding vacuum chamber and shielding, and hence it was also connected to mains earth.
+
+The DAQ box itself became grounded to mains earth both through the RS-232 connection to the laptop, and also through the input from the sample current electrometer (610B).
+
\subsection{Reduction of Noise}
+The simplest way to determine the DC level of the ADC inputs was use of a large number of averages. Performing averaging on a signal is equivelant to passing the signal through a low pass filter \ref{}.
+
+Software averaging alone is not always sufficient to reduce noise. If the sinusoidal noise has a larger amplitude than the DC level, part of the signal will be negative with respect to ADC ground. ADCs are only capable of measuring positive voltages with respect to ground. A negative voltage is measured as a zero. Hence the averaged signal will be larger than the DC level of the input. This was found to be the case for measurements of the emission current.
+
+To solve this difficulty, a physical low pass filter was added at the input for the differential ADC. The cutoff of the low pass filter is:
+Although some sinusoidal noise was still observed after the addition of the filter, it was reduced to a level that made software averaging feasable.
+
+\subsection{
\end{document}