From 206dc09aacec9039de5ea435f289bbd2f99ae37e Mon Sep 17 00:00:00 2001 From: Tom Selier Date: Sun, 4 Feb 2024 11:43:51 +0100 Subject: [PATCH] more methodology --- Doc/main.tex | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Doc/main.tex b/Doc/main.tex index edf8f05..458c778 100644 --- a/Doc/main.tex +++ b/Doc/main.tex @@ -85,7 +85,17 @@ Each of the characteristics have been tested at two different output voltages and various load currents. The different voltages are $7V$ and $3.3V$. The chosen load currents are $10$, $20$, $30$, $40$ and $50 mA$. These values - were chosen to give characterize the circuit over a broad range of conditions. + were chosen to characterize the circuit over a broad range of conditions. + + For all tests, the data was handled in a simular way. For test 2 through 4, + an oscilloscope was set up on the output voltage. The probe was set to + 10x attenuation to minimize it's influence on the circuit. The oscilloscope's + settings are set to get the signal full screen, and the acquire settings were + adjusted so that it would store 20,000 points. Then, at each measurement + .csv (comma seperated values) was stored on a USB drive. + + After the measurements were collected, they were processed using a python + script. The major functions are listed at each test. \subsection{Efficiency} \label{section:efficiency} @@ -96,10 +106,10 @@ \label{fig:schematic_efficiency} \end{Figure} To measure the efficiency of the circuit, four measurements were taken. - A current and a voltage measurement were taken at the supply and load + A current and a voltage measurement were taken at the supply and load, respectively. The measurements were taken as shown in figure \ref{fig:schematic_efficiency}. The energy used by the supply and the load - can be calculated using the equation \ref{eq:power}. Then, using equation + can be calculated using equation \ref{eq:power}. Then, using equation \ref{eq:efficiency}, efficiency can be calculated. \begin{equation} \label{eq:power} @@ -237,7 +247,7 @@ for data in all_data: # get the frequency of the maximum output_freq.append(x[max_idx]) -return [output_load, output_freq] +return output_freq \end{lstlisting} \subsection{Start up} \label{section:start_up} @@ -251,7 +261,7 @@ return [output_load, output_freq] One problem that occured during the measurements, is that the aforementioned ripples and noise would cause erroneous readings. As such, the signal was filtered using a low pass filter, reducing the high frequencies from the - measurement. + signal. \begin{lstlisting}[language=python, caption={LPF snippet}] initial = data[3][0]