update of local changes 20180625
This commit is contained in:
parent
4fbc144451
commit
9f4c11e3e3
Binary file not shown.
|
@ -1,20 +1,53 @@
|
|||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
plt.style.use('bmh')
|
||||
plt.figure(figsize=(8, 3))
|
||||
|
||||
def gen_48v_theory():
|
||||
xdata = np.linspace(43, 53, 100)
|
||||
ydata = xdata / 241 * 8 * 1.1
|
||||
|
||||
plt.style.use('bmh')
|
||||
plt.figure(figsize=(8, 6))
|
||||
|
||||
plt.clf()
|
||||
plt.plot(ydata, xdata)
|
||||
|
||||
plt.xlabel('V$_{pin}$')
|
||||
plt.ylabel('V$_{48V in}$')
|
||||
plt.xlabel('V$_{pin}$ / V')
|
||||
plt.ylabel('V$_{48V in}$ / V')
|
||||
|
||||
plt.tight_layout()
|
||||
plt.savefig('v48.pdf')
|
||||
|
||||
def gen_48i_theory():
|
||||
xdata = np.linspace(0, 2000/48, 100)
|
||||
ydata = xdata * 500e-6 * 8 * 1.1
|
||||
|
||||
plt.clf()
|
||||
plt.plot(ydata, xdata)
|
||||
|
||||
plt.xlabel('V$_{pin}$ / V')
|
||||
plt.ylabel('I$_{48V in}$ / A')
|
||||
|
||||
plt.tight_layout()
|
||||
plt.savefig('i48.pdf')
|
||||
|
||||
def gen_1v8_theory():
|
||||
rpara = 1000
|
||||
rseri = 10000
|
||||
xdata = np.arange(0, 256, 4)
|
||||
ydata = (xdata / 256 * 10000)
|
||||
ydata = ydata * rpara / (ydata + rpara) + rseri
|
||||
ydata = 30100 / (ydata + 6490) * .7 + .7
|
||||
|
||||
plt.clf()
|
||||
plt.plot(xdata, ydata)
|
||||
|
||||
plt.xlabel("Potentiometer Setting")
|
||||
plt.ylabel("V$_{1.8V out}$")
|
||||
|
||||
plt.tight_layout()
|
||||
plt.savefig('v18.pdf')
|
||||
|
||||
if __name__ == "__main__":
|
||||
gen_48v_theory()
|
||||
gen_48v_theory()
|
||||
gen_48i_theory()
|
||||
gen_1v8_theory()
|
Binary file not shown.
Binary file not shown.
|
@ -29,6 +29,8 @@ The hardware used in this thesis is a PowerIt board (fig. \ref{}), developed in
|
|||
|
||||
In which it is providing the Wafer with 1.8V and the FPGAs with 9.6V. Its maximum rated Pwerdraw is 2kW.
|
||||
|
||||
\cite{poweritupgrade}
|
||||
|
||||
<containing intro to system and board>
|
||||
|
||||
%TODO: mv to theory <contains circuits to all measureing adcs, and description of the measureing process>
|
||||
|
|
|
@ -9,7 +9,7 @@ Mainly the conceptual behavior of the onboard measurement circuitry.
|
|||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=.9\textwidth]{./tikz/mon48v.pdf}
|
||||
\caption{Circuit for measuring the 48V input Voltage, consisting of input potential, two resistors as voltage divider, one differential operational amplifier (Diff Op Amp), one operational Amplifier, output voltage as well as the connection to the STM32-Chips input pin}
|
||||
\caption{Circuit for measuring the 48V input Voltage, consisting of input potential, two resistors as voltage divider, one full differential operational amplifier (full Diff Op Amp), one operational Amplifier, output voltage as well as the connection to the STM32-Chips input pin}
|
||||
\label{mon48v}
|
||||
\end{figure}
|
||||
|
||||
|
@ -20,7 +20,7 @@ The circuits for measuring input Voltage and current are the most complex, becau
|
|||
\item operate within the Chips possible Voltage range of 0-3.3V
|
||||
\end{enumerate}
|
||||
|
||||
The already implemented Cicuit can be seen in figure \ref{mon48v}. It consists of a 1:240 Voltage Divider, a differential operational amplifier taking in the ~200mV (nominal), and amplifying it by a factor of 8 ($r_\text{diffOpAmp}$). It is decoupling the input and output voltages, so our 48V and 3.3V circuit parts are electricly insulated. The remaining operational amplifier provides futher amplification by a factor of 1.1 ($r_\text{OpAmp}$)
|
||||
The already implemented Cicuit can be seen in figure \ref{mon48v}. It consists of a 1:240 Voltage Divider, a full differential operational amplifier taking in the ~200mV (nominal), and amplifying it by a factor of 8 ($r_\text{diffOpAmp}$). It is decoupling the input and output voltages, so our 48V and 3.3V circuit parts are electricly insulated. The remaining operational amplifier provides futher amplification by a factor of 1.1 ($r_\text{OpAmp}$)
|
||||
|
||||
This circuit results in the following equation:
|
||||
|
||||
|
@ -32,6 +32,7 @@ and the expected behavior, as seen in \ref{beh48v}
|
|||
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\hspace*{-.16\textwidth}
|
||||
\includegraphics[width=1.3\textwidth]{./data/theory/v48.pdf}
|
||||
\caption{Expected behavior of our 48V measurement circuit}
|
||||
\label{beh48v}
|
||||
|
@ -42,7 +43,7 @@ and the expected behavior, as seen in \ref{beh48v}
|
|||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=.9\textwidth]{./tikz/mon48i.pdf}
|
||||
\caption{Circuit for measuring the 48V input Current, consisting of the powerit Input Circuit, one shunt-resistor, one diff Op Amp, one Op Amp, output potential, as well as the connection to the STM32-Chip input pin}
|
||||
\caption{Circuit for measuring the 48V input Current, consisting of the powerit Input Circuit, one shunt-resistor, one full diff Op Amp, one Op Amp, output potential, as well as the connection to the STM32-Chip input pin}
|
||||
\label{mon48i}
|
||||
\end{figure}
|
||||
|
||||
|
@ -52,10 +53,44 @@ In case of the current measurement circuit we require the following:
|
|||
\item still providing a good resolution also within the Chips Specifications
|
||||
\end{enumerate}
|
||||
|
||||
Our calculation is based on:
|
||||
\begin{equation}
|
||||
I_\text{48V IN}\cdot R_{shunt} \cdot r_\text{diffOpAmp} \cdot r_\text{OpAmp} = V_\text{48I pin}
|
||||
\end{equation}
|
||||
|
||||
so we expect:
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\caption{Expected behavior of our input current measurement circuit}
|
||||
\hspace*{-.16\textwidth}
|
||||
\includegraphics[width=1.3\textwidth]{./data/theory/i48.pdf}
|
||||
\label{beh48i}
|
||||
\end{figure}
|
||||
|
||||
\subsection{9.6V Output Voltage}
|
||||
|
||||
\subsection{1.8V Output Voltage}
|
||||
|
||||
\begin{align}
|
||||
R_{SET} =& 1 / \left(\frac{1}{R_{potentiometer}} + \frac{1}{R_{parallel}}\right) + R_{series}\\
|
||||
=& \frac{R_\text{potentiometer}\cdot R_\text{parallel}}{R_\text{potentiometer} + R_\text{parallel}} + R_\text{series}\\
|
||||
V_O =& \frac{30.1 k\Omega}{R_{SET} + 6.49 k\Omega} \cdot 0.7V + 0.7V
|
||||
\end{align}
|
||||
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\includegraphics[width=.7\textwidth]{./tikz/gen18v.pdf}
|
||||
\caption{Circuit for generating a changable Output Voltage}
|
||||
\label{gen18v}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[h]
|
||||
\centering
|
||||
\hspace*{-.13\textwidth}
|
||||
\includegraphics[width=1.3\textwidth]{./data/theory/v18.pdf}
|
||||
\caption{Expected bahavior of our output voltage by setting the potentiometer}
|
||||
\label{beh1v8}
|
||||
\end{figure}
|
||||
\subsection{1.8V Output Current}
|
||||
|
||||
\section{ADC Calibration}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
\usepackage[hidelinks]{hyperref}
|
||||
\usepackage{tcolorbox}
|
||||
\usepackage{enumitem,amssymb}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{svg}
|
||||
\usepackage{pdflscape}
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
\documentclass[]{standalone}
|
||||
\input{./tikzpreamble}
|
||||
|
||||
\begin{document}
|
||||
\begin{circuitikz}[scale=2]
|
||||
\draw[color=black, thick]
|
||||
|
||||
(1,1.5) node[draw=black, fill=white, regular polygon, regular polygon sides=4] {PTH08T250W}
|
||||
|
||||
(1, 2.35) node[below] {V$_{SS}$}
|
||||
(0,3) node[left] {9.6V}
|
||||
to [short, o-] (1, 3)
|
||||
to [short, -*] (1, 2.35)
|
||||
|
||||
(1, .65) node[above] {GND}
|
||||
(0,0) node[left]{GND}
|
||||
to [short, o-] (1,0)
|
||||
to [short,-*] (1, .65)
|
||||
|
||||
|
||||
(1.85, 1.7) node[left] {R$_S$}
|
||||
(1.85, 2)
|
||||
to [short, *-] (2.4, 2)
|
||||
to [short, *-] (2.4, 3)
|
||||
to [pR, l={R$_\text{pot}$}] (4.5, 3)
|
||||
to [short, -*] (4.5, 2)
|
||||
|
||||
(2.4, 2)
|
||||
to [R={R$_\text{parallel}$}] (4.5, 2)
|
||||
to [short] (4.5, 1.4)
|
||||
|
||||
(1.85, 1.4)
|
||||
to [short, *-] (2.4, 1.4)
|
||||
to [R, l_={R$_\text{series}$}] (4.5, 1.4)
|
||||
|
||||
(1.85, 1) node[left] {V$_O$}
|
||||
(1.85, 1)
|
||||
to [short, *-] (2.4, 1)
|
||||
to [short] (2.4, 0)
|
||||
to [short] (3, 0)
|
||||
|
||||
(3,0) node[right,draw=black] {MONITOR\_1V8}
|
||||
;
|
||||
\end{circuitikz}
|
||||
\end{document}
|
|
@ -5,35 +5,42 @@
|
|||
\begin{circuitikz}[scale=2]
|
||||
\draw[color=black, thick]
|
||||
(1,0)
|
||||
to [R, text width=1cm, l={R 500$\mu$},f>^=I$_{IN}$, *-] (1,6)
|
||||
to [short, -o](0,6) node[left] {V$_{IN} = -48V$}
|
||||
to [R, text width=1cm, l={R 500$\mu$},f>^=I$_{IN}$, *-] (1,3)
|
||||
to [short, -o] (0,3) node[left] {V$_{IN} = -48V$}
|
||||
|
||||
(1,5.1) node[draw=black, fill=white, regular polygon, regular polygon sides=4] {PowerIt}
|
||||
(1,3) node[draw=black, fill=white, regular polygon, regular polygon sides=4] {PowerIt}
|
||||
(.52, 3) node[right, draw=black, inner sep = 2] {-}
|
||||
(1,2.52) node[above, draw=black, inner sep = 1] {+}
|
||||
|
||||
(1,3) to [short, -*] (1,2.52)
|
||||
(1,3) to [short, -*] (.52, 3)
|
||||
|
||||
(0,0) node[left]{GND$_{V_{IN}}$} to [short, o-] (1,0)
|
||||
|
||||
(2.1,3) node[fd op amp] (fdoa) {}
|
||||
(fdoa.+) to [short,-*] (1,2)
|
||||
(fdoa.-) to [short,-*] (1,4)
|
||||
(fdoa.down) to (2.06,0)
|
||||
(2.5,1.5) node[fd op amp] (fdoa) {}
|
||||
(fdoa.+) to [short,-*] (1,1.0)
|
||||
(fdoa.-) to [short,-*] (1,2.0)
|
||||
(fdoa.down)
|
||||
to (2.46,0)
|
||||
to [short,-o] (6,0) node[right]{GND}
|
||||
(fdoa.down)+(-.2,-.1)
|
||||
to (1.86,0)
|
||||
to (2.26,0)
|
||||
to [short, -*](1,0)
|
||||
(fdoa.up)
|
||||
to (2.06,6)
|
||||
to [short,-o](6,6) node[right] {$V_{SS} = 3.3V$}
|
||||
to (2.46,3)
|
||||
to [short,-o](6,3) node[right] {$V_{SS} = 3.3V$}
|
||||
(fdoa.up)+(-.2,.1)
|
||||
to (1.86,6)
|
||||
to [short, -*] (2.06,6)
|
||||
to (2.26,3)
|
||||
to [short, -*] (2.46,3)
|
||||
|
||||
(4,3) node[op amp] (oa) {}
|
||||
(4.5,1.5) node[op amp] (oa) {}
|
||||
(fdoa.out -) to (oa.-)
|
||||
(fdoa.out +) to (oa.+)
|
||||
|
||||
(2.06,0) to [short,-o] (6,0) node[right]{GND}
|
||||
(5,0) node[ground]{} node[circ](4.5,0){}
|
||||
|
||||
(oa.out) to [short,-] (5.5,3) node[right,draw=black] {MONITOR\_48I}
|
||||
(oa.out) to [short,-] (5.5,1.5) node[right,draw=black] {MONITOR\_48I}
|
||||
|
||||
;
|
||||
\end{circuitikz}
|
||||
\end{document}
|
||||
|
|
|
@ -4,36 +4,40 @@
|
|||
\begin{document}
|
||||
\begin{circuitikz}[scale=2]
|
||||
\draw[color=black, thick]
|
||||
(-1,0) node[left]{$V_{IN}=-48V$}
|
||||
to [short,o-*] (1.5,0){} % Baseline for connection to ground
|
||||
(1,0)
|
||||
to [R, text width=1cm, l={R2\\240k}, *-] (1,3)
|
||||
to [R, text width=1cm, l={R1 1k}, *-] (1,6)
|
||||
(-1,6) node[left]{$GND_{V_{IN}}$} to [short, o-] (1,6)
|
||||
(2.5,1.5) node[fd op amp] (fdoa) {}
|
||||
|
||||
(2.1,3) node[fd op amp] (fdoa) {}
|
||||
(fdoa.+) to (1,3)
|
||||
(fdoa.-) to (1.5,0)
|
||||
(fdoa.down) to (2.06,0)
|
||||
(0,3) node[left]{$V_{IN}=-48V$}
|
||||
to [short, o-](1,3)
|
||||
%to [short,-*] (fdoa.-) % Baseline for connection to ground
|
||||
|
||||
(1,3)
|
||||
to [R, text width=1cm, l={R2\\240k}, *-] (1,1.5)
|
||||
to [R, text width=1cm, l={R1 1k}, *-] (1,0)
|
||||
|
||||
(0,0) node[left]{$GND_{V_{IN}}$}
|
||||
to [short, o-] (1,0)
|
||||
|
||||
(fdoa.+) to (1,1.5)
|
||||
(fdoa.-) to [short, -*] +(0, -1.74)
|
||||
(fdoa.down) to (2.46,0)
|
||||
(fdoa.down)+(-.2,-.1)
|
||||
to (1.86,2.2)
|
||||
to (.1,2.2)
|
||||
to [short, -*](.1,6)
|
||||
to (2.26,0)
|
||||
to [short, -*](1,0)
|
||||
(fdoa.up)
|
||||
to (2.06,6)
|
||||
to [short,-o](6,6) node[right] {$V_{SS} = 3.3V$}
|
||||
to (2.46,3)
|
||||
to [short,*-o](6,3) node[right] {$V_{SS} = 3.3V$}
|
||||
(fdoa.up)+(-.2,.1)
|
||||
to +(-.2,1)
|
||||
to [short, -*] +(0,1)
|
||||
to (2.26,3)
|
||||
to [short] (2.46,3)
|
||||
|
||||
(4,3) node[op amp] (oa) {}
|
||||
(4.5,1.5) node[op amp] (oa) {}
|
||||
(fdoa.out -) to (oa.-)
|
||||
(fdoa.out +) to (oa.+)
|
||||
|
||||
(2.06,0) to [short,-o] (6,0) node[right]{GND}
|
||||
(2.46,0) to [short,-o] (6,0) node[right]{GND}
|
||||
(5,0) node[ground]{} node[circ](4.5,0){}
|
||||
|
||||
(oa.out) to [short,-] (6,3) node[right,draw=black] {MONITOR\_48V}
|
||||
(oa.out) to [short,-] (5.5,1.5) node[right,draw=black] {MONITOR\_48V}
|
||||
;
|
||||
\end{circuitikz}
|
||||
\end{document}
|
||||
|
|
Loading…
Reference in New Issue