Skip to content

Commit 107695e

Browse files
author
Pratchaya Khansomboon
committed
dsp/pdm: Include conversion logical diagram
1 parent 8af00cc commit 107695e

File tree

1 file changed

+70
-2
lines changed

1 file changed

+70
-2
lines changed

dsp/pdm.tex

+70-2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,25 @@
113113
\pgfusepath{draw}
114114
}
115115
}
116+
\pgfdeclareshape{decimation}{
117+
\inheritsavedanchors[from=rectangle]
118+
\inheritanchorborder[from=rectangle]
119+
\inheritanchor[from=rectangle]{center}
120+
\anchor{left}{\pgfpoint{-0.5cm}{0.0cm}}
121+
\anchor{right}{\pgfpoint{0.5cm}{0.0cm}}
122+
\anchor{top}{\pgfpoint{0.0cm}{0.5cm}}
123+
\anchor{bot}{\pgfpoint{0.0cm}{-0.5cm}}
124+
\backgroundpath{
125+
\pgfsetlinewidth{0.8pt}
126+
\pgfpathrectanglecorners{\pgfpoint{-0.5cm}{-0.5cm}}{\pgfpoint{0.5cm}{0.5cm}}
127+
\pgfpathmoveto{\pgfpoint{-0.25cm}{0.25cm}}
128+
\pgfpathlineto{\pgfpoint{-0.25cm}{-0.25cm}}
129+
\pgfpathmoveto{\pgfpoint{-0.30cm}{-0.185cm}}
130+
\pgfpathlineto{\pgfpoint{-0.25cm}{-0.25cm}}
131+
\pgfpathlineto{\pgfpoint{-0.20cm}{-0.185cm}}
132+
\pgfusepath{draw}
133+
}
134+
}
116135
% \ctikzset{tripoles/op amp/width/.initial=.8}
117136
% \pgfcircdeclarebipole{}{\ctikzvalof{bipoles/op amp/width}}{opamp}{\ctikzvalof{bipoles/op amp/width}}{
118137
% \pgf@circ@res@step = \ctikzvalof{bipoles/op amp/width}\pgf@circ@Rlen
@@ -212,8 +231,8 @@
212231

213232
@article{article:dsm,
214233
author={Razavi, Behzad},
215-
journal={IEEE Solid-State Circuits Magazine},
216-
title={The Delta-Sigma Modulator [A Circuit for All Seasons]},
234+
journal={IEEE Solid-State Circuits Magazine},
235+
title={The Delta-Sigma Modulator [A Circuit for All Seasons]},
217236
year={2016},
218237
volume={8},
219238
number={2},
@@ -591,6 +610,55 @@ \subsection{Delta-Sigma Modulator}
591610
\label{fig:dsint}
592611
\end{figure}
593612

613+
\begin{figure}[H]
614+
\centering
615+
\begin{circuitikz}[scale=1, transform shape]
616+
\draw (0,0) coordinate(origin) to[short, -o] ++(-1, 0) node[left]{$V_{in}$};
617+
\draw (origin) node[inputarrow]{} node[dflowpass, anchor=left](alp){};
618+
\draw (alp.right) to[short] ++(1,0) node[inputarrow]{} node[adder, anchor=left](sum){};
619+
\draw (sum.left) ++(-0.25,0) node[above]{$+$}; % +
620+
\draw (sum.south) ++(0,-0.25) node[left]{$-$}; % -
621+
\draw (sum.right) to[short] ++(1,0) node[inputarrow]{} node[twoportshape, anchor=left, t=$\int$](sigma){};
622+
\draw (sigma.right) to[short] ++(1,0) node[inputarrow]{} node[quantizer, anchor=left](quant){};
623+
\draw (quant.right) to[short, -*] ++(1,0) coordinate(quantsplit) to[short] ++(1,0) node[inputarrow]{} node[right]{$D_{out}$};
624+
\draw (quantsplit) to[short] ++(0,-1.5) coordinate(qsbot) to[short] (qsbot-| sum) coordinate(fb);
625+
\draw (fb) to[short] (sum.south) node[inputarrow, rotate=90]{};
626+
% \draw (quant.top) ++(0,0.5) coordinate(clkpos) to[short] (quant.top) node[inputarrow, rotate=-90]{}
627+
% (clkpos) node[right]{\tiny CLK};
628+
% Text Labels
629+
\draw (alp) ++(0,1.25) node[above]{\parbox{2cm}{\centering\scriptsize Analog Lowpass filter}};
630+
\draw (sum) ++(0,1.25) node[above]{\parbox{2cm}{\centering\Large $\Delta$}};
631+
\draw (sigma) ++(0,1.25) node[above]{\parbox{2cm}{\centering\Large $\Sigma$}};
632+
\draw (quant) ++(0,1.25) node[above]{\parbox{1.5cm}{\centering\scriptsize 1-bit Quantizer}};
633+
\draw (fb) node[left]{$V_{f}$};
634+
\end{circuitikz}
635+
\caption{Simplified Logical Steps Converting Analog to PDM Digital Signal using DSM.}
636+
\label{fig:adcpdm}
637+
\end{figure}
638+
639+
\begin{figure}[H]
640+
\centering
641+
\begin{circuitikz}[scale=1, transform shape]
642+
\draw (0,0) coordinate(origin) to[short, -o] ++(-1, 0) node[left]{$D_{in}$};
643+
\draw (origin) node[inputarrow]{} node[dflowpass, anchor=left](dlp){};
644+
\draw (dlp.right) to[short] ++(1,0) node[inputarrow]{}
645+
node[decimation, anchor=left](deci){} (deci.center) ++(0.08cm,0) node[]{M};
646+
\draw (deci.right) to[short] ++(1,0) node[inputarrow]{}
647+
node[dfhighpass, anchor=left](dhp){};
648+
\draw (dhp.right) to[short] ++(1,0) node[inputarrow]{}
649+
node[twoportshape, anchor=left, t={x}](gain){};
650+
\draw (gain.right) to[short] ++(1,0) node[inputarrow]{}
651+
node[right]{\small PCM};
652+
% Text Labels
653+
\draw (dlp) ++(0, 1) node[above]{\parbox{2cm}{\centering\scriptsize Digital Lowpass filter}};
654+
\draw (deci) ++(0, 1) node[above]{\parbox{2cm}{\centering\scriptsize Decimation}};
655+
\draw (dhp) ++(0, 1) node[above]{\parbox{2cm}{\centering\scriptsize Digital Highpass filter}};
656+
\draw (gain) ++(0, 1) node[above]{\parbox{2cm}{\centering\scriptsize Gain}};
657+
\end{circuitikz}
658+
\caption{Simplified Logical Steps Converting PDM Digital Signal to Analog Signal.}
659+
\label{fig:pdm2pcm}
660+
\end{figure}
661+
594662
\newpage
595663
\printbibliography
596664
\end{document}

0 commit comments

Comments
 (0)