| 1 |
%% $Id: pst-circ-doc.tex 210 2021-09-10 07:52:09Z herbert $ |
| 2 |
\RequirePackage{pdfmanagement-testphase} |
| 3 |
\DeclareDocumentMetadata{} |
| 4 |
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, |
| 5 |
headinclude=false,footinclude=false,twoside,english]{pst-doc} |
| 6 |
\usepackage{amsmath,siunitx} |
| 7 |
\usepackage{pst-circ} |
| 8 |
\let\pstCircFV\fileversion |
| 9 |
|
| 10 |
\addbibresource{\jobname.bib} |
| 11 |
\DeclareSIUnit\dbm{dBm} %% Définition du dBm |
| 12 |
\lstset{explpreset={pos=l,wide=false,rframe=},language=PSTricks, |
| 13 |
morekeywords={multidipole,parallel},basicstyle=\footnotesize\ttfamily} |
| 14 |
% |
| 15 |
\newcommand\CircPackage{\LPack{pst-circ}} |
| 16 |
\makeatletter |
| 17 |
\renewenvironment{description} |
| 18 |
{\list{}{\labelwidth\z@ \itemindent-\leftmargin |
| 19 |
\itemsep0pt \parsep0pt |
| 20 |
\let\makelabel\descriptionlabel}} |
| 21 |
{\endlist} |
| 22 |
\makeatother |
| 23 |
|
| 24 |
\def\bgImage{\resizebox{0.75\linewidth}{!}{% |
| 25 |
\begin{pspicture}(1,2)(19,9) |
| 26 |
\pnode(2,8){A} \antenna{90}(A) |
| 27 |
\rput(4,8){\rnode{B}{\psframebox{\begin{tabular}{c}Ferrite\\Switch\end{tabular}}}} |
| 28 |
\ncline{A}{B} |
| 29 |
%%% Branche Calibration |
| 30 |
\pnode(4,6){C} \pnode(4,4){D} \pnode(5,5){E} |
| 31 |
\circulator[tripolestyle=isolator,tripoleconfig=right]{90}(C)(D)(E){Isolator}{} |
| 32 |
\ncline{B}{C} |
| 33 |
\pnode(3,3){F} \pnode(5,3){G} |
| 34 |
\resistor[unit=0.5,dipolestyle=zigzag,variable=true](F)(G){} |
| 35 |
\pnode(4,3){H} |
| 36 |
\ncline{D}{H} |
| 37 |
\rput[t](4,2.75){% |
| 38 |
\begin{tabular}{c} |
| 39 |
Hot and Cold\\ |
| 40 |
loads for calibration |
| 41 |
\end{tabular}} |
| 42 |
%%% Branche reception |
| 43 |
\pnode(6,8){R1} \pnode(8,8){R2} \pnode(7,7){X1} |
| 44 |
\circulator[tripolestyle=isolator,tripoleconfig=right]{180}(R1)(R2)(X1){Isolator}{} |
| 45 |
\ncline{B}{R1} |
| 46 |
\pnode(10,8){R3} \pnode(9,7){X2} |
| 47 |
\mixer[inputarrow,fillcolor=blue,fillstyle=solid, labeloffset=0.8](R2)(R3)(X2){Mixer}{} |
| 48 |
\pnode(9,6){X3} |
| 49 |
\oscillator[output=top](X3){LO}{} |
| 50 |
\pnode(12,8){R4} |
| 51 |
\ncline{R3}{R4} |
| 52 |
\naput{0.5~GHZ} |
| 53 |
\pnode(14,8){R5} |
| 54 |
\filter[labeloffset=0.8](R4)(R5){BPF}% |
| 55 |
\pnode(16,8){R6} |
| 56 |
\amplifier[inputarrow=true,fillcolor=red,fillstyle=solid, labeloffset=0.8](R5)(R6){IF~Amp} |
| 57 |
\pnode(18,8){R7} |
| 58 |
\detector[inputarrow=true, labeloffset=0.8](R6)(R7){Detector} |
| 59 |
\pnode(18,4){R8} |
| 60 |
\amplifier[inputarrow=true,labeloffset=-1](R7)(R8){Amp} |
| 61 |
\pscircle[fillstyle=solid,fillcolor=white](18,4){0.1} |
| 62 |
\rput[t](18,3.9){% |
| 63 |
\begin{tabular}{c} |
| 64 |
Output\\ |
| 65 |
for processing |
| 66 |
\end{tabular}} |
| 67 |
\end{pspicture}} |
| 68 |
} |
| 69 |
\lstset{preset={\centering},vsep=5mm} |
| 70 |
|
| 71 |
|
| 72 |
\begin{document} |
| 73 |
|
| 74 |
\title{\texttt{pst-circ}} |
| 75 |
\subtitle{A PSTricks package for drawing electric circuits; v.\pstCircFV} |
| 76 |
\author{%Christoph Jorssen \\ |
| 77 |
Herbert Vo\ss} |
| 78 |
%\docauthor{Herbert Vo\ss} |
| 79 |
\date{\today} |
| 80 |
\settitle |
| 81 |
|
| 82 |
\tableofcontents |
| 83 |
|
| 84 |
|
| 85 |
\begin{abstract} |
| 86 |
\noindent |
| 87 |
The package \LPack{pst-circ} is a collection of graphical elements based |
| 88 |
on PStricks that can be used to facilitate display of electronic |
| 89 |
circuit elements. For example, an equivalent circuit of a voltage |
| 90 |
source, its source impedance, and a connected load can easily be |
| 91 |
constructed along with arrows indicating current flow and potential |
| 92 |
differences. The emphasis is upon the circuit elements and the |
| 93 |
details of the exact placement are hidden as much as possible so the |
| 94 |
author can focus on the circuitry without the distraction of sorting |
| 95 |
out the underlying vector graphics. |
| 96 |
|
| 97 |
\LPack{pst-circ} loads by default the following packages: \LPack{pst-node}, |
| 98 |
\LPack{multido}, \LPack{pst-xkey}, and, of course \LPack{pstricks}. |
| 99 |
All should be already part of your local \TeX\ installation. If not, or in case |
| 100 |
of having older versions, go to \url{http://www.CTAN.org/} and load the newest version. |
| 101 |
|
| 102 |
\vfill\noindent |
| 103 |
\raggedright |
| 104 |
\begin{sloppypar} |
| 105 |
Thanks to: \\ |
| 106 |
\mbox{Rafal Bartczuk}, |
| 107 |
\mbox{Christoph Bersch}, |
| 108 |
\mbox{Fran\c{c}ois Boone}, |
| 109 |
\mbox{Vincent Breton}, |
| 110 |
\mbox{Jean-C\^ome Charpentier}, |
| 111 |
\mbox{Patrick Drechsler}, |
| 112 |
\mbox{Amit Finkler}, |
| 113 |
\mbox{Felix Gottwald}, |
| 114 |
\mbox{Markus Graube}, |
| 115 |
\mbox{Henning Heinze}, |
| 116 |
\mbox{Christophe Jorssen}, |
| 117 |
\mbox{Jochen Ketter}, |
| 118 |
\mbox{Bernd Landwehr}, |
| 119 |
\mbox{Michael Lauterbach}, |
| 120 |
\mbox{Manuel Luque}, |
| 121 |
\mbox{Steven P. McPherson}, |
| 122 |
\mbox{Patrice Mégret}, |
| 123 |
\mbox{Ted Pavlic}, |
| 124 |
\mbox{Alan Ristow}, |
| 125 |
\mbox{Uwe Siart}, |
| 126 |
\mbox{Carlos Marcelo de Oliveira Stein}, |
| 127 |
\mbox{Pierre Vivegnis}, |
| 128 |
\mbox{Douglas Waud}, |
| 129 |
\mbox{Richard Weissnar}, and |
| 130 |
\mbox{Felix Wienker}. |
| 131 |
\end{sloppypar} |
| 132 |
\end{abstract} |
| 133 |
|
| 134 |
\clearpage |
| 135 |
|
| 136 |
\section{The basic system} |
| 137 |
|
| 138 |
\subsection{Parameters} |
| 139 |
|
| 140 |
There are specific parameters defined to change easily the behaviour of the \LPack{pst-circ} |
| 141 |
objects you are drawing. You'll find a list in Section~\ref{sec:para} on p.~\pageref{sec:para}. |
| 142 |
|
| 143 |
\iffalse |
| 144 |
\begin{longtable}{@{}>{\ttfamily}l l l@{}} |
| 145 |
\textrm{\emph{name}} & \emph{type} & \emph{default}\\\hline |
| 146 |
\endhead |
| 147 |
\Lkeyword{intensity} & boolean & \emph{false} \\ |
| 148 |
\Lkeyword{intensitylabel} & string & \emph{ } \\ |
| 149 |
\Lkeyword{intensitylabeloffset} & dimension & \emph{ 0.5} \\ |
| 150 |
\Lkeyword{intensitycolor} & color & \emph{ black} \\ |
| 151 |
\Lkeyword{intensitylabelcolor} & color & \emph{ black} \\ |
| 152 |
\Lkeyword{intensitywidth} & dimension & \emph{ \texttt{\Lcs{pslinewidth}}} \\ |
| 153 |
\Lkeyword{tension} & boolean & \emph{ false} \\ |
| 154 |
\Lkeyword{tensionstyle} & string& \emph{line} \\ |
| 155 |
\Lkeyword{tensionlabel} & string & \emph{ } \\ |
| 156 |
\Lkeyword{tensionoffset} & dimension & \emph{ 1} \\ |
| 157 |
\Lkeyword{tensionlabeloffset} & dimension & \emph{ 1.2} \\ |
| 158 |
\Lkeyword{tensioncolor} & color & \emph{ black} \\ |
| 159 |
\Lkeyword{tensionlabelcolor} & color & \emph{ black} \\ |
| 160 |
\Lkeyword{tensionwidth} & dimension & \emph{ \texttt{\Lcs{pslinewidth}}} \\ |
| 161 |
\Lkeyword{labeloffset} & dimension & \emph{ 0.7} \\ |
| 162 |
\Lkeyword{labelangle} & label angle & \emph{ 0} \\ |
| 163 |
\Lkeyword{labelInside} & integer & \emph{ 0} \\ |
| 164 |
\Lkeyword{dipoleconvention} & & \emph{ receptor} \\ |
| 165 |
\Lkeyword{directconvetion} & boolean & \emph{ true} \\ |
| 166 |
\Lkeyword{dipolestyle} & string & \emph{ normal} \\ |
| 167 |
\Lkeyword{variable} & boolean & \emph{ false} \\ |
| 168 |
\Lkeyword{parallel} & boolean & \emph{ false} \\ |
| 169 |
\Lkeyword{parallelarm} & dimension & \emph{ 1.5} \\ |
| 170 |
\Lkeyword{parallelsep} & real & \emph{ 0} \\ |
| 171 |
\Lkeyword{parallelnode} & boolean & \emph{ false} \\ |
| 172 |
\Lkeyword{intersect} & boolean & \emph{ false} \\ |
| 173 |
\Lkeyword{intersectA} & node & \\ |
| 174 |
\Lkeyword{intersectB} & node & \\ |
| 175 |
\Lkeyword{OAinvert} & boolean & \emph{ true} \\ |
| 176 |
\Lkeyword{OAperfect} & boolean & \emph{ true} \\ |
| 177 |
\Lkeyword{OAiplus} & boolean & \emph{ false} \\ |
| 178 |
\Lkeyword{OAiminus} & boolean & \emph{ false} \\ |
| 179 |
\Lkeyword{OAiout} & boolean & \emph{ false} \\ |
| 180 |
\Lkeyword{OAipluslabel} & string & \emph{ } \\ |
| 181 |
\Lkeyword{OAiminuslabel} & string & \emph{ } \\ |
| 182 |
\Lkeyword{OAioutlabel} & string & \emph{ } \\ |
| 183 |
\Lkeyword{transistorcircle} & boolean & \emph{ true} \\ |
| 184 |
\Lkeyword{transistorinvert} & boolean & \emph{ false} \\ |
| 185 |
\Lkeyword{transistoribase} & boolean & \emph{ false} \\ |
| 186 |
\Lkeyword{transistoricollector} & boolean & \emph{ false} \\ |
| 187 |
\Lkeyword{transistoriemitter} & boolean & \emph{ false} \\ |
| 188 |
\Lkeyword{transistoribaselabel} & string & \emph{ } \\ |
| 189 |
\Lkeyword{transistoricollectorlabel} & string & \emph{ } \\ |
| 190 |
\Lkeyword{transistoriemitterlabel} & string & \emph{ } \\ |
| 191 |
\Lkeyword{TRot} & angle & \emph{ 0} \\ |
| 192 |
\Lkeyword{edge} & macro & \emph{ \texttt{\textbackslash ncangles}} \\ |
| 193 |
\Lkeyword{transistortype} & string & \emph{ NPN} \\ |
| 194 |
\Lkeyword{FETchanneltype} & string & \emph{ N} \\ |
| 195 |
\Lkeyword{FETmemory} & boolean & \emph{ false} \\ |
| 196 |
\Lkeyword{primarylabel} & string & \emph{ } \\ |
| 197 |
\Lkeyword{secondarylabel} & string & \emph{ } \\ |
| 198 |
\Lkeyword{transformeriprimary} & boolean & \emph{ false} \\ |
| 199 |
\Lkeyword{transformerisecondary} & boolean & \emph{ false} \\ |
| 200 |
\Lkeyword{transformeriprimarylabel} & string & \emph{ } \\ |
| 201 |
\Lkeyword{transformerisecondarylabel} & string & \emph{ } \\ |
| 202 |
\Lkeyword{tripolestyle} & string & \emph{ normal} |
| 203 |
\end{longtable} |
| 204 |
\fi |
| 205 |
|
| 206 |
\subsection{Macros} |
| 207 |
|
| 208 |
|
| 209 |
\bigskip |
| 210 |
\subsubsection{Wire} |
| 211 |
|
| 212 |
\xLcs{wire} |
| 213 |
\begin{LTXexample}[width=3.5cm] |
| 214 |
\begin{pspicture}(3,2) |
| 215 |
\pnodes(0,1){A}(3,1){B}\wire(A)(B) |
| 216 |
\pnodes(0,0){A}(3,0){B}\wire[arrows=o-*](A)(B) |
| 217 |
\end{pspicture} |
| 218 |
\end{LTXexample} |
| 219 |
|
| 220 |
\bigskip |
| 221 |
\subsubsection{Potential} |
| 222 |
|
| 223 |
\xLcs{tension} |
| 224 |
\begin{LTXexample}[width=3.5cm] |
| 225 |
\begin{pspicture}(3,2) |
| 226 |
\pnodes(0,1){A}(3,1){B} |
| 227 |
\tension(A)(B){$u$} |
| 228 |
\end{pspicture} |
| 229 |
\end{LTXexample} |
| 230 |
|
| 231 |
\bigskip |
| 232 |
\subsubsection{Ground} |
| 233 |
|
| 234 |
\xLcs{ground} |
| 235 |
\begin{LTXexample}[width=3.5cm] |
| 236 |
\begin{pspicture}(3,2) |
| 237 |
\pnodes(0.5,1){A}(1,1){B}(2.5,1){C} |
| 238 |
\ground(A) |
| 239 |
\ground{135}(B) |
| 240 |
\ground[linecolor=blue]{180}(C) |
| 241 |
\end{pspicture} |
| 242 |
\end{LTXexample} |
| 243 |
|
| 244 |
\bigskip |
| 245 |
\subsubsection{Dipole macros} |
| 246 |
\xLcs{resistor} |
| 247 |
\begin{LTXexample}[width=3.5cm] |
| 248 |
\begin{pspicture}[showgrid=true](3,2) |
| 249 |
\pnodes(0,1){A}(3,1){B} |
| 250 |
\resistor(A)(B){$R$} |
| 251 |
\end{pspicture} |
| 252 |
\end{LTXexample} |
| 253 |
|
| 254 |
\xLcs{RFLine} |
| 255 |
\begin{LTXexample}[width=3.5cm] |
| 256 |
\begin{pspicture}[showgrid=true](3,2) |
| 257 |
\pnodes(0,1){A}(3,1){B} |
| 258 |
\RFLine(A)(B){R} |
| 259 |
\end{pspicture} |
| 260 |
\end{LTXexample} |
| 261 |
|
| 262 |
\xLcs{capacitor} |
| 263 |
\begin{LTXexample}[width=3.5cm] |
| 264 |
\begin{pspicture}[showgrid=true](3,2) |
| 265 |
\pnodes(0,1){A}(3,1){B} |
| 266 |
\capacitor(A)(B){$C$} |
| 267 |
\end{pspicture} |
| 268 |
\end{LTXexample} |
| 269 |
|
| 270 |
\xLcs{battery} |
| 271 |
\begin{LTXexample}[width=3.5cm] |
| 272 |
\begin{pspicture}(3,2) |
| 273 |
\pnodes(0,1){A}(3,1){B} |
| 274 |
\battery(A)(B){$E$} |
| 275 |
\end{pspicture} |
| 276 |
\end{LTXexample} |
| 277 |
|
| 278 |
\xLcs{coil} |
| 279 |
\begin{LTXexample}[width=3.5cm] |
| 280 |
\begin{pspicture}(3,2) |
| 281 |
\pnodes(0,1){A}(3,1){B} |
| 282 |
\coil(A)(B){$L$} |
| 283 |
\end{pspicture} |
| 284 |
\end{LTXexample} |
| 285 |
|
| 286 |
\xLcs{Ucc} |
| 287 |
\begin{LTXexample}[width=3.5cm] |
| 288 |
\begin{pspicture}(3,2) |
| 289 |
\pnodes(0,1){A}(3,1){B} |
| 290 |
\Ucc[dipolestyle=normal](A)(B){$E$} |
| 291 |
\end{pspicture} |
| 292 |
\end{LTXexample} |
| 293 |
|
| 294 |
\begin{LTXexample}[width=3.5cm] |
| 295 |
\begin{pspicture}(3,2) |
| 296 |
\pnodes(0,1){A}(3,1){B} |
| 297 |
\Ucc[dipolestyle=diamond](A)(B){$E$} |
| 298 |
\end{pspicture} |
| 299 |
\end{LTXexample} |
| 300 |
|
| 301 |
\begin{LTXexample}[width=3.5cm] |
| 302 |
\begin{pspicture}(3,2) |
| 303 |
\pnodes(0,1){A}(3,1){B} |
| 304 |
\Ucc[dipolestyle=normalCei](A)(B){$E$} |
| 305 |
\end{pspicture} |
| 306 |
\end{LTXexample} |
| 307 |
|
| 308 |
\begin{LTXexample}[width=3.5cm] |
| 309 |
\begin{pspicture}(3,2) |
| 310 |
\pnodes(0,1){A}(3,1){B} |
| 311 |
\Ucc[dipolestyle=diamondCei](A)(B){$E$} |
| 312 |
\end{pspicture} |
| 313 |
\end{LTXexample} |
| 314 |
|
| 315 |
|
| 316 |
\xLcs{Icc} |
| 317 |
\begin{LTXexample}[width=3.5cm] |
| 318 |
\begin{pspicture}(3,2) |
| 319 |
\pnodes(0,1){A}(3,1){B} |
| 320 |
\Icc[dipolestyle=normal](A)(B){$\eta$} |
| 321 |
\end{pspicture} |
| 322 |
\end{LTXexample} |
| 323 |
|
| 324 |
\begin{LTXexample}[width=3.5cm] |
| 325 |
\begin{pspicture}(3,2) |
| 326 |
\pnodes(0,1){A}(3,1){B} |
| 327 |
\Icc[dipolestyle=twoCircles](A)(B){$\eta$} |
| 328 |
\end{pspicture} |
| 329 |
\end{LTXexample} |
| 330 |
|
| 331 |
\begin{LTXexample}[width=3.5cm] |
| 332 |
\begin{pspicture}(3,2) |
| 333 |
\pnodes(0,1){A}(3,1){B} |
| 334 |
\Icc[dipolestyle=diamond](A)(B){$\eta$} |
| 335 |
\end{pspicture} |
| 336 |
\end{LTXexample} |
| 337 |
|
| 338 |
|
| 339 |
|
| 340 |
|
| 341 |
|
| 342 |
|
| 343 |
|
| 344 |
\xLcs{switch} |
| 345 |
\begin{LTXexample}[width=3.5cm] |
| 346 |
\begin{pspicture}(3,2) |
| 347 |
\pnodes(0,1){A}(3,1){B} |
| 348 |
\switch(A)(B){$K$} |
| 349 |
\end{pspicture} |
| 350 |
\end{LTXexample} |
| 351 |
|
| 352 |
\begin{LTXexample}[width=3.5cm] |
| 353 |
\begin{pspicture}(3,2) |
| 354 |
\pnodes(0,1){A}(3,1){B} |
| 355 |
\switch[dipolestyle=close](A)(B){$K$} |
| 356 |
\end{pspicture} |
| 357 |
\end{LTXexample} |
| 358 |
|
| 359 |
\xLcs{arrowswitch} |
| 360 |
\begin{LTXexample}[width=3.5cm] |
| 361 |
\begin{pspicture}(3,2) |
| 362 |
\pnodes(0,1){A}(3,1){B} |
| 363 |
\arrowswitch(A)(B){$K$} |
| 364 |
\end{pspicture} |
| 365 |
\end{LTXexample} |
| 366 |
|
| 367 |
\begin{LTXexample}[width=3.5cm] |
| 368 |
\begin{pspicture}(3,2) |
| 369 |
\pnodes(0,1){A}(3,1){B} |
| 370 |
\arrowswitch[dipolestyle=close](A)(B){$K$} |
| 371 |
\end{pspicture} |
| 372 |
\end{LTXexample} |
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
\xLcs{diode} |
| 377 |
\begin{LTXexample}[width=3.5cm] |
| 378 |
\begin{pspicture}(3,2) |
| 379 |
\pnodes(0,1){A}(3,1){B} |
| 380 |
\diode(A)(B){$D$} |
| 381 |
\end{pspicture} |
| 382 |
\end{LTXexample} |
| 383 |
|
| 384 |
\xLcs{Zener} |
| 385 |
\begin{LTXexample}[width=3.5cm] |
| 386 |
\begin{pspicture}(3,2) |
| 387 |
\pnodes(0,1){A}(3,1){B} |
| 388 |
\Zener(A)(B){$D$} |
| 389 |
\end{pspicture} |
| 390 |
\end{LTXexample} |
| 391 |
|
| 392 |
\xLcs{lamp} |
| 393 |
\begin{LTXexample}[width=3.5cm] |
| 394 |
\begin{pspicture}(3,2) |
| 395 |
\pnodes(0,1){A}(3,1){B} |
| 396 |
\lamp(A)(B){$\mathcal L$} |
| 397 |
\end{pspicture} |
| 398 |
\end{LTXexample} |
| 399 |
|
| 400 |
\xLcs{circledipole} |
| 401 |
\begin{LTXexample}[width=3.5cm] |
| 402 |
\begin{pspicture}(3,2) |
| 403 |
\pnodes(0,1){A}(3,1){B} |
| 404 |
\circledipole(A)(B){$\mathcal G$} |
| 405 |
\end{pspicture} |
| 406 |
\end{LTXexample} |
| 407 |
|
| 408 |
\xLkeyword{labeloffset} |
| 409 |
\begin{LTXexample}[width=3.5cm] |
| 410 |
\begin{pspicture}(3,2) |
| 411 |
\pnodes(0,1){A}(3,1){B} |
| 412 |
\circledipole[labeloffset=0](A)(B){\Large\textbf{A}} |
| 413 |
\end{pspicture} |
| 414 |
\end{LTXexample} |
| 415 |
|
| 416 |
\xLcs{LED} |
| 417 |
\begin{LTXexample}[width=3.5cm] |
| 418 |
\begin{pspicture}(3,2) |
| 419 |
\pnodes(0,1){A}(3,1){B} |
| 420 |
\LED(A)(B){$\mathcal D$} |
| 421 |
\end{pspicture} |
| 422 |
\end{LTXexample} |
| 423 |
|
| 424 |
\begin{LTXexample}[width=3.5cm] |
| 425 |
\begin{pspicture}(3,2) |
| 426 |
\pnodes(0,1){A}(3,1){B} |
| 427 |
\SQUID(A)(B){S} |
| 428 |
\end{pspicture} |
| 429 |
\end{LTXexample} |
| 430 |
|
| 431 |
\xLcs{RelayNOP} |
| 432 |
\begin{LTXexample}[width=3.5cm] |
| 433 |
\begin{pspicture}(3,3) |
| 434 |
\pnodes(0,0){A}(3,0){B}%Relay normally open |
| 435 |
\RelayNOP[labeloffset=1.6](A)(B){RelayNOP} |
| 436 |
\end{pspicture} |
| 437 |
\end{LTXexample} |
| 438 |
|
| 439 |
\xLcs{Suppressor} |
| 440 |
\begin{LTXexample}[width=3.5cm] |
| 441 |
\begin{pspicture}(3,2) |
| 442 |
\pnodes(0,1){A}(3,1){B}% Suppressor (Diode) |
| 443 |
\Suppressor[labeloffset=0.5](A)(B){Supressor} |
| 444 |
\end{pspicture} |
| 445 |
\end{LTXexample} |
| 446 |
|
| 447 |
\xLcs{Arrestor} |
| 448 |
\begin{LTXexample}[width=3.5cm] |
| 449 |
\begin{pspicture}(3,2) |
| 450 |
\pnodes(0,1){A}(3,1){B} |
| 451 |
% Arrestor (Lightning protection) |
| 452 |
\Arrestor(A)(B){Arrestor} |
| 453 |
\end{pspicture} |
| 454 |
\end{LTXexample} |
| 455 |
|
| 456 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 457 |
\begin{pspicture}(3,2) |
| 458 |
\pnode(0,1){A} \pnode(3,1){B} |
| 459 |
\cell[labeloffset=1cm](A)(B){Cell} |
| 460 |
\end{pspicture} |
| 461 |
\end{LTXexample} |
| 462 |
|
| 463 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 464 |
\begin{pspicture}(3,2) |
| 465 |
\pnode(0,1){A} \pnode(3,1){B} |
| 466 |
\igbt[labeloffset=0.7cm, IGBTinvert=false](A)(B){IGBT} |
| 467 |
\end{pspicture} |
| 468 |
\end{LTXexample} |
| 469 |
|
| 470 |
|
| 471 |
\bigskip |
| 472 |
\subsubsection{Tripole macros} |
| 473 |
|
| 474 |
Obviously, \Index{tripole}s are not node connections. So \LPack{pst-circ} tries its best to adjust the |
| 475 |
position of the tripole regarding the three nodes. Internally, the connections are done by the |
| 476 |
\Lcs{ncangle} pst-node macro. However, the auto-positionning and the auto-connections are not always |
| 477 |
well chosen, so don't try to use tripole macros in strange situations! |
| 478 |
|
| 479 |
|
| 480 |
\xLcs{OA} |
| 481 |
\begin{LTXexample}[width=5.5cm] |
| 482 |
\begin{pspicture}(5,2) |
| 483 |
\pnodes(0,0){A}(0,2){B}(5,1){C} |
| 484 |
\OA(B)(A)(C) |
| 485 |
\end{pspicture} |
| 486 |
\end{LTXexample} |
| 487 |
|
| 488 |
\xLkeyword{OApower} |
| 489 |
\begin{LTXexample}[width=5.5cm] |
| 490 |
\begin{pspicture}(5,2) |
| 491 |
\pnodes(0,0){A}(0,2){B}(5,1){C} |
| 492 |
\OA[OApower=true](B)(A)(C) |
| 493 |
\end{pspicture} |
| 494 |
\end{LTXexample} |
| 495 |
|
| 496 |
\xLcs{GM} |
| 497 |
\begin{LTXexample}[width=5.5cm] |
| 498 |
\begin{pspicture}(5,2) |
| 499 |
\pnodes(0,0){A}(0,2){B}(5,1){C} |
| 500 |
\GM[GMperfect=true](B)(A)(C) |
| 501 |
\end{pspicture} |
| 502 |
\end{LTXexample} |
| 503 |
|
| 504 |
\xLkeyword{GMpower} |
| 505 |
\begin{LTXexample}[width=5.5cm] |
| 506 |
\begin{pspicture}(5,2) |
| 507 |
\pnodes(0,0){A}(0,2){B}(5,1){C} |
| 508 |
\GM[GMpower=true](B)(A)(C) |
| 509 |
\end{pspicture} |
| 510 |
\end{LTXexample} |
| 511 |
|
| 512 |
\xLcs{Tswitch} |
| 513 |
\begin{LTXexample}[width=5.5cm] |
| 514 |
\begin{pspicture}(5,2) |
| 515 |
\pnodes(0,2){A}(5,2){B}(0,0){C} |
| 516 |
\Tswitch(A)(B)(C){$K$} |
| 517 |
\end{pspicture} |
| 518 |
\end{LTXexample} |
| 519 |
|
| 520 |
\xLcs{potentiometer} |
| 521 |
\begin{LTXexample}[width=5.5cm] |
| 522 |
\begin{pspicture}(3,3) |
| 523 |
\pnodes(0,1){A}(3,1){B}(3,2.25){C} |
| 524 |
\potentiometer[labeloffset=0pt](A)(B)(C){$P$} |
| 525 |
\end{pspicture} |
| 526 |
\end{LTXexample} |
| 527 |
|
| 528 |
\bigskip |
| 529 |
There are many types of transistors included : NPN, PNP, JFET (N and P channels), D-MOSFET (N and P channels), FET (E-MOSFET N and P channels), NMOS, PMOS and IGBT. It's the macro \Lcs{transistortype} (and options \Lcs{FETchanneltype} and \Lcs{DMOSFET}) that determines which transistor will be drawn. |
| 530 |
|
| 531 |
\xLcs{transistor} |
| 532 |
\begin{LTXexample}[width=5.5cm] |
| 533 |
\begin{pspicture}(0,0)(2,2) |
| 534 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 535 |
\transistor[basesep=0.5cm](A)(B)(C) |
| 536 |
\end{pspicture} |
| 537 |
\end{LTXexample} |
| 538 |
|
| 539 |
\xLkeyset{transistortype=PNP} |
| 540 |
\begin{LTXexample}[width=5.5cm] |
| 541 |
\begin{pspicture}(0,0)(2,2) |
| 542 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 543 |
\transistor[basesep=0.5cm, transistortype=PNP](A)(B)(C) |
| 544 |
\end{pspicture} |
| 545 |
\end{LTXexample} |
| 546 |
|
| 547 |
\xLcs{transistorFET} |
| 548 |
\begin{LTXexample}[width=5.5cm] |
| 549 |
\begin{pspicture}(0,0)(2,2) |
| 550 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 551 |
\transistor[basesep=0.35cm, transistortype=FET](A)(B)(C) |
| 552 |
\end{pspicture} |
| 553 |
\end{LTXexample} |
| 554 |
|
| 555 |
\xLcs{transistorFET} |
| 556 |
\begin{LTXexample}[width=5.5cm] |
| 557 |
\begin{pspicture}(0,0)(2,2) |
| 558 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 559 |
\transistor[basesep=0.35cm, transistortype=FET, FETchanneltype=P](A)(B)(C) |
| 560 |
\end{pspicture} |
| 561 |
\end{LTXexample} |
| 562 |
|
| 563 |
\xLcs{transistorFET} |
| 564 |
\begin{LTXexample}[width=5.5cm] |
| 565 |
\begin{pspicture}(0,0)(2,2) |
| 566 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 567 |
\transistor[basesep=0.35cm, transistortype=FET, DMOSFET=true](A)(B)(C) |
| 568 |
\end{pspicture} |
| 569 |
\end{LTXexample} |
| 570 |
|
| 571 |
\xLcs{transistorFET} |
| 572 |
\begin{LTXexample}[width=5.5cm] |
| 573 |
\begin{pspicture}(0,0)(2,2) |
| 574 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 575 |
\transistor[basesep=0.35cm, transistortype=FET, FETchanneltype=P, DMOSFET=true](A)(B)(C) |
| 576 |
\end{pspicture} |
| 577 |
\end{LTXexample} |
| 578 |
|
| 579 |
\xLcs{transistorNMOS} |
| 580 |
\begin{LTXexample}[width=5.5cm] |
| 581 |
\begin{pspicture}(0,0)(2,2) |
| 582 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 583 |
\transistor[basesep=0.35cm, transistortype=NMOS](A)(B)(C) |
| 584 |
\end{pspicture} |
| 585 |
\end{LTXexample} |
| 586 |
|
| 587 |
\xLcs{transistorPMOS} |
| 588 |
\begin{LTXexample}[width=5.5cm] |
| 589 |
\begin{pspicture}(0,0)(2,2) |
| 590 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 591 |
\transistor[basesep=0.35cm, transistortype=PMOS](A)(B)(C) |
| 592 |
\end{pspicture} |
| 593 |
\end{LTXexample} |
| 594 |
|
| 595 |
\xLcs{transistorJFET} |
| 596 |
\begin{LTXexample}[width=5.5cm] |
| 597 |
\begin{pspicture}(0,0)(2,2) |
| 598 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 599 |
\transistor[basesep=0.35cm, transistortype=JFET](A)(B)(C) |
| 600 |
\end{pspicture} |
| 601 |
\end{LTXexample} |
| 602 |
|
| 603 |
\xLcs{transistorJFET} |
| 604 |
\begin{LTXexample}[width=5.5cm] |
| 605 |
\begin{pspicture}(0,0)(2,2) |
| 606 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 607 |
\transistor[basesep=0.35cm, transistortype=JFET, FETchanneltype=P](A)(B)(C) |
| 608 |
\end{pspicture} |
| 609 |
\end{LTXexample} |
| 610 |
|
| 611 |
\xLcs{transistorIGBT} |
| 612 |
\begin{LTXexample}[width=5.5cm] |
| 613 |
\begin{pspicture}(0,0)(2,2) |
| 614 |
\pnodes(0,1){A}(1,0){B}(1,2){C} |
| 615 |
\transistor[basesep=0.35cm, transistortype=IGBT](A)(B)(C) |
| 616 |
\end{pspicture} |
| 617 |
\end{LTXexample} |
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
\xLcs{transistor}\xLkeyword{TRot} |
| 626 |
\begin{LTXexample}[width=5.5cm] |
| 627 |
\begin{pspicture}[showgrid](3,3.5) |
| 628 |
\pnodes(3,2){A}(0,1){B}(0,3){C} |
| 629 |
\transistor[TRot=180](A)(B)(C) |
| 630 |
\end{pspicture} |
| 631 |
\end{LTXexample} |
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
|
| 636 |
\xLkeyword{TRot} |
| 637 |
\begin{LTXexample}[width=5.5cm] |
| 638 |
\begin{pspicture}[showgrid=true](5,5) |
| 639 |
\pnode(1,3){b} |
| 640 |
\transistor[TRot=90](b){emitter}{collector} |
| 641 |
\transistor[TRot=45](4,4){emitter}{collector} |
| 642 |
\transistor[TRot=180](1,1){emitter}{collector} |
| 643 |
\transistor[TRot=180,transistorinvert=true]% |
| 644 |
(4,1){emitter}{collector} |
| 645 |
\end{pspicture} |
| 646 |
\end{LTXexample} |
| 647 |
|
| 648 |
\xLkeyword{basesep}\xLkeyword{arrows} |
| 649 |
\begin{LTXexample}[width=5.5cm] |
| 650 |
\begin{pspicture}(5,3) |
| 651 |
\pnodes(0,1.5){A}(5,0){B}(5,3){C} |
| 652 |
\transistor[basesep=2cm,arrows=o-o](A)(B)(C) |
| 653 |
\end{pspicture} |
| 654 |
\end{LTXexample} |
| 655 |
|
| 656 |
\xLkeyword{basesep}\xLkeyword{transistoriemitter} |
| 657 |
\begin{LTXexample}[width=5.5cm] |
| 658 |
\begin{pspicture}(3,4) |
| 659 |
\pnode(0,2){A}\pnode(3,0.5){B} |
| 660 |
\pnode(3,3.5){C} |
| 661 |
\transistor[transistoriemitter=true, |
| 662 |
basesep=1cm](A)(B)(C) |
| 663 |
\end{pspicture} |
| 664 |
\end{LTXexample} |
| 665 |
|
| 666 |
\xLkeyword{basesep}\xLkeyword{transistorinvert} |
| 667 |
\begin{LTXexample}[width=5.5cm] |
| 668 |
\begin{pspicture}(3,3.5) |
| 669 |
\pnode(0,2){A}\pnode(3,1){B} |
| 670 |
\pnode(3,3){C} |
| 671 |
\transistor[transistorinvert, |
| 672 |
basesep=1cm,transistorcircle=false](A)(B)(C) |
| 673 |
\end{pspicture} |
| 674 |
\end{LTXexample} |
| 675 |
|
| 676 |
\xLkeyset{transistortype=PNP} |
| 677 |
\xLkeyword{basesep}\xLnotation{Emitter}\xLkeyword{nodesep}\xLnotation{Collector} |
| 678 |
\begin{LTXexample}[width=5.5cm] |
| 679 |
\begin{pspicture}(5,3) |
| 680 |
\pnode(0,1.5){A}\psset{linewidth=1pt} |
| 681 |
\transistor[transistortype=PNP,basesep=2cm, |
| 682 |
arrows=o-o](A){Emitter}{Collector} |
| 683 |
\psline{o-}(5,3)(3,3)(3,3|Collector)(Collector) |
| 684 |
\psline{o-}(5,0)(3,0)(3,3|Emitter)(Emitter) |
| 685 |
\psline{o-}(A)([nodesep=2]A) |
| 686 |
\end{pspicture} |
| 687 |
\end{LTXexample} |
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
|
| 692 |
|
| 693 |
|
| 694 |
|
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
\clearpage |
| 699 |
\subsubsection{Quadrupole macros} |
| 700 |
|
| 701 |
\xLcs{quadripole} |
| 702 |
\begin{LTXexample}[width=5.5cm] |
| 703 |
\begin{pspicture}(5,3) |
| 704 |
\pnodes(0,2.5){A}(0,0.5){B}% |
| 705 |
(4,2.5){C}(4,0.5){D} |
| 706 |
\quadripole(A)(B)(C)(D){Text} |
| 707 |
\end{pspicture} |
| 708 |
\end{LTXexample} |
| 709 |
|
| 710 |
\xLcs{transformer} |
| 711 |
\begin{LTXexample}[width=5.5cm] |
| 712 |
\begin{pspicture}(5,5) |
| 713 |
\pnodes(0,5){A}(0,0){B}% |
| 714 |
(5,5){C}(5,0){D} |
| 715 |
\transformer(A)(B)(C)(D){$\mathcal T$} |
| 716 |
\end{pspicture} |
| 717 |
\end{LTXexample} |
| 718 |
|
| 719 |
|
| 720 |
\xLcs{newtransformer} |
| 721 |
\begin{LTXexample}[width=5.5cm] |
| 722 |
\begin{pspicture}(3,2) |
| 723 |
\pnodes(0,1){A}(3,1){B} |
| 724 |
\newtransformer(A)(B){$\mathcal T$} |
| 725 |
\end{pspicture} |
| 726 |
\end{LTXexample} |
| 727 |
|
| 728 |
|
| 729 |
\xLcs{newtransformerquad} |
| 730 |
\begin{LTXexample}[width=5.5cm] |
| 731 |
\begin{pspicture}(5,3) |
| 732 |
\pnodes(0,3){A}(0,0){B}% |
| 733 |
(5,3){C}(5,0){D} |
| 734 |
\newtransformerquad(A)(B)(C)(D)% |
| 735 |
{$\mathcal T$} |
| 736 |
\end{pspicture} |
| 737 |
\end{LTXexample} |
| 738 |
|
| 739 |
\xLcs{optoCoupler} |
| 740 |
\begin{LTXexample}[width=5.5cm] |
| 741 |
\begin{pspicture}(5,3) |
| 742 |
\pnodes(0,2.5){A}(0,0.5){B}% |
| 743 |
(4,2.5){C}(4,0.5){D} |
| 744 |
\optoCoupler(A)(B)(C)(D){$OC$} |
| 745 |
\end{pspicture} |
| 746 |
\end{LTXexample} |
| 747 |
|
| 748 |
|
| 749 |
|
| 750 |
|
| 751 |
\subsubsection{Multidipole} |
| 752 |
|
| 753 |
\Lcs{multidipole} is a macro that allows multiple dipoles to be drawn between two specified nodes. |
| 754 |
\Lcs{multidipole} takes as many arguments as you want. Note the \rnode{Dot}{dot} that is |
| 755 |
after the last dipole. |
| 756 |
|
| 757 |
\bigskip |
| 758 |
\xLcs{diode}\xLcs{resistor}\xLcs{caoacitor} |
| 759 |
\begin{minipage}{7cm} |
| 760 |
\begin{pspicture}(7,7) |
| 761 |
\pnodes(0,0){A}(7,7){B} |
| 762 |
\multidipole(A)(B)\resistor{$R$}% |
| 763 |
\capacitor[linecolor=red]{$C$}% |
| 764 |
\diode{$D$}{}\rnode{Dot2}{}. |
| 765 |
\end{pspicture} |
| 766 |
\end{minipage}\hfill |
| 767 |
\begin{minipage}{6cm} |
| 768 |
\verb+\begin{pspicture}(7,7)+\\ |
| 769 |
\verb+ \pnodes(0,0){A}(7,7){B}+\\ |
| 770 |
\verb+ \multidipole(A)(B)\resistor{$R$}%+\\ |
| 771 |
\verb+ \capacitor[linecolor=red]{$C$}%+\\ |
| 772 |
\verb+ \diode{$D$}{}+\rnode{Dot2}{}.\\ |
| 773 |
\verb+\end{pspicture}+ |
| 774 |
\end{minipage} |
| 775 |
|
| 776 |
|
| 777 |
\bigskip |
| 778 |
\ncangles[linestyle=dashed,linecolor=gray,nodesep=3pt,armA=.5cm,angleA=-90,armB=4cm,angleB=0]{->}{Dot}{Dot2} |
| 779 |
Important: for the time being, \Lcs{multidipole} takes optional arguments but does not |
| 780 |
restore original values. We recommand not using it. |
| 781 |
|
| 782 |
|
| 783 |
|
| 784 |
|
| 785 |
\bigskip |
| 786 |
\subsubsection{Open dipol and open tripol} |
| 787 |
|
| 788 |
\xLcs{OpenDipol}\xLcs{OpenTripol} |
| 789 |
\begin{LTXexample}[width=4.5cm] |
| 790 |
\def\Wave{\psscalebox{3}{$\approx$}} |
| 791 |
\def\PM{\psscalebox{2}{$+\,\,-$}} |
| 792 |
\begin{pspicture}(4,3) |
| 793 |
\pnodes(0,0){A}(2,3){B}(4,3){C}(4,0){D} |
| 794 |
\OpenDipol[radius=3pt,labelangle=:U, |
| 795 |
labeloffset=-0.5](A)(B){\Wave} |
| 796 |
\OpenDipol[radius=3pt,labelangle=:U](B)(C){\PM} |
| 797 |
\OpenTripol(A)(D){} |
| 798 |
\end{pspicture} |
| 799 |
\end{LTXexample} |
| 800 |
|
| 801 |
|
| 802 |
\bigskip |
| 803 |
\subsection{Parameters} |
| 804 |
|
| 805 |
\subsubsection{Label parameters} |
| 806 |
|
| 807 |
|
| 808 |
\xLcs{resitor}\xLkeyword{labeloffset} |
| 809 |
\begin{LTXexample}[width=3.5cm] |
| 810 |
\begin{pspicture}(3,1) |
| 811 |
\pnodes(0,.5){A}(3,.5){B} |
| 812 |
\resistor[labeloffset=0](A)(B){$R$} |
| 813 |
\end{pspicture} |
| 814 |
\end{LTXexample} |
| 815 |
|
| 816 |
\xLcs{resitor}\xLkeyset{labelangle=:U} |
| 817 |
\begin{LTXexample}[width=3.5cm] |
| 818 |
\begin{pspicture}(3,2) |
| 819 |
\pnodes(0,0){A}(3,2){B} |
| 820 |
\resistor[labelangle=:U](A)(B){$R$} |
| 821 |
\end{pspicture} |
| 822 |
\end{LTXexample} |
| 823 |
|
| 824 |
\begin{LTXexample}[width=3.5cm] |
| 825 |
\begin{pspicture}(3,2) |
| 826 |
\pnodes(0,0){A}(3,2){B} |
| 827 |
\resistor[labelangle=0](A)(B){$R$} |
| 828 |
\end{pspicture} |
| 829 |
\end{LTXexample} |
| 830 |
|
| 831 |
\xLcs{transformer}\xLkeyword{primarylabel}\xLkeyword{secondarylabel} |
| 832 |
\begin{LTXexample}[width=5.5cm] |
| 833 |
\begin{pspicture}(5,5) |
| 834 |
\pnodes(0,5){A}(0,0){B}(5,5){C}(5,0){D} |
| 835 |
\transformer[primarylabel=$n_1$, |
| 836 |
secondarylabel=$n_2$](A)(B)(C)(D){$\mathcal T$} |
| 837 |
\end{pspicture} |
| 838 |
\end{LTXexample} |
| 839 |
|
| 840 |
\xLkeyword{labelInside} |
| 841 |
\begin{LTXexample}[width=3.5cm] |
| 842 |
\begin{pspicture}(3,4.5) |
| 843 |
\pnodes(0,.5){A}(3,.5){B} |
| 844 |
\Ucc[labelInside=1](A)(B){$V$} |
| 845 |
\pnodes(0,2){A}(3,2){B} |
| 846 |
\Ucc[labelInside=2](A)(B){$V$} |
| 847 |
\pnodes(0,3.5){A}(3,3.5){B} |
| 848 |
\Ucc[labelInside=3](A)(B){$V$} |
| 849 |
\end{pspicture} |
| 850 |
\end{LTXexample} |
| 851 |
|
| 852 |
\bigskip |
| 853 |
\subsubsection{Current intensity and electrical potential parameters} |
| 854 |
|
| 855 |
If the \Lkeyword{intensity} parameter is set to \true, an arrow is drawn on the wire |
| 856 |
connecting one of the nodes to the dipole. If the \Lkeyword{tension} parameter is set to \true, |
| 857 |
an arrow is drawn parallel to the dipole. |
| 858 |
|
| 859 |
The way those \Index{arrows} are drawn is set by \Lkeyword{dipoleconvention} and \Lkeyword{directconvention} |
| 860 |
parameters. \Lkeyword{dipoleconvention} can take two values~: \Lkeyval{generator} or \Lkeyval{receptor}. |
| 861 |
\Lkeyword{directconvention} is a boolean. |
| 862 |
|
| 863 |
|
| 864 |
\xLkeyword{intensity}\xLkeyword{tension} |
| 865 |
\begin{LTXexample}[width=3.5cm] |
| 866 |
\begin{pspicture}(3,2) |
| 867 |
\pnodes(0,.5){A}(3,.5){B} |
| 868 |
\resistor[intensity,tension](A)(B){} |
| 869 |
\end{pspicture} |
| 870 |
\end{LTXexample} |
| 871 |
|
| 872 |
\xLkeyword{intensity}\xLkeyword{tensionstyle} |
| 873 |
\begin{LTXexample}[width=3.5cm] |
| 874 |
\begin{pspicture}(3,2) |
| 875 |
\pnodes(0,.5){A}(3,.5){B} |
| 876 |
\resistor[intensity,tension,tensionstyle=pm](A)(B){} |
| 877 |
\end{pspicture} |
| 878 |
\end{LTXexample} |
| 879 |
|
| 880 |
\xLkeyword{intensity}\xLkeyword{tension}\xLkeyset{dipoleconvention=generator} |
| 881 |
\begin{LTXexample}[width=3.5cm] |
| 882 |
\begin{pspicture}(3,2) |
| 883 |
\pnodes(0,.5){A}(3,.5){B} |
| 884 |
\resistor[intensity,tension,dipoleconvention=generator](A)(B){} |
| 885 |
\end{pspicture} |
| 886 |
\end{LTXexample} |
| 887 |
|
| 888 |
\xLkeyword{intensity}\xLkeyword{tension}\xLkeyword{directconvention} |
| 889 |
\begin{LTXexample}[width=3.5cm] |
| 890 |
\begin{pspicture}(3,2) |
| 891 |
\pnodes(0,.5){A}(3,.5){B} |
| 892 |
\resistor[intensity,tension,directconvention=false](A)(B){} |
| 893 |
\end{pspicture} |
| 894 |
\end{LTXexample} |
| 895 |
|
| 896 |
\xLkeyword{intensity}\xLkeyword{tension}\xLkeyset{dipoleconvention=generator}\xLkeyword{directconvention} |
| 897 |
\begin{LTXexample}[width=3.5cm] |
| 898 |
\begin{pspicture}(3,2) |
| 899 |
\pnodes(0,.5){A}(3,.5){B} |
| 900 |
\resistor[intensity,tension, |
| 901 |
dipoleconvention=generator,directconvention=false](A)(B){} |
| 902 |
\end{pspicture} |
| 903 |
\end{LTXexample} |
| 904 |
|
| 905 |
If \Lkeyword{intensitylabel} is set to an non empty argument, then \Lkeyword{intensity} is automatically |
| 906 |
set to true. If \Lkeyword{tensionlabel} is set to an non empty argument, then \Lkeyword{tension} is |
| 907 |
automatically set to true. |
| 908 |
|
| 909 |
\begin{LTXexample}[width=3.5cm] |
| 910 |
\begin{pspicture}(3,2) |
| 911 |
\pnodes(0,.5){A}(3,.5){B} |
| 912 |
\resistor[intensitylabel=$i$,tensionlabel=$u$](A)(B){} |
| 913 |
\end{pspicture} |
| 914 |
\end{LTXexample} |
| 915 |
|
| 916 |
\xLkeyword{intensitylabel}\xLkeyword{intensitylabeloffset} |
| 917 |
\xLkeyword{tensionlabel}\xLkeyword{tensionoffset}\xLkeyword{tensionlabeloffset} |
| 918 |
\begin{LTXexample}[width=3.5cm] |
| 919 |
\begin{pspicture}(3,2) |
| 920 |
\pnodes(0,1.5){A}(3,1.5){B} |
| 921 |
\resistor[intensitylabel=$i$,intensitylabeloffset=-0.5, |
| 922 |
tensionlabel=$u$,tensionlabeloffset=-1.2, |
| 923 |
tensionoffset=-1](A)(B){} |
| 924 |
\end{pspicture} |
| 925 |
\end{LTXexample} |
| 926 |
|
| 927 |
\xLkeyword{intensitycolor}\xLkeyword{intensitywidth}\xLkeyword{intensitylabel}\xLkeyword{intensitylabelcolor} |
| 928 |
\xLkeyword{tensionwidth}\xLkeyword{tensionlabel}\xLkeyword{tensioncolor}\xLkeyword{tensionlabelcolor} |
| 929 |
\begin{LTXexample}[width=3.5cm] |
| 930 |
\begin{pspicture}(3,2) |
| 931 |
\pnodes(0,.5){A}(3,.5){B} |
| 932 |
\resistor[intensitylabel=$i$,intensitywidth=3\pslinewidth, |
| 933 |
intensitycolor=red,intensitylabelcolor=yellow, |
| 934 |
tensionlabel=$u$,tensionwidth=2\pslinewidth, |
| 935 |
tensioncolor=green,tensionlabelcolor=blue](A)(B){} |
| 936 |
\end{pspicture} |
| 937 |
\end{LTXexample} |
| 938 |
|
| 939 |
Some specific intensity parameters are available for \Index{tripole}s and \Index{quadrupole}s. |
| 940 |
|
| 941 |
\xLkeyword{OAiminuslabel}\xLkeyword{OAipluslabel}\xLkeyword{OAioutlabel} |
| 942 |
\begin{LTXexample}[width=5.5cm] |
| 943 |
\begin{pspicture}(5,3) |
| 944 |
\pnodes(0,0){A}(0,3){B}(5,1.5){C} |
| 945 |
\OA[OAipluslabel=$i_+$, |
| 946 |
OAiminuslabel=$i_-$, |
| 947 |
OAioutlabel=$i_o$](B)(A)(C) |
| 948 |
\end{pspicture} |
| 949 |
\end{LTXexample} |
| 950 |
|
| 951 |
\xLkeyword{basesep}\xLkeyword{transistoribaselabel}\xLkeyword{transistoricollectorlabel}\xLkeyword{transistoriemitterlabel} |
| 952 |
\begin{LTXexample}[width=5.5cm] |
| 953 |
\begin{pspicture}(5,3) |
| 954 |
\pnodes(0,1.5){A}(5,0){B}(5,3){C} |
| 955 |
\transistor[basesep=2cm,transistoribaselabel=$i_B$, |
| 956 |
transistoricollectorlabel=$i_C$, |
| 957 |
transistoriemitterlabel=$i_E$](A)(B)(C) |
| 958 |
\end{pspicture} |
| 959 |
\end{LTXexample} |
| 960 |
|
| 961 |
\xLkeyword{transformerisecondarylabel} |
| 962 |
\xLkeyword{transformeriprimarylabel} |
| 963 |
\begin{LTXexample}[width=5.5cm] |
| 964 |
\begin{pspicture}(5,5) |
| 965 |
\pnodes(0,5){A}(0,0){B}(5,5){C}(5,0){D} |
| 966 |
\transformer[transformeriprimarylabel=$i_1$, |
| 967 |
transformerisecondarylabel=$i_2$]% |
| 968 |
(A)(B)(C)(D){$\mathcal T$} |
| 969 |
\end{pspicture} |
| 970 |
\end{LTXexample} |
| 971 |
|
| 972 |
|
| 973 |
\subsubsection{Parallel parameters} |
| 974 |
|
| 975 |
If the \Lkeyword{parallel} parameter is set to \true, the dipole is drawn parallel to the line |
| 976 |
connecting the nodes. |
| 977 |
|
| 978 |
\begin{LTXexample}[width=3.5cm] |
| 979 |
\begin{pspicture}(3,3) |
| 980 |
\pnodes(0,.5){A}(3,.5){B} |
| 981 |
\resistor(A)(B){} |
| 982 |
\resistor[parallel](A)(B){} |
| 983 |
\end{pspicture} |
| 984 |
\end{LTXexample} |
| 985 |
|
| 986 |
\begin{LTXexample}[width=3.5cm] |
| 987 |
\begin{pspicture}(3,3) |
| 988 |
\pnodes(0,.5){A}(3,.5){B} |
| 989 |
\resistor(A)(B){} |
| 990 |
\resistor[parallel,parallelsep=.5](A)(B){} |
| 991 |
\end{pspicture} |
| 992 |
\end{LTXexample} |
| 993 |
|
| 994 |
\begin{LTXexample}[width=3.5cm] |
| 995 |
\begin{pspicture}(3,3) |
| 996 |
\pnodes(0,.5){A}(3,.5){B} |
| 997 |
\resistor(A)(B){} |
| 998 |
\resistor[parallel,parallelsep=.3, |
| 999 |
parallelarm=2](A)(B){} |
| 1000 |
\end{pspicture} |
| 1001 |
\end{LTXexample} |
| 1002 |
|
| 1003 |
\begin{LTXexample}[width=3.5cm] |
| 1004 |
\begin{pspicture}(3,3) |
| 1005 |
\pnodes(0,.5){A}(3,.5){B} |
| 1006 |
\resistor(A)(B){} |
| 1007 |
\resistor[parallel,parallelsep=.3, |
| 1008 |
parallelarm=2,parallelnode](A)(B){} |
| 1009 |
\end{pspicture} |
| 1010 |
\end{LTXexample} |
| 1011 |
|
| 1012 |
\begin{LTXexample}[width=8.5cm] |
| 1013 |
\begin{pspicture}(8,8) |
| 1014 |
\pnodes(0,0){A}(8,8){B} |
| 1015 |
\multidipole(A)(B)\resistor{$R$}% |
| 1016 |
\capacitor[linecolor=red]{$C$}% |
| 1017 |
\coil[parallel,parallelsep=.1]{$L$}% |
| 1018 |
\diode{$D$}. |
| 1019 |
\end{pspicture} |
| 1020 |
\end{LTXexample} |
| 1021 |
|
| 1022 |
Note: When used with \Lcs{multidipole}, the \Lkeyword{parallel} parameter |
| 1023 |
must not be set for the first dipole. |
| 1024 |
|
| 1025 |
|
| 1026 |
|
| 1027 |
\subsubsection{Wire intersections} |
| 1028 |
|
| 1029 |
\begin{LTXexample}[width=3.5cm] |
| 1030 |
\begin{pspicture}(3,3) |
| 1031 |
\pnodes(0,0){A}(3,3){B}(0,3){C}(3,0){D} |
| 1032 |
\wire(A)(B) |
| 1033 |
\wire[intersect,intersectA=A,intersectB=B](C)(D) |
| 1034 |
\end{pspicture} |
| 1035 |
\end{LTXexample} |
| 1036 |
|
| 1037 |
Wire intersect parameters work also with \Lcs{multidipole}. |
| 1038 |
|
| 1039 |
\begin{LTXexample}[width=6.5cm] |
| 1040 |
\begin{pspicture}(7,7) |
| 1041 |
\pnodes(0,0){A}(6,6){B}(0,6){C}(6,0){D} |
| 1042 |
\wire(A)(B) |
| 1043 |
\multidipole(C)(D)\resistor{$R$}% |
| 1044 |
\wire[intersect,intersectA=A,intersectB=B]% |
| 1045 |
\capacitor{$C$}. |
| 1046 |
\end{pspicture} |
| 1047 |
\end{LTXexample} |
| 1048 |
|
| 1049 |
|
| 1050 |
\bigskip |
| 1051 |
\subsubsection{Dipole style parameters} |
| 1052 |
|
| 1053 |
\xLkeyset{dipolestyle=twoCircles}\xLcs{ICC} |
| 1054 |
\begin{LTXexample}[width=3.5cm] |
| 1055 |
\begin{pspicture}(3,2) |
| 1056 |
\pnodes(0,1){A}(3,1){B} |
| 1057 |
\Icc[dipolestyle=twoCircles](A)(B){$I$} |
| 1058 |
\end{pspicture} |
| 1059 |
\end{LTXexample} |
| 1060 |
|
| 1061 |
\xLkeyset{dipolestyle=zigzag}\xLcs{resistor} |
| 1062 |
\begin{LTXexample}[width=3.5cm] |
| 1063 |
\begin{pspicture}(3,2) |
| 1064 |
\pnodes(0,1){A}(3,1){B} |
| 1065 |
\resistor[dipolestyle=zigzag](A)(B){$R$} |
| 1066 |
\end{pspicture} |
| 1067 |
\end{LTXexample} |
| 1068 |
|
| 1069 |
\xLkeyset{dipolestyle=varistor}\xLcs{resistor} |
| 1070 |
\begin{LTXexample}[width=3.5cm] |
| 1071 |
\begin{pspicture}(3,2) |
| 1072 |
\pnodes(0,1){A}(3,1){B} |
| 1073 |
\resistor[dipolestyle=varistor](A)(B){U} |
| 1074 |
\end{pspicture} |
| 1075 |
\end{LTXexample} |
| 1076 |
|
| 1077 |
\xLkeyset{dipolestyle=chemical}\xLcs{capacitor} |
| 1078 |
\begin{LTXexample}[width=3.5cm] |
| 1079 |
\begin{pspicture}(3,2) |
| 1080 |
\pnodes(0,1){A}(3,1){B} |
| 1081 |
\capacitor[dipolestyle=chemical](A)(B){$C$} |
| 1082 |
\end{pspicture} |
| 1083 |
\end{LTXexample} |
| 1084 |
|
| 1085 |
\xLkeyset{dipolestyle=elektor}\xLcs{capacitor} |
| 1086 |
\begin{LTXexample}[width=3.5cm] |
| 1087 |
\begin{pspicture}(3,2) |
| 1088 |
\pnodes(0,1){A}(3,1){B} |
| 1089 |
\capacitor[dipolestyle=elektor](A)(B){$C$} |
| 1090 |
\end{pspicture} |
| 1091 |
\end{LTXexample} |
| 1092 |
|
| 1093 |
\xLkeyset{dipolestyle=elektorchemical}\xLcs{capacitor} |
| 1094 |
\begin{LTXexample}[width=3.5cm] |
| 1095 |
\begin{pspicture}(3,2) |
| 1096 |
\pnodes(0,1){A}(3,1){B} |
| 1097 |
\capacitor[dipolestyle=elektorchemical](A)(B){$C$} |
| 1098 |
\end{pspicture} |
| 1099 |
\end{LTXexample} |
| 1100 |
|
| 1101 |
\xLkeyset{dipolestyle=crystal}\xLcs{capacitor}\index{Quartz} |
| 1102 |
\begin{LTXexample}[width=3.5cm] |
| 1103 |
\begin{pspicture}(3,2) |
| 1104 |
\pnodes(0,1){A}(3,1){B} |
| 1105 |
\capacitor[dipolestyle=crystal](A)(B){$Q$} |
| 1106 |
\end{pspicture} |
| 1107 |
\end{LTXexample} |
| 1108 |
|
| 1109 |
\xLkeyset{dipolestyle=rectangle}\xLcs{coil} |
| 1110 |
\begin{LTXexample}[width=3.5cm] |
| 1111 |
\begin{pspicture}(3,2) |
| 1112 |
\pnodes(0,1){A}(3,1){B} |
| 1113 |
\coil[dipolestyle=rectangle](A)(B){$L$} |
| 1114 |
\end{pspicture} |
| 1115 |
\end{LTXexample} |
| 1116 |
|
| 1117 |
\xLkeyset{dipolestyle=curved}\xLcs{coil} |
| 1118 |
\begin{LTXexample}[width=3.5cm] |
| 1119 |
\begin{pspicture}(3,2) |
| 1120 |
\pnodes(0,1){A}(3,1){B} |
| 1121 |
\coil[dipolestyle=curved](A)(B){$L$} |
| 1122 |
\end{pspicture} |
| 1123 |
\end{LTXexample} |
| 1124 |
|
| 1125 |
\xLkeyset{dipolestyle=elektor}\xLcs{coil} |
| 1126 |
\begin{LTXexample}[width=3.5cm] |
| 1127 |
\begin{pspicture}(3,2) |
| 1128 |
\pnodes(0,1){A}(3,1){B} |
| 1129 |
\coil[dipolestyle=elektor](A)(B){$L$} |
| 1130 |
\end{pspicture} |
| 1131 |
\end{LTXexample} |
| 1132 |
|
| 1133 |
\xLkeyset{dipolestyle=elektorcurved}\xLcs{coil} |
| 1134 |
\begin{LTXexample}[width=3.5cm] |
| 1135 |
\begin{pspicture}(3,2) |
| 1136 |
\pnodes(0,1){A}(3,1){B} |
| 1137 |
\coil[dipolestyle=elektorcurved](A)(B){$L$} |
| 1138 |
\end{pspicture} |
| 1139 |
\end{LTXexample} |
| 1140 |
|
| 1141 |
\xLkeyset{dipolestyle=thyristor}\xLcs{diode} |
| 1142 |
\begin{LTXexample}[width=3.5cm] |
| 1143 |
\begin{pspicture}(3,2) |
| 1144 |
\pnodes(0,1){A}(3,1){B} |
| 1145 |
\diode[dipolestyle=thyristor](A)(B){$T$} |
| 1146 |
\end{pspicture} |
| 1147 |
\end{LTXexample} |
| 1148 |
|
| 1149 |
\xLkeyset{dipolestyle=GTO}\xLcs{diode} |
| 1150 |
\begin{LTXexample}[width=3.5cm] |
| 1151 |
\begin{pspicture}(3,2) |
| 1152 |
\pnodes(0,1){A}(3,1){B} |
| 1153 |
\diode[dipolestyle=GTO](A)(B){$T$} |
| 1154 |
\end{pspicture} |
| 1155 |
\end{LTXexample} |
| 1156 |
|
| 1157 |
\xLkeyset{dipolestyle=triac}\xLcs{diode} |
| 1158 |
\begin{LTXexample}[width=3.5cm] |
| 1159 |
\begin{pspicture}(3,2) |
| 1160 |
\pnodes(0,1){A}(3,1){B} |
| 1161 |
\diode[dipolestyle=triac](A)(B){$T$} |
| 1162 |
\end{pspicture} |
| 1163 |
\end{LTXexample} |
| 1164 |
|
| 1165 |
\xLkeyset{dipolestyle=schottky}\xLcs{diode} |
| 1166 |
\begin{LTXexample}[width=3.5cm] |
| 1167 |
\begin{pspicture}(3,2) |
| 1168 |
\pnodes(0,1){A}(3,1){B} |
| 1169 |
\diode[dipolestyle=schottky](A)(B){$T$} |
| 1170 |
\end{pspicture} |
| 1171 |
\end{LTXexample} |
| 1172 |
|
| 1173 |
\xLkeyword{variable}\xLcs{resistor} |
| 1174 |
\begin{LTXexample}[width=3.5cm] |
| 1175 |
\begin{pspicture}(3,2) |
| 1176 |
\pnodes(0,1){A}(3,1){B} |
| 1177 |
\resistor[variable](A)(B){$R$} |
| 1178 |
\end{pspicture} |
| 1179 |
\end{LTXexample} |
| 1180 |
|
| 1181 |
\xLkeyword{variable}\xLcs{capacitor} |
| 1182 |
\begin{LTXexample}[width=3.5cm] |
| 1183 |
\begin{pspicture}(3,2) |
| 1184 |
\pnodes(0,1){A}(3,1){B} |
| 1185 |
\capacitor[variable](A)(B){$C$} |
| 1186 |
\end{pspicture} |
| 1187 |
\end{LTXexample} |
| 1188 |
|
| 1189 |
\xLkeyword{variable}\xLcs{coil} |
| 1190 |
\begin{LTXexample}[width=3.5cm] |
| 1191 |
\begin{pspicture}(3,2) |
| 1192 |
\pnodes(0,1){A}(3,1){B} |
| 1193 |
\coil[variable](A)(B){$L$} |
| 1194 |
\end{pspicture} |
| 1195 |
\end{LTXexample} |
| 1196 |
|
| 1197 |
\xLkeyword{variable}\xLcs{battery} |
| 1198 |
\begin{LTXexample}[width=3.5cm] |
| 1199 |
\begin{pspicture}(3,2) |
| 1200 |
\pnodes(0,1){A}(3,1){B} |
| 1201 |
\battery[variable](A)(B){$U$} |
| 1202 |
\end{pspicture} |
| 1203 |
\end{LTXexample} |
| 1204 |
|
| 1205 |
\xLkeyword{variable}\xLcs{coil}\xLkeyset{dipolestyle=elektor} |
| 1206 |
\begin{LTXexample}[width=3.5cm] |
| 1207 |
\begin{pspicture}(3,2) |
| 1208 |
\pnodes(0,1){A}(3,1){B} |
| 1209 |
\coil[dipolestyle=elektor,variable](A)(B){$L$} |
| 1210 |
\end{pspicture} |
| 1211 |
\end{LTXexample} |
| 1212 |
|
| 1213 |
In the following example the parameter \Lkeyword{dipolestyle} is used for a tripole and quadrupole, because |
| 1214 |
the coils are drawn as rectangles and the resistor as a \Lkeyword{zigzag}. |
| 1215 |
|
| 1216 |
\xLkeyset{labelangle=:U}\xLcs{potentiometer}\xLkeyset{dipolestyle=zigzag} |
| 1217 |
\begin{LTXexample}[width=3.5cm] |
| 1218 |
\begin{pspicture}(3,3) |
| 1219 |
\pnodes(0,0){A}(3,3){B}(3,1.5){C} |
| 1220 |
\potentiometer[dipolestyle=zigzag,% |
| 1221 |
labelangle=:U](A)(B)(C){$P$} |
| 1222 |
\end{pspicture} |
| 1223 |
\end{LTXexample} |
| 1224 |
|
| 1225 |
\xLcs{transformer}\xLkeyset{dipolestyle=rectangle} |
| 1226 |
\begin{LTXexample}[width=4.5cm] |
| 1227 |
\begin{pspicture}(4,4) |
| 1228 |
\pnodes(0,4){A}(0,0){B}(4,4){C}(4,0){D} |
| 1229 |
\transformer[dipolestyle=rectangle](A)(B)(C)(D){$\mathcal T$} |
| 1230 |
\end{pspicture} |
| 1231 |
\end{LTXexample} |
| 1232 |
|
| 1233 |
|
| 1234 |
\subsubsection{Tripole style parameters} |
| 1235 |
|
| 1236 |
\xLcs{Tswitch}\xLkeyset{tripolestyle=left} |
| 1237 |
\begin{LTXexample}[width=5.5cm] |
| 1238 |
\begin{pspicture}(5,3) |
| 1239 |
\pnodes(0,2){A}(5,2){B}(0,0){C} |
| 1240 |
\Tswitch[tripolestyle=left](A)(B)(C){$K$} |
| 1241 |
\end{pspicture} |
| 1242 |
\end{LTXexample} |
| 1243 |
|
| 1244 |
\xLcs{Tswitch}\xLkeyset{tripolestyle=right} |
| 1245 |
\begin{LTXexample}[width=5.5cm] |
| 1246 |
\begin{pspicture}(5,3) |
| 1247 |
\pnodes(0,2){A}(5,2){B}(0,0){C} |
| 1248 |
\Tswitch[tripolestyle=right](A)(B)(C){$K$} |
| 1249 |
\end{pspicture} |
| 1250 |
\end{LTXexample} |
| 1251 |
|
| 1252 |
\xLcs{OA}\xLkeyset{tripolestyle=french} |
| 1253 |
\begin{LTXexample}[width=5.5cm] |
| 1254 |
\begin{pspicture}(5,3) |
| 1255 |
\pnodes(0,3){A}(0,0){B}(5,1.5){C} |
| 1256 |
\OA[tripolestyle=french](A)(B)(C) |
| 1257 |
\end{pspicture} |
| 1258 |
\end{LTXexample} |
| 1259 |
|
| 1260 |
\subsubsection{Tripoles} |
| 1261 |
|
| 1262 |
\xLcs{potentiometer}\xLkeyword{labeloffset} |
| 1263 |
\begin{pspicture}(3,3) |
| 1264 |
\pnodes(0,1){A}(3,1){B}(3,2){C} |
| 1265 |
\potentiometer[labeloffset=0pt](A)(B)(C){P} |
| 1266 |
\end{pspicture} |
| 1267 |
\hfill |
| 1268 |
\begin{pspicture}(3,3) |
| 1269 |
\pnodes(0,2.5){A}(3,2.5){B}(0,1){C} |
| 1270 |
\potentiometer[labeloffset=0pt](A)(B)(C){P} |
| 1271 |
\end{pspicture} |
| 1272 |
\hfill |
| 1273 |
\xLcs{potentiometer}\xLkeyword{labeloffset}\xLkeyset{labelangle=:U} |
| 1274 |
\begin{pspicture}(3,3) |
| 1275 |
\pnodes(0,0){A}(3,2){B}(2.5,3){C} |
| 1276 |
\potentiometer[labeloffset=0pt,labelangle=:U](A)(B)(C){P} |
| 1277 |
\end{pspicture} |
| 1278 |
|
| 1279 |
\vspace{1cm} |
| 1280 |
\noindent |
| 1281 |
\xLcs{potentiometer}\xLkeyword{labeloffset} |
| 1282 |
\begin{pspicture}(3,3) |
| 1283 |
\pnodes(1,0){A}(1,3){B}(2.5,0){C} |
| 1284 |
\potentiometer[labeloffset=0pt](A)(B)(C){P} |
| 1285 |
\end{pspicture} |
| 1286 |
\hfill |
| 1287 |
\begin{pspicture}(3,3) |
| 1288 |
\pnodes(0,3){A}(3,0){B}(2,0){C} |
| 1289 |
\potentiometer[labeloffset=0pt,labelangle=:U](A)(B)(C){P} |
| 1290 |
\end{pspicture} |
| 1291 |
\hfill |
| 1292 |
\begin{pspicture}(3,3) |
| 1293 |
\pnodes(0,2){A}(3,2){B}(1.5,0){C} |
| 1294 |
\potentiometer[labeloffset=0pt](A)(B)(C){P} |
| 1295 |
\end{pspicture} |
| 1296 |
|
| 1297 |
|
| 1298 |
\vspace{1cm} |
| 1299 |
\noindent |
| 1300 |
\begin{pspicture}(3,3) |
| 1301 |
\pnodes(1,0){A}(1,3){B}(2.5,0){C} |
| 1302 |
\potentiometer[dipolestyle=zigzag](A)(B)(C){P} |
| 1303 |
\end{pspicture} |
| 1304 |
\hfill |
| 1305 |
\begin{pspicture}(3,3) |
| 1306 |
\pnodes(0,3){A}(3,0){B}(2,0){C} |
| 1307 |
\potentiometer[dipolestyle=zigzag,labelangle=:U](A)(B)(C){P} |
| 1308 |
\end{pspicture} |
| 1309 |
\hfill |
| 1310 |
\begin{pspicture}(3,3) |
| 1311 |
\pnodes(0,2){A}(3,2){B}(1.5,0){C} |
| 1312 |
\potentiometer[dipolestyle=zigzag](A)(B)(C){P} |
| 1313 |
\end{pspicture} |
| 1314 |
|
| 1315 |
\begin{pspicture}[showgrid=true](9.5,10) |
| 1316 |
\dotnode(0,2){N1} |
| 1317 |
\dotnode(4,2){N2} |
| 1318 |
\dotnode(2,0){N3} |
| 1319 |
\powermeter[tripolestyle=bottom,tripoleconfig=left](N1)(N2)(N3){WR} |
| 1320 |
|
| 1321 |
\rput(5,0){ |
| 1322 |
\dotnode(0,2){N1} |
| 1323 |
\dotnode(4,2){N2} |
| 1324 |
\dotnode(2,0){N3} |
| 1325 |
\powermeter[tripolestyle=bottom,tripoleconfig=right](N1)(N2)(N3){WR} |
| 1326 |
} |
| 1327 |
|
| 1328 |
\rput(0,3){ |
| 1329 |
\dotnode(0,2){N1} |
| 1330 |
\dotnode(4,2){N2} |
| 1331 |
\dotnode(2,4){N3} |
| 1332 |
\powermeter[tripolestyle=top,tripoleconfig=left](N1)(N2)(N3){WR} |
| 1333 |
} |
| 1334 |
|
| 1335 |
\rput(5,3){ |
| 1336 |
\dotnode(0,2){N1} |
| 1337 |
\dotnode(4,2){N2} |
| 1338 |
\dotnode(2,4){N3} |
| 1339 |
\powermeter[tripolestyle=top,tripoleconfig=right](N1)(N2)(N3){WR} |
| 1340 |
} |
| 1341 |
|
| 1342 |
\end{pspicture} |
| 1343 |
|
| 1344 |
|
| 1345 |
|
| 1346 |
\begin{pspicture}[showgrid=true](-1,-1)(9.5,5) |
| 1347 |
%\psgrid |
| 1348 |
|
| 1349 |
{%\psset{showNode} |
| 1350 |
\dotnode(0,4){NR}\nput{180}{NR}{R} |
| 1351 |
\dotnode(0,2.5){NS}\nput{180}{NS}{S} |
| 1352 |
\dotnode(0,1){NT}\nput{180}{NT}{T} |
| 1353 |
\dotnode(0,0){NNS}\nput{180}{NNS}{N} |
| 1354 |
|
| 1355 |
\dotnode(1.5,0){NWRM} |
| 1356 |
\dotnode(2.5,0){NWSM} |
| 1357 |
\dotnode(3.5,0){NWTM} |
| 1358 |
|
| 1359 |
\pnode(3,4){NRC} |
| 1360 |
\pnode(5,2.5){NSC} |
| 1361 |
\pnode(7,1){NTC} |
| 1362 |
\pnode(4,0){NNC} |
| 1363 |
|
| 1364 |
\dotnode(7,4){NU}\nput{0}{NU}{U} |
| 1365 |
\dotnode(7,2.5){NV}\nput{0}{NV}{V} |
| 1366 |
\dotnode(7,1){NW}\nput{0}{NW}{W} |
| 1367 |
\dotnode(7,0){NN}\nput{0}{NN}{N} |
| 1368 |
} |
| 1369 |
|
| 1370 |
\powermeter[tripolestyle=bottom,tripoleconfig=left](NR)(NRC)(NWRM){WR} |
| 1371 |
\powermeter[tripolestyle=bottom,tripoleconfig=left](NS)(NSC)(NWSM){WS} |
| 1372 |
\powermeter[tripolestyle=bottom,tripoleconfig=left](NT)(NTC)(NWTM){WT} |
| 1373 |
|
| 1374 |
\psframe(7,-0.5)(9,4.5) |
| 1375 |
\wire(NRC)(NU) |
| 1376 |
\wire(NSC)(NV) |
| 1377 |
\wire(NTC)(NW) |
| 1378 |
\wire(NNS)(NN) |
| 1379 |
|
| 1380 |
\end{pspicture} |
| 1381 |
|
| 1382 |
|
| 1383 |
|
| 1384 |
\subsubsection{Other Parameters} |
| 1385 |
|
| 1386 |
\xLkeyword{OAinvert}\xLcs{OA} |
| 1387 |
\begin{LTXexample}[width=5.5cm] |
| 1388 |
\begin{pspicture}(5,3) |
| 1389 |
\pnodes(0,0){A}(0,3){B}(5,1.5){C} |
| 1390 |
\OA[OAinvert=false](B)(A)(C) |
| 1391 |
\end{pspicture} |
| 1392 |
\end{LTXexample} |
| 1393 |
|
| 1394 |
\xLkeyword{OAperfect}\xLcs{OA} |
| 1395 |
\begin{LTXexample}[width=5.5cm] |
| 1396 |
\begin{pspicture}(5,3) |
| 1397 |
\pnodes(0,0){A}(0,3){B}(5,1.5){C} |
| 1398 |
\OA[OAperfect=false](B)(A)(C) |
| 1399 |
\end{pspicture} |
| 1400 |
\end{LTXexample} |
| 1401 |
|
| 1402 |
\begin{LTXexample}[width=5.5cm] |
| 1403 |
\begin{pspicture}(5,3) |
| 1404 |
\pnodes(0,1.5){A}(5,0){B}(5,3){C} |
| 1405 |
\transistor[basesep=2cm,% |
| 1406 |
transistorinvert,transistorcircle=false](A)(B)(C) |
| 1407 |
\end{pspicture} |
| 1408 |
\end{LTXexample} |
| 1409 |
|
| 1410 |
\xLkeyset{transistortype=FET}\xLcs{transistor} |
| 1411 |
\begin{LTXexample}[width=5.5cm] |
| 1412 |
\begin{pspicture}(5,3) |
| 1413 |
\pnode(0,1.5){A}\psset{linewidth=1pt} |
| 1414 |
\transistor[basesep=2cm,arrows=o-o, |
| 1415 |
transistortype=FET](A){Emitter}{Collector} |
| 1416 |
\psline{o-}(5,3)(3,3)(3,3|Collector)(Collector) |
| 1417 |
\psline{o-}(5,0)(3,0)(3,3|Emitter)(Emitter) |
| 1418 |
\psline{o-}(A)([nodesep=2]A) |
| 1419 |
\end{pspicture} |
| 1420 |
\end{LTXexample} |
| 1421 |
|
| 1422 |
\xLkeyset{transistortype=FET}\xLcs{transistor}\xLkeyset{FETchannel=P} |
| 1423 |
\begin{LTXexample}[width=5.5cm] |
| 1424 |
\begin{pspicture}(5,3) |
| 1425 |
\pnode(0,1.5){A}\psset{linewidth=1pt} |
| 1426 |
\transistor[basesep=2cm,arrows=o-o, |
| 1427 |
transistortype=FET, |
| 1428 |
FETchanneltype=P](A){Emitter}{Collector} |
| 1429 |
\psline{o-}(5,3)(3,3)(3,3|Collector)(Collector) |
| 1430 |
\psline{o-}(5,0)(3,0)(3,3|Emitter)(Emitter) |
| 1431 |
\psline{o-}(A)([nodesep=2]A) |
| 1432 |
\end{pspicture} |
| 1433 |
\end{LTXexample} |
| 1434 |
|
| 1435 |
\xLkeyset{transistortype=FET}\xLcs{transistor}\xLkeyword{FETmemory} |
| 1436 |
\begin{LTXexample}[width=5.5cm] |
| 1437 |
\begin{pspicture}(5,3) |
| 1438 |
\transistor[basesep=2cm,transistortype=FET, |
| 1439 |
FETmemory=true](0,1.5)(5,0)(5,3) |
| 1440 |
\end{pspicture} |
| 1441 |
\end{LTXexample} |
| 1442 |
|
| 1443 |
Variable radius for \xLcs{circledipole} |
| 1444 |
\begin{LTXexample}[width=5.5cm] |
| 1445 |
\begin{pspicture}(5,6) |
| 1446 |
\pnodes(0,5){A}(5,5){B} |
| 1447 |
\pnodes(0,3){C}(2.5,3){CD}(5,3){D} |
| 1448 |
\pnodes(0,1){E}(5,1){F} |
| 1449 |
\circledipole(A)(B){} |
| 1450 |
\circledipole[radius=7mm,labeloffset=1cm](C)(D){Strommesser}\rput(CD){\Huge I} |
| 1451 |
\circledipole[radius=4mm,fillstyle=solid,fillcolor=blue!30](E)(F){C} |
| 1452 |
\end{pspicture} |
| 1453 |
\end{LTXexample} |
| 1454 |
|
| 1455 |
|
| 1456 |
\clearpage |
| 1457 |
\subsection{Special objects} |
| 1458 |
|
| 1459 |
\subsubsection{\nxLcs{dashpot}} |
| 1460 |
|
| 1461 |
|
| 1462 |
\begin{LTXexample}[pos=t] |
| 1463 |
\newcommand*\pswall[3]{% ll ur lr |
| 1464 |
\psframe[linecolor=white,fillstyle=hlines,hatchcolor=black](#1)(#2)% (ll)(ur) |
| 1465 |
\psline[linecolor=black](#1)(#3)} |
| 1466 |
\begin{pspicture}(0.5,1)(8,10) |
| 1467 |
\rput(3,9.5){\sffamily \textbf{Viscoelasticity}} |
| 1468 |
% Kelvin-Voigt model (spring and dashpot parallel): =========== |
| 1469 |
\rput[c](1.75,8.85){\sffamily Kelvin-Voigt} |
| 1470 |
\pswall{1,8}{2.5,8.5}{2.5,8}% top |
| 1471 |
\psline(1.75,8)(1.75,7)% top vertical line |
| 1472 |
% node definitions: |
| 1473 |
\pnodes(1,7){ul1}(2.5,7){ur1}(1,3){ll1}(2.5,3){lr1}% |
| 1474 |
\psline(ul1)(ur1)% top line |
| 1475 |
\psline(ll1)(lr1)% bottom line |
| 1476 |
\resistor[dipolestyle=zigzag,linewidth=0.5pt](ul1)(ll1){}% spring |
| 1477 |
\dashpot[linewidth=0.5pt](ur1)(lr1){}% dashpot |
| 1478 |
\psline[arrowscale=3]{->}(1.75,3)(1.75,2)% force |
| 1479 |
% Maxwell model (spring and dashpot serial): ================== |
| 1480 |
\rput[c](4.5,8.85){\sffamily Maxwell} |
| 1481 |
\pswall{4,8}{5,8.5}{5,8}% top |
| 1482 |
\pnodes(4.5,8){t}(4.5,4){b}% node definitions |
| 1483 |
\resistor[dipolestyle=zigzag,linewidth=0.5pt,labeloffset=1.9](t)(b)% spring |
| 1484 |
{\sffamily\small\begin{tabular}{c}\textbf{elasticity}\\(Hookean solid)\end{tabular}}% end spring |
| 1485 |
\dashpot[linewidth=0.5pt,labeloffset=2.0](4.5,5)(4.5,3)% dashpot |
| 1486 |
{\sffamily\small\begin{tabular}{c}\textbf{viscosity}\\(Newtonian fluid)\end{tabular} |
| 1487 |
}% end dashpot |
| 1488 |
\psline[arrowscale=3]{->}(4.5,3)(4.5,2)% force |
| 1489 |
\end{pspicture} |
| 1490 |
\end{LTXexample} |
| 1491 |
|
| 1492 |
% |
| 1493 |
% Modified pst-circ Components |
| 1494 |
% |
| 1495 |
\subsection{Modified default symbols} |
| 1496 |
|
| 1497 |
|
| 1498 |
\subsubsection{New ground} |
| 1499 |
\xLcs{NewGround} |
| 1500 |
\begin{description} |
| 1501 |
\item[\Lkeyword{groundstyle}:] \Lkeyval{ads} | \Lkeyval{old} | \Lkeyval{triangle} |
| 1502 |
\end{description} |
| 1503 |
|
| 1504 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 1505 |
\begin{pspicture}(3,2) |
| 1506 |
\pnodes(0.5,1){A}(1,1){B}(2.5,1){C} |
| 1507 |
\newground(A) |
| 1508 |
\newground[groundstyle=old]{135}(B) |
| 1509 |
\newground[linecolor=blue,groundstyle=triangle]{180}(C) |
| 1510 |
\end{pspicture} |
| 1511 |
\end{LTXexample} |
| 1512 |
|
| 1513 |
%\subsection{Dipole} |
| 1514 |
|
| 1515 |
% |
| 1516 |
% New Diode |
| 1517 |
% |
| 1518 |
\subsubsection{New Diode} |
| 1519 |
\xLcs{NewDiode} |
| 1520 |
\begin{LTXexample}[width=3.5cm] |
| 1521 |
\begin{pspicture}[showgrid=false](3,4) |
| 1522 |
\pnodes(0,1){A}(3,1){B}(0,3){C}(3,3){D} |
| 1523 |
\newdiode(C)(D){$D_1$} |
| 1524 |
\newdiode[ison=false](A)(B){$D_2$} |
| 1525 |
\end{pspicture} |
| 1526 |
\end{LTXexample} |
| 1527 |
|
| 1528 |
% |
| 1529 |
% New Zener |
| 1530 |
% |
| 1531 |
\subsubsection{New Zener} |
| 1532 |
\xLcs{NewZener} |
| 1533 |
\begin{LTXexample}[width=3.5cm] |
| 1534 |
\begin{pspicture}[showgrid=false](3,4) |
| 1535 |
\pnodes(0,1){A}(3,1){B}(0,3){C}(3,3){D} |
| 1536 |
\newZener(C)(D){$D_1$} |
| 1537 |
\newZener[ison=false](A)(B){$D_2$} |
| 1538 |
\end{pspicture} |
| 1539 |
\end{LTXexample} |
| 1540 |
|
| 1541 |
% |
| 1542 |
% New LED |
| 1543 |
% |
| 1544 |
\subsubsection{New LED} |
| 1545 |
\xLcs{NewLED} |
| 1546 |
\begin{LTXexample}[width=3.5cm] |
| 1547 |
\begin{pspicture}[showgrid=false](3,4) |
| 1548 |
\pnodes(0,1){A}(3,1){B}(0,3){C}(3,3){D} |
| 1549 |
\newLED(C)(D){$D_1$} |
| 1550 |
\newLED[ison=false](A)(B){$D_2$} |
| 1551 |
\end{pspicture} |
| 1552 |
\end{LTXexample} |
| 1553 |
|
| 1554 |
% |
| 1555 |
% New Ideal Switch |
| 1556 |
% |
| 1557 |
\subsubsection{New Ideal Switch} |
| 1558 |
\xLcs{NewSwitch} |
| 1559 |
\begin{LTXexample}[width=3.5cm] |
| 1560 |
\begin{pspicture}[showgrid=false](3,4) |
| 1561 |
\pnodes(0,1){A}(3,1){B}(0,3){C}(3,3){D} |
| 1562 |
\newSwitch(C)(D){$S_1$} |
| 1563 |
\newSwitch[ison=false](A)(B){$S_2$} |
| 1564 |
\end{pspicture} |
| 1565 |
\end{LTXexample} |
| 1566 |
|
| 1567 |
% |
| 1568 |
% New Capacitor |
| 1569 |
% |
| 1570 |
\subsubsection{New Capacitor} |
| 1571 |
\xLcs{RFLine} |
| 1572 |
\begin{LTXexample}[width=3.5cm] |
| 1573 |
\begin{pspicture}[showgrid=false](3,2) |
| 1574 |
\pnodes(0,1){A}(3,1){B} |
| 1575 |
\newcapacitor(A)(B){$C_1$} |
| 1576 |
\end{pspicture} |
| 1577 |
\end{LTXexample} |
| 1578 |
|
| 1579 |
% |
| 1580 |
% New Armature |
| 1581 |
% |
| 1582 |
\subsubsection{New Armature (motor or generator)} |
| 1583 |
\xLcs{RFLine} |
| 1584 |
\begin{LTXexample}[width=3.5cm] |
| 1585 |
\begin{pspicture}[showgrid=false](3,4) |
| 1586 |
\pnodes(0,1){A}(3,1){B}(0,3){C}(3,3){D} |
| 1587 |
\newarmature[labelInside=1](C)(D){$M_{CC}$} |
| 1588 |
\newarmature[labelInside=2](A)(B){$G_{CC}$} |
| 1589 |
\end{pspicture} |
| 1590 |
\end{LTXexample} |
| 1591 |
|
| 1592 |
% |
| 1593 |
% VDC |
| 1594 |
% |
| 1595 |
\subsubsection{V DC} |
| 1596 |
\xLcs{RFLine} |
| 1597 |
\begin{LTXexample}[width=3.5cm] |
| 1598 |
\begin{pspicture}[showgrid=false](3,2) |
| 1599 |
\pnodes(0,1){A}(3,1){B} |
| 1600 |
\vdc(A)(B){$V_{DC}$} |
| 1601 |
\end{pspicture} |
| 1602 |
\end{LTXexample} |
| 1603 |
|
| 1604 |
% |
| 1605 |
% VAC |
| 1606 |
% |
| 1607 |
\subsubsection{V AC} |
| 1608 |
\xLcs{RFLine} |
| 1609 |
\begin{LTXexample}[width=3.5cm] |
| 1610 |
\begin{pspicture}[showgrid=false](3,2) |
| 1611 |
\pnodes(0,1){A}(3,1){B} |
| 1612 |
\vac(A)(B){$V_{AC}$} |
| 1613 |
\end{pspicture} |
| 1614 |
\end{LTXexample} |
| 1615 |
|
| 1616 |
|
| 1617 |
\clearpage |
| 1618 |
|
| 1619 |
\section{Examples} |
| 1620 |
|
| 1621 |
\begin{LTXexample}[pos=t] |
| 1622 |
\begin{pspicture}(-1.5,-1)(6,5) |
| 1623 |
\pnodes(0,0){A}(0,3){B}(4.5,3){C}(4.5,0){D} |
| 1624 |
\Ucc[tension,dipoleconvention=generator](A)(B){$E$} |
| 1625 |
\multidipole(B)(C)% |
| 1626 |
\switch[intensitylabel=$i$]{$K$}% |
| 1627 |
\resistor[labeloffset=0,tensionlabel=$u_R$]{$R$}. |
| 1628 |
\capacitor[tensionlabel={$u_C$},tensionlabeloffset=-1.2, |
| 1629 |
tensionoffset=-1,directconvention=false](D)(C){$C$} |
| 1630 |
\wire(A)(D) |
| 1631 |
\ground(D) |
| 1632 |
\end{pspicture} |
| 1633 |
\end{LTXexample} |
| 1634 |
|
| 1635 |
\begin{LTXexample}[pos=t] |
| 1636 |
\begin{pspicture}(-0.5,0)(7,8) |
| 1637 |
\pnodes(0.5,1){A}(3.5,1){B}(6.5,1){C}(0.5,4){D}(3.5,4){Minus} |
| 1638 |
(3.5,3){Plus}(6.5,5){S}(3.5,5){E} |
| 1639 |
\resistor(D)(Minus){$R_2$} |
| 1640 |
\capacitor(E)(S){$C$} |
| 1641 |
\resistor[parallel,parallelarm=2](E)(S){$R_1$} |
| 1642 |
\OA[intensity](Minus)(Plus)(S) |
| 1643 |
\wire(Minus)(E) |
| 1644 |
\wire(Plus)(B) |
| 1645 |
\tension(A)(D){$u_E$} |
| 1646 |
\makeatletter % (special tricks see below) |
| 1647 |
\tension(C)(S@@){$u_S$} |
| 1648 |
\tension[linecolor=blue](Plus@@)(Minus@@){$\epsilon$} |
| 1649 |
\makeatother |
| 1650 |
\ground(A) \ground(B) \ground(C) |
| 1651 |
\end{pspicture} |
| 1652 |
\end{LTXexample} |
| 1653 |
|
| 1654 |
\begin{LTXexample}[pos=t] |
| 1655 |
\begin{pspicture}(-1,0)(7,8) |
| 1656 |
\pnodes(1,1){A}(1,7){B}(3,1){C}(3,7){D} |
| 1657 |
\Ucc[tensionlabel=$E$](A)(B){} |
| 1658 |
\resistor(B)(D){$R$} |
| 1659 |
\coil(D)(C){$L$} |
| 1660 |
\capacitor[parallel,parallelarm=2.5](D)(C){$C$} |
| 1661 |
\wire(A)(C) |
| 1662 |
\end{pspicture} |
| 1663 |
\end{LTXexample} |
| 1664 |
|
| 1665 |
|
| 1666 |
|
| 1667 |
|
| 1668 |
\begin{LTXexample}[pos=t] |
| 1669 |
% \usepackage{amsmath} % example by Markus Graube |
| 1670 |
\begin{pspicture}(0,.5)(13,4) |
| 1671 |
\pnodes(1,1){I_U}(1,3){I_O}(2.5,1){C}(2.5,3){D}(4,1){K_LU}(4,3){K_LO}(7,1){K_RU}% |
| 1672 |
(7,3){K_RO}(9,3){E}(7.3,3){K_RO1}(7.3,1){K_RU1}(11,3){F}(12,1){O_U}(12,3){O_O} |
| 1673 |
\tension[labeloffset=-0.5](I_O)(I_U){$\underline{u}$} |
| 1674 |
\wire[arrows=o-](I_U)(C) |
| 1675 |
\wire[intensitylabel=$\underline{i}$, arrows=o-](I_O)(D) |
| 1676 |
\capacitor[labeloffset=.9](C)(D){$C_B$} |
| 1677 |
\qdisk(C){2pt} \qdisk(D){2pt} |
| 1678 |
\wire(C)(K_LU) |
| 1679 |
\wire[intensitylabel=$\underline{i}_W$](D)(K_LO) |
| 1680 |
\quadripole(K_LO)(K_LU)(K_RO)(K_RU){\parbox{3cm}{% |
| 1681 |
\begin{align*} |
| 1682 |
\underline{u} &= \frac{\underline{p}}{X} \\[2ex] |
| 1683 |
\underline{i}_W &= X \underline{q}_U |
| 1684 |
\end{align*}}} |
| 1685 |
\wire(K_RO)(K_RO1) |
| 1686 |
\tension[labeloffset=0.5](K_RO1)(K_RU1){$\underline{p}$} |
| 1687 |
\coil[dipolestyle=rectangle](K_RO)(E){$M_{a,K}$} |
| 1688 |
\capacitor(E)(F){$N_{a,K}$} |
| 1689 |
\wire[intensitylabel=$\underline{q}_U$,arrows=-o](F)(O_O) |
| 1690 |
\wire[arrows=-o](K_RU)(O_U) |
| 1691 |
\tension[labeloffset=0.5](O_O)(O_U){$\underline{p}_U$} |
| 1692 |
\end{pspicture} |
| 1693 |
\end{LTXexample} |
| 1694 |
|
| 1695 |
|
| 1696 |
|
| 1697 |
|
| 1698 |
\begin{LTXexample}[width=8.5cm] |
| 1699 |
\begin{pspicture}(-0.25,-0.25)(6,6) |
| 1700 |
\pnodes(0,3){A}(3,3){B}(6,3){C} |
| 1701 |
% Dipole node connections |
| 1702 |
\coil[intensitylabel=$i$](A)(B){$L$} |
| 1703 |
\coil[intensitylabel=$i'$,intensitycolor=green,% |
| 1704 |
parallel,parallelarm=2](B)(C){$L'$} |
| 1705 |
\capacitor[parallel,parallelarm=-2](B)(C){$C$} |
| 1706 |
\end{pspicture} |
| 1707 |
\end{LTXexample} |
| 1708 |
|
| 1709 |
\begin{LTXexample}[pos=t] |
| 1710 |
\begin{pspicture}(6,6) |
| 1711 |
\pnodes(0,0){A}(6,0){B}(0.3,4){Cprime}(5.7,4){Dprime}(2.5,4){Gprime}% |
| 1712 |
(2.5,0){Hprime}(0,4){C}(6,4){D}(0.3,6){E}(5.7,6){F}(4,6){G}(4,0){H} |
| 1713 |
\multidipole(G)(H)% |
| 1714 |
\wire[intersect, |
| 1715 |
intersectA=C,intersectB=D] |
| 1716 |
\resistor{$R'_3$}. |
| 1717 |
\resistor(E)(G){$R'_1$} |
| 1718 |
\resistor(G)(F){$R'_2$} |
| 1719 |
\multidipole(C)(D)\resistor{$R_1$}% |
| 1720 |
\wire\resistor{$R_2$}. |
| 1721 |
\wire(A)(B)\wire(Cprime)(E) |
| 1722 |
\wire(Dprime)(F) |
| 1723 |
\resistor(Hprime)(Gprime){$R_3$} |
| 1724 |
\end{pspicture} |
| 1725 |
\end{LTXexample} |
| 1726 |
|
| 1727 |
|
| 1728 |
|
| 1729 |
\begin{LTXexample}[pos=t] |
| 1730 |
\begin{pspicture}(0,-0.25)(9,11) |
| 1731 |
\pnodes(0,0){A}(9,0){B}(0,6){C}(9,6){D}(4.5,1){E}(4.5,10.5){F} |
| 1732 |
\switch(A)(C){$K$} |
| 1733 |
\multidipole(A)(B)\resistor{$R$}\battery[intensitylabel=$i$]{$V$}. |
| 1734 |
\wire(B)(D) |
| 1735 |
\multidipole(C)(D)\diode{$D$}\wire. |
| 1736 |
\resistor[tensionlabel=$U_1$](C)(F){$R_1$} \resistor(C)(E){$R_4$} |
| 1737 |
\capacitor[parallel,parallelarm=1.2,parallelsep=1.5](C)(E){$C_2$} |
| 1738 |
\coil(E)(D){$L$} |
| 1739 |
\capacitor[parallel,parallelarm=1.2,parallelsep=1.5](E)(D){$C_3$} |
| 1740 |
\capacitor[tensionlabel=$U_2$](F)(D){$C_1$} |
| 1741 |
\multidipole(E)(F)\wire\wire[intersect,intersectA=C,intersectB=D]% |
| 1742 |
\circledipole[labeloffset=-0.7]{$E$}% |
| 1743 |
\resistor[parallel,parallelsep=.6,parallelarm=.8]{$R$}. |
| 1744 |
\end{pspicture} |
| 1745 |
\end{LTXexample} |
| 1746 |
|
| 1747 |
\begin{LTXexample}[pos=t] |
| 1748 |
\begin{pspicture}(0,-0.2)(13,8) |
| 1749 |
\psset{intensitycolor=red,intensitylabelcolor=red,tensioncolor=green, |
| 1750 |
tensionlabelcolor=green, intensitywidth=3pt} |
| 1751 |
\circledipole[tension,tensionlabel=$U_0$, |
| 1752 |
tensionoffset=0.75,labeloffset=0](0,0)(0,6){\LARGE\textbf{=}} |
| 1753 |
\wire[intensity,intensitylabel=$i_0$](0,6)(2.5,6) |
| 1754 |
\diode[dipolestyle=thyristor](2.5,6)(4.5,6){$T_1$} |
| 1755 |
\wire[intensity,intensitylabel=$i_1$](4.5,6)(6.5,6) |
| 1756 |
\multidipole(6.5,7.5)(2.5,7.5)% |
| 1757 |
\coil[dipolestyle=rectangle,labeloffset=-0.75]{$L_5$}% |
| 1758 |
\diode[labeloffset=-0.75]{$D_5$}. |
| 1759 |
\wire[intensity,intensitylabel=$i_5$](6.5,6)(6.5,7.5) |
| 1760 |
\wire(2.5,7.5)(2.5,3) |
| 1761 |
\wire[intensity,intensitylabel=$i_c$](2.5,4.5)(2.5,6) |
| 1762 |
\qdisk(2.5,6){2pt}\qdisk(6.5,6){2pt} |
| 1763 |
\diode[dipolestyle=thyristor](2.5,4.5)(4.5,4.5){$T_2$} |
| 1764 |
\wire[intensity,intensitylabel=$i_2$](4.5,4.5)(6.5,4.5) |
| 1765 |
\capacitor[tension,tensionlabel=$u_c$,tensionoffset=-0.75, |
| 1766 |
tensionlabeloffset=-1](6.5,4.5)(6.5,6){$C_k$} |
| 1767 |
\qdisk(2.5,4.5){2pt}\qdisk(6.5,4.5){2pt} |
| 1768 |
\wire[intensity,intensitylabel=$i_3$](6.5,4.5)(6.5,3) |
| 1769 |
\multidipole(6.5,3)(2.5,3)% |
| 1770 |
\coil[dipolestyle=rectangle,labeloffset=-0.75]{$L_3$}% |
| 1771 |
\diode[labeloffset=-0.75]{$D_3$}. |
| 1772 |
\wire(6.5,6)(9,6)\qdisk(9,6){2pt} |
| 1773 |
\diode(9,0)(9,6){$D_4$} |
| 1774 |
\wire[intensity,intensitylabel=$i_4$](9,3.25)(9,6) |
| 1775 |
\wire[intensity,intensitylabel=$i_a$](9,6)(11,6) |
| 1776 |
\multidipole(11,6)(11,0)% |
| 1777 |
\resistor{$R_L$} |
| 1778 |
\coil[dipolestyle=rectangle]{$L_L$} |
| 1779 |
\circledipole[labeloffset=0,tension,tensionoffset=0.7,tensionlabel=$U_B$]{\LARGE\textbf{=}}. |
| 1780 |
\wire(0,0)(11,0)\qdisk(9,0){2pt} |
| 1781 |
\pnode(12.5,5.5){A}\pnode(12.5,0.5){B} |
| 1782 |
\tension(A)(B){$u_a$} |
| 1783 |
\end{pspicture} |
| 1784 |
\end{LTXexample} |
| 1785 |
|
| 1786 |
|
| 1787 |
\makeatletter |
| 1788 |
% |
| 1789 |
\def\REG{\@ifnextchar[{\pst@REG}{\pst@REG[]}} |
| 1790 |
% |
| 1791 |
\def\pst@REG[#1](#2)(#3)(#4)#5{{% |
| 1792 |
\psset{dimen=middle,arm=0}% |
| 1793 |
\psset{#1} |
| 1794 |
\pst@getcoor{#2}\pst@tempa |
| 1795 |
\pst@getcoor{#3}\pst@tempb |
| 1796 |
\pst@getcoor{#4}\pst@tempc |
| 1797 |
\pnode(!% |
| 1798 |
\pst@tempa /Y1 exch \pst@number\psyunit div def |
| 1799 |
/X1 exch \pst@number\psxunit div def |
| 1800 |
\pst@tempb /Y2 exch \pst@number\psyunit div def |
| 1801 |
/X2 exch \pst@number\psxunit div def |
| 1802 |
\pst@tempc /Y3 exch \pst@number\psyunit div def |
| 1803 |
/X3 exch \pst@number\psxunit div def |
| 1804 |
/XC X1 X2 add 2 div def |
| 1805 |
/YC Y1 2 mul Y3 add 3 div def |
| 1806 |
/Xin XC 1 sub def |
| 1807 |
/Yin YC 0.5 add def |
| 1808 |
/Xout XC 1 add def |
| 1809 |
/Yout Yin def |
| 1810 |
/Xref XC def |
| 1811 |
/Yref YC 1 sub def |
| 1812 |
XC YC){C@} |
| 1813 |
\pnode(! Xin Yin){in@} |
| 1814 |
\pnode(! Xout Yout){out@} |
| 1815 |
\pnode(! Xref Yref){ref@} |
| 1816 |
\rput(C@){\pst@draw@REG} |
| 1817 |
\ncangle{#2}{in@} |
| 1818 |
\ncangle{#3}{out@} |
| 1819 |
\ncangle{#4}{ref@} |
| 1820 |
\rput(C@){#5} |
| 1821 |
}\ignorespaces} |
| 1822 |
% |
| 1823 |
\def\pst@draw@REG{% |
| 1824 |
\begingroup |
| 1825 |
\psset{linewidth=1.5\pslinewidth}% |
| 1826 |
\psframe(-1,-0.5)(1,0.75) |
| 1827 |
\psline(-1.5,0.5)(-1,0.5) |
| 1828 |
\psline(1.5,0.5)(1,0.5) |
| 1829 |
\psline(0,-0.5)(0,-1) |
| 1830 |
\endgroup |
| 1831 |
} |
| 1832 |
% |
| 1833 |
\makeatother |
| 1834 |
|
| 1835 |
The following example was written by Manuel Luque. |
| 1836 |
|
| 1837 |
\begin{LTXexample}[pos=t] |
| 1838 |
\begin{pspicture}(0,-0.5)(14,4) |
| 1839 |
\pnodes(0,-0.50){B}(0,3){A}(2.5,3.5){C}(2.5,-0.5){D}(5,3){E}(6.5,1.5){F}(5,0){G}% |
| 1840 |
(3.5,1.5){H}(8,2.5){I}(8,1){J}(10,2.5){K}(10,1){L}(14,2.5){M}(12,1){N}% |
| 1841 |
(3,1){H'}(14,2.5){O}(14,1){P}(13.5,1){Q} |
| 1842 |
\transformer[transformeriprimarylabel=$i_1$,transformerisecondarylabel=$i_2$, |
| 1843 |
primarylabel=$n_1$,secondarylabel=$n_2$](A)(B)(C)(D){$T_1$} |
| 1844 |
{\psset{fillstyle=solid,fillcolor=black} |
| 1845 |
\diode(H)(E){}\diode(H)(G){} \diode(E)(F){}\diode(G)(F){}} |
| 1846 |
\capacitor[dipolestyle=chemical](I)(J){} \capacitor(K)(L){} |
| 1847 |
\REG(K)(M)(N){\shortstack{\textsf{\textbf{\large LM7805}}\\\textbf{+5V}}} |
| 1848 |
\ncangle{I}{F}\psline(I)(K) \ncangle{E}{C}\ncangle{G}{D} |
| 1849 |
\ncangle[arm=0]{P}{Q} \ncangle[arm=0]{H}{H'} |
| 1850 |
\ground(H')\ground(J)\ground(L)\ground(N)\ground(Q) |
| 1851 |
\psdots(A)(B)(P)(O)(G)(H)(F)(I)(K)(E) |
| 1852 |
\end{pspicture} |
| 1853 |
\end{LTXexample} |
| 1854 |
|
| 1855 |
|
| 1856 |
|
| 1857 |
The following example was written by Lionel Cordesses. |
| 1858 |
|
| 1859 |
|
| 1860 |
\begin{LTXexample}[pos=t] |
| 1861 |
\begin{pspicture}(11,3) |
| 1862 |
\psset{dipolestyle=elektor} |
| 1863 |
\pnodes(1,2){Vin}(0.5,2){S}(0.5,0){Sm}(2.5,2){A}(4.5,2){B}(6.5,2){C}(8,2){Cd}% |
| 1864 |
(8.5,2){D}(9.5,2){E}(2.5,0){Am}(4.5,0){Bm}(6.5,0){Cm}(8.5,0){Dm}(9.5,0){Em} |
| 1865 |
\Ucc[labeloffset=0.9](Sm)(S){$V_{in}$}\resistor(Vin)(A){$R$} |
| 1866 |
\capacitor(A)(Am){$C_1$} \capacitor(B)(Bm){$C_3$} |
| 1867 |
\capacitor[labeloffset=-0.7](D)(Dm){$C_n$}\resistor(E)(Em){$R$} |
| 1868 |
\coil(A)(B){$L_2$}\coil(B)(C){$L_4$} |
| 1869 |
\wire(Am)(Bm)\wire(Bm)(Cm)\wire(Cm)(Dm)\wire(Dm)(Em)\wire(D)(E) |
| 1870 |
\wire(Cd)(D)\psline[linestyle=dashed](C)(Cd) |
| 1871 |
\wire(S)(Vin)\wire(Sm)(Am) |
| 1872 |
\psdots(D)(Dm)(A)(Am)(B)(Bm) |
| 1873 |
\end{pspicture} |
| 1874 |
\end{LTXexample} |
| 1875 |
|
| 1876 |
The following example was written by Christian Hoffmann. |
| 1877 |
|
| 1878 |
\begin{LTXexample}[pos=t] |
| 1879 |
\SpecialCoor |
| 1880 |
\begin{pspicture}(0,-1)(7,6.5)% |
| 1881 |
\pnodes(0,6){plus}(3,3){basis}([nodesep=-2] basis){schalter}(0,0){masse} |
| 1882 |
\wire[arrows=o-*](plus)(basis|plus) |
| 1883 |
\uput[l](plus){$U_0$} |
| 1884 |
\resistor[labeloffset=.8](basis|plus)(basis){$R_1$} |
| 1885 |
\transistor[basesep=2cm](basis){emitter}{kollektor} |
| 1886 |
\wire[arrows=-*](schalter)(basis) |
| 1887 |
% \wire(basis)([nodesep=2] basis) |
| 1888 |
\wire(TBaseNode)(basis) |
| 1889 |
\switch(schalter|masse)(schalter){S} |
| 1890 |
\lamp(kollektor|plus)(kollektor){L} |
| 1891 |
\resistor(kollektor|plus)(basis|plus){$R_2$} |
| 1892 |
\wire(emitter)(emitter|masse) |
| 1893 |
\wire(emitter|masse)(basis|masse) |
| 1894 |
\capacitor(basis)(basis|masse){$C_1$} |
| 1895 |
\wire[arrows=*-](basis|masse)(schalter|masse) |
| 1896 |
\wire[arrows=*-o](schalter|masse)(masse) |
| 1897 |
\end{pspicture} |
| 1898 |
\end{LTXexample} |
| 1899 |
|
| 1900 |
\begin{LTXexample}[pos=t] |
| 1901 |
\psset{mathlabel} |
| 1902 |
\def\pcTran(#1)(#2){\psline(#1)(#2|#1)(#2)}% only 2 segements |
| 1903 |
\psset{circedge=\pcTran,connectingdot=false} |
| 1904 |
|
| 1905 |
\begin{pspicture}(10,10) |
| 1906 |
\pnodes(1,1){G1}(6,1){G2}(7.5,1){G3} |
| 1907 |
\newground[arrows=o](G1)\newground(G2)\newground(G3) |
| 1908 |
\pnodes(1,3){D1u}(7,3){T1B}(0,3){IB}(4,4){T2B} |
| 1909 |
\newdiode(G1)(D1u){D1}\qdisk(D1u){2pt} |
| 1910 |
\transistor[TRot=270,arrows=-o](T2B)(IB)(T1B) |
| 1911 |
\pnode(8,7){O1}%junction to out |
| 1912 |
\transistor(T1B)(G3)(O1) |
| 1913 |
\pnodes(1,6){D2u}(1,4){G4} |
| 1914 |
\newground(G4) |
| 1915 |
\newdiode(G4)(D2u){D2}\qdisk(D2u){2pt} |
| 1916 |
\pnodes(2.5,7){T4B}(0,6){IA}(5.5,5){T3B}(6,7){R3d} |
| 1917 |
\transistor[TRot=270,arrows=-o](T4B)(IA)(T3B)\uput[90](IA){$\mathtt{A}$} |
| 1918 |
\transistor(T3B)(G2)(R3d)\uput[90](IB){$\mathtt{B}$} |
| 1919 |
\pnodes(2.5,10){VCC1}(4,10){VCC2}(6,10){VCC3} |
| 1920 |
\resistor[arrows=o-,labeloffset=0.8](VCC1)(T4B){4{,}7k\Omega} |
| 1921 |
\resistor[arrows=o-,labeloffset=0.8](VCC2)(T2B){4{,}7k\Omega} |
| 1922 |
\resistor[arrows=o-](VCC3)(R3d){100\Omega} |
| 1923 |
\wire[arrows=*-o](R3d)(O1) |
| 1924 |
\uput[90](O1){$\mathtt{OUT}$} \qdisk(7.5,7){2pt} |
| 1925 |
\end{pspicture} |
| 1926 |
\end{LTXexample} |
| 1927 |
|
| 1928 |
|
| 1929 |
\begin{LTXexample}[pos=t] |
| 1930 |
% Example by Carlos Marcelo de Oliveira Stein |
| 1931 |
\begin{pspicture}(-1.0,-0.2)(15.8,5.8) |
| 1932 |
\pnode(0.5,0.0){A} \pnode(0.5,2.8){B} \pnode(0.5,5.6){C} \pnode(3.0,0.0){D} |
| 1933 |
\pnode(3.0,2.8){E} \pnode(3.0,5.6){F} \pnode(4.8,0.0){G} \pnode(4.8,5.6){H} |
| 1934 |
\pnode(6.6,0.0){I} \pnode(6.6,5.6){J} |
| 1935 |
\vac(B)(E){$V_{in}$} |
| 1936 |
\newdiode(B)(C){$D_1$} |
| 1937 |
\newdiode[ison=false](E)(F){$D_2$} |
| 1938 |
\newdiode[ison=false](A)(B){$D_3$} |
| 1939 |
\newdiode(D)(E){$D_4$} |
| 1940 |
\newcapacitor(G)(H){$C$} |
| 1941 |
\newarmature[labelInside=1](I)(J){} |
| 1942 |
\wire(C)(F) \wire(A)(D) \wire(D)(G) \wire(I)(G) \wire(F)(H) \wire(H)(J) |
| 1943 |
\pscircle*(B){3\pslinewidth} \pscircle*(E){3\pslinewidth} \pscircle*(F){3\pslinewidth} |
| 1944 |
\pscircle*(D){3\pslinewidth} \pscircle*(G){3\pslinewidth} \pscircle*(H){3\pslinewidth} |
| 1945 |
|
| 1946 |
\pnode(9.0,0.0){K} \pnode(9.0,2.8){L} \pnode(9.0,5.6){M} \pnode(11.5,0.0){N} |
| 1947 |
\pnode(11.5,2.8){O} \pnode(11.5,5.6){P} \pnode(13.3,0.0){Q} \pnode(13.3,5.6){R} |
| 1948 |
\pnode(15.1,0.0){S} \pnode(15.1,5.6){T} |
| 1949 |
\vac(L)(O){$V_{in}$} |
| 1950 |
\newdiode[ison=false](L)(M){$D_1$} |
| 1951 |
\newdiode(O)(P){$D_2$} |
| 1952 |
\newdiode(K)(L){$D_3$} |
| 1953 |
\newdiode[ison=false](N)(O){$D_4$} |
| 1954 |
\newcapacitor(Q)(R){$C$} |
| 1955 |
\newarmature[labelInside=1](S)(T){} |
| 1956 |
\wire(M)(P) \wire(K)(N) \wire(N)(Q) \wire(S)(Q) \wire(P)(R) \wire(R)(T) |
| 1957 |
\pscircle*(L){3\pslinewidth} \pscircle*(O){3\pslinewidth} \pscircle*(P){3\pslinewidth} |
| 1958 |
\pscircle*(N){3\pslinewidth} \pscircle*(Q){3\pslinewidth} \pscircle*(R){3\pslinewidth} |
| 1959 |
\end{pspicture} |
| 1960 |
\end{LTXexample} |
| 1961 |
|
| 1962 |
\begin{LTXexample}[pos=l] |
| 1963 |
\begin{pspicture}(-1,-1)(4,4) |
| 1964 |
\vac[labeloffset=-0.7](0,0)(4,0){$\backslash$vac} |
| 1965 |
\vac[labeloffset=1](0,0)(2,3.464){$\backslash$vac} |
| 1966 |
\vac[labeloffset=1](2,3.464)(4,0){$\backslash$vac} |
| 1967 |
\end{pspicture} |
| 1968 |
\end{LTXexample} |
| 1969 |
|
| 1970 |
|
| 1971 |
\begin{landscape} |
| 1972 |
|
| 1973 |
\subsubsection{Circuit to harvest Solar Energy} |
| 1974 |
\resizebox{\linewidth}{!}{% |
| 1975 |
\begin{pspicture}[labelangle=:U, showgrid=false](40,10) |
| 1976 |
\pnodes(1.75, 1){A}(3, 1){B}(3, 3.5){C}(4, 3.5){D}(6, 3.5){E}(6, 4.5){F}(3, 5.5){G}(6, 6){H}% |
| 1977 |
(2.5, 6.5){I}(2.5, 8.5){J}(0.5, 6.5){K}(0, 6.5){K1}(8.5, 6){L}(8.5, 5.5){L1}(8.5, 7){M}% |
| 1978 |
(8.5, 9){N}(8.5, 3.5){O}(7.25, 3.5){P}(11, 6){Q}(11, 4){R}(11, 3.5){S}(13, 6){T}% |
| 1979 |
(13, 5){U}(16, 5.5){V}(13, 3.5){W}(13, 1){X}(11.75, 1){X1}(17.5, 3.5){Y}(17.5, 5.5){Z}% |
| 1980 |
(20, 5.5){AA}(20, 6.5){AA1}(20, 5){AA2}(17.5, 9){BB}(22.5, 5.5){CC}(20, 3){DD}(20, 8.5){EE}% |
| 1981 |
(22.5, 3.5){FF}(22.5, 3){FF1}(18.75, 3){GG}(25, 5.5){HH}(25, 4.5){II}(28, 5){JJ}(25, 3){KK}% |
| 1982 |
(25, 0.5){LL}(23.75, 0.5){MM}(27, 3){NN}(29.5, 3){OO}(29.5, 5){PP}(29.5, 8.5){QQ}(31.5, 5){RR}(32.5, 5){SS} |
| 1983 |
% |
| 1984 |
\newground [groundstyle=triangle]{180}(A) \rput(1.75, 2.2){+5} |
| 1985 |
\wire(A)(B) |
| 1986 |
\cell(B)(C){} |
| 1987 |
\wire[linecolor=blue](C)(D) |
| 1988 |
\potentiometer [dipolestyle =zigzag ,labelangle =:U, labeloffset=-0.6, linecolor=blue](D)(E)(F){\textcolor{blue}{$\SI{10}{\kilo\ohm}$}} |
| 1989 |
\wire[arrows=-*, linecolor=blue](E)(F) %$ |
| 1990 |
\wire(C)(G) |
| 1991 |
\wire[arrows=-*](F)(H) |
| 1992 |
\OA[OAperfect=false, OAinvert=false](I)(G)(H) |
| 1993 |
\cell(I)(J){} |
| 1994 |
\capacitor[labelangle =0, labeloffset=-0.8](K)(I){$\SI{1}{\micro\farad}$} |
| 1995 |
\wire[arrows=-o](K)(K1) |
| 1996 |
\psarc(0, 6.5){0.15}{90}{-90} |
| 1997 |
\newground(0, 6.35) |
| 1998 |
\newground [groundstyle=triangle]{180}(J) |
| 1999 |
\resistor[arrows=-*, dipolestyle =zigzag ,labelangle =0, labeloffset=0.6](H)(L){$\SI{8.45}{\kilo\ohm}~ 1\%$} |
| 2000 |
\wire(L)(M) |
| 2001 |
\capacitor[labelangle =0, labeloffset=-0.8](M)(N){$\SI{1}{\nano\farad}$} |
| 2002 |
\wire(L)(L1) |
| 2003 |
\resistor[arrows=*-, dipolestyle =zigzag ,labelangle =0, labeloffset=-1.2](O)(L1){$\SI{102}{\kilo\ohm}~ 1\%$} |
| 2004 |
\wire(O)(P) |
| 2005 |
\newground [groundstyle=triangle]{180}(P) |
| 2006 |
\resistor[arrows=-*, dipolestyle =zigzag ,labelangle =0, labeloffset=0.6](L)(Q){$\SI{7.15}{\kilo\ohm}~ 1\%$} |
| 2007 |
\capacitor[labelangle =0, labeloffset=-0.8](R)(Q){$\SI{1}{\nano\farad}$} |
| 2008 |
\wire(O)(S)\wire(S)(R)\wire(Q)(T) |
| 2009 |
\OA[OAperfect=false, OAinvert=false, OApower = true](T)(U)(V) |
| 2010 |
\rput(2.5, 9.7){+5} |
| 2011 |
\rput(7.2, 4.7){+5} |
| 2012 |
\newground [groundstyle=triangle]{180}(14.5, 6) |
| 2013 |
\rput(14.5, 7.2){+12} |
| 2014 |
\newground(14.5, 5) |
| 2015 |
\wire[arrows = -*](U)(W) |
| 2016 |
\cell(X)(W){} |
| 2017 |
\wire(X)(X1) |
| 2018 |
\newground [groundstyle=triangle]{180}(X1) |
| 2019 |
\rput(11.75, 2.3){+5} |
| 2020 |
\wire(W)(15, 3.5) |
| 2021 |
\resistor[dipolestyle =zigzag](15, 3.5)(Y){$\SI{1}{\kilo\ohm}~ 1\%$} |
| 2022 |
\wire[arrows = -*](Y)(Z) |
| 2023 |
\wire(V)(Z) |
| 2024 |
\resistor[dipolestyle =zigzag, arrows =-*](Z)(AA){$\SI{17.4}{\kilo\ohm}~ 1\%$} |
| 2025 |
\wire(N)(BB) |
| 2026 |
\wire(BB)(Z) |
| 2027 |
\resistor[dipolestyle =zigzag, arrows =-*](AA)(CC){$\SI{4.12}{\kilo\ohm}~ 1\%$} |
| 2028 |
\wire(AA)(AA2) |
| 2029 |
\resistor[dipolestyle =zigzag ,labelangle =0, labeloffset=1.1, arrows =-*](AA2)(DD){$\SI{28}{\kilo\ohm}~ 1\%$} |
| 2030 |
\wire(AA)(AA1) |
| 2031 |
\capacitor[labelangle =0, labeloffset=-0.8](AA1)(EE){$\SI{1}{\nano\farad}$} |
| 2032 |
\capacitor[labelangle =0, labeloffset=0.8](CC)(FF){$\SI{1}{\nano\farad}$} |
| 2033 |
\wire(FF)(FF1) |
| 2034 |
\wire(FF1)(GG) |
| 2035 |
\newground [groundstyle=triangle]{180}(GG) |
| 2036 |
\rput(18.75, 4.2){+5} |
| 2037 |
\wire(CC)(HH) |
| 2038 |
\OA[OAperfect=false, OAinvert=false](HH)(II)(JJ) |
| 2039 |
\wire[arrows=-*](II)(KK) |
| 2040 |
\cell(LL)(KK){} |
| 2041 |
\wire(LL)(MM) |
| 2042 |
\newground [groundstyle=triangle]{180}(MM) |
| 2043 |
\rput(23.75, 1.7){+5} |
| 2044 |
\wire(KK)(NN) |
| 2045 |
\resistor[dipolestyle =zigzag](NN)(OO){$\SI{1}{\kilo\ohm}~ 1\%$} |
| 2046 |
\wire(OO)(PP) |
| 2047 |
\wire[arrows = -*](JJ)(PP) |
| 2048 |
\wire(EE)(QQ) |
| 2049 |
\wire(QQ)(PP) |
| 2050 |
\resistor[dipolestyle =zigzag](PP)(RR){$\SI{47}{\kilo\ohm}$} |
| 2051 |
\wire[arrows=-o](RR)(SS) |
| 2052 |
%% OP AMP PINS |
| 2053 |
\rput(3.2, 6.7){\texttt{10}} |
| 2054 |
\rput(3.2, 5.7){\texttt{9}} |
| 2055 |
\rput(5.7, 6.2){\texttt{8}} |
| 2056 |
\rput(13.2, 6.2){\texttt{3}} |
| 2057 |
\rput(13.2, 5.2){\texttt{2}} |
| 2058 |
\rput(15.7, 5.7){\texttt{1}} |
| 2059 |
\rput(14.7, 6.2){\texttt{4}} |
| 2060 |
\rput(14.7, 4.8){\texttt{11}} |
| 2061 |
\rput(25.2, 5.7){\texttt{5}} |
| 2062 |
\rput(25.2, 4.7){\texttt{6}} |
| 2063 |
\rput(27.7, 5.2){\texttt{7}} |
| 2064 |
\end{pspicture}} |
| 2065 |
|
| 2066 |
\subsubsection{Amplificator for hearing aid} |
| 2067 |
\scalebox{0.7}{% |
| 2068 |
\begin{pspicture}[showgrid=false](-0.5, -0.5)(25,10) |
| 2069 |
\pnodes(0, 1){A}(-0.1, 2){BC}(0, 2){B}(2, 1.5){C}(6, 1.5){D}(4, 4.5){E}(0, 7.5){F}% |
| 2070 |
(6, 7.5){G}(0, 5){AA}(0, 6){BB}(2, 5.5){CC}(2.5, 5.5){DD}(2.5, 3.5){EE}(6, 5){H}% |
| 2071 |
(7.5, 5){HH}(7.5, 3){HK}(9, 4){I}(9, 5){II}(11.5, 4.5){J}(9, 6.5){K}(11.5, 6.5){KL}% |
| 2072 |
(13, 3.5){L}(15, 4){M}(19, 4){N}(19, 7){O}(13, 7){LL}(13, 8){JJ}(13, 9.5){PP}% |
| 2073 |
(15, 7.5){MM}(15.5, 7.5){NN}(15.5, 6){OO}(19, 9.5){PQ}(17, 6.5){QQ}(19, 7){RR}% |
| 2074 |
(20.5, 7){P}(20.5, 5.5){Q}(22, 7){R}(22, 6){S}(24.5, 6.5){T}(22, 8.5){U}(24.5, 8.5){V}% |
| 2075 |
(25, 6.5){TT} |
| 2076 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2077 |
% Première cellule |
| 2078 |
|
| 2079 |
\wire[arrows=o-](BC)(B) |
| 2080 |
\GM[GMinvert=false](B)(A)(C) |
| 2081 |
\newground[connectingdot=false, groundstyle=triangle](A) |
| 2082 |
\wire(C)(D) |
| 2083 |
\wire(BB)(F) |
| 2084 |
\wire(F)(G) |
| 2085 |
\wire[arrows=-*](G)(H) |
| 2086 |
\GM[GMinvert=false](BB)(AA)(CC) |
| 2087 |
\newground[connectingdot=false, groundstyle=triangle](AA) |
| 2088 |
\capacitor[arrows=*-, labeloffset=0.9](DD)(EE){$C_{A1}$} |
| 2089 |
\newground[connectingdot=false, groundstyle=triangle](EE) |
| 2090 |
|
| 2091 |
\GM[GMinvert=true](CC)(E)(H) |
| 2092 |
\newground[connectingdot=false, groundstyle=triangle](E) |
| 2093 |
|
| 2094 |
\wire(D)(H) |
| 2095 |
|
| 2096 |
\capacitor[arrows=*-, labeloffset=0.9](HH)(HK){$C_{B1}$} |
| 2097 |
\newground[connectingdot=false, groundstyle=triangle](HK) |
| 2098 |
|
| 2099 |
\GM[GMinvert=true](H)(I)(J) |
| 2100 |
\newground[connectingdot=false, groundstyle=triangle](I) |
| 2101 |
\wire[arrows=*-](II)(K) |
| 2102 |
\wire(K)(KL) |
| 2103 |
\wire[arrows=-*](KL)(J) |
| 2104 |
% Seconde cellule |
| 2105 |
|
| 2106 |
\GM[GMinvert=false](J)(L)(M) |
| 2107 |
\newground[connectingdot=false, groundstyle=triangle](L) |
| 2108 |
\GM[GMinvert=false](J)(L)(M) |
| 2109 |
\newground[connectingdot=false, groundstyle=triangle](L) |
| 2110 |
\wire(M)(N) |
| 2111 |
\wire(N)(O) |
| 2112 |
|
| 2113 |
\GM[GMinvert=false](JJ)(LL)(MM) |
| 2114 |
\newground[connectingdot=false, groundstyle=triangle](LL) |
| 2115 |
\capacitor[arrows=*-, labeloffset=0.9](NN)(OO){$C_{A2}$} |
| 2116 |
\newground[connectingdot=false, groundstyle=triangle](OO) |
| 2117 |
\wire(JJ)(PP) |
| 2118 |
\wire(PP)(PQ) |
| 2119 |
\wire[arrows=-*](PQ)(RR) |
| 2120 |
\GM[GMinvert=false](MM)(QQ)(RR) |
| 2121 |
\newground[connectingdot=false, groundstyle=triangle](QQ) |
| 2122 |
|
| 2123 |
\capacitor[arrows=*-, labeloffset=0.9](P)(Q){$C_{B2}$} |
| 2124 |
\newground[connectingdot=false, groundstyle=triangle](Q) |
| 2125 |
|
| 2126 |
\GM[GMinvert=false](RR)(S)(T) |
| 2127 |
\newground[connectingdot=false, groundstyle=triangle](S) |
| 2128 |
\wire[arrows=*-](R)(U) |
| 2129 |
\wire(U)(V) |
| 2130 |
\wire[arrows=-*](V)(T) |
| 2131 |
\wire[arrows=-o](T)(TT) |
| 2132 |
|
| 2133 |
|
| 2134 |
|
| 2135 |
%%%%%%%%%%% |
| 2136 |
\rput[B](1, 0.1){$Gm_{5,1}$} |
| 2137 |
\rput[B](1, 4.1){$Gm_{1,1}$} |
| 2138 |
\rput[B](5, 3.6){$Gm_{2,1}$} |
| 2139 |
\rput[B](10.25, 3.1){$Gm_{3,1}$} |
| 2140 |
\rput[B](14, 2.6){$Gm_{5,2}$} |
| 2141 |
\rput[B](14, 6.1){$Gm_{1,2}$} |
| 2142 |
\rput[B](18, 5.6){$Gm_{2,2}$} |
| 2143 |
\rput[B](23.25, 5.1){$Gm_{3,2}$} |
| 2144 |
|
| 2145 |
\uput{0.2}[180](BC){\textbf{$V_{IN}$}} |
| 2146 |
\uput{0.2}[0](TT){\textbf{$V_{OUT}$}} |
| 2147 |
|
| 2148 |
\end{pspicture} |
| 2149 |
} |
| 2150 |
|
| 2151 |
\end{landscape} |
| 2152 |
|
| 2153 |
|
| 2154 |
|
| 2155 |
|
| 2156 |
|
| 2157 |
|
| 2158 |
|
| 2159 |
\clearpage |
| 2160 |
|
| 2161 |
|
| 2162 |
\section{Microwave symbols} |
| 2163 |
Since for microwave signal, the direction in which the signal spreads is very important, |
| 2164 |
There are dipoleinput or tripoleinput or quadripoleinput and arrowinput parameters. |
| 2165 |
The value of theses parameters are left or right for the first one and true or false for second one. |
| 2166 |
|
| 2167 |
%\xLcs{ifPst@inputarrow} |
| 2168 |
\xLcs{pcline} |
| 2169 |
\begin{lstlisting}[style=code] |
| 2170 |
\ifPst@inputarrow |
| 2171 |
\ifx\psk@Dinput\pst@Dinput@right |
| 2172 |
\pcline[arrows=-C](#2)(dipole@1) |
| 2173 |
\pcline[arrows=->,arrowinset=0](#3)(dipole@2) |
| 2174 |
\else |
| 2175 |
\pcline[arrows=->,arrowinset=0](#2)(dipole@1) |
| 2176 |
\pcline[arrows=C-](dipole@2)(#3) |
| 2177 |
\fi |
| 2178 |
\else |
| 2179 |
\pcline[arrows=-C](#2)(dipole@1) |
| 2180 |
\pcline[arrows=C-](dipole@2)(#3) |
| 2181 |
\fi |
| 2182 |
\pcline[fillstyle=none,linestyle=none](#2)(#3) |
| 2183 |
\end{lstlisting} |
| 2184 |
|
| 2185 |
The last line is to correct some problems when I use colors (see example2) |
| 2186 |
To add color in components (Monopole, tripole and Quadripole), there is a new |
| 2187 |
argument. |
| 2188 |
\Lcs{multidipole} also works: |
| 2189 |
|
| 2190 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2191 |
\begin{pspicture}(4,2) |
| 2192 |
\pnodes(0.5,1){A}(3.5,1){B} |
| 2193 |
\multidipole(A)(B)\filter{BPF}% |
| 2194 |
\resistor{$R$}. |
| 2195 |
\end{pspicture} |
| 2196 |
\end{LTXexample} |
| 2197 |
|
| 2198 |
\bigskip |
| 2199 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2200 |
\begin{pspicture}(4,2) |
| 2201 |
\pnodes(0.5,1){A}(3.5,1){B} |
| 2202 |
\multidipole(A)(B)\amplifier{LNA}% |
| 2203 |
\resistor{$R$}. |
| 2204 |
\end{pspicture} |
| 2205 |
\end{LTXexample} |
| 2206 |
|
| 2207 |
|
| 2208 |
\subsection{New monopole components} |
| 2209 |
\subsubsection{New ground} |
| 2210 |
\begin{description} |
| 2211 |
\item[\Lkeyword{groundstyle}:] \Lkeyval{ads} | \Lkeyval{old} | \Lkeyval{triangle} |
| 2212 |
\end{description} |
| 2213 |
|
| 2214 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2215 |
\begin{pspicture}(3,2) |
| 2216 |
\pnodes(0.5,1){A}(1,1){B}(2.5,1){C} |
| 2217 |
\newground(A) |
| 2218 |
\newground[groundstyle=old]{135}(B) |
| 2219 |
\newground[linecolor=blue,groundstyle=triangle]{180}(C) |
| 2220 |
\end{pspicture} |
| 2221 |
\end{LTXexample} |
| 2222 |
|
| 2223 |
|
| 2224 |
\subsubsection{Antenna} |
| 2225 |
\begin{description} |
| 2226 |
\item[\Lkeyword{antennastyle}:] \Lkeyval{two} | \Lkeyval{three} | \Lkeyval{triangle} |
| 2227 |
\end{description} |
| 2228 |
|
| 2229 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2230 |
\begin{pspicture}(3,2) |
| 2231 |
\pnode(1,0.5){A} |
| 2232 |
\antenna[antennastyle=three](A) |
| 2233 |
\end{pspicture} |
| 2234 |
\end{LTXexample} |
| 2235 |
|
| 2236 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2237 |
\begin{pspicture}(3,2) |
| 2238 |
\pnode(1,0.5){A} |
| 2239 |
\antenna(A) |
| 2240 |
\end{pspicture} |
| 2241 |
\end{LTXexample} |
| 2242 |
|
| 2243 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2244 |
\begin{pspicture}(3,2) |
| 2245 |
\pnode(1,0.5){A} |
| 2246 |
\antenna[antennastyle=triangle](A) |
| 2247 |
\end{pspicture} |
| 2248 |
\end{LTXexample} |
| 2249 |
|
| 2250 |
|
| 2251 |
\subsection{New monopole macro-components} |
| 2252 |
\subsubsection{Oscillator} |
| 2253 |
\begin{description} |
| 2254 |
\item[\Lkeyword{output}:] \Lkeyval{top} | \Lkeyval{right} | \Lkeyval{bottom} | \Lkeyval{left} |
| 2255 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2256 |
\item[\Lkeyword{LOstyle}:] -- | \Lkeyval{crystal} |
| 2257 |
\end{description} |
| 2258 |
|
| 2259 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2260 |
\begin{pspicture}(3,2) |
| 2261 |
\pnode(1,1){A} |
| 2262 |
\oscillator[output=left,inputarrow=false](A)% |
| 2263 |
{$f_{LO}$}{} |
| 2264 |
\end{pspicture} |
| 2265 |
\end{LTXexample} |
| 2266 |
|
| 2267 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2268 |
\begin{pspicture}(3,2) |
| 2269 |
\pnode(1,1){A} |
| 2270 |
\oscillator[output=top,inputarrow=true,LOstyle=crystal](A)% |
| 2271 |
{f$_{\textrm{LO}}$}{} |
| 2272 |
\end{pspicture} |
| 2273 |
\end{LTXexample} |
| 2274 |
|
| 2275 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2276 |
\begin{pspicture}(3,2) |
| 2277 |
\pnode(1,1){A} |
| 2278 |
\oscillator[output=right,inputarrow=false](A)% |
| 2279 |
{$f_{LO}$}{fillstyle=solid,fillcolor=blue} |
| 2280 |
\end{pspicture} |
| 2281 |
\end{LTXexample} |
| 2282 |
|
| 2283 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2284 |
\begin{pspicture}(3,2) |
| 2285 |
\pnode(1,1){A} |
| 2286 |
\oscillator[output=bottom,inputarrow=false](A)% |
| 2287 |
{$f_{LO}$}{} |
| 2288 |
\end{pspicture} |
| 2289 |
\end{LTXexample} |
| 2290 |
|
| 2291 |
\subsection{New dipole macro-components} |
| 2292 |
\subsubsection{Filters} |
| 2293 |
\begin{description} |
| 2294 |
\item[\Lkeyword{dipolestyle}:] \Lkeyval{bandpass} | \Lkeyval{lowpass} | \Lkeyval{highpass} |
| 2295 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2296 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2297 |
\end{description} |
| 2298 |
|
| 2299 |
\xLcs{filter} |
| 2300 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2301 |
\begin{pspicture}(3,2) |
| 2302 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2303 |
\filter(A)(B){BPF} |
| 2304 |
\end{pspicture} |
| 2305 |
\end{LTXexample} |
| 2306 |
|
| 2307 |
\xLcs{filter} |
| 2308 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2309 |
\begin{pspicture}(3,2) |
| 2310 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2311 |
\filter[dipolestyle=lowpass,fillstyle=solid,% |
| 2312 |
fillcolor=red](A)(B){LPF} |
| 2313 |
\end{pspicture} |
| 2314 |
\end{LTXexample} |
| 2315 |
|
| 2316 |
\xLcs{filter}\xLkeyset{dipolestyle=highpass} |
| 2317 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2318 |
\begin{pspicture}(3,2) |
| 2319 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2320 |
\filter[dipolestyle=highpass,dipoleinput=right, |
| 2321 |
inputarrow=true](A)(B){HPF} |
| 2322 |
\end{pspicture} |
| 2323 |
\end{LTXexample} |
| 2324 |
|
| 2325 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2326 |
\begin{pspicture}(3,2) |
| 2327 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2328 |
\filter[dipolestyle=highpass,inputarrow=true](A)(B){BPF} |
| 2329 |
\end{pspicture} |
| 2330 |
\end{LTXexample} |
| 2331 |
|
| 2332 |
\subsubsection{Isolator} |
| 2333 |
\begin{description} |
| 2334 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2335 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2336 |
\end{description} |
| 2337 |
|
| 2338 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2339 |
\begin{pspicture}(3,2) |
| 2340 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2341 |
\isolator[inputarrow=true](A)(B){} |
| 2342 |
\end{pspicture} |
| 2343 |
\end{LTXexample} |
| 2344 |
|
| 2345 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2346 |
\begin{pspicture}(3,2) |
| 2347 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2348 |
\isolator[dipoleinput=right,inputarrow=true, |
| 2349 |
fillstyle=solid,fillcolor=yellow](A)(B){Isolator} |
| 2350 |
\end{pspicture} |
| 2351 |
\end{LTXexample} |
| 2352 |
|
| 2353 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2354 |
\begin{pspicture}(3,2) |
| 2355 |
\pnode(0,1){A}\pnode(3,1){B} |
| 2356 |
\isolator[dipoleinput=left](A)(B){} |
| 2357 |
\end{pspicture} |
| 2358 |
\end{LTXexample} |
| 2359 |
|
| 2360 |
\subsubsection{Frequency multiplier/divider} |
| 2361 |
\begin{description} |
| 2362 |
\item[\Lkeyword{dipolestyle}:] \Lkeyval{multiplier} | \Lkeyval{divider} |
| 2363 |
\item[\Lkeyword{value}:] \Lkeyval{N} | $n\in N$ |
| 2364 |
\item[\Lkeyword{programmable}:] \false | \true |
| 2365 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2366 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2367 |
\end{description} |
| 2368 |
|
| 2369 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2370 |
\begin{pspicture}(3,2) |
| 2371 |
\pnode(0,1){A}\pnode(3,1){B} |
| 2372 |
\freqmult[dipolestyle=divider,inputarrow=true](A)(B){} |
| 2373 |
\end{pspicture} |
| 2374 |
\end{LTXexample} |
| 2375 |
|
| 2376 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2377 |
\begin{pspicture}(3,2) |
| 2378 |
\pnode(0,1){A}\pnode(3,1){B} |
| 2379 |
\freqmult[dipolestyle=multiplier,value=10](A)(B){} |
| 2380 |
\end{pspicture} |
| 2381 |
\end{LTXexample} |
| 2382 |
|
| 2383 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2384 |
\begin{pspicture}(3,3) |
| 2385 |
\pnode(0,1.5){A}\pnode(3,1.5){B} |
| 2386 |
\freqmult[dipolestyle=multiplier,programmable=true, |
| 2387 |
labeloffset=-1,dipoleinput=right,inputarrow=true, |
| 2388 |
fillstyle=solid,fillcolor=green](A)(B){10<N<35} |
| 2389 |
\end{pspicture} |
| 2390 |
\end{LTXexample} |
| 2391 |
|
| 2392 |
\subsubsection{Phase shifter} |
| 2393 |
\begin{description} |
| 2394 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2395 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2396 |
\end{description} |
| 2397 |
|
| 2398 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2399 |
\begin{pspicture}(3,2) |
| 2400 |
\pnode(0,1){A1} \pnode(3,1){A2} |
| 2401 |
\phaseshifter(A1)(A2){} |
| 2402 |
\end{pspicture} |
| 2403 |
\end{LTXexample} |
| 2404 |
|
| 2405 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2406 |
\begin{pspicture}(3,2) |
| 2407 |
\pnode(0,1){B1} \pnode(3,1){B2} |
| 2408 |
\phaseshifter[inputarrow=true,dipoleinput=right, |
| 2409 |
fillstyle=solid,fillcolor=red](B1)(B2){90$^\circ$} |
| 2410 |
\end{pspicture} |
| 2411 |
\end{LTXexample} |
| 2412 |
|
| 2413 |
\subsubsection{VCO} |
| 2414 |
\begin{description} |
| 2415 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2416 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2417 |
\end{description} |
| 2418 |
|
| 2419 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2420 |
\begin{pspicture}(3,2) |
| 2421 |
\pnode(0,1){A1} \pnode(3,1){A2} |
| 2422 |
\vco[fillstyle=solid,fillcolor=yellow](A1)(A2){} |
| 2423 |
\end{pspicture} |
| 2424 |
\end{LTXexample} |
| 2425 |
|
| 2426 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2427 |
\begin{pspicture}(3,2) |
| 2428 |
\pnode(0,1){B1} \pnode(3,1){B2} |
| 2429 |
\vco[dipoleinput=right,inputarrow=true](B1)(B2){VCO} |
| 2430 |
\end{pspicture} |
| 2431 |
\end{LTXexample} |
| 2432 |
|
| 2433 |
\subsubsection{Amplifier} |
| 2434 |
\begin{description} |
| 2435 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2436 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2437 |
\end{description} |
| 2438 |
|
| 2439 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2440 |
\begin{pspicture}(3,2) |
| 2441 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2442 |
\amplifier[inputarrow=true](A)(B){} |
| 2443 |
\end{pspicture} |
| 2444 |
\end{LTXexample} |
| 2445 |
|
| 2446 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2447 |
\begin{pspicture}(3,2) |
| 2448 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2449 |
\amplifier[dipoleinput=right,inputarrow=true](A)(B){PA} |
| 2450 |
\end{pspicture} |
| 2451 |
\end{LTXexample} |
| 2452 |
|
| 2453 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2454 |
\begin{pspicture}(3,2) |
| 2455 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2456 |
\amplifier[dipoleinput=left](A)(B){LNA} |
| 2457 |
\end{pspicture} |
| 2458 |
\end{LTXexample} |
| 2459 |
|
| 2460 |
\subsubsection{Detector} |
| 2461 |
\begin{description} |
| 2462 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2463 |
\item[\Lkeyword{dipoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2464 |
\end{description} |
| 2465 |
|
| 2466 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2467 |
\begin{pspicture}(3,2) |
| 2468 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2469 |
\detector[inputarrow=true](A)(B){} |
| 2470 |
\end{pspicture} |
| 2471 |
\end{LTXexample} |
| 2472 |
|
| 2473 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2474 |
\begin{pspicture}(3,2) |
| 2475 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2476 |
\detector[dipoleinput=right,inputarrow=true](A)(B){} |
| 2477 |
\end{pspicture} |
| 2478 |
\end{LTXexample} |
| 2479 |
|
| 2480 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2481 |
\begin{pspicture}(3,2) |
| 2482 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2483 |
\detector[dipoleinput=left](A)(B){} |
| 2484 |
\end{pspicture} |
| 2485 |
\end{LTXexample} |
| 2486 |
|
| 2487 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2488 |
\begin{pspicture}(3,2) |
| 2489 |
\pnode(0,1){A} \pnode(3,1){B} |
| 2490 |
\attenuator[inputarrow,labeloffset=0.7cm, |
| 2491 |
dipoleinput=left](A)(B){Attentuator} |
| 2492 |
\end{pspicture} |
| 2493 |
\end{LTXexample} |
| 2494 |
|
| 2495 |
|
| 2496 |
\subsection{New tripole macro-components} |
| 2497 |
\subsubsection{Mixer} |
| 2498 |
\begin{description} |
| 2499 |
\item[\Lkeyword{tripolestyle}:] \Lkeyval{bottom} | \Lkeyval{top} |
| 2500 |
\item[\Lkeyword{tripoleconfig}:] \Lkeyval{left} | \Lkeyval{right} |
| 2501 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2502 |
\end{description} |
| 2503 |
|
| 2504 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2505 |
\begin{pspicture}(3,2) |
| 2506 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,2){C} |
| 2507 |
\mixer[tripolestyle=top,inputarrow=true](A)(B)(C)% |
| 2508 |
{Mixer}{} |
| 2509 |
\end{pspicture} |
| 2510 |
\end{LTXexample} |
| 2511 |
|
| 2512 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2513 |
\begin{pspicture}(3,2) |
| 2514 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2515 |
\mixer[inputarrow=true,tripoleinput=right](A)(B)(C) |
| 2516 |
{Mixer}{fillstyle=solid,fillcolor=yellow} |
| 2517 |
\end{pspicture} |
| 2518 |
\end{LTXexample} |
| 2519 |
|
| 2520 |
\subsubsection{Splitter} |
| 2521 |
\begin{description} |
| 2522 |
\item[\Lkeyword{tripolestyle}:] \Lkeyval{bottom} | \Lkeyval{top} |
| 2523 |
\item[\Lkeyword{tripoleconfig}:] \Lkeyval{left} | \Lkeyval{right} |
| 2524 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2525 |
\end{description} |
| 2526 |
|
| 2527 |
|
| 2528 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2529 |
\begin{pspicture}(3,2) |
| 2530 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,2){C} |
| 2531 |
\splitter[inputarrow, |
| 2532 |
tripolestyle=top](A)(B)(C){Splitter}{} |
| 2533 |
\end{pspicture} |
| 2534 |
\end{LTXexample} |
| 2535 |
|
| 2536 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2537 |
\begin{pspicture}(3,2) |
| 2538 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2539 |
\splitter[inputarrow, |
| 2540 |
tripolestyle=bottom,tripoleinput=right, fillstyle=solid, fillcolor=ForestGreen](A)(B)(C){Splitter}{} |
| 2541 |
\end{pspicture} |
| 2542 |
\end{LTXexample} |
| 2543 |
|
| 2544 |
|
| 2545 |
\subsubsection{Circulator} |
| 2546 |
\begin{description} |
| 2547 |
\item[\Lkeyword{tripolestyle}:] \Lkeyval{circulator} | \Lkeyval{isolator} |
| 2548 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2549 |
\item[\Lkeyword{tripoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2550 |
\end{description} |
| 2551 |
|
| 2552 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2553 |
\begin{pspicture}(3,2) |
| 2554 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2555 |
\circulator{0}(A)(B)(C){Circulator}{} |
| 2556 |
\end{pspicture} |
| 2557 |
\end{LTXexample} |
| 2558 |
|
| 2559 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2560 |
\begin{pspicture}(3,3) |
| 2561 |
\pnode(1.5,0.5){A}\pnode(1.5,2.5){B}\pnode(0.5,1.5){C} |
| 2562 |
\circulator[tripolestyle=isolator,inputarrow=true]{90}% |
| 2563 |
(A)(B)(C){Isolator}{} |
| 2564 |
\end{pspicture} |
| 2565 |
\end{LTXexample} |
| 2566 |
|
| 2567 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2568 |
\begin{pspicture}(3,2) |
| 2569 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2570 |
\circulator[tripoleconfig=right,tripolestyle=isolator, |
| 2571 |
inputarrow=true,tripoleinput=right]{0}% |
| 2572 |
(B)(A)(C){Isolator}{} |
| 2573 |
\end{pspicture} |
| 2574 |
\end{LTXexample} |
| 2575 |
|
| 2576 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2577 |
\begin{pspicture}(3,2) |
| 2578 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,2){C} |
| 2579 |
\circulator[tripoleconfig=right, |
| 2580 |
inputarrow=true]{180}(A)(B)(C){Isolator}% |
| 2581 |
{fillstyle=solid,fillcolor=red} |
| 2582 |
\end{pspicture} |
| 2583 |
\end{LTXexample} |
| 2584 |
|
| 2585 |
\subsubsection{Agc} |
| 2586 |
\begin{description} |
| 2587 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2588 |
\item[\Lkeyword{tripoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2589 |
\end{description} |
| 2590 |
|
| 2591 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2592 |
\begin{pspicture}(3,2) |
| 2593 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2594 |
\agc(A)(B)(C){AGC}{fillstyle=solid,fillcolor=yellow} |
| 2595 |
\end{pspicture} |
| 2596 |
\end{LTXexample} |
| 2597 |
|
| 2598 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2599 |
\begin{pspicture}(3,2) |
| 2600 |
\pnode(0.5,1){A}\pnode(2.5,1){B}\pnode(1.5,0){C} |
| 2601 |
\agc[tripoleinput=right,inputarrow=true](A)(B)(C)% |
| 2602 |
{AGC}{fillstyle=solid,fillcolor=blue} |
| 2603 |
\end{pspicture} |
| 2604 |
\end{LTXexample} |
| 2605 |
|
| 2606 |
|
| 2607 |
|
| 2608 |
|
| 2609 |
\subsection{New quadripole macro-components} |
| 2610 |
\subsubsection{Coupler} |
| 2611 |
\begin{description} |
| 2612 |
\item[\Lkeyword{couplerstyle}:] \Lkeyval{hybrid} | \Lkeyval{directional} |
| 2613 |
\item[\Lkeyword{inputarrow}:] \false | \true |
| 2614 |
\item[\Lkeyword{quadripoleinput}:] \Lkeyval{left} | \Lkeyval{right} |
| 2615 |
\end{description} |
| 2616 |
|
| 2617 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2618 |
\begin{pspicture}(3,2) |
| 2619 |
\pnode(0,1.4){A} \pnode(0,0.6){B} |
| 2620 |
\pnode(3,1.4){C} \pnode(3,0.6){D} |
| 2621 |
\coupler[couplerstyle=hybrid,inputarrow=true](A)(B)(C)(D)% |
| 2622 |
{Hyb. $180$\ensuremath{^\circ}}% |
| 2623 |
{fillstyle=solid,fillcolor=yellow} |
| 2624 |
\end{pspicture} |
| 2625 |
\end{LTXexample} |
| 2626 |
|
| 2627 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2628 |
\begin{pspicture}(3,2) |
| 2629 |
\pnode(0,1.4){A} \pnode(0,0.6){B} |
| 2630 |
\pnode(3,1.4){C} \pnode(3,0.6){D} |
| 2631 |
\coupler[couplerstyle=directional](A)(B)(C)(D){10~dB}{} |
| 2632 |
\end{pspicture} |
| 2633 |
\end{LTXexample} |
| 2634 |
|
| 2635 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2636 |
\begin{pspicture}(3,2) |
| 2637 |
\pnode(0,1.4){A} \pnode(0,0.6){B} |
| 2638 |
\pnode(3,1.4){C} \pnode(3,0.6){D} |
| 2639 |
\coupler[couplerstyle=hybrid,inputarrow=true,% |
| 2640 |
quadripoleinput=right](A)(B)(C)(D)% |
| 2641 |
{Hyb. $180$\ensuremath{^\circ}}{} |
| 2642 |
\end{pspicture} |
| 2643 |
\end{LTXexample} |
| 2644 |
|
| 2645 |
\begin{LTXexample}[width=3.5cm,rframe={}] |
| 2646 |
\begin{pspicture}(3,2) |
| 2647 |
\pnode(0,1.4){A} \pnode(0,0.6){B} |
| 2648 |
\pnode(3,1.4){C} \pnode(3,0.6){D} |
| 2649 |
\coupler[couplerstyle=directional,quadripoleinput=right,% |
| 2650 |
inputarrow=true](A)(B)(C)(D){10~dB}{} |
| 2651 |
\end{pspicture} |
| 2652 |
\end{LTXexample} |
| 2653 |
|
| 2654 |
|
| 2655 |
\subsection{Examples} |
| 2656 |
|
| 2657 |
\subsubsection{Radar emission diagram} |
| 2658 |
\begin{pspicture}[labelangle=:U](8,5) |
| 2659 |
\pnodes(1, 3){A}(1.8, 3){B}(3.5, 3){C}(5, 3){D}(7, 3){E}(7.1, 3){EE}(6, 2){F}(5, 1){G}% |
| 2660 |
(7, 1){H}(7.1, 1){HH}(4, 1){I}(3.5, 1){J} |
| 2661 |
\rput(1, 3.9){\SI{3.57}{\decibel}} |
| 2662 |
\rput(1, 4.4){\SI{2.4}{\giga\hertz}} |
| 2663 |
\oscillator[output=right,fillstyle=solid,fillcolor=WildStrawberry](A){}{} |
| 2664 |
\attenuator[dipoleinput=left, labeloffset=0.9, inputarrow=true](B)(C){\SI{-3}{\decibel}} |
| 2665 |
\amplifier[dipoleinput=left, labeloffset=0.9, inputarrow=true](C)(D){+\SI{14}{\decibel}} |
| 2666 |
\splitter[tripolestyle=bottom,inputarrow=true, tripoleinput=left,fillstyle=solid,fillcolor=Magenta](D)(E)(F){}{} |
| 2667 |
\psline[arrowinset=0]{->}(E)(EE) |
| 2668 |
\mixer[tripolestyle=top,inputarrow=true, tripoleinput=right, labeloffset=0.9,fillstyle=solid,fillcolor=red](G)(H)(F){}{} |
| 2669 |
\wire(H)(HH) |
| 2670 |
\rput(7.8, 1.25){\SI{13}{\dbm}} |
| 2671 |
\rput(7.8, 0.75){\SI{900}{\mega\hertz}} |
| 2672 |
\attenuator[dipoleinput=left,labeloffset=-0.9,linecolor=blue](I)(G){\textcolor{blue}{\SI{-10}{\decibel}}} |
| 2673 |
\psline[arrowinset=0]{->}(I)(J) |
| 2674 |
\rput(6, 3.9){\SI{-4}{\decibel}} |
| 2675 |
\rput(1.75, 1.25){\SI{3.3}{\mega\hertz} @\SI{-10}{\dbm}} |
| 2676 |
\rput(1.75, 0.75){\SI{1.5}{\mega\hertz} @\SI{-10}{\dbm}} |
| 2677 |
\end{pspicture} |
| 2678 |
|
| 2679 |
\subsubsection{Radiometer block diagram example} |
| 2680 |
From Chang, K., RF and Microwave Wireless Systems, Wiley InterScience, page 319, ISBN 0-471-35199-7 |
| 2681 |
|
| 2682 |
\noindent |
| 2683 |
\resizebox{\linewidth}{!}{% |
| 2684 |
\begin{pspicture}(1,1)(19,9) |
| 2685 |
\pnode(2,8){A} |
| 2686 |
\antenna{90}(A) |
| 2687 |
\rput(4,8){\rnode{B}{\psframebox{\begin{tabular}{c}Ferrite\\Switch\end{tabular}}}} |
| 2688 |
\ncline{A}{B} |
| 2689 |
%%% Branche Calibration |
| 2690 |
\pnode(4,6){C} |
| 2691 |
\pnode(4,4){D} |
| 2692 |
\pnode(5,5){E} |
| 2693 |
\circulator[tripolestyle=isolator,tripoleconfig=right]{90}(C)(D)(E){Isolator}{} |
| 2694 |
\ncline{B}{C} |
| 2695 |
\pnode(3,3){F} |
| 2696 |
\pnode(5,3){G} |
| 2697 |
\resistor[unit=0.5,dipolestyle=zigzag,variable=true](F)(G){} |
| 2698 |
\pnode(4,3){H} |
| 2699 |
\ncline{D}{H} |
| 2700 |
\rput[t](4,2.75){% |
| 2701 |
\begin{tabular}{c} |
| 2702 |
Hot and Cold\\ |
| 2703 |
loads for calibration |
| 2704 |
\end{tabular}} |
| 2705 |
%%% Branche reception |
| 2706 |
\pnode(6,8){R1} |
| 2707 |
\pnode(8,8){R2} |
| 2708 |
\pnode(7,7){X1} |
| 2709 |
\circulator[tripolestyle=isolator,tripoleconfig=right]{180}(R1)(R2)(X1){Isolator}{} |
| 2710 |
\ncline{B}{R1} |
| 2711 |
\pnode(10,8){R3} |
| 2712 |
\pnode(9,7){X2} |
| 2713 |
\mixer[inputarrow=true](R2)(R3)(X2){Mixer}{} |
| 2714 |
\pnode(9,6){X3} |
| 2715 |
\oscillator[output=top](X3){LO}{} |
| 2716 |
\pnode(12,8){R4} |
| 2717 |
\ncline{R3}{R4} |
| 2718 |
\naput{0.5~GHZ} |
| 2719 |
\pnode(14,8){R5} |
| 2720 |
\filter(R4)(R5){BPF}% |
| 2721 |
\pnode(16,8){R6} |
| 2722 |
\amplifier[inputarrow=true](R5)(R6){IF~Amp} |
| 2723 |
\pnode(18,8){R7} |
| 2724 |
\detector[inputarrow=true](R6)(R7){Detector} |
| 2725 |
\pnode(18,4){R8} |
| 2726 |
\amplifier[inputarrow=true,labeloffset=-1](R7)(R8){Amp} |
| 2727 |
\pscircle[fillstyle=solid,fillcolor=white](18,4){0.1} |
| 2728 |
\rput[t](18,3.9){% |
| 2729 |
\begin{tabular}{c} |
| 2730 |
Output\\ |
| 2731 |
for processing |
| 2732 |
\end{tabular}} |
| 2733 |
\end{pspicture}} |
| 2734 |
|
| 2735 |
\begin{landscape} |
| 2736 |
|
| 2737 |
\subsubsection{Ku-band Transceiver} |
| 2738 |
\resizebox{\linewidth}{!}{% |
| 2739 |
\psset{unit=1cm} |
| 2740 |
\begin{pspicture}(0,-3.5)(29.25,11) |
| 2741 |
\rput[r](1.9,8){70/140MHz} |
| 2742 |
\pnode(2,8){N1} |
| 2743 |
\pnode(4,8){N2} |
| 2744 |
\amplifier[fillstyle=solid,fillcolor=Thistle,inputarrow=true](N1)(N2){IF~Amp} |
| 2745 |
|
| 2746 |
\pnode(6,8){N3} |
| 2747 |
\pnode(5,7){D1} |
| 2748 |
\mixer(N2)(N3)(D1){}{} |
| 2749 |
|
| 2750 |
\pnode(5,5){D2} |
| 2751 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue,labeloffset=-1.5](D2)(D1){L-Band Buffers} |
| 2752 |
\pnode(3,5){D3} |
| 2753 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue](D3)(D2){} |
| 2754 |
\pnode(2,5){D4} |
| 2755 |
\oscillator[output=right](D4){VCO}{fillstyle=solid,fillcolor=Orange} |
| 2756 |
\psframe(1.25,3)(2.75,5.75) |
| 2757 |
\rput[b](2,3.1){\large\textbf{L-band}} |
| 2758 |
\pnode(5,3){D5} |
| 2759 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue](D2)(D5){} |
| 2760 |
|
| 2761 |
\pnode(2,2){R1} |
| 2762 |
\pnode(4,2){R2} |
| 2763 |
\amplifier[fillstyle=solid,fillcolor=Thistle](R2)(R1){IF~Amp} |
| 2764 |
\rput[r](1.9,2){70/140MHz} |
| 2765 |
\pnode(6,2){R3} |
| 2766 |
\filter(R3)(R2){} |
| 2767 |
\pnode(8,2){R4} |
| 2768 |
\pnode(7,3){D6} |
| 2769 |
\mixer[tripolestyle=top](R3)(R4)(D6){}{} |
| 2770 |
\ncline{D5}{D6} |
| 2771 |
|
| 2772 |
\pnode(8,8){N4} |
| 2773 |
\filter(N3)(N4){} |
| 2774 |
\pnode(10,8){N5} |
| 2775 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](N4)(N5){L-band Amp} |
| 2776 |
\pnode(12,8){N6} |
| 2777 |
\resistor[unit=0.5,dipolestyle=zigzag,variable=true,labeloffset=-0.8](N5)(N6){RF Atten} |
| 2778 |
\pnode(11,8){U0} |
| 2779 |
|
| 2780 |
\pnode(14,8){N7} |
| 2781 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](N6)(N7){} |
| 2782 |
\pnode(16,8){N8} |
| 2783 |
\pnode(15,7){D7} |
| 2784 |
\mixer(N7)(N8)(D7){Mixer}{fillstyle=solid,fillcolor=BurntOrange} |
| 2785 |
\pnode(18,8){N9} |
| 2786 |
\filter(N8)(N9){} |
| 2787 |
\pnode(20,8){N10} |
| 2788 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue,labeloffset=-0.8](N9)(N10){L-band Amp} |
| 2789 |
\pnode(22,8){N11} |
| 2790 |
\pnode(21,7){X1} |
| 2791 |
\mixer(N10)(N11)(X1){Mixer}{fillstyle=solid,fillcolor=BurntOrange} |
| 2792 |
\pnode(24,8){N12} |
| 2793 |
\filter(N11)(N12){} |
| 2794 |
\pnode(26,8){N13} |
| 2795 |
\amplifier[fillstyle=solid,fillcolor=RubineRed,labeloffset=-0.8](N12)(N13){Ku-band Amp} |
| 2796 |
|
| 2797 |
\pnode(18,10){U2} |
| 2798 |
\pnode(20,10){U3} |
| 2799 |
\detector[fillstyle=solid,fillcolor=NavyBlue,dipoleinput=right](U2)(U3){Det L-Band} |
| 2800 |
\pnode(11,10){U1} |
| 2801 |
\ncline{U2}{U1} |
| 2802 |
\ncline{U1}{U0} |
| 2803 |
\pnode(24,10){U4} |
| 2804 |
\pnode(26,10){U5} |
| 2805 |
\detector[fillstyle=solid,fillcolor=RubineRed,dipoleinput=right](U4)(U5){Det Ku-Band} |
| 2806 |
\ncline{U4}{U3} |
| 2807 |
\ncline{U5}{N13} |
| 2808 |
|
| 2809 |
\pnode(15,5){D8} |
| 2810 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue,labeloffset=-1.5](D8)(D7){L-Band Buffers} |
| 2811 |
\pnode(13,5){D9} |
| 2812 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue](D9)(D8){} |
| 2813 |
\pnode(13,4){D10} |
| 2814 |
\ncline{D9}{D10} |
| 2815 |
\pnode(11,4){D11} |
| 2816 |
\vco[fillstyle=solid,fillcolor=Orange](D11)(D10){VCO} |
| 2817 |
\rput(10,4){\rnode{D12}{\psframebox{\textbf{PLL}}}} |
| 2818 |
\ncline{D11}{D12} |
| 2819 |
\pnode(10,6){D13} |
| 2820 |
\ncline{D12}{D13} |
| 2821 |
\pnode(11,6){D14} |
| 2822 |
\ncline{D13}{D14} |
| 2823 |
\pnode(13,6){D15} |
| 2824 |
\freqmult[fillstyle=solid,fillcolor=Goldenrod,dipolestyle=divider](D14)(D15){Prescaler} |
| 2825 |
\ncline{D15}{D9} |
| 2826 |
\psframe(9.5,3.25)(13.1,7) |
| 2827 |
\rput[tl](9.7,6.8){\large\textbf{L-Band}} |
| 2828 |
|
| 2829 |
\pnode(10,2){R5} |
| 2830 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](R5)(R4){L-band Amp} |
| 2831 |
\pnode(12,2){R6} |
| 2832 |
\resistor[unit=0.5,dipolestyle=zigzag,variable=true,labeloffset=-0.8](R5)(R6){RF Atten} |
| 2833 |
\pnode(14,2){R7} |
| 2834 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](R7)(R6){L-band Amp} |
| 2835 |
\pnode(16,2){R8} |
| 2836 |
\filter(R8)(R7){} |
| 2837 |
\pnode(18,2){R9} |
| 2838 |
\pnode(17,3){D17} |
| 2839 |
\mixer[tripolestyle=top](R8)(R9)(D17){Mixer}{fillstyle=solid,fillcolor=BurntOrange} |
| 2840 |
|
| 2841 |
\pnode(15,3){D16} |
| 2842 |
\amplifier[fillstyle=solid,fillcolor=CornflowerBlue](D8)(D16){} |
| 2843 |
\ncline{D16}{D17} |
| 2844 |
|
| 2845 |
\pnode(20,2){R10} |
| 2846 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](R10)(R9){L-band Amp} |
| 2847 |
\pnode(22,2){R11} |
| 2848 |
\amplifier[fillstyle=solid,fillcolor=NavyBlue](R11)(R10){L-band Amp} |
| 2849 |
\pnode(24,2){R12} |
| 2850 |
\filter(R12)(R11){} |
| 2851 |
\pnode(26,2){R13} |
| 2852 |
\pnode(25,1){R15} |
| 2853 |
\mixer(R12)(R13)(R15){Mixer}{fillstyle=solid,fillcolor=BurntOrange} |
| 2854 |
\pnode(28,2){R14} |
| 2855 |
\amplifier[fillstyle=solid,fillcolor=Purple](R14)(R13){Ku-band LNA} |
| 2856 |
|
| 2857 |
\pnode(25,-1){R16} |
| 2858 |
\amplifier[fillstyle=solid,fillcolor=OliveGreen,labeloffset=-1.6](R16)(R15){Ku-band Buffers} |
| 2859 |
\pnode(24,-1){R17} |
| 2860 |
\ncline{R16}{R17} |
| 2861 |
\pnode(24,-2){R18} |
| 2862 |
\ncline{R17}{R18} |
| 2863 |
\pnode(22,-2){R19} |
| 2864 |
\vco[fillstyle=solid,fillcolor=Red](R18)(R19){Ku-band} |
| 2865 |
\rput(21,-2){\rnode{R20}{\psframebox{\textbf{PLL}}}} |
| 2866 |
\ncline{R19}{R20} |
| 2867 |
\pnode(21,0){R21} |
| 2868 |
\ncline{R20}{R21} |
| 2869 |
\pnode(22,0){R22} |
| 2870 |
\ncline{R21}{R22} |
| 2871 |
\pnode(24,0){R23} |
| 2872 |
\freqmult[fillstyle=solid,fillcolor=Goldenrod,dipolestyle=divider](R22)(R23){Prescaler} |
| 2873 |
\ncline{R23}{R17} |
| 2874 |
\psframe(18,-3)(28.5,3) |
| 2875 |
\rput[br](28,-2.75){\large\textbf{LNB}} |
| 2876 |
\rput[bl](18,3.1){% |
| 2877 |
\begin{tabular}{l} |
| 2878 |
\textbf{950-1540 MHz}\\ |
| 2879 |
\textbf{900-1700 MHz} |
| 2880 |
\end{tabular}} |
| 2881 |
\cnode(29,2){.1}{S2} |
| 2882 |
\ncline{R14}{S2} |
| 2883 |
|
| 2884 |
\pnode(21,5.5){X2} |
| 2885 |
\ncline{X1}{X2} |
| 2886 |
\pnode(24,5.5){X3} |
| 2887 |
\amplifier[fillstyle=solid,fillcolor=OliveGreen](X3)(X2){Ku-band Buffers} |
| 2888 |
\pnode(24,6.25){X4} |
| 2889 |
\ncline{X3}{X4} |
| 2890 |
\pnode(26,6.25){X5} |
| 2891 |
\freqmult[fillstyle=solid,fillcolor=Goldenrod,dipolestyle=divider,labeloffset=-0.7](X4)(X5){Prescaler} |
| 2892 |
\pnode(27,6.25){X6} |
| 2893 |
\ncline{X5}{X6} |
| 2894 |
\rput(27,4.75){\rnode{X7}{\psframebox{\textbf{PLL}}}} |
| 2895 |
\ncline{X6}{X7} |
| 2896 |
\pnode(26,4.75){X8} |
| 2897 |
\ncline{X7}{X8} |
| 2898 |
\pnode(24,4.75){X9} |
| 2899 |
\vco[fillstyle=solid,fillcolor=Red](X8)(X9){Ku-band} |
| 2900 |
\ncline{X9}{X3} |
| 2901 |
\psframe(23.75,3.25)(28.5,7) |
| 2902 |
\rput[br](28,3.5){\large\textbf{Ku-band}} |
| 2903 |
|
| 2904 |
\pnode(28.5,8){N14} |
| 2905 |
\amplifier[fillstyle=solid,fillcolor=RubineRed](N13)(N14){} |
| 2906 |
\cnode(29,8){.1}{S1} |
| 2907 |
\ncline{N14}{S1} |
| 2908 |
\psframe(26.25,7.25)(28.5,10) |
| 2909 |
\rput[t](27.375,9.75){\large \textbf{SSPA}} |
| 2910 |
|
| 2911 |
\rput[lt](2,0){\large% |
| 2912 |
\begin{tabular}{l} |
| 2913 |
\textbf{Tx/GHz: 13.75-14.00, 14.00-14.50}\\ |
| 2914 |
\textbf{Rx/GHz: 10.95-11.70, 11.20-11.70, 11.70-12.20, 12.25-12.75} |
| 2915 |
\end{tabular}} |
| 2916 |
\end{pspicture}} |
| 2917 |
|
| 2918 |
\end{landscape} |
| 2919 |
|
| 2920 |
|
| 2921 |
|
| 2922 |
\clearpage |
| 2923 |
\section{Flip Flops -- logical elements} |
| 2924 |
|
| 2925 |
The syntax for all logical base circuits is |
| 2926 |
\begin{BDef} |
| 2927 |
\Lcs{logic}\OptArgs\OptArg*{\coord0}\Largb{label} |
| 2928 |
\end{BDef} |
| 2929 |
|
| 2930 |
\noindent where the options and the origin are optional. If they are missing, |
| 2931 |
then the default options, described in the next section and the default |
| 2932 |
origin $(0,0)$ is used. The origin specifies the lower left corner |
| 2933 |
of the logical circuit. |
| 2934 |
|
| 2935 |
\xLcs{logic}xLkeyword{logicType} |
| 2936 |
\begin{lstlisting}[style=code] |
| 2937 |
\logic{Demo} |
| 2938 |
\logic[logicType=and]{Demo} |
| 2939 |
\logic(0,0){Demo} |
| 2940 |
\logic[logicType=and](0,0){Demo} |
| 2941 |
\end{lstlisting} |
| 2942 |
|
| 2943 |
The above four ,,different`` calls of the \Lcs{logic} macro give the |
| 2944 |
same output, because they are equivalent. |
| 2945 |
|
| 2946 |
\subsection{The Options} |
| 2947 |
|
| 2948 |
\begin{longtable}{@{}>{\ttfamily}l l l@{}} |
| 2949 |
\textrm{\emph{name}} & \emph{type} & \emph{default}\\\hline |
| 2950 |
\endhead |
| 2951 |
\Lkeyword{logicShowNode} & boolean & \false \\ |
| 2952 |
\Lkeyword{logicShowDot} & boolean & \false \\ |
| 2953 |
\Lkeyword{logicNodestyle} & command & \emph{\textbackslash footnotesize} \\ |
| 2954 |
\Lkeyword{logicSymbolstyle} & command & \emph{\textbackslash large} \\ |
| 2955 |
\Lkeyword{logicSymbolpos} & value & \emph{0.5} \\ |
| 2956 |
\Lkeyword{logicLabelstyle} & command & \emph{\textbackslash small} \\ |
| 2957 |
\Lkeyword{logicType} & string & \Lkeyval{and} \\ |
| 2958 |
\Lkeyword{logicChangeLR} & boolean & \false \\ |
| 2959 |
\Lkeyword{logicWidth} & length & \emph{1.5} \\ |
| 2960 |
\Lkeyword{logicHeight} & length & \emph{2.5} \\ |
| 2961 |
\Lkeyword{logicWireLength} & length & \emph{0.5} \\ |
| 2962 |
\Lkeyword{logicNInput} & number & \emph{2} \\ |
| 2963 |
\Lkeyword{logicJInput} & number & \emph{2} \\ |
| 2964 |
\Lkeyword{logicKInput} & number &\emph{2} |
| 2965 |
\end{longtable} |
| 2966 |
|
| 2967 |
\subsection{Basic Logical Circuits} |
| 2968 |
At least the basic objects require a unique label name, otherwise it is |
| 2969 |
not sure, that all nodes will work well. The label may contain any |
| 2970 |
alphanumerical character and most of all symbols. But it is save |
| 2971 |
using only combinations of letters and digits. For example: |
| 2972 |
\begin{verbatim} |
| 2973 |
And0 |
| 2974 |
a0 |
| 2975 |
a123 |
| 2976 |
12 |
| 2977 |
NOT123a |
| 2978 |
\end{verbatim} |
| 2979 |
|
| 2980 |
\verb|A_1| is not a good choice, the underscore may cause some problems. |
| 2981 |
|
| 2982 |
\subsubsection{And} |
| 2983 |
\psset{subgriddiv=0,griddots=5,gridlabels=7pt} |
| 2984 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 2985 |
\begin{pspicture}(-1,0)(3,3) |
| 2986 |
\logic{AND1} |
| 2987 |
\end{pspicture} |
| 2988 |
\end{LTXexample} |
| 2989 |
|
| 2990 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 2991 |
\begin{pspicture}(-0.5,0)(3,3) |
| 2992 |
\logic[logicChangeLR]{AND2} |
| 2993 |
\end{pspicture} |
| 2994 |
\end{LTXexample} |
| 2995 |
|
| 2996 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=and}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 2997 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 2998 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 2999 |
\begin{pspicture}(-0.5,0)(4,5) |
| 3000 |
\logic[logicShowNode,% |
| 3001 |
logicWidth=2, |
| 3002 |
logicHeight=4, |
| 3003 |
logicNInput=6, |
| 3004 |
logicChangeLR](1,1){AND3} |
| 3005 |
\end{pspicture} |
| 3006 |
\end{LTXexample} |
| 3007 |
|
| 3008 |
\subsubsection{NotAnd} |
| 3009 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3010 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3011 |
\logic[logicType=nand, |
| 3012 |
logicShowNode]{NAND1} |
| 3013 |
\end{pspicture} |
| 3014 |
\end{LTXexample} |
| 3015 |
|
| 3016 |
|
| 3017 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3018 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3019 |
\logic[logicType=nand, |
| 3020 |
logicChangeLR]{NAND2} |
| 3021 |
\end{pspicture} |
| 3022 |
\end{LTXexample} |
| 3023 |
|
| 3024 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=nand}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 3025 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3026 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3027 |
\begin{pspicture}(4,5) |
| 3028 |
\logic[logicType=nand, |
| 3029 |
logicShowNode, |
| 3030 |
logicWidth=2, |
| 3031 |
logicHeight=4, |
| 3032 |
logicNInput=6, |
| 3033 |
logicChangeLR](1,1){NAND3} |
| 3034 |
\end{pspicture} |
| 3035 |
\end{LTXexample} |
| 3036 |
|
| 3037 |
\subsubsection{Or} |
| 3038 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3039 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3040 |
\logic[logicType=or, |
| 3041 |
logicShowNode]{OR1} |
| 3042 |
\end{pspicture} |
| 3043 |
\end{LTXexample} |
| 3044 |
|
| 3045 |
|
| 3046 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3047 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3048 |
\logic[logicType=or, |
| 3049 |
logicChangeLR]{OR2} |
| 3050 |
\end{pspicture} |
| 3051 |
\end{LTXexample} |
| 3052 |
|
| 3053 |
|
| 3054 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=or}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 3055 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3056 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3057 |
\begin{pspicture}(4,5) |
| 3058 |
\logic[logicType=or, |
| 3059 |
logicShowNode, |
| 3060 |
logicWidth=2, |
| 3061 |
logicHeight=4, |
| 3062 |
logicNInput=6, |
| 3063 |
logicChangeLR](1,1){OR3} |
| 3064 |
\end{pspicture} |
| 3065 |
\end{LTXexample} |
| 3066 |
|
| 3067 |
\clearpage |
| 3068 |
\subsubsection{Not Or} |
| 3069 |
|
| 3070 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3071 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3072 |
\logic[logicType=nor, |
| 3073 |
logicShowNode]{NOR1} |
| 3074 |
\end{pspicture} |
| 3075 |
\end{LTXexample} |
| 3076 |
|
| 3077 |
|
| 3078 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3079 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3080 |
\logic[logicType=nor, |
| 3081 |
logicChangeLR]{NOR2} |
| 3082 |
\end{pspicture} |
| 3083 |
\end{LTXexample} |
| 3084 |
|
| 3085 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=nor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 3086 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3087 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3088 |
\begin{pspicture}(4,5) |
| 3089 |
\logic[logicType=nor, |
| 3090 |
logicShowNode, |
| 3091 |
logicWidth=2, |
| 3092 |
logicHeight=4, |
| 3093 |
logicNInput=6, |
| 3094 |
logicChangeLR](1,1){NOR3} |
| 3095 |
\end{pspicture} |
| 3096 |
\end{LTXexample} |
| 3097 |
|
| 3098 |
|
| 3099 |
\subsubsection{Not} |
| 3100 |
|
| 3101 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3102 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3103 |
\logic[logicType=not, |
| 3104 |
logicShowNode]{NOT1} |
| 3105 |
\end{pspicture} |
| 3106 |
\end{LTXexample} |
| 3107 |
|
| 3108 |
|
| 3109 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3110 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3111 |
\logic[logicType=not, |
| 3112 |
logicChangeLR]{NOT2} |
| 3113 |
\end{pspicture} |
| 3114 |
\end{LTXexample} |
| 3115 |
|
| 3116 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=not}\xLkeyword{logicChangeLR} |
| 3117 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3118 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3119 |
\begin{pspicture}(4,5) |
| 3120 |
\logic[logicType=not, |
| 3121 |
logicShowNode, |
| 3122 |
logicWidth=2, |
| 3123 |
logicHeight=4, |
| 3124 |
logicChangeLR](1,1){NOT3} |
| 3125 |
\end{pspicture} |
| 3126 |
\end{LTXexample} |
| 3127 |
|
| 3128 |
\subsubsection{Exclusive OR} |
| 3129 |
|
| 3130 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3131 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3132 |
\logic[logicType=exor, |
| 3133 |
logicShowNode]{ExOR1} |
| 3134 |
\end{pspicture} |
| 3135 |
\end{LTXexample} |
| 3136 |
|
| 3137 |
|
| 3138 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3139 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3140 |
\logic[logicType=exor, |
| 3141 |
logicChangeLR]{ExOR2} |
| 3142 |
\end{pspicture} |
| 3143 |
\end{LTXexample} |
| 3144 |
|
| 3145 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 3146 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3147 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3148 |
\begin{pspicture}(4,5) |
| 3149 |
\logic[logicType=exor, |
| 3150 |
logicShowNode, |
| 3151 |
logicNInput=6, |
| 3152 |
logicWidth=2, |
| 3153 |
logicHeight=4, |
| 3154 |
logicChangeLR](1,1){ExOR3} |
| 3155 |
\end{pspicture} |
| 3156 |
\end{LTXexample} |
| 3157 |
|
| 3158 |
|
| 3159 |
\clearpage |
| 3160 |
\subsubsection{Exclusive NOR} |
| 3161 |
|
| 3162 |
\xLkeyset{logicType=exnor}\xLkeyword{logicShowNode} |
| 3163 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3164 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3165 |
\logic[logicType=exnor, |
| 3166 |
logicShowNode]{ExNOR1} |
| 3167 |
\end{pspicture} |
| 3168 |
\end{LTXexample} |
| 3169 |
|
| 3170 |
|
| 3171 |
\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR} |
| 3172 |
\begin{LTXexample}[width=4.5cm](3,3) |
| 3173 |
\begin{pspicture}(-0.5,0)(3,3) |
| 3174 |
\logic[logicType=exnor, |
| 3175 |
logicChangeLR]{ExNOR2} |
| 3176 |
\end{pspicture} |
| 3177 |
\end{LTXexample} |
| 3178 |
|
| 3179 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=exor}\xLkeyword{logicChangeLR}\xLkeyword{logicNInput} |
| 3180 |
\xLkeyword{logicWidth}\xLkeyword{logicHeight}\xLkeyword{logicChangeLR} |
| 3181 |
\begin{LTXexample}[width=4.5cm](4,6) |
| 3182 |
\begin{pspicture}(4,5) |
| 3183 |
\logic[logicType=exnor, |
| 3184 |
logicShowNode, |
| 3185 |
logicNInput=6, |
| 3186 |
logicWidth=2, |
| 3187 |
logicHeight=4, |
| 3188 |
logicChangeLR](1,1){ExNOR3} |
| 3189 |
\end{pspicture} |
| 3190 |
\end{LTXexample} |
| 3191 |
|
| 3192 |
|
| 3193 |
\subsection{RS Flip Flop} |
| 3194 |
|
| 3195 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=RS} |
| 3196 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3197 |
\begin{pspicture}(-1,-1)(3,3) |
| 3198 |
\logic[logicShowNode, |
| 3199 |
logicType=RS]{RS1} |
| 3200 |
\end{pspicture} |
| 3201 |
\end{LTXexample} |
| 3202 |
|
| 3203 |
|
| 3204 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=RS}\xLkeyword{logicChangeLR} |
| 3205 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3206 |
\begin{pspicture}(-1,-1)(3,3) |
| 3207 |
\logic[logicShowNode, |
| 3208 |
logicType=RS, |
| 3209 |
logicChangeLR]{RS2} |
| 3210 |
\end{pspicture} |
| 3211 |
\end{LTXexample} |
| 3212 |
|
| 3213 |
|
| 3214 |
\subsection{D Flip Flop} |
| 3215 |
|
| 3216 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3217 |
\begin{pspicture}(-1,-1)(3,3) |
| 3218 |
\logic[logicShowNode, |
| 3219 |
logicType=D]{D1} |
| 3220 |
\end{pspicture} |
| 3221 |
\end{LTXexample} |
| 3222 |
|
| 3223 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=D}\xLkeyword{logicChangeLR} |
| 3224 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3225 |
\begin{pspicture}(-1,-1)(3,3) |
| 3226 |
\logic[logicShowNode=true, |
| 3227 |
logicType=D, |
| 3228 |
logicChangeLR]{D2} |
| 3229 |
\end{pspicture} |
| 3230 |
\end{LTXexample} |
| 3231 |
|
| 3232 |
|
| 3233 |
\subsection{JK Flip Flop} |
| 3234 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=JK}\xLkeyword{logicJInput}\xLkeyword{logicKInput} |
| 3235 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3236 |
\begin{pspicture}(-1,-1)(3,3) |
| 3237 |
\logic[logicShowNode, |
| 3238 |
logicType=JK, |
| 3239 |
logicKInput=2, |
| 3240 |
logicJInput=2]{JK1} |
| 3241 |
\end{pspicture} |
| 3242 |
\end{LTXexample} |
| 3243 |
|
| 3244 |
\xLkeyword{logicShowNode}\xLkeyset{logicType=JK}\xLkeyword{logicJInput}\xLkeyword{logicKInput}\xLkeyword{logicChangeLR} |
| 3245 |
\begin{LTXexample}[width=4.5cm](3,4.5) |
| 3246 |
\begin{pspicture}(-1,-1)(3,3) |
| 3247 |
\logic[logicShowNode,logicType=JK, |
| 3248 |
logicKInput=2, logicJInput=4, |
| 3249 |
logicChangeLR]{JK2} |
| 3250 |
\end{pspicture} |
| 3251 |
\end{LTXexample} |
| 3252 |
|
| 3253 |
\subsection{Other Options} |
| 3254 |
|
| 3255 |
\xLkeyword{logicShowDot} |
| 3256 |
\begin{LTXexample}[width=3.5cm](3,3) |
| 3257 |
\begin{pspicture}(-0.5,0)(3,2.5) |
| 3258 |
\logic[logicShowDot]{A0} |
| 3259 |
\end{pspicture} |
| 3260 |
\end{LTXexample} |
| 3261 |
|
| 3262 |
\xLkeyword{logicWireLength} |
| 3263 |
\begin{LTXexample}[width=4.5cm](4,3) |
| 3264 |
\begin{pspicture}(-1,0)(3,2.5) |
| 3265 |
\logic[logicWireLength=1, |
| 3266 |
logicShowDot]{A1} |
| 3267 |
\end{pspicture} |
| 3268 |
\end{LTXexample} |
| 3269 |
|
| 3270 |
\bigskip |
| 3271 |
The unit of \Lkeyword{logicWireLength} is the same than the actual one for pstricks, set by |
| 3272 |
the \Lkeyword{unit} option. |
| 3273 |
|
| 3274 |
\subsection{The Node Names} |
| 3275 |
Every logic circuit is defined with its name, which should be a unique one. |
| 3276 |
If we have the following NAND circuit, then \LPack{pst-circ} defines the nodes |
| 3277 |
\begin{lstlisting}[style=syntax] |
| 3278 |
NAND11, NAND12, NAND13, NAND14, NAND1Q |
| 3279 |
\end{lstlisting} |
| 3280 |
|
| 3281 |
\noindent If there exists an inverted output, like for alle Flip Flops, |
| 3282 |
then the negated one gets the appendix \verb|neg| to the node name. For |
| 3283 |
example: |
| 3284 |
\begin{lstlisting}[style=syntax] |
| 3285 |
NAND1Q, NAND1Qneg |
| 3286 |
\end{lstlisting} |
| 3287 |
|
| 3288 |
\begin{LTXexample}[width=3cm](3,3.5) |
| 3289 |
\begin{pspicture}(-0.5,0)(2.5,3) |
| 3290 |
\logic[logicShowNode=true,% |
| 3291 |
logicLabelstyle=\footnotesize,% |
| 3292 |
logicType=nand,% |
| 3293 |
logicNInput=4]{NAND1} |
| 3294 |
\multido{\n=1+1}{4}{% |
| 3295 |
\pscircle*[linecolor=red](NAND1\n){2pt}% |
| 3296 |
} |
| 3297 |
\pscircle*[linecolor=blue](NAND1Q){2pt} |
| 3298 |
\end{pspicture} |
| 3299 |
\end{LTXexample} |
| 3300 |
|
| 3301 |
\vspace{0.5cm} |
| 3302 |
Now it is possible to draw a line from the output to the input |
| 3303 |
|
| 3304 |
\begin{lstlisting}[style=syntax] |
| 3305 |
\ncbar[angleA=0,angleB=180]{<Node A>}{<Node B>} |
| 3306 |
\end{lstlisting} |
| 3307 |
|
| 3308 |
It may be easier to print a grid since the drawing phase and then comment it out if |
| 3309 |
all is finished. |
| 3310 |
|
| 3311 |
\bigskip |
| 3312 |
\begin{LTXexample}[width=3.5cm](3,3.5) |
| 3313 |
\begin{pspicture}(-1,-1)(2.5,3) |
| 3314 |
\logic[logicShowNode=true,% |
| 3315 |
logicLabelstyle=\footnotesize,% |
| 3316 |
logicType=nand,% |
| 3317 |
logicWireLength=1,% |
| 3318 |
logicNInput=4]{NAND1} |
| 3319 |
\pnode(-0.5,0|NAND11){tempA} |
| 3320 |
\pnode(2,0|NAND1Q){tempB} |
| 3321 |
\end{pspicture} |
| 3322 |
\ncbar[angleA=-90,angleB=0,arm=0.75,% |
| 3323 |
arrows=*-*, dotsize=0.15]{tempA}{tempB} |
| 3324 |
\end{LTXexample} |
| 3325 |
|
| 3326 |
|
| 3327 |
AN empty argument to the \Lkeyword{logicSymbolstyle} and \Lkeyword{logicLabelstyle} will suppress the |
| 3328 |
output of the symbol and/or the label. The label, of course, is a mandatory argument because it is the prefix |
| 3329 |
of the node names. |
| 3330 |
|
| 3331 |
|
| 3332 |
|
| 3333 |
\subsection{Examples} |
| 3334 |
|
| 3335 |
\begin{LTXexample}[pos=t] |
| 3336 |
\begin{pspicture}(-1,0)(5,5) |
| 3337 |
\psset{logicType=nor, logicLabelstyle=\normalsize,% |
| 3338 |
logicWidth=1, logicHeight=1.5, dotsize=0.15} |
| 3339 |
\logic(1.5,0){nor1} |
| 3340 |
\logic(1.5,3){nor2} |
| 3341 |
\psline(nor2Q)(4,0|nor2Q) |
| 3342 |
\uput[0](4,0|nor2Q){$Q$} |
| 3343 |
\psline(nor1Q)(4,0|nor1Q) |
| 3344 |
\uput[0](4,0|nor1Q){$\overline{Q}$} |
| 3345 |
\psline{*-}(3.50,0|nor2Q)(3.5,2.5)(1.5,2.5) |
| 3346 |
(0.5,1.75)(0.5,0|nor12)(nor12) |
| 3347 |
\psline{*-}(3.50,0|nor1Q)(3.5,2)(1.5,2) |
| 3348 |
(0.5,2.5)(0.5,0|nor21)(nor21) |
| 3349 |
\psline(0,0|nor11)(nor11)\uput[180](0,0|nor11){R} |
| 3350 |
\psline(0,0|nor22)(nor22)\uput[180](0,0|nor22){S} |
| 3351 |
\end{pspicture} |
| 3352 |
\end{LTXexample} |
| 3353 |
|
| 3354 |
\bigskip |
| 3355 |
\begin{LTXexample}[pos=t] |
| 3356 |
\begin{pspicture}(-4,0)(5,7) |
| 3357 |
\psset{logicWidth=1, logicHeight=2, dotsize=0.15} |
| 3358 |
\logic[logicWireLength=0](-2,0){A0} |
| 3359 |
\logic[logicWireLength=0](-2,5){A1} |
| 3360 |
\ncbar[angleA=-180,angleB=-180,arm=0.5]{A11}{A02} |
| 3361 |
\psline[dotsize=0.15]{-*}(-3.5,3.5)(-2.5,3.5) |
| 3362 |
\uput[180](-3.5,3.5){$T$} |
| 3363 |
\psline(-3.5,0.5)(A01)\uput[180](-3.5,0.5){$S$} |
| 3364 |
\psline(-3.5,6.5)(A12)\uput[180](-3.5,6.5){$R$} |
| 3365 |
\psset{logicType=nor, logicLabelstyle=\normalsize} |
| 3366 |
\logic(1,0.5){nor1} |
| 3367 |
\logic(1,4.5){nor2} |
| 3368 |
\psline(nor2Q)(4,0|nor2Q) |
| 3369 |
\uput[0](4,0|nor2Q){$Q$} |
| 3370 |
\psline(nor1Q)(4,0|nor1Q) |
| 3371 |
\uput[0](4,0|nor1Q){$\overline{Q}$} |
| 3372 |
\psline{*-}(3,0|nor2Q)(3,4)(1,4)(0,3)(0,0|nor12)(nor12) |
| 3373 |
\psline{*-}(3,0|nor1Q)(3,3)(1,3)(0,4)(0,0|nor21)(nor21) |
| 3374 |
\psline(A0Q)(nor11) |
| 3375 |
\psline(A1Q)(nor22) |
| 3376 |
\end{pspicture} |
| 3377 |
\end{LTXexample} |
| 3378 |
|
| 3379 |
|
| 3380 |
\clearpage |
| 3381 |
|
| 3382 |
\section{Logical circuits in american style} |
| 3383 |
|
| 3384 |
\begin{longtable}{ll>{\ttfamily}l} |
| 3385 |
\toprule |
| 3386 |
\emph{macro} & \emph{option} & \emph{defaults} \\\midrule |
| 3387 |
\endfirsthead |
| 3388 |
\midrule |
| 3389 |
\emph{macro} & \emph{option} & \emph{defaults} \\\midrule |
| 3390 |
\endhead |
| 3391 |
\midrule |
| 3392 |
\small continued on next page $\dots$ & & \\ |
| 3393 |
\endfoot |
| 3394 |
\midrule |
| 3395 |
\endlastfoot |
| 3396 |
\Lcs{logicnot} & \Lkeyword{input} & true \\ |
| 3397 |
& \Lkeyword{invertinput} & false \\ |
| 3398 |
& \Lkeyword{invertoutput} & false \\ |
| 3399 |
& \Lkeyword{iec} & false \\ |
| 3400 |
& \Lkeyword{iecinvert} & false \\ |
| 3401 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3402 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3403 |
\midrule |
| 3404 |
\Lcs{logicand} & \Lkeyword{ninputs} & 2 \\ |
| 3405 |
& \nxLkeyword{input?} & true \\ |
| 3406 |
& \multicolumn{2}{l}{\quad where ? = a--d} \\ |
| 3407 |
& \nxLkeyword{invertinput?} & false \\ |
| 3408 |
& \multicolumn{2}{l}{\quad where ? = a--d} \\ |
| 3409 |
& \Lkeyword{invertoutput} & false \\ |
| 3410 |
& \Lkeyword{iec} & false \\ |
| 3411 |
& \Lkeyword{iecinvert} & false \\ |
| 3412 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3413 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3414 |
\midrule |
| 3415 |
\Lcs{logicor} & \Lkeyword{ninputs} & 2 \\ |
| 3416 |
& \nxLkeyword{input?} & true \\ |
| 3417 |
& \multicolumn{2}{l}{\quad where ? = 1--4} \\ |
| 3418 |
& \nxLkeyword{invertinput?} & false \\ |
| 3419 |
& \multicolumn{2}{l}{\quad where ? = a--d} \\ |
| 3420 |
& \Lkeyword{invertoutput} & false \\ |
| 3421 |
& \Lkeyword{iec} & false \\ |
| 3422 |
& \Lkeyword{iecinvert} & false \\ |
| 3423 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3424 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3425 |
\midrule |
| 3426 |
\Lcs{logicxor} & \Lkeyword{ninputs} & 2 \\ |
| 3427 |
& \nxLkeyword{input?} & true \\ |
| 3428 |
& \multicolumn{2}{l}{\quad where ? = 1--4} \\ |
| 3429 |
& \nxLkeyword{invertinput?} & false \\ |
| 3430 |
& \multicolumn{2}{l}{\quad where ? = a--d} \\ |
| 3431 |
& \Lkeyword{invertoutput} & false \\ |
| 3432 |
& \Lkeyword{iec} & false \\ |
| 3433 |
& \Lkeyword{iecinvert} & false \\ |
| 3434 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3435 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3436 |
\midrule |
| 3437 |
\Lcs{logicff} & \Lkeyword{inputa} & true \\ |
| 3438 |
& \Lkeyword{invertinputa} & false \\ |
| 3439 |
& \Lkeyword{inputalabel} & \\ |
| 3440 |
& \Lkeyword{inputb} & true \\ |
| 3441 |
& \Lkeyword{invertinputb} & false \\ |
| 3442 |
& \Lkeyword{inputblabel} & \\ |
| 3443 |
& \Lkeyword{enable} & false \\ |
| 3444 |
& \Lkeyword{invertenable} & false \\ |
| 3445 |
& \Lkeyword{clock} & false \\ |
| 3446 |
& \Lkeyword{invertclock} & false \\ |
| 3447 |
& \Lkeyword{set} & false \\ |
| 3448 |
& \Lkeyword{invertset} & false \\ |
| 3449 |
& \Lkeyword{reset} & false \\ |
| 3450 |
& \Lkeyword{invertreset} & false \\ |
| 3451 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3452 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3453 |
\midrule |
| 3454 |
\Lcs{logicic} & \Lkeyword{nicpins} & 8 \\ |
| 3455 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{8, 14, 16, 20, 32}} \\ |
| 3456 |
& \nxLkeyword{pin?} & true \\ |
| 3457 |
& \nxLkeyword{invertpin?} & false \\ |
| 3458 |
& \nxLkeyword{pin?label} & \\ |
| 3459 |
& \nxLkeyword{pin?number} & \\ |
| 3460 |
& \multicolumn{2}{@{}l}{\quad where \texttt{? = a--z,aa,ab,ac,ad,ae,af}} \\ |
| 3461 |
& \Lkeyword{bubblesize} & 0.2 \\ |
| 3462 |
& \multicolumn{2}{@{}l}{\quad possible values \texttt{0.05, 0.10, 0.15, 0.20}} \\ |
| 3463 |
\midrule |
| 3464 |
\Lcs{xic} & \Lkeyword{plcaddress} & \\ |
| 3465 |
& \Lkeyword{plcsymbol} & \\ |
| 3466 |
\midrule |
| 3467 |
\Lcs{xio} & \Lkeyword{plcaddress} & \\ |
| 3468 |
& \Lkeyword{plcsymbol} & \\ |
| 3469 |
\midrule |
| 3470 |
\Lcs{ote} & \Lkeyword{plcaddress} & \\ |
| 3471 |
& \Lkeyword{plcsymbol} & \\ |
| 3472 |
& \Lkeyword{latch} & false \\ |
| 3473 |
& \Lkeyword{unlatch} & false \\ |
| 3474 |
\midrule |
| 3475 |
\Lcs{osr} & \Lkeyword{plcaddress} & \\ |
| 3476 |
& \Lkeyword{plcsymbol} & \\ |
| 3477 |
\midrule |
| 3478 |
\Lcs{res} & \Lkeyword{plcaddress} & \\ |
| 3479 |
& \Lkeyword{plcsymbol} & \\ |
| 3480 |
\midrule |
| 3481 |
\Lcs{swpb} & \Lkeyword{contactclosed} & false \\ |
| 3482 |
\midrule |
| 3483 |
\Lcs{swtog} & \Lkeyword{contactclosed} & false \\ |
| 3484 |
\midrule |
| 3485 |
\Lcs{contact} & \Lkeyword{contactclosed} & false \\ |
| 3486 |
\end{longtable} |
| 3487 |
|
| 3488 |
|
| 3489 |
|
| 3490 |
\subsection{Examples} |
| 3491 |
|
| 3492 |
% |
| 3493 |
% NOT Example |
| 3494 |
% |
| 3495 |
|
| 3496 |
|
| 3497 |
\begin{LTXexample}[pos=t] |
| 3498 |
\begin{pspicture}(-1,-1)(8.5,3) |
| 3499 |
\logicnot[invertoutput=true](0,0){IEEE} |
| 3500 |
\logicnot[invertoutput=true,iec=true,iecinvert=true](4,0){IEC} |
| 3501 |
\end{pspicture} |
| 3502 |
\end{LTXexample} |
| 3503 |
|
| 3504 |
|
| 3505 |
% |
| 3506 |
% AND Example |
| 3507 |
% |
| 3508 |
\begin{LTXexample}[pos=t] |
| 3509 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3510 |
\logicand[ninputs=2](0,0){IEEE} |
| 3511 |
\logicand[ninputs=2,iec=true](5,0){IEC} |
| 3512 |
\end{pspicture} |
| 3513 |
\end{LTXexample} |
| 3514 |
|
| 3515 |
% |
| 3516 |
% NAND Example |
| 3517 |
% |
| 3518 |
\begin{LTXexample}[pos=t] |
| 3519 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3520 |
\logicand[ninputs=2,invertoutput=true](0,0){IEEE} |
| 3521 |
\logicand[ninputs=2,invertoutput=true,iec=true,iecinvert=true](5,0){IEC} |
| 3522 |
\end{pspicture} |
| 3523 |
\end{LTXexample} |
| 3524 |
|
| 3525 |
|
| 3526 |
% |
| 3527 |
% Negative-AND Example |
| 3528 |
% |
| 3529 |
\begin{LTXexample}[pos=l] |
| 3530 |
\begin{pspicture}(-1,-1)(5,3) |
| 3531 |
\logicand[ninputs=2,invertinputa=true, |
| 3532 |
invertinputb=true](0,0){Name} |
| 3533 |
\end{pspicture} |
| 3534 |
\end{LTXexample} |
| 3535 |
|
| 3536 |
% OR Example |
| 3537 |
% |
| 3538 |
\begin{LTXexample}[pos=t] |
| 3539 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3540 |
\logicor[ninputs=2](0,0){IEEE} |
| 3541 |
\logicor[ninputs=2,iec=true](5,0){IEC} |
| 3542 |
\end{pspicture} |
| 3543 |
\end{LTXexample} |
| 3544 |
|
| 3545 |
% |
| 3546 |
% NOR Example |
| 3547 |
% |
| 3548 |
\begin{LTXexample}[pos=t] |
| 3549 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3550 |
\logicor[ninputs=2,invertoutput=true](0,0){IEEE} |
| 3551 |
\logicor[ninputs=2,invertoutput=true,iec=true,iecinvert=true](5,0){IEC} |
| 3552 |
\end{pspicture} |
| 3553 |
\end{LTXexample} |
| 3554 |
|
| 3555 |
% |
| 3556 |
% Negative-OR Example |
| 3557 |
% |
| 3558 |
\begin{LTXexample}[pos=l] |
| 3559 |
\begin{pspicture}(-1,-1)(5,3) |
| 3560 |
\logicor[ninputs=2,invertinputa=true, |
| 3561 |
invertinputb=true](0,0){Name} |
| 3562 |
\end{pspicture} |
| 3563 |
\end{LTXexample} |
| 3564 |
|
| 3565 |
% |
| 3566 |
% Exclusive-OR Example |
| 3567 |
% |
| 3568 |
\begin{LTXexample}[pos=t] |
| 3569 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3570 |
\logicxor[ninputs=2]{0}(0,0){IEEE} |
| 3571 |
\logicxor[ninputs=2,iec=true]{0}(5,0){IEC} |
| 3572 |
\end{pspicture} |
| 3573 |
\end{LTXexample} |
| 3574 |
|
| 3575 |
% |
| 3576 |
% Exclusive-NOR Example |
| 3577 |
% |
| 3578 |
\begin{LTXexample}[pos=t] |
| 3579 |
\begin{pspicture}(-1,-1)(9.5,3) |
| 3580 |
\logicxor[ninputs=2,invertoutput=true]{0}(0,0){IEEE} |
| 3581 |
\logicxor[ninputs=2,invertoutput=true,iec=true,iecinvert=true]{0}(5,0){IEC} |
| 3582 |
\end{pspicture} |
| 3583 |
\end{LTXexample} |
| 3584 |
|
| 3585 |
\subsubsection{$S$-$R$ Flip-Flop with Clock} |
| 3586 |
% |
| 3587 |
% FF Example |
| 3588 |
% |
| 3589 |
\begin{LTXexample}[pos=l] |
| 3590 |
\begin{pspicture}(-1,-1)(5,4) |
| 3591 |
\logicff[clock=true,inputalabel=$S$,inputblabel=$R$](0,0){Name} |
| 3592 |
\end{pspicture} |
| 3593 |
\end{LTXexample} |
| 3594 |
|
| 3595 |
% |
| 3596 |
% FF Example |
| 3597 |
% |
| 3598 |
\subsubsection{$\bar{S}$-$\bar{R}$ Flip-Flop with Enable} %$ |
| 3599 |
\begin{LTXexample}[pos=l] |
| 3600 |
\begin{pspicture}(-1,-1)(5,4) |
| 3601 |
\logicff[enable=true,inputalabel=$\bar{S}$,inputblabel=$\bar{R}$](0,0){Name} |
| 3602 |
\end{pspicture} |
| 3603 |
\end{LTXexample} |
| 3604 |
|
| 3605 |
% |
| 3606 |
% FF Example |
| 3607 |
% |
| 3608 |
\subsubsection{$J$-$K$ Flip-Flop} |
| 3609 |
\begin{LTXexample}[pos=l] |
| 3610 |
\begin{pspicture}(-1,-1)(5,4) |
| 3611 |
\logicff[inputalabel=$J$,inputblabel=$K$](0,0){Name} |
| 3612 |
\end{pspicture} |
| 3613 |
\end{LTXexample} |
| 3614 |
|
| 3615 |
% |
| 3616 |
% FF Example |
| 3617 |
% |
| 3618 |
\subsubsection{$J$-$K$ Flip-Flop with Set and Reset} |
| 3619 |
\begin{LTXexample}[pos=l] |
| 3620 |
\begin{pspicture}(-1,-1)(5,4) |
| 3621 |
\logicff[set=true,reset=true,invertreset=true,% |
| 3622 |
inputalabel=$J$,inputblabel=$K$](0,0){Name} |
| 3623 |
\end{pspicture} |
| 3624 |
\end{LTXexample} |
| 3625 |
|
| 3626 |
% |
| 3627 |
% FF Example |
| 3628 |
% |
| 3629 |
\subsubsection{$D$ Flip-Flop} |
| 3630 |
\begin{LTXexample}[pos=l] |
| 3631 |
\begin{pspicture}(-1,-1)(5,4) |
| 3632 |
\logicff[inputb=false,inputalabel=$D$](0,0){Name} |
| 3633 |
\end{pspicture} |
| 3634 |
\end{LTXexample} |
| 3635 |
|
| 3636 |
% |
| 3637 |
% FF Example |
| 3638 |
% |
| 3639 |
\subsubsection{Full Adder} |
| 3640 |
\begin{LTXexample}[pos=l] |
| 3641 |
\begin{pspicture}(-1,-1)(5,4) |
| 3642 |
\logicff[enable=true,invertoutputb=false,inputalabel=$A$, |
| 3643 |
inputblabel=$C_{in}$,inputenlabel=$B$,outputalabel=$\Sigma$, |
| 3644 |
outputblabel=$C_{out}$](0,0){Name} |
| 3645 |
\end{pspicture} |
| 3646 |
\end{LTXexample} |
| 3647 |
|
| 3648 |
% |
| 3649 |
\subsubsection{7-Segment Display} |
| 3650 |
% |
| 3651 |
\begin{LTXexample}[pos=l] |
| 3652 |
\begin{pspicture}(6.5,5) |
| 3653 |
\sevensegmentdisplay(0,0){Name} |
| 3654 |
\end{pspicture} |
| 3655 |
\end{LTXexample} |
| 3656 |
|
| 3657 |
% |
| 3658 |
% 7-Segment Display Example |
| 3659 |
% |
| 3660 |
\begin{LTXexample}[pos=t] |
| 3661 |
\begin{pspicture}(-1,-2)(6.5,6) |
| 3662 |
\sevensegmentdisplay[pinld=false,pinle=false,pinrc=false,pinlalabel=a, |
| 3663 |
pinlblabel=f,pinlglabel=e,pinrglabel=d,pinrelabel=c,pinrdlabel=g, |
| 3664 |
pinrblabel=b,pinralabel={$V_{CC}$},pinlanumber=1,pinlbnumber=2, |
| 3665 |
pinlcnumber=3,pinlfnumber=6,pinlgnumber=7,pinrgnumber=8,pinrfnumber=9, |
| 3666 |
pinrenumber=10,pinrdnumber=11,pinrbnumber=13,pinranumber=14](0,0){Name} |
| 3667 |
\end{pspicture} |
| 3668 |
\end{LTXexample} |
| 3669 |
|
| 3670 |
% |
| 3671 |
% 7-Segment Display Example |
| 3672 |
% |
| 3673 |
\begin{LTXexample}[pos=t] |
| 3674 |
\begin{pspicture}(-1,-2)(6.5,6) |
| 3675 |
\sevensegmentdisplay[segmentdisplay=5](0,0){Name} |
| 3676 |
\end{pspicture} |
| 3677 |
\end{LTXexample} |
| 3678 |
|
| 3679 |
% |
| 3680 |
% 7-Segment Display Example |
| 3681 |
% |
| 3682 |
\begin{LTXexample}[pos=t] |
| 3683 |
\begin{pspicture}(-1,-2)(6.5,6) |
| 3684 |
\sevensegmentdisplay[segmentdisplay=0,segmentcolor=red,segmentlabels=false, |
| 3685 |
pinlalabel=la,pinlblabel=lb,pinlclabel=lc,pinldlabel=ld,pinlelabel=le, |
| 3686 |
pinlflabel=lf,pinlglabel=lg,pinrglabel=rg,pinrflabel=rf,pinrelabel=re, |
| 3687 |
pinrdlabel=rd,pinrclabel=rc,pinrblabel=rb,pinralabel=ra,pinlanumber=1, |
| 3688 |
pinlbnumber=2,pinlcnumber=3,pinldnumber=4,pinlenumber=5,pinlfnumber=6, |
| 3689 |
pinlgnumber=7,pinrgnumber=8,pinrfnumber=9,pinrenumber=10,pinrdnumber=11, |
| 3690 |
pinrcnumber=12,pinrbnumber=13,pinranumber=14,pinta=true,pintalabel=ta, |
| 3691 |
pintanumber=0,pintb=true,pintblabel=tb,pintbnumber=0,pintc=true, |
| 3692 |
pintclabel=tc,pintcnumber=0,pintd=true,pintdlabel=td,pintdnumber=0, |
| 3693 |
pinte=true,pintelabel=te,pintenumber=0,pinba=true,pinbalabel=ba, |
| 3694 |
pinbanumber=0,pinbb=true,pinbblabel=bb,pinbbnumber=0,pinbc=true, |
| 3695 |
pinbclabel=bc,pinbcnumber=0,pinbd=true,pinbdlabel=bd,pinbdnumber=0, |
| 3696 |
pinbe=true,pinbelabel=be,pinbenumber=0](0,0){Name} |
| 3697 |
\end{pspicture} |
| 3698 |
\end{LTXexample} |
| 3699 |
|
| 3700 |
% |
| 3701 |
% 7-Segment Display Example |
| 3702 |
% |
| 3703 |
\begin{LTXexample}[pos=t] |
| 3704 |
\begin{pspicture}(-1,-2)(6.5,6) |
| 3705 |
\sevensegmentdisplay[segmentdisplay=10,pinla=false,pinlb=false, |
| 3706 |
pinlc=false,pinld=false,pinle=false,pinlf=false,pinlg=false,pinrg=false, |
| 3707 |
pinrf=false,pinre=false,pinrd=false,pinrc=false,pinrb=false,pinra=false, |
| 3708 |
pinta=true,pintalabel=g,pintanumber=0,pintb=true,pintblabel=f,pintbnumber=0, |
| 3709 |
pintc=true,pintclabel=$V_{cc}$,pintcnumber=0,pintd=true,pintdlabel=a, |
| 3710 |
pintdnumber=0,pinte=true,pintelabel=b,pintenumber=0,pinba=true,pinbalabel=e, |
| 3711 |
pinbanumber=0,pinbb=true,pinbblabel=d,pinbbnumber=0,pinbc=true, |
| 3712 |
pinbclabel=$V_{cc}$,pinbcnumber=0,pinbd=true,pinbdlabel=c,pinbdnumber=0, |
| 3713 |
pinbe=true,pinbelabel=dp,pinbenumber=0](0,0){Name} |
| 3714 |
\end{pspicture} |
| 3715 |
\end{LTXexample} |
| 3716 |
|
| 3717 |
% |
| 3718 |
% IC Example 8-pins |
| 3719 |
% |
| 3720 |
\clearpage |
| 3721 |
\subsubsection{8-Pin DIP IC} |
| 3722 |
\begin{LTXexample}[pos=t] |
| 3723 |
\begin{pspicture}(-1,-2)(5,4) |
| 3724 |
\logicic[nicpins=8,bubblesize=0.1,% |
| 3725 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3726 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3727 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3728 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3729 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3730 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3731 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3732 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3733 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3734 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3735 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3736 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8](0,0){Name} |
| 3737 |
\end{pspicture} |
| 3738 |
\end{LTXexample} |
| 3739 |
|
| 3740 |
% |
| 3741 |
% IC Example 8-pins all inverted |
| 3742 |
% |
| 3743 |
\begin{LTXexample}[pos=t] |
| 3744 |
\begin{pspicture}(-1,-2)(5,4) |
| 3745 |
\logicic[nicpins=8,% |
| 3746 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3747 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3748 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3749 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3750 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3751 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3752 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3753 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3754 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3755 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3756 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3757 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8,% |
| 3758 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 3759 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true](0,0){Name} |
| 3760 |
\end{pspicture} |
| 3761 |
\end{LTXexample} |
| 3762 |
|
| 3763 |
% |
| 3764 |
% IC Example 14-pin |
| 3765 |
% |
| 3766 |
\clearpage |
| 3767 |
\subsubsection{14-Pin DIP IC} |
| 3768 |
\begin{LTXexample}[pos=t] |
| 3769 |
\begin{pspicture}(-1,-2)(5,6) |
| 3770 |
\logicic[nicpins=14,% |
| 3771 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3772 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3773 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3774 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3775 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3776 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3777 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3778 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3779 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3780 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3781 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3782 |
pinmlabel=m,pinnlabel=n,% |
| 3783 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3784 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3785 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3786 |
pinmnumber=13,pinnnumber=14]% |
| 3787 |
(0,0){Name} |
| 3788 |
\end{pspicture} |
| 3789 |
\end{LTXexample} |
| 3790 |
|
| 3791 |
% |
| 3792 |
\clearpage |
| 3793 |
\subsubsection{14-Pin DIP IC all inverted} |
| 3794 |
% IC Example 14-pin all inverted |
| 3795 |
% |
| 3796 |
\begin{LTXexample}[pos=t] |
| 3797 |
\begin{pspicture}(-1,-2)(5,6) |
| 3798 |
\logicic[nicpins=14,% |
| 3799 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3800 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3801 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3802 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3803 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3804 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3805 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3806 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3807 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3808 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3809 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3810 |
pinmlabel=m,pinnlabel=n,% |
| 3811 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3812 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3813 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3814 |
pinmnumber=13,pinnnumber=14, |
| 3815 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 3816 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% |
| 3817 |
invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% |
| 3818 |
invertpinm=true,invertpinn=true]% |
| 3819 |
(0,0){Name} |
| 3820 |
\end{pspicture} |
| 3821 |
\end{LTXexample} |
| 3822 |
|
| 3823 |
% |
| 3824 |
% IC Example 16-pin |
| 3825 |
% |
| 3826 |
\clearpage |
| 3827 |
\subsubsection{16-Pin DIP IC} |
| 3828 |
\begin{LTXexample}[pos=t] |
| 3829 |
\begin{pspicture}(-1,-2)(5,6) |
| 3830 |
\logicic[nicpins=16,% |
| 3831 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3832 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3833 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3834 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3835 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3836 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3837 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3838 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3839 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3840 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3841 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3842 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3843 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3844 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3845 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3846 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16]% |
| 3847 |
(0,0){Name} |
| 3848 |
\end{pspicture} |
| 3849 |
\end{LTXexample} |
| 3850 |
|
| 3851 |
% IC Example 16-pin all inverted |
| 3852 |
% |
| 3853 |
\clearpage |
| 3854 |
\subsubsection{16-Pin DIP IC all inverted} |
| 3855 |
\begin{LTXexample}[pos=t] |
| 3856 |
\begin{pspicture}(-1,-2)(5,6) |
| 3857 |
\logicic[nicpins=16,% |
| 3858 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3859 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3860 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3861 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3862 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3863 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3864 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3865 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3866 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3867 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3868 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3869 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3870 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3871 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3872 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3873 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16, |
| 3874 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 3875 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% |
| 3876 |
invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% |
| 3877 |
invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true]% |
| 3878 |
(0,0){Name} |
| 3879 |
\end{pspicture} |
| 3880 |
\end{LTXexample} |
| 3881 |
|
| 3882 |
% |
| 3883 |
% IC Example 20-pin |
| 3884 |
% |
| 3885 |
\clearpage |
| 3886 |
\subsubsection{20-Pin DIP IC} |
| 3887 |
\begin{LTXexample}[pos=t] |
| 3888 |
\begin{pspicture}(-1,-2)(5,7) |
| 3889 |
\logicic[nicpins=20,% |
| 3890 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3891 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3892 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3893 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3894 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3895 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3896 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3897 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3898 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3899 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3900 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3901 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3902 |
pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% |
| 3903 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3904 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3905 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3906 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% |
| 3907 |
pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20]% |
| 3908 |
(0,0){Name} |
| 3909 |
\end{pspicture} |
| 3910 |
\end{LTXexample} |
| 3911 |
|
| 3912 |
% |
| 3913 |
% IC Example 20-pin all inverted |
| 3914 |
% |
| 3915 |
\clearpage |
| 3916 |
\subsubsection{20-Pin DIP IC all inverted} |
| 3917 |
\begin{LTXexample}[pos=t] |
| 3918 |
\begin{pspicture}(-1,-2)(5,7) |
| 3919 |
\logicic[nicpins=20,% |
| 3920 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 3921 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 3922 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3923 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3924 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 3925 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3926 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3927 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3928 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3929 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3930 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3931 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3932 |
pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% |
| 3933 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3934 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3935 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3936 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% |
| 3937 |
pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% |
| 3938 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 3939 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% |
| 3940 |
invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% |
| 3941 |
invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% |
| 3942 |
invertpinq=true,invertpinr=true,invertpins=true,invertpint=true]% |
| 3943 |
(0,0){Name} |
| 3944 |
\end{pspicture} |
| 3945 |
\end{LTXexample} |
| 3946 |
|
| 3947 |
% |
| 3948 |
% IC Example 32-pin |
| 3949 |
% |
| 3950 |
\clearpage |
| 3951 |
\subsubsection{32-Pin DIP IC} |
| 3952 |
\begin{LTXexample}[pos=t] |
| 3953 |
\begin{pspicture}(-1,-2)(6,9.5) |
| 3954 |
\logicic[nicpins=32, pintl=true,pintllabel=tl,pintlnumber=1, |
| 3955 |
pintc=true,pintclabel=tc,pintcnumber=2,pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 3956 |
invertpintl=true,invertpintc=true,invertpintr=true, |
| 3957 |
pinbl=true,pinbllabel=bl,pinblnumber=1,pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3958 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 3959 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3960 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3961 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3962 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3963 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3964 |
pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% |
| 3965 |
pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% |
| 3966 |
pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% |
| 3967 |
pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% |
| 3968 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 3969 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 3970 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 3971 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% |
| 3972 |
pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% |
| 3973 |
pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% |
| 3974 |
pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% |
| 3975 |
pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32](0,0){Name} |
| 3976 |
\end{pspicture} |
| 3977 |
\end{LTXexample} |
| 3978 |
|
| 3979 |
% |
| 3980 |
% IC Example 32-pin all inverted |
| 3981 |
% |
| 3982 |
\clearpage |
| 3983 |
\subsubsection{32-Pin DIP IC all inverted} |
| 3984 |
\begin{center} |
| 3985 |
\begin{pspicture}(-1,-2)(6,9.5) |
| 3986 |
\logicic[nicpins=32,pintl=true,pintllabel=tl,pintlnumber=1, |
| 3987 |
pintc=true,pintclabel=tc,pintcnumber=2,pintr=true,pintrlabel=tr,pintrnumber=3, |
| 3988 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 3989 |
pinbl=true,pinbllabel=bl,pinblnumber=1,pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 3990 |
pinbr=true,pinbrlabel=br,pinbrnumber=3, |
| 3991 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 3992 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 3993 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 3994 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 3995 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 3996 |
pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% |
| 3997 |
pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% |
| 3998 |
pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% |
| 3999 |
pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% |
| 4000 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 4001 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 4002 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 4003 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% |
| 4004 |
pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% |
| 4005 |
pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% |
| 4006 |
pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% |
| 4007 |
pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32,% |
| 4008 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 4009 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% |
| 4010 |
invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% |
| 4011 |
invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% |
| 4012 |
invertpinq=true,invertpinr=true,invertpins=true,invertpint=true,% |
| 4013 |
invertpinu=true,invertpinv=true,invertpinw=true,invertpinx=true,% |
| 4014 |
invertpiny=true,invertpinz=true,invertpinaa=true,invertpinab=true,% |
| 4015 |
invertpinac=true,invertpinad=true,invertpinae=true,invertpinaf=true](0,0){Name} |
| 4016 |
\end{pspicture} |
| 4017 |
\end{center} |
| 4018 |
|
| 4019 |
|
| 4020 |
\begin{lstlisting} |
| 4021 |
\begin{pspicture}(-1,-2)(6,9.5) |
| 4022 |
\logicic[nicpins=32,% |
| 4023 |
pintl=true,pintllabel=tl,pintlnumber=1,% |
| 4024 |
pintc=true,pintclabel=tc,pintcnumber=2,% |
| 4025 |
pintr=true,pintrlabel=tr,pintrnumber=3,% |
| 4026 |
invertpintl=true,invertpintc=true,invertpintr=true,% |
| 4027 |
pinbl=true,pinbllabel=bl,pinblnumber=1,% |
| 4028 |
pinbc=true,pinbclabel=bc,pinbcnumber=2,% |
| 4029 |
pinbr=true,pinbrlabel=br,pinbrnumber=3,% |
| 4030 |
invertpinbl=true,invertpinbc=true,invertpinbr=true,% |
| 4031 |
pinalabel=a,pinblabel=b,pinclabel=c,pindlabel=d,% |
| 4032 |
pinelabel=e,pinflabel=f,pinglabel=g,pinhlabel=h,% |
| 4033 |
pinilabel=i,pinjlabel=j,pinklabel=k,pinllabel=l,% |
| 4034 |
pinmlabel=m,pinnlabel=n,pinolabel=o,pinplabel=p,% |
| 4035 |
pinqlabel=q,pinrlabel=r,pinslabel=s,pintlabel=t,% |
| 4036 |
pinulabel=u,pinvlabel=v,pinwlabel=w,pinxlabel=x,% |
| 4037 |
pinylabel=y,pinzlabel=z,pinaalabel=aa,pinablabel=ab,% |
| 4038 |
pinaclabel=ac,pinadlabel=ad,pinaelabel=ae,pinaflabel=af,% |
| 4039 |
pinanumber=1,pinbnumber=2,pincnumber=3,pindnumber=4,% |
| 4040 |
pinenumber=5,pinfnumber=6,pingnumber=7,pinhnumber=8, |
| 4041 |
pininumber=9,pinjnumber=10,pinknumber=11,pinlnumber=12,% |
| 4042 |
pinmnumber=13,pinnnumber=14,pinonumber=15,pinpnumber=16,% |
| 4043 |
pinqnumber=17,pinrnumber=18,pinsnumber=19,pintnumber=20,% |
| 4044 |
pinunumber=21,pinvnumber=22,pinwnumber=23,pinxnumber=24,% |
| 4045 |
pinynumber=25,pinznumber=26,pinaanumber=27,pinabnumber=28,% |
| 4046 |
pinacnumber=29,pinadnumber=30,pinaenumber=31,pinafnumber=32,% |
| 4047 |
invertpina=true,invertpinb=true,invertpinc=true,invertpind=true,% |
| 4048 |
invertpine=true,invertpinf=true,invertping=true,invertpinh=true,% |
| 4049 |
invertpini=true,invertpinj=true,invertpink=true,invertpinl=true,% |
| 4050 |
invertpinm=true,invertpinn=true,invertpino=true,invertpinp=true,% |
| 4051 |
invertpinq=true,invertpinr=true,invertpins=true,invertpint=true,% |
| 4052 |
invertpinu=true,invertpinv=true,invertpinw=true,invertpinx=true,% |
| 4053 |
invertpiny=true,invertpinz=true,invertpinaa=true,invertpinab=true,% |
| 4054 |
invertpinac=true,invertpinad=true,invertpinae=true,invertpinaf=true]% |
| 4055 |
(0,0){Name} |
| 4056 |
\end{pspicture} |
| 4057 |
\end{lstlisting} |
| 4058 |
|
| 4059 |
\clearpage |
| 4060 |
\section{Relay Ladder Logic} |
| 4061 |
|
| 4062 |
% |
| 4063 |
% XIC |
| 4064 |
% |
| 4065 |
\subsubsection{XIC} |
| 4066 |
\begin{LTXexample}[pos=l] |
| 4067 |
\begin{pspicture}(-1,-1)(1,1) |
| 4068 |
\xic[plcaddress=I:1/0, |
| 4069 |
plcsymbol=Symbol](0,0) |
| 4070 |
\end{pspicture} |
| 4071 |
\end{LTXexample} |
| 4072 |
|
| 4073 |
% |
| 4074 |
% XIO |
| 4075 |
% |
| 4076 |
\subsubsection{XI0} |
| 4077 |
\begin{LTXexample}[pos=l] |
| 4078 |
\begin{pspicture}(-1,-1)(1,1) |
| 4079 |
\xio[plcaddress=I:1/0, |
| 4080 |
plcsymbol=Symbol](0,0) |
| 4081 |
\end{pspicture} |
| 4082 |
\end{LTXexample} |
| 4083 |
|
| 4084 |
% |
| 4085 |
% OTE |
| 4086 |
% |
| 4087 |
\subsubsection{OTE} |
| 4088 |
\begin{LTXexample}[pos=l] |
| 4089 |
\begin{pspicture}(-1,-1)(1,1) |
| 4090 |
\ote[plcaddress=O:2/0, |
| 4091 |
plcsymbol=Symbol](0,0) |
| 4092 |
\end{pspicture} |
| 4093 |
\end{LTXexample} |
| 4094 |
|
| 4095 |
% |
| 4096 |
% OTL |
| 4097 |
% |
| 4098 |
\subsubsection{OTL} |
| 4099 |
\begin{LTXexample}[pos=l] |
| 4100 |
\begin{pspicture}(-1,-1)(1,1) |
| 4101 |
\ote[latch=true, |
| 4102 |
plcaddress=O:2/0, |
| 4103 |
plcsymbol=Symbol](0,0) |
| 4104 |
\end{pspicture} |
| 4105 |
\end{LTXexample} |
| 4106 |
|
| 4107 |
% |
| 4108 |
% OTU |
| 4109 |
% |
| 4110 |
\subsubsection{OTE} |
| 4111 |
\begin{LTXexample}[pos=l] |
| 4112 |
\begin{pspicture}(-1,-1)(1,1) |
| 4113 |
\ote[unlatch=true, |
| 4114 |
plcaddress=O:2/0, |
| 4115 |
plcsymbol=Symbol](0,0) |
| 4116 |
\end{pspicture} |
| 4117 |
\end{LTXexample} |
| 4118 |
|
| 4119 |
% |
| 4120 |
% OSR |
| 4121 |
% |
| 4122 |
\subsubsection{OSR} |
| 4123 |
\begin{LTXexample}[pos=l] |
| 4124 |
\begin{pspicture}(-1,-1)(1,1) |
| 4125 |
\osr[plcaddress=O:2/0, |
| 4126 |
plcsymbol=Symbol](0,0) |
| 4127 |
\end{pspicture} |
| 4128 |
\end{LTXexample} |
| 4129 |
|
| 4130 |
% |
| 4131 |
% RES |
| 4132 |
% |
| 4133 |
\subsubsection{RES} |
| 4134 |
\begin{LTXexample}[pos=l] |
| 4135 |
\begin{pspicture}(-1,-1)(1,1) |
| 4136 |
\res[plcaddress=O:2/0, |
| 4137 |
plcsymbol=Symbol](0,0) |
| 4138 |
\end{pspicture} |
| 4139 |
\end{LTXexample} |
| 4140 |
|
| 4141 |
% |
| 4142 |
% PB NO |
| 4143 |
% |
| 4144 |
\subsubsection{Switch PB NO} |
| 4145 |
\begin{LTXexample}[pos=l] |
| 4146 |
\begin{pspicture}(-1,-1)(1,1) |
| 4147 |
\swpb(0,0) |
| 4148 |
\end{pspicture} |
| 4149 |
\end{LTXexample} |
| 4150 |
|
| 4151 |
% |
| 4152 |
% PB NC |
| 4153 |
% |
| 4154 |
\subsubsection{Switch PB NC} |
| 4155 |
\begin{LTXexample}[pos=l] |
| 4156 |
\begin{pspicture}(-1,-1)(1,1) |
| 4157 |
\swpb[contactclosed=true](0,0) |
| 4158 |
\end{pspicture} |
| 4159 |
\end{LTXexample} |
| 4160 |
|
| 4161 |
% |
| 4162 |
% Switch Toggle NO |
| 4163 |
% |
| 4164 |
\subsubsection{Switch TOGGLE NO} |
| 4165 |
\begin{LTXexample}[pos=l] |
| 4166 |
\begin{pspicture}(-1,-1)(1,1) |
| 4167 |
\swtog(0,0) |
| 4168 |
\end{pspicture} |
| 4169 |
\end{LTXexample} |
| 4170 |
|
| 4171 |
% |
| 4172 |
% Switch Toggle NC |
| 4173 |
% |
| 4174 |
\subsubsection{Switch PB NC} |
| 4175 |
\begin{LTXexample}[pos=l] |
| 4176 |
\begin{pspicture}(-1,-1)(1,1) |
| 4177 |
\swtog[contactclosed=true](0,0) |
| 4178 |
\end{pspicture} |
| 4179 |
\end{LTXexample} |
| 4180 |
|
| 4181 |
% |
| 4182 |
% Contact NO |
| 4183 |
% |
| 4184 |
\subsubsection{Contact NO} |
| 4185 |
\begin{LTXexample}[pos=l] |
| 4186 |
\begin{pspicture}(-1,-1)(1,1) |
| 4187 |
\contact(0,0) |
| 4188 |
\end{pspicture} |
| 4189 |
\end{LTXexample} |
| 4190 |
|
| 4191 |
% |
| 4192 |
% Contact NC |
| 4193 |
% |
| 4194 |
\subsubsection{Contact NC} |
| 4195 |
\begin{LTXexample}[pos=l] |
| 4196 |
\begin{pspicture}(-1,-1)(1,1) |
| 4197 |
\contact[contactclosed=true](0,0) |
| 4198 |
\end{pspicture} |
| 4199 |
\end{LTXexample} |
| 4200 |
|
| 4201 |
% |
| 4202 |
% Motor Armature |
| 4203 |
% |
| 4204 |
\subsubsection{Motor Armature} |
| 4205 |
\begin{LTXexample}[pos=l] |
| 4206 |
\begin{pspicture}(-1,-1)(1,1) |
| 4207 |
\armature(0,0) |
| 4208 |
\end{pspicture} |
| 4209 |
\end{LTXexample} |
| 4210 |
|
| 4211 |
|
| 4212 |
|
| 4213 |
|
| 4214 |
|
| 4215 |
\section{Adding new components} |
| 4216 |
|
| 4217 |
Adding new components is not simple unless you need only a simple dipole. For dipoles a macro is provided that generates all helping macros for a new component so that you need to write only the actual drawing code. |
| 4218 |
|
| 4219 |
If you want to add a new dipole component, you only need the following code: |
| 4220 |
\begin{lstlisting}[language=TeX] |
| 4221 |
\newCircDipole{ComponentName}% |
| 4222 |
\def\pst@draw@ComponentName{% |
| 4223 |
% The PSTricks code for your component |
| 4224 |
% The center of the component is at (0,0) |
| 4225 |
\pnode(component_left_end,0){dipole@1} |
| 4226 |
\pnode(component_right_end,0){dipole@2}} |
| 4227 |
\end{lstlisting} |
| 4228 |
This code can be placed in the core code or somewhere in the respective document in which case it must be surrounded by \lstinline[language=TeX]{\makeatletter...\makeatother}. |
| 4229 |
|
| 4230 |
If your new dipole should also work with \Lcs{multidipole} then you have to make some changes in the \Lcs{multidipole} core code. In the definition |
| 4231 |
of \nxLcs{pst@multidipole}, look for the last \nxLcs{ifx} test |
| 4232 |
\begin{lstlisting}[language=TeX] |
| 4233 |
% ... |
| 4234 |
% Extract from \pst@multidipole |
| 4235 |
\else\ifx\OpenDipol #4\let\pscirc@next\pst@multidipole@OpenDipol% 27 |
| 4236 |
\else\ifx\OpenTripol #4\let\pscirc@next\pst@multidipole@OpenTripol% 28 |
| 4237 |
\else % Put your modification here |
| 4238 |
\else\let\pscirc@next\ignorespaces |
| 4239 |
\fi\fi\fi |
| 4240 |
% Extract form \pst@multidipole |
| 4241 |
% ... |
| 4242 |
\end{lstlisting} |
| 4243 |
and add (marked with \verb+%%%+) |
| 4244 |
\begin{lstlisting}[language=TeX] |
| 4245 |
% ... |
| 4246 |
% Extract from \pst@multidipole |
| 4247 |
\else\ifx\OpenDipol #4\let\pscirc@next\pst@multidipole@OpenDipol% 27 |
| 4248 |
\else\ifx\OpenTripol #4\let\pscirc@next\pst@multidipole@OpenTripol% 28 |
| 4249 |
\else\ifx\ComponentName#4\let\next\pst@multidipole@ComponentName%%% |
| 4250 |
\else\let\pscirc@next\ignorespaces |
| 4251 |
\fi\fi\fi |
| 4252 |
% Extract form \pst@multidipole |
| 4253 |
% ... |
| 4254 |
\end{lstlisting} |
| 4255 |
Do the same in \verb+\pst@multidipole@+ |
| 4256 |
\begin{lstlisting}[language=TeX] |
| 4257 |
% ... |
| 4258 |
% Extract from \pst@multidipole@ |
| 4259 |
\else\ifx\OpenDipol#1\let\pscirc@next\pst@multidipole@OpenDipol% 27 |
| 4260 |
\else\ifx\OpenTripol#1\let\pscirc@next\pst@multidipole@OpenTripol% 28 |
| 4261 |
\else\ifx\ComponentName#1\let\next\pst@multidipole@ComponentName%%% |
| 4262 |
\else\let\pscirc@next\ignorespaces\pst@multidipole@output |
| 4263 |
\fi\fi\fi |
| 4264 |
% Extract form \pst@multidipole@ |
| 4265 |
% ... |
| 4266 |
\end{lstlisting} |
| 4267 |
and that's it! All you have to do then is send your modified \LFile{pst-circ.tex} to |
| 4268 |
me and it will become part of the official release of \LPack{pst-circ}. |
| 4269 |
|
| 4270 |
\bigskip |
| 4271 |
\begin{LTXexample}[width=3.5cm] |
| 4272 |
\begin{pspicture}(3,2) |
| 4273 |
\newCircDipole{delayline} |
| 4274 |
\makeatletter |
| 4275 |
\def\pst@draw@delayline{% |
| 4276 |
\psset{linewidth=1.5\pslinewidth}% |
| 4277 |
\psframe(-0.5,-0.3)(0.5,0.3) |
| 4278 |
\psline[arrows=->](-0.2,-0.5)(0.2,0.5) |
| 4279 |
\pnode(-0.5,0){dipole@1} |
| 4280 |
\pnode(0.5,0){dipole@2}}% |
| 4281 |
\makeatother |
| 4282 |
\pnode(0,1){A}\pnode(3,1){B} |
| 4283 |
\delayline(A)(B){delay} |
| 4284 |
\end{pspicture} |
| 4285 |
\end{LTXexample} |
| 4286 |
|
| 4287 |
|
| 4288 |
|
| 4289 |
|
| 4290 |
\clearpage |
| 4291 |
\section{List of all optional arguments for \texttt{pst-circ}}\label{sec:para} |
| 4292 |
Note: the default for booleans is always false. |
| 4293 |
|
| 4294 |
\xkvview{family=pst-circ,columns={key,type,default}} |
| 4295 |
|
| 4296 |
\bgroup |
| 4297 |
\raggedright |
| 4298 |
\nocite{*} |
| 4299 |
%\bibliographystyle{plain} |
| 4300 |
\printbibliography |
| 4301 |
\egroup |
| 4302 |
|
| 4303 |
\printindex |
| 4304 |
|
| 4305 |
\end{document} |