72 lines
3.0 KiB
TeX
72 lines
3.0 KiB
TeX
% !TEX program = pdflatex
|
|
|
|
|
|
\documentclass{standalone}
|
|
\usepackage{amsmath}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[american]{circuitikz}
|
|
\usetikzlibrary{positioning, calc, arrows.meta}
|
|
|
|
\begin{document}
|
|
|
|
\begin{tikzpicture}[american, font=\sffamily\small, >=Latex]
|
|
|
|
% ==========================================
|
|
% 1. ENTRADAS A LA IZQUIERDA (CPV Cell)
|
|
% ==========================================
|
|
\draw (0,4) node[left, font=\bfseries] {HCPV Cell (+)} to[short, o-*] (2,4)
|
|
(0,0) node[left, font=\bfseries] {HCPV Cell (-)} to[short, o-*] (2,0) node[ground]{};
|
|
|
|
% ==========================================
|
|
% 2. PRIMERA ETAPA: DIVISOR DE VOLTAJE (Voc)
|
|
% ==========================================
|
|
\draw (2,4) to[R, l=$R_1\ (10\text{ k}\Omega)$, *-*] (2,2)
|
|
to[R, l=$R_2\ (10\text{ k}\Omega)$, *-*] (2,0);
|
|
|
|
% Salida de Voc directamente hacia la derecha
|
|
\draw (2,2) to[short, *-o] (11.5,2)
|
|
node[right, font=\bfseries\color{blue!80!black}] {To ADS122C04 AIN3 ($V_{oc}$)};
|
|
|
|
% ==========================================
|
|
% 3. SEGUNDA ETAPA: TRANSISTOR Q1 (INVERTIDO EN Y) Y GATE DRIVER
|
|
% ==========================================
|
|
% MOSFET Q1 invertido en el eje Y mediante yscale=-1
|
|
\draw (5,3) node[nmos, xscale=-1 ,yscale=-1] (Q1) {};
|
|
\node[right=1cm of Q1] {\textbf{$Q_1$}\\[-2pt]\scriptsize DMN62D0UW-7};
|
|
|
|
% Gate Driver MIC5019 (Directamente ARRIBA del MOSFET)
|
|
\node[draw, rectangle, rounded corners=3pt, fill=blue!10, minimum width=2.4cm, minimum height=1.2cm, align=center, line width=0.8pt]
|
|
(mic) at (5.95,5.5) {\textbf{Gate Driver}\\\footnotesize MIC5019};
|
|
|
|
% Entrada de señal de control (A LA DERECHA del Gate Driver)
|
|
\draw[<-, line width=1pt, color=blue!80!black] (mic.east) -- (10.0, 5.5)
|
|
node[right, font=\bfseries] {From ESP32 (\texttt{PIN\_VOC})};
|
|
|
|
% Conexión de salida del Driver a la Gate del MOSFET
|
|
\draw[->, line width=0.8pt] (mic.south) |- (Q1.G);
|
|
|
|
% Bus CPV(+) conectado al terminal superior del MOSFET
|
|
\draw (2,4) -- (5,4) -- (Q1.S);
|
|
|
|
% Conexión del terminal inferior del MOSFET a la Resistencia Shunt
|
|
\draw (Q1.D) -- (5,1.8)
|
|
to[R, l=$R_{\text{shunt}}\ (75\text{ m}\Omega)$, *-*] (5,0) -- (2,0);
|
|
|
|
% ==========================================
|
|
% 4. TERCERA ETAPA: SHUNT Y AMPLIFICADOR AD8418
|
|
% ==========================================
|
|
% Amplificador AD8418 (A LA DERECHA de la Shunt)
|
|
\node[draw, rectangle, rounded corners=3pt, fill=orange!10, minimum width=2.5cm, minimum height=1.4cm, align=center, line width=0.8pt]
|
|
(ad) at (8.8,0.9) {\textbf{AD8418}\\[-2pt]\footnotesize Current Sense Amp};
|
|
|
|
% Lectura Diferencial sobre la Shunt
|
|
\draw (5,1.8) -- (7.0,1.8) |- (ad.west |- 0,1.2);
|
|
\draw (5,0.2) -- (7.0,0.2) |- (ad.west |- 0,0.6);
|
|
|
|
% Salida de Isc directamente hacia la derecha
|
|
\draw[->, line width=1pt] (ad.east) -- (11.5,0.9)
|
|
node[right, font=\bfseries\color{orange!80!black}] {To ADS122C04 AIN0/1 ($I_{sc}$)};
|
|
|
|
\end{tikzpicture}
|
|
|
|
\end{document} |