From 78a58d1b53b8e0efb66ddfed84104006fa7be81f Mon Sep 17 00:00:00 2001 From: alro1965 Date: Fri, 22 May 2026 23:27:21 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20invalid=20.connect=20directive?= =?UTF-8?q?=20in=20output=5Fstage.cir=20=E2=80=94=20use=20shared=20node=20?= =?UTF-8?q?name=20GATE=5FQ1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/spice/2_output_stage.cir | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/spice/2_output_stage.cir b/tools/spice/2_output_stage.cir index e9b794d..3ea0e47 100644 --- a/tools/spice/2_output_stage.cir +++ b/tools/spice/2_output_stage.cir @@ -67,7 +67,7 @@ Rcathode CATHODE_LED GND 1 ; resistencia de retorno (cableado) * Lado transistor (modelado como VCCS proporcional a corriente LED) * Gcollector: corriente de colector = CTR * corriente LED * CTR = 100% minimo garantizado a IF=5mA -Gcoll COLLECTOR EMITTER VALUE={MAX(0, 1.0 * I(Dled))} +Gcoll GATE_Q1 EMITTER VALUE={MAX(0, 1.0 * I(Dled))} Remit EMITTER GND 0.1 ; Vce_sat ~ 0.1V a Ic<5mA * ----------------------------------------------------------------------- @@ -75,12 +75,9 @@ Remit EMITTER GND 0.1 ; Vce_sat ~ 0.1V a Ic<5mA * ----------------------------------------------------------------------- * Cuando PC817 OFF: Gate se carga a 3.3V via este resistor → MOSFET ON * Cuando PC817 ON: Gate se descarga a GND via Gcoll → MOSFET OFF -Rpullup V33 COLLECTOR 10k +Rpullup V33 GATE_Q1 10k Cgate GATE_Q1 GND 100p ; capacidad de gate del IRLML6344 -* Nodo de gate (union de colector PC817 y gate MOSFET) -.connect COLLECTOR GATE_Q1 - * ----------------------------------------------------------------------- * MOSFET IRLML6344TRPBF (N-channel, 20V, 5A, VGS(th)=0.5-1V) * -----------------------------------------------------------------------