From 15adde06c84349051d4d9efa1e426193fca06923 Mon Sep 17 00:00:00 2001 From: Tom Selier Date: Sun, 4 Feb 2024 15:34:02 +0100 Subject: [PATCH] captions and fixes --- Doc/main.tex | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/Doc/main.tex b/Doc/main.tex index bf503dd..e7de1d4 100644 --- a/Doc/main.tex +++ b/Doc/main.tex @@ -83,7 +83,7 @@ \begin{Figure} \centering \includegraphics[scale=0.38]{SCHEMATIC_FULL.png} - \captionof{figure}{WIP} + \captionof{figure}{Final version of the boost converter} \label{fig:schematic_full} \end{Figure} @@ -102,7 +102,7 @@ The final addition is a voltage divider of $15k\Omega$ and $10k\Omega$ on the output, this simply lowers the output voltage to a level that can be read using the ADC on the MCU and is used for control loop feedback. \subsection{Control} - The system is controlled by the STM32F407 on the HU development board. The board provides the required PWN signals to control the MOSFETs and the ADC to read the output voltage. The program provides a small interface in which the user can view and control the duty cycle and frequency of the switching and read the current output voltage. The program also implements a simple PI control loop to control the output voltage, however it is not yet fully functional and requires more tuning. + The system is controlled by the STM32F407 on the HU development board. The board provides the required PWM signals to control the MOSFETs and the ADC to read the output voltage. The program provides a small interface in which the user can view and control the duty cycle and frequency of the switching and read the current output voltage. The program also implements a simple PI control loop to control the output voltage, however it is not yet fully functional and requires more tuning. \begin{Figure} \centering @@ -135,12 +135,15 @@ \item Start up \end{enumerate} In this section a test or measurement will be described for each of the above - characteristics. + characteristics. 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 characterize the circuit over a broad range of conditions. + were chosen to characterize the circuit over a broad range of conditions. + Lastly, the switching frequency (PWM frequency to the MOSFETs) of the STM + was locked to $30kHz$. The switching frequency was found by testing the efficiency + of the circuit. 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 @@ -157,7 +160,7 @@ \begin{Figure} \centering \includegraphics[scale=0.34]{SCHEMATIC_EFFICIENCY.png} - \captionof{figure}{WIP} + \captionof{figure}{Circuit with multimeters} \label{fig:schematic_efficiency} \end{Figure} To measure the efficiency of the circuit, four measurements were taken. @@ -234,7 +237,7 @@ def SD(all_data, ch): \begin{Figure} \centering \includegraphics[scale=0.5]{RIPPLE.png} - \captionof{figure}{WIP} + \captionof{figure}{Close up of a ripple} \label{fig:ripple} \end{Figure} A significant source of the noise was caused by a specific ripple, shown in @@ -287,7 +290,7 @@ for data in all_data: dt = data[1][1] - data[1][0] x = np.fft.rfftfreq(len(data[ch+1]), dt) - # find maximum, max() and np.argmax() + # find the maximum, max() and np.argmax() # are not playing nice with # imaginary numbers maximum = 0 @@ -313,9 +316,9 @@ return output_freq defined as $63\%$ and $95\%$ respectively. Further more, 'rise time' was defined as $90\%$, a metric used often in control theory. - One problem that occured during the measurements, is that the aforementioned + A 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 + filtered using a low pass filter ($\tau = 0.2ms$), reducing the high frequencies from the signal. \begin{lstlisting}[language=python, caption={LPF snippet}] @@ -341,7 +344,7 @@ for i in range(1, len(data[3])): \begin{Figure} \centering \includegraphics[scale=0.5]{EFFICIENCY_PERCENTAGE.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Efficiency vs load} \label{fig:efficiency} \end{Figure} \noindent The results for the efficiency measurements, as described in section @@ -354,7 +357,7 @@ for i in range(1, len(data[3])): \begin{Figure} \centering \includegraphics[scale=0.5]{SNR_LOADVSPKPK.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Noise $V_{pp}$ vs load} \label{fig:noise_pkpk} \end{Figure} \noindent The results for the noise measurements, as described in section @@ -367,7 +370,7 @@ for i in range(1, len(data[3])): \begin{Figure} \centering \includegraphics[scale=0.5]{SNR_LOADVSSD.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Noise SD vs load} \label{fig:noise_sd} \end{Figure} \noindent The results for the noise measurements, as described in section @@ -377,11 +380,11 @@ for i in range(1, len(data[3])): noise is continued in this graph. - \subsection{Ripple} + \subsection{Ripple} \label{section:ripple_result} \begin{Figure} \centering \includegraphics[scale=0.5]{RIPPLE_LOADVSPKPK.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Ripple $V_{pp}$ vs load} \label{fig:ripple_pkpk} \end{Figure} \noindent The results for the ripple measurements, as described in section @@ -392,7 +395,7 @@ for i in range(1, len(data[3])): \begin{Figure} \centering \includegraphics[scale=0.5]{RIPPLE_LOADVSFREQ.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Frequency ripple vs load} \label{fig:ripple_freq} \end{Figure} \noindent The frequency of the ripple is roughly $38 MHz$ and independant of @@ -402,24 +405,25 @@ for i in range(1, len(data[3])): f = \frac{1}{2 \pi \sqrt{LC}} \end{equation} Using the values from figure \ref{fig:schematic_full}, the resonating frequency - of the circuit should be around $27KHz$. Thus, this cannot be the cause of + of the circuit should be around $27kHz$. Thus, this cannot be the cause of the high frequency. As the frequency of the ripple is magnitudes higher than the LC-circuit's resonant frequency, what is seen is most likely the Self Resonating Frequency (SRF) of the inductor. Typically the SRF is $>10 MHz$, so that could be a probable source of the high frequencies. + \subsection{Start Up} \begin{Figure} \centering \includegraphics[scale=0.5]{TRANSIENT_RISE_10_MA.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Start up 10 mA} \label{fig:start_10} \end{Figure} \begin{Figure} \centering \includegraphics[scale=0.5]{TRANSIENT_RISE_50_MA.jpg} - \captionof{figure}{WIP} + \captionof{figure}{Start up 50 mA} \label{fig:start_50} \end{Figure}