nm9505

CIRCUITO CON INTERRUPTOR SPDT

Jan 21st, 2023 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 5.03 KB | Science | 0 0
  1. \documentclass{article}[14pt]
  2. % Comment the following line to NOT allow the usage of umlauts
  3. \usepackage[utf8]{inputenc}
  4. % Uncomment the following line to allow the usage of graphics (.png, .jpg)
  5. %\usepackage[document]{ragged2e}
  6. \usepackage[a4paper, lmargin=1.5cm, rmargin=1.5cm, bottom=1.5cm]{geometry}
  7. %\usepackage{graphicx}
  8. \usepackage{color}
  9. \usepackage{amsmath}
  10. \usepackage[T1]{fontenc}
  11. \usepackage{amsfonts} \usepackage{amssymb}
  12. \usepackage{cancel}
  13. \usepackage{fancybox}
  14. \usepackage[all]{xy}
  15. \usepackage{pst-all}
  16. \usepackage{tikz}
  17. \usepackage{gnuplottex}
  18. \tikzset{flippedeventlabel/.append style={align=center}}
  19. \usetikzlibrary{matrix.skeleton}
  20. \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc]
  21. \usetikzlibrary{positioning} \usetikzlibrary{decorations.text} \usetikzlibrary{decorations.pathmorphing}
  22. %Paquete para Referencias Web
  23. \usepackage [colorlinks=true,linkcolor=green! 40!blue,citecolor=green!40!blue,filecolor=magenta, urlcolor= magenta]{hyperref}
  24. %Paquete de estilo de Referencias
  25. \urlstyle{same}
  26. \usepackage{pgfplots}
  27. \pgfplotsset{compat=newest}
  28. \usetikzlibrary{datavisualization} \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc,datavisualization.formats.functions]
  29. \usetikzlibrary{patterns}
  30. \usepackage{circuitikz}
  31. \title{CIRCUITO CON INTERRUPTOR SPDT\\ \bf\texttt{circuitikz}}
  32. \author{Nimrod Rodríguez\\ \small{nimrodga@hotmail.com}}
  33. \date{}
  34. % Start the document
  35.  
  36. \begin{document}
  37. \maketitle
  38. \begin{circuitikz} [american,blue,information text/.style={rounded corners,fill=red!10,inner sep=1ex}, execute at end picture=
  39. {
  40. \begin{pgfonlayer}{background}
  41. \path [fill=red!10, rounded corners](current bounding box.south west) rectangle (current bounding box.north east);
  42. \end{pgfonlayer}
  43. }]
  44. %Dispositivos (shapes diagram)
  45. \draw (-2,0) node [cute spdt up arrow,blue,scale=1.2](s1){};
  46. \draw (s1.north) node[above=0.3] {spdt1};
  47. \draw (2,0) node [cute spdt down arrow,blue,scale=1.2, rotate=180](s2){};
  48. \draw (s2.south) node[above=0.3] {spdt2};
  49. \draw (-3,-2) node [vsourceAMshape, rotate=-90,scale=1.2, fill=red!45](M){};
  50. \draw (M.south) node[right=1] {\color{red}110 V};
  51. \draw (3,-2) node [lampshape,fill=yellow,scale=1.2](L){};
  52. %Nodos
  53. \draw (s2.out 2) node[above] {\textcolor{red}{\tiny{2B}}};
  54. \draw (s2.out 1) node[below] {\textcolor{red}{\tiny{2A}}};
  55. \draw (s1.out 2) node[below] {\textcolor{red}{\tiny{1B}}};
  56. \draw (s1.out 1) node[above] {\textcolor{red}{\tiny{1A}}};
  57. %Flujos
  58. \draw (s1.out 1) to [short, -*,i=$i_0$] (s2.out 2);
  59. \draw[brown] (s1.out 2) to [brown,short,-*,i=$ $] (s2.out 1);
  60. \draw (M.west) to (-3,0) to [short, -*,i=$i_0$] (s1.in);
  61. \draw (s2.in) to (3,0) to [short, -*,i=$i_0$] (L.north);
  62. \draw [black](L.south) to [-*](3,-3) to [short, -*,i=$ $] (-3,-3) to (M.east);
  63. %Texto informativo con minipágina
  64. \draw[xshift=1.85cm,black]
  65. node[right=3.2cm,text width=7cm,information text]
  66. {
  67. \begin{minipage}{6.8cm}
  68. \begin{center}
  69. \shadowbox{\texttt{\textcolor{black}{\LARGE{El Switch de 3 Vias}}}} \\
  70. \end{center}
  71. \textcolor{orange}{\LARGE{L}}a figura muestra la conexión de una lámpara accionada por dos interruptores tipo spdt (Single Pole Double Throw), conocido comunmente en el mundo de la electricidad como "three ways", y como un \texttt{cute spdt (mid, up o down) arrow} en la librería \texttt{\textcolor{blue!60!red}{\textbackslash usepackage}\textcolor{blue}{\{circuitikz\}$\textcolor{orange!70!red!70!black}{[american]}$}}, en donde la posición \texttt{mid} significa \textit{abriendo} o \textit{cerrando}, mientras \texttt{up} y \texttt{down} significan \textit{abierto} o \textit{cerrado}, dependiendo si no hay continuidad de flujo ó si la hay. En la figura \textcolor{blue}{spdt 1} aparece como \texttt{cute spdt up arrow} y \textcolor{blue}{spdt 2} aparece como \texttt{cute spdt down arrow}, sin embargo ambos en conjunto, tienen el circuito cerrado, pues hay continuidad de corriente \textcolor{blue}{$i_0$}. Un uso común de este circuito, es cuando se desea apagar y encender una lámpara o dispositivo, desde dos lugares diferentes, por ejemplo:
  72. \begin{itemize}
  73. \item El primer nivel y el segundo en una residencia, o bien
  74. \item El interior y el exterior de una residencia.
  75. \end{itemize}
  76. \end{minipage}
  77. };
  78. \end{circuitikz}
  79. \vspace{0.5cm}
  80. \linebreak
  81. Algunos de los principales detalles en la implementación de esta conexión serían:
  82. \begin{itemize}
  83. \item Orientación: En uno de los dos interruptores el polo de entrada funciona como salida, en este caso en el \textcolor{blue}{spdt 2}, por otra parte al conectar, puede hacerse de  \textcolor{red}{1A} a \textcolor{red}{2B} y de \textcolor{red}{1B} a \textcolor{red}{2A}; o bien de \textcolor{red}{1B} a \textcolor{red}{2B} y de \textcolor{red}{1A} a \textcolor{red}{2A}.
  84. \item Cableado: Debido a la comodidad con la cual suele pedirse está conexión y al doble cableado entre ambos interruptores, ha de considerarse la cantidad de cable necesario, así como su calibre debido a la distancia, especialmente cuando se trate de un dispositivo de alto consumo.
  85. \end{itemize}
  86. \end{document}
  87.  
Add Comment
Please, Sign In to add comment