From f0558f594323be5103e76ed362481dc8fa4085ee Mon Sep 17 00:00:00 2001 From: Cahit Date: Wed, 14 Aug 2013 16:36:09 +0200 Subject: [PATCH] corrections --- 2013-nomeTDC-ugur-fpga_tdc/NoMeTDC_Ugur.tex | 241 ++++++++++---------- 1 file changed, 117 insertions(+), 124 deletions(-) diff --git a/2013-nomeTDC-ugur-fpga_tdc/NoMeTDC_Ugur.tex b/2013-nomeTDC-ugur-fpga_tdc/NoMeTDC_Ugur.tex index 805bf73..ca8d92a 100755 --- a/2013-nomeTDC-ugur-fpga_tdc/NoMeTDC_Ugur.tex +++ b/2013-nomeTDC-ugur-fpga_tdc/NoMeTDC_Ugur.tex @@ -421,10 +421,10 @@ presented. The TDC applies the interpolation method for time measurements. The precision of the TDC is increased with the Wave Union Launcher method. In order to overcome the minimum pulse width limitation a semi-asynchronous pulse stretcher is implemented which has been verified to allow a measurement of a -pulse width $<500~ps$. The TDC has the typical precision of $7.2~ps$ RMS -($14~ps$ RMS on the worst channel) on a single channel. Also the 264 Channel -TDC Platform - TDC Readout Board, TRB3 - applying the described TDC is -presented in the paper. +pulse width $<500~ps$. The TDC has a typical precision of $7.2~ps$ RMS +($14~ps$ RMS on the worst channel) on a single channel. Additionally, the 264 +Channel TDC Platform, TDC Readout Board (TRB3), is presented in the paper +applying the described TDC. \end{abstract} % IEEEtran.cls defaults to using nonbold math in the Abstract. @@ -454,28 +454,27 @@ presented in the paper. \section{Introduction} One of the application areas, where Time to Digital Converters (TDCs) are widely used, is in particle physics experiments. These experiments constantly -demand higher rates and more precise time measurements, therefore the compelling +demand higher rates and more precise time measurements, therefore compelling constant development on the TDCs. Among many TDC architectures FPGA based TDCs -gained more and moree importance in recent years, due to their high -performance, higher flexibility to adapt to special neeeds of the +gained more and more importance in recent years, due to their high +performance, higher flexibility to adapt to the special needs of the application and reduced development time compared to ASIC TDCs. The review of the time interval measurement methods is given and discussed in -detail in \cite{kalisz_review}. Many TDC designs based on delay lines are -implemented in the recent years and precisions between $5~ps$ and $60~ps$ are -achieved\cite{tdl1, tdl2, tdl3, tdl4}. +detail in \cite{kalisz_review}. Many TDC designs based on delay lines have +been implemented in recent years and precisions between $5~ps$ and $60~ps$ +have been achieved\cite{tdl1, tdl2, tdl3, tdl4}. \section{TDC Architecture} The TDC architecture is based on the interpolation method, as a long measurement range with high precision is needed. In order to achieve a high -precision a fine time interpolator based on tapped delay line method (TDL) -with a wave union launcher \cite{wu_wul} is used. \replaced[id=MT]{The coarse counter - ($5~ns$ period) and an epoch counter ($10~us$ period) complete the time - measurement with a total range up to seconds.}{For the long measurement - range a double interpolation of coarse counter and an epoch counter is - applied.} All these time information are written to a ring buffer as -illustrated in \autoref{fig:tdc_arch}. +precision a fine time interpolator based on the tapped delay line method (TDL) +with a wave union launcher \cite{wu_wul} is used. The coarse counter ($5~ns$ +period) and the epoch counter ($\sim10~us$ period) complete the time +measurement with a total range up to $\sim45$ minutes. All these time +measurements are written to a ring buffer as illustrated in +\autoref{fig:tdc_arch}. \begin{figure}[!t] \centering @@ -487,19 +486,19 @@ illustrated in \autoref{fig:tdc_arch}. \subsection{Fine Time Interpolator} -For the fine time a interpolator TDL method is implemented \autoref{fig:tdl}, -as the architectures of the modern FPGAs are well suited for the method. This -method \replaced[id=MT]{utilizes}{applies} the intrinsic delays of the delay +For the fine time interpolator the TDL method is implemented +(\autoref{fig:tdl}), as the architectures of the modern FPGAs are well suited +for this method. This method utilises the intrinsic delays of the delay elements for time measurements. While the start signal propagates through the delay elements along the delay line, the rising edge of the stop signal, which has a minimal skew (in theory $0~s$), samples the state of the delay -line. With the location of the start signal and the intrinsic delay of a -single delay element the time between the start and the stop signals can be -calculated. As the intrinsic delay of the delay elements effects the bin width -of the fine time interpolator, the shorter the intrinsic delay is, the higher -the precision will be. Therefore we \replaced[id=MT]{make use of}{apply} the -carry chain lines in the FPGA, which are dedicated for fast arithmetic -operations and have logic elements with very small intrinsic delays. +line. With the location of the start signal on the delay line and the +intrinsic delay of a single delay element the time between the start and the +stop signals can be calculated. The intrinsic delays of the delay elements +affect the bin width of the fine time interpolator. The shorter the intrinsic +delay, the higher the precision. Therefore we make use of the carry chain +lines in the FPGA, which are dedicated for fast arithmetic operations and have +logic elements with very small intrinsic delays. \begin{figure}[!t] \centering @@ -513,26 +512,25 @@ precision is induced by the skewness of the stop signal arrival time at the clock inputs of the flip-flops. This skewness should be minimal in order to keep the fine time interpolator bins at a similar width and reduce the non-linearity. Hence the reason we use the clock signal as the stop signal, -for the reason that, it is distributed over the clock -\replaced[id=MT]{distribution network}{lines}, which are engineered by the -FPGA developers to keep the clock skewness at minimum. +for the reason that, it is distributed over the clock distribution network, +which is engineered by the FPGA developers to keep the clock skewness at a +minimum. \subsection{Coarse Time Interpolator} -The coarse time interpolator \replaced{consists of}{employs} a coarse counter -and an epoch counter, which are \deleted{respectively} 11-bits and 28-bits -long\added{, respectively}. The coarse counter is triggered by the system +The coarse time interpolator consists of a coarse counter +and an epoch counter, which are 11-bits and 28-bits +long respectively. The coarse counter is triggered by the system clock, whereas the epoch counter is driven by the coarse counter overflow and together they increase the measurement range up to $\sim45~minutes$. The coarse counter information is written to the ring buffer for each hit signal, -however in order to decrease the \replaced[id=MT]{transported amount of - data}{the excessive bits in the data stream} the epoch counter information -is recorded \replaced{only}{, if and only} if the coarse counter overflow occurs. +however in order to decrease the transported amount of data the epoch counter +information is recorded only if the coarse counter overflow occurs. Using the Nutt method \cite{nutt} the total time information of a hit signal and the time interval between two hit signals on different channels -(\autoref{fig:hitTime}) is calculated as in \autoref{eq:tDiff}. Please note +(\autoref{fig:hitTime}) is calculated as in \autoref{eq:tDiff}. Note that the fine time interpolator is a backward counter. \begin{equation} @@ -553,13 +551,13 @@ that the fine time interpolator is a backward counter. Induced by the non-ideal topology of the FPGA architecture and non-uniform parasitic reactances \cite{pelka_nonlinearity} the intrinsic delays along the carry chain are not uniform. This non-uniformity dramatically decreases the -sensitivity of the TDL, if the TDL is latched, while the hit signal is -propagating through an ultra wide bin (UWB). Suggested by \cite{wu_wul}, the +sensitivity of the TDL, if the TDL is latched, while the hit signal propagates +through an ultra wide bin (UWB). Suggested by \cite{wu_wul}, the sensitivity of the TDL can be increased by applying the Wave Union Launcher (WUL) method. Using the two transition WUL the maximum bin width is decreased -to $35~ps$ from $45~ps$ \added[id=MT]{What about the mean bin - width?}(\autoref{fig:bin_wid}). The effect of the WUL on the time precision -is shown in \autoref{sec:results}. +to $35~ps$ from $45~ps$, whereas the average bin width is reduced to +$\sim10~ps$ from $\sim20~ps$ (\autoref{fig:bin_wid}). The effect of the WUL on +the time precision is shown in \autoref{sec:results}. \begin{figure*}[!t] \centerline{\subfloat[Traditional TDL method.]{\includegraphics[width=2.5in]{bin_wid_sing}% @@ -572,18 +570,18 @@ is shown in \autoref{sec:results}. \label{fig:bin_wid} \end{figure*} -In order to \replaced{inject}{induce} two transitions into the TDL the hit +In order to induce two transitions into the TDL the hit signal is split in the FPGA. The delay lines between the split and the TDL -must have \deleted{the} similar delays. Otherwise, either the first transition -might overtake the second one and destroy the transition pattern in the TDL or -the second transition might take off much earlier than the first one and -\added[id=MT]{generate an} over flow \added{of} the TDL for some hits. At this +must have similar delays. Otherwise, either the first transition +may overtake the second one and destroy the transition pattern in the TDL or +the second transition may take off much earlier than the first one and +generate an over flow of the TDL for some hits. At this point very careful placement and routing in the FPGA comes into the equation. \subsection{Semi-asynchronous Stretcher for Minimum Pulse Width Limitation} Some detectors used in particle physics experiments - e.g. Microchannel Plate -(MCP) Detectors used for \replaced{single photon}{electron} detection - can +(MCP) Detectors used for single photon detection - can generate pulses as short as $1~ns$. These short signals cannot be measured by the traditional TDL based TDCs. In the traditional TDL based TDC concept the state of the start signal has to be preserved until the rising edge of the @@ -593,7 +591,7 @@ logic high state until the rising edge of the next clock cycle. In order to guarantee this condition the width of the hit signal must be longer than the period of the clock. -In our work a semi-asynchronous pulse stretcher is designed to extend the +In our work, a semi-asynchronous pulse stretcher is designed to extend the length of the hit signals more than one clock period. The demonstration of the stretcher is shown in \autoref{fig:stretcher}. The short pulse from the detector is connected to the clock input of the D-flipflop and with the rising @@ -631,7 +629,7 @@ In order to overcome the non-linearity issue, we use the code density test random hit signals (not correlated with the clock) over the measurement interval of the fine time interpolator (\textit{$P$}) (in our case $5~ns$) are used to generate a histogram. Knowing the number of the hits in each bin -(\textit{$H_n$}) it is possible to calculate the bin width +(\textit{$H_n$}) it is possible to calculate each bin width (\textit{$BW_n$})\cite{wu_wul}: \begin{equation} @@ -658,23 +656,18 @@ in \autoref{sec:results}. \label{sec:results} Several tests were carried out in order to determine the quality and the -limitations of the TDC designed. Some of these tests are the precision, mean, -minimum pulse width, dead time, calibration and temperature test. +limitations of the TDC designed. These tests include the precision, mean, +minimum pulse width, dead time, calibration and temperature tests. -In order to test the precision \deleted{quality} of the TDC a LVDS pulse from -a pulse generator was split using an LVDS splitter ($max9153$ $1~ps$ random -jitter\cite{max}) and fed to two different channels of the TDC through a +In order to test the precision of the TDC a LVDS pulse from +a pulse generator was split using a LVDS splitter ($max9153$ $1~ps$ random +jitter\cite{max}) and fed to two different channels of the TDC through coaxial cables. At least $300\thinspace000$ measurements were collected at stable environmental conditions for the offline calibration stage. The time interval between the rising edges of the signals was calculated as explained -in \autoref{eq:tDiff} for the set of data and filled into a histogram. The +in \autoref{eq:tDiff} for a set of data and entered into a histogram. The time precision was measured by calculating the root mean square (RMS) of the -peak without \added{applying} any \replaced[id=MT]{cuts}{curve fittings}. - -\replaced[id=MT]{This is well known and should be ommited}{ -Please note that the RMS values in the time difference histograms are the -errors of the two channels and one should divide the value with $\sqrt{2}$ in -order to find the time precision of a single channel.} +peak without applying any curve fittings. The precision measurements were repeated for the designs with and without the WUL and the results are given in \autoref{fig:precision}. The time @@ -692,11 +685,11 @@ divide the UWBs by performing two measurements in one channel. \label{fig:precision} \end{figure*} -The measured mean time of the TDC is also tested. For this test, as due to the +The measured mean time of the TDC is also tested. For this test, due to the unknown delays of the hit signals on the PCB and in the FPGA, the change in the mean time was measured. The change in the mean time was created by extending the -cable length of one of the hit signals by certain amount. In other words one -of the hits signals is shifted by a known amount of time relative to the other +cable length of one of the hit signals by a certain amount. In other words, one +of the hit signals is shifted by a known amount of time relative to the other one. Sets of measurements for $3~cm$, $6~cm$ and $9~cm$ were done and the results are shown in \autoref{fig:mean} with the original length. @@ -716,12 +709,12 @@ Sets of measurements were carried out in order to verify the semi-asynchronous stretcher concept and to find out the minimum pulse width, which can be measured. The pulses were generated by setting a high threshold level of the NB4N316M discriminator at the output of the LeCroy 9212 Pulse Generator. The -shortest pulse, that could be generated with this setup has a pulse width of +shortest pulse that could be generated with this setup had a pulse width of $\sim500~ps$. In order to measure the width of the short pulse the pulse was -sent to the FPGA, internally split and fed to two channels, one of which has -an inverter at the input. In other words the rising and falling edges of the -pulse are measured on two channels. The difference between these two channels -is filled in a histogram after calibration. +sent to the FPGA, internally split and fed to two channels, one of which had +an inverter at the input. In other words, the rising and falling edges of the +pulse were measured on two channels. The difference between these two channels +was recorded in a histogram after calibration. In \autoref{fig:shortpulse} it can be seen, that the mean of the peak is at $519~ps$, which gives the width of the pulse. Also the measured error is not @@ -739,18 +732,18 @@ For dead time measurements two pulses were generated in burst mode and the readout of the TDC was triggered using a Tektronix Arbitrary Waveform Generator (AWG7122C). The time interval between the leading edges of the two pulses were adjusted with the AWG during the measurements and the number of hits per event -was analysed. For the time gaps, dead time, $15~ns