From c20b3fed5334aa59f51df9244f47f5263204c175 Mon Sep 17 00:00:00 2001 From: acereca Date: Fri, 13 Jul 2018 20:07:20 +0200 Subject: [PATCH] update 20180713 --- .gitignore | 1 + data/remote_proj/DBG_README.md | 1 + parts/experiments.tex | 2 +- parts/results.tex | 23 +- parts/theory.tex | 2 +- pitstop | 2 +- preamble.tex | 29 +- thesis.tex | 7 +- tikz/mon48v.pdf | Bin 66050 -> 66050 bytes tikz/mon48v.svg | 564 +++++++++++++++++++++++++++++++++ tikz/mon48v.synctex(busy) | 0 tikz/mon48v.tex | 2 +- tikz/tikzpreamble.tex | 4 + 13 files changed, 619 insertions(+), 18 deletions(-) create mode 120000 data/remote_proj/DBG_README.md create mode 100644 tikz/mon48v.svg create mode 100644 tikz/mon48v.synctex(busy) diff --git a/.gitignore b/.gitignore index c83f575..5967333 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ datasheets/ # minted _minted-thesis/ +*.listing # links data/afshome/* diff --git a/data/remote_proj/DBG_README.md b/data/remote_proj/DBG_README.md new file mode 120000 index 0000000..ff72719 --- /dev/null +++ b/data/remote_proj/DBG_README.md @@ -0,0 +1 @@ +../afshome/clean_jenk/DBG_README.md \ No newline at end of file diff --git a/parts/experiments.tex b/parts/experiments.tex index eba3683..8645f5e 100644 --- a/parts/experiments.tex +++ b/parts/experiments.tex @@ -104,7 +104,7 @@ The secondary plots confirm the \section{after Calibration} -\inputminted{yaml}{pitstop/pitdb.yaml} +\minty{yaml}{./pitstop/pitdb.yaml} \subsection{Voltages} diff --git a/parts/results.tex b/parts/results.tex index 63b0e87..0281d3c 100644 --- a/parts/results.tex +++ b/parts/results.tex @@ -29,15 +29,14 @@ Using the script any one of the following Values can be tested and calibrated: \subsubsection{Setting up the Test Environment} The simplest way to setup your environment consists of cloning the PItSTOP Project onto your Client: -\begin{minted}{bash} +\begin{mintylst}{bash} $ git clone https://url.to.pitstop -\end{minted} -then substituting the \verb|rsync| targeti: -\begin{minted}{makefile} - # makefile +\end{mintylst} +then substituting the \verb|rsync| target: +\begin{mintylst}[makefile]{makefile} all: rsync --progress ./*.py /remote.url/ -\end{minted} +\end{mintylst} , to be your server (should be a RaspberyyPi connected to the PowerIt) @@ -45,15 +44,15 @@ then substituting the \verb|rsync| targeti: Runnig the test requires the following commands \\ Serverside: -\begin{minted}{bash} +\begin{mintylst}{bash} $ python server.py -\end{minted} +\end{mintylst} Clientside: -\begin{minted}{bash} +\begin{mintylst}{bash} $ python aggregator.py -\end{minted} +\end{mintylst} Now just following the instructions given, the selected test can be run: -\begin{minted}{text} +\begin{mintylst}{text} Setting up calibration test for {} Please be sure to: - connect the {} to the RaspberryPi running server.py. @@ -63,7 +62,7 @@ Now just following the instructions given, the selected test can be run: Continue (y/N): y What is the Name given to the connected PowerIt? [Bxx]: B05 -\end{minted} +\end{mintylst} \section{Regulation} diff --git a/parts/theory.tex b/parts/theory.tex index 37eceb0..d33266f 100644 --- a/parts/theory.tex +++ b/parts/theory.tex @@ -17,7 +17,7 @@ The circuits for measuring input Voltage and current are the most complex, becau \begin{enumerate} \item divide our input voltage into a usable potential range \item decouple the input from our signal potential - \item operate within the Chips possible Voltage range of 0-3.3V + \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 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}$) diff --git a/pitstop b/pitstop index 4121855..edf878b 160000 --- a/pitstop +++ b/pitstop @@ -1 +1 @@ -Subproject commit 41218559d79c2501c58c529ff50ba8b03b4dd39f +Subproject commit edf878b464259cca0d4daef9badb21e79004941b diff --git a/preamble.tex b/preamble.tex index 98ecdc5..816ea1e 100644 --- a/preamble.tex +++ b/preamble.tex @@ -3,15 +3,42 @@ \input{tikz/tikzpreamble.tex} \usepackage{titling} -\usepackage{minted} \usepackage{xcolor} +%\definecolor{mintedbg}{HTML}{282c34} +\definecolor{mintedbg}{HTML}{ffffff} \usepackage[hidelinks]{hyperref} \usepackage{tcolorbox} +\tcbuselibrary{listings, minted, skins} +\newtcbinputlisting{\minty}[3][]{% + enhanced, + listing engine=minted, + colback=mintedbg, + colframe=myteal, + boxrule=.25mm, + listing only, + minted language=#2, + minted style=pastie, + listing file={#3}, + title={#1} +} + +\newtcblisting{mintylst}[2][]{% + enhanced, + listing engine=minted, + colback=mintedbg, + colframe=myteal, + boxrule=.25mm, + listing only, + minted language=#2, + minted style=pastie, + title={#1} +} \usepackage{enumitem,amssymb} \usepackage{amsmath} \usepackage{graphicx} \usepackage{svg} \usepackage{pdflscape} +\usepackage{titlesec} \definecolor{myteal}{HTML}{228c9c} %\DeclareTColorBox{blockbox}{ O{width=\textwidth} }{boxrule=0mm, colframe=myteal, valign lower=bottom, on line, lower separated=false, height=.6\textheight, #1} diff --git a/thesis.tex b/thesis.tex index 94e1b61..a611c91 100644 --- a/thesis.tex +++ b/thesis.tex @@ -8,8 +8,12 @@ \predate{\par\large\centering} \postdate{\par\vspace{3cm}} +\titleformat{\chapter}{\bfseries\huge\color{myteal}}{\thechapter}{.5em}{} +\titleformat*{\section}{\bfseries\Large\color{myteal}} +\titleformat*{\subsection}{\bfseries\large\color{myteal}} + \author{Patrick Nisblé} -\title{Calibration and Regulation of BrainScaleS' PowerIt Subsystems} +\title{\color{myteal}Calibration and Regulation of BrainScaleS' PowerIt Subsystems} \begin{document} \maketitle \thispagestyle{empty} @@ -18,6 +22,7 @@ Monitoring System status and regulation parameters within a complex System such as BrainScaleS, provides multiple critical points, which in case of misbehaviour can result in problems within the complete system. To reduce the eroneous data created within BarainScaleS, the PowerIt Board, one of its submodules, was upgraded and received a software ovehaul, containing calibration for the on board measurements and regultion capability for its most critical output terminal. \end{abstract} + \setcounter{tocdepth}{1} \tableofcontents \include{parts/intro} \include{parts/theory} diff --git a/tikz/mon48v.pdf b/tikz/mon48v.pdf index ecac674aedc0ae58e72b10d11499b8f22c45e7e8..f735e86488515848c9a6e77e75faaea2a1c71c4f 100644 GIT binary patch delta 145 zcmZo_VQFe%*>LhFqvhmNKh-(S4UG&eO)QNKCja^=g~XHn6(L}$pb?T9q2QBQma1T6 zU}!P9^_K#(v7W)^6~D~coXia@9F0ufOkA7|osBIW4Gaw}oedpbEiH{)T`k<4>=bMq M2`HJa$jJB*05HHR9RL6T delta 145 zcmZo_VQFe%*>LhFqs8P?Kh-(SjLZy;jm%9fCja^=g~XHn6(L}upb?T9q2QBQma1T6 zU}!$M^_K#(k)HA96~D~coGi_aU0j?E-7H;=OiYa244h33EsZSAT-_`zT?|dk?G$Vr M2`HJa$jJB*05aq$^Z)<= diff --git a/tikz/mon48v.svg b/tikz/mon48v.svg new file mode 100644 index 0000000..e88565e --- /dev/null +++ b/tikz/mon48v.svg @@ -0,0 +1,564 @@ + + + + diff --git a/tikz/mon48v.synctex(busy) b/tikz/mon48v.synctex(busy) new file mode 100644 index 0000000..e69de29 diff --git a/tikz/mon48v.tex b/tikz/mon48v.tex index 924c5b6..2df12b3 100644 --- a/tikz/mon48v.tex +++ b/tikz/mon48v.tex @@ -1,4 +1,4 @@ -\documentclass[]{standalone} +\documentclass[convert={outfile=\jobname.svg}]{standalone} \input{./tikzpreamble} \begin{document} diff --git a/tikz/tikzpreamble.tex b/tikz/tikzpreamble.tex index 23f3b30..a9774a4 100644 --- a/tikz/tikzpreamble.tex +++ b/tikz/tikzpreamble.tex @@ -5,7 +5,11 @@ %\usepackage{cm} \usepackage[T1]{fontenc} \renewcommand*\familydefault{\sfdefault} +\renewcommand*{\ttdefault}{qcr} \usepackage{sectsty} \allsectionsfont{ \sffamily} + +%\usepackage{fontspec} +%\setmonofont{Source Code Pro for Powerline}