Merge branch 'main' of https://arnweb.nl/gitea/arne/EV5_HW_Ontwikkeling
This commit is contained in:
commit
0e3836eb99
36
Doc/main.tex
36
Doc/main.tex
@ -83,7 +83,7 @@
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.38]{SCHEMATIC_FULL.png}
|
\includegraphics[scale=0.38]{SCHEMATIC_FULL.png}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Final version of the boost converter}
|
||||||
\label{fig:schematic_full}
|
\label{fig:schematic_full}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
|
|
||||||
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
\subsection{Control}
|
\subsection{Control}
|
||||||
\label{control}
|
\label{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}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
@ -142,6 +142,9 @@
|
|||||||
and various load currents. The different voltages are $7V$ and $3.3V$. The
|
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
|
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,
|
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
|
an oscilloscope was set up on the output voltage. The probe was set to
|
||||||
@ -158,7 +161,7 @@
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.34]{SCHEMATIC_EFFICIENCY.png}
|
\includegraphics[scale=0.34]{SCHEMATIC_EFFICIENCY.png}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Circuit with multimeters}
|
||||||
\label{fig:schematic_efficiency}
|
\label{fig:schematic_efficiency}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
To measure the efficiency of the circuit, four measurements were taken.
|
To measure the efficiency of the circuit, four measurements were taken.
|
||||||
@ -235,7 +238,7 @@ def SD(all_data, ch):
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{RIPPLE.png}
|
\includegraphics[scale=0.5]{RIPPLE.png}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Close up of a ripple}
|
||||||
\label{fig:ripple}
|
\label{fig:ripple}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
A significant source of the noise was caused by a specific ripple, shown in
|
A significant source of the noise was caused by a specific ripple, shown in
|
||||||
@ -288,7 +291,7 @@ for data in all_data:
|
|||||||
dt = data[1][1] - data[1][0]
|
dt = data[1][1] - data[1][0]
|
||||||
x = np.fft.rfftfreq(len(data[ch+1]), dt)
|
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
|
# are not playing nice with
|
||||||
# imaginary numbers
|
# imaginary numbers
|
||||||
maximum = 0
|
maximum = 0
|
||||||
@ -314,9 +317,9 @@ return output_freq
|
|||||||
defined as $63\%$ and $95\%$ respectively. Further more, 'rise time' was defined
|
defined as $63\%$ and $95\%$ respectively. Further more, 'rise time' was defined
|
||||||
as $90\%$, a metric used often in control theory.
|
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
|
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.
|
signal.
|
||||||
|
|
||||||
\begin{lstlisting}[language=python, caption={LPF snippet}]
|
\begin{lstlisting}[language=python, caption={LPF snippet}]
|
||||||
@ -342,7 +345,7 @@ for i in range(1, len(data[3])):
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{EFFICIENCY_PERCENTAGE.jpg}
|
\includegraphics[scale=0.5]{EFFICIENCY_PERCENTAGE.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Efficiency vs load}
|
||||||
\label{fig:efficiency}
|
\label{fig:efficiency}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
\noindent The results for the efficiency measurements, as described in section
|
\noindent The results for the efficiency measurements, as described in section
|
||||||
@ -355,7 +358,7 @@ for i in range(1, len(data[3])):
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{SNR_LOADVSPKPK.jpg}
|
\includegraphics[scale=0.5]{SNR_LOADVSPKPK.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Noise $V_{pp}$ vs load}
|
||||||
\label{fig:noise_pkpk}
|
\label{fig:noise_pkpk}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
\noindent The results for the noise measurements, as described in section
|
\noindent The results for the noise measurements, as described in section
|
||||||
@ -368,7 +371,7 @@ for i in range(1, len(data[3])):
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{SNR_LOADVSSD.jpg}
|
\includegraphics[scale=0.5]{SNR_LOADVSSD.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Noise SD vs load}
|
||||||
\label{fig:noise_sd}
|
\label{fig:noise_sd}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
\noindent The results for the noise measurements, as described in section
|
\noindent The results for the noise measurements, as described in section
|
||||||
@ -378,11 +381,11 @@ for i in range(1, len(data[3])):
|
|||||||
noise is continued in this graph.
|
noise is continued in this graph.
|
||||||
|
|
||||||
|
|
||||||
\subsection{Ripple}
|
\subsection{Ripple} \label{section:ripple_result}
|
||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{RIPPLE_LOADVSPKPK.jpg}
|
\includegraphics[scale=0.5]{RIPPLE_LOADVSPKPK.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Ripple $V_{pp}$ vs load}
|
||||||
\label{fig:ripple_pkpk}
|
\label{fig:ripple_pkpk}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
\noindent The results for the ripple measurements, as described in section
|
\noindent The results for the ripple measurements, as described in section
|
||||||
@ -393,7 +396,7 @@ for i in range(1, len(data[3])):
|
|||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{RIPPLE_LOADVSFREQ.jpg}
|
\includegraphics[scale=0.5]{RIPPLE_LOADVSFREQ.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Frequency ripple vs load}
|
||||||
\label{fig:ripple_freq}
|
\label{fig:ripple_freq}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
\noindent The frequency of the ripple is roughly $38 MHz$ and independant of
|
\noindent The frequency of the ripple is roughly $38 MHz$ and independant of
|
||||||
@ -403,24 +406,25 @@ for i in range(1, len(data[3])):
|
|||||||
f = \frac{1}{2 \pi \sqrt{LC}}
|
f = \frac{1}{2 \pi \sqrt{LC}}
|
||||||
\end{equation}
|
\end{equation}
|
||||||
Using the values from figure \ref{fig:schematic_full}, the resonating frequency
|
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
|
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
|
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
|
Self Resonating Frequency (SRF) of the inductor. Typically the SRF is
|
||||||
$>10 MHz$, so that could be a probable source of the high frequencies.
|
$>10 MHz$, so that could be a probable source of the high frequencies.
|
||||||
|
|
||||||
|
|
||||||
\subsection{Start Up}
|
\subsection{Start Up}
|
||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{TRANSIENT_RISE_10_MA.jpg}
|
\includegraphics[scale=0.5]{TRANSIENT_RISE_10_MA.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Start up 10 mA}
|
||||||
\label{fig:start_10}
|
\label{fig:start_10}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
|
|
||||||
\begin{Figure}
|
\begin{Figure}
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[scale=0.5]{TRANSIENT_RISE_50_MA.jpg}
|
\includegraphics[scale=0.5]{TRANSIENT_RISE_50_MA.jpg}
|
||||||
\captionof{figure}{WIP}
|
\captionof{figure}{Start up 50 mA}
|
||||||
\label{fig:start_50}
|
\label{fig:start_50}
|
||||||
\end{Figure}
|
\end{Figure}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user