Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TDC core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
TDC core
Commits
cd898888
Commit
cd898888
authored
Aug 12, 2011
by
Sebastien Bourdeauducq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Calibration formulas
parent
3fb9966d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
Makefile
doc/Makefile
+1
-0
tdc.tex
doc/tdc.tex
+26
-1
No files found.
doc/Makefile
View file @
cd898888
TEX
=
tdc.tex
PDF
=
$
(
TEX:.tex
=
.pdf
)
AUX
=
$
(
TEX:.tex
=
.aux
)
LOG
=
$
(
TEX:.tex
=
.log
)
...
...
doc/tdc.tex
View file @
cd898888
...
...
@@ -18,6 +18,31 @@
\setlength
{
\parskip
}{
5pt
}
\maketitle
{}
\section
{
Specifications
}
TODO
\section
{
Calibration mechanism
}
In the formulas below:
\begin{itemize}
\item
$
T
_{
sys
}$
is the system clock period.
\item
$
H
(
n
)
$
is the number of hits in the histogram for bin
$
n
$
.
\item
$
W
(
n
)
$
is the width of bin
$
n
$
.
\item
$
C
=
\displaystyle\sum\limits
_{
n
}
H
(
n
)
$
is the total number of hits in the histogram.
\item
$
R
(
n
)
$
is the time stamp of an event whose signal propagated up to bin
$
n
$
. The LUT contains the function
$
R
$
.
\item
$
f
$
(respectively
$
f
_{
0
}$
) is the current (respectively reference) frequency of the online calibration ring oscillator.
\end{itemize}
\subsection
{
Offline calibration
}
\begin{equation}
W
_{
0
}
(n) =
\frac
{
H(n)
}{
C
}
\cdot
T
_{
sys
}
\end{equation}
\begin{equation}
R
_{
0
}
(n) =
\displaystyle\sum\limits
_{
i=0
}^{
n
}{
W
_{
0
}
(i)
}
=
\frac
{
T
_{
sys
}}{
C
}
\cdot
\displaystyle\sum\limits
_{
i=0
}^{
n
}{
H(i)
}
\end{equation}
\subsection
{
Online calibration
}
\begin{equation}
R(n) =
\frac
{
f
_{
0
}}{
f
}
\cdot
R
_{
0
}
(n)
\end{equation}
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment