Skip to content

Commit 5aab8c8

Browse files
committed
Dula Slope ADC diagrams
1 parent 51cd2e9 commit 5aab8c8

File tree

1 file changed

+79
-2
lines changed

1 file changed

+79
-2
lines changed

misc/pdm.tex

+79-2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@
111111
\pgfusepath{draw}
112112
}
113113
}
114+
% \ctikzset{tripoles/op amp/width/.initial=.8}
115+
% \pgfcircdeclarebipole{}{\ctikzvalof{bipoles/op amp/width}}{opamp}{\ctikzvalof{bipoles/op amp/width}}{
116+
% \pgf@circ@res@step = \ctikzvalof{bipoles/op amp/width}\pgf@circ@Rlen
117+
% \pgf@circ@mid@left = \pgf@circ@res@left
118+
% \pgf@circ@mid@right = \pgf@circ@res@right
119+
% \pgf@circ@mid@up = \pgf@circ@res@up
120+
% \pgf@circ@mid@down = \pgf@circ@res@down
121+
% \pgfpathmoveto{\pgfpoint{\pgf@circ@mid@left}{\pgf@circ@mid@up}}
122+
% \pgfpathlineto{\pgfpoint{\pgf@circ@mid@right}{\pgf@circ@mid@up}}
123+
% \pgfpathmoveto{\pgfpoint{\pgf@circ@mid@left}{\pgf@circ@mid@down}}
124+
% \pgfpathlineto{\pgfpoint{\pgf@circ@mid@right}{\pgf@circ@mid@down}}
125+
% \pgfusepath{draw}
126+
% }
114127
\makeatother
115128

116129
\geometry{
@@ -179,6 +192,14 @@
179192
urldate = {2024-03-30}
180193
}
181194

195+
@misc{vid:dsadc,
196+
author = {IFE - TU Graz},
197+
year = {2021},
198+
title = {{Analog-to-Digital Converters (ADC) - Dual Slope and Charge-Balancing ADC}},
199+
url = "https://youtu.be/f-6shAZL4Ak",
200+
urldate = {2024-03-04}
201+
}
202+
182203
@misc{vid:odsm,
183204
author = {Carsten Wulff},
184205
year = {2024},
@@ -364,7 +385,7 @@ \subsection{Delta-Sigma Modulator}
364385
\draw (fbb) to[short] (fbb-| add) to[short] (add.south) node[inputarrow, rotate=90]{};
365386
\end{circuitikz}
366387
\caption{A high-order DSM.}
367-
\label{fig:fig:hodsm}
388+
\label{fig:hodsm}
368389
\end{figure}
369390

370391
Figure \ref{fig:cb_adc} shows a simple charge balance ADC circuit. Where
@@ -398,9 +419,10 @@ \subsection{Delta-Sigma Modulator}
398419
to[short, -o] ++(1.5,0) node[above]{$D_{out}$}
399420

400421
% ADC
401-
(OUT) -- (CA-| OUT) node[spdt, yscale=-1] (sw) {}
422+
(CA-| OUT) node[spdt, yscale=-1] (sw) {}
402423
(sw.out 1) -- ++(1,0) -- ++(0,-0.5) node[rground]{}
403424
(sw.out 2) -- ++(0.5,0) node[right] {$V_{ref}$}
425+
(sw) ++(0,-0.5) to[short] (OUT)
404426

405427
% Resistor
406428
(CA) to[short] (CA-| OA.out) to[R=$R$] (sw.in);
@@ -512,6 +534,61 @@ \subsection{Delta-Sigma Modulator}
512534
\label{fig:nsm_fd_g}
513535
\end{figure}
514536

537+
Dual Slope ADC.\cite{vid:dsadc}
538+
539+
\begin{figure}[H]
540+
\begin{subfigure}[t]{1\textwidth}
541+
\centering
542+
\begin{circuitikz}[scale=0.64, transform shape]
543+
\ctikzset{european resistors};
544+
\ctikzset{bipoles/cuteswitch/thickness=0.25}
545+
\draw (0,0) node[op amp](int){};
546+
% Input
547+
\draw (int.-) to[short, -*] ++(-0.5,0) coordinate(in-);
548+
\draw (int.+) to[short] ++(-0.5,0)
549+
to[short] ++(0,-1) coordinate(g1) node[ground]{};
550+
\draw (in-) ++(-2.5,0)
551+
to[short, -*] ++(-1,0) coordinate(rin);
552+
\draw (rin) to[R=$R$] (in-);
553+
\draw (rin) to[short] ++(0,1) to[short] ++(-0.5,0)
554+
node[cuteopenswitchshape, anchor=out](s2){}
555+
(s2.in) to[short,-o] ++(-0.64,0) node[left]{$V_{in}$};
556+
\draw (rin) to[short] ++(0,-1) to[short] ++(-0.5,0)
557+
node[cuteopenswitchshape, anchor=out](s3){}
558+
(s3.in) to[short,-o] ++(-0.64,0) node[left]{$-V_{ref}$};
559+
% Output OpAmp1
560+
\draw (int.out) to[short,-*] ++(0.5,0) coordinate(intout);
561+
\draw (in-) to[short,-*] ++(0,1.5) coordinate(top);
562+
\draw (top) to[C=$C$] (top-| intout) coordinate(ctoout)
563+
to[short] (intout);
564+
\draw (top) to[short] ++(0,1.75) coordinate(tops1)
565+
to[cute open switch, n=s1] (tops1-| intout)
566+
to[short, -*] (ctoout)
567+
(s1.mid) ++(0,0.16) node[above]{$S1$};
568+
% Input OpAmp2
569+
\draw (intout) to[short] ++(0.5,0)
570+
node[op amp, noinv input up, anchor=+](in2){};
571+
\draw (in2.-) to[short] ++(-0.5,0) coordinate(g2) to[short] (g2|- g1) node[ground]{};
572+
\draw (in2.out) to[short] ++(0.5,0) coordinate(in2out);
573+
\draw (in2out) node[draw, minimum width=2cm, minimum height=1.5cm, anchor=west](cl) {\parbox{1.5cm}{\centering Control Logic}};
574+
\draw (cl.north) to[short] ++(0,1) node[above]{CLK};
575+
\draw (cl.east) to[short] ++(1,0) node[right]{$D_{out}$};
576+
\end{circuitikz}
577+
\caption{Simplify Schematic of Dual Slope Converter}
578+
\end{subfigure}
579+
\begin{subfigure}[t]{1\textwidth}
580+
\centering
581+
\begin{circuitikz}[scale=1, transform shape]
582+
% Axis
583+
\draw (0,0) -- (10,0) node[inputarrow] {} node[anchor=north west] {$t$};
584+
\draw (0,-0.25) -- (0,4) node[inputarrow, rotate=90] {} node[anchor=south east] {$\mathrm{V}$};
585+
\end{circuitikz}
586+
\caption{Dual Slope Charge Diagram}
587+
\end{subfigure}
588+
\caption{Dual Slope ADC}
589+
\label{fig:dsint}
590+
\end{figure}
591+
515592
\newpage
516593
\printbibliography
517594
\end{document}

0 commit comments

Comments
 (0)