From: Michael Wiebusch Date: Tue, 13 May 2014 16:16:05 +0000 (+0200) Subject: update X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d61120aa795659634e17b4dccb33473c63da9859;p=mvd_docu.git update --- diff --git a/mvdsensorcontrol/bib.tex b/mvdsensorcontrol/bib.tex index d3ea4ab..137a20e 100644 --- a/mvdsensorcontrol/bib.tex +++ b/mvdsensorcontrol/bib.tex @@ -18,8 +18,8 @@ document/datasheet/CD00191185.pdf (2014) % Satz, Phys. % Lett. % B178, 416, 1986 -% \bibitem{bibitem002:himmi} -% Himmi, A. ; Doziere, G. ; Bertolone, G. ; Brogna, A. ; Dulinski, W. ; Colledani, C. ; Dorokhov, A. ; Hu, Ch. ; Morel, F. ; Torheim, O. ; Valin, I.:\emph{ Mimosa26 User Manual,} December 2008. +\bibitem{m26_manual} +Himmi, A. ; Doziere, G. ; Bertolone, G. ; Brogna, A. ; Dulinski, W. ; Colledani, C. ; Dorokhov, A. ; Hu, Ch. ; Morel, F. ; Torheim, O. ; Valin, I.:\emph{ Mimosa26 User Manual,} December 2008. % \bibitem{bibitem003:specht} % Matthieu Specht, \emph{Threshold DAC Characterization system for Mimosa26 - User’s manual}, November 2009 % \bibitem{bibitem004:refmuxer} diff --git a/mvdsensorcontrol/dacmatrix.pdf b/mvdsensorcontrol/dacmatrix.pdf new file mode 100644 index 0000000..d7da06e Binary files /dev/null and b/mvdsensorcontrol/dacmatrix.pdf differ diff --git a/mvdsensorcontrol/daqsetup.tex b/mvdsensorcontrol/daqsetup.tex index 7ebe29c..64177c2 100644 --- a/mvdsensorcontrol/daqsetup.tex +++ b/mvdsensorcontrol/daqsetup.tex @@ -12,7 +12,7 @@ a guide to the monitoring, control and data acquisition software for the high le \section{Breakdown of the data acquisition system} -\subsection{Overview} +% \subsection{Overview} \begin{figure}[H] \centering @@ -34,7 +34,6 @@ TRB3 boards, the latest general purpose FPGA platform used by the HADES experime \item[Computer] Common PC running Linux and custom control, monitoring, and data acquisition software. \end{description} - \subsection{The sensors} The MIMOSA26 sensors are Monolithic Active Pixel Sensors (MAPS). In contrast to CCD sensors MAPS can be produced in a standard CMOS process and have an amplifying transistor in each @@ -54,7 +53,7 @@ CLKL (LVDS) at \SI{80}{\mega\hertz}. MIMOSA26 has two synchronous serial data output ports, which operate at a frequency of \SI{80}{\mega\hertz}. -The data output possesses an additional signal, MKD, which signals the beginning of a readout frame. +The data output possesses an additional signal, MKD, which marks the beginning of a readout frame. The sensor's settings are being programmed via a JTAG interface (LVTTL) which provides the possibility to queue multiple sensors to a JTAG chain. @@ -90,24 +89,22 @@ and thus on the efficiency of the sensor. \label{fig:m26lines} \end{figure} -\subsection{The front-end electronics (draft!)} -\label{sec:front-end_electronics} -\subsubsection{The front-end board(draft!)} +\subsection{Front-end electronics(1): The front-end board} \label{sec:front-end_board} -The front-end board serves mainly as an adaptor between the sensor FPC, to which the MIMOSA26 chip is -bonded, and the converter board. The front-end board possesses decoupling capacitors to filter off +The front-end board is the PCB deployed closest to the sensors. +It serves mainly as an adaptor between the sensor FPC (to which the MIMOSA26 chips are +bonded) and the \hyperref[sec:converter_board]{converter board}. The front-end board possesses decoupling capacitors to filter off fluctuations in the supply voltages. It also provides some circuitry to generate the clamping voltage -for the sensor or buffer a clamping voltage generated on the -\hyperref[sec:converter_board]{converter board}. -\subsubsection{The converter board(draft!)} +for the sensor or buffer a clamping voltage generated on the converter board. +\subsection{Front-end electronics(2): The converter board} \label{sec:converter_board} The converter board is the main front-end electronics component. It is intended to electrically accommodate up to two sensors and it provides a means to monitor the sensor's electrical behaviour. The converter board consists of the following circuits: -\begin{description} -\item[Power supplies] +% \begin{description} +\subsubsection{Power supplies} \label{sec:Power_supplies} % \paragraph{Power supplies} For each of the two sensors, the converter board provides a power supply for the analog supply voltage @@ -136,9 +133,12 @@ Short/discharge output of analog power supply for sensor 1 \item[DisD1] Short/discharge output of digital power supply for sensor 1 \end{description} -\item[ADC] +\subsubsection{ADC} \label{sec:ADC} -% \paragraph{ADC} + + + + The converter board possesses two 16 bit ADCs and adjacent amplifier and multiplexer circuits to monitor the following observables for each of the two sensors: \begin{description} @@ -158,20 +158,29 @@ The voltage drop on the ground line between sensor and converter board (measured The voltage drop on a forward biased diode on the silicon bulk of the MIMOSA26 chip. The voltage shows a negative temperature dependence (the lower the voltage drop, the warmer the chip). \item[VDiscRef2A-VDiscRef2D] +\begin{figure}[H] +\centering +\includegraphics[width=1\textwidth]{dacmatrix.pdf} +\caption{Simplified schema of the discriminator threshold DACs and their respective +test outputs inside MIMOSA26} +\label{fig:dacmatrix} +\end{figure} The voltages on the VDISCREF2 outputs of the sensor. These are test outputs to review the baseline voltages of the discriminator circuit, which are set via a JTAG controllable DAC\footnote{JTAG register "DAC\_BIAS", field "IVDREF2"}. There are four individual test outputs, since the baseline voltage is actively buffered for each quarter of the sensor and each buffer introduces -a different voltage offset. -The DAC range is \SIrange{0}{2.7}{\volt} according to the datasheet. +a different voltage offset (see figure \ref{fig:dacmatrix}). +The DAC range is \SIrange{1}{1.5}{\volt} according to the datasheet\cite{m26_manual} +but was actually measured to be \SIrange{0}{2.7}{\volt} in the lab. \item[VDiscRefA-VDiscRefD] The voltages on the discriminator reference voltage outputs, measured relative to their respective baseline. The readings of these channels directly show the discriminator threshold voltages that are generated by four individual DACs\footnote{JTAG register "DAC\_BIAS", fields "IVDREF1A-IVDREF1D"} inside the chip. The DAC range is \SIrange{-32}{32}{\milli\volt} according to the datasheet. -For these input channels the converter board has a measuring range from \SIrange{-39.9}{39.9}{\volt}. +For these input channels the converter board has a measuring input range from +\SIrange{-39.9}{39.9}{\volt}. \item[ZeroSingle] Calibration offset that has to be subtracted from VDiscRef2A-VDiscRef2D to reduce systematic uncertainty introduced by the multiplexer and amplifier circuitry. @@ -179,16 +188,33 @@ uncertainty introduced by the multiplexer and amplifier circuitry. Calibration offset that has to be subtracted from VDiscRefA-VDiscRefD to reduce systematic uncertainty introduced by the multiplexer and amplifier circuitry. \end{description} -\item[Latch-up detection circuit] +\subsubsection{Latch-up detection circuit} \label{sec:Latch-up_detection_circuit} + + +\begin{figure}[H] +\centering +\includegraphics[width=.6\textwidth]{latchup_prot.pdf} +\caption{Simplified schema of the latch-up detection circuit} +\label{fig:latch-up_detection} +\end{figure} + + + % \paragraph{Latch-up detection circuit} Each power supply unit has a shunt plus a high side current mirror in order to measure the voltage drop on the shunt that is proportional to the output current. This voltage drop is not only measured by the ADC section, but also monitored by an analog comparator. The comparator also receives a reference voltage from a programmable on-board DAC. If the output current exceeds a certain threshold, depending on the DAC setting, a fast digital signal -is generated by the comparator indicating an overcurrent situation. -\item[Programmable DAC] +is generated by the comparator indicating an overcurrent situation +(see figure \ref{fig:latch-up_detection}). +These signals are forwarded to the FPGA with the +\hyperref[sec:CbController]{converter board controller} entity. +The FPGA can then decide whether to disable the power supply or not. +?? A reaction mechanism is not yet implemented ?? + +\subsubsection{Programmable DAC} \label{sec:Programmable_DAC} % \paragraph{Programmable DAC} On the converter board there is one programmable eight channel digital to analog converter (DAC). @@ -210,7 +236,7 @@ Sensor 1 clamping voltage The clamping voltage outputs of the DAC is only connected to the sensors if the proper jumpers/solder bridges are closed. % \paragraph{Signal switches} -\item[Signal switches] +\subsubsection{Signal switches} \label{sec:Signal_switches} The converter board provides semiconductor switches to enable/disable the sensor control signals and to enable/bypass JTAG for each sensor. @@ -228,7 +254,7 @@ Enable JTAG communication for sensor 1 if this signal is 1. Bypass sensor 1 in J signal is 0. \end{description} % \paragraph{Microcontroller} -\item[Microcontroller] +\subsubsection{Microcontroller} \label{sec:Microcontroller} The converter board is equipped with an STM32F103RC microcontroller. Its processor core is an ARM 32-bit Cortex™-M3 CPU which is operated at a clock rate of @@ -261,10 +287,17 @@ The microcontroller's DMA\footnote{Direct memory access} controller is programme the SPI transmission of the gathered data, while the main processor can devote itself to the acquisition of the next ADC values. +The microcontroller is a general purpose device and has to be programmed with a custom firmware +in order to perform the above tasks. +The firmware is written in C and compiled via a cross compiler. The resulting executable binary +file is written to the microcontroller's flash memory by using an +SWD\footnote{Serial wire debug, a serial debug and programming interface developed by ST +Microeletronics} +programmer. -% - general purpose device, custom firmware, written in C +% - ?? why the microcontroller - to save lines - should I write that? -\item[Signal buffers and signal converters] +\subsubsection{Signal buffers and signal converters} All signals between the converter board and the TRB3 are exchanged via LVDS lines to use the most stable transmission technique. After all this connection is the longest distance in the set-up that needs to be bridged by copper cables. @@ -298,7 +331,7 @@ in order to be monitored by the CbController FPGA entity. % \item[Flat cable connector] -\end{description} +% \end{description} diff --git a/mvdsensorcontrol/latchup_prot.pdf b/mvdsensorcontrol/latchup_prot.pdf new file mode 100644 index 0000000..277a8aa Binary files /dev/null and b/mvdsensorcontrol/latchup_prot.pdf differ diff --git a/mvdsensorcontrol/remarks.tex b/mvdsensorcontrol/remarks.tex index 940b4a9..ea41559 100644 --- a/mvdsensorcontrol/remarks.tex +++ b/mvdsensorcontrol/remarks.tex @@ -36,7 +36,12 @@ Front-end board ?? Elaborate on the elements of the config XML file. \item Elaborate on the microcontroller -> FPGA register synchronization -procedure, maybe in a separate section? +procedure, maybe in a separate section? (communication between microcontroller and FPGA, +definition of register set) +\item +Elaborate on the toolchain for the STM +\item +In the daqsetup, integrate the JAN-pic of the setup ( the corel pic). \hyperref[sec:Microcontroller]{sec:Microcontroller} \end{itemize}